superdesk-ui-framework 4.0.52 → 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/dist/examples.bundle.js +1 -1
- 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,15 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
|
3
|
-
interface IProps {
|
4
|
-
children?: React.ReactNode;
|
5
|
-
}
|
6
|
-
|
7
|
-
export class LayoutContainer extends React.PureComponent<IProps> {
|
8
|
-
render() {
|
9
|
-
return (
|
10
|
-
<div className="sd-content-wrapper__main-content-area sd-main-content-grid comfort">
|
11
|
-
{this.props.children}
|
12
|
-
</div>
|
13
|
-
);
|
14
|
-
}
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
children?: React.ReactNode;
|
4
|
-
open?: boolean;
|
5
|
-
}
|
6
|
-
|
7
|
-
export class LeftPanel extends React.PureComponent<IProps> {
|
8
|
-
render() {
|
9
|
-
return (
|
10
|
-
<div className={'sd-main-content-grid__filter' + (this.props.open ? ' open-filters' : '')}>
|
11
|
-
{this.props.children}
|
12
|
-
</div>
|
13
|
-
);
|
14
|
-
}
|
15
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import classNames from 'classnames';
|
3
|
-
|
4
|
-
interface IProps {
|
5
|
-
children?: React.ReactNode;
|
6
|
-
className?: string;
|
7
|
-
padding?: 'small' | 'medium' | 'large' | 'none';
|
8
|
-
}
|
9
|
-
|
10
|
-
export class MainPanel extends React.PureComponent<IProps> {
|
11
|
-
render() {
|
12
|
-
let classes = classNames(
|
13
|
-
'sd-main-content-grid__content',
|
14
|
-
{
|
15
|
-
'sd-padding--2': !this.props.padding || this.props.padding === 'small',
|
16
|
-
'sd-padding--3': this.props.padding === 'medium',
|
17
|
-
'sd-padding--4': this.props.padding === 'large',
|
18
|
-
'sd-padding--0': this.props.padding === 'none',
|
19
|
-
},
|
20
|
-
this.props.className,
|
21
|
-
);
|
22
|
-
return <div className={classes}>{this.props.children}</div>;
|
23
|
-
}
|
24
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
|
3
|
-
interface IProps {
|
4
|
-
children?: React.ReactNode;
|
5
|
-
}
|
6
|
-
|
7
|
-
export class OverlayPanel extends React.PureComponent<IProps> {
|
8
|
-
render() {
|
9
|
-
return (
|
10
|
-
<div className="sd-main-content-grid__overlay">
|
11
|
-
<div className="sd-overlay-panel sd-overlay-panel--dark-ui">
|
12
|
-
<div className="side-panel side-panel--shadow-right side-panel--dark-ui">{this.props.children}</div>
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
);
|
16
|
-
}
|
17
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import classNames from 'classnames';
|
3
|
-
|
4
|
-
interface IProps {
|
5
|
-
children?: React.ReactNode;
|
6
|
-
side?: 'left' | 'right';
|
7
|
-
background?: 'transparent' | 'light' | 'grey' | 'dark'; // defaults to light (white)
|
8
|
-
}
|
9
|
-
|
10
|
-
export class Panel extends React.PureComponent<IProps> {
|
11
|
-
render() {
|
12
|
-
let classes = classNames('side-panel', {
|
13
|
-
[`side-panel--${this.props.side}`]: this.props.side,
|
14
|
-
[`side-panel--${this.props.background}`]:
|
15
|
-
this.props.background !== 'light' && this.props.background !== undefined,
|
16
|
-
});
|
17
|
-
return (
|
18
|
-
<div className="side-panel__container">
|
19
|
-
<div className={classes}>{this.props.children}</div>
|
20
|
-
</div>
|
21
|
-
);
|
22
|
-
}
|
23
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import classNames from 'classnames';
|
3
|
-
|
4
|
-
interface IProps {
|
5
|
-
children?: React.ReactNode;
|
6
|
-
flex?: boolean;
|
7
|
-
padding?: '0' | '1-5' | '3'; // Padding overrides based on the $sd-base-increment of 8 pixels (e.g. 1-5 equals 12 pixels etc.). Defaults to 2 (16 pixels) without specifiying a value.
|
8
|
-
className?: string;
|
9
|
-
}
|
10
|
-
|
11
|
-
export class PanelContentBlock extends React.PureComponent<IProps> {
|
12
|
-
render() {
|
13
|
-
let classes = classNames('side-panel__content-block', this.props.className, {
|
14
|
-
'side-panel__content-block--flex': this.props.flex,
|
15
|
-
[`side-panel__content-block--padding-${this.props.padding}`]: this.props.padding,
|
16
|
-
});
|
17
|
-
return <div className={classes}>{this.props.children}</div>;
|
18
|
-
}
|
19
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
|
3
|
-
interface IProps {
|
4
|
-
children?: React.ReactNode;
|
5
|
-
}
|
6
|
-
|
7
|
-
export class PanelFooter extends React.PureComponent<IProps> {
|
8
|
-
render() {
|
9
|
-
return (
|
10
|
-
<div className="side-panel__footer side-panel__footer--button-box">
|
11
|
-
<div className="flex-grid flex-grid--boxed-small flex-grid--wrap-items flex-grid--small-2">
|
12
|
-
{this.props.children}
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
);
|
16
|
-
}
|
17
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import {Icon} from '../../../../../app-typescript/index';
|
3
|
-
|
4
|
-
interface IProps {
|
5
|
-
children?: React.ReactNode;
|
6
|
-
title?: string;
|
7
|
-
handleFilterParent(): void;
|
8
|
-
}
|
9
|
-
|
10
|
-
export class PanelHeader extends React.PureComponent<IProps> {
|
11
|
-
constructor(props: IProps) {
|
12
|
-
super(props);
|
13
|
-
|
14
|
-
this.handleFilter = this.handleFilter.bind(this);
|
15
|
-
}
|
16
|
-
|
17
|
-
handleFilter() {
|
18
|
-
this.props.handleFilterParent();
|
19
|
-
}
|
20
|
-
render() {
|
21
|
-
return (
|
22
|
-
<div className="side-panel__header side-panel__header--border-b">
|
23
|
-
<a className="icn-btn side-panel__close" onClick={this.handleFilter}>
|
24
|
-
<Icon name="close-small" />
|
25
|
-
</a>
|
26
|
-
<h3 className="side-panel__heading">{this.props.title}</h3>
|
27
|
-
{this.props.children}
|
28
|
-
</div>
|
29
|
-
);
|
30
|
-
}
|
31
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
|
3
|
-
interface IProps {
|
4
|
-
children?: React.ReactNode;
|
5
|
-
open?: boolean;
|
6
|
-
}
|
7
|
-
|
8
|
-
export class RightPanel extends React.PureComponent<IProps> {
|
9
|
-
render() {
|
10
|
-
return (
|
11
|
-
<div className={'sd-main-content-grid__preview' + (this.props.open ? ' open-preview' : '')}>
|
12
|
-
{this.props.children}
|
13
|
-
</div>
|
14
|
-
);
|
15
|
-
}
|
16
|
-
}
|
@@ -1,87 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import classNames from 'classnames';
|
3
|
-
import {Icon} from '../../../../../app-typescript/index';
|
4
|
-
|
5
|
-
interface IProps {
|
6
|
-
value?: string | number;
|
7
|
-
type?: 'expanded' | 'collapsed' | 'boxed';
|
8
|
-
placeholder: string;
|
9
|
-
focused?: boolean;
|
10
|
-
boxed?: boolean;
|
11
|
-
onSubmit?(): void;
|
12
|
-
}
|
13
|
-
|
14
|
-
interface IState {
|
15
|
-
inputValue: any;
|
16
|
-
type: string;
|
17
|
-
focused: boolean;
|
18
|
-
boxed?: boolean;
|
19
|
-
}
|
20
|
-
|
21
|
-
export class SearchBar extends React.PureComponent<IProps, IState> {
|
22
|
-
private inputRef: any;
|
23
|
-
constructor(props: IProps) {
|
24
|
-
super(props);
|
25
|
-
this.state = {
|
26
|
-
inputValue: this.props.value ? this.props.value : '',
|
27
|
-
focused: this.props.focused ? this.props.focused : false,
|
28
|
-
type: this.props.type ? this.props.type : 'expanded',
|
29
|
-
boxed: this.props.boxed ? this.props.boxed : false,
|
30
|
-
};
|
31
|
-
this.inputRef = React.createRef();
|
32
|
-
}
|
33
|
-
|
34
|
-
componentDidUpdate(prevProps: any) {
|
35
|
-
if (prevProps.value !== this.props.value) {
|
36
|
-
this.setState({inputValue: this.props.value});
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
componentDidMount = () => {
|
41
|
-
document.addEventListener('mousedown', (event) => {
|
42
|
-
if (this.inputRef.current && !this.inputRef.current.contains(event.target)) {
|
43
|
-
this.setState({focused: false});
|
44
|
-
}
|
45
|
-
});
|
46
|
-
};
|
47
|
-
|
48
|
-
render() {
|
49
|
-
const classes = classNames('sd-searchbar', {
|
50
|
-
[`sd-searchbar--${this.state.type}`]: this.props.type,
|
51
|
-
'sd-searchbar--expanded': this.state.type === 'expanded' || this.props.type === undefined,
|
52
|
-
'sd-searchbar--focused': this.state.focused,
|
53
|
-
'sd-searchbar--boxed': this.state.boxed,
|
54
|
-
});
|
55
|
-
|
56
|
-
return (
|
57
|
-
<div className={classes} ref={this.inputRef}>
|
58
|
-
<label className="sd-searchbar__icon"></label>
|
59
|
-
|
60
|
-
<input
|
61
|
-
id="search-input"
|
62
|
-
ref={(input: any) => input && this.props.focused && input.focus()}
|
63
|
-
className="sd-searchbar__input"
|
64
|
-
type="text"
|
65
|
-
placeholder={this.props.placeholder}
|
66
|
-
value={this.state.inputValue}
|
67
|
-
onChange={(e) => this.setState({inputValue: e.target.value})}
|
68
|
-
onFocus={() => this.setState({focused: true})}
|
69
|
-
/>
|
70
|
-
|
71
|
-
{this.state.inputValue && (
|
72
|
-
<button className="sd-searchbar__cancel" onClick={() => this.setState({inputValue: ''})}>
|
73
|
-
<Icon name="remove-sign" />
|
74
|
-
</button>
|
75
|
-
)}
|
76
|
-
|
77
|
-
<button
|
78
|
-
id="sd-searchbar__search-btn"
|
79
|
-
className="sd-searchbar__search-btn"
|
80
|
-
onSubmit={() => this.props.onSubmit}
|
81
|
-
>
|
82
|
-
<Icon name="chevron-right-thin" />
|
83
|
-
</button>
|
84
|
-
</div>
|
85
|
-
);
|
86
|
-
}
|
87
|
-
}
|
@@ -1,76 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import {Icon} from '../../../../../app-typescript/components/Icon';
|
3
|
-
|
4
|
-
interface IProps {
|
5
|
-
items: Array<IItem | 'divider'>;
|
6
|
-
}
|
7
|
-
|
8
|
-
interface IItem {
|
9
|
-
icon: string;
|
10
|
-
size: 'small' | 'big'; // defaults to 'small'
|
11
|
-
tooltip?: string;
|
12
|
-
active?: boolean;
|
13
|
-
}
|
14
|
-
|
15
|
-
interface IState {
|
16
|
-
index: number;
|
17
|
-
closeIndex: number;
|
18
|
-
}
|
19
|
-
|
20
|
-
export class SidebarMenu extends React.PureComponent<IProps, IState> {
|
21
|
-
constructor(props: IProps) {
|
22
|
-
super(props);
|
23
|
-
this.state = {
|
24
|
-
index: -1,
|
25
|
-
closeIndex: -1,
|
26
|
-
};
|
27
|
-
this.handleClick = this.handleClick.bind(this);
|
28
|
-
}
|
29
|
-
|
30
|
-
handleClick(indexNumber: number) {
|
31
|
-
this.setState({
|
32
|
-
index: indexNumber,
|
33
|
-
});
|
34
|
-
if (this.state.index === indexNumber) {
|
35
|
-
this.setState({
|
36
|
-
closeIndex: indexNumber,
|
37
|
-
});
|
38
|
-
}
|
39
|
-
}
|
40
|
-
|
41
|
-
render() {
|
42
|
-
return (
|
43
|
-
<div className="sd-sidebar-menu sd-content-wrapper__left-tabs">
|
44
|
-
<ul className="authoring-active">
|
45
|
-
{this.props.items.map((item, index) => {
|
46
|
-
if (item === 'divider') {
|
47
|
-
return <li key={index} className="sd-sidebar-menu__spacer"></li>;
|
48
|
-
} else {
|
49
|
-
return (
|
50
|
-
<li key={index} data-sd-tooltip={item['tooltip']} data-flow="right">
|
51
|
-
<a
|
52
|
-
className={
|
53
|
-
'sd-sidebar-menu__btn' +
|
54
|
-
(index === this.state.closeIndex ? ' sd-sidebar-menu__btn--closed ' : '') +
|
55
|
-
(item['active']
|
56
|
-
? ' sd-sidebar-menu__btn--active'
|
57
|
-
: index === this.state.index
|
58
|
-
? ' sd-sidebar-menu__btn--active'
|
59
|
-
: '')
|
60
|
-
}
|
61
|
-
onClick={() => this.handleClick(index)}
|
62
|
-
>
|
63
|
-
<span className="sd-sidebar-menu__main-icon ">
|
64
|
-
<Icon size={item['size']} name={item['icon']} />
|
65
|
-
</span>
|
66
|
-
<i className="sd-sidebar-menu__helper-icon big-icon--chevron-left"></i>
|
67
|
-
</a>
|
68
|
-
</li>
|
69
|
-
);
|
70
|
-
}
|
71
|
-
})}
|
72
|
-
</ul>
|
73
|
-
</div>
|
74
|
-
);
|
75
|
-
}
|
76
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import classNames from 'classnames';
|
3
|
-
|
4
|
-
interface IProps {
|
5
|
-
theme?: 'light' | 'dark';
|
6
|
-
children?: React.ReactNode;
|
7
|
-
}
|
8
|
-
|
9
|
-
export class SubNav extends React.PureComponent<IProps> {
|
10
|
-
render() {
|
11
|
-
let classes = classNames('subnav', {
|
12
|
-
'subnav-darker': this.props.theme,
|
13
|
-
});
|
14
|
-
|
15
|
-
return <div className={classes}>{this.props.children}</div>;
|
16
|
-
}
|
17
|
-
}
|
@@ -1,57 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import classNames from 'classnames';
|
3
|
-
interface IProps {
|
4
|
-
handleThemeParent(child): void;
|
5
|
-
}
|
6
|
-
|
7
|
-
interface IState {
|
8
|
-
checked: boolean;
|
9
|
-
}
|
10
|
-
|
11
|
-
export class ThemeDropdown extends React.PureComponent<IProps, IState> {
|
12
|
-
constructor(props) {
|
13
|
-
super(props);
|
14
|
-
this.state = {checked: false};
|
15
|
-
this.handleClick = this.handleClick.bind(this);
|
16
|
-
this.handleTheme = this.handleTheme.bind(this);
|
17
|
-
}
|
18
|
-
|
19
|
-
handleClick() {
|
20
|
-
this.setState((state) => ({
|
21
|
-
checked: !state.checked,
|
22
|
-
}));
|
23
|
-
}
|
24
|
-
|
25
|
-
handleTheme(newTheme) {
|
26
|
-
this.setState({
|
27
|
-
checked: !this.state.checked,
|
28
|
-
});
|
29
|
-
this.props.handleThemeParent(newTheme);
|
30
|
-
}
|
31
|
-
|
32
|
-
render() {
|
33
|
-
let classes = classNames('dropdown', {
|
34
|
-
open: this.state.checked,
|
35
|
-
});
|
36
|
-
|
37
|
-
let themes = ['light', 'dark'];
|
38
|
-
return (
|
39
|
-
<div className={classes}>
|
40
|
-
<button className="dropdown__toggle" aria-expanded="false" onClick={this.handleClick}>
|
41
|
-
Testing theme
|
42
|
-
</button>
|
43
|
-
<ul className="dropdown__menu">
|
44
|
-
<li>
|
45
|
-
<div className="dropdown__menu-label">Themes</div>
|
46
|
-
</li>
|
47
|
-
<li className="dropdown__menu-divider"></li>
|
48
|
-
{themes.map((theme, index) => (
|
49
|
-
<li key={index}>
|
50
|
-
<button onClick={() => this.handleTheme(theme)}>{theme}</button>
|
51
|
-
</li>
|
52
|
-
))}
|
53
|
-
</ul>
|
54
|
-
</div>
|
55
|
-
);
|
56
|
-
}
|
57
|
-
}
|
@@ -1,92 +0,0 @@
|
|
1
|
-
<header class="sd-top-menu">
|
2
|
-
<a href="#" class="sd-top-menu__collapse-nav"><i class="icon-collapse icon--white"></i></a>
|
3
|
-
<p class="sd-top-menu__header">Settings</p>
|
4
|
-
</header>
|
5
|
-
<main class="sd-page">
|
6
|
-
<nav class="sd-page__sidebar sd-left-nav">
|
7
|
-
<ul>
|
8
|
-
<li class="sd-left-nav__group-header sd-left-nav__group-header--first">Content Flow</li>
|
9
|
-
<li>
|
10
|
-
<a href="#" class="sd-left-nav__btn">General</a>
|
11
|
-
</li>
|
12
|
-
<li>
|
13
|
-
<a href="#" class="sd-left-nav__btn">Email settings</a>
|
14
|
-
</li>
|
15
|
-
<li>
|
16
|
-
<a href="#" class="sd-left-nav__btn">Spell checking</a>
|
17
|
-
</li>
|
18
|
-
<li class="sd-left-nav__group-header">Workflow</li>
|
19
|
-
<li>
|
20
|
-
<a href="#" class="sd-left-nav__btn">Desk</a>
|
21
|
-
</li>
|
22
|
-
<li>
|
23
|
-
<a href="#" class="sd-left-nav__btn">User Roles & Privileges</a>
|
24
|
-
</li>
|
25
|
-
<li class="sd-left-nav__group-header">Content Config</li>
|
26
|
-
<li>
|
27
|
-
<a href="#" class="sd-left-nav__btn">Image renditions</a>
|
28
|
-
</li>
|
29
|
-
<li>
|
30
|
-
<a href="#" class="sd-left-nav__btn">Controlled Vocabularies</a>
|
31
|
-
</li>
|
32
|
-
</ul>
|
33
|
-
</nav>
|
34
|
-
<section class="sd-page__main-content">
|
35
|
-
<div class="sd-page__content sd-page__content--centered-dashboard">
|
36
|
-
<div class="sd-grid-list sd-grid-list--auto-fit">
|
37
|
-
|
38
|
-
<div class="sd-card">
|
39
|
-
<div class="sd-card__header sd-card__header--with-thumb sd-card__header--gradient-1">
|
40
|
-
<div class="sd-card__thumbnail sd-card__thumbnail--size-s">
|
41
|
-
<h4 class="sd-card__thumbnail-heading">
|
42
|
-
Content flow
|
43
|
-
</h4>
|
44
|
-
</div>
|
45
|
-
</div>
|
46
|
-
<div class="sd-card__content sd-padding--3">
|
47
|
-
<div class="text-link__group">
|
48
|
-
<a href="/content-filters.html" class="text-link">Content filters</a>
|
49
|
-
<a href="/ingest.html" class="text-link">Ingest</a>
|
50
|
-
<a href="/internal-destinations.html" class="text-link">Internal destinations</a>
|
51
|
-
<a href="/products.html" class="text-link">Products</a>
|
52
|
-
<a href="/subscribers.html" class="text-link">Subscribers</a>
|
53
|
-
</div>
|
54
|
-
</div>
|
55
|
-
</div>
|
56
|
-
<div class="sd-card">
|
57
|
-
<div class="sd-card__header sd-card__header--with-thumb sd-card__header--gradient-1">
|
58
|
-
<div class="sd-card__thumbnail sd-card__thumbnail--size-s">
|
59
|
-
<h4 class="sd-card__thumbnail-heading">
|
60
|
-
Workflow
|
61
|
-
</h4>
|
62
|
-
</div>
|
63
|
-
</div>
|
64
|
-
<div class="sd-card__content sd-padding--3">
|
65
|
-
<div class="text-link__group">
|
66
|
-
<a href="/desks.html" class="text-link">Desks</a>
|
67
|
-
<a href="/user-roles.html" class="text-link">User Roles</a>
|
68
|
-
</div>
|
69
|
-
</div>
|
70
|
-
</div>
|
71
|
-
<div class="sd-card">
|
72
|
-
<div class="sd-card__header sd-card__header--with-thumb sd-card__header--gradient-1">
|
73
|
-
<div class="sd-card__thumbnail sd-card__thumbnail--size-s">
|
74
|
-
<h4 class="sd-card__thumbnail-heading">
|
75
|
-
Content config
|
76
|
-
</h4>
|
77
|
-
</div>
|
78
|
-
</div>
|
79
|
-
<div class="sd-card__content sd-padding--3">
|
80
|
-
<div class="text-link__group">
|
81
|
-
<a href="/content-profiles.html" class="text-link">Content Profiles</a>
|
82
|
-
<a href="/dictionarise.html" class="text-link">Dictionaries</a>
|
83
|
-
<a href="/highlights.html" class="text-link">Highlights</a>
|
84
|
-
<a href="/metadata.html" class="text-link">Metadata</a>
|
85
|
-
<a href="/search-providers.html" class="text-link">Search Providers</a>
|
86
|
-
</div>
|
87
|
-
</div>
|
88
|
-
</div>
|
89
|
-
</div>
|
90
|
-
</div>
|
91
|
-
</section>
|
92
|
-
</main>
|