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,13 +1,8 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import * as Components from './components/Index';
|
3
|
-
import { Checkbox, RadioGroup, CheckboxButton, RadioButtonGroup, Button,
|
4
|
-
import { Carousel } from '../../../../app-typescript/index';
|
3
|
+
import { Checkbox, RadioGroup, CheckboxButton, RadioButtonGroup, Button, Dropdown, Input, Label, Icon, IconButton, Badge, ThemeSelector, Container, IconLabel, Tooltip, Spinner, Divider, InputWrapper, InputNew, InputBase, Text, FormRowNew, ButtonGroup, Heading, SearchBar, Modal, BoxedList, BoxedListItem, TimePicker, DatePicker} from '../../../../app-typescript/index';
|
5
4
|
import { FormLabel } from '../../../../app-typescript/components/Form/FormLabel';
|
6
5
|
|
7
|
-
|
8
|
-
import dummy_items from '../dummy-data/items';
|
9
|
-
|
10
|
-
|
11
6
|
interface IProps {
|
12
7
|
children?: React.ReactNode;
|
13
8
|
}
|
@@ -27,6 +22,7 @@ interface IState {
|
|
27
22
|
invalid: boolean;
|
28
23
|
date: any;
|
29
24
|
time: string;
|
25
|
+
modalPlanningTemplates: boolean;
|
30
26
|
}
|
31
27
|
|
32
28
|
export class TestGround extends React.Component<IProps, IState> {
|
@@ -45,8 +41,9 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
45
41
|
value6: undefined,
|
46
42
|
selctedTheme: 'light',
|
47
43
|
invalid: false,
|
48
|
-
date: '01
|
44
|
+
date: new Date('2022-01-08'),
|
49
45
|
time: '16:50',
|
46
|
+
modalPlanningTemplates: false,
|
50
47
|
}
|
51
48
|
}
|
52
49
|
|
@@ -63,9 +60,60 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
63
60
|
<Components.Layout header='Testing Ground'>
|
64
61
|
<Components.LayoutContainer>
|
65
62
|
<Components.MainPanel>
|
63
|
+
<Button text="Planning Templates" onClick={() => this.setState({modalPlanningTemplates: true})} />
|
64
|
+
<Modal headerTemplate="Planning templates"
|
65
|
+
zIndex={10000}
|
66
|
+
visible={this.state.modalPlanningTemplates}
|
67
|
+
contentPadding='medium'
|
68
|
+
contentBg='medium'
|
69
|
+
size='medium'
|
70
|
+
onHide={() => {this.setState({modalPlanningTemplates: false})}}
|
71
|
+
>
|
72
|
+
<div className='modal__sticky-header'>
|
73
|
+
<SearchBar placeholder='Search templates' boxed={true}>
|
74
|
+
<Dropdown
|
75
|
+
items={[
|
76
|
+
{ label: 'Features', onSelect: () => 1 },
|
77
|
+
{ label: 'Sports', onSelect: () => 1 },
|
78
|
+
{ label: 'Entertainment', onSelect: () => 1 },
|
79
|
+
]}
|
80
|
+
>
|
81
|
+
All Calendars
|
82
|
+
</Dropdown>
|
83
|
+
</SearchBar>
|
84
|
+
</div>
|
85
|
+
|
86
|
+
<Heading type='h6' className='mt-1 mb-1'>Features</Heading>
|
87
|
+
<BoxedList>
|
88
|
+
<BoxedListItem clickable={true}>Features -- template one cras fringilla</BoxedListItem>
|
89
|
+
<BoxedListItem clickable={true}>Features -- template two sit quam</BoxedListItem>
|
90
|
+
<BoxedListItem clickable={true}>Features -- template fermentum quam venenatis</BoxedListItem>
|
91
|
+
<BoxedListItem clickable={true}>Features -- template dapibus mattis</BoxedListItem>
|
92
|
+
</BoxedList>
|
93
|
+
<Heading type='h6' className='mt-2 mb-1'>Sports</Heading>
|
94
|
+
<BoxedList>
|
95
|
+
<BoxedListItem clickable={true}>Sports -- template one fermentum venenatis</BoxedListItem>
|
96
|
+
<BoxedListItem clickable={true}>Sports -- template two cras condimentum</BoxedListItem>
|
97
|
+
<BoxedListItem clickable={true}>Sports -- template bibendum commodo nibh</BoxedListItem>
|
98
|
+
</BoxedList>
|
99
|
+
|
100
|
+
</Modal>
|
101
|
+
<h3 className="docs-page__h3 ">Planning Templates</h3>
|
102
|
+
<SearchBar placeholder='Search' boxed={true}>
|
103
|
+
<Dropdown
|
104
|
+
items={[
|
105
|
+
{ label: 'Action 1', onSelect: () => 1 },
|
106
|
+
{ label: 'Action 2', onSelect: () => 1 },
|
107
|
+
{ label: 'Action 3', onSelect: () => 1 },
|
108
|
+
]}
|
109
|
+
>
|
110
|
+
Toogle button
|
111
|
+
</Dropdown>
|
112
|
+
</SearchBar>
|
66
113
|
|
67
|
-
<h3 className="docs-page__h3 sd-margin-y--0">Pagination</h3>
|
68
114
|
<hr />
|
115
|
+
|
116
|
+
<h3 className="docs-page__h3 sd-margin-y--0">Pagination</h3>
|
69
117
|
<div className='sd-pagination'>
|
70
118
|
<button className='sd-pagination__item sd-pagination__item--start' disabled>
|
71
119
|
<Icon name='backward-thin' />
|
@@ -73,23 +121,18 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
73
121
|
<button className='sd-pagination__item sd-pagination__item--back' disabled>
|
74
122
|
<Icon name='chevron-left-thin' />
|
75
123
|
</button>
|
76
|
-
|
77
124
|
<button className='sd-pagination__item'>1</button>
|
78
125
|
<button className='sd-pagination__item sd-pagination__item--active'>2</button>
|
79
126
|
<button className='sd-pagination__item'>3</button>
|
80
127
|
<button className='sd-pagination__item'>4</button>
|
81
|
-
|
82
128
|
<span className='sd-pagination__item sd-pagination__item--more'>...</span>
|
83
|
-
|
84
129
|
<button className='sd-pagination__item'>12</button>
|
85
|
-
|
86
130
|
<button className='sd-pagination__item sd-pagination__item--forward'>
|
87
131
|
<Icon name='chevron-right-thin' />
|
88
132
|
</button>
|
89
133
|
<button className='sd-pagination__item sd-pagination__item--end'>
|
90
134
|
<Icon name='forward-thin' />
|
91
135
|
</button>
|
92
|
-
|
93
136
|
</div>
|
94
137
|
|
95
138
|
<hr />
|
@@ -109,17 +152,20 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
109
152
|
|
110
153
|
<hr />
|
111
154
|
|
112
|
-
<img
|
155
|
+
<img
|
156
|
+
src="/path/toimage"
|
157
|
+
alt="my image"
|
113
158
|
onError={({ currentTarget }) => {
|
114
159
|
currentTarget.onerror = null; // prevents looping
|
115
160
|
currentTarget.src="/illustration--playground.svg";
|
116
161
|
currentTarget.classList.add('broken-img')
|
117
|
-
}}
|
162
|
+
}}
|
163
|
+
/>
|
118
164
|
|
119
165
|
<div className="input-wrap">
|
120
166
|
<FormLabel invalid required={true} state='focused' text="Form Label" forId="input1" />
|
121
167
|
<IconButton size='small' icon="settings" ariaValue="Screen-reader text" onClick={()=> false} />
|
122
|
-
<InputBase placeholder='Test placeholder' boxedStyle invalid type='text' id="input1" value='' onChange={(
|
168
|
+
<InputBase placeholder='Test placeholder' boxedStyle invalid type='text' id="input1" value='' onChange={() => false} />
|
123
169
|
<div className="input-wrap__message-box">
|
124
170
|
<div className="sd-input__hint">Error message</div>
|
125
171
|
</div>
|
@@ -131,55 +177,55 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
131
177
|
<div className="input-wrap input-wrap--boxed">
|
132
178
|
<FormLabel style='boxed' text="Form Label" required={true} forId="input2" />
|
133
179
|
<IconButton size='small' icon="settings" ariaValue="Screen-reader text" onClick={()=> false} />
|
134
|
-
<InputBase disabled size='medium' placeholder='Test placeholder' boxedStyle type='text' id="input2" value='' onChange={(
|
180
|
+
<InputBase disabled size='medium' placeholder='Test placeholder' boxedStyle type='text' id="input2" value='' onChange={() => false} />
|
135
181
|
<div className="input-wrap__message-box">
|
136
182
|
<div className="sd-input__hint">Error message</div>
|
137
183
|
</div>
|
138
184
|
<span className="sd-input__char-count">0 / 40</span>
|
139
185
|
</div>
|
140
186
|
|
141
|
-
<hr />
|
142
187
|
<hr />
|
143
188
|
|
144
189
|
<InputNew
|
145
190
|
label='test'
|
146
191
|
value=''
|
147
|
-
onChange={(
|
192
|
+
onChange={() => false}
|
148
193
|
placeholder='test'
|
149
194
|
required={true}
|
150
195
|
info='Nullam Sollicitudin'
|
151
196
|
maxLength={20}
|
152
|
-
error='Error message'
|
153
197
|
inlineLabel={true}
|
154
198
|
labelHidden={true}
|
155
|
-
type='text'
|
199
|
+
type='text'
|
200
|
+
/>
|
156
201
|
|
157
202
|
<hr />
|
203
|
+
|
158
204
|
<div className='form__group-new'>
|
159
205
|
<Input
|
160
206
|
value=''
|
161
|
-
onChange={(
|
207
|
+
onChange={() => false}
|
162
208
|
type='text'
|
163
209
|
label='Text input'
|
164
210
|
placeholder='Enter text'
|
165
|
-
disabled={true}
|
211
|
+
disabled={true}
|
212
|
+
/>
|
166
213
|
<Input value=''
|
167
|
-
onChange={(
|
214
|
+
onChange={() => false}
|
168
215
|
type='text'
|
169
216
|
label='Text input'
|
170
217
|
placeholder='Enter text'
|
171
|
-
disabled={true}
|
218
|
+
disabled={true}
|
219
|
+
/>
|
172
220
|
<DatePicker
|
173
221
|
value={this.state.date}
|
222
|
+
dateFormat="YYYY-MM-DD"
|
223
|
+
disabled={true}
|
224
|
+
required={true}
|
225
|
+
label='Date'
|
174
226
|
onChange={(date) => {
|
175
227
|
this.setState({date});
|
176
228
|
}}
|
177
|
-
disabled={true}
|
178
|
-
dateFormat="DD-MM-YYYY"
|
179
|
-
label='Date'
|
180
|
-
info='Nullam Sollicitudin'
|
181
|
-
error='Error message'
|
182
|
-
inlineLabel={false}
|
183
229
|
/>
|
184
230
|
<TimePicker
|
185
231
|
value={this.state.time}
|
@@ -194,51 +240,30 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
194
240
|
<Button text="Cancel" onClick={()=> false} />
|
195
241
|
<Button text="Save" type='primary' onClick={()=> false} />
|
196
242
|
</div>
|
243
|
+
|
197
244
|
<hr />
|
198
245
|
|
199
246
|
<FormRowNew rowLabel='My group label' inlineLabels={true}>
|
200
247
|
<Input
|
201
248
|
value=''
|
202
|
-
onChange={(
|
249
|
+
onChange={() => false}
|
203
250
|
type='text'
|
204
251
|
label='Text input'
|
205
252
|
placeholder='Enter text'
|
206
253
|
inlineLabel={true}
|
207
254
|
labelHidden={true}
|
208
|
-
disabled={false}
|
255
|
+
disabled={false}
|
256
|
+
/>
|
209
257
|
<Text size='small' align='center'>To:</Text>
|
210
258
|
<Input
|
211
259
|
value=''
|
212
|
-
onChange={(
|
260
|
+
onChange={() => false}
|
213
261
|
type='text'
|
214
262
|
label='Text input'
|
215
263
|
placeholder='Enter text'
|
216
264
|
inlineLabel={true}
|
217
265
|
labelHidden={true}
|
218
|
-
disabled={false}
|
219
|
-
<DatePicker
|
220
|
-
value={this.state.date}
|
221
|
-
onChange={(date) => {
|
222
|
-
this.setState({date});
|
223
|
-
}}
|
224
|
-
// disabled={true}
|
225
|
-
dateFormat="DD-MM-YYYY"
|
226
|
-
label='Date'
|
227
|
-
info='Nullam Sollicitudin'
|
228
|
-
error='Error message'
|
229
|
-
inlineLabel={true}
|
230
|
-
labelHidden={true}
|
231
|
-
/>
|
232
|
-
<TimePicker
|
233
|
-
value={this.state.time}
|
234
|
-
// disabled={true}
|
235
|
-
required={true}
|
236
|
-
inlineLabel={true}
|
237
|
-
labelHidden={true}
|
238
|
-
label='Time'
|
239
|
-
onChange={(time) => {
|
240
|
-
this.setState({time});
|
241
|
-
}}
|
266
|
+
disabled={false}
|
242
267
|
/>
|
243
268
|
<Button text="Save" type='primary' onClick={()=> false} />
|
244
269
|
</FormRowNew>
|
@@ -248,47 +273,31 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
248
273
|
<FormRowNew>
|
249
274
|
<Input
|
250
275
|
value=''
|
251
|
-
onChange={(
|
276
|
+
onChange={() => false}
|
252
277
|
type='text'
|
253
278
|
label='Text input'
|
254
279
|
placeholder='Enter text'
|
255
|
-
disabled={false}
|
280
|
+
disabled={false}
|
281
|
+
/>
|
256
282
|
<Text size='small' align='center'>To:</Text>
|
257
283
|
<Input
|
258
284
|
value=''
|
259
|
-
onChange={(
|
285
|
+
onChange={() => false}
|
260
286
|
type='text'
|
261
287
|
label='Text input'
|
262
288
|
placeholder='Enter text'
|
263
289
|
labelHidden={true}
|
264
|
-
disabled={false}
|
265
|
-
<DatePicker
|
266
|
-
value={this.state.date}
|
267
|
-
onChange={(date) => {
|
268
|
-
this.setState({date});
|
269
|
-
}}
|
270
|
-
// disabled={true}
|
271
|
-
dateFormat="DD-MM-YYYY"
|
272
|
-
label='Date'
|
273
|
-
info='Nullam Sollicitudin'
|
274
|
-
error='Error message'
|
275
|
-
inlineLabel={false}
|
276
|
-
/>
|
277
|
-
<TimePicker
|
278
|
-
value={this.state.time}
|
279
|
-
// disabled={true}
|
280
|
-
required={true}
|
281
|
-
label='Time'
|
282
|
-
onChange={(time) => {
|
283
|
-
this.setState({time});
|
284
|
-
}}
|
290
|
+
disabled={false}
|
285
291
|
/>
|
286
292
|
<Button text="Save" type='primary' onClick={()=> false} />
|
287
293
|
</FormRowNew>
|
288
294
|
|
289
295
|
<hr />
|
296
|
+
|
290
297
|
<h3 className="docs-page__h3 sd-margin-y--0">Table list (draggable)</h3>
|
298
|
+
|
291
299
|
<hr />
|
300
|
+
|
292
301
|
<h4 className="docs-page__h4 sd-margin-y--1">Handles visible</h4>
|
293
302
|
<ul className='table-list table-list--gap-s'>
|
294
303
|
<li className='table-list__item table-list__item--clickable table-list__item--draggable table-list__item--drag-handles-always'>
|
@@ -366,6 +375,7 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
366
375
|
</ul>
|
367
376
|
|
368
377
|
<hr />
|
378
|
+
|
369
379
|
<h4 className="docs-page__h4 sd-margin-y--1">Handles hidden</h4>
|
370
380
|
<ul className='table-list table-list--gap-s'>
|
371
381
|
<li className='table-list__item table-list__item--clickable table-list__item--draggable table-list__item--drag-handles-none'>
|
@@ -443,6 +453,7 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
443
453
|
</ul>
|
444
454
|
|
445
455
|
<hr />
|
456
|
+
|
446
457
|
<h4 className="docs-page__h4 sd-margin-y--1">Handles on hover</h4>
|
447
458
|
<ul className='table-list table-list--gap-s'>
|
448
459
|
<li className='table-list__item table-list__item--clickable table-list__item--draggable'>
|
@@ -518,11 +529,13 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
518
529
|
</div>
|
519
530
|
</li>
|
520
531
|
</ul>
|
521
|
-
|
532
|
+
|
522
533
|
<hr />
|
523
534
|
|
524
535
|
<h3 className="docs-page__h3 sd-margin-y--0 sd-margin-t--3">Table list with items between</h3>
|
536
|
+
|
525
537
|
<hr />
|
538
|
+
|
526
539
|
<ul className='table-list table-list--contained'>
|
527
540
|
<li className='table-list__item-container'>
|
528
541
|
<div className='table-list__item table-list__item--clickable table-list__item--draggable'>
|
@@ -610,14 +623,16 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
610
623
|
</li>
|
611
624
|
</ul>
|
612
625
|
|
613
|
-
<hr
|
626
|
+
<hr />
|
614
627
|
|
615
628
|
<h3 className="docs-page__h3 sd-margin-y--0">Checkbox</h3>
|
629
|
+
|
616
630
|
<hr />
|
631
|
+
|
617
632
|
<div className="sd-check__group-new sd-check__group-new--vertical">
|
618
633
|
<Checkbox label={{text: 'Label side not defined'}} onChange={(value) => console.log('value changed', value)} />
|
619
634
|
<Checkbox label={{text: 'Defined label side - right', side: 'end'}} onChange={(value) => console.log('value changed', value)} />
|
620
|
-
<Checkbox label={{text: 'This checkbox is disabled'}} onChange={(value) => console.log('value changed', value)} disabled={true}/>
|
635
|
+
<Checkbox label={{text: 'This checkbox is disabled'}} onChange={(value) => console.log('value changed', value)} disabled={true} />
|
621
636
|
</div>
|
622
637
|
|
623
638
|
<hr />
|
@@ -636,10 +651,10 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
636
651
|
<CheckboxButton label={{text: 'Hell yeah!'}} onChange={(value) => console.log('value changed', value)} />
|
637
652
|
</div>
|
638
653
|
|
639
|
-
<hr
|
654
|
+
<hr />
|
655
|
+
|
640
656
|
<h3 className="docs-page__h3 sd-margin-y--0 sd-margin-b--3">Duration input</h3>
|
641
657
|
|
642
|
-
|
643
658
|
<div className="sd-input">
|
644
659
|
<label className="sd-input__label" id="duration01">Input label</label>
|
645
660
|
<div className="sd-input__duration-input" id="id06" aria-describedby="duration01">
|
@@ -658,48 +673,40 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
658
673
|
|
659
674
|
<h3 className="docs-page__h3 sd-margin-y--0 sd-margin-b--3">testiramt</h3>
|
660
675
|
|
661
|
-
|
662
|
-
<div className="sd-input">
|
663
|
-
<label className="sd-input__label" id="duration01">Input label</label>
|
664
|
-
{/* temp */}
|
665
|
-
<div id="pr_id_1" className="p-dropdown p-component p-inputwrapper p-dropdown-clearable"><div className="p-hidden-accessible"><input type="text" aria-haspopup="listbox" /></div><div className="p-hidden-accessible p-dropdown-hidden-select"><select aria-hidden="true"><option value=""> </option></select></div><span className="p-dropdown-label p-inputtext p-placeholder"><div>Select a color</div></span><div className="p-dropdown-trigger" role="button" aria-haspopup="listbox" aria-expanded="false"><span className="p-dropdown-trigger-icon pi pi-chevron-down p-clickable"></span></div></div>
|
666
|
-
{/* temp */}
|
667
|
-
|
668
|
-
|
669
|
-
<div className="sd-input__char-count">0 / 30</div>
|
670
|
-
<div className="sd-input__message-box">
|
671
|
-
<div className="sd-input__hint">This is some hint message</div>
|
672
|
-
</div>
|
673
|
-
</div>
|
674
|
-
|
675
676
|
<hr />
|
676
677
|
|
677
678
|
<h3 className="docs-page__h3 sd-margin-t--2 sd-margin-b--0">Radio</h3>
|
679
|
+
|
678
680
|
<hr />
|
681
|
+
|
679
682
|
<div className="sd-check__group-new">
|
680
|
-
<RadioGroup
|
681
|
-
{
|
682
|
-
{
|
683
|
-
|
684
|
-
|
683
|
+
<RadioGroup
|
684
|
+
value={this.state.value2}
|
685
|
+
options={[
|
686
|
+
{label: "Radio 1", value: "somevalue1"},
|
687
|
+
{label: "Radio 2", value: "somevalue2"},
|
688
|
+
{label: "Radio 3", value: "somevalue3"},
|
689
|
+
]}
|
690
|
+
onChange={(value) => this.setState(() => ({ value2: value }))}
|
691
|
+
/>
|
685
692
|
</div>
|
686
693
|
|
687
694
|
<hr />
|
688
695
|
|
689
696
|
<div className="sd-check__group-new sd-check-button__group--left">
|
690
|
-
<RadioButtonGroup
|
691
|
-
{
|
692
|
-
{
|
693
|
-
|
694
|
-
|
697
|
+
<RadioButtonGroup
|
698
|
+
value={this.state.value3}
|
699
|
+
options={[
|
700
|
+
{label: "RadioButton with an icon", value: "somevalue4", icon: "th-list"},
|
701
|
+
{label: "RadioButton with no visible text, only an icon", value: "somevalue5", icon: "th", labelHidden: true},
|
702
|
+
{label: "Normal RadioButton", value: "somevalue6"},
|
703
|
+
]}
|
704
|
+
onChange={(value) => this.setState(() => ({ value3: value }))}
|
705
|
+
/>
|
695
706
|
</div>
|
696
707
|
|
697
|
-
|
698
708
|
<hr />
|
699
|
-
|
700
|
-
{/* <Carousel></Carousel> */}
|
701
709
|
|
702
|
-
<hr />
|
703
710
|
<div className="sd-thumb-carousel" data-theme="dark-ui">
|
704
711
|
<div className="sd-thumb-carousel__header">
|
705
712
|
<h4 className="sd-thumb-carousel__heading">Mountain bike Championships gallery</h4>
|
@@ -754,7 +761,9 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
754
761
|
parturient montes, nascetur ridiculus mus.
|
755
762
|
</div>
|
756
763
|
</div>
|
764
|
+
|
757
765
|
<hr />
|
766
|
+
|
758
767
|
<div className="button-group button-group--comfort">
|
759
768
|
<div className="color-swatch colour-test--1"></div>
|
760
769
|
<div className="color-swatch colour-test--2"></div>
|
@@ -762,14 +771,21 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
762
771
|
</div>
|
763
772
|
|
764
773
|
<hr />
|
774
|
+
|
765
775
|
<Container className='sd-padding--4 sd-panel-bg--100 sd-radius--large'>
|
766
|
-
<ThemeSelector
|
767
|
-
|
768
|
-
{
|
769
|
-
|
770
|
-
|
776
|
+
<ThemeSelector
|
777
|
+
size='small'
|
778
|
+
options={[
|
779
|
+
{label: 'Light', value: 'light', theme: 'light'},
|
780
|
+
{label: 'Dark', value: 'dark', theme: 'dark'},
|
781
|
+
{label: 'High Contrast', value: 'high-contrast', theme: 'contrast-light', disabled: true},
|
782
|
+
]}
|
783
|
+
onChange={($event)=>{this.setState({selctedTheme: $event})}} value={this.state.selctedTheme}
|
784
|
+
/>
|
771
785
|
</Container>
|
786
|
+
|
772
787
|
<hr />
|
788
|
+
|
773
789
|
<Container className='sd-padding--4 sd-panel-bg--100 sd-radius--large'>
|
774
790
|
<Button text="Exit" type='primary' onClick={()=> false} />
|
775
791
|
<Divider />
|
@@ -777,16 +793,19 @@ export class TestGround extends React.Component<IProps, IState> {
|
|
777
793
|
<Divider />
|
778
794
|
<Button text="Save" type='primary' onClick={()=> false} />
|
779
795
|
</Container>
|
796
|
+
|
780
797
|
<hr />
|
798
|
+
|
781
799
|
<Container className='sd-padding--4 sd-panel-bg--100 sd-radius--large'>
|
782
|
-
|
783
800
|
<InputWrapper
|
784
801
|
label="Label"
|
785
802
|
invalid={false}>
|
786
803
|
<input type='text' />
|
787
804
|
</InputWrapper>
|
788
805
|
</Container>
|
806
|
+
|
789
807
|
<hr />
|
808
|
+
|
790
809
|
<Container className='sd-padding--4 sd-panel-bg--100 sd-radius--large'>
|
791
810
|
<div className='sd-dropzone__drop-target'>
|
792
811
|
<div className='sd-dropzone__target-border'></div>
|