superdesk-ui-framework 4.0.52 → 4.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app-typescript/components/DateTimePicker.tsx +11 -1
- package/dist/examples.bundle.js +14 -2
- package/dist/superdesk-ui.bundle.js +13 -1
- package/package.json +1 -1
- package/react/components/DateTimePicker.d.ts +1 -0
- package/react/components/DateTimePicker.js +13 -1
- package/dist/playgrounds/accessible-theme-test.html +0 -813
- package/dist/playgrounds/boxed-list.html +0 -164
- package/dist/playgrounds/cards.html +0 -244
- package/dist/playgrounds/circular-progress.html +0 -48
- package/dist/playgrounds/dummy-data/items.ts +0 -95
- package/dist/playgrounds/editor-3-test.html +0 -15
- package/dist/playgrounds/form-layout.html +0 -285
- package/dist/playgrounds/layout-grid.html +0 -79
- package/dist/playgrounds/layout-snippets/edit-article.html +0 -415
- package/dist/playgrounds/layout-test-2.html +0 -795
- package/dist/playgrounds/list-item-test.html +0 -896
- package/dist/playgrounds/main.html +0 -16
- package/dist/playgrounds/master-desk.html +0 -1678
- package/dist/playgrounds/media-carousel.html +0 -1166
- package/dist/playgrounds/nav-buttons.html +0 -65
- package/dist/playgrounds/photo-desk.html +0 -1515
- package/dist/playgrounds/photo-snippets/edit-photo-metadata.html +0 -208
- package/dist/playgrounds/planning-snippets/edit-event.html +0 -187
- package/dist/playgrounds/planning-snippets/edit-planning.html +0 -457
- package/dist/playgrounds/planning.html +0 -1112
- package/dist/playgrounds/publish-snippets/edit-article.html +0 -37
- package/dist/playgrounds/publish.html +0 -1007
- package/dist/playgrounds/publisher-content-analytics.html +0 -376
- package/dist/playgrounds/publisher-content-list-automatic.html +0 -296
- package/dist/playgrounds/publisher-content-list-manual.html +0 -611
- package/dist/playgrounds/publisher-content-lists.html +0 -255
- package/dist/playgrounds/publisher-dashboard.html +0 -323
- package/dist/playgrounds/publisher-output-control.html +0 -3659
- package/dist/playgrounds/publisher-website-settings-general.html +0 -188
- package/dist/playgrounds/publisher-website-settings.html +0 -265
- package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +0 -952
- package/dist/playgrounds/react-playgrounds/EditorTest.tsx +0 -649
- package/dist/playgrounds/react-playgrounds/FirstPlayground.tsx +0 -236
- package/dist/playgrounds/react-playgrounds/Index.tsx +0 -11
- package/dist/playgrounds/react-playgrounds/Multiedit.tsx +0 -401
- package/dist/playgrounds/react-playgrounds/PageLayoutTest.tsx +0 -210
- package/dist/playgrounds/react-playgrounds/PersonalProfile.tsx +0 -835
- package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +0 -580
- package/dist/playgrounds/react-playgrounds/Rundowns.tsx +0 -1415
- package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +0 -401
- package/dist/playgrounds/react-playgrounds/TestGround.tsx +0 -2710
- package/dist/playgrounds/react-playgrounds/UiPlayground.tsx +0 -410
- package/dist/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +0 -25
- package/dist/playgrounds/react-playgrounds/components/AuthoringContent.tsx +0 -86
- package/dist/playgrounds/react-playgrounds/components/ContentSplitter.tsx +0 -19
- package/dist/playgrounds/react-playgrounds/components/GraphicButton.tsx +0 -34
- package/dist/playgrounds/react-playgrounds/components/GraphicButtonsGroup.tsx +0 -11
- package/dist/playgrounds/react-playgrounds/components/HeaderPanel.tsx +0 -11
- package/dist/playgrounds/react-playgrounds/components/Index.tsx +0 -20
- package/dist/playgrounds/react-playgrounds/components/Layout.tsx +0 -27
- package/dist/playgrounds/react-playgrounds/components/LayoutContainer.tsx +0 -15
- package/dist/playgrounds/react-playgrounds/components/LeftPanel.tsx +0 -15
- package/dist/playgrounds/react-playgrounds/components/MainPanel.tsx +0 -24
- package/dist/playgrounds/react-playgrounds/components/OverlayPanel.tsx +0 -17
- package/dist/playgrounds/react-playgrounds/components/Panel.tsx +0 -23
- package/dist/playgrounds/react-playgrounds/components/PanelContent.tsx +0 -11
- package/dist/playgrounds/react-playgrounds/components/PanelContentBlock.tsx +0 -19
- package/dist/playgrounds/react-playgrounds/components/PanelFooter.tsx +0 -17
- package/dist/playgrounds/react-playgrounds/components/PanelHeader.tsx +0 -31
- package/dist/playgrounds/react-playgrounds/components/RightPanel.tsx +0 -16
- package/dist/playgrounds/react-playgrounds/components/SearchBar.tsx +0 -87
- package/dist/playgrounds/react-playgrounds/components/SidebarMenu.tsx +0 -76
- package/dist/playgrounds/react-playgrounds/components/SubNav.tsx +0 -17
- package/dist/playgrounds/react-playgrounds/components/ThemeDropdown.tsx +0 -57
- package/dist/playgrounds/react-playgrounds/tsconfig.json +0 -4
- package/dist/playgrounds/settings.html +0 -92
- package/dist/playgrounds/side-navigation.html +0 -201
- package/dist/playgrounds/swimlane-view.html +0 -1975
- package/dist/playgrounds/tags-input.html +0 -55
- package/dist/playgrounds/toasts.html +0 -113
- package/dist/playgrounds/video-editor.html +0 -706
- package/examples/css/docs-page.css +0 -1135
- package/examples/css/reset.css +0 -124
- package/examples/css/vendor.css +0 -175
- package/examples/illustration-small--components.svg +0 -45
- package/examples/img/andrew-power-y9L5-wmifaY-unsplash.jpg +0 -0
- package/examples/img/andrew-power-y9L5-wmifaY-unsplash.license.txt +0 -6
- package/examples/img/avatar-2.jpg +0 -0
- package/examples/img/avatar-3.jpg +0 -0
- package/examples/img/avatar-4.jpg +0 -0
- package/examples/img/avatar-5.jpg +0 -0
- package/examples/img/avatar-6.jpg +0 -0
- package/examples/img/avatar.jpg +0 -0
- package/examples/img/bill.jpg +0 -0
- package/examples/img/bush_1.jpg +0 -0
- package/examples/img/bush_2.jpg +0 -0
- package/examples/img/carousel-thumb--01.jpg +0 -0
- package/examples/img/carousel-thumb--02.jpg +0 -0
- package/examples/img/carousel-thumb--03.jpg +0 -0
- package/examples/img/carousel-thumb--04.jpg +0 -0
- package/examples/img/components_ilustration.svg +0 -1
- package/examples/img/d_trump.jpg +0 -0
- package/examples/img/d_trump_2.jpg +0 -0
- package/examples/img/d_trump_large.jpg +0 -0
- package/examples/img/design_ilustration.svg +0 -1
- package/examples/img/ferocious_beast.webm +0 -0
- package/examples/img/guidelines/application-frame.png +0 -0
- package/examples/img/guidelines/application-frame__bottom-bar.png +0 -0
- package/examples/img/guidelines/application-frame__left-panel.gif +0 -0
- package/examples/img/guidelines/application-frame__left-panel.png +0 -0
- package/examples/img/guidelines/application-frame__main-content.gif +0 -0
- package/examples/img/guidelines/application-frame__main-content.png +0 -0
- package/examples/img/guidelines/application-frame__right-panel.gif +0 -0
- package/examples/img/guidelines/application-frame__right-panel.png +0 -0
- package/examples/img/guidelines/application-frame__side-tabs.png +0 -0
- package/examples/img/guidelines/application-frame__sub-nav.png +0 -0
- package/examples/img/guidelines/application-frame__top-bar.png +0 -0
- package/examples/img/guidelines/buttons--00-01.png +0 -0
- package/examples/img/guidelines/buttons--00-02.png +0 -0
- package/examples/img/guidelines/buttons--DO-02.png +0 -0
- package/examples/img/guidelines/buttons--DONT-01.png +0 -0
- package/examples/img/guidelines/checkbox--DO-01.png +0 -0
- package/examples/img/guidelines/checkbox--DO-02.png +0 -0
- package/examples/img/guidelines/checkbox--DONT-01.png +0 -0
- package/examples/img/guidelines/checkbox--DONT-02.png +0 -0
- package/examples/img/guidelines/example__bottom-bar--01.png +0 -0
- package/examples/img/guidelines/example__left-side_panel--01.png +0 -0
- package/examples/img/guidelines/example__left_side-bar--01.png +0 -0
- package/examples/img/guidelines/example__main-content--01.png +0 -0
- package/examples/img/guidelines/example__right_side-panel--01.png +0 -0
- package/examples/img/guidelines/example__right_side-panel--02.png +0 -0
- package/examples/img/guidelines/example__right_side-panel--03.png +0 -0
- package/examples/img/guidelines/example__sub-nav--01.png +0 -0
- package/examples/img/guidelines/example__sub-nav--02.png +0 -0
- package/examples/img/guidelines/example__sub-nav--03.png +0 -0
- package/examples/img/guidelines/example__top-bar--01.png +0 -0
- package/examples/img/guidelines/layout--grid-01.png +0 -0
- package/examples/img/guidelines/layout--size-example-01.png +0 -0
- package/examples/img/guidelines/radio--DO-01.png +0 -0
- package/examples/img/guidelines/radio--DONT-01.png +0 -0
- package/examples/img/guidelines/radio--DONT-02.png +0 -0
- package/examples/img/guidelines/radio--DONT-03.png +0 -0
- package/examples/img/guidelines/switch--DO-01.png +0 -0
- package/examples/img/guidelines/switch--DO-02.png +0 -0
- package/examples/img/guidelines/switch--DONT-01.png +0 -0
- package/examples/img/guidelines/switch--DONT-02.png +0 -0
- package/examples/img/hillary.jpg +0 -0
- package/examples/img/illustration--components.svg +0 -1
- package/examples/img/illustration--design.svg +0 -1
- package/examples/img/illustration--playground.svg +0 -1
- package/examples/img/illustration--react.svg +0 -1
- package/examples/img/illustration-small--components.svg +0 -45
- package/examples/img/illustration-small--design.svg +0 -99
- package/examples/img/illustration-small--playground.svg +0 -49
- package/examples/img/illustration-small--react.svg +0 -53
- package/examples/img/illustration_user-privileges.png +0 -0
- package/examples/img/illustration_users.png +0 -0
- package/examples/img/image_01.jpg +0 -0
- package/examples/img/image_02.jpg +0 -0
- package/examples/img/masthead-image.png +0 -0
- package/examples/img/obama_1.jpg +0 -0
- package/examples/img/obama_2.jpg +0 -0
- package/examples/img/overlay-img.jpg +0 -0
- package/examples/img/react-logo--vector.svg +0 -49
- package/examples/img/sd-ui-framework__logo-01.svg +0 -33
- package/examples/img/sd-ui-framework__logo.svg +0 -20
- package/examples/img/th01.jpg +0 -0
- package/examples/img/th02.jpg +0 -0
- package/examples/img/th03.jpg +0 -0
- package/examples/index.html +0 -11
- package/examples/index.js +0 -468
- package/examples/js/doc.js +0 -230
- package/examples/js/react.js +0 -263
- package/examples/pages/components/Alerts.tsx +0 -291
- package/examples/pages/components/Autocomplete.tsx +0 -434
- package/examples/pages/components/Avatar.tsx +0 -659
- package/examples/pages/components/Badges.tsx +0 -221
- package/examples/pages/components/BigIconFont.tsx +0 -48
- package/examples/pages/components/BoxedList.tsx +0 -517
- package/examples/pages/components/ButtonGroups.tsx +0 -366
- package/examples/pages/components/Buttons.tsx +0 -565
- package/examples/pages/components/Card.tsx +0 -23
- package/examples/pages/components/Carousel.tsx +0 -235
- package/examples/pages/components/Checkboxs.tsx +0 -817
- package/examples/pages/components/Container.tsx +0 -190
- package/examples/pages/components/ContentDivider.tsx +0 -229
- package/examples/pages/components/ContentList.tsx +0 -786
- package/examples/pages/components/CreateButton.tsx +0 -121
- package/examples/pages/components/DatePicker.tsx +0 -245
- package/examples/pages/components/DateTimePicker.tsx +0 -141
- package/examples/pages/components/DragHandleDocs.tsx +0 -122
- package/examples/pages/components/DropZone.tsx +0 -149
- package/examples/pages/components/Dropdowns.tsx +0 -587
- package/examples/pages/components/DurationInput.tsx +0 -157
- package/examples/pages/components/EmptyStates.tsx +0 -171
- package/examples/pages/components/GridItem.tsx +0 -507
- package/examples/pages/components/GridList.tsx +0 -126
- package/examples/pages/components/Heading.tsx +0 -152
- package/examples/pages/components/IconButtons.tsx +0 -191
- package/examples/pages/components/IconFont.tsx +0 -49
- package/examples/pages/components/IconLabels.tsx +0 -199
- package/examples/pages/components/IconPicker.tsx +0 -82
- package/examples/pages/components/IllustrationButton.tsx +0 -109
- package/examples/pages/components/Index.tsx +0 -563
- package/examples/pages/components/Inputs.tsx +0 -313
- package/examples/pages/components/Labels.tsx +0 -354
- package/examples/pages/components/LeftNavigations.tsx +0 -459
- package/examples/pages/components/ListItems.tsx +0 -33
- package/examples/pages/components/Loader.tsx +0 -25
- package/examples/pages/components/Menu.tsx +0 -181
- package/examples/pages/components/Modal.tsx +0 -557
- package/examples/pages/components/MultiSelect.tsx +0 -343
- package/examples/pages/components/NavButtons.tsx +0 -159
- package/examples/pages/components/Panel.tsx +0 -631
- package/examples/pages/components/Popover.tsx +0 -90
- package/examples/pages/components/QuickNavigationBar.tsx +0 -278
- package/examples/pages/components/RadioGroup.tsx +0 -612
- package/examples/pages/components/ResizablePanels.tsx +0 -43
- package/examples/pages/components/SelectGrid.tsx +0 -162
- package/examples/pages/components/SelectWithTemplate.tsx +0 -144
- package/examples/pages/components/Selects.tsx +0 -175
- package/examples/pages/components/SimpleList.tsx +0 -198
- package/examples/pages/components/SubNav.tsx +0 -160
- package/examples/pages/components/Switch.tsx +0 -298
- package/examples/pages/components/TableList.tsx +0 -315
- package/examples/pages/components/Tabs.tsx +0 -276
- package/examples/pages/components/TagInputDocs.tsx +0 -130
- package/examples/pages/components/Tags.tsx +0 -154
- package/examples/pages/components/Text.tsx +0 -184
- package/examples/pages/components/TimePicker.tsx +0 -179
- package/examples/pages/components/Toasts.tsx +0 -283
- package/examples/pages/components/Togglebox.tsx +0 -307
- package/examples/pages/components/Tooltips.tsx +0 -74
- package/examples/pages/components/TreeMenu.tsx +0 -315
- package/examples/pages/components/TreeSelect.tsx +0 -625
- package/examples/pages/components/WithPaginationDocs.tsx +0 -56
- package/examples/pages/components/WithSizeObserver.tsx +0 -44
- package/examples/pages/components/tree-select/TreeSelect.tsx +0 -322
- package/examples/pages/components/tree-select/example-1.tsx +0 -67
- package/examples/pages/components/tree-select/example-2.tsx +0 -56
- package/examples/pages/components/utilities/BorderRadiusUtilities.tsx +0 -71
- package/examples/pages/components/utilities/BorderUtilities.tsx +0 -169
- package/examples/pages/components/utilities/DisplayUtilities.tsx +0 -115
- package/examples/pages/components/utilities/FlexAndGridUtilities.tsx +0 -551
- package/examples/pages/components/utilities/ObjectFitUtilities.tsx +0 -51
- package/examples/pages/components/utilities/ObjectPositionUtilities.tsx +0 -67
- package/examples/pages/components/utilities/OpacityUtilities.tsx +0 -61
- package/examples/pages/components/utilities/OverflowUtilities.tsx +0 -92
- package/examples/pages/components/utilities/PositionUtilities.tsx +0 -51
- package/examples/pages/components/utilities/ShadowUtilities.tsx +0 -122
- package/examples/pages/components/utilities/SpacingUtilities.tsx +0 -1079
- package/examples/pages/components/utilities/TextUtilities.tsx +0 -560
- package/examples/pages/components.html +0 -15
- package/examples/pages/components_deprecated/alerts.html +0 -113
- package/examples/pages/components_deprecated/badge.html +0 -79
- package/examples/pages/components_deprecated/basic-grid.html +0 -132
- package/examples/pages/components_deprecated/big-icons.html +0 -65
- package/examples/pages/components_deprecated/buttons.html +0 -631
- package/examples/pages/components_deprecated/carousel.html +0 -77
- package/examples/pages/components_deprecated/checkbox.html +0 -86
- package/examples/pages/components_deprecated/colors.html +0 -12
- package/examples/pages/components_deprecated/dropdown.html +0 -542
- package/examples/pages/components_deprecated/form-layout.html +0 -187
- package/examples/pages/components_deprecated/icon-labels.html +0 -34
- package/examples/pages/components_deprecated/icons.html +0 -194
- package/examples/pages/components_deprecated/input.html +0 -233
- package/examples/pages/components_deprecated/labels.html +0 -170
- package/examples/pages/components_deprecated/layout-grid.html +0 -227
- package/examples/pages/components_deprecated/left-nav.html +0 -83
- package/examples/pages/components_deprecated/list-item.html +0 -1342
- package/examples/pages/components_deprecated/loader.html +0 -64
- package/examples/pages/components_deprecated/modal-template.html +0 -13
- package/examples/pages/components_deprecated/modals.html +0 -561
- package/examples/pages/components_deprecated/other-elements.html +0 -54
- package/examples/pages/components_deprecated/panel-info.html +0 -34
- package/examples/pages/components_deprecated/radio.html +0 -64
- package/examples/pages/components_deprecated/select.html +0 -160
- package/examples/pages/components_deprecated/shadows.html +0 -24
- package/examples/pages/components_deprecated/sidebar-menu.html +0 -111
- package/examples/pages/components_deprecated/simple-list.html +0 -113
- package/examples/pages/components_deprecated/slider.html +0 -31
- package/examples/pages/components_deprecated/spacing.html +0 -117
- package/examples/pages/components_deprecated/switch.html +0 -31
- package/examples/pages/components_deprecated/tables.html +0 -58
- package/examples/pages/components_deprecated/tabs.html +0 -257
- package/examples/pages/components_deprecated/tag-input.html +0 -123
- package/examples/pages/components_deprecated/tag-labels.html +0 -57
- package/examples/pages/components_deprecated/text.html +0 -55
- package/examples/pages/components_deprecated/toggle.html +0 -63
- package/examples/pages/components_deprecated/tooltips.html +0 -29
- package/examples/pages/components_deprecated/vertical-tabs.html +0 -48
- package/examples/pages/components_deprecated/wizard.html +0 -41
- package/examples/pages/components_deprecated.html +0 -39
- package/examples/pages/design/application-structure.html +0 -168
- package/examples/pages/design/buttons.html +0 -34
- package/examples/pages/design/checkbox-and-radio.html +0 -64
- package/examples/pages/design/layout-principles.html +0 -45
- package/examples/pages/design/modules.html +0 -22
- package/examples/pages/design/pages.html +0 -22
- package/examples/pages/design/switch.html +0 -55
- package/examples/pages/design-patterns/Index.tsx +0 -42
- package/examples/pages/design-patterns/ThreePaneLayoutPattern.tsx +0 -378
- package/examples/pages/design-patterns.html +0 -14
- package/examples/pages/design.html +0 -39
- package/examples/pages/main.html +0 -76
- package/examples/pages/playgrounds/accessible-theme-test.html +0 -813
- package/examples/pages/playgrounds/boxed-list.html +0 -164
- package/examples/pages/playgrounds/cards.html +0 -244
- package/examples/pages/playgrounds/circular-progress.html +0 -48
- package/examples/pages/playgrounds/dummy-data/items.ts +0 -95
- package/examples/pages/playgrounds/editor-3-test.html +0 -15
- package/examples/pages/playgrounds/form-layout.html +0 -285
- package/examples/pages/playgrounds/layout-grid.html +0 -79
- package/examples/pages/playgrounds/layout-snippets/edit-article.html +0 -415
- package/examples/pages/playgrounds/layout-test-2.html +0 -795
- package/examples/pages/playgrounds/list-item-test.html +0 -896
- package/examples/pages/playgrounds/main.html +0 -16
- package/examples/pages/playgrounds/master-desk.html +0 -1678
- package/examples/pages/playgrounds/media-carousel.html +0 -1166
- package/examples/pages/playgrounds/nav-buttons.html +0 -65
- package/examples/pages/playgrounds/photo-desk.html +0 -1515
- package/examples/pages/playgrounds/photo-snippets/edit-photo-metadata.html +0 -208
- package/examples/pages/playgrounds/planning-snippets/edit-event.html +0 -187
- package/examples/pages/playgrounds/planning-snippets/edit-planning.html +0 -457
- package/examples/pages/playgrounds/planning.html +0 -1112
- package/examples/pages/playgrounds/publish-snippets/edit-article.html +0 -37
- package/examples/pages/playgrounds/publish.html +0 -1007
- package/examples/pages/playgrounds/publisher-content-analytics.html +0 -376
- package/examples/pages/playgrounds/publisher-content-list-automatic.html +0 -296
- package/examples/pages/playgrounds/publisher-content-list-manual.html +0 -611
- package/examples/pages/playgrounds/publisher-content-lists.html +0 -255
- package/examples/pages/playgrounds/publisher-dashboard.html +0 -323
- package/examples/pages/playgrounds/publisher-output-control.html +0 -3659
- package/examples/pages/playgrounds/publisher-website-settings-general.html +0 -188
- package/examples/pages/playgrounds/publisher-website-settings.html +0 -265
- package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +0 -952
- package/examples/pages/playgrounds/react-playgrounds/EditorTest.tsx +0 -649
- package/examples/pages/playgrounds/react-playgrounds/FirstPlayground.tsx +0 -236
- package/examples/pages/playgrounds/react-playgrounds/Index.tsx +0 -11
- package/examples/pages/playgrounds/react-playgrounds/Multiedit.tsx +0 -401
- package/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.tsx +0 -210
- package/examples/pages/playgrounds/react-playgrounds/PersonalProfile.tsx +0 -835
- package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +0 -580
- package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +0 -1415
- package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +0 -401
- package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +0 -2710
- package/examples/pages/playgrounds/react-playgrounds/UiPlayground.tsx +0 -410
- package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +0 -25
- package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContent.tsx +0 -86
- package/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.tsx +0 -19
- package/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.tsx +0 -34
- package/examples/pages/playgrounds/react-playgrounds/components/GraphicButtonsGroup.tsx +0 -11
- package/examples/pages/playgrounds/react-playgrounds/components/HeaderPanel.tsx +0 -11
- package/examples/pages/playgrounds/react-playgrounds/components/Index.tsx +0 -20
- package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +0 -27
- package/examples/pages/playgrounds/react-playgrounds/components/LayoutContainer.tsx +0 -15
- package/examples/pages/playgrounds/react-playgrounds/components/LeftPanel.tsx +0 -15
- package/examples/pages/playgrounds/react-playgrounds/components/MainPanel.tsx +0 -24
- package/examples/pages/playgrounds/react-playgrounds/components/OverlayPanel.tsx +0 -17
- package/examples/pages/playgrounds/react-playgrounds/components/Panel.tsx +0 -23
- package/examples/pages/playgrounds/react-playgrounds/components/PanelContent.tsx +0 -11
- package/examples/pages/playgrounds/react-playgrounds/components/PanelContentBlock.tsx +0 -19
- package/examples/pages/playgrounds/react-playgrounds/components/PanelFooter.tsx +0 -17
- package/examples/pages/playgrounds/react-playgrounds/components/PanelHeader.tsx +0 -31
- package/examples/pages/playgrounds/react-playgrounds/components/RightPanel.tsx +0 -16
- package/examples/pages/playgrounds/react-playgrounds/components/SearchBar.tsx +0 -87
- package/examples/pages/playgrounds/react-playgrounds/components/SidebarMenu.tsx +0 -76
- package/examples/pages/playgrounds/react-playgrounds/components/SubNav.tsx +0 -17
- package/examples/pages/playgrounds/react-playgrounds/components/ThemeDropdown.tsx +0 -57
- package/examples/pages/playgrounds/react-playgrounds/tsconfig.json +0 -4
- package/examples/pages/playgrounds/settings.html +0 -92
- package/examples/pages/playgrounds/side-navigation.html +0 -201
- package/examples/pages/playgrounds/swimlane-view.html +0 -1975
- package/examples/pages/playgrounds/tags-input.html +0 -55
- package/examples/pages/playgrounds/toasts.html +0 -113
- package/examples/pages/playgrounds/video-editor.html +0 -706
- package/examples/pages/playgrounds.html +0 -40
@@ -1,557 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import * as Markup from '../../js/react';
|
3
|
-
import {Button, ButtonGroup, Modal, PropsList, Prop} from '../../../app-typescript';
|
4
|
-
|
5
|
-
interface IState {
|
6
|
-
modalBasic: boolean;
|
7
|
-
modalSmall: boolean;
|
8
|
-
modalMedium: boolean;
|
9
|
-
modalLarge: boolean;
|
10
|
-
modalXLarge: boolean;
|
11
|
-
modalFull: boolean;
|
12
|
-
maximizableModal: boolean;
|
13
|
-
top: boolean;
|
14
|
-
bottom: boolean;
|
15
|
-
left: boolean;
|
16
|
-
right: boolean;
|
17
|
-
}
|
18
|
-
|
19
|
-
export default class ModalDoc extends React.Component<{}, IState> {
|
20
|
-
constructor(props) {
|
21
|
-
super(props);
|
22
|
-
|
23
|
-
this.state = {
|
24
|
-
modalBasic: false,
|
25
|
-
modalSmall: false,
|
26
|
-
modalMedium: false,
|
27
|
-
modalLarge: false,
|
28
|
-
modalXLarge: false,
|
29
|
-
modalFull: false,
|
30
|
-
maximizableModal: false,
|
31
|
-
top: false,
|
32
|
-
bottom: false,
|
33
|
-
left: false,
|
34
|
-
right: false,
|
35
|
-
};
|
36
|
-
}
|
37
|
-
|
38
|
-
render() {
|
39
|
-
const modalFullFooter = (
|
40
|
-
<ButtonGroup align="end">
|
41
|
-
<Button
|
42
|
-
text="Cancel"
|
43
|
-
onClick={() => {
|
44
|
-
this.setState({modalFull: false});
|
45
|
-
}}
|
46
|
-
/>
|
47
|
-
<Button type="primary" text="Save" onClick={() => {}} />
|
48
|
-
</ButtonGroup>
|
49
|
-
);
|
50
|
-
const modalLargeFooter = (
|
51
|
-
<ButtonGroup align="end">
|
52
|
-
<Button
|
53
|
-
text="Cancel"
|
54
|
-
onClick={() => {
|
55
|
-
this.setState({modalLarge: false});
|
56
|
-
}}
|
57
|
-
/>
|
58
|
-
<Button type="primary" text="Save" onClick={() => {}} />
|
59
|
-
</ButtonGroup>
|
60
|
-
);
|
61
|
-
const modalXLargeFooter = (
|
62
|
-
<ButtonGroup align="end">
|
63
|
-
<Button
|
64
|
-
text="Cancel"
|
65
|
-
onClick={() => {
|
66
|
-
this.setState({modalXLarge: false});
|
67
|
-
}}
|
68
|
-
/>
|
69
|
-
<Button type="primary" text="Save" onClick={() => {}} />
|
70
|
-
</ButtonGroup>
|
71
|
-
);
|
72
|
-
return (
|
73
|
-
<section className="docs-page__container">
|
74
|
-
<h2 className="docs-page__h2">Modal</h2>
|
75
|
-
<Markup.ReactMarkupCodePreview>
|
76
|
-
{`
|
77
|
-
<Modal visible={this.state.modalVisible} onHide={() => {this.setState({modalVisible: false})}}>
|
78
|
-
<p>This is some content inside modal</p>
|
79
|
-
</Modal>
|
80
|
-
`}
|
81
|
-
</Markup.ReactMarkupCodePreview>
|
82
|
-
|
83
|
-
<h3 className="docs-page__h3">Basic Modal</h3>
|
84
|
-
<p className="docs-page__paragraph">This is basic modal configuration</p>
|
85
|
-
<Markup.ReactMarkup>
|
86
|
-
<Markup.ReactMarkupPreview>
|
87
|
-
<ButtonGroup align="end">
|
88
|
-
<Button text="Basic (no size)" onClick={() => this.setState({modalBasic: true})} />
|
89
|
-
<Button text="Small" onClick={() => this.setState({modalSmall: true})} />
|
90
|
-
<Button text="Medium" onClick={() => this.setState({modalMedium: true})} />
|
91
|
-
<Button text="Large with footer" onClick={() => this.setState({modalLarge: true})} />
|
92
|
-
<Button text="Extra Large with footer" onClick={() => this.setState({modalXLarge: true})} />
|
93
|
-
</ButtonGroup>
|
94
|
-
|
95
|
-
<Modal
|
96
|
-
headerTemplate="Basic modal"
|
97
|
-
maximizable
|
98
|
-
visible={this.state.modalBasic}
|
99
|
-
onHide={() => {
|
100
|
-
this.setState({modalBasic: false});
|
101
|
-
}}
|
102
|
-
>
|
103
|
-
<p>This modal has no fixed size. It will adapt its size based on the content inside.</p>
|
104
|
-
</Modal>
|
105
|
-
|
106
|
-
<Modal
|
107
|
-
headerTemplate="Small modal header"
|
108
|
-
visible={this.state.modalSmall}
|
109
|
-
size="small"
|
110
|
-
onHide={() => {
|
111
|
-
this.setState({modalSmall: false});
|
112
|
-
}}
|
113
|
-
>
|
114
|
-
<p>
|
115
|
-
Small modal content. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum
|
116
|
-
nibh, ut fermentum massa justo sit amet risus. Vestibulum id ligula porta felis euismod
|
117
|
-
semper.
|
118
|
-
</p>
|
119
|
-
</Modal>
|
120
|
-
|
121
|
-
<Modal
|
122
|
-
headerTemplate="Medium modal header"
|
123
|
-
visible={this.state.modalMedium}
|
124
|
-
size="medium"
|
125
|
-
onHide={() => {
|
126
|
-
this.setState({modalMedium: false});
|
127
|
-
}}
|
128
|
-
>
|
129
|
-
<p>
|
130
|
-
Medium modal content. Etiam porta sem malesuada magna mollis euismod. Maecenas faucibus
|
131
|
-
mollis interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur
|
132
|
-
ridiculus mus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget
|
133
|
-
lacinia odio sem nec elit. Nullam quis risus eget urna mollis ornare vel eu leo. Donec
|
134
|
-
id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue.
|
135
|
-
</p>
|
136
|
-
</Modal>
|
137
|
-
|
138
|
-
<Modal
|
139
|
-
headerTemplate="Large modal header"
|
140
|
-
visible={this.state.modalLarge}
|
141
|
-
footerTemplate={modalLargeFooter}
|
142
|
-
size="large"
|
143
|
-
onHide={() => {
|
144
|
-
this.setState({modalLarge: false});
|
145
|
-
}}
|
146
|
-
>
|
147
|
-
<p>
|
148
|
-
Donec id elit non mi porta gravida at eget metus. Cras justo odio, dapibus ac facilisis
|
149
|
-
in, egestas eget quam. Duis mollis, est non commodo luctus, nisi erat porttitor ligula,
|
150
|
-
eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.
|
151
|
-
Vestibulum id ligula porta felis euismod semper. Maecenas sed diam eget risus varius
|
152
|
-
blandit sit amet non magna. Etiam porta sem malesuada magna mollis euismod. Donec sed
|
153
|
-
odio dui. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Cum
|
154
|
-
sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
|
155
|
-
Maecenas sed diam eget risus varius blandit sit amet non magna. Duis mollis, est non
|
156
|
-
commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Maecenas sed
|
157
|
-
diam eget risus varius blandit sit amet non magna.
|
158
|
-
</p>
|
159
|
-
</Modal>
|
160
|
-
|
161
|
-
<Modal
|
162
|
-
headerTemplate="Extra large modal"
|
163
|
-
visible={this.state.modalXLarge}
|
164
|
-
footerTemplate={modalXLargeFooter}
|
165
|
-
size="x-large"
|
166
|
-
onHide={() => {
|
167
|
-
this.setState({modalXLarge: false});
|
168
|
-
}}
|
169
|
-
>
|
170
|
-
<p className="sd-margin-b--3">
|
171
|
-
Aenean lacinia bibendum nulla sed consectetur. Vivamus sagittis lacus vel augue laoreet
|
172
|
-
rutrum faucibus dolor auctor. Nullam id dolor id nibh ultricies vehicula ut id elit.
|
173
|
-
Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Nullam quis risus eget
|
174
|
-
urna mollis ornare vel eu leo. Etiam porta sem malesuada magna mollis euismod. Sed
|
175
|
-
posuere consectetur est at lobortis.
|
176
|
-
</p>
|
177
|
-
|
178
|
-
<p>
|
179
|
-
Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Fusce
|
180
|
-
dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa
|
181
|
-
justo sit amet risus. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor
|
182
|
-
auctor. Nullam id dolor id nibh ultricies vehicula ut id elit.
|
183
|
-
</p>
|
184
|
-
</Modal>
|
185
|
-
</Markup.ReactMarkupPreview>
|
186
|
-
<Markup.ReactMarkupCode>
|
187
|
-
{`
|
188
|
-
// Basic
|
189
|
-
<Button text="Basic (no size)" onClick={() => this.setState({modalBasic: true})} />
|
190
|
-
<Modal headerTemplate="Basic modal"
|
191
|
-
visible={this.state.modalBasic}
|
192
|
-
onHide={() => {this.setState({modalBasic: false})}}>
|
193
|
-
<p>Content...</p>
|
194
|
-
</Modal>
|
195
|
-
|
196
|
-
// Small
|
197
|
-
<Button text="Small" onClick={() => this.setState({modalSmall: true})} />
|
198
|
-
<Modal headerTemplate="Small modal header"
|
199
|
-
visible={this.state.modalSmall}
|
200
|
-
size='small' onHide={() => {this.setState({modalSmall: false})}}>
|
201
|
-
<p>Content...</p>
|
202
|
-
</Modal>
|
203
|
-
|
204
|
-
// Medium
|
205
|
-
<Button text="Medium" onClick={() => this.setState({modalMedium: true})} />
|
206
|
-
<Modal headerTemplate="Medium modal header"
|
207
|
-
visible={this.state.modalMedium}
|
208
|
-
size='medium' onHide={() => {this.setState({modalMedium: false})}}>
|
209
|
-
<p>Content...</p>
|
210
|
-
</Modal>
|
211
|
-
|
212
|
-
// Large
|
213
|
-
<Button text="Large with footer" onClick={() => this.setState({modalLarge: true})} />
|
214
|
-
const modalLargeFooter=(
|
215
|
-
<ButtonGroup align="end">
|
216
|
-
<Button text='Cancel' onClick={() => {this.setState({modalLarge:false})}}/>
|
217
|
-
<Button type='primary' text='Save' onClick={() => {}}/>
|
218
|
-
</ButtonGroup>
|
219
|
-
);
|
220
|
-
<Modal headerTemplate="Large modal header"
|
221
|
-
visible={this.state.modalLarge}
|
222
|
-
footerTemplate={modalLargeFooter}
|
223
|
-
size='large' onHide={() => {this.setState({modalLarge: false})}}>
|
224
|
-
<p>Content...</p>
|
225
|
-
</Modal>
|
226
|
-
|
227
|
-
// Extra large
|
228
|
-
<Button text="Extra Large with footer" onClick={() => this.setState({modalXLarge: true})} />
|
229
|
-
const modalXLargeFooter=(
|
230
|
-
<ButtonGroup align="end">
|
231
|
-
<Button text='Cancel' onClick={() => {this.setState({modalXLarge:false})}}/>
|
232
|
-
<Button type='primary' text='Save' onClick={() => {}}/>
|
233
|
-
</ButtonGroup>
|
234
|
-
);
|
235
|
-
<Modal headerTemplate="Extra large modal"
|
236
|
-
visible={this.state.modalXLarge}
|
237
|
-
footerTemplate={modalXLargeFooter}
|
238
|
-
size='x-large' onHide={() => {this.setState({modalXLarge: false})}}>
|
239
|
-
<p className="sd-margin-b--3">Content...</p>
|
240
|
-
<p>...</p>
|
241
|
-
</Modal>
|
242
|
-
`}
|
243
|
-
</Markup.ReactMarkupCode>
|
244
|
-
</Markup.ReactMarkup>
|
245
|
-
|
246
|
-
<h3 className="docs-page__h3">Maximised modal</h3>
|
247
|
-
<p className="docs-page__paragraph">Maximised modal with footer template and forced dark theme.</p>
|
248
|
-
<Markup.ReactMarkup>
|
249
|
-
<Markup.ReactMarkupPreview>
|
250
|
-
<Button text="Open Modal" onClick={() => this.setState({modalFull: true})} />
|
251
|
-
<Modal
|
252
|
-
headerTemplate="Another modal header"
|
253
|
-
footerTemplate={modalFullFooter}
|
254
|
-
visible={this.state.modalFull}
|
255
|
-
theme="dark"
|
256
|
-
maximized={true}
|
257
|
-
className="testClass"
|
258
|
-
onHide={() => {
|
259
|
-
this.setState({modalFull: false});
|
260
|
-
}}
|
261
|
-
>
|
262
|
-
<p className="sd-margin-b--3">
|
263
|
-
Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Cum
|
264
|
-
sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Morbi
|
265
|
-
leo risus, porta ac consectetur ac, vestibulum at eros. Nullam quis risus eget urna
|
266
|
-
mollis ornare vel eu leo. Vestibulum id ligula porta felis euismod semper.
|
267
|
-
</p>
|
268
|
-
|
269
|
-
<p className="sd-margin-b--3">
|
270
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sed odio dui. Duis
|
271
|
-
mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec
|
272
|
-
elit. Nullam quis risus eget urna mollis ornare vel eu leo. Donec id elit non mi porta
|
273
|
-
gravida at eget metus.
|
274
|
-
</p>
|
275
|
-
|
276
|
-
<p>
|
277
|
-
Aenean lacinia bibendum nulla sed consectetur. Vivamus sagittis lacus vel augue laoreet
|
278
|
-
rutrum faucibus dolor auctor. Nullam id dolor id nibh ultricies vehicula ut id elit.
|
279
|
-
Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Nullam quis risus eget
|
280
|
-
urna mollis ornare vel eu leo. Etiam porta sem malesuada magna mollis euismod. Sed
|
281
|
-
posuere consectetur est at lobortis.
|
282
|
-
</p>
|
283
|
-
</Modal>
|
284
|
-
</Markup.ReactMarkupPreview>
|
285
|
-
<Markup.ReactMarkupCode>
|
286
|
-
{`
|
287
|
-
<Button text="Open Modal" onClick={() => this.setState({modalFull: true})} />
|
288
|
-
const modalFullFooter=(
|
289
|
-
<ButtonGroup align="end">
|
290
|
-
<Button text='Cancel' onClick={() => {this.setState({modalFull:false})}}/>
|
291
|
-
<Button type='primary' text='Save' onClick={() => {}}/>
|
292
|
-
</ButtonGroup>
|
293
|
-
);
|
294
|
-
<Modal headerTemplate="Another modal header"
|
295
|
-
footerTemplate={modalFullFooter}
|
296
|
-
visible={this.state.modalFull}
|
297
|
-
theme='dark'
|
298
|
-
maximized={true}
|
299
|
-
onHide={() => {this.setState({modalFull: false})}}>
|
300
|
-
<p className="sd-margin-b--3">...</p>
|
301
|
-
<p className="sd-margin-b--3">...</p>
|
302
|
-
<p>...</p>
|
303
|
-
</Modal>
|
304
|
-
`}
|
305
|
-
</Markup.ReactMarkupCode>
|
306
|
-
</Markup.ReactMarkup>
|
307
|
-
|
308
|
-
<h3 className="docs-page__h3">Maximizable modal</h3>
|
309
|
-
<Markup.ReactMarkup>
|
310
|
-
<Markup.ReactMarkupPreview>
|
311
|
-
<Button text="Maximizable modal" onClick={() => this.setState({maximizableModal: true})} />
|
312
|
-
<Modal
|
313
|
-
headerTemplate="Maximizable modal"
|
314
|
-
maximizable
|
315
|
-
visible={this.state.maximizableModal}
|
316
|
-
size="small"
|
317
|
-
onHide={() => {
|
318
|
-
this.setState({maximizableModal: false});
|
319
|
-
}}
|
320
|
-
>
|
321
|
-
<p className="sd-margin-b--3">
|
322
|
-
Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Cum
|
323
|
-
sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Morbi
|
324
|
-
leo risus, porta ac consectetur ac, vestibulum at eros. Nullam quis risus eget urna
|
325
|
-
mollis ornare vel eu leo. Vestibulum id ligula porta felis euismod semper.
|
326
|
-
</p>
|
327
|
-
|
328
|
-
<p className="sd-margin-b--3">
|
329
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sed odio dui. Duis
|
330
|
-
mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec
|
331
|
-
elit. Nullam quis risus eget urna mollis ornare vel eu leo. Donec id elit non mi porta
|
332
|
-
gravida at eget metus.
|
333
|
-
</p>
|
334
|
-
|
335
|
-
<p>
|
336
|
-
Aenean lacinia bibendum nulla sed consectetur. Vivamus sagittis lacus vel augue laoreet
|
337
|
-
rutrum faucibus dolor auctor. Nullam id dolor id nibh ultricies vehicula ut id elit.
|
338
|
-
Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Nullam quis risus eget
|
339
|
-
urna mollis ornare vel eu leo. Etiam porta sem malesuada magna mollis euismod. Sed
|
340
|
-
posuere consectetur est at lobortis.
|
341
|
-
</p>
|
342
|
-
</Modal>
|
343
|
-
</Markup.ReactMarkupPreview>
|
344
|
-
<Markup.ReactMarkupCode>
|
345
|
-
{`
|
346
|
-
<Button text="Maximizable modal" onClick={() => this.setState({maximizableModal: true})} />
|
347
|
-
<Modal
|
348
|
-
headerTemplate="Maximizable modal"
|
349
|
-
maximizable
|
350
|
-
visible={this.state.maximizableModal}
|
351
|
-
size="small"
|
352
|
-
onHide={() => {this.setState({maximizableModal: false})}}>
|
353
|
-
{children}
|
354
|
-
</Modal>
|
355
|
-
`}
|
356
|
-
</Markup.ReactMarkupCode>
|
357
|
-
</Markup.ReactMarkup>
|
358
|
-
|
359
|
-
<h3 className="docs-page__h3">Optional positioning of modal</h3>
|
360
|
-
<Markup.ReactMarkup>
|
361
|
-
<Markup.ReactMarkupPreview>
|
362
|
-
<ButtonGroup align="end">
|
363
|
-
<Button text="top" onClick={() => this.setState({top: true})} />
|
364
|
-
<Button text="bottom" onClick={() => this.setState({bottom: true})} />
|
365
|
-
<Button text="left" onClick={() => this.setState({left: true})} />
|
366
|
-
<Button text="right" onClick={() => this.setState({right: true})} />
|
367
|
-
</ButtonGroup>
|
368
|
-
|
369
|
-
<Modal
|
370
|
-
headerTemplate="Modal with position top"
|
371
|
-
position="top"
|
372
|
-
visible={this.state.top}
|
373
|
-
onHide={() => {
|
374
|
-
this.setState({top: false});
|
375
|
-
}}
|
376
|
-
>
|
377
|
-
<p>This modal has position top.</p>
|
378
|
-
</Modal>
|
379
|
-
|
380
|
-
<Modal
|
381
|
-
headerTemplate="Modal with position bottom"
|
382
|
-
position="bottom"
|
383
|
-
visible={this.state.bottom}
|
384
|
-
onHide={() => {
|
385
|
-
this.setState({bottom: false});
|
386
|
-
}}
|
387
|
-
>
|
388
|
-
<p>This modal has position bottom.</p>
|
389
|
-
</Modal>
|
390
|
-
|
391
|
-
<Modal
|
392
|
-
headerTemplate="Modal with position left"
|
393
|
-
position="left"
|
394
|
-
visible={this.state.left}
|
395
|
-
onHide={() => {
|
396
|
-
this.setState({left: false});
|
397
|
-
}}
|
398
|
-
>
|
399
|
-
<p>This modal has position left.</p>
|
400
|
-
</Modal>
|
401
|
-
|
402
|
-
<Modal
|
403
|
-
headerTemplate="Modal with position right"
|
404
|
-
position="right"
|
405
|
-
visible={this.state.right}
|
406
|
-
onHide={() => {
|
407
|
-
this.setState({right: false});
|
408
|
-
}}
|
409
|
-
>
|
410
|
-
<p>This modal has position right.</p>
|
411
|
-
</Modal>
|
412
|
-
</Markup.ReactMarkupPreview>
|
413
|
-
<Markup.ReactMarkupCode>
|
414
|
-
{`
|
415
|
-
<Modal headerTemplate="Modal with position top"
|
416
|
-
position="top"
|
417
|
-
visible={this.state.top}
|
418
|
-
onHide={() => {this.setState({top: false})}}>
|
419
|
-
<p>This modal has position top.</p>
|
420
|
-
</Modal>
|
421
|
-
|
422
|
-
<Modal headerTemplate="Modal with position bottom"
|
423
|
-
position="bottom"
|
424
|
-
visible={this.state.bottom}
|
425
|
-
onHide={() => {this.setState({bottom: false})}}>
|
426
|
-
<p>This modal has position bottom.</p>
|
427
|
-
</Modal>
|
428
|
-
|
429
|
-
<Modal headerTemplate="Modal with position left"
|
430
|
-
position="left"
|
431
|
-
visible={this.state.left}
|
432
|
-
onHide={() => {this.setState({left: false})}}>
|
433
|
-
<p>This modal has position left.</p>
|
434
|
-
</Modal>
|
435
|
-
|
436
|
-
<Modal headerTemplate="Modal with position right"
|
437
|
-
position="right"
|
438
|
-
visible={this.state.right}
|
439
|
-
onHide={() => {this.setState({right: false})}}>
|
440
|
-
<p>This modal has position right.</p>
|
441
|
-
</Modal>
|
442
|
-
`}
|
443
|
-
</Markup.ReactMarkupCode>
|
444
|
-
</Markup.ReactMarkup>
|
445
|
-
|
446
|
-
<h3 className="docs-page__h3">Props</h3>
|
447
|
-
<PropsList>
|
448
|
-
<Prop
|
449
|
-
name="id"
|
450
|
-
isRequired={false}
|
451
|
-
type="string"
|
452
|
-
default="null"
|
453
|
-
description="Unique identifier of the element"
|
454
|
-
/>
|
455
|
-
<Prop
|
456
|
-
name="className"
|
457
|
-
isRequired={false}
|
458
|
-
type="string"
|
459
|
-
default="null"
|
460
|
-
description="To add class to the content of component"
|
461
|
-
/>
|
462
|
-
<Prop
|
463
|
-
name="theme"
|
464
|
-
isRequired={false}
|
465
|
-
type="light | dark"
|
466
|
-
default="light"
|
467
|
-
description="Item style"
|
468
|
-
/>
|
469
|
-
<Prop
|
470
|
-
name="size"
|
471
|
-
isRequired={false}
|
472
|
-
type="small | medium | large | x-large"
|
473
|
-
default="/"
|
474
|
-
description="Size of the modal. If not defined it will adapt to the width of the content."
|
475
|
-
/>
|
476
|
-
<Prop
|
477
|
-
name="position"
|
478
|
-
isRequired={false}
|
479
|
-
type="center | top | bottom | left | right | top-left | top-right | bottom-left | bottom-right"
|
480
|
-
default="center"
|
481
|
-
description="Position of the dialog."
|
482
|
-
/>
|
483
|
-
<Prop
|
484
|
-
name="visible"
|
485
|
-
isRequired={true}
|
486
|
-
type="boolean"
|
487
|
-
default="false"
|
488
|
-
description="Specifies the visibility of the dialog"
|
489
|
-
/>
|
490
|
-
<Prop
|
491
|
-
name="contentPadding"
|
492
|
-
isRequired={true}
|
493
|
-
type="'none' | 'small' | 'medium' | 'large'"
|
494
|
-
default="false"
|
495
|
-
description="Padding of content"
|
496
|
-
/>
|
497
|
-
<Prop
|
498
|
-
name="contentBg"
|
499
|
-
isRequired={true}
|
500
|
-
type="'default' | 'medium' | 'dark'"
|
501
|
-
default="false"
|
502
|
-
description="Background of content"
|
503
|
-
/>
|
504
|
-
<Prop
|
505
|
-
name="headerTemplate"
|
506
|
-
isRequired={false}
|
507
|
-
type="element"
|
508
|
-
default="null"
|
509
|
-
description="Label of header"
|
510
|
-
/>
|
511
|
-
<Prop
|
512
|
-
name="footerTemplate"
|
513
|
-
isRequired={false}
|
514
|
-
type="element"
|
515
|
-
default="null"
|
516
|
-
description="Name of the footer template constant, created separately"
|
517
|
-
/>
|
518
|
-
<Prop
|
519
|
-
name="closeOnEscape"
|
520
|
-
isRequired={false}
|
521
|
-
type="boolean"
|
522
|
-
default="null"
|
523
|
-
description="An array of objects to display"
|
524
|
-
/>
|
525
|
-
<Prop
|
526
|
-
name="maximized"
|
527
|
-
isRequired={false}
|
528
|
-
type="boolean"
|
529
|
-
default="null"
|
530
|
-
description="Creates a full-screen modal id set to true."
|
531
|
-
/>
|
532
|
-
<Prop
|
533
|
-
name="maximizable"
|
534
|
-
isRequired={false}
|
535
|
-
type="boolean"
|
536
|
-
default="null"
|
537
|
-
description="By clicking on button set full-screen modal and return on defoult size."
|
538
|
-
/>
|
539
|
-
<Prop
|
540
|
-
name="onShow"
|
541
|
-
isRequired={false}
|
542
|
-
type="function"
|
543
|
-
default="null"
|
544
|
-
description="Callback to invoke after modal is opened"
|
545
|
-
/>
|
546
|
-
<Prop
|
547
|
-
name="onHide"
|
548
|
-
isRequired={true}
|
549
|
-
type="function"
|
550
|
-
default="null"
|
551
|
-
description="Callback to invoke after modal is closed"
|
552
|
-
/>
|
553
|
-
</PropsList>
|
554
|
-
</section>
|
555
|
-
);
|
556
|
-
}
|
557
|
-
}
|