superdesk-ui-framework 3.0.65 → 3.0.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/styles/_boxed-list.scss +10 -3
- package/app/styles/_helpers.scss +3 -1
- package/app/styles/components/_list-item.scss +22 -11
- package/app/styles/components/_sd-searchbar.scss +20 -1
- package/app/styles/primereact/_pr-dialog.scss +29 -13
- package/app-typescript/components/Autocomplete.tsx +9 -3
- package/app-typescript/components/Badge.tsx +16 -2
- package/app-typescript/components/Dropdown.tsx +3 -1
- package/app-typescript/components/DropdownFirst.tsx +14 -2
- package/app-typescript/components/DurationInput.tsx +19 -4
- package/app-typescript/components/EmptyState.tsx +11 -2
- package/app-typescript/components/Layouts/Panel.tsx +12 -1
- package/app-typescript/components/Lists/ContentList.tsx +5 -1
- package/app-typescript/components/Modal.tsx +12 -3
- package/app-typescript/components/Navigation/BottomNav.tsx +9 -2
- package/app-typescript/components/Navigation/QuickNavBar.tsx +10 -2
- package/app-typescript/components/Navigation/SideBarMenu.tsx +9 -4
- package/app-typescript/components/SearchBar.tsx +1 -0
- package/app-typescript/components/SidebarMenu.tsx +8 -1
- package/app-typescript/components/TabList.tsx +5 -1
- package/app-typescript/components/TagInput.tsx +4 -1
- package/app-typescript/components/ThemeSelector.tsx +13 -2
- package/app-typescript/components/TreeMenu.tsx +127 -122
- package/app-typescript/components/TreeSelect/TreeSelect.tsx +157 -141
- package/app-typescript/components/WithPortal.tsx +49 -0
- package/app-typescript/components/avatar/avatar-image.tsx +2 -0
- package/app-typescript/components/avatar/avatar.tsx +2 -1
- package/dist/examples.bundle.js +1409 -1278
- package/dist/playgrounds/planning.html +121 -43
- package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +398 -385
- package/dist/playgrounds/react-playgrounds/EditorTest.tsx +359 -365
- package/dist/playgrounds/react-playgrounds/FirstPlayground.tsx +33 -33
- package/dist/playgrounds/react-playgrounds/Multiedit.tsx +227 -231
- package/dist/playgrounds/react-playgrounds/PageLayoutTest.tsx +41 -38
- package/dist/playgrounds/react-playgrounds/PersonalProfile.tsx +76 -96
- package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +73 -101
- package/dist/playgrounds/react-playgrounds/Rundowns.tsx +788 -729
- package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +35 -26
- package/dist/playgrounds/react-playgrounds/TestGround.tsx +140 -121
- package/dist/playgrounds/react-playgrounds/UiPlayground.tsx +40 -25
- package/dist/playgrounds/react-playgrounds/components/GraphicButton.tsx +6 -5
- package/dist/playgrounds/react-playgrounds/components/Layout.tsx +0 -2
- package/dist/playgrounds/react-playgrounds/components/SearchBar.tsx +16 -9
- package/dist/superdesk-ui.bundle.css +79 -33
- package/dist/superdesk-ui.bundle.js +833 -729
- package/dist/vendor.bundle.js +14 -14
- package/examples/pages/playgrounds/planning.html +121 -43
- package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +398 -385
- package/examples/pages/playgrounds/react-playgrounds/EditorTest.tsx +359 -365
- package/examples/pages/playgrounds/react-playgrounds/FirstPlayground.tsx +33 -33
- package/examples/pages/playgrounds/react-playgrounds/Multiedit.tsx +227 -231
- package/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.tsx +41 -38
- package/examples/pages/playgrounds/react-playgrounds/PersonalProfile.tsx +76 -96
- package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +73 -101
- package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +788 -729
- package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +35 -26
- package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +140 -121
- package/examples/pages/playgrounds/react-playgrounds/UiPlayground.tsx +40 -25
- package/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.tsx +6 -5
- package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +0 -2
- package/examples/pages/playgrounds/react-playgrounds/components/SearchBar.tsx +16 -9
- package/package.json +1 -1
- package/react/{components → app-typescript/components}/Autocomplete.js +2 -2
- package/react/{components → app-typescript/components}/Badge.js +1 -1
- package/react/{components → app-typescript/components}/Dropdown.js +3 -1
- package/react/{components → app-typescript/components}/DropdownFirst.js +6 -2
- package/react/{components → app-typescript/components}/DurationInput.js +5 -1
- package/react/{components → app-typescript/components}/EmptyState.js +2 -1
- package/react/{components → app-typescript/components}/Lists/ContentList.js +1 -1
- package/react/{components → app-typescript/components}/Modal.js +2 -2
- package/react/{components → app-typescript/components}/Navigation/BottomNav.js +4 -1
- package/react/{components → app-typescript/components}/Navigation/QuickNavBar.js +2 -1
- package/react/{components → app-typescript/components}/Navigation/SideBarMenu.js +3 -1
- package/react/{components → app-typescript/components}/SearchBar.js +1 -0
- package/react/{components → app-typescript/components}/TabList.js +2 -1
- package/react/{components → app-typescript/components}/TagInput.js +1 -1
- package/react/{components → app-typescript/components}/TreeSelect/TreeSelect.d.ts +3 -2
- package/react/{components → app-typescript/components}/TreeSelect/TreeSelect.js +81 -73
- package/react/app-typescript/components/WithPortal.d.ts +14 -0
- package/react/app-typescript/components/WithPortal.js +69 -0
- package/react/{components → app-typescript/components}/avatar/avatar.js +2 -1
- package/react/examples/pages/playgrounds/dummy-data/items.d.ts +16 -0
- package/react/examples/pages/playgrounds/dummy-data/items.js +95 -0
- package/react/examples/pages/playgrounds/react-playgrounds/CoreLayout.d.ts +51 -0
- package/react/examples/pages/playgrounds/react-playgrounds/CoreLayout.js +454 -0
- package/react/examples/pages/playgrounds/react-playgrounds/EditorTest.d.ts +27 -0
- package/react/examples/pages/playgrounds/react-playgrounds/EditorTest.js +256 -0
- package/react/examples/pages/playgrounds/react-playgrounds/FirstPlayground.d.ts +19 -0
- package/react/examples/pages/playgrounds/react-playgrounds/FirstPlayground.js +160 -0
- package/react/examples/pages/playgrounds/react-playgrounds/Index.d.ts +11 -0
- package/react/examples/pages/playgrounds/react-playgrounds/Index.js +25 -0
- package/react/examples/pages/playgrounds/react-playgrounds/Multiedit.d.ts +36 -0
- package/react/examples/pages/playgrounds/react-playgrounds/Multiedit.js +200 -0
- package/react/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.d.ts +22 -0
- package/react/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.js +134 -0
- package/react/examples/pages/playgrounds/react-playgrounds/PersonalProfile.d.ts +40 -0
- package/react/examples/pages/playgrounds/react-playgrounds/PersonalProfile.js +350 -0
- package/react/examples/pages/playgrounds/react-playgrounds/RundownEditor.d.ts +32 -0
- package/react/examples/pages/playgrounds/react-playgrounds/RundownEditor.js +267 -0
- package/react/examples/pages/playgrounds/react-playgrounds/Rundowns.d.ts +39 -0
- package/react/examples/pages/playgrounds/react-playgrounds/Rundowns.js +558 -0
- package/react/examples/pages/playgrounds/react-playgrounds/SamsPlayground.d.ts +24 -0
- package/react/examples/pages/playgrounds/react-playgrounds/SamsPlayground.js +241 -0
- package/react/examples/pages/playgrounds/react-playgrounds/TestGround.d.ts +27 -0
- package/react/examples/pages/playgrounds/react-playgrounds/TestGround.js +508 -0
- package/react/examples/pages/playgrounds/react-playgrounds/UiPlayground.d.ts +24 -0
- package/react/examples/pages/playgrounds/react-playgrounds/UiPlayground.js +239 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.d.ts +11 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.js +64 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.d.ts +10 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.js +62 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.d.ts +14 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.js +65 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButtonsGroup.d.ts +8 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButtonsGroup.js +53 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/HeaderPanel.d.ts +8 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/HeaderPanel.js +53 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/Index.d.ts +19 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/Index.js +41 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/Layout.d.ts +8 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/Layout.js +40 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/LayoutContainer.d.ts +8 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/LayoutContainer.js +53 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/LeftPanel.d.ts +9 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/LeftPanel.js +53 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/MainPanel.d.ts +10 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/MainPanel.js +63 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/OverlayPanel.d.ts +8 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/OverlayPanel.js +55 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/Panel.d.ts +10 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/Panel.js +63 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContent.d.ts +8 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContent.js +53 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContentBlock.d.ts +11 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContentBlock.js +63 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/PanelFooter.d.ts +8 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/PanelFooter.js +54 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/PanelHeader.d.ts +12 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/PanelHeader.js +63 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/RightPanel.d.ts +9 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/RightPanel.js +53 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/SearchBar.d.ts +23 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/SearchBar.js +92 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/SidebarMenu.d.ts +20 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/SidebarMenu.js +83 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/SubNav.d.ts +9 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/SubNav.js +60 -0
- package/tsconfig.json +5 -1
- /package/dist/playgrounds/dummy-data/{items.js → items.ts} +0 -0
- /package/examples/pages/playgrounds/dummy-data/{items.js → items.ts} +0 -0
- /package/react/{components → app-typescript/components}/Alert.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Alert.js +0 -0
- /package/react/{components → app-typescript/components}/Autocomplete.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Badge.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Button.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Button.js +0 -0
- /package/react/{components → app-typescript/components}/ButtonGroup.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ButtonGroup.js +0 -0
- /package/react/{components → app-typescript/components}/Carousel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Carousel.js +0 -0
- /package/react/{components → app-typescript/components}/CheckButtonGroup.d.ts +0 -0
- /package/react/{components → app-typescript/components}/CheckButtonGroup.js +0 -0
- /package/react/{components → app-typescript/components}/CheckGroup.d.ts +0 -0
- /package/react/{components → app-typescript/components}/CheckGroup.js +0 -0
- /package/react/{components → app-typescript/components}/Checkbox.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Checkbox.js +0 -0
- /package/react/{components → app-typescript/components}/CheckboxButton.d.ts +0 -0
- /package/react/{components → app-typescript/components}/CheckboxButton.js +0 -0
- /package/react/{components → app-typescript/components}/ContentDivider.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ContentDivider.js +0 -0
- /package/react/{components → app-typescript/components}/CreateButton.d.ts +0 -0
- /package/react/{components → app-typescript/components}/CreateButton.js +0 -0
- /package/react/{components → app-typescript/components}/DatePicker.d.ts +0 -0
- /package/react/{components → app-typescript/components}/DatePicker.js +0 -0
- /package/react/{components → app-typescript/components}/Divider.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Divider.js +0 -0
- /package/react/{components → app-typescript/components}/DonutChart.d.ts +0 -0
- /package/react/{components → app-typescript/components}/DonutChart.js +0 -0
- /package/react/{components → app-typescript/components}/DragHandle.d.ts +0 -0
- /package/react/{components → app-typescript/components}/DragHandle.js +0 -0
- /package/react/{components → app-typescript/components}/DropZone.d.ts +0 -0
- /package/react/{components → app-typescript/components}/DropZone.js +0 -0
- /package/react/{components → app-typescript/components}/Dropdown.d.ts +0 -0
- /package/react/{components → app-typescript/components}/DropdownFirst.d.ts +0 -0
- /package/react/{components → app-typescript/components}/DurationInput.d.ts +0 -0
- /package/react/{components → app-typescript/components}/EmptyState.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/FormGroup.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/FormGroup.js +0 -0
- /package/react/{components → app-typescript/components}/Form/FormItem.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/FormItem.js +0 -0
- /package/react/{components → app-typescript/components}/Form/FormLabel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/FormLabel.js +0 -0
- /package/react/{components → app-typescript/components}/Form/FormRow.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/FormRow.js +0 -0
- /package/react/{components → app-typescript/components}/Form/FormRowNew.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/FormRowNew.js +0 -0
- /package/react/{components → app-typescript/components}/Form/FormText.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/FormText.js +0 -0
- /package/react/{components → app-typescript/components}/Form/InputBase.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/InputBase.js +0 -0
- /package/react/{components → app-typescript/components}/Form/InputNew.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/InputNew.js +0 -0
- /package/react/{components → app-typescript/components}/Form/InputWrapper.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/InputWrapper.js +0 -0
- /package/react/{components → app-typescript/components}/Form/index.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/index.js +0 -0
- /package/react/{components → app-typescript/components}/FormLabel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/FormLabel.js +0 -0
- /package/react/{components → app-typescript/components}/GridItem.d.ts +0 -0
- /package/react/{components → app-typescript/components}/GridItem.js +0 -0
- /package/react/{components → app-typescript/components}/GridList.d.ts +0 -0
- /package/react/{components → app-typescript/components}/GridList.js +0 -0
- /package/react/{components → app-typescript/components}/HeadingText.d.ts +0 -0
- /package/react/{components → app-typescript/components}/HeadingText.js +0 -0
- /package/react/{components → app-typescript/components}/HelloWorld.d.ts +0 -0
- /package/react/{components → app-typescript/components}/HelloWorld.js +0 -0
- /package/react/{components → app-typescript/components}/Icon.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Icon.js +0 -0
- /package/react/{components → app-typescript/components}/IconButton.d.ts +0 -0
- /package/react/{components → app-typescript/components}/IconButton.js +0 -0
- /package/react/{components → app-typescript/components}/IconLabel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/IconLabel.js +0 -0
- /package/react/{components → app-typescript/components}/IconPicker.d.ts +0 -0
- /package/react/{components → app-typescript/components}/IconPicker.js +0 -0
- /package/react/{components → app-typescript/components}/Input.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Input.js +0 -0
- /package/react/{components → app-typescript/components}/Label.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Label.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthorinInnerSideBar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthorinInnerSideBar.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringContainer.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringContainer.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrame.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrame.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameContainer.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameContainer.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameLeftBar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameLeftBar.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameMain.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameMain.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameNavBar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameNavBar.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameOverlay.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameOverlay.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameRightBar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameRightBar.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanel.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanelOverlay.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanelOverlay.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerBody.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerBody.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerHeader.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerHeader.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringMain.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringMain.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContainer.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContainer.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContent.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContent.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringMainToolBar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringMainToolBar.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/BottomBarAction.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/BottomBarAction.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/Container.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/Container.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/ContentSplitter.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/ContentSplitter.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayout.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayout.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutContainer.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutContainer.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutFooter.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutFooter.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutMain.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutMain.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutOverlay.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutOverlay.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutSlideInMenu.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutSlideInMenu.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutTopMenu.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutTopMenu.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/HamburgerButton.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/HamburgerButton.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/HeaderPanel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/HeaderPanel.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/Layout.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/Layout.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/LayoutContainer.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/LayoutContainer.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/LeftPanel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/LeftPanel.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/MainMenu.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/MainMenu.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/MainPanel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/MainPanel.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/NotificationPanel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/NotificationPanel.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/OverlayPanel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/OverlayPanel.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/PageLayout.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/PageLayout.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/Panel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/Panel.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/RightPanel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/RightPanel.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/index.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/index.js +0 -0
- /package/react/{components → app-typescript/components}/LeftMenu.d.ts +0 -0
- /package/react/{components → app-typescript/components}/LeftMenu.js +0 -0
- /package/react/{components → app-typescript/components}/ListItemLoader.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ListItemLoader.js +0 -0
- /package/react/{components → app-typescript/components}/Lists/BoxedList.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Lists/BoxedList.js +0 -0
- /package/react/{components → app-typescript/components}/Lists/ContentList.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Lists/SimpleList.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Lists/SimpleList.js +0 -0
- /package/react/{components → app-typescript/components}/Lists/TableList.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Lists/TableList.js +0 -0
- /package/react/{components → app-typescript/components}/Lists/index.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Lists/index.js +0 -0
- /package/react/{components → app-typescript/components}/Loader.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Loader.js +0 -0
- /package/react/{components → app-typescript/components}/Menu.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Menu.js +0 -0
- /package/react/{components → app-typescript/components}/Modal.d.ts +0 -0
- /package/react/{components → app-typescript/components}/MultiSelect.d.ts +0 -0
- /package/react/{components → app-typescript/components}/MultiSelect.js +0 -0
- /package/react/{components → app-typescript/components}/NavButton.d.ts +0 -0
- /package/react/{components → app-typescript/components}/NavButton.js +0 -0
- /package/react/{components → app-typescript/components}/Navigation/BottomNav.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Navigation/QuickNavBar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Navigation/SideBarMenu.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Navigation/SideBarTabs.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Navigation/SideBarTabs.js +0 -0
- /package/react/{components → app-typescript/components}/Navigation/index.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Navigation/index.js +0 -0
- /package/react/{components → app-typescript/components}/Popover.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Popover.js +0 -0
- /package/react/{components → app-typescript/components}/PropsList.d.ts +0 -0
- /package/react/{components → app-typescript/components}/PropsList.js +0 -0
- /package/react/{components → app-typescript/components}/RadioButtonGroup.d.ts +0 -0
- /package/react/{components → app-typescript/components}/RadioButtonGroup.js +0 -0
- /package/react/{components → app-typescript/components}/RadioGroup.d.ts +0 -0
- /package/react/{components → app-typescript/components}/RadioGroup.js +0 -0
- /package/react/{components → app-typescript/components}/ResizablePanels.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ResizablePanels.js +0 -0
- /package/react/{components → app-typescript/components}/ResizeObserverComponent.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ResizeObserverComponent.js +0 -0
- /package/react/{components → app-typescript/components}/Rotate.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Rotate.js +0 -0
- /package/react/{components → app-typescript/components}/SearchBar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Select.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Select.js +0 -0
- /package/react/{components → app-typescript/components}/SelectGrid.d.ts +0 -0
- /package/react/{components → app-typescript/components}/SelectGrid.js +0 -0
- /package/react/{components → app-typescript/components}/SelectPreview.d.ts +0 -0
- /package/react/{components → app-typescript/components}/SelectPreview.js +0 -0
- /package/react/{components → app-typescript/components}/SelectWithTemplate.d.ts +0 -0
- /package/react/{components → app-typescript/components}/SelectWithTemplate.js +0 -0
- /package/react/{components → app-typescript/components}/ShowPopup.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ShowPopup.js +0 -0
- /package/react/{components → app-typescript/components}/SingleAndDoubleClickFunction.d.ts +0 -0
- /package/react/{components → app-typescript/components}/SingleAndDoubleClickFunction.js +0 -0
- /package/react/{components → app-typescript/components}/Skeleton.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Skeleton.js +0 -0
- /package/react/{components → app-typescript/components}/SlidingToolbar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/SlidingToolbar.js +0 -0
- /package/react/{components → app-typescript/components}/Spacer.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Spacer.js +0 -0
- /package/react/{components → app-typescript/components}/Spinner.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Spinner.js +0 -0
- /package/react/{components → app-typescript/components}/StrechBar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/StrechBar.js +0 -0
- /package/react/{components → app-typescript/components}/SubNav.d.ts +0 -0
- /package/react/{components → app-typescript/components}/SubNav.js +0 -0
- /package/react/{components → app-typescript/components}/Switch.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Switch.js +0 -0
- /package/react/{components → app-typescript/components}/SwitchGroup.d.ts +0 -0
- /package/react/{components → app-typescript/components}/SwitchGroup.js +0 -0
- /package/react/{components → app-typescript/components}/TabCustom.d.ts +0 -0
- /package/react/{components → app-typescript/components}/TabCustom.js +0 -0
- /package/react/{components → app-typescript/components}/TabList.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Tag.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Tag.js +0 -0
- /package/react/{components → app-typescript/components}/TagInput.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Text/Heading.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Text/Heading.js +0 -0
- /package/react/{components → app-typescript/components}/Text/Text.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Text/Text.js +0 -0
- /package/react/{components → app-typescript/components}/Text/Time.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Text/Time.js +0 -0
- /package/react/{components → app-typescript/components}/ThemeSelector.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ThemeSelector.js +0 -0
- /package/react/{components → app-typescript/components}/TimePicker.d.ts +0 -0
- /package/react/{components → app-typescript/components}/TimePicker.js +0 -0
- /package/react/{components → app-typescript/components}/Toast.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Toast.js +0 -0
- /package/react/{components → app-typescript/components}/ToastMessage.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ToastMessage.js +0 -0
- /package/react/{components → app-typescript/components}/ToastText.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ToastText.js +0 -0
- /package/react/{components → app-typescript/components}/ToastWrapper.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ToastWrapper.js +0 -0
- /package/react/{components → app-typescript/components}/Togglebox.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Togglebox.js +0 -0
- /package/react/{components → app-typescript/components}/Tooltip.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Tooltip.js +0 -0
- /package/react/{components → app-typescript/components}/TreeSelect/KeyboardNavigation.d.ts +0 -0
- /package/react/{components → app-typescript/components}/TreeSelect/KeyboardNavigation.js +0 -0
- /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectItem.d.ts +0 -0
- /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectItem.js +0 -0
- /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectPill.d.ts +0 -0
- /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectPill.js +0 -0
- /package/react/{components → app-typescript/components}/WithPagination.d.ts +0 -0
- /package/react/{components → app-typescript/components}/WithPagination.js +0 -0
- /package/react/{components → app-typescript/components}/WithPopover.d.ts +0 -0
- /package/react/{components → app-typescript/components}/WithPopover.js +0 -0
- /package/react/{components → app-typescript/components}/WithSizeObserver.d.ts +0 -0
- /package/react/{components → app-typescript/components}/WithSizeObserver.js +0 -0
- /package/react/{components → app-typescript/components}/_Positioner.d.ts +0 -0
- /package/react/{components → app-typescript/components}/_Positioner.js +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-action-add.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-action-add.js +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-group.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-group.js +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-image.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-image.js +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-number.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-number.js +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-placeholder.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-placeholder.js +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-text.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-text.js +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-wrapper.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-wrapper.js +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/interfaces.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/interfaces.js +0 -0
- /package/react/{helpers.d.ts → app-typescript/helpers.d.ts} +0 -0
- /package/react/{helpers.js → app-typescript/helpers.js} +0 -0
- /package/react/{index.d.ts → app-typescript/index.d.ts} +0 -0
- /package/react/{index.js → app-typescript/index.js} +0 -0
@@ -1,6 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import
|
3
|
-
import { ButtonGroup, Button, NavButton, SubNav, Dropdown, Input, IconButton, Divider, Tooltip, Select, Option, Switch, Icon, AvatarWrapper, AvatarContentImage, AvatarContentText, Text, EmptyState, Alert, SlidingToolbar, TabLabel, Tabs, Heading } from '../../../../app-typescript/index';
|
2
|
+
import { ButtonGroup, Button, NavButton, SubNav, Dropdown, Input, IconButton, Divider, Tooltip, Select, Option, Switch, Icon, AvatarWrapper, AvatarContentText, Text, EmptyState, Heading } from '../../../../app-typescript/index';
|
4
3
|
import * as Layout from '../../../../app-typescript/components/Layouts';
|
5
4
|
import * as Form from '../../../../app-typescript/components/Form';
|
6
5
|
import * as Nav from '../../../../app-typescript/components/Navigation';
|
@@ -45,7 +44,7 @@ export class EditorTest extends React.Component<IProps, IState> {
|
|
45
44
|
rightPanelOpen: false,
|
46
45
|
rightPanelPinned: false,
|
47
46
|
sideOverlayOpen: false,
|
48
|
-
activeTab:
|
47
|
+
activeTab: '1',
|
49
48
|
|
50
49
|
}
|
51
50
|
this.handleTheme = this.handleTheme.bind(this);
|
@@ -68,222 +67,256 @@ export class EditorTest extends React.Component<IProps, IState> {
|
|
68
67
|
render() {
|
69
68
|
return (
|
70
69
|
<Layout.AuthoringFrame
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
70
|
+
header={(
|
71
|
+
<SubNav zIndex={2}>
|
72
|
+
<ButtonGroup align='end'>
|
73
|
+
<Button
|
75
74
|
text="Open pinned"
|
76
75
|
style="hollow"
|
77
76
|
onClick={() => this.setState({'rightPanelOpen': !this.state.rightPanelOpen})}
|
78
77
|
/>
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
<
|
95
|
-
|
96
|
-
|
97
|
-
<
|
98
|
-
|
99
|
-
|
100
|
-
<
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
</SubNav>
|
105
|
-
)}
|
106
|
-
leftPanel={(
|
107
|
-
<Nav.SideBarTabs
|
108
|
-
items={[
|
109
|
-
{ icon: 'semantics', size: 'big', tooltip: 'Semantics', onClick: () => this.setState({'sideOverlayOpen': !this.state.sideOverlayOpen}) },
|
110
|
-
{ icon: 'create-list', size: 'big', tooltip: 'Create list', onClick: () => this.setState({'sideOverlayOpen': !this.state.sideOverlayOpen}) },
|
111
|
-
{ icon: 'picture', size: 'big', tooltip: 'Pictures', onClick: () => this.setState({'sideOverlayOpen': !this.state.sideOverlayOpen}) },
|
112
|
-
{ icon: 'annotation', size: 'big', tooltip: 'Annotations', onClick: () => this.setState({'sideOverlayOpen': !this.state.sideOverlayOpen}) },
|
113
|
-
{ icon: 'export', size: 'big', tooltip: 'Export', onClick: () => this.setState({'sideOverlayOpen': !this.state.sideOverlayOpen}) }]} />
|
114
|
-
)}
|
115
|
-
main={(
|
116
|
-
<Layout.AuthoringMain
|
117
|
-
headerPadding='medium'
|
118
|
-
toolBar={(
|
119
|
-
<React.Fragment>
|
120
|
-
<div className="sd-editor-toolbar__content">
|
121
|
-
<dl>
|
122
|
-
<dt>Created</dt>
|
123
|
-
<dd><time title="July 29, 2021 3:58 PM">07/29</time></dd>
|
124
|
-
<dt>by</dt>
|
125
|
-
<dt>Nareg Asmarian</dt>
|
126
|
-
</dl>
|
127
|
-
<dl>
|
128
|
-
<dt>Modified</dt>
|
129
|
-
<dd><time title="July 29, 2021 3:58 PM">07/29</time></dd>
|
130
|
-
</dl>
|
131
|
-
</div>
|
132
|
-
<ButtonGroup align='end'>
|
133
|
-
<IconButton icon="preview-mode" toolTipAppend={true} ariaValue="Print preview" onClick={()=> false} />
|
134
|
-
<IconButton icon="adjust" ariaValue="Toogle theme" onClick={()=> false} />
|
135
|
-
<IconButton icon="switches" ariaValue="Theme settings" onClick={()=> false} />
|
78
|
+
<Divider size="mini" />
|
79
|
+
<ButtonGroup subgroup={true} spaces="no-space">
|
80
|
+
<Dropdown
|
81
|
+
items={[
|
82
|
+
{
|
83
|
+
type: 'group', label: 'Chose a theme', items: [
|
84
|
+
'divider',
|
85
|
+
{ label: 'Light', onSelect: () => this.handleTheme('light-ui')},
|
86
|
+
{ label: 'Dark', onSelect: () => this.handleTheme('dark-ui')},
|
87
|
+
]
|
88
|
+
},
|
89
|
+
]}
|
90
|
+
>
|
91
|
+
<NavButton type='default' icon='adjust' onClick={()=> false} />
|
92
|
+
</Dropdown>
|
93
|
+
<Tooltip text='Minimize' flow='left'>
|
94
|
+
<NavButton type='default' icon='minimize' iconSize='big' text='Minimize' onClick={()=> false} />
|
95
|
+
</Tooltip>
|
96
|
+
<Tooltip text='More actions' flow='left'>
|
97
|
+
<NavButton type='default' icon='dots-vertical' text='More actions' onClick={()=> false} />
|
98
|
+
</Tooltip>
|
99
|
+
<Tooltip text='Send to / Publish' flow='left'>
|
100
|
+
<NavButton type='highlight' icon='send-to' iconSize='big' text='Send to / Publish' onClick={()=> false} />
|
101
|
+
</Tooltip>
|
102
|
+
</ButtonGroup>
|
136
103
|
</ButtonGroup>
|
137
|
-
</
|
138
|
-
)}
|
139
|
-
authoringHeader ={(
|
140
|
-
<React.Fragment>
|
141
|
-
<Form.FormGroup inlineLabel={true}>
|
142
|
-
<Form.FormItem>
|
143
|
-
<Input
|
144
|
-
type='text'
|
145
|
-
label='Slugline'
|
146
|
-
value='This is some value'
|
147
|
-
maxLength={30}
|
148
|
-
error='This is error message'
|
149
|
-
info='This is some hint message'
|
150
|
-
required={false}
|
151
|
-
disabled={false}
|
152
|
-
invalid={false}
|
153
|
-
onChange={(value) => {}} />
|
154
|
-
</Form.FormItem>
|
155
|
-
<Form.FormItem>
|
156
|
-
<Input
|
157
|
-
type='text'
|
158
|
-
label='Slugline'
|
159
|
-
value='This is some value'
|
160
|
-
maxLength={30}
|
161
|
-
error='This is error message'
|
162
|
-
info='This is some hint message'
|
163
|
-
required={false}
|
164
|
-
disabled={false}
|
165
|
-
invalid={false}
|
166
|
-
onChange={(value) => {}} />
|
167
|
-
</Form.FormItem>
|
168
|
-
</Form.FormGroup>
|
169
|
-
<Form.FormGroup inlineLabel={true}>
|
170
|
-
<Form.FormItem>
|
171
|
-
<Input
|
172
|
-
type='text'
|
173
|
-
label='Genre'
|
174
|
-
value='This is some value'
|
175
|
-
maxLength={30}
|
176
|
-
error='This is error message'
|
177
|
-
info='This is some hint message'
|
178
|
-
required={false}
|
179
|
-
disabled={false}
|
180
|
-
invalid={false}
|
181
|
-
onChange={(value) => {}} />
|
182
|
-
</Form.FormItem>
|
183
|
-
</Form.FormGroup>
|
184
|
-
<Form.FormGroup marginBottom='0' inlineLabel={true}>
|
185
|
-
<Form.FormItem>
|
186
|
-
<Input
|
187
|
-
type='text'
|
188
|
-
label='Subject'
|
189
|
-
value='This is some value'
|
190
|
-
maxLength={30}
|
191
|
-
error='This is error message'
|
192
|
-
info='This is some hint message'
|
193
|
-
required={true}
|
194
|
-
disabled={false}
|
195
|
-
invalid={false}
|
196
|
-
onChange={(value) => {}} />
|
197
|
-
</Form.FormItem>
|
198
|
-
<Form.FormItem autoWidth={true}>
|
199
|
-
<Form.FormText>Just testing:</Form.FormText>
|
200
|
-
</Form.FormItem>
|
201
|
-
<Form.FormItem>
|
202
|
-
<Select
|
203
|
-
label='Categories'
|
204
|
-
labelHidden={true}
|
205
|
-
value='This is some value'
|
206
|
-
error='This is error message'
|
207
|
-
info='This is some hint message'
|
208
|
-
required={true}
|
209
|
-
disabled={false}
|
210
|
-
invalid={false}
|
211
|
-
onChange={(value) => {}}>
|
212
|
-
<Option>Option 1</Option>
|
213
|
-
<Option>Option 2</Option>
|
214
|
-
</Select>
|
215
|
-
</Form.FormItem>
|
216
|
-
<Form.FormItem autoWidth={true}>
|
217
|
-
<ButtonGroup>
|
218
|
-
<IconButton ariaValue="Submit" icon="picture" onClick={()=> false} />
|
219
|
-
<Button text="Cancel" onClick={()=> false} type="default" style="hollow" />
|
220
|
-
<Button text="Submit" onClick={()=> false} type="primary" />
|
221
|
-
</ButtonGroup>
|
222
|
-
</Form.FormItem>
|
223
|
-
</Form.FormGroup>
|
224
|
-
</React.Fragment>
|
104
|
+
</SubNav>
|
225
105
|
)}
|
226
|
-
|
227
|
-
<Nav.
|
228
|
-
scrollSpy='#scroll'
|
229
|
-
offset={-300}
|
106
|
+
leftPanel={(
|
107
|
+
<Nav.SideBarTabs
|
230
108
|
items={[
|
231
|
-
{
|
232
|
-
{
|
233
|
-
{
|
234
|
-
{
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
<
|
252
|
-
<
|
253
|
-
<
|
254
|
-
<
|
255
|
-
<
|
256
|
-
|
257
|
-
|
258
|
-
</
|
259
|
-
|
109
|
+
{icon: 'semantics', size: 'big', tooltip: 'Semantics', id: '1'},
|
110
|
+
{icon: 'create-list', size: 'big', tooltip: 'Create list', id: '2'},
|
111
|
+
{icon: 'picture', size: 'big', tooltip: 'Pictures', id: '3'},
|
112
|
+
{icon: 'annotation', size: 'big', tooltip: 'Annotations', id: '4'},
|
113
|
+
{icon: 'export', size: 'big', tooltip: 'Export', id: '5'}
|
114
|
+
]}
|
115
|
+
activeTab={this.state.activeTab}
|
116
|
+
onActiveTabChange={(val) => {
|
117
|
+
this.setState({
|
118
|
+
activeTab: val,
|
119
|
+
})
|
120
|
+
}}
|
121
|
+
/>
|
122
|
+
)}
|
123
|
+
main={(
|
124
|
+
<Layout.AuthoringMain
|
125
|
+
headerPadding='medium'
|
126
|
+
toolBar={(
|
127
|
+
<React.Fragment>
|
128
|
+
<div className="sd-editor-toolbar__content">
|
129
|
+
<dl>
|
130
|
+
<dt>Created</dt>
|
131
|
+
<dd><time title="July 29, 2021 3:58 PM">07/29</time></dd>
|
132
|
+
<dt>by</dt>
|
133
|
+
<dt>Nareg Asmarian</dt>
|
134
|
+
</dl>
|
135
|
+
<dl>
|
136
|
+
<dt>Modified</dt>
|
137
|
+
<dd><time title="July 29, 2021 3:58 PM">07/29</time></dd>
|
138
|
+
</dl>
|
260
139
|
</div>
|
261
|
-
<
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
140
|
+
<ButtonGroup align='end'>
|
141
|
+
<IconButton icon="preview-mode" toolTipAppend={true} ariaValue="Print preview" onClick={()=> false} />
|
142
|
+
<IconButton icon="adjust" ariaValue="Toogle theme" onClick={()=> false} />
|
143
|
+
<IconButton icon="switches" ariaValue="Theme settings" onClick={()=> false} />
|
144
|
+
</ButtonGroup>
|
145
|
+
</React.Fragment>
|
146
|
+
)}
|
147
|
+
authoringHeader ={(
|
148
|
+
<React.Fragment>
|
149
|
+
<Form.FormGroup inlineLabel={true}>
|
150
|
+
<Form.FormItem>
|
151
|
+
<Input
|
152
|
+
type='text'
|
153
|
+
label='Slugline'
|
154
|
+
value='This is some value'
|
155
|
+
maxLength={30}
|
156
|
+
info='This is some hint message'
|
157
|
+
required={false}
|
158
|
+
disabled={false}
|
159
|
+
onChange={() => false}
|
160
|
+
/>
|
161
|
+
</Form.FormItem>
|
162
|
+
<Form.FormItem>
|
163
|
+
<Input
|
164
|
+
type='text'
|
165
|
+
label='Slugline'
|
166
|
+
value='This is some value'
|
167
|
+
maxLength={30}
|
168
|
+
info='This is some hint message'
|
169
|
+
required={false}
|
170
|
+
disabled={false}
|
171
|
+
onChange={() => false}
|
172
|
+
/>
|
173
|
+
</Form.FormItem>
|
174
|
+
</Form.FormGroup>
|
175
|
+
<Form.FormGroup inlineLabel={true}>
|
176
|
+
<Form.FormItem>
|
177
|
+
<Input
|
178
|
+
type='text'
|
179
|
+
label='Genre'
|
180
|
+
value='This is some value'
|
181
|
+
maxLength={30}
|
182
|
+
info='This is some hint message'
|
183
|
+
required={false}
|
184
|
+
disabled={false}
|
185
|
+
onChange={() => false}
|
186
|
+
/>
|
187
|
+
</Form.FormItem>
|
188
|
+
</Form.FormGroup>
|
189
|
+
<Form.FormGroup marginBottom='0' inlineLabel={true}>
|
190
|
+
<Form.FormItem>
|
191
|
+
<Input
|
192
|
+
type='text'
|
193
|
+
label='Subject'
|
194
|
+
value='This is some value'
|
195
|
+
maxLength={30}
|
196
|
+
info='This is some hint message'
|
197
|
+
required={true}
|
198
|
+
disabled={false}
|
199
|
+
onChange={() => false}
|
200
|
+
/>
|
201
|
+
</Form.FormItem>
|
202
|
+
<Form.FormItem autoWidth={true}>
|
203
|
+
<Form.FormText>Just testing:</Form.FormText>
|
204
|
+
</Form.FormItem>
|
205
|
+
<Form.FormItem>
|
206
|
+
<Select
|
207
|
+
label='Categories'
|
208
|
+
labelHidden={true}
|
209
|
+
value='This is some value'
|
210
|
+
info='This is some hint message'
|
211
|
+
required={true}
|
212
|
+
disabled={false}
|
213
|
+
onChange={() => false}
|
214
|
+
>
|
215
|
+
<Option>Option 1</Option>
|
216
|
+
<Option>Option 2</Option>
|
217
|
+
</Select>
|
218
|
+
</Form.FormItem>
|
219
|
+
<Form.FormItem autoWidth={true}>
|
220
|
+
<ButtonGroup>
|
221
|
+
<IconButton ariaValue="Submit" icon="picture" onClick={()=> false} />
|
280
222
|
<Button text="Cancel" onClick={()=> false} type="default" style="hollow" />
|
281
223
|
<Button text="Submit" onClick={()=> false} type="primary" />
|
282
224
|
</ButtonGroup>
|
283
|
-
</
|
284
|
-
</
|
285
|
-
|
286
|
-
|
225
|
+
</Form.FormItem>
|
226
|
+
</Form.FormGroup>
|
227
|
+
</React.Fragment>
|
228
|
+
)}
|
229
|
+
authoringBookmarks={(
|
230
|
+
<Nav.QuickNavBar
|
231
|
+
scrollSpy='#scroll'
|
232
|
+
offset={-300}
|
233
|
+
items={[
|
234
|
+
{ icon: 'heading-1', tooltip: 'Headline', onClick:()=> false, id: 'section1' },
|
235
|
+
{ icon: 'align-left', tooltip: 'Body', onClick:()=> false, id: 'section2' },
|
236
|
+
{ icon: 'picture', tooltip: 'Media', onClick:()=> false, id: 'section3' },
|
237
|
+
{ icon: 'attachment-large', tooltip: 'Attachments', onClick:()=> false, id: 'section4' }
|
238
|
+
]}
|
239
|
+
/>
|
240
|
+
)}
|
241
|
+
>
|
242
|
+
<div id='scroll' style={{overflow: 'scroll', height: 600}}>
|
243
|
+
<div id='section1'>
|
244
|
+
<Heading type='h1' className='sd-padding--5'>Section 1</Heading>
|
245
|
+
<p className='sd-margin-b--3'>Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum.
|
246
|
+
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
247
|
+
<p className='sd-margin-b--3'>Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
|
248
|
+
vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Curabitur blandit tempus porttitor. Aenean lacinia bibendum nulla sed consectetur. Morbi leo
|
249
|
+
risus, porta ac consectetur ac, vestibulum at eros.</p>
|
250
|
+
<p className='sd-margin-b--3'>Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
|
251
|
+
vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Donec ullamcorper nulla non metus auctor fringilla. Donec id elit non mi porta gravida at eget metus. Morbi leo risus, porta ac consectetur ac,
|
252
|
+
vestibulum at eros. Curabitur blandit tempus porttitor. Vestibulum id ligula porta felis euismod semper. Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
|
253
|
+
<p>Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae elit libero, a pharetra
|
254
|
+
augue. Cras mattis consectetur purus sit amet fermentum. Maecenas faucibus mollis interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus
|
255
|
+
sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur
|
256
|
+
purus sit amet fermentum.</p>
|
257
|
+
<Layout.Container gap="large" className='sd-border--medium sd-font-size--medium sd-padding--2 sd-radius--large'>
|
258
|
+
<span>Curabitur blandit tempus porttitor.</span>
|
259
|
+
<Button text="Test button" type="primary" onClick={()=> false} />
|
260
|
+
<Button text="Test button" type="highlight" onClick={()=> false} />
|
261
|
+
<ButtonGroup align="end">
|
262
|
+
<Button text="Cancel" onClick={()=> false} type="default" style="hollow" />
|
263
|
+
<Button text="Submit" onClick={()=> false} type="primary" />
|
264
|
+
</ButtonGroup>
|
265
|
+
</Layout.Container>
|
266
|
+
</div>
|
267
|
+
|
268
|
+
<div id='section2'>
|
269
|
+
<Heading type='h1' className='sd-padding--5'>Section 2</Heading>
|
270
|
+
<p className='sd-margin-b--3'>Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum.
|
271
|
+
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
272
|
+
<p className='sd-margin-b--3'>Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
|
273
|
+
vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Curabitur blandit tempus porttitor. Aenean lacinia bibendum nulla sed consectetur. Morbi leo
|
274
|
+
risus, porta ac consectetur ac, vestibulum at eros.</p>
|
275
|
+
<p className='sd-margin-b--3'>Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
|
276
|
+
vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Donec ullamcorper nulla non metus auctor fringilla. Donec id elit non mi porta gravida at eget metus. Morbi leo risus, porta ac consectetur ac,
|
277
|
+
vestibulum at eros. Curabitur blandit tempus porttitor. Vestibulum id ligula porta felis euismod semper. Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
|
278
|
+
<p>Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae elit libero, a pharetra
|
279
|
+
augue. Cras mattis consectetur purus sit amet fermentum. Maecenas faucibus mollis interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus
|
280
|
+
sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur
|
281
|
+
purus sit amet fermentum.</p>
|
282
|
+
<Layout.Container gap="large" className='sd-border--medium sd-font-size--medium sd-padding--2 sd-radius--large'>
|
283
|
+
<span>Curabitur blandit tempus porttitor.</span>
|
284
|
+
<Button text="Test button" type="primary" onClick={()=> false} />
|
285
|
+
<Button text="Test button" type="highlight" onClick={()=> false} />
|
286
|
+
<ButtonGroup align="end">
|
287
|
+
<Button text="Cancel" onClick={()=> false} type="default" style="hollow" />
|
288
|
+
<Button text="Submit" onClick={()=> false} type="primary" />
|
289
|
+
</ButtonGroup>
|
290
|
+
</Layout.Container>
|
291
|
+
</div>
|
292
|
+
|
293
|
+
<div id='section3'>
|
294
|
+
<Heading type='h1' className='sd-padding--5'>Section 3</Heading>
|
295
|
+
<p className='sd-margin-b--3'>Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum.
|
296
|
+
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
297
|
+
<p className='sd-margin-b--3'>Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
|
298
|
+
vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Curabitur blandit tempus porttitor. Aenean lacinia bibendum nulla sed consectetur. Morbi leo
|
299
|
+
risus, porta ac consectetur ac, vestibulum at eros.</p>
|
300
|
+
<p className='sd-margin-b--3'>Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
|
301
|
+
vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Donec ullamcorper nulla non metus auctor fringilla. Donec id elit non mi porta gravida at eget metus. Morbi leo risus, porta ac consectetur ac,
|
302
|
+
vestibulum at eros. Curabitur blandit tempus porttitor. Vestibulum id ligula porta felis euismod semper. Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
|
303
|
+
<p>Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae elit libero, a pharetra
|
304
|
+
augue. Cras mattis consectetur purus sit amet fermentum. Maecenas faucibus mollis interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus
|
305
|
+
sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur
|
306
|
+
purus sit amet fermentum.</p>
|
307
|
+
<Layout.Container gap="large" className='sd-border--medium sd-font-size--medium sd-padding--2 sd-radius--large'>
|
308
|
+
<span>Curabitur blandit tempus porttitor.</span>
|
309
|
+
<Button text="Test button" type="primary" onClick={()=> false} />
|
310
|
+
<Button text="Test button" type="highlight" onClick={()=> false} />
|
311
|
+
<ButtonGroup align="end">
|
312
|
+
<Button text="Cancel" onClick={()=> false} type="default" style="hollow" />
|
313
|
+
<Button text="Submit" onClick={()=> false} type="primary" />
|
314
|
+
</ButtonGroup>
|
315
|
+
</Layout.Container>
|
316
|
+
</div>
|
317
|
+
|
318
|
+
<div id='section4'>
|
319
|
+
<Heading type='h1' className='sd-padding--5'>Section 4</Heading>
|
287
320
|
<p className='sd-margin-b--3'>Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum.
|
288
321
|
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
289
322
|
<p className='sd-margin-b--3'>Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
|
@@ -305,166 +338,127 @@ export class EditorTest extends React.Component<IProps, IState> {
|
|
305
338
|
<Button text="Submit" onClick={()=> false} type="primary" />
|
306
339
|
</ButtonGroup>
|
307
340
|
</Layout.Container>
|
308
|
-
</div>
|
309
|
-
|
310
|
-
<div id='section4'>
|
311
|
-
<Heading type='h1' className='sd-padding--5'>Section 4</Heading>
|
312
|
-
<p className='sd-margin-b--3'>Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum.
|
313
|
-
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
314
|
-
<p className='sd-margin-b--3'>Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
|
315
|
-
vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Curabitur blandit tempus porttitor. Aenean lacinia bibendum nulla sed consectetur. Morbi leo
|
316
|
-
risus, porta ac consectetur ac, vestibulum at eros.</p>
|
317
|
-
<p className='sd-margin-b--3'>Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
|
318
|
-
vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Donec ullamcorper nulla non metus auctor fringilla. Donec id elit non mi porta gravida at eget metus. Morbi leo risus, porta ac consectetur ac,
|
319
|
-
vestibulum at eros. Curabitur blandit tempus porttitor. Vestibulum id ligula porta felis euismod semper. Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
|
320
|
-
<p>Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae elit libero, a pharetra
|
321
|
-
augue. Cras mattis consectetur purus sit amet fermentum. Maecenas faucibus mollis interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus
|
322
|
-
sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur
|
323
|
-
purus sit amet fermentum.</p>
|
324
|
-
<Layout.Container gap="large" className='sd-border--medium sd-font-size--medium sd-padding--2 sd-radius--large'>
|
325
|
-
<span>Curabitur blandit tempus porttitor.</span>
|
326
|
-
<Button text="Test button" type="primary" onClick={()=> false} />
|
327
|
-
<Button text="Test button" type="highlight" onClick={()=> false} />
|
328
|
-
<ButtonGroup align="end">
|
329
|
-
<Button text="Cancel" onClick={()=> false} type="default" style="hollow" />
|
330
|
-
<Button text="Submit" onClick={()=> false} type="primary" />
|
331
|
-
</ButtonGroup>
|
332
|
-
</Layout.Container>
|
333
|
-
</div>
|
334
341
|
</div>
|
342
|
+
</div>
|
335
343
|
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
344
|
+
</Layout.AuthoringMain>
|
345
|
+
)}
|
346
|
+
sidePanelPinned={this.state.rightPanelOpen}
|
347
|
+
sidePanel={(
|
348
|
+
<Layout.Panel side='right' background='grey' open={this.state.rightPanelOpen} size='x-small'>
|
349
|
+
<Layout.PanelHeader title='Pinned content' onClose={() => this.setState({'rightPanelOpen': false})}>
|
350
|
+
</Layout.PanelHeader>
|
351
|
+
<Layout.PanelContent>
|
352
|
+
<Layout.PanelContentBlock>
|
353
|
+
<BoxedList density='comfortable'>
|
354
|
+
<BoxedListItem
|
355
|
+
type="success"
|
356
|
+
clickable={true}
|
357
|
+
media={(
|
358
|
+
<Icon name='slideshow' />
|
359
|
+
)}
|
360
|
+
actions={(
|
361
|
+
<IconButton icon="dots-vertical" ariaValue="More actions" onClick={()=> false} />
|
362
|
+
)}
|
363
|
+
>
|
364
|
+
<BoxedListContentRow>
|
365
|
+
Maecenas sed diam eget risus varius blandit sit amet non magna. Vestibulum id ligula porta felis euismod semper.
|
366
|
+
</BoxedListContentRow>
|
367
|
+
<BoxedListContentRow>
|
368
|
+
Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
|
369
|
+
</BoxedListContentRow>
|
370
|
+
</BoxedListItem>
|
371
|
+
<BoxedListItem
|
372
|
+
type="warning"
|
373
|
+
media={(
|
374
|
+
<AvatarWrapper
|
375
|
+
size="medium"
|
368
376
|
>
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
]}
|
455
|
-
activeTab={this.state.activeTab}
|
456
|
-
onActiveTabChange={(val) => {
|
457
|
-
this.setState({
|
458
|
-
activeTab: val,
|
459
|
-
sideOverlayOpen: !this.state.sideOverlayOpen,
|
460
|
-
});
|
461
|
-
}}
|
462
|
-
/>
|
463
|
-
)}
|
464
|
-
overlayPanel={(
|
465
|
-
<div></div>
|
466
|
-
)}
|
467
|
-
/>
|
377
|
+
<AvatarContentText text="JL" tooltipText="Jeffrey Lebowski" />
|
378
|
+
</AvatarWrapper>
|
379
|
+
)}
|
380
|
+
footer={(
|
381
|
+
<ButtonGroup align="end">
|
382
|
+
<Button text="cancel" size="small" style="hollow" onClick={()=> false} />
|
383
|
+
<Button text="yes" size="small" style="hollow" type="primary" onClick={()=> false} />
|
384
|
+
</ButtonGroup>
|
385
|
+
)}
|
386
|
+
actions={(
|
387
|
+
<IconButton icon="dots-vertical" ariaValue="More actions" onClick={()=> false} />
|
388
|
+
)}
|
389
|
+
>
|
390
|
+
<BoxedListContentRow>
|
391
|
+
Maecenas sed diam eget risus varius blandit sit amet magna.
|
392
|
+
</BoxedListContentRow>
|
393
|
+
</BoxedListItem>
|
394
|
+
<BoxedListItem
|
395
|
+
selected={true}
|
396
|
+
actions={(
|
397
|
+
<IconButton icon="dots-vertical" ariaValue="More actions" onClick={()=> false} />
|
398
|
+
)}
|
399
|
+
>
|
400
|
+
<BoxedListContentRow>
|
401
|
+
Maecenas sed diam eget risus varius blandit sit amet magna. Vestibulum id ligula porta felis euismod semper.
|
402
|
+
</BoxedListContentRow>
|
403
|
+
</BoxedListItem>
|
404
|
+
</BoxedList>
|
405
|
+
</Layout.PanelContentBlock>
|
406
|
+
</Layout.PanelContent>
|
407
|
+
</Layout.Panel>
|
408
|
+
)}
|
409
|
+
sideOverlayOpen={this.state.sideOverlayOpen}
|
410
|
+
sideOverlay={(
|
411
|
+
<Layout.Panel background='light' open={this.state.sideOverlayOpen} size='x-small'>
|
412
|
+
<Layout.PanelHeader title="Metadata (overlay pannel)" onClose={() => this.setState({'sideOverlayOpen': false})} />
|
413
|
+
<Layout.PanelContent
|
414
|
+
loading={false}
|
415
|
+
empty={false}
|
416
|
+
emptyTemplate={(
|
417
|
+
<EmptyState title="test" />
|
418
|
+
)} >
|
419
|
+
<Layout.PanelContentBlock>
|
420
|
+
<SimpleList border={true}>
|
421
|
+
<SimpleListItem justify="space-between">
|
422
|
+
<Form.FormLabel text="My label" />
|
423
|
+
<Switch toolTipFlow='left' label={{content:'My label', hidden: true}} value={this.state.value1} onChange={(value) => this.setState(() => ({ value1: value }))} />
|
424
|
+
</SimpleListItem>
|
425
|
+
<SimpleListItem justify="space-between">
|
426
|
+
<Form.FormLabel text="Form label" />
|
427
|
+
<Switch toolTipFlow='left' label={{content:'Form label', hidden: true}} value={this.state.value2} onChange={(value) => this.setState(() => ({ value2: value }))} />
|
428
|
+
</SimpleListItem>
|
429
|
+
<SimpleListItem stacked={true}>
|
430
|
+
<Form.FormLabel text="Label two" />
|
431
|
+
<Text size="small" weight="light">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Nullam quis risus eget urna mollis ornare vel eu leo.</Text>
|
432
|
+
</SimpleListItem>
|
433
|
+
</SimpleList>
|
434
|
+
</Layout.PanelContentBlock>
|
435
|
+
</Layout.PanelContent>
|
436
|
+
</Layout.Panel>
|
437
|
+
)}
|
438
|
+
sideBar={(
|
439
|
+
<Nav.SideBarTabs
|
440
|
+
items={[
|
441
|
+
{ icon: 'info', size: 'big', tooltip: 'Info', id: '1' },
|
442
|
+
{ icon: 'chat', size: 'big', tooltip: 'Comments', id: '2' },
|
443
|
+
{ icon: 'history', size: 'big', tooltip: 'History', id: '3' },
|
444
|
+
{ icon: 'package', size: 'big', tooltip: 'Packages', id: '4' },
|
445
|
+
{ icon: 'attachment', size: 'big', tooltip: 'Attachments', id: '5' },
|
446
|
+
{ icon: 'comments', size: 'big', tooltip: 'Inline Comments', id: '6' },
|
447
|
+
{ icon: 'suggestion', size: 'big', tooltip: 'Suggestions', id: '7' }
|
448
|
+
]}
|
449
|
+
activeTab={this.state.activeTab}
|
450
|
+
onActiveTabChange={(val) => {
|
451
|
+
this.setState({
|
452
|
+
activeTab: val,
|
453
|
+
sideOverlayOpen: !this.state.sideOverlayOpen,
|
454
|
+
});
|
455
|
+
}}
|
456
|
+
/>
|
457
|
+
)}
|
458
|
+
overlayPanel={(
|
459
|
+
<div></div>
|
460
|
+
)}
|
461
|
+
/>
|
468
462
|
);
|
469
463
|
}
|
470
464
|
}
|