UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

34 lines 4.1 kB
define(["require", "exports", "tslib", "office-ui-fabric-react/lib/KeytipLayer", "react", "@uifabric/example-app-base", "../../demo/ComponentStatus/ComponentStatus", "./Keytip.checklist", "./examples/Keytips.Basic.Example", "./examples/Keytips.Button.Example", "./examples/Keytips.CommandBar.Example", "./examples/Keytips.Overflow.Example"], function (require, exports, tslib_1, KeytipLayer_1, React, example_app_base_1, ComponentStatus_1, Keytip_checklist_1, Keytips_Basic_Example_1, Keytips_Button_Example_1, Keytips_CommandBar_Example_1, Keytips_Overflow_Example_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var KeytipsBasicCode = require('!raw-loader!office-ui-fabric-react/src/components/Keytip/examples/Keytips.Basic.Example.tsx'); var KeytipsButtonCode = require('!raw-loader!office-ui-fabric-react/src/components/Keytip/examples/Keytips.Button.Example.tsx'); var KeytipsCommandBarCode = require('!raw-loader!office-ui-fabric-react/src/components/Keytip/examples/Keytips.CommandBar.Example.tsx'); var KeytipsOverflowCode = require('!raw-loader!office-ui-fabric-react/src/components/Keytip/examples/Keytips.Overflow.Example.tsx'); var KeytipsPage = /** @class */ (function (_super) { tslib_1.__extends(KeytipsPage, _super); function KeytipsPage() { return _super !== null && _super.apply(this, arguments) || this; } KeytipsPage.prototype.render = function () { return (React.createElement("div", null, React.createElement(example_app_base_1.ComponentPage, { title: 'Keytips', componentName: 'Keytips', exampleCards: React.createElement("div", null, React.createElement("p", null, "Press Alt-Win to enable keytips, Esc to return up a level, and Alt-Win again to exit keytip mode"), React.createElement(example_app_base_1.ExampleCard, { title: 'Keytips on Buttons', code: KeytipsButtonCode }, React.createElement(Keytips_Button_Example_1.KeytipsButtonExample, null)), React.createElement(example_app_base_1.ExampleCard, { title: 'Keytips in a CommandBar', code: KeytipsCommandBarCode }, React.createElement(Keytips_CommandBar_Example_1.KeytipsCommandBarExample, null)), React.createElement(example_app_base_1.ExampleCard, { title: 'Keytips in an OverflowWell', code: KeytipsOverflowCode }, React.createElement(Keytips_Overflow_Example_1.KeytipsOverflowExample, null)), React.createElement(example_app_base_1.ExampleCard, { title: 'Keytips Example', code: KeytipsBasicCode }, React.createElement(Keytips_Basic_Example_1.KeytipsBasicExample, null))), propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [ require('!raw-loader!office-ui-fabric-react/src/components/Keytip/Keytip.types.ts'), require('!raw-loader!office-ui-fabric-react/src/components/KeytipLayer/KeytipLayer.types.ts'), ] }), overview: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Keytip/docs/KeytipOverview.md')), dos: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Keytip/docs/KeytipDos.md')), donts: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Keytip/docs/KeytipDonts.md')), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus_1.ComponentStatus, tslib_1.__assign({}, Keytip_checklist_1.KeytipStatus)) }), React.createElement(KeytipLayer_1.KeytipLayer, { content: 'Alt Windows' }))); }; return KeytipsPage; }(React.Component)); exports.KeytipsPage = KeytipsPage; }); //# sourceMappingURL=KeytipsPage.js.map