superdesk-ui-framework 4.0.51 → 4.0.53
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/styles/_avatar.scss +0 -5
- package/dist/examples.bundle.js +1 -1
- package/dist/superdesk-ui.bundle.css +1 -4
- package/package.json +1 -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,343 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import * as Markup from '../../js/react';
|
3
|
-
import {PropsList, Prop} from '../../../app-typescript';
|
4
|
-
import {MultiSelect} from '../../../app-typescript';
|
5
|
-
import {Label} from '../../../app-typescript';
|
6
|
-
|
7
|
-
interface IColor {
|
8
|
-
name: string;
|
9
|
-
colorCode?: string;
|
10
|
-
}
|
11
|
-
|
12
|
-
interface IState {
|
13
|
-
value: any;
|
14
|
-
value2: any;
|
15
|
-
}
|
16
|
-
|
17
|
-
const ItemArr: Array<IColor> = [
|
18
|
-
{name: 'Red', colorCode: '#FF0000'},
|
19
|
-
{name: 'Cyan', colorCode: '#00FFFF'},
|
20
|
-
{name: 'Blue', colorCode: '#0000FF'},
|
21
|
-
{name: 'DarkBlue', colorCode: '#0000A0'},
|
22
|
-
{name: 'Purple', colorCode: '#800080'},
|
23
|
-
{name: 'Yellow', colorCode: '#FFFF00'},
|
24
|
-
{name: 'Lime', colorCode: '#00FF00'},
|
25
|
-
{name: 'Magenta', colorCode: '#FF00FF'},
|
26
|
-
{name: 'Silver', colorCode: '#C0C0C0'},
|
27
|
-
{name: 'Gray', colorCode: '#808080'},
|
28
|
-
{name: 'Black', colorCode: '#000000'},
|
29
|
-
{name: 'Orange', colorCode: '#FFA500'},
|
30
|
-
{name: 'Brown', colorCode: '#A52A2A'},
|
31
|
-
{name: 'Maroon', colorCode: '#800000'},
|
32
|
-
{name: 'Green', colorCode: '#008000'},
|
33
|
-
{name: 'Olive', colorCode: '#808000'},
|
34
|
-
];
|
35
|
-
|
36
|
-
export class MultiselectDocs extends React.Component<{}, IState> {
|
37
|
-
constructor(props) {
|
38
|
-
super(props);
|
39
|
-
this.state = {
|
40
|
-
value: [{name: 'Red', colorCode: '#FF0000'}],
|
41
|
-
value2: [{name: 'Red', colorCode: '#FF0000'}],
|
42
|
-
};
|
43
|
-
}
|
44
|
-
|
45
|
-
render() {
|
46
|
-
return (
|
47
|
-
<section className="docs-page__container">
|
48
|
-
<h2 className="docs-page__h2">MultiSelect</h2>
|
49
|
-
|
50
|
-
<Markup.ReactMarkupCodePreview>
|
51
|
-
{`
|
52
|
-
<MultiSelect
|
53
|
-
value={this.state.value}
|
54
|
-
options={ItemArr}
|
55
|
-
optionLabel={(option) => option.name}
|
56
|
-
placeholder='Select a color'
|
57
|
-
onChange={(e: any) => false}
|
58
|
-
/>
|
59
|
-
`}
|
60
|
-
</Markup.ReactMarkupCodePreview>
|
61
|
-
|
62
|
-
<Markup.ReactMarkup>
|
63
|
-
<Markup.ReactMarkupPreview>
|
64
|
-
<div className="docs-page__content-row docs-page__content-row--no-margin">
|
65
|
-
<div className="form__row">
|
66
|
-
<MultiSelect
|
67
|
-
value={this.state.value}
|
68
|
-
options={ItemArr}
|
69
|
-
optionLabel={(option) => option.name}
|
70
|
-
label="This is Label"
|
71
|
-
info="This is info"
|
72
|
-
placeholder="Select a color"
|
73
|
-
filter
|
74
|
-
showSelectAll
|
75
|
-
onChange={(e: any) => this.setState({value: e})}
|
76
|
-
/>
|
77
|
-
</div>
|
78
|
-
</div>
|
79
|
-
</Markup.ReactMarkupPreview>
|
80
|
-
|
81
|
-
<Markup.ReactMarkupCode>{`
|
82
|
-
<MultiSelect
|
83
|
-
value={this.state.value}
|
84
|
-
options={ItemArr}
|
85
|
-
optionLabel={(option) => option.name}
|
86
|
-
label='This is Label'
|
87
|
-
info='This is info'
|
88
|
-
placeholder='Select a color'
|
89
|
-
filter
|
90
|
-
showSelectAll
|
91
|
-
onChange={(e: any) => this.setState({value: e})}
|
92
|
-
/>
|
93
|
-
`}</Markup.ReactMarkupCode>
|
94
|
-
</Markup.ReactMarkup>
|
95
|
-
|
96
|
-
<p className="docs-page__paragraph">MultiSelect with custom template.</p>
|
97
|
-
|
98
|
-
<Markup.ReactMarkup>
|
99
|
-
<Markup.ReactMarkupPreview>
|
100
|
-
<div className="docs-page__content-row docs-page__content-row--no-margin">
|
101
|
-
<div className="form__row">
|
102
|
-
<MultiSelect
|
103
|
-
value={this.state.value2}
|
104
|
-
options={ItemArr}
|
105
|
-
optionLabel={(option) => `${option.name} :: ${option.colorCode}`}
|
106
|
-
filter
|
107
|
-
showSelectAll
|
108
|
-
label="This is Label"
|
109
|
-
info="This is info"
|
110
|
-
placeholder="Select a color"
|
111
|
-
itemTemplate={(option) => {
|
112
|
-
if (option) {
|
113
|
-
return (
|
114
|
-
<div style={{display: 'flex', alignItems: 'center'}}>
|
115
|
-
<div
|
116
|
-
style={{
|
117
|
-
width: 10,
|
118
|
-
height: 10,
|
119
|
-
marginInlineEnd: 10,
|
120
|
-
backgroundColor: option.colorCode,
|
121
|
-
}}
|
122
|
-
/>
|
123
|
-
<span>{option.name}</span>
|
124
|
-
</div>
|
125
|
-
);
|
126
|
-
}
|
127
|
-
}}
|
128
|
-
selectedItemTemplate={(option) => {
|
129
|
-
if (option == null) {
|
130
|
-
return <div>Select a color</div>;
|
131
|
-
} else {
|
132
|
-
return (
|
133
|
-
<div className="p-multiselect-token">
|
134
|
-
<span
|
135
|
-
style={{
|
136
|
-
width: 10,
|
137
|
-
height: 10,
|
138
|
-
marginInlineEnd: 10,
|
139
|
-
backgroundColor: option.colorCode,
|
140
|
-
}}
|
141
|
-
/>
|
142
|
-
<span className="p-multiselect-token-label">{option.name}</span>
|
143
|
-
</div>
|
144
|
-
);
|
145
|
-
}
|
146
|
-
}}
|
147
|
-
onChange={(e: any) => this.setState({value2: e})}
|
148
|
-
/>
|
149
|
-
</div>
|
150
|
-
</div>
|
151
|
-
</Markup.ReactMarkupPreview>
|
152
|
-
|
153
|
-
<Markup.ReactMarkupCode>{`
|
154
|
-
<MultiSelect
|
155
|
-
value={this.state.value2}
|
156
|
-
options={ItemArr}
|
157
|
-
onChange={(e: any) => this.setState({value2: e.value})}
|
158
|
-
filter
|
159
|
-
showSelectAll
|
160
|
-
optionLabel='name'
|
161
|
-
itemTemplate={(option) => {
|
162
|
-
if (option) {
|
163
|
-
return (
|
164
|
-
<div style={{display: 'flex', alignItems: 'center'}}>
|
165
|
-
<div style={{width: 10, height: 10, marginInlineEnd: 10, backgroundColor: option.colorCode}} />
|
166
|
-
<div>{option.name}</div>
|
167
|
-
</div>
|
168
|
-
);
|
169
|
-
}
|
170
|
-
}}
|
171
|
-
selectedItemTemplate={(option) => {
|
172
|
-
if (option == null) {
|
173
|
-
return (
|
174
|
-
<div>Select a color</div>
|
175
|
-
);
|
176
|
-
} else {
|
177
|
-
return (
|
178
|
-
<div className='p-multiselect-token'>
|
179
|
-
<span style={{width: 10, height: 10, marginInlineEnd: 10, backgroundColor: option.colorCode}} />
|
180
|
-
<span className='p-multiselect-token-label'>{option.name}</span>
|
181
|
-
</div>
|
182
|
-
);
|
183
|
-
}
|
184
|
-
}}
|
185
|
-
/>
|
186
|
-
`}</Markup.ReactMarkupCode>
|
187
|
-
</Markup.ReactMarkup>
|
188
|
-
|
189
|
-
<h3 className="docs-page__h3">Props</h3>
|
190
|
-
<PropsList>
|
191
|
-
<Prop
|
192
|
-
name="value"
|
193
|
-
isRequired={true}
|
194
|
-
type="Array<T>"
|
195
|
-
default="/"
|
196
|
-
description="Value of the component."
|
197
|
-
/>
|
198
|
-
<Prop
|
199
|
-
name="options"
|
200
|
-
isRequired={true}
|
201
|
-
type="Array<T>"
|
202
|
-
default="/"
|
203
|
-
description="An array of selectitems to display as the available options."
|
204
|
-
/>
|
205
|
-
<Prop
|
206
|
-
name="optionLabel"
|
207
|
-
isRequired={true}
|
208
|
-
type="string"
|
209
|
-
default="/"
|
210
|
-
description="Name of the label field of an option when an arbitrary objects instead of SelectItems are used as options and decides which field or fields to search against."
|
211
|
-
/>
|
212
|
-
<Prop
|
213
|
-
name="placeholder"
|
214
|
-
isRequired={false}
|
215
|
-
type="string"
|
216
|
-
default="/"
|
217
|
-
description="Label to display when there are no selections."
|
218
|
-
/>
|
219
|
-
<Prop
|
220
|
-
name="filter"
|
221
|
-
isRequired={false}
|
222
|
-
type="boolean"
|
223
|
-
default="false"
|
224
|
-
description="When specified, displays an input field to filter the items on keyup."
|
225
|
-
/>
|
226
|
-
<Prop
|
227
|
-
name="filterPlaceholder"
|
228
|
-
isRequired={false}
|
229
|
-
type="string"
|
230
|
-
default="/"
|
231
|
-
description="Placeholder text to show when filter input is empty."
|
232
|
-
/>
|
233
|
-
<Prop
|
234
|
-
name="emptyFilterMessage"
|
235
|
-
isRequired={false}
|
236
|
-
type="string"
|
237
|
-
default="No results found"
|
238
|
-
description="Template to display when filtering does not return any results."
|
239
|
-
/>
|
240
|
-
<Prop
|
241
|
-
name="maxSelectedLabels"
|
242
|
-
isRequired={false}
|
243
|
-
type="number"
|
244
|
-
default="/"
|
245
|
-
description="Decides how many selected item labels to show at most. Its necessary to use selectedItemTemplate."
|
246
|
-
/>
|
247
|
-
<Prop
|
248
|
-
name="selectedItemsLabel"
|
249
|
-
isRequired={false}
|
250
|
-
type="string"
|
251
|
-
default="{0} items selected"
|
252
|
-
description="Label to display after exceeding max selected labels."
|
253
|
-
/>
|
254
|
-
<Prop
|
255
|
-
name="ariaLabelledBy"
|
256
|
-
isRequired={false}
|
257
|
-
type="string"
|
258
|
-
default="/"
|
259
|
-
description="Establishes relationships between the component and label(s) where its value should be one or more element IDs."
|
260
|
-
/>
|
261
|
-
<Prop
|
262
|
-
name="showClear"
|
263
|
-
isRequired={false}
|
264
|
-
type="boolean"
|
265
|
-
default="false"
|
266
|
-
description="When enabled, a clear icon is displayed to clear the value."
|
267
|
-
/>
|
268
|
-
<Prop
|
269
|
-
name="showSelectAll"
|
270
|
-
isRequired={false}
|
271
|
-
type="boolean"
|
272
|
-
default="false"
|
273
|
-
description="Whether to show the select all checkbox inside the panel header."
|
274
|
-
/>
|
275
|
-
<Prop
|
276
|
-
name="itemTemplate"
|
277
|
-
isRequired={false}
|
278
|
-
type="function"
|
279
|
-
default="/"
|
280
|
-
description="Function that gets the option and returns the content for it."
|
281
|
-
/>
|
282
|
-
<Prop
|
283
|
-
name="selectedItemTemplate"
|
284
|
-
isRequired={false}
|
285
|
-
type="function"
|
286
|
-
default="/"
|
287
|
-
description="Function that gets an item in the value and returns the content for it."
|
288
|
-
/>
|
289
|
-
<Prop
|
290
|
-
name="onChange"
|
291
|
-
isRequired={true}
|
292
|
-
type="Function"
|
293
|
-
default="/"
|
294
|
-
description="Callback to invoke when value changes."
|
295
|
-
/>
|
296
|
-
<Prop name="label" isRequired={false} type="string" default="/" description="Label of component." />
|
297
|
-
<Prop
|
298
|
-
name="inlineLabel"
|
299
|
-
isRequired={false}
|
300
|
-
type="boolean"
|
301
|
-
default="false"
|
302
|
-
description="Position labels as inline."
|
303
|
-
/>
|
304
|
-
<Prop
|
305
|
-
name="tabindex"
|
306
|
-
isRequired={false}
|
307
|
-
type="number"
|
308
|
-
default="/"
|
309
|
-
description="Indicates an element can be focused on, and determines how that focus is handled."
|
310
|
-
/>
|
311
|
-
<Prop
|
312
|
-
name="info"
|
313
|
-
isRequired={false}
|
314
|
-
type="string"
|
315
|
-
default="/"
|
316
|
-
description="Info message of component."
|
317
|
-
/>
|
318
|
-
<Prop
|
319
|
-
name="error"
|
320
|
-
isRequired={false}
|
321
|
-
type="string"
|
322
|
-
default="/"
|
323
|
-
description="Error message of component."
|
324
|
-
/>
|
325
|
-
<Prop
|
326
|
-
name="required"
|
327
|
-
isRequired={false}
|
328
|
-
type="boolean"
|
329
|
-
default="false"
|
330
|
-
description="Mark field as required."
|
331
|
-
/>
|
332
|
-
<Prop
|
333
|
-
name="disabled"
|
334
|
-
isRequired={false}
|
335
|
-
type="boolean"
|
336
|
-
default="false"
|
337
|
-
description="Mark field as disabled."
|
338
|
-
/>
|
339
|
-
</PropsList>
|
340
|
-
</section>
|
341
|
-
);
|
342
|
-
}
|
343
|
-
}
|
@@ -1,159 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
|
3
|
-
import * as Markup from '../../js/react';
|
4
|
-
|
5
|
-
import {SubNav, NavButton, ButtonGroup, Tooltip, PropsList, Prop} from '../../../app-typescript';
|
6
|
-
|
7
|
-
export default class NavButtonsDoc extends React.Component {
|
8
|
-
render() {
|
9
|
-
return (
|
10
|
-
<section className="docs-page__container">
|
11
|
-
<h2 className="docs-page__h2">Navigation button</h2>
|
12
|
-
<p></p>
|
13
|
-
<Markup.ReactMarkupCodePreview>
|
14
|
-
{`
|
15
|
-
<NavButton type='default' icon='home' onClick={()=> false} />
|
16
|
-
`}
|
17
|
-
</Markup.ReactMarkupCodePreview>
|
18
|
-
|
19
|
-
<Markup.ReactMarkup>
|
20
|
-
<Markup.ReactMarkupPreview>
|
21
|
-
<SubNav>
|
22
|
-
<ButtonGroup align="start" spaces="no-space">
|
23
|
-
<Tooltip text="Filters" flow="right">
|
24
|
-
<NavButton
|
25
|
-
icon="filter-large"
|
26
|
-
type="darker"
|
27
|
-
state="active"
|
28
|
-
text="Filter"
|
29
|
-
onClick={() => false}
|
30
|
-
/>
|
31
|
-
</Tooltip>
|
32
|
-
<NavButton icon="search" text="Search" onClick={() => false} />
|
33
|
-
</ButtonGroup>
|
34
|
-
<ButtonGroup align="end" spaces="no-space">
|
35
|
-
<NavButton icon="list-plus" text="Add to list" onClick={() => false} />
|
36
|
-
<Tooltip text="More actions" flow="down">
|
37
|
-
<NavButton icon="dots-vertical" text="More actions" onClick={() => false} />
|
38
|
-
</Tooltip>
|
39
|
-
<Tooltip text="Send to / Publish" flow="left">
|
40
|
-
<NavButton
|
41
|
-
icon="expand-thin"
|
42
|
-
text="Send to / Publish"
|
43
|
-
type="highlight"
|
44
|
-
onClick={() => false}
|
45
|
-
/>
|
46
|
-
</Tooltip>
|
47
|
-
</ButtonGroup>
|
48
|
-
</SubNav>
|
49
|
-
</Markup.ReactMarkupPreview>
|
50
|
-
<Markup.ReactMarkupCode>
|
51
|
-
{`
|
52
|
-
<SubNav>
|
53
|
-
<ButtonGroup align='start' spaces='no-space'>
|
54
|
-
<Tooltip text='Filters' flow='right'>
|
55
|
-
<NavButton icon='filter-large' type='darker' state="active" text="Filter" onClick={() => false} />
|
56
|
-
</Tooltip>
|
57
|
-
<NavButton icon='search' text="Search" onClick={() => false} />
|
58
|
-
</ButtonGroup>
|
59
|
-
<ButtonGroup align='end' spaces='no-space'>
|
60
|
-
<NavButton icon='list-plus' text="Add to list" onClick={() => false} />
|
61
|
-
<Tooltip text='More actions' flow='down'>
|
62
|
-
<NavButton icon='dots-vertical' text="More actions" onClick={() => false} />
|
63
|
-
</Tooltip>
|
64
|
-
<Tooltip text='Send to / Publish' flow='left'>
|
65
|
-
<NavButton icon='expand-thin' text='Send to / Publish' type='highlight' onClick={() => false} />
|
66
|
-
</Tooltip>
|
67
|
-
</ButtonGroup>
|
68
|
-
</SubNav>
|
69
|
-
`}
|
70
|
-
</Markup.ReactMarkupCode>
|
71
|
-
</Markup.ReactMarkup>
|
72
|
-
<h3 className="docs-page__h3">Styles / Types</h3>
|
73
|
-
<Markup.ReactMarkup>
|
74
|
-
<Markup.ReactMarkupPreview>
|
75
|
-
<SubNav>
|
76
|
-
<ButtonGroup align="start" spaces="no-space">
|
77
|
-
<NavButton icon="adjust" type="default" text="Adjust" onClick={() => false} />
|
78
|
-
<NavButton icon="eye-open" type="darker" text="View" onClick={() => false} />
|
79
|
-
<NavButton icon="refresh" type="dark" text="Refresh" onClick={() => false} />
|
80
|
-
</ButtonGroup>
|
81
|
-
<ButtonGroup align="end" spaces="no-space">
|
82
|
-
<NavButton icon="edit-line" type="primary" text="Edit" onClick={() => false} />
|
83
|
-
<NavButton icon="expand-thin" type="highlight" text="Expand" onClick={() => false} />
|
84
|
-
</ButtonGroup>
|
85
|
-
</SubNav>
|
86
|
-
</Markup.ReactMarkupPreview>
|
87
|
-
<Markup.ReactMarkupCode>
|
88
|
-
{`
|
89
|
-
<SubNav>
|
90
|
-
<ButtonGroup align='start' spaces='no-space'>
|
91
|
-
<NavButton icon='adjust' type='default' text="Adjust" onClick={() => false} />
|
92
|
-
<NavButton icon='eye-open' type='darker' text="View" onClick={() => false} />
|
93
|
-
<NavButton icon='refresh' type='dark' text="Refresh" onClick={() => false} />
|
94
|
-
</ButtonGroup>
|
95
|
-
<ButtonGroup align='end' spaces='no-space'>
|
96
|
-
<NavButton icon='edit-line' type='primary' text="Edit" onClick={() => false} />
|
97
|
-
<NavButton icon='expand-thin' type='highlight' text="Expand" onClick={() => false} />
|
98
|
-
</ButtonGroup>
|
99
|
-
</SubNav>
|
100
|
-
`}
|
101
|
-
</Markup.ReactMarkupCode>
|
102
|
-
</Markup.ReactMarkup>
|
103
|
-
|
104
|
-
<h3 className="docs-page__h3">Props</h3>
|
105
|
-
<PropsList>
|
106
|
-
<Prop
|
107
|
-
name="icon"
|
108
|
-
isRequired={false}
|
109
|
-
type="string"
|
110
|
-
default="/"
|
111
|
-
description="Icon class name without the icon- part."
|
112
|
-
/>
|
113
|
-
<Prop
|
114
|
-
name="text"
|
115
|
-
isRequired={false}
|
116
|
-
type="string"
|
117
|
-
default="/"
|
118
|
-
description="Defines the value for aria-label, for screen-readers accessibility."
|
119
|
-
/>
|
120
|
-
<Prop
|
121
|
-
name="iconSize"
|
122
|
-
isRequired={false}
|
123
|
-
type="small | big"
|
124
|
-
default="small"
|
125
|
-
description="Specifies a small or big button"
|
126
|
-
/>
|
127
|
-
<Prop
|
128
|
-
name="type"
|
129
|
-
isRequired={false}
|
130
|
-
type="default | primary | highlight | darker | dark"
|
131
|
-
default="default"
|
132
|
-
description="Default + colour variations."
|
133
|
-
/>
|
134
|
-
<Prop
|
135
|
-
name="state"
|
136
|
-
isRequired={false}
|
137
|
-
type="normal | active"
|
138
|
-
default="normal"
|
139
|
-
description="Defines the optional state of the button (e.g. active)"
|
140
|
-
/>
|
141
|
-
<Prop
|
142
|
-
name="theme"
|
143
|
-
isRequired={false}
|
144
|
-
type="light | dark"
|
145
|
-
default="light"
|
146
|
-
description="Styles nav button for diffrent background."
|
147
|
-
/>
|
148
|
-
<Prop
|
149
|
-
name="value"
|
150
|
-
isRequired={false}
|
151
|
-
type="button | submit | reset"
|
152
|
-
default="button"
|
153
|
-
description="Specifies a value of nav button"
|
154
|
-
/>
|
155
|
-
</PropsList>
|
156
|
-
</section>
|
157
|
-
);
|
158
|
-
}
|
159
|
-
}
|