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,952 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import {
|
3
|
-
ButtonGroup,
|
4
|
-
Button,
|
5
|
-
NavButton,
|
6
|
-
SubNav,
|
7
|
-
Dropdown,
|
8
|
-
Input,
|
9
|
-
IconButton,
|
10
|
-
LeftMenu,
|
11
|
-
BoxedList,
|
12
|
-
BoxedListItem,
|
13
|
-
BoxedListContentRow,
|
14
|
-
Heading,
|
15
|
-
Text,
|
16
|
-
Time,
|
17
|
-
Label,
|
18
|
-
CreateButton,
|
19
|
-
IconLabel,
|
20
|
-
RadioButtonGroup,
|
21
|
-
Select,
|
22
|
-
Option,
|
23
|
-
} from '../../../../app-typescript/index';
|
24
|
-
import * as Layout from '../../../../app-typescript/components/Layouts';
|
25
|
-
import * as Form from '../../../../app-typescript/components/Form';
|
26
|
-
import * as Nav from '../../../../app-typescript/components/Navigation';
|
27
|
-
import {BottomNav} from '../../../../app-typescript/components/Navigation/BottomNav';
|
28
|
-
import {clone} from 'lodash';
|
29
|
-
import {RundownEditor} from './RundownEditor';
|
30
|
-
import {ContentList} from '../../../../app-typescript/components/Lists/ContentList';
|
31
|
-
import {TableList} from '../../../../app-typescript/components/Lists/TableList';
|
32
|
-
import {SearchBar} from './components/Index';
|
33
|
-
|
34
|
-
interface IProps {
|
35
|
-
children?: React.ReactNode;
|
36
|
-
heading?: string;
|
37
|
-
active?: boolean;
|
38
|
-
onClick(): void;
|
39
|
-
ariaControls?: string;
|
40
|
-
menuId?: string;
|
41
|
-
}
|
42
|
-
|
43
|
-
interface IState {
|
44
|
-
theme: 'dark' | 'light' | string;
|
45
|
-
mainMenuOpen: boolean;
|
46
|
-
notificationsOpen: boolean;
|
47
|
-
botNavArray: any;
|
48
|
-
itemType: string;
|
49
|
-
dropDownState: string;
|
50
|
-
openPreview: boolean;
|
51
|
-
openFilter: boolean;
|
52
|
-
itemSelected1: boolean;
|
53
|
-
itemSelected2: boolean;
|
54
|
-
itemSelected3: boolean;
|
55
|
-
value1: boolean;
|
56
|
-
modalBasic: boolean;
|
57
|
-
modalSmall: boolean;
|
58
|
-
modalMedium: boolean;
|
59
|
-
modalNewTemplate: boolean;
|
60
|
-
modalNewShow: boolean;
|
61
|
-
modalNewShowSuccess: boolean;
|
62
|
-
modalManageTemplate: boolean;
|
63
|
-
modalManageShow: boolean;
|
64
|
-
openEditor: boolean;
|
65
|
-
openShowEditor: boolean;
|
66
|
-
array: any;
|
67
|
-
fullEditor: boolean;
|
68
|
-
openPanel: boolean;
|
69
|
-
rightPanel: boolean;
|
70
|
-
previousState: boolean;
|
71
|
-
}
|
72
|
-
|
73
|
-
export class CoreLayout extends React.Component<IProps, IState> {
|
74
|
-
constructor(props: IProps) {
|
75
|
-
super(props);
|
76
|
-
this.state = {
|
77
|
-
theme: 'light',
|
78
|
-
mainMenuOpen: false,
|
79
|
-
notificationsOpen: false,
|
80
|
-
botNavArray: [
|
81
|
-
{
|
82
|
-
icon: 'photo',
|
83
|
-
title: 'Sed posuere consectetur est at lobortis.',
|
84
|
-
onClick: () => false,
|
85
|
-
onRemove: (e: any) => this.handleDelete(e),
|
86
|
-
},
|
87
|
-
{
|
88
|
-
title: 'Nullam id dolor id nibh ultricies.',
|
89
|
-
onClick: () => false,
|
90
|
-
onRemove: (e: any) => this.handleDelete(e),
|
91
|
-
},
|
92
|
-
{
|
93
|
-
icon: 'video',
|
94
|
-
title: 'Nulla vitae elit libero, a pharetra augue.',
|
95
|
-
onClick: () => false,
|
96
|
-
onRemove: (e: any) => this.handleDelete(e),
|
97
|
-
},
|
98
|
-
{title: 'Donec sed odio dui.', onClick: () => false, onRemove: (e: any) => this.handleDelete(e)},
|
99
|
-
],
|
100
|
-
itemType: 'itemtype01',
|
101
|
-
dropDownState: '',
|
102
|
-
openPreview: false,
|
103
|
-
openFilter: false,
|
104
|
-
itemSelected1: false,
|
105
|
-
itemSelected2: false,
|
106
|
-
itemSelected3: false,
|
107
|
-
value1: true,
|
108
|
-
modalBasic: false,
|
109
|
-
modalSmall: false,
|
110
|
-
modalMedium: false,
|
111
|
-
modalNewTemplate: false,
|
112
|
-
modalNewShow: false,
|
113
|
-
modalNewShowSuccess: false,
|
114
|
-
modalManageTemplate: false,
|
115
|
-
modalManageShow: false,
|
116
|
-
openEditor: false,
|
117
|
-
openShowEditor: false,
|
118
|
-
fullEditor: false,
|
119
|
-
openPanel: false,
|
120
|
-
rightPanel: false,
|
121
|
-
previousState: false,
|
122
|
-
array: [
|
123
|
-
{
|
124
|
-
start: (
|
125
|
-
<>
|
126
|
-
<Label style="translucent" text="aacc" />
|
127
|
-
<Label style="translucent" type="primary" text="prlg" />
|
128
|
-
</>
|
129
|
-
),
|
130
|
-
center: <span>Duis mollis est non commodo</span>,
|
131
|
-
onClick: () => false,
|
132
|
-
},
|
133
|
-
{
|
134
|
-
start: (
|
135
|
-
<>
|
136
|
-
<Label style="translucent" type="warning" text="pokr" />
|
137
|
-
<Label style="translucent" text="slika" />
|
138
|
-
</>
|
139
|
-
),
|
140
|
-
center: <span>Nullam id dolor id nibh ultricies</span>,
|
141
|
-
onClick: () => false,
|
142
|
-
},
|
143
|
-
{
|
144
|
-
start: (
|
145
|
-
<>
|
146
|
-
<Label style="translucent" text="aacc" />
|
147
|
-
<Label style="translucent" type="primary" text="prlg" />
|
148
|
-
</>
|
149
|
-
),
|
150
|
-
center: <span>Duis mollis est non commodo</span>,
|
151
|
-
onClick: () => false,
|
152
|
-
},
|
153
|
-
{
|
154
|
-
start: (
|
155
|
-
<>
|
156
|
-
<Label style="translucent" type="warning" text="pokr" />
|
157
|
-
<Label style="translucent" text="slika" />
|
158
|
-
</>
|
159
|
-
),
|
160
|
-
center: <span>Cras mattis consectetur purus</span>,
|
161
|
-
onClick: () => false,
|
162
|
-
},
|
163
|
-
{
|
164
|
-
start: (
|
165
|
-
<>
|
166
|
-
<Label style="translucent" text="aacc" />
|
167
|
-
<Label style="translucent" type="primary" text="prlg" />
|
168
|
-
</>
|
169
|
-
),
|
170
|
-
center: <span>Duis mollis est non commodo</span>,
|
171
|
-
onClick: () => false,
|
172
|
-
},
|
173
|
-
],
|
174
|
-
};
|
175
|
-
|
176
|
-
this.handleMainMenu = this.handleMainMenu.bind(this);
|
177
|
-
this.handleNotifications = this.handleNotifications.bind(this);
|
178
|
-
this.handleDelete = this.handleDelete.bind(this);
|
179
|
-
this.handleFilter = this.handleFilter.bind(this);
|
180
|
-
this.handlePreview = this.handlePreview.bind(this);
|
181
|
-
this.handleTheme = this.handleTheme.bind(this);
|
182
|
-
this.handleShow = this.handleShow.bind(this);
|
183
|
-
}
|
184
|
-
|
185
|
-
handleMainMenu() {
|
186
|
-
this.setState((state) => ({
|
187
|
-
mainMenuOpen: !state.mainMenuOpen,
|
188
|
-
}));
|
189
|
-
}
|
190
|
-
|
191
|
-
handleNotifications() {
|
192
|
-
this.setState((state) => ({
|
193
|
-
notificationsOpen: !state.notificationsOpen,
|
194
|
-
}));
|
195
|
-
}
|
196
|
-
|
197
|
-
handleDelete(indexNumber: number) {
|
198
|
-
const newItems = clone(this.state.botNavArray);
|
199
|
-
newItems.splice(indexNumber, 1);
|
200
|
-
|
201
|
-
this.setState({
|
202
|
-
botNavArray: newItems,
|
203
|
-
});
|
204
|
-
}
|
205
|
-
|
206
|
-
handleFilter() {
|
207
|
-
this.setState((state) => ({
|
208
|
-
openFilter: !state.openFilter,
|
209
|
-
}));
|
210
|
-
}
|
211
|
-
|
212
|
-
handlePreview() {
|
213
|
-
this.setState((state) => ({
|
214
|
-
openPreview: !state.openPreview,
|
215
|
-
}));
|
216
|
-
}
|
217
|
-
|
218
|
-
handleShow() {
|
219
|
-
this.setState((state) => ({
|
220
|
-
openShowEditor: !state.openShowEditor,
|
221
|
-
}));
|
222
|
-
}
|
223
|
-
|
224
|
-
handleTheme(newTheme: string) {
|
225
|
-
this.setState({
|
226
|
-
theme: newTheme,
|
227
|
-
});
|
228
|
-
}
|
229
|
-
|
230
|
-
changeStatus(item: any, status: string) {
|
231
|
-
if (item.status.includes(status)) {
|
232
|
-
item.status.splice(item.status.indexOf(status), 1);
|
233
|
-
} else {
|
234
|
-
item.status.push(status);
|
235
|
-
}
|
236
|
-
}
|
237
|
-
|
238
|
-
render() {
|
239
|
-
return (
|
240
|
-
<Layout.CoreLayout
|
241
|
-
heading="Core Layout"
|
242
|
-
menuOpen={this.state.mainMenuOpen}
|
243
|
-
onClick={this.handleMainMenu}
|
244
|
-
active={this.state.mainMenuOpen}
|
245
|
-
ariaControls="main-menu"
|
246
|
-
menuId="main-menu"
|
247
|
-
editorFullWidth={this.state.fullEditor}
|
248
|
-
openPanel={this.state.rightPanel}
|
249
|
-
slideInMenu={
|
250
|
-
<Layout.MainMenu
|
251
|
-
headerTitle="Main Menu"
|
252
|
-
poweredBy="Powered by Superdesk technology"
|
253
|
-
header={null}
|
254
|
-
footerContent={true}
|
255
|
-
footer={<p>Menu footer testing</p>}
|
256
|
-
>
|
257
|
-
<LeftMenu
|
258
|
-
style="blanc"
|
259
|
-
reverseItemBorder={true}
|
260
|
-
size="large"
|
261
|
-
ariaLabel={'Left navigation'}
|
262
|
-
activeItemId="1"
|
263
|
-
groups={[
|
264
|
-
{
|
265
|
-
label: 'MAIN SECTIONS',
|
266
|
-
items: [
|
267
|
-
{id: '1', label: 'Section 1', ref: 'section1'},
|
268
|
-
{id: '2', label: 'Section 2', ref: 'section2'},
|
269
|
-
{id: '3', label: 'Section 3', ref: 'section3'},
|
270
|
-
],
|
271
|
-
},
|
272
|
-
{
|
273
|
-
label: 'OTHER SECTIONS',
|
274
|
-
items: [
|
275
|
-
{id: '4', label: 'Section 4', ref: 'section4'},
|
276
|
-
{id: '5', label: 'Section 5', ref: 'section5'},
|
277
|
-
],
|
278
|
-
},
|
279
|
-
{
|
280
|
-
label: 'OTHER SECTIONS',
|
281
|
-
items: [
|
282
|
-
{id: '6', label: 'Section 6', ref: 'section6'},
|
283
|
-
{id: '7', label: 'Section 7', ref: 'section7'},
|
284
|
-
],
|
285
|
-
},
|
286
|
-
]}
|
287
|
-
onSelect={() => false}
|
288
|
-
/>
|
289
|
-
</Layout.MainMenu>
|
290
|
-
}
|
291
|
-
topMenu={
|
292
|
-
<NavButton
|
293
|
-
badgeValue="6"
|
294
|
-
icon="bell"
|
295
|
-
text="Show notifications"
|
296
|
-
onClick={this.handleNotifications}
|
297
|
-
/>
|
298
|
-
}
|
299
|
-
footer={
|
300
|
-
<>
|
301
|
-
<Layout.BottomBarAction onClick={() => false} />
|
302
|
-
<BottomNav items={this.state.botNavArray} />
|
303
|
-
</>
|
304
|
-
}
|
305
|
-
overlay={
|
306
|
-
<Layout.NotificationPanel
|
307
|
-
header={null}
|
308
|
-
headerTitle="Notifications"
|
309
|
-
open={this.state.notificationsOpen}
|
310
|
-
onClick={this.handleNotifications}
|
311
|
-
theme="dark"
|
312
|
-
>
|
313
|
-
<BoxedList>
|
314
|
-
<BoxedListItem unread={true}>
|
315
|
-
<Time datetime="29.06.2022">29.06.2022</Time>
|
316
|
-
<BoxedListContentRow>
|
317
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cum sociis natoque
|
318
|
-
penatibus et magnis dis parturient montes, nascetur ridiculus mus.
|
319
|
-
</BoxedListContentRow>
|
320
|
-
</BoxedListItem>
|
321
|
-
<BoxedListItem>
|
322
|
-
<Time datetime="29.06.2022">29.06.2022</Time>
|
323
|
-
<BoxedListContentRow>
|
324
|
-
Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Vestibulum id
|
325
|
-
ligula porta felis euismod semper.
|
326
|
-
</BoxedListContentRow>
|
327
|
-
</BoxedListItem>
|
328
|
-
<BoxedListItem>
|
329
|
-
<Time datetime="29.06.2022">29.06.2022</Time>
|
330
|
-
<BoxedListContentRow>
|
331
|
-
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus
|
332
|
-
mus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.
|
333
|
-
</BoxedListContentRow>
|
334
|
-
</BoxedListItem>
|
335
|
-
</BoxedList>
|
336
|
-
</Layout.NotificationPanel>
|
337
|
-
}
|
338
|
-
>
|
339
|
-
<Nav.SideBarMenu
|
340
|
-
items={[
|
341
|
-
{icon: 'dashboard', size: 'big', hover: this.state.openEditor && !this.state.rightPanel},
|
342
|
-
{
|
343
|
-
icon: 'view',
|
344
|
-
size: 'big',
|
345
|
-
hover: this.state.openEditor && !this.state.rightPanel,
|
346
|
-
onCLick: () => this.setState({fullEditor: !this.state.fullEditor}),
|
347
|
-
},
|
348
|
-
{
|
349
|
-
icon: 'marked-star',
|
350
|
-
size: 'big',
|
351
|
-
hover: this.state.openEditor && !this.state.rightPanel,
|
352
|
-
onCLick: () => this.setState({fullEditor: !this.state.fullEditor}),
|
353
|
-
},
|
354
|
-
{
|
355
|
-
icon: 'spike',
|
356
|
-
size: 'big',
|
357
|
-
hover: this.state.openEditor && !this.state.rightPanel,
|
358
|
-
onCLick: () => this.setState({fullEditor: !this.state.fullEditor}),
|
359
|
-
},
|
360
|
-
{
|
361
|
-
icon: 'personal',
|
362
|
-
size: 'big',
|
363
|
-
hover: this.state.openEditor && !this.state.rightPanel,
|
364
|
-
onCLick: () => this.setState({fullEditor: !this.state.fullEditor}),
|
365
|
-
},
|
366
|
-
{
|
367
|
-
icon: 'global-search',
|
368
|
-
size: 'big',
|
369
|
-
hover: this.state.openEditor && !this.state.rightPanel,
|
370
|
-
onCLick: () => this.setState({fullEditor: !this.state.fullEditor}),
|
371
|
-
},
|
372
|
-
{
|
373
|
-
icon: 'picture',
|
374
|
-
size: 'big',
|
375
|
-
hover: this.state.openEditor && !this.state.rightPanel,
|
376
|
-
onCLick: () => this.setState({fullEditor: !this.state.fullEditor}),
|
377
|
-
},
|
378
|
-
{
|
379
|
-
icon: 'rundown',
|
380
|
-
size: 'big',
|
381
|
-
hover: this.state.openEditor && !this.state.rightPanel,
|
382
|
-
onCLick: () => this.setState({fullEditor: !this.state.fullEditor}),
|
383
|
-
},
|
384
|
-
]}
|
385
|
-
/>
|
386
|
-
|
387
|
-
{!this.state.fullEditor && !this.state.rightPanel && (
|
388
|
-
<Layout.LayoutContainer>
|
389
|
-
<Layout.HeaderPanel>
|
390
|
-
<SubNav>
|
391
|
-
<SearchBar placeholder="Search media"></SearchBar>
|
392
|
-
<ButtonGroup align="end" spaces="no-space">
|
393
|
-
<Dropdown
|
394
|
-
items={[
|
395
|
-
{
|
396
|
-
type: 'group',
|
397
|
-
label: 'Settings',
|
398
|
-
items: [
|
399
|
-
'divider',
|
400
|
-
{
|
401
|
-
icon: 'switches',
|
402
|
-
label: 'Manage Shows',
|
403
|
-
onSelect: () => this.setState({modalManageShow: true}),
|
404
|
-
},
|
405
|
-
{
|
406
|
-
icon: 'switches',
|
407
|
-
label: 'Manage Templates',
|
408
|
-
onSelect: () => this.setState({modalManageTemplate: true}),
|
409
|
-
},
|
410
|
-
],
|
411
|
-
},
|
412
|
-
]}
|
413
|
-
>
|
414
|
-
<NavButton icon="settings" onClick={() => false} />
|
415
|
-
</Dropdown>
|
416
|
-
<Dropdown
|
417
|
-
header={[
|
418
|
-
{
|
419
|
-
type: 'group',
|
420
|
-
label: 'Create',
|
421
|
-
items: [],
|
422
|
-
},
|
423
|
-
{
|
424
|
-
type: 'submenu',
|
425
|
-
label: 'Rundown',
|
426
|
-
icon: 'plus-sign',
|
427
|
-
items: [{icon: 'plus-sign', label: 'Rundown', onSelect: () => 1}],
|
428
|
-
},
|
429
|
-
]}
|
430
|
-
items={[
|
431
|
-
{
|
432
|
-
type: 'group',
|
433
|
-
label: 'Recent Templates',
|
434
|
-
items: [
|
435
|
-
{
|
436
|
-
icon: 'plus-sign',
|
437
|
-
label: 'Marker Daily',
|
438
|
-
onSelect: () => this.setState({dropDownState: ' '}),
|
439
|
-
},
|
440
|
-
{
|
441
|
-
icon: 'plus-sign',
|
442
|
-
label: 'Marker Weekend',
|
443
|
-
onSelect: () => this.setState({dropDownState: ' '}),
|
444
|
-
},
|
445
|
-
{
|
446
|
-
icon: 'plus-sign',
|
447
|
-
label: 'Tabu Daily',
|
448
|
-
onSelect: () => this.setState({dropDownState: ' '}),
|
449
|
-
},
|
450
|
-
{
|
451
|
-
icon: 'plus-sign',
|
452
|
-
label: 'Tabu Specijal',
|
453
|
-
onSelect: () => this.setState({dropDownState: ' '}),
|
454
|
-
},
|
455
|
-
],
|
456
|
-
},
|
457
|
-
]}
|
458
|
-
footer={[
|
459
|
-
{
|
460
|
-
type: 'group',
|
461
|
-
items: [
|
462
|
-
{
|
463
|
-
icon: 'list-plus',
|
464
|
-
label: 'Create new Template',
|
465
|
-
onSelect: () => this.setState({modalNewTemplate: true}),
|
466
|
-
},
|
467
|
-
{
|
468
|
-
icon: 'rundown',
|
469
|
-
label: 'Create new Show',
|
470
|
-
onSelect: () => this.setState({modalNewShow: true}),
|
471
|
-
},
|
472
|
-
],
|
473
|
-
},
|
474
|
-
]}
|
475
|
-
>
|
476
|
-
<CreateButton ariaValue="Create" onClick={() => false} />
|
477
|
-
</Dropdown>
|
478
|
-
</ButtonGroup>
|
479
|
-
</SubNav>
|
480
|
-
<SubNav>
|
481
|
-
<ButtonGroup align="start">
|
482
|
-
<NavButton icon="filter-large" onClick={this.handleFilter} />
|
483
|
-
</ButtonGroup>
|
484
|
-
<ButtonGroup align="end">
|
485
|
-
<ButtonGroup align="sub" padded={true}>
|
486
|
-
<Button
|
487
|
-
size="normal"
|
488
|
-
icon="chevron-left-thin"
|
489
|
-
text="Previous"
|
490
|
-
shape="round"
|
491
|
-
iconOnly={true}
|
492
|
-
disabled
|
493
|
-
onClick={() => false}
|
494
|
-
/>
|
495
|
-
<Button text="Today" style="hollow" onClick={() => false} />
|
496
|
-
<Button
|
497
|
-
size="normal"
|
498
|
-
icon="chevron-right-thin"
|
499
|
-
text="Next"
|
500
|
-
shape="round"
|
501
|
-
iconOnly={true}
|
502
|
-
onClick={() => false}
|
503
|
-
/>
|
504
|
-
</ButtonGroup>
|
505
|
-
<RadioButtonGroup
|
506
|
-
options={[
|
507
|
-
{value: 'test10', label: 'D'},
|
508
|
-
{value: 'test11', label: 'W'},
|
509
|
-
{value: 'test12', label: 'M'},
|
510
|
-
]}
|
511
|
-
group={{padded: false}}
|
512
|
-
value={this.state.itemType}
|
513
|
-
onChange={(value) => this.setState({itemType: value})}
|
514
|
-
/>
|
515
|
-
<ButtonGroup align="sub" spaces="no-space">
|
516
|
-
<Dropdown
|
517
|
-
items={[
|
518
|
-
{
|
519
|
-
type: 'group',
|
520
|
-
label: 'Chose a theme',
|
521
|
-
items: [
|
522
|
-
'divider',
|
523
|
-
{
|
524
|
-
label: 'Light',
|
525
|
-
icon: 'adjust',
|
526
|
-
onSelect: () => this.handleTheme('light-ui'),
|
527
|
-
},
|
528
|
-
{
|
529
|
-
label: 'Dark',
|
530
|
-
icon: 'adjust',
|
531
|
-
onSelect: () => this.handleTheme('dark-ui'),
|
532
|
-
},
|
533
|
-
{
|
534
|
-
label: 'Accessible Light',
|
535
|
-
icon: 'adjust',
|
536
|
-
onSelect: () => this.handleTheme('accessible-light-ui'),
|
537
|
-
},
|
538
|
-
],
|
539
|
-
},
|
540
|
-
]}
|
541
|
-
>
|
542
|
-
<NavButton type="default" icon="adjust" onClick={() => false} />
|
543
|
-
</Dropdown>
|
544
|
-
<Dropdown
|
545
|
-
items={[
|
546
|
-
{
|
547
|
-
type: 'group',
|
548
|
-
label: 'Actions',
|
549
|
-
items: [
|
550
|
-
'divider',
|
551
|
-
{
|
552
|
-
label: 'Action one',
|
553
|
-
onSelect: () => this.setState({dropDownState: ' '}),
|
554
|
-
},
|
555
|
-
{
|
556
|
-
label: 'Action two',
|
557
|
-
onSelect: () => this.setState({dropDownState: ' '}),
|
558
|
-
},
|
559
|
-
{
|
560
|
-
label: 'Action three',
|
561
|
-
onSelect: () => this.setState({dropDownState: ' '}),
|
562
|
-
},
|
563
|
-
],
|
564
|
-
},
|
565
|
-
]}
|
566
|
-
>
|
567
|
-
<NavButton icon="dots-vertical" onClick={() => false} />
|
568
|
-
</Dropdown>
|
569
|
-
</ButtonGroup>
|
570
|
-
</ButtonGroup>
|
571
|
-
</SubNav>
|
572
|
-
</Layout.HeaderPanel>
|
573
|
-
{/* TOOLBAR HEADER */}
|
574
|
-
|
575
|
-
<Layout.LeftPanel open={this.state.openFilter}>
|
576
|
-
<Layout.Panel side="left" background="grey">
|
577
|
-
<Layout.PanelHeader
|
578
|
-
title="Advanced filters"
|
579
|
-
onClose={() => this.setState({openFilter: false})}
|
580
|
-
/>
|
581
|
-
<Layout.PanelContent>
|
582
|
-
<Layout.PanelContentBlock>
|
583
|
-
<Form.FormGroup>
|
584
|
-
<Form.FormItem>
|
585
|
-
<Select
|
586
|
-
label="Shows"
|
587
|
-
labelHidden={true}
|
588
|
-
value="This is some value"
|
589
|
-
info="This is some hint message"
|
590
|
-
required={true}
|
591
|
-
disabled={false}
|
592
|
-
onChange={() => false}
|
593
|
-
>
|
594
|
-
<Option>Marker</Option>
|
595
|
-
<Option>Tabu</Option>
|
596
|
-
</Select>
|
597
|
-
</Form.FormItem>
|
598
|
-
</Form.FormGroup>
|
599
|
-
<div className="form__group">
|
600
|
-
<div className="form__item">
|
601
|
-
<Input
|
602
|
-
label="Title"
|
603
|
-
type="text"
|
604
|
-
value="Title"
|
605
|
-
inlineLabel={false}
|
606
|
-
disabled={false}
|
607
|
-
onChange={() => false}
|
608
|
-
/>
|
609
|
-
</div>
|
610
|
-
</div>
|
611
|
-
<div className="form__group">
|
612
|
-
<div className="form__item">
|
613
|
-
<Select
|
614
|
-
label="Source"
|
615
|
-
value="Select ingest source..."
|
616
|
-
inlineLabel={false}
|
617
|
-
disabled={false}
|
618
|
-
onChange={() => false}
|
619
|
-
>
|
620
|
-
<Option value="option-1">Select ingest source...</Option>
|
621
|
-
<Option value="option-2">Associated Press</Option>
|
622
|
-
<Option value="option-3">Reuters</Option>
|
623
|
-
</Select>
|
624
|
-
</div>
|
625
|
-
</div>
|
626
|
-
|
627
|
-
<div className="form__group">
|
628
|
-
<div className="form__item">
|
629
|
-
<Input
|
630
|
-
label="Keyword"
|
631
|
-
type="text"
|
632
|
-
value="Keyword"
|
633
|
-
inlineLabel={false}
|
634
|
-
disabled={false}
|
635
|
-
onChange={() => false}
|
636
|
-
/>
|
637
|
-
</div>
|
638
|
-
</div>
|
639
|
-
|
640
|
-
<div className="form__group">
|
641
|
-
<div className="form__item">
|
642
|
-
<Select
|
643
|
-
label="Usage right"
|
644
|
-
value="--- Not selected ---"
|
645
|
-
info="Dolor in hendrerit."
|
646
|
-
inlineLabel={false}
|
647
|
-
disabled={false}
|
648
|
-
onChange={() => false}
|
649
|
-
>
|
650
|
-
<Option value="">--- Not selected ---</Option>
|
651
|
-
<Option value="single">Single usage</Option>
|
652
|
-
<Option value="time">Time restricted</Option>
|
653
|
-
<Option value="bananas">Indefinite usage</Option>
|
654
|
-
<Option value="indefinite">Pears</Option>
|
655
|
-
</Select>
|
656
|
-
</div>
|
657
|
-
</div>
|
658
|
-
</Layout.PanelContentBlock>
|
659
|
-
</Layout.PanelContent>
|
660
|
-
<Layout.PanelFooter>
|
661
|
-
<Button text="Clear" style="hollow" onClick={() => false} />
|
662
|
-
<Button text="Submit" type="primary" onClick={() => false} />
|
663
|
-
</Layout.PanelFooter>
|
664
|
-
</Layout.Panel>
|
665
|
-
</Layout.LeftPanel>
|
666
|
-
{/* FILTER PANEL*/}
|
667
|
-
<Layout.MainPanel>
|
668
|
-
<ContentList
|
669
|
-
items={[
|
670
|
-
{
|
671
|
-
itemColum: [
|
672
|
-
{
|
673
|
-
itemRow: [
|
674
|
-
{
|
675
|
-
content: (
|
676
|
-
<>
|
677
|
-
<i className="icon-rundown"></i>
|
678
|
-
</>
|
679
|
-
),
|
680
|
-
},
|
681
|
-
],
|
682
|
-
border: true,
|
683
|
-
},
|
684
|
-
{
|
685
|
-
itemRow: [
|
686
|
-
{
|
687
|
-
content: (
|
688
|
-
<>
|
689
|
-
<span className="sd-list-item__slugline">
|
690
|
-
19:00 – 19:45
|
691
|
-
</span>
|
692
|
-
<IconLabel
|
693
|
-
style="translucent"
|
694
|
-
innerLabel="Duration:"
|
695
|
-
text="00:38"
|
696
|
-
size="small"
|
697
|
-
type="warning"
|
698
|
-
/>
|
699
|
-
<IconLabel
|
700
|
-
style="translucent"
|
701
|
-
innerLabel="Planned Duration:"
|
702
|
-
text="00:45"
|
703
|
-
size="small"
|
704
|
-
/>
|
705
|
-
<time
|
706
|
-
className="sd-margin-s--auto"
|
707
|
-
title="June 01, 2022 11:08 AM"
|
708
|
-
>
|
709
|
-
11:08, 01.06.2022
|
710
|
-
</time>
|
711
|
-
</>
|
712
|
-
),
|
713
|
-
},
|
714
|
-
{
|
715
|
-
content: (
|
716
|
-
<>
|
717
|
-
<Label text="Marker" color="blue--800" />
|
718
|
-
<span className="sd-list-item__compound-text">
|
719
|
-
<span className="sd-list-item__text-label">
|
720
|
-
Template:
|
721
|
-
</span>
|
722
|
-
<span>Marker Daily</span>
|
723
|
-
</span>
|
724
|
-
<span className="sd-overflow-ellipsis sd-list-item--element-grow sd-list-item__headline">
|
725
|
-
Marker // 01.06.2022
|
726
|
-
</span>
|
727
|
-
<Label
|
728
|
-
style="translucent"
|
729
|
-
text="In Progress"
|
730
|
-
type="warning"
|
731
|
-
/>
|
732
|
-
</>
|
733
|
-
),
|
734
|
-
},
|
735
|
-
],
|
736
|
-
fullwidth: true,
|
737
|
-
},
|
738
|
-
],
|
739
|
-
action: (
|
740
|
-
<IconButton
|
741
|
-
icon="dots-vertical"
|
742
|
-
ariaValue="More actions"
|
743
|
-
onClick={() => false}
|
744
|
-
/>
|
745
|
-
),
|
746
|
-
locked: true,
|
747
|
-
onClick: () => this.setState({openEditor: !this.state.openEditor}),
|
748
|
-
},
|
749
|
-
{
|
750
|
-
itemColum: [
|
751
|
-
{
|
752
|
-
itemRow: [
|
753
|
-
{
|
754
|
-
content: (
|
755
|
-
<>
|
756
|
-
<i className="icon-rundown"></i>
|
757
|
-
</>
|
758
|
-
),
|
759
|
-
},
|
760
|
-
],
|
761
|
-
border: true,
|
762
|
-
},
|
763
|
-
{
|
764
|
-
itemRow: [
|
765
|
-
{
|
766
|
-
content: (
|
767
|
-
<>
|
768
|
-
<span className="sd-list-item__slugline">
|
769
|
-
19:00 – 19:45
|
770
|
-
</span>
|
771
|
-
<IconLabel
|
772
|
-
style="translucent"
|
773
|
-
innerLabel="Duration:"
|
774
|
-
text="00:38"
|
775
|
-
size="small"
|
776
|
-
type="warning"
|
777
|
-
/>
|
778
|
-
<IconLabel
|
779
|
-
style="translucent"
|
780
|
-
innerLabel="Planned Duration:"
|
781
|
-
text="00:45"
|
782
|
-
size="small"
|
783
|
-
/>
|
784
|
-
<time
|
785
|
-
className="sd-margin-s--auto"
|
786
|
-
title="June 01, 2022 11:08 AM"
|
787
|
-
>
|
788
|
-
11:08, 01.06.2022
|
789
|
-
</time>
|
790
|
-
</>
|
791
|
-
),
|
792
|
-
},
|
793
|
-
{
|
794
|
-
content: (
|
795
|
-
<>
|
796
|
-
<Label text="Tabu" color="blue--800" />
|
797
|
-
<span className="sd-list-item__compound-text">
|
798
|
-
<span className="sd-list-item__text-label">
|
799
|
-
Template:
|
800
|
-
</span>
|
801
|
-
<span>Tabu Daily</span>
|
802
|
-
</span>
|
803
|
-
<span className="sd-overflow-ellipsis sd-list-item--element-grow sd-list-item__headline">
|
804
|
-
Marker // 01.06.2022
|
805
|
-
</span>
|
806
|
-
<Label style="translucent" text="Draft" />
|
807
|
-
</>
|
808
|
-
),
|
809
|
-
},
|
810
|
-
],
|
811
|
-
fullwidth: true,
|
812
|
-
},
|
813
|
-
],
|
814
|
-
action: (
|
815
|
-
<IconButton
|
816
|
-
icon="dots-vertical"
|
817
|
-
ariaValue="More actions"
|
818
|
-
onClick={() => false}
|
819
|
-
/>
|
820
|
-
),
|
821
|
-
onClick: () => this.setState({openPreview: !this.state.openPreview}),
|
822
|
-
},
|
823
|
-
]}
|
824
|
-
/>
|
825
|
-
</Layout.MainPanel>
|
826
|
-
|
827
|
-
{/* MAIN CONTENT (Monitoring) */}
|
828
|
-
<Layout.RightPanel open={this.state.openPreview}>
|
829
|
-
<Layout.Panel side="right">
|
830
|
-
<Layout.PanelHeader
|
831
|
-
title="Item preview"
|
832
|
-
onClose={() => this.setState({openPreview: false})}
|
833
|
-
/>
|
834
|
-
<Layout.PanelContent>
|
835
|
-
<Layout.PanelContentBlock flex={true}>
|
836
|
-
<Layout.Container direction="column" gap="x-small">
|
837
|
-
<Layout.Container direction="row" gap="small">
|
838
|
-
<Text color="light">Created 09.06.2022 by </Text>
|
839
|
-
<Text weight="medium">Mika Karapet</Text>
|
840
|
-
</Layout.Container>
|
841
|
-
<Layout.Container direction="row" gap="small">
|
842
|
-
<Text color="light">Updated 3 hours ago by </Text>
|
843
|
-
<Text weight="medium">John Doe</Text>
|
844
|
-
</Layout.Container>
|
845
|
-
</Layout.Container>
|
846
|
-
<Layout.Container className="sd-margin-s--auto sd-flex--items-center">
|
847
|
-
{/* <Dropdown
|
848
|
-
align = 'right'
|
849
|
-
items={[
|
850
|
-
{
|
851
|
-
type: 'group', label: 'Actions', items: [
|
852
|
-
'divider',
|
853
|
-
{ label: 'Edit', icon: 'pencil', onSelect: () => this.setState({ dropDownState: 'Edit ' }) },
|
854
|
-
{ label: 'Download', icon: 'download', onSelect: () => this.setState({ dropDownState: 'Download' }) },
|
855
|
-
{ label: 'Delete', icon: 'trash', onSelect: () => this.setState({ dropDownState: 'Delete' }) },
|
856
|
-
]
|
857
|
-
}]}>
|
858
|
-
<IconButton ariaValue='dropdown-more-options' icon='dots-vertical' onClick={() => false} />
|
859
|
-
</Dropdown> */}
|
860
|
-
</Layout.Container>
|
861
|
-
</Layout.PanelContentBlock>
|
862
|
-
|
863
|
-
<Layout.PanelContentBlock>
|
864
|
-
<Layout.Container direction="row" gap="large" className="sd-margin-b--3">
|
865
|
-
<Label size="large" text="Tabu" color="blue--800" />
|
866
|
-
<Layout.Container direction="row" gap="small">
|
867
|
-
<Text color="light" size="small" style="italic">
|
868
|
-
Template:
|
869
|
-
</Text>
|
870
|
-
<Text size="small" style="italic" weight="medium">
|
871
|
-
Tabu daily
|
872
|
-
</Text>
|
873
|
-
</Layout.Container>
|
874
|
-
</Layout.Container>
|
875
|
-
|
876
|
-
<Layout.Container direction="column" className="sd-margin-y--2">
|
877
|
-
{/* <FormLabel text='Title' /> */}
|
878
|
-
<Heading type="h2">Tabu // 01.06.2022</Heading>
|
879
|
-
</Layout.Container>
|
880
|
-
<ButtonGroup>
|
881
|
-
<IconLabel
|
882
|
-
style="translucent"
|
883
|
-
innerLabel="Airtime:"
|
884
|
-
text="19:45 - 20:45"
|
885
|
-
type="primary"
|
886
|
-
/>
|
887
|
-
<IconLabel
|
888
|
-
style="translucent"
|
889
|
-
innerLabel="Duration:"
|
890
|
-
text="00:56"
|
891
|
-
type="warning"
|
892
|
-
/>
|
893
|
-
<Text color="light" size="small" className="sd-margin--0">
|
894
|
-
OF
|
895
|
-
</Text>
|
896
|
-
<IconLabel style="translucent" innerLabel="Planned:" text="01:00" />
|
897
|
-
</ButtonGroup>
|
898
|
-
<TableList
|
899
|
-
className="sd-margin-y--4"
|
900
|
-
array={this.state.array}
|
901
|
-
itemsDropdown={() => [
|
902
|
-
{
|
903
|
-
label: <Label style="translucent" type="primary" text="aacc" />,
|
904
|
-
onSelect: () => 1,
|
905
|
-
},
|
906
|
-
{label: <Label style="translucent" text="prlg" />, onSelect: () => 1},
|
907
|
-
{
|
908
|
-
label: <Label style="translucent" type="primary" text="prlg" />,
|
909
|
-
onSelect: () => 1,
|
910
|
-
},
|
911
|
-
]}
|
912
|
-
/>
|
913
|
-
</Layout.PanelContentBlock>
|
914
|
-
</Layout.PanelContent>
|
915
|
-
</Layout.Panel>
|
916
|
-
</Layout.RightPanel>
|
917
|
-
{/* PREVIEW PANEL*/}
|
918
|
-
|
919
|
-
<Layout.OverlayPanel />
|
920
|
-
{/* OVERLAY PANEL (Send To) */}
|
921
|
-
</Layout.LayoutContainer>
|
922
|
-
)}
|
923
|
-
|
924
|
-
<Layout.ContentSplitter visible={this.state.openEditor} />
|
925
|
-
|
926
|
-
{/* RUNDOWN EDITOR */}
|
927
|
-
<Layout.AuthoringContainer open={this.state.openEditor}>
|
928
|
-
<RundownEditor
|
929
|
-
rightPanel={this.state.rightPanel}
|
930
|
-
openPanel={() => {
|
931
|
-
if (this.state.fullEditor) {
|
932
|
-
this.setState({previousState: true});
|
933
|
-
} else {
|
934
|
-
this.setState({previousState: false});
|
935
|
-
}
|
936
|
-
|
937
|
-
this.setState({rightPanel: true});
|
938
|
-
}}
|
939
|
-
closePanel={() => {
|
940
|
-
if (!this.state.previousState) {
|
941
|
-
this.setState({rightPanel: false, fullEditor: false});
|
942
|
-
} else {
|
943
|
-
this.setState({rightPanel: false});
|
944
|
-
}
|
945
|
-
}}
|
946
|
-
/>
|
947
|
-
</Layout.AuthoringContainer>
|
948
|
-
{/* END RUNDOWN EDITOR */}
|
949
|
-
</Layout.CoreLayout>
|
950
|
-
);
|
951
|
-
}
|
952
|
-
}
|