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,8 +1,8 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import
|
3
|
-
import { ButtonGroup, Button, NavButton, SubNav, Dropdown, CheckButtonGroup, RadioGroup, Input, Select, Option, Label, Icon, IconButton, Checkbox, GridList, Badge, Divider } from '../../../../app-typescript/index';
|
2
|
+
import { ButtonGroup, Button, NavButton, SubNav, Dropdown, Icon, IconButton, Checkbox, GridList, Badge, Divider } from '../../../../app-typescript/index';
|
4
3
|
import * as GridElements from '../../../../app-typescript/components/GridItem';
|
5
4
|
import * as Layout from '../../../../app-typescript/components/Layouts';
|
5
|
+
|
6
6
|
import dummy_items from '../dummy-data/items';
|
7
7
|
|
8
8
|
interface IProps {
|
@@ -56,43 +56,43 @@ export class PageLayoutTest extends React.Component<IProps, IState> {
|
|
56
56
|
return (
|
57
57
|
<Layout.PageLayout
|
58
58
|
header={(
|
59
|
-
<SubNav zIndex={2}>
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
59
|
+
<SubNav zIndex={2}>
|
60
|
+
<ButtonGroup align="start" padded={true}>
|
61
|
+
<Button
|
62
|
+
text="Open left panel"
|
63
|
+
style="hollow"
|
64
|
+
onClick={() => this.setState({'leftPanelOpen': !this.state.leftPanelOpen})}
|
65
|
+
/>
|
66
|
+
</ButtonGroup>
|
67
|
+
<ButtonGroup align='end'>
|
68
|
+
<Button
|
69
69
|
text="Open right panel"
|
70
70
|
style="hollow"
|
71
71
|
onClick={() => this.setState({'rightPanelOpen': !this.state.rightPanelOpen})}
|
72
72
|
/>
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
73
|
+
<Divider size="mini" />
|
74
|
+
<ButtonGroup subgroup={true} spaces="no-space">
|
75
|
+
<Dropdown
|
76
|
+
items={[
|
77
|
+
{
|
78
|
+
type: 'group', label: 'Chose a theme', items: [
|
79
|
+
'divider',
|
80
|
+
{ label: 'Light', onSelect: () => this.handleTheme('light-ui')},
|
81
|
+
{ label: 'Dark', onSelect: () => this.handleTheme('dark-ui')},
|
82
|
+
]
|
83
|
+
},
|
84
|
+
]}
|
85
|
+
>
|
86
|
+
<NavButton type='default' icon='adjust' onClick={()=> false} />
|
87
|
+
</Dropdown>
|
88
|
+
</ButtonGroup>
|
87
89
|
</ButtonGroup>
|
88
|
-
</
|
89
|
-
</SubNav>
|
90
|
+
</SubNav>
|
90
91
|
)}
|
91
92
|
leftPanelOpen={this.state.leftPanelOpen}
|
92
93
|
leftPanel={(
|
93
94
|
<Layout.Panel side='left' background='light' open={this.state.leftPanelOpen} size='x-large'>
|
94
|
-
<Layout.PanelHeader title='This is the title for the Panel' onClose={() => this.setState({'leftPanelOpen': false})}
|
95
|
-
</Layout.PanelHeader>
|
95
|
+
<Layout.PanelHeader title='This is the title for the Panel' onClose={() => this.setState({'leftPanelOpen': false})} />
|
96
96
|
<Layout.PanelContent>
|
97
97
|
<Layout.PanelContentBlock>
|
98
98
|
<p>Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum.
|
@@ -107,8 +107,7 @@ export class PageLayoutTest extends React.Component<IProps, IState> {
|
|
107
107
|
rightPanelOpen={this.state.rightPanelOpen}
|
108
108
|
rightPanel={(
|
109
109
|
<Layout.Panel side='right' background='grey' open={this.state.rightPanelOpen} size='small'>
|
110
|
-
<Layout.PanelHeader color='blueGreyDarker' title='Right Panel Title' onClose={() => this.setState({'rightPanelOpen': false})}
|
111
|
-
</Layout.PanelHeader>
|
110
|
+
<Layout.PanelHeader color='blueGreyDarker' title='Right Panel Title' onClose={() => this.setState({'rightPanelOpen': false})} />
|
112
111
|
<Layout.PanelContent>
|
113
112
|
<Layout.PanelContentBlock>
|
114
113
|
<p>Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum.
|
@@ -122,19 +121,23 @@ export class PageLayoutTest extends React.Component<IProps, IState> {
|
|
122
121
|
)}
|
123
122
|
main={(
|
124
123
|
<GridList size="small" gap="medium" margin="3">
|
125
|
-
{dummy_items.map((item, index) =>
|
124
|
+
{dummy_items.map((item: any, index: any) =>
|
126
125
|
<GridElements.GridItem locked={item.locked} status={item.status} itemtype={item.type} key={index}>
|
127
126
|
<GridElements.GridItemCheckWrapper>
|
128
|
-
<Checkbox
|
129
|
-
item.selected
|
130
|
-
|
131
|
-
|
127
|
+
<Checkbox
|
128
|
+
checked={item.selected}
|
129
|
+
label={{text:''}}
|
130
|
+
onChange={(value) => {
|
131
|
+
item.selected = value;
|
132
|
+
this.changeStatus(item, 'selected');
|
133
|
+
}}
|
134
|
+
/>
|
132
135
|
</GridElements.GridItemCheckWrapper>
|
133
136
|
<GridElements.GridItemTopActions>
|
134
137
|
<IconButton icon='fullscreen' ariaValue='More actions' onClick={()=> false} />
|
135
138
|
</GridElements.GridItemTopActions>
|
136
139
|
<GridElements.GridItemMedia>
|
137
|
-
{
|
140
|
+
{item.image ? <img src={item.image} alt={item.imageAlt}/> : null}
|
138
141
|
</GridElements.GridItemMedia>
|
139
142
|
<GridElements.GridItemContent>
|
140
143
|
<GridElements.GridItemTime time={item.date} />
|
@@ -1,30 +1,25 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import * as Components from './components/Index';
|
3
3
|
import {
|
4
|
-
Button, ButtonGroup,
|
4
|
+
Button, ButtonGroup, NavButton,
|
5
5
|
SubNav, SubNavDivider,
|
6
|
-
|
7
|
-
Checkbox, CheckGroup, CheckButtonGroup, CheckboxButton, RadioGroup, RadioButtonGroup, Switch, SwitchGroup,
|
6
|
+
Checkbox, CheckGroup, CheckButtonGroup, CheckboxButton, RadioButtonGroup, Switch, SwitchGroup,
|
8
7
|
Input, Select, Option,
|
9
|
-
Label,
|
10
|
-
Icon,
|
8
|
+
Label,
|
11
9
|
Tooltip,
|
12
10
|
Tabs, TabLabel, TabContent, TabPanel,
|
13
|
-
AvatarWrapper, AvatarContentImage,
|
11
|
+
AvatarWrapper, AvatarContentImage,
|
14
12
|
LeftMenu,
|
15
13
|
SimpleList, SimpleListItem,
|
16
14
|
Container,
|
17
15
|
Heading, Text,
|
18
16
|
Divider,
|
19
17
|
ThemeSelector,
|
20
|
-
Tag
|
18
|
+
Tag,
|
21
19
|
} from '../../../../app-typescript/index';
|
22
|
-
import * as GridElements from '../../../../app-typescript/components/GridItem';
|
23
20
|
import * as Layout from '../../../../app-typescript/components/Layouts';
|
24
21
|
import * as Form from '../../../../app-typescript/components/Form';
|
25
22
|
|
26
|
-
import dummy_items from '../dummy-data/items';
|
27
|
-
|
28
23
|
interface IProps {
|
29
24
|
children?: React.ReactNode;
|
30
25
|
}
|
@@ -91,7 +86,6 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
91
86
|
this.handleClick=this.handleClick.bind(this);
|
92
87
|
}
|
93
88
|
|
94
|
-
|
95
89
|
handleFilter() {
|
96
90
|
this.setState((state) => ({
|
97
91
|
openFilter: !state.openFilter,
|
@@ -118,7 +112,6 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
118
112
|
}
|
119
113
|
}
|
120
114
|
|
121
|
-
|
122
115
|
handleClick = (number: number) => {
|
123
116
|
this.setState({
|
124
117
|
indexValue: number,
|
@@ -149,7 +142,6 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
149
142
|
<TabLabel label='Personal preferences' indexValue={1}/>
|
150
143
|
<TabLabel label='Privileges' indexValue={2}/>
|
151
144
|
</Tabs>
|
152
|
-
|
153
145
|
</SubNav>
|
154
146
|
</Components.HeaderPanel>
|
155
147
|
{/* TOOLBAR HEADER */}
|
@@ -158,7 +150,8 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
158
150
|
<Layout.LeftPanel open={true}>
|
159
151
|
<Layout.Panel background='transparent' size='xx-small'>
|
160
152
|
<Layout.PanelContent>
|
161
|
-
<LeftMenu
|
153
|
+
<LeftMenu
|
154
|
+
ariaLabel={'Left navigation'}
|
162
155
|
scrollSpy='#scrollContainer'
|
163
156
|
activeItemId='1'
|
164
157
|
style='blanc'
|
@@ -169,7 +162,8 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
169
162
|
{ id: '4', label: 'Language', ref: 'language' },
|
170
163
|
{ id: '5', label: 'Author info', ref: 'autorInfo' }
|
171
164
|
]}]}
|
172
|
-
onSelect={() => {console.log('onSelect triggered')}}
|
165
|
+
onSelect={() => {console.log('onSelect triggered')}}
|
166
|
+
/>
|
173
167
|
</Layout.PanelContent>
|
174
168
|
</Layout.Panel>
|
175
169
|
</Layout.LeftPanel>
|
@@ -180,7 +174,7 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
180
174
|
<Container id="profile" direction='column' className='sd-radius--medium sd-panel-bg--gradient-1 sd-shadow--z2 sd-padding--3 sd-state--focus'>
|
181
175
|
<Container className='sd-flex-justify-space-between sd-margin-b--2'>
|
182
176
|
<Label text='Active' type='success' style='translucent' />
|
183
|
-
<Switch toolTipFlow='left' label={{
|
177
|
+
<Switch toolTipFlow='left' label={{content:'Toggle active', hidden: true}} value={this.state.value1} onChange={(value) => this.setState(() => ({ value1: value }))} />
|
184
178
|
</Container>
|
185
179
|
<Container direction='column' className='sd-flex-align-items-center sd-margin-x--auto'>
|
186
180
|
<AvatarWrapper size="xx-large">
|
@@ -202,11 +196,10 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
202
196
|
label='First Name'
|
203
197
|
type='text'
|
204
198
|
value='Jeffrey'
|
205
|
-
error='Error message'
|
206
199
|
required={false}
|
207
200
|
disabled={false}
|
208
|
-
|
209
|
-
|
201
|
+
onChange={() => false}
|
202
|
+
/>
|
210
203
|
</Form.FormItem>
|
211
204
|
</Form.FormGroup>
|
212
205
|
<Form.FormGroup marginBottom='3'>
|
@@ -215,11 +208,10 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
215
208
|
label='Last Name'
|
216
209
|
type='text'
|
217
210
|
value='Lebowski'
|
218
|
-
error='Error message'
|
219
211
|
required={false}
|
220
212
|
disabled={false}
|
221
|
-
|
222
|
-
|
213
|
+
onChange={() => false}
|
214
|
+
/>
|
223
215
|
</Form.FormItem>
|
224
216
|
</Form.FormGroup>
|
225
217
|
<Form.FormGroup marginBottom='4'>
|
@@ -228,26 +220,22 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
228
220
|
label='Username'
|
229
221
|
type='text'
|
230
222
|
value='the_dude'
|
231
|
-
error='Error message'
|
232
223
|
required={false}
|
233
224
|
disabled={false}
|
234
|
-
|
235
|
-
|
225
|
+
onChange={() => false}
|
226
|
+
/>
|
236
227
|
</Form.FormItem>
|
237
228
|
</Form.FormGroup>
|
238
|
-
|
239
|
-
|
240
229
|
<Form.FormGroup marginBottom='3'>
|
241
230
|
<Form.FormItem>
|
242
231
|
<Input
|
243
232
|
label='Email'
|
244
233
|
type='text'
|
245
234
|
value='jeffrey.lebowski@bloodsimple.org'
|
246
|
-
error='Error message'
|
247
235
|
required={false}
|
248
236
|
disabled={false}
|
249
|
-
|
250
|
-
|
237
|
+
onChange={() => false}
|
238
|
+
/>
|
251
239
|
</Form.FormItem>
|
252
240
|
</Form.FormGroup>
|
253
241
|
<Form.FormGroup marginBottom='3'>
|
@@ -256,22 +244,21 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
256
244
|
label='Phone number'
|
257
245
|
type='text'
|
258
246
|
value='+381 64 155 22 55'
|
259
|
-
error='Error message'
|
260
247
|
required={false}
|
261
248
|
disabled={false}
|
262
|
-
|
263
|
-
|
249
|
+
onChange={() => false}
|
250
|
+
/>
|
264
251
|
</Form.FormItem>
|
265
252
|
</Form.FormGroup>
|
266
253
|
<Form.FormGroup marginBottom='4'>
|
267
254
|
<Form.FormItem>
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
255
|
+
<Select
|
256
|
+
label='Role'
|
257
|
+
value='Select user role'
|
258
|
+
required={false}
|
259
|
+
disabled={false}
|
260
|
+
onChange={() => false}
|
261
|
+
>
|
275
262
|
<Option>Editor</Option>
|
276
263
|
<Option>Journalist</Option>
|
277
264
|
<Option>Photographer</Option>
|
@@ -308,14 +295,14 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
308
295
|
labelHidden={true}
|
309
296
|
required={false}
|
310
297
|
disabled={false}
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
298
|
+
onChange={() => false}
|
299
|
+
>
|
300
|
+
<Option>International</Option>
|
301
|
+
<Option>Kulture</Option>
|
302
|
+
<Option>National</Option>
|
303
|
+
<Option>News</Option>
|
304
|
+
<Option>Politics</Option>
|
305
|
+
<Option>Sports</Option>
|
319
306
|
</Select>
|
320
307
|
</Form.FormItem>
|
321
308
|
</Form.FormGroup>
|
@@ -332,12 +319,12 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
332
319
|
labelHidden={true}
|
333
320
|
required={false}
|
334
321
|
disabled={false}
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
322
|
+
onChange={() => false}
|
323
|
+
>
|
324
|
+
<Option>English</Option>
|
325
|
+
<Option>German</Option>
|
326
|
+
<Option>French</Option>
|
327
|
+
<Option>Serbian</Option>
|
341
328
|
</Select>
|
342
329
|
</Form.FormItem>
|
343
330
|
</Form.FormGroup>
|
@@ -352,11 +339,10 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
352
339
|
label='Sign-Off'
|
353
340
|
type='text'
|
354
341
|
value='the_dude'
|
355
|
-
error='Error message'
|
356
342
|
required={false}
|
357
343
|
disabled={false}
|
358
|
-
|
359
|
-
|
344
|
+
onChange={() => false}
|
345
|
+
/>
|
360
346
|
</Form.FormItem>
|
361
347
|
</Form.FormGroup>
|
362
348
|
<Form.FormGroup marginBottom='3'>
|
@@ -365,11 +351,10 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
365
351
|
label='Byline'
|
366
352
|
type='text'
|
367
353
|
value='Jeffrey Lebowski'
|
368
|
-
error='Error message'
|
369
354
|
required={false}
|
370
355
|
disabled={false}
|
371
|
-
|
372
|
-
|
356
|
+
onChange={() => false}
|
357
|
+
/>
|
373
358
|
</Form.FormItem>
|
374
359
|
</Form.FormGroup>
|
375
360
|
<Form.FormGroup marginBottom='3'>
|
@@ -378,11 +363,10 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
378
363
|
label='Job Title'
|
379
364
|
type='text'
|
380
365
|
value='the_dude'
|
381
|
-
error='Error message'
|
382
366
|
required={false}
|
383
367
|
disabled={false}
|
384
|
-
|
385
|
-
|
368
|
+
onChange={() => false}
|
369
|
+
/>
|
386
370
|
</Form.FormItem>
|
387
371
|
</Form.FormGroup>
|
388
372
|
<Form.FormGroup marginBottom='4'>
|
@@ -391,11 +375,10 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
391
375
|
label='Biography'
|
392
376
|
type='text'
|
393
377
|
value='the_dude'
|
394
|
-
error='Error message'
|
395
378
|
required={false}
|
396
379
|
disabled={false}
|
397
|
-
|
398
|
-
|
380
|
+
onChange={() => false}
|
381
|
+
/>
|
399
382
|
</Form.FormItem>
|
400
383
|
</Form.FormGroup>
|
401
384
|
<Heading className='sd-margin-t--3 sd-margin-b--2' type='h4'>Social media</Heading>
|
@@ -405,11 +388,10 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
405
388
|
label='Facebook'
|
406
389
|
type='text'
|
407
390
|
value='the_dude'
|
408
|
-
error='Error message'
|
409
391
|
required={false}
|
410
392
|
disabled={false}
|
411
|
-
|
412
|
-
|
393
|
+
onChange={() => false}
|
394
|
+
/>
|
413
395
|
</Form.FormItem>
|
414
396
|
</Form.FormGroup>
|
415
397
|
<Form.FormGroup marginBottom='3'>
|
@@ -418,11 +400,10 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
418
400
|
label='Instagram'
|
419
401
|
type='text'
|
420
402
|
value='the_dude'
|
421
|
-
error='Error message'
|
422
403
|
required={false}
|
423
404
|
disabled={false}
|
424
|
-
|
425
|
-
|
405
|
+
onChange={() => false}
|
406
|
+
/>
|
426
407
|
</Form.FormItem>
|
427
408
|
</Form.FormGroup>
|
428
409
|
<Form.FormGroup marginBottom='2'>
|
@@ -431,14 +412,12 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
431
412
|
label='Twitter'
|
432
413
|
type='text'
|
433
414
|
value='the_dude'
|
434
|
-
error='Error message'
|
435
415
|
required={false}
|
436
416
|
disabled={false}
|
437
|
-
|
438
|
-
|
417
|
+
onChange={() => false}
|
418
|
+
/>
|
439
419
|
</Form.FormItem>
|
440
420
|
</Form.FormGroup>
|
441
|
-
|
442
421
|
</Container>
|
443
422
|
</SimpleListItem>
|
444
423
|
</SimpleList>
|
@@ -454,7 +433,6 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
454
433
|
<Layout.LeftPanel open={true}>
|
455
434
|
<Layout.Panel background='transparent' size='xx-small'>
|
456
435
|
<Layout.PanelContent>
|
457
|
-
|
458
436
|
<LeftMenu ariaLabel={'Left navigation'}
|
459
437
|
activeItemId='#1'
|
460
438
|
style='blanc'
|
@@ -468,7 +446,8 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
468
446
|
{ id: '7', label: 'Vocabulary values' },
|
469
447
|
{ id: '8', label: 'Appearance' }
|
470
448
|
]}]}
|
471
|
-
onSelect={() => false}
|
449
|
+
onSelect={() => false}
|
450
|
+
/>
|
472
451
|
</Layout.PanelContent>
|
473
452
|
</Layout.Panel>
|
474
453
|
</Layout.LeftPanel>
|
@@ -478,7 +457,7 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
478
457
|
<SimpleListItem stacked={true}>
|
479
458
|
<Heading type='h3'>Feature preview</Heading>
|
480
459
|
<Container className='sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus'>
|
481
|
-
<Switch label={{
|
460
|
+
<Switch label={{content:'Enable Feature Preview'}} value={this.state.value1} onChange={(value) => this.setState(() => ({ value1: value }))} />
|
482
461
|
</Container>
|
483
462
|
</SimpleListItem>
|
484
463
|
<SimpleListItem stacked={true}>
|
@@ -518,8 +497,8 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
518
497
|
<Heading type='h3'>Notifications</Heading>
|
519
498
|
<Container className='sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus'>
|
520
499
|
<SwitchGroup>
|
521
|
-
<Switch label={{
|
522
|
-
<Switch label={{
|
500
|
+
<Switch label={{content:'Send notifications via email'}} value={this.state.value2} onChange={(value) => this.setState(() => ({ value2: value }))} />
|
501
|
+
<Switch label={{content:'Allow Desktop Notifications'}} value={this.state.value3} onChange={(value) => this.setState(() => ({ value3: value }))} />
|
523
502
|
</SwitchGroup>
|
524
503
|
</Container>
|
525
504
|
</SimpleListItem>
|
@@ -532,11 +511,10 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
532
511
|
label='Dateline / Located'
|
533
512
|
type='text'
|
534
513
|
value=''
|
535
|
-
error='This is error message'
|
536
514
|
required={false}
|
537
515
|
disabled={false}
|
538
|
-
|
539
|
-
|
516
|
+
onChange={() => false}
|
517
|
+
/>
|
540
518
|
</Form.FormItem>
|
541
519
|
</Form.FormGroup>
|
542
520
|
<Form.FormGroup>
|
@@ -544,14 +522,13 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
544
522
|
<Select
|
545
523
|
label='Place'
|
546
524
|
value='This is some value'
|
547
|
-
error='This is error message'
|
548
525
|
required={true}
|
549
526
|
disabled={false}
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
527
|
+
onChange={() => false}
|
528
|
+
>
|
529
|
+
<Option>Select place</Option>
|
530
|
+
<Option>Option 1</Option>
|
531
|
+
<Option>Option 2</Option>
|
555
532
|
</Select>
|
556
533
|
</Form.FormItem>
|
557
534
|
</Form.FormGroup>
|
@@ -607,17 +584,20 @@ export class PersonalProfile extends React.Component<IProps, IState> {
|
|
607
584
|
<Container direction='column' className='sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus'>
|
608
585
|
<Heading type='h4'>Themes</Heading>
|
609
586
|
<Text color='light' className='sd-margin-b--2'>Change the appearance of Superdesk across the whole application.</Text>
|
610
|
-
<ThemeSelector
|
611
|
-
|
612
|
-
{
|
613
|
-
|
614
|
-
|
587
|
+
<ThemeSelector
|
588
|
+
size='small'
|
589
|
+
options={[
|
590
|
+
{label: 'Light', value: 'light-ui', theme: 'light'},
|
591
|
+
{label: 'Dark', value: 'dark-ui', theme: 'dark'},
|
592
|
+
{label: 'High Contrast', value: 'high-contrast', theme: 'contrast-light', disabled: true},
|
593
|
+
]}
|
594
|
+
onChange={($event)=>{this.setState({theme: $event})}} value={this.state.theme}
|
595
|
+
/>
|
615
596
|
</Container>
|
616
597
|
</SimpleListItem>
|
617
598
|
</SimpleList>
|
618
599
|
</Layout.MainPanel>
|
619
600
|
{/* MAIN CONTENT (Monitoring) */}
|
620
|
-
|
621
601
|
<Layout.RightPanel open={this.state.openPreview}>
|
622
602
|
</Layout.RightPanel>
|
623
603
|
{/* PREVIEW PANEL*/}
|