define(["require", "exports", "tslib", "react", "@uifabric/example-app-base", "./examples/DatePicker.Basic.Example", "./examples/DatePicker.Required.Example", "./examples/DatePicker.Input.Example", "../../demo/ComponentStatus/ComponentStatus", "./DatePicker.checklist"], function (require, exports, tslib_1, React, example_app_base_1, DatePicker_Basic_Example_1, DatePicker_Required_Example_1, DatePicker_Input_Example_1, ComponentStatus_1, DatePicker_checklist_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var DatePickerBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DatePicker/examples/DatePicker.Basic.Example.tsx');
    var DatePickerRequiredExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DatePicker/examples/DatePicker.Required.Example.tsx');
    var DatePickerInputExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DatePicker/examples/DatePicker.Input.Example.tsx');
    var DatePickerPage = (function (_super) {
        tslib_1.__extends(DatePickerPage, _super);
        function DatePickerPage() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        DatePickerPage.prototype.render = function () {
            return (React.createElement(example_app_base_1.ComponentPage, { title: 'DatePicker', componentName: 'DatePickerExample', exampleCards: React.createElement("div", null,
                    React.createElement(example_app_base_1.ExampleCard, { title: 'Default DatePicker', code: DatePickerBasicExampleCode },
                        React.createElement(DatePicker_Basic_Example_1.DatePickerBasicExample, null)),
                    React.createElement(example_app_base_1.ExampleCard, { title: 'DatePicker with required field', code: DatePickerRequiredExampleCode },
                        React.createElement(DatePicker_Required_Example_1.DatePickerRequiredExample, null)),
                    React.createElement(example_app_base_1.ExampleCard, { title: 'DatePicker allows input date string', code: DatePickerInputExampleCode },
                        React.createElement(DatePicker_Input_Example_1.DatePickerInputExample, null))), propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [
                        require('!raw-loader!office-ui-fabric-react/src/components/DatePicker/DatePicker.Props.ts')
                    ] }), overview: React.createElement("div", null,
                    React.createElement("p", null, "The DatePicker component enables a user to pick a date value.")), bestPractices: React.createElement("div", null), dos: React.createElement("div", null,
                    React.createElement("ul", null,
                        React.createElement("li", null, "Use the control as a single entity."),
                        React.createElement("li", null, "Set the default date to the current date unless a specific date is required for context (e.g. the date of the conference)."),
                        React.createElement("li", null, "The control is designed to resize relative to available screen width. Allow it to render in either wide or narrow as appropriate."),
                        React.createElement("li", null, "When the control is engaged, the DatePicker renders as a flyout and has defined widths (300px -narrow and 440px \u2013 wide). Plan your UI implementation accordingly."),
                        React.createElement("li", null, "The control renders date in a specific format. If allowing for manual entry of date, provide helper text in the appropriate format."))), donts: React.createElement("div", null,
                    React.createElement("ul", null,
                        React.createElement("li", null, "Don't attempt to break apart year from month/day selectors. If granularity is required, use the Dropdown control or something similar."),
                        React.createElement("li", null, "Don't attempt to force resize the control in any way."),
                        React.createElement("li", null, "Don't force the control to render one mode vs. the other (year or month/day)"),
                        React.createElement("li", null, "The flyout selector is a light dismiss control. Don't modify this behavior in any way."))), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus_1.ComponentStatus, tslib_1.__assign({}, DatePicker_checklist_1.DatePickerStatus)) }));
        };
        return DatePickerPage;
    }(React.Component));
    exports.DatePickerPage = DatePickerPage;
});
//# sourceMappingURL=DatePickerPage.js.map