superdesk-ui-framework 3.0.0-beta.0 → 3.0.1-beta.3
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/.vscode/settings.json +5 -0
- package/app/fonts/sd_big-icons.eot +0 -0
- package/app/fonts/sd_big-icons.svg +55 -53
- package/app/fonts/sd_big-icons.ttf +0 -0
- package/app/fonts/sd_big-icons.woff +0 -0
- package/app/fonts/sd_icons.eot +0 -0
- package/app/fonts/sd_icons.svg +1 -0
- package/app/fonts/sd_icons.ttf +0 -0
- package/app/fonts/sd_icons.woff +0 -0
- package/app/img/SD-logo.svg +52 -0
- package/app/img/dots.svg +3 -0
- package/app/img/spinner.svg +3 -0
- package/app/img/themes/theme-base.svg +1 -0
- package/app/img/themes/theme-contrast.svg +45 -0
- package/app/img/themes/theme-dark.svg +1 -0
- package/app/img/themes/theme-light.svg +1 -0
- package/app/index.js +1 -1
- package/app/scripts/modals.js +22 -9
- package/app/styles/_accessibility.scss +312 -4
- package/app/styles/_alerts.scss +57 -19
- package/app/styles/_avatar.scss +25 -1
- package/app/styles/_badge.scss +2 -2
- package/app/styles/_big-icon-font.scss +64 -24
- package/app/styles/_boxed-list.scss +67 -21
- package/app/styles/_buttons.scss +435 -332
- package/app/styles/_carousel.scss +17 -11
- package/app/styles/_design-tokens.scss +2 -0
- package/app/styles/_hamburger.scss +160 -0
- package/app/styles/_helpers.scss +198 -34
- package/app/styles/_icon-font.scss +344 -307
- package/app/styles/_icon-labels.scss +66 -10
- package/app/styles/_labels.scss +12 -6
- package/app/styles/_loaders.scss +13 -0
- package/app/styles/_master-desk.scss +5 -5
- package/app/styles/_mixins.scss +13 -3
- package/app/styles/_modals.scss +4 -28
- package/app/styles/_normalize.scss +1 -0
- package/app/styles/_panel-info.scss +19 -14
- package/app/styles/_sd-tag-input.scss +104 -3
- package/app/styles/_simple-list.scss +39 -17
- package/app/styles/_spinner.scss +46 -0
- package/app/styles/_table-list.scss +244 -0
- package/app/styles/_tabs.scss +6 -8
- package/app/styles/_tag-labels.scss +11 -2
- package/app/styles/_thumb-carousel.scss +11 -10
- package/app/styles/_toggle-box.scss +46 -12
- package/app/styles/_toggle-button.scss +42 -0
- package/app/styles/_tooltips.scss +3 -3
- package/app/styles/_variables.scss +0 -1
- package/app/styles/app.scss +13 -2
- package/app/styles/components/_card-item.scss +33 -21
- package/app/styles/components/_list-item.scss +32 -23
- package/app/styles/components/_sd-dropzone.scss +114 -0
- package/app/styles/components/_sd-grid-item.scss +2 -2
- package/app/styles/components/_sd-notification-panel.scss +48 -0
- package/app/styles/components/_sd-searchbar.scss +5 -98
- package/app/styles/components/_subnav.scss +149 -120
- package/app/styles/components/_theme-selector.scss +189 -0
- package/app/styles/design-tokens/_design-tokens-general.scss +81 -0
- package/app/styles/{variables → design-tokens}/_new-colors.scss +41 -20
- package/app/styles/dropdowns/_basic-dropdown.scss +30 -3
- package/app/styles/editor/_editor-buttons.scss +54 -0
- package/app/styles/{_editor-themes.scss → editor/_editor-themes.scss} +0 -0
- package/app/styles/form-elements/_checkbox.scss +85 -58
- package/app/styles/form-elements/_forms-general.scss +90 -14
- package/app/styles/form-elements/_inputs.scss +305 -65
- package/app/styles/form-elements/_select-grid.scss +79 -0
- package/app/styles/grids/_basic-grid.scss +52 -26
- package/app/styles/grids/_grid-layout.scss +174 -66
- package/app/styles/grids/_layout-grid.scss +4 -4
- package/app/styles/grids/_sd-kanban-list.scss +2 -2
- package/app/styles/interface-elements/_side-panel.scss +87 -58
- package/app/styles/layout/_basic-layout.scss +1 -4
- package/app/styles/layout/_container.scss +35 -0
- package/app/styles/layout/_editor.scss +398 -0
- package/app/styles/menus/_sd-bottom-tabs.scss +70 -0
- package/app/styles/menus/_sd-left-navigation.scss +38 -3
- package/app/styles/menus/_sd-sidebar-menu.scss +109 -14
- package/app/styles/menus/_sd-top-menu.scss +19 -5
- package/app/styles/pr-superdesk-theme.scss +3 -0
- package/app/styles/primereact/_pr-datepicker.scss +58 -7
- package/app/styles/primereact/_pr-dialog.scss +39 -7
- package/app/styles/primereact/_pr-dropdown.scss +155 -8
- package/app/styles/primereact/_pr-general.scss +4 -0
- package/app/styles/primereact/_pr-skeleton.scss +35 -0
- package/app/styles/variables/_colors.scss +2 -452
- package/app/styles/variables/_dimensions.scss +85 -1
- package/app/styles/variables/_form-elements.scss +0 -2
- package/app-typescript/components/Alert.tsx +16 -1
- package/app-typescript/components/Avatar.tsx +21 -0
- package/app-typescript/components/Button.tsx +7 -1
- package/app-typescript/components/ButtonGroup.tsx +5 -4
- package/app-typescript/components/Carousel.tsx +1 -1
- package/app-typescript/components/CheckButtonGroup.tsx +19 -5
- package/app-typescript/components/CheckGroup.tsx +2 -1
- package/app-typescript/components/Checkbox.tsx +7 -3
- package/app-typescript/components/CheckboxButton.tsx +9 -2
- package/app-typescript/components/CreateButton.tsx +38 -0
- package/app-typescript/components/DatePicker.tsx +73 -22
- package/app-typescript/components/DonutChart.tsx +1 -1
- package/app-typescript/components/DropZone.tsx +89 -0
- package/app-typescript/components/Dropdown.tsx +9 -1
- package/app-typescript/components/Editor/EditorButton.tsx +34 -0
- package/app-typescript/components/Form/FormGroup.tsx +33 -0
- package/app-typescript/components/Form/FormItem.tsx +20 -0
- package/app-typescript/components/Form/FormLabel.tsx +22 -0
- package/app-typescript/components/Form/FormRow.tsx +40 -0
- package/app-typescript/components/Form/FormText.tsx +15 -0
- package/app-typescript/components/Form/index.tsx +5 -0
- package/app-typescript/components/Icon.tsx +4 -2
- package/app-typescript/components/IconButton.tsx +30 -12
- package/app-typescript/components/IconLabel.tsx +8 -1
- package/app-typescript/components/IconPicker.tsx +277 -0
- package/app-typescript/components/Input.tsx +58 -9
- package/app-typescript/components/Layouts/AuthorinInnerSideBar.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringContainer.tsx +27 -0
- package/app-typescript/components/Layouts/AuthoringFrame.tsx +72 -0
- package/app-typescript/components/Layouts/AuthoringFrameContainer.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringFrameLeftBar.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringFrameMain.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringFrameNavBar.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringFrameOverlay.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringFrameRightBar.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringFrameSidePanel.tsx +22 -0
- package/app-typescript/components/Layouts/AuthoringFrameSidePanelOverlay.tsx +22 -0
- package/app-typescript/components/Layouts/AuthoringInnerBody.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringInnerHeader.tsx +40 -0
- package/app-typescript/components/Layouts/AuthoringMain.tsx +50 -0
- package/app-typescript/components/Layouts/AuthoringMainContainer.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringMainContent.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringMainToolBar.tsx +21 -0
- package/app-typescript/components/Layouts/BottomBarAction.tsx +35 -0
- package/app-typescript/components/Layouts/Container.tsx +30 -0
- package/app-typescript/components/Layouts/ContentSplitter.tsx +23 -0
- package/app-typescript/components/Layouts/CoreLayout.tsx +62 -0
- package/app-typescript/components/Layouts/CoreLayoutContainer.tsx +16 -0
- package/app-typescript/components/Layouts/CoreLayoutFooter.tsx +15 -0
- package/app-typescript/components/Layouts/CoreLayoutMain.tsx +16 -0
- package/app-typescript/components/Layouts/CoreLayoutOverlay.tsx +15 -0
- package/app-typescript/components/Layouts/CoreLayoutSlideInMenu.tsx +24 -0
- package/app-typescript/components/Layouts/CoreLayoutTopMenu.tsx +35 -0
- package/app-typescript/components/Layouts/HamburgerButton.tsx +41 -0
- package/app-typescript/components/Layouts/HeaderPanel.tsx +15 -0
- package/app-typescript/components/Layouts/Layout.tsx +33 -0
- package/app-typescript/components/Layouts/LayoutContainer.tsx +15 -0
- package/app-typescript/components/Layouts/LeftPanel.tsx +24 -0
- package/app-typescript/components/Layouts/MainMenu.tsx +101 -0
- package/app-typescript/components/Layouts/MainPanel.tsx +27 -0
- package/app-typescript/components/Layouts/NotificationPanel.tsx +109 -0
- package/app-typescript/components/Layouts/OverlayPanel.tsx +19 -0
- package/app-typescript/components/Layouts/PageLayout.tsx +51 -0
- package/app-typescript/components/Layouts/Panel.tsx +208 -0
- package/app-typescript/components/Layouts/RightPanel.tsx +16 -0
- package/app-typescript/components/Layouts/index.tsx +43 -0
- package/app-typescript/components/LeftMenu.tsx +129 -49
- package/app-typescript/components/ListItemLoader.tsx +30 -0
- package/app-typescript/components/Lists/BoxedList.tsx +169 -0
- package/app-typescript/components/Lists/ContentList.tsx +100 -0
- package/app-typescript/components/Lists/SimpleList.tsx +54 -0
- package/app-typescript/components/Lists/TableList.tsx +208 -0
- package/app-typescript/components/Lists/index.tsx +2 -0
- package/app-typescript/components/Menu.tsx +31 -7
- package/app-typescript/components/Modal.tsx +31 -18
- package/app-typescript/components/MultiSelect.tsx +112 -0
- package/app-typescript/components/NavButton.tsx +4 -0
- package/app-typescript/components/Navigation/BottomNav.tsx +82 -0
- package/app-typescript/components/Navigation/QuickNavBar.tsx +114 -0
- package/app-typescript/components/Navigation/SideBarMenu.tsx +68 -0
- package/app-typescript/components/Navigation/SideBarTabs.tsx +87 -0
- package/app-typescript/components/Navigation/index.tsx +3 -0
- package/app-typescript/components/RadioButtonGroup.tsx +113 -0
- package/app-typescript/components/RadioGroup.tsx +69 -0
- package/app-typescript/components/SearchBar.tsx +79 -0
- package/app-typescript/components/Select.tsx +22 -4
- package/app-typescript/components/SelectGrid.tsx +233 -0
- package/app-typescript/components/SidebarMenu.tsx +68 -0
- package/app-typescript/components/Skeleton.tsx +48 -0
- package/app-typescript/components/SlidingToolbar.tsx +8 -2
- package/app-typescript/components/Spinner.tsx +32 -0
- package/app-typescript/components/SubNav.tsx +25 -4
- package/app-typescript/components/Switch.tsx +34 -12
- package/app-typescript/components/SwitchGroup.tsx +2 -1
- package/app-typescript/components/Tag.tsx +31 -7
- package/app-typescript/components/Text/Heading.tsx +67 -0
- package/app-typescript/components/Text/Text.tsx +36 -0
- package/app-typescript/components/Text/Time.tsx +34 -0
- package/app-typescript/components/ThemeSelector.tsx +113 -0
- package/app-typescript/components/Togglebox.tsx +9 -7
- package/app-typescript/components/Tooltip.tsx +7 -5
- package/app-typescript/components/TreeSelect.tsx +330 -0
- package/app-typescript/components/WithSizeObserver.tsx +88 -0
- package/app-typescript/dist/components/Alert.d.ts +16 -0
- package/app-typescript/dist/components/Autocomplete.d.ts +48 -0
- package/app-typescript/dist/components/Avatar.d.ts +33 -0
- package/app-typescript/dist/components/Badge.d.ts +13 -0
- package/app-typescript/dist/components/Button.d.ts +23 -0
- package/app-typescript/dist/components/ButtonGroup.d.ts +12 -0
- package/app-typescript/dist/components/CheckButtonGroup.d.ts +11 -0
- package/app-typescript/dist/components/CheckGroup.d.ts +9 -0
- package/app-typescript/dist/components/Checkbox.d.ts +19 -0
- package/app-typescript/dist/components/CheckboxButton.d.ts +19 -0
- package/app-typescript/dist/components/DatePicker.d.ts +37 -0
- package/app-typescript/dist/components/Divider.d.ts +9 -0
- package/app-typescript/dist/components/DonutChart.d.ts +12 -0
- package/app-typescript/dist/components/Dropdown.d.ts +28 -0
- package/app-typescript/dist/components/DropdownFirst.d.ts +42 -0
- package/app-typescript/dist/components/EmptyState.d.ts +11 -0
- package/app-typescript/dist/components/FormLabel.d.ts +9 -0
- package/app-typescript/dist/components/Genie.d.ts +13 -0
- package/app-typescript/dist/components/GridItem.d.ts +69 -0
- package/app-typescript/dist/components/GridList.d.ts +14 -0
- package/app-typescript/dist/components/HeadingText.d.ts +10 -0
- package/app-typescript/dist/components/HelloWorld.d.ts +8 -0
- package/app-typescript/dist/components/Icon.d.ts +12 -0
- package/app-typescript/dist/components/IconButton.d.ts +12 -0
- package/app-typescript/dist/components/IconLabel.d.ts +11 -0
- package/app-typescript/dist/components/Input.d.ts +24 -0
- package/app-typescript/dist/components/Label.d.ts +15 -0
- package/app-typescript/dist/components/LeftMenu.d.ts +26 -0
- package/app-typescript/dist/components/Loader.d.ts +8 -0
- package/app-typescript/dist/components/NavButton.d.ts +15 -0
- package/app-typescript/dist/components/Popover.d.ts +13 -0
- package/app-typescript/dist/components/PropsList.d.ts +15 -0
- package/{react → app-typescript/dist}/components/Radio.d.ts +7 -8
- package/{react → app-typescript/dist}/components/RadioButton.d.ts +0 -0
- package/app-typescript/dist/components/Select.d.ts +29 -0
- package/app-typescript/dist/components/SelectWithTemplate.d.ts +32 -0
- package/app-typescript/dist/components/SlidingToolbar.d.ts +8 -0
- package/app-typescript/dist/components/StrechBar.d.ts +4 -0
- package/app-typescript/dist/components/SubNav.d.ts +10 -0
- package/app-typescript/dist/components/Switch.d.ts +12 -0
- package/app-typescript/dist/components/TabCustom.d.ts +25 -0
- package/app-typescript/dist/components/TabList.d.ts +22 -0
- package/app-typescript/dist/components/Tag.d.ts +9 -0
- package/app-typescript/dist/components/TagInput.d.ts +7 -0
- package/app-typescript/dist/components/TagInputTest.d.ts +18 -0
- package/app-typescript/dist/components/TimePicker.d.ts +11 -0
- package/app-typescript/dist/components/Tooltip.d.ts +11 -0
- package/app-typescript/dist/components/_Positioner.d.ts +27 -0
- package/app-typescript/dist/index.d.ts +56 -0
- package/app-typescript/helpers.tsx +3 -0
- package/app-typescript/index.ts +25 -3
- package/dist/SD-logo.svg +52 -0
- package/dist/avatar-2.jpg +0 -0
- package/dist/avatar-3.jpg +0 -0
- package/dist/avatar-4.jpg +0 -0
- package/dist/avatar-5.jpg +0 -0
- package/dist/avatar-6.jpg +0 -0
- package/dist/components/basic-grid.html +1 -1
- package/dist/components/checkbox.html +1 -1
- package/dist/components/modals.html +1 -0
- package/dist/dots.svg +3 -0
- package/dist/examples.bundle.css +8628 -1602
- package/dist/examples.bundle.js +73031 -48307
- package/dist/playgrounds/accessible-theme-test.html +1 -1
- package/dist/playgrounds/boxed-list.html +1 -1
- package/dist/playgrounds/cards.html +9 -4
- package/dist/playgrounds/editor-3-test.html +15 -0
- package/dist/playgrounds/form-layout.html +9 -7
- package/dist/playgrounds/layout-test-2.html +1 -1
- package/dist/playgrounds/list-item-test.html +1 -1
- package/dist/playgrounds/master-desk.html +2 -4
- package/dist/playgrounds/media-carousel.html +1 -1
- package/dist/playgrounds/photo-desk.html +1 -1
- package/dist/playgrounds/planning.html +1 -1
- package/dist/playgrounds/publish.html +1 -1
- package/dist/playgrounds/publisher-content-analytics.html +1 -1
- package/dist/playgrounds/publisher-content-list-automatic.html +1 -1
- package/dist/playgrounds/publisher-content-list-manual.html +1 -1
- package/dist/playgrounds/publisher-content-lists.html +1 -1
- package/dist/playgrounds/publisher-dashboard.html +1 -1
- package/dist/playgrounds/publisher-output-control.html +1 -1
- package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +145 -0
- package/dist/playgrounds/react-playgrounds/EditorTest.tsx +459 -0
- package/dist/playgrounds/react-playgrounds/FirstPlayground.tsx +4 -4
- package/dist/playgrounds/react-playgrounds/Index.tsx +7 -1
- package/dist/playgrounds/react-playgrounds/PageLayoutTest.tsx +161 -0
- package/dist/playgrounds/react-playgrounds/PersonalProfile.tsx +635 -0
- package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +466 -0
- package/dist/playgrounds/react-playgrounds/Rundowns.tsx +1002 -0
- package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +10 -10
- package/dist/playgrounds/react-playgrounds/TestGround.tsx +276 -23
- package/dist/playgrounds/react-playgrounds/UiPlayground.tsx +12 -79
- package/dist/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +26 -0
- package/dist/playgrounds/react-playgrounds/components/ContentSplitter.tsx +22 -0
- package/dist/playgrounds/react-playgrounds/components/Index.tsx +6 -1
- package/dist/playgrounds/react-playgrounds/components/Layout.tsx +1 -1
- package/dist/playgrounds/react-playgrounds/components/MainPanel.tsx +11 -1
- package/dist/playgrounds/react-playgrounds/components/SearchBar.tsx +51 -9
- package/dist/playgrounds/swimlane-view.html +1 -1
- package/dist/playgrounds/toasts.html +1 -1
- package/dist/playgrounds/video-editor.html +1 -1
- package/dist/react/Alerts.tsx +91 -18
- package/dist/react/Avatar.tsx +314 -127
- package/dist/react/BoxedList.tsx +362 -0
- package/dist/react/ButtonGroups.tsx +66 -65
- package/dist/react/Buttons.tsx +65 -113
- package/dist/react/Carousel.tsx +2 -3
- package/dist/react/Checkboxs.tsx +66 -25
- package/dist/react/Container.tsx +143 -0
- package/dist/react/ContentList.tsx +280 -0
- package/dist/react/CreateButton.tsx +71 -0
- package/dist/react/DatePicker.tsx +10 -5
- package/dist/react/DropZone.tsx +111 -0
- package/dist/react/Heading.tsx +106 -0
- package/dist/react/IconButtons.tsx +51 -21
- package/dist/react/IconFont.tsx +7 -6
- package/dist/react/IconLabels.tsx +24 -2
- package/dist/react/IconPicker.tsx +65 -0
- package/dist/react/Index.tsx +120 -19
- package/dist/react/Inputs.tsx +142 -4
- package/dist/react/LeftNavigations.tsx +161 -9
- package/dist/react/ListItems.tsx +34 -0
- package/dist/react/Modal.tsx +8 -7
- package/dist/react/MultiSelect.tsx +198 -0
- package/dist/react/NavButtons.tsx +4 -4
- package/dist/react/Panel.tsx +366 -0
- package/dist/react/QuickNavigationBar.tsx +142 -0
- package/dist/react/RadioGroup.tsx +351 -0
- package/dist/react/SelectGrid.tsx +121 -0
- package/dist/react/Selects.tsx +57 -0
- package/dist/react/SimpleList.tsx +148 -0
- package/dist/react/SubNav.tsx +65 -18
- package/dist/react/TableList.tsx +268 -0
- package/dist/react/Tags.tsx +57 -5
- package/dist/react/Text.tsx +134 -0
- package/dist/react/TreeSelect.tsx +178 -0
- package/dist/react/WithSizeObserver.tsx +44 -0
- package/dist/react.html +4 -0
- package/dist/sd_big-icons.eot +0 -0
- package/dist/sd_big-icons.svg +55 -53
- package/dist/sd_big-icons.ttf +0 -0
- package/dist/sd_big-icons.woff +0 -0
- package/dist/sd_icons.eot +0 -0
- package/dist/sd_icons.svg +1 -0
- package/dist/sd_icons.ttf +0 -0
- package/dist/sd_icons.woff +0 -0
- package/dist/superdesk-ui.bundle.css +54140 -25145
- package/dist/superdesk-ui.bundle.js +58228 -51200
- package/dist/vendor.bundle.js +25688 -25666
- package/examples/css/docs-page.css +99 -29
- package/examples/img/avatar-2.jpg +0 -0
- package/examples/img/avatar-3.jpg +0 -0
- package/examples/img/avatar-4.jpg +0 -0
- package/examples/img/avatar-5.jpg +0 -0
- package/examples/img/avatar-6.jpg +0 -0
- package/examples/index.js +28 -0
- package/examples/pages/components/basic-grid.html +1 -1
- package/examples/pages/components/checkbox.html +1 -1
- package/examples/pages/components/modals.html +1 -0
- package/examples/pages/playgrounds/accessible-theme-test.html +1 -1
- package/examples/pages/playgrounds/boxed-list.html +1 -1
- package/examples/pages/playgrounds/cards.html +9 -4
- package/examples/pages/playgrounds/editor-3-test.html +15 -0
- package/examples/pages/playgrounds/form-layout.html +9 -7
- package/examples/pages/playgrounds/layout-test-2.html +1 -1
- package/examples/pages/playgrounds/list-item-test.html +1 -1
- package/examples/pages/playgrounds/master-desk.html +2 -4
- package/examples/pages/playgrounds/media-carousel.html +1 -1
- package/examples/pages/playgrounds/photo-desk.html +1 -1
- package/examples/pages/playgrounds/planning.html +1 -1
- package/examples/pages/playgrounds/publish.html +1 -1
- package/examples/pages/playgrounds/publisher-content-analytics.html +1 -1
- package/examples/pages/playgrounds/publisher-content-list-automatic.html +1 -1
- package/examples/pages/playgrounds/publisher-content-list-manual.html +1 -1
- package/examples/pages/playgrounds/publisher-content-lists.html +1 -1
- package/examples/pages/playgrounds/publisher-dashboard.html +1 -1
- package/examples/pages/playgrounds/publisher-output-control.html +1 -1
- package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +145 -0
- package/examples/pages/playgrounds/react-playgrounds/EditorTest.tsx +459 -0
- package/examples/pages/playgrounds/react-playgrounds/FirstPlayground.tsx +4 -4
- package/examples/pages/playgrounds/react-playgrounds/Index.tsx +7 -1
- package/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.tsx +161 -0
- package/examples/pages/playgrounds/react-playgrounds/PersonalProfile.tsx +635 -0
- package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +466 -0
- package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +1002 -0
- package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +10 -10
- package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +276 -23
- package/examples/pages/playgrounds/react-playgrounds/UiPlayground.tsx +12 -79
- package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +26 -0
- package/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.tsx +22 -0
- package/examples/pages/playgrounds/react-playgrounds/components/Index.tsx +6 -1
- package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +1 -1
- package/examples/pages/playgrounds/react-playgrounds/components/MainPanel.tsx +11 -1
- package/examples/pages/playgrounds/react-playgrounds/components/SearchBar.tsx +51 -9
- package/examples/pages/playgrounds/swimlane-view.html +1 -1
- package/examples/pages/playgrounds/toasts.html +1 -1
- package/examples/pages/playgrounds/video-editor.html +1 -1
- package/examples/pages/react/Alerts.tsx +91 -18
- package/examples/pages/react/Avatar.tsx +314 -127
- package/examples/pages/react/BoxedList.tsx +362 -0
- package/examples/pages/react/ButtonGroups.tsx +66 -65
- package/examples/pages/react/Buttons.tsx +65 -113
- package/examples/pages/react/Carousel.tsx +2 -3
- package/examples/pages/react/Checkboxs.tsx +66 -25
- package/examples/pages/react/Container.tsx +143 -0
- package/examples/pages/react/ContentList.tsx +280 -0
- package/examples/pages/react/CreateButton.tsx +71 -0
- package/examples/pages/react/DatePicker.tsx +10 -5
- package/examples/pages/react/DropZone.tsx +111 -0
- package/examples/pages/react/Heading.tsx +106 -0
- package/examples/pages/react/IconButtons.tsx +51 -21
- package/examples/pages/react/IconFont.tsx +7 -6
- package/examples/pages/react/IconLabels.tsx +24 -2
- package/examples/pages/react/IconPicker.tsx +65 -0
- package/examples/pages/react/Index.tsx +120 -19
- package/examples/pages/react/Inputs.tsx +142 -4
- package/examples/pages/react/LeftNavigations.tsx +161 -9
- package/examples/pages/react/ListItems.tsx +34 -0
- package/examples/pages/react/Modal.tsx +8 -7
- package/examples/pages/react/MultiSelect.tsx +198 -0
- package/examples/pages/react/NavButtons.tsx +4 -4
- package/examples/pages/react/Panel.tsx +366 -0
- package/examples/pages/react/QuickNavigationBar.tsx +142 -0
- package/examples/pages/react/RadioGroup.tsx +351 -0
- package/examples/pages/react/SelectGrid.tsx +121 -0
- package/examples/pages/react/Selects.tsx +57 -0
- package/examples/pages/react/SimpleList.tsx +148 -0
- package/examples/pages/react/SubNav.tsx +65 -18
- package/examples/pages/react/TableList.tsx +268 -0
- package/examples/pages/react/Tags.tsx +57 -5
- package/examples/pages/react/Text.tsx +134 -0
- package/examples/pages/react/TreeSelect.tsx +178 -0
- package/examples/pages/react/WithSizeObserver.tsx +44 -0
- package/examples/pages/react.html +4 -0
- package/package.json +12 -7
- package/patches/@superdesk+primereact+5.0.2-4.patch +44 -0
- package/react/components/Alert.d.ts +3 -0
- package/react/components/Alert.js +17 -7
- package/react/components/Autocomplete.js +16 -12
- package/react/components/Avatar.d.ts +9 -0
- package/react/components/Avatar.js +24 -4
- package/react/components/Badge.js +7 -5
- package/react/components/Button.d.ts +2 -0
- package/react/components/Button.js +12 -8
- package/react/components/ButtonGroup.d.ts +3 -2
- package/react/components/ButtonGroup.js +9 -7
- package/react/components/Carousel.js +5 -3
- package/react/components/CheckButtonGroup.d.ts +3 -1
- package/react/components/CheckButtonGroup.js +14 -6
- package/react/components/CheckGroup.d.ts +1 -0
- package/react/components/CheckGroup.js +6 -4
- package/react/components/Checkbox.d.ts +2 -1
- package/react/components/Checkbox.js +7 -5
- package/react/components/CheckboxButton.d.ts +1 -0
- package/react/components/CheckboxButton.js +8 -6
- package/react/components/ContentDivider.js +8 -6
- package/react/components/CreateButton.d.ts +17 -0
- package/react/components/CreateButton.js +68 -0
- package/react/components/DatePicker.d.ts +10 -0
- package/react/components/DatePicker.js +61 -31
- package/react/components/Divider.js +6 -4
- package/react/components/DonutChart.d.ts +1 -1
- package/react/components/DonutChart.js +24 -6
- package/react/components/DropZone.d.ts +25 -0
- package/react/components/DropZone.js +95 -0
- package/react/components/Dropdown.d.ts +1 -0
- package/react/components/Dropdown.js +10 -9
- package/react/components/DropdownFirst.js +18 -11
- package/react/components/EmptyState.js +7 -5
- package/react/components/Form/FormGroup.d.ts +13 -0
- package/react/components/Form/FormGroup.js +63 -0
- package/react/components/Form/FormItem.d.ts +9 -0
- package/react/components/Form/FormItem.js +56 -0
- package/react/components/Form/FormLabel.d.ts +10 -0
- package/react/components/Form/FormLabel.js +56 -0
- package/react/components/Form/FormRow.d.ts +17 -0
- package/react/components/Form/FormRow.js +64 -0
- package/react/components/Form/FormText.d.ts +8 -0
- package/react/components/Form/FormText.js +49 -0
- package/react/components/Form/index.d.ts +5 -0
- package/react/components/Form/index.js +13 -0
- package/react/components/FormLabel.js +5 -3
- package/react/components/GridItem.js +9 -7
- package/react/components/GridList.js +8 -6
- package/react/components/HeadingText.js +4 -2
- package/react/components/HelloWorld.js +4 -2
- package/react/components/Icon.d.ts +2 -1
- package/react/components/Icon.js +9 -6
- package/react/components/IconButton.d.ts +9 -2
- package/react/components/IconButton.js +17 -7
- package/react/components/IconLabel.d.ts +2 -0
- package/react/components/IconLabel.js +12 -7
- package/react/components/IconPicker.d.ts +24 -0
- package/react/components/IconPicker.js +287 -0
- package/react/components/Input.d.ts +25 -3
- package/react/components/Input.js +36 -12
- package/react/components/Label.js +10 -8
- package/react/components/Layouts/AuthorinInnerSideBar.d.ts +8 -0
- package/react/components/Layouts/AuthorinInnerSideBar.js +49 -0
- package/react/components/Layouts/AuthoringContainer.d.ts +11 -0
- package/react/components/Layouts/AuthoringContainer.js +60 -0
- package/react/components/Layouts/AuthoringFrame.d.ts +18 -0
- package/react/components/Layouts/AuthoringFrame.js +58 -0
- package/react/components/Layouts/AuthoringFrameContainer.d.ts +8 -0
- package/react/components/Layouts/AuthoringFrameContainer.js +49 -0
- package/react/components/Layouts/AuthoringFrameLeftBar.d.ts +8 -0
- package/react/components/Layouts/AuthoringFrameLeftBar.js +49 -0
- package/react/components/Layouts/AuthoringFrameMain.d.ts +8 -0
- package/react/components/Layouts/AuthoringFrameMain.js +49 -0
- package/react/components/Layouts/AuthoringFrameNavBar.d.ts +8 -0
- package/react/components/Layouts/AuthoringFrameNavBar.js +49 -0
- package/react/components/Layouts/AuthoringFrameOverlay.d.ts +8 -0
- package/react/components/Layouts/AuthoringFrameOverlay.js +49 -0
- package/react/components/Layouts/AuthoringFrameRightBar.d.ts +8 -0
- package/react/components/Layouts/AuthoringFrameRightBar.js +49 -0
- package/react/components/Layouts/AuthoringFrameSidePanel.d.ts +10 -0
- package/react/components/Layouts/AuthoringFrameSidePanel.js +58 -0
- package/react/components/Layouts/AuthoringFrameSidePanelOverlay.d.ts +9 -0
- package/react/components/Layouts/AuthoringFrameSidePanelOverlay.js +58 -0
- package/react/components/Layouts/AuthoringInnerBody.d.ts +8 -0
- package/react/components/Layouts/AuthoringInnerBody.js +49 -0
- package/react/components/Layouts/AuthoringInnerHeader.d.ts +14 -0
- package/react/components/Layouts/AuthoringInnerHeader.js +68 -0
- package/react/components/Layouts/AuthoringMain.d.ts +14 -0
- package/react/components/Layouts/AuthoringMain.js +55 -0
- package/react/components/Layouts/AuthoringMainContainer.d.ts +8 -0
- package/react/components/Layouts/AuthoringMainContainer.js +49 -0
- package/react/components/Layouts/AuthoringMainContent.d.ts +8 -0
- package/react/components/Layouts/AuthoringMainContent.js +49 -0
- package/react/components/Layouts/AuthoringMainToolBar.d.ts +9 -0
- package/react/components/Layouts/AuthoringMainToolBar.js +56 -0
- package/react/components/Layouts/BottomBarAction.d.ts +12 -0
- package/react/components/Layouts/BottomBarAction.js +59 -0
- package/react/components/Layouts/Container.d.ts +14 -0
- package/react/components/Layouts/Container.js +62 -0
- package/react/components/Layouts/ContentSplitter.d.ts +10 -0
- package/react/components/Layouts/ContentSplitter.js +58 -0
- package/react/components/Layouts/CoreLayout.d.ts +19 -0
- package/react/components/Layouts/CoreLayout.js +55 -0
- package/react/components/Layouts/CoreLayoutContainer.d.ts +9 -0
- package/react/components/Layouts/CoreLayoutContainer.js +49 -0
- package/react/components/Layouts/CoreLayoutFooter.d.ts +8 -0
- package/react/components/Layouts/CoreLayoutFooter.js +49 -0
- package/react/components/Layouts/CoreLayoutMain.d.ts +9 -0
- package/react/components/Layouts/CoreLayoutMain.js +49 -0
- package/react/components/Layouts/CoreLayoutOverlay.d.ts +8 -0
- package/react/components/Layouts/CoreLayoutOverlay.js +49 -0
- package/react/components/Layouts/CoreLayoutSlideInMenu.d.ts +11 -0
- package/react/components/Layouts/CoreLayoutSlideInMenu.js +58 -0
- package/react/components/Layouts/CoreLayoutTopMenu.d.ts +14 -0
- package/react/components/Layouts/CoreLayoutTopMenu.js +54 -0
- package/react/components/Layouts/HamburgerButton.d.ts +14 -0
- package/react/components/Layouts/HamburgerButton.js +63 -0
- package/react/components/Layouts/HeaderPanel.d.ts +8 -0
- package/react/components/Layouts/HeaderPanel.js +49 -0
- package/react/components/Layouts/Layout.d.ts +8 -0
- package/react/components/Layouts/Layout.js +36 -0
- package/react/components/Layouts/LayoutContainer.d.ts +8 -0
- package/react/components/Layouts/LayoutContainer.js +49 -0
- package/react/components/Layouts/LeftPanel.d.ts +9 -0
- package/react/components/Layouts/LeftPanel.js +56 -0
- package/react/components/Layouts/MainMenu.d.ts +41 -0
- package/react/components/Layouts/MainMenu.js +103 -0
- package/react/components/Layouts/MainPanel.d.ts +11 -0
- package/react/components/Layouts/MainPanel.js +59 -0
- package/react/components/Layouts/NotificationPanel.d.ts +45 -0
- package/react/components/Layouts/NotificationPanel.js +110 -0
- package/react/components/Layouts/OverlayPanel.d.ts +8 -0
- package/react/components/Layouts/OverlayPanel.js +51 -0
- package/react/components/Layouts/PageLayout.d.ts +16 -0
- package/react/components/Layouts/PageLayout.js +66 -0
- package/react/components/Layouts/Panel.d.ts +66 -0
- package/react/components/Layouts/Panel.js +168 -0
- package/react/components/Layouts/RightPanel.d.ts +9 -0
- package/react/components/Layouts/RightPanel.js +49 -0
- package/react/components/Layouts/index.d.ts +39 -0
- package/react/components/Layouts/index.js +86 -0
- package/react/components/LeftMenu.d.ts +10 -3
- package/react/components/LeftMenu.js +64 -18
- package/react/components/ListItemLoader.d.ts +4 -0
- package/react/components/ListItemLoader.js +64 -0
- package/react/components/Lists/BoxedList.d.ts +44 -0
- package/react/components/Lists/BoxedList.js +160 -0
- package/react/components/Lists/SimpleList.d.ts +21 -0
- package/react/components/Lists/SimpleList.js +80 -0
- package/react/components/Lists/index.d.ts +2 -0
- package/react/components/Lists/index.js +10 -0
- package/react/components/Loader.js +4 -2
- package/react/components/Menu.d.ts +2 -1
- package/react/components/Menu.js +48 -12
- package/react/components/Modal.d.ts +4 -1
- package/react/components/Modal.js +35 -6
- package/react/components/NavButton.d.ts +1 -0
- package/react/components/NavButton.js +9 -4
- package/react/components/Navigation/BottomNav.d.ts +23 -0
- package/react/components/Navigation/BottomNav.js +88 -0
- package/react/components/Navigation/QuickNavBar.d.ts +24 -0
- package/react/components/Navigation/QuickNavBar.js +117 -0
- package/react/components/Navigation/SideBarMenu.d.ts +21 -0
- package/react/components/Navigation/SideBarMenu.js +79 -0
- package/react/components/Navigation/SideBarTabs.d.ts +23 -0
- package/react/components/Navigation/SideBarTabs.js +88 -0
- package/react/components/Navigation/index.d.ts +3 -0
- package/react/components/Navigation/index.js +9 -0
- package/react/components/Popover.js +4 -2
- package/react/components/PropsList.js +4 -2
- package/react/components/RadioButtonGroup.d.ts +29 -0
- package/react/components/RadioButtonGroup.js +91 -0
- package/react/components/RadioGroup.d.ts +24 -0
- package/react/components/{Radio.js → RadioGroup.js} +20 -14
- package/react/components/SearchBar.d.ts +23 -0
- package/react/components/SearchBar.js +89 -0
- package/react/components/Select.d.ts +8 -1
- package/react/components/Select.js +22 -11
- package/react/components/SelectGrid.d.ts +45 -0
- package/react/components/SelectGrid.js +200 -0
- package/react/components/SelectWithTemplate.js +4 -2
- package/react/components/Skeleton.d.ts +30 -0
- package/react/components/Skeleton.js +76 -0
- package/react/components/SlidingToolbar.d.ts +1 -1
- package/react/components/SlidingToolbar.js +15 -3
- package/react/components/Spinner.d.ts +11 -0
- package/react/components/Spinner.js +71 -0
- package/react/components/StrechBar.js +4 -2
- package/react/components/SubNav.d.ts +8 -1
- package/react/components/SubNav.js +28 -8
- package/react/components/Switch.d.ts +4 -1
- package/react/components/Switch.js +25 -11
- package/react/components/SwitchGroup.d.ts +1 -0
- package/react/components/SwitchGroup.js +6 -4
- package/react/components/TabCustom.d.ts +0 -1
- package/react/components/TabCustom.js +11 -7
- package/react/components/TabList.js +6 -4
- package/react/components/Tag.d.ts +3 -2
- package/react/components/Tag.js +21 -9
- package/react/components/TagInput.d.ts +0 -1
- package/react/components/TagInput.js +7 -6
- package/react/components/TagInputTest.js +13 -9
- package/react/components/Text/Heading.d.ts +15 -0
- package/react/components/Text/Heading.js +79 -0
- package/react/components/Text/Text.d.ts +15 -0
- package/react/components/Text/Text.js +67 -0
- package/react/components/Text/Time.d.ts +15 -0
- package/react/components/Text/Time.js +65 -0
- package/react/components/ThemeSelector.d.ts +21 -0
- package/react/components/ThemeSelector.js +114 -0
- package/react/components/TimePicker.js +4 -2
- package/react/components/Toast.js +1 -1
- package/react/components/ToastMessage.js +6 -5
- package/react/components/ToastText.js +1 -1
- package/react/components/ToastWrapper.d.ts +2 -2
- package/react/components/ToastWrapper.js +14 -10
- package/react/components/Togglebox.d.ts +2 -1
- package/react/components/Togglebox.js +42 -14
- package/react/components/Tooltip.d.ts +1 -0
- package/react/components/Tooltip.js +14 -10
- package/react/components/WithSizeObserver.d.ts +25 -0
- package/react/components/WithSizeObserver.js +95 -0
- package/react/components/_Positioner.js +4 -2
- package/react/helpers.d.ts +1 -0
- package/react/helpers.js +7 -0
- package/react/index.d.ts +22 -3
- package/react/index.js +53 -4
- package/yarn-error.log +111 -0
- package/app/styles/variables/_design-tokens-general.scss +0 -136
- package/app-typescript/components/Radio.tsx +0 -57
- package/app-typescript/components/RadioButton.tsx +0 -57
- package/dist/react/Radios.tsx +0 -391
- package/examples/pages/react/Radios.tsx +0 -391
- package/react/components/RadioButton.js +0 -65
@@ -2,15 +2,17 @@
|
|
2
2
|
@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro:200,300,400&subset=latin-ext');
|
3
3
|
|
4
4
|
:root {
|
5
|
-
color: hsla(214, 13%,
|
5
|
+
color: hsla(214, 13%, 20%, 1);
|
6
6
|
--docs-page-color-bg-default: hsl(0, 0%, 97%);
|
7
7
|
--docs-page-color-bg-00: hsla(214, 13%, 96%, 1);
|
8
8
|
--docs-page-color-bg-10: hsla(0, 0%, 100%, 1);
|
9
|
-
--docs-page-color-bg__window-bar: hsl(
|
9
|
+
--docs-page-color-bg__window-bar: hsl(214, 13%, 90%);
|
10
|
+
--docs-page-color-bg__aside: hsla(214, 13%, 92%, 1);
|
11
|
+
--docs-page-color-bg__header: hsl(216, 45%, 24%);
|
10
12
|
|
11
13
|
--docs-page-color-bg__content-row--white: hsla(0, 0%, 100%, 1);
|
12
14
|
--docs-page-color-bg__content-row--grey: hsla(0, 0%, 95%, 1);
|
13
|
-
--docs-page-color-bg__example-box: hsla(
|
15
|
+
--docs-page-color-bg__example-box: hsla(214, 13%, 94%, 1);
|
14
16
|
--docs-page-color-bg__graphic-btn: hsla(0, 0%, 100%, 1);
|
15
17
|
--docs-page-color-bg__graphic-btn-graphic: linear-gradient(180deg, hsla(165, 57%, 95%, 1) 4%, hsla(191, 53%, 86%, 1) 96%);
|
16
18
|
|
@@ -24,13 +26,15 @@
|
|
24
26
|
--docs-page-color-bg-default: hsla(214, 13%, 96%, 1);
|
25
27
|
--docs-page-color-bg-00: hsla(214, 13%, 12%, 1);
|
26
28
|
--docs-page-color-bg-10: hsla(214, 13%, 12%, 1);
|
27
|
-
--docs-page-color-bg__window-bar: hsl(
|
29
|
+
--docs-page-color-bg__window-bar: hsl(214, 13%, 8%);
|
30
|
+
--docs-page-color-bg__aside: hsla(214, 13%, 16%, 1);
|
31
|
+
--docs-page-color-bg__header: hsl(216, 40%, 18%);
|
28
32
|
|
29
33
|
--docs-page-color-bg__content-row--white: hsla(0, 0%, 8%, 1);
|
30
34
|
--docs-page-color-bg__content-row--grey: hsla(0, 0%, 12%, 1);
|
31
|
-
--docs-page-color-bg__example-box: hsla(
|
32
|
-
--docs-page-color-bg__graphic-btn: hsla(
|
33
|
-
--docs-page-color-bg__graphic-btn-graphic:
|
35
|
+
--docs-page-color-bg__example-box: hsla(214, 13%, 18%, 1);
|
36
|
+
--docs-page-color-bg__graphic-btn: hsla(214, 13%, 8%, 1);
|
37
|
+
--docs-page-color-bg__graphic-btn-graphic: hsla(214, 13%, 14%, 1);
|
34
38
|
|
35
39
|
--docs-page-border__window-bar--top: hsla(0, 0%, 91%, 0.02);
|
36
40
|
--docs-page-border__window-bar--bottom: hsla(0, 0%, 88%, 0.12);
|
@@ -206,10 +210,9 @@ p.docs-page__paragraph b, div.docs-page__paragraph b {
|
|
206
210
|
text-decoration: underline;
|
207
211
|
}
|
208
212
|
.docs-page__header {
|
209
|
-
background:
|
210
|
-
background: #22385a;
|
213
|
+
background: var(--docs-page-color-bg__header);
|
211
214
|
color: white;
|
212
|
-
padding: 0 24px;
|
215
|
+
padding: 0 8px 0 24px;
|
213
216
|
height: 64px;
|
214
217
|
grid-column: 1 / 3;
|
215
218
|
grid-row: 1 / 2;
|
@@ -218,6 +221,32 @@ p.docs-page__paragraph b, div.docs-page__paragraph b {
|
|
218
221
|
box-shadow: 0 1px 6px rgba(0,0,0,0.2), 0 1px 1px rgba(0,0,0,0.12);
|
219
222
|
z-index: 2;
|
220
223
|
}
|
224
|
+
.docs-page__header-button {
|
225
|
+
background: transparent;
|
226
|
+
color: white;
|
227
|
+
padding: 0;
|
228
|
+
height: 40px;
|
229
|
+
width: 40px;
|
230
|
+
border-radius: 999px;
|
231
|
+
margin-inline-start: 0px;
|
232
|
+
margin-inline-end: 8px;
|
233
|
+
display: flex;
|
234
|
+
align-items: center;
|
235
|
+
justify-content: center;
|
236
|
+
opacity: 0.8;
|
237
|
+
transition: all 0.2s ease;
|
238
|
+
}
|
239
|
+
.docs-page__header-button i {
|
240
|
+
color: white !important;
|
241
|
+
}
|
242
|
+
.docs-page__header-button:hover {
|
243
|
+
background: hsla(0, 0%, 0%, 0.2);
|
244
|
+
opacity: 1;
|
245
|
+
}
|
246
|
+
.docs-page__header-button:active {
|
247
|
+
background: var(--sd-colour-interactive);
|
248
|
+
opacity: 1;
|
249
|
+
}
|
221
250
|
.docs-page__header-logo {
|
222
251
|
height: 40px;
|
223
252
|
width: 40px;
|
@@ -226,7 +255,8 @@ p.docs-page__paragraph b, div.docs-page__paragraph b {
|
|
226
255
|
background-size: 100%;
|
227
256
|
}
|
228
257
|
.docs-page__header-nav {
|
229
|
-
margin-
|
258
|
+
margin-inline-start: auto;
|
259
|
+
margin-inline-end: 16px;
|
230
260
|
display: flex;
|
231
261
|
flex-direction: row;
|
232
262
|
align-items: stretch;
|
@@ -283,7 +313,7 @@ p.docs-page__paragraph b, div.docs-page__paragraph b {
|
|
283
313
|
grid-column: 1 / 2;
|
284
314
|
grid-row: 2 / 3;
|
285
315
|
width: 280px;
|
286
|
-
background-color:
|
316
|
+
background-color: var(--docs-page-color-bg__aside);
|
287
317
|
overflow-y: auto;
|
288
318
|
}
|
289
319
|
.docs-page__sidebar.scroll {
|
@@ -340,7 +370,7 @@ p.docs-page__paragraph b, div.docs-page__paragraph b {
|
|
340
370
|
}
|
341
371
|
.docs-page__nav-title {
|
342
372
|
text-transform: uppercase;
|
343
|
-
color:
|
373
|
+
color: var(--color-text);
|
344
374
|
font-size: 12px;
|
345
375
|
font-weight: 500;
|
346
376
|
letter-spacing: 0.1em;
|
@@ -456,7 +486,7 @@ p.docs-page__paragraph b, div.docs-page__paragraph b {
|
|
456
486
|
font-size: 16px;
|
457
487
|
line-height: 24px;
|
458
488
|
font-weight: 300;
|
459
|
-
color:
|
489
|
+
color: var(--color-text);
|
460
490
|
border-inline-start: 4px solid transparent;
|
461
491
|
}
|
462
492
|
.docs-page__nav-item a {
|
@@ -464,29 +494,29 @@ p.docs-page__paragraph b, div.docs-page__paragraph b {
|
|
464
494
|
line-height: 32px;
|
465
495
|
display: block;
|
466
496
|
padding-inline-start: 24px;
|
467
|
-
color:
|
497
|
+
color: var(--color-text-light);
|
468
498
|
background-color: rgba(255, 255, 255, 0);
|
469
499
|
cursor: pointer;
|
470
500
|
text-decoration: none;
|
471
501
|
transition: all ease-in-out 0.2s;
|
472
502
|
}
|
473
503
|
.docs-page__nav-item a:hover {
|
474
|
-
color:
|
475
|
-
background-color:
|
504
|
+
color: var(--color-text);
|
505
|
+
background-color: var(--docs-page-color-bg-00);
|
476
506
|
}
|
477
507
|
.docs-page__nav-item a:active {
|
478
|
-
color:
|
479
|
-
background-color:
|
508
|
+
color: var(--color-text-light);
|
509
|
+
background-color: var(--sd-colour-interactive--alpha-20);
|
480
510
|
}
|
481
511
|
|
482
512
|
.docs-page__nav-item.docs-page__nav-item--active {
|
483
|
-
border-color:
|
484
|
-
background-color:
|
513
|
+
border-color: var(--sd-colour-interactive);
|
514
|
+
background-color: var(--docs-page-color-bg-00);
|
485
515
|
font-weight: 400;
|
486
516
|
}
|
487
517
|
|
488
518
|
.docs-page__nav-item.docs-page__nav-item--active a {
|
489
|
-
color:
|
519
|
+
color: var(--sd-colour-interactive);
|
490
520
|
}
|
491
521
|
|
492
522
|
.docs-page__section {
|
@@ -575,7 +605,7 @@ p.docs-page__paragraph b, div.docs-page__paragraph b {
|
|
575
605
|
}
|
576
606
|
.docs-page__code-markup {
|
577
607
|
display: none;
|
578
|
-
background-color:
|
608
|
+
background-color: hsl(214, 13%, 10%);
|
579
609
|
padding: 16px 16px 16px 36px;
|
580
610
|
overflow-y: scroll;
|
581
611
|
}
|
@@ -593,11 +623,14 @@ pre.prettyprint {
|
|
593
623
|
|
594
624
|
.docs-page__paragraph code {
|
595
625
|
font-size: 85%;
|
596
|
-
padding: 0
|
597
|
-
background-color:
|
626
|
+
padding: 0 0.4em;
|
627
|
+
background-color: var(--sd-colour-interactive--alpha-20);
|
598
628
|
border-radius: 3px;
|
599
629
|
font-family: 'Source Code Pro', monospace;
|
600
630
|
font-weight: 400;
|
631
|
+
line-height: inherit;
|
632
|
+
vertical-align: baseline;
|
633
|
+
color: var(--color-text);
|
601
634
|
}
|
602
635
|
|
603
636
|
.docs-page__unordered-list {
|
@@ -649,6 +682,7 @@ pre.prettyprint {
|
|
649
682
|
max-width: 1200px;
|
650
683
|
display: grid;
|
651
684
|
grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
|
685
|
+
transition: all 0.2s ease;
|
652
686
|
}
|
653
687
|
.docs-page__icon-font-list li {
|
654
688
|
display: flex;
|
@@ -661,7 +695,7 @@ pre.prettyprint {
|
|
661
695
|
transition: all 0.2s ease-in-out;
|
662
696
|
}
|
663
697
|
.docs-page__icon-font-list li:hover {
|
664
|
-
box-shadow: 0 1px
|
698
|
+
box-shadow: 0 0 0 1px var(--sd-shadow-outline), 0 1px 2px hsla(0, 0%, 0%, 0.12), 0 1px 6px hsla(0, 0%, 0%, 0.24);
|
665
699
|
}
|
666
700
|
|
667
701
|
.docs-page__icon-font-list li i {
|
@@ -818,6 +852,12 @@ pre.prettyprint {
|
|
818
852
|
grid-row: 2/3;
|
819
853
|
grid-column: 2/3;
|
820
854
|
}
|
855
|
+
|
856
|
+
#scrollContainer {
|
857
|
+
overflow: scroll;
|
858
|
+
scroll-behavior: smooth;
|
859
|
+
}
|
860
|
+
|
821
861
|
/* ---------------- COLOR SWATCHES ---------------- */
|
822
862
|
|
823
863
|
.doc-swatches__grid {
|
@@ -883,7 +923,7 @@ pre.prettyprint {
|
|
883
923
|
font-size: 15px;
|
884
924
|
font-weight: 300;
|
885
925
|
line-height: 150%;
|
886
|
-
color:
|
926
|
+
color: var(--color-text-light);
|
887
927
|
}
|
888
928
|
.docs-page__color--primary {
|
889
929
|
color: var(--docs-page-color-primary) !important;
|
@@ -916,19 +956,49 @@ doc-gif-img:hover img {
|
|
916
956
|
.docs-page__container table td {
|
917
957
|
border-color: var(--docs-page-border__table) !important;
|
918
958
|
}
|
919
|
-
/* -------------- END COLOR SWATCHES -------------- */
|
920
959
|
|
960
|
+
|
961
|
+
/* -------------- END COLOR SWATCHES -------------- */
|
921
962
|
/* -------------- PrismJS overrides -------------- */
|
963
|
+
|
922
964
|
code[class*="language-"],
|
923
965
|
pre[class*="language-"] {
|
924
966
|
font-family: 'Source Code Pro', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
925
967
|
font-size: 1.1em;
|
926
968
|
border-radius: 0.4rem;
|
927
969
|
}
|
970
|
+
pre[class*="language-"] {
|
971
|
+
background: hsl(214, 13%, 8%);
|
972
|
+
}
|
928
973
|
|
929
974
|
/*// extra large screen media query /100em = 1600px/*/
|
930
975
|
@media only screen and (min-width: 100em) {
|
931
976
|
.docs-page__section {
|
932
977
|
max-width: 80%;
|
933
978
|
}
|
934
|
-
}
|
979
|
+
}
|
980
|
+
|
981
|
+
|
982
|
+
/* -------------- DOC PAGE SPECIFIC OVERRIDES -------------- */
|
983
|
+
|
984
|
+
doc-react-playground {
|
985
|
+
display: contents;
|
986
|
+
}
|
987
|
+
|
988
|
+
.docs-page doc-react-playground .sd-main-content-grid {
|
989
|
+
grid-column: 2 / 3;
|
990
|
+
overflow: auto;
|
991
|
+
}
|
992
|
+
|
993
|
+
.docs-page .sd-editor-grid {
|
994
|
+
grid-row: 2 / 3;
|
995
|
+
grid-column: 2 / 3;
|
996
|
+
overflow-y: auto;
|
997
|
+
}
|
998
|
+
.docs-page doc-react-playground .sd-editor-grid {
|
999
|
+
grid-row: 2 / 3;
|
1000
|
+
grid-column: 2 / 3;
|
1001
|
+
overflow-y: auto;
|
1002
|
+
}
|
1003
|
+
|
1004
|
+
/* ------------ END DOC PAGE SPECIFIC OVERRIDES ------------ */
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
package/examples/index.js
CHANGED
@@ -336,6 +336,10 @@ export default angular.module('ui-docs', [
|
|
336
336
|
name: 'Master Desk',
|
337
337
|
page: 'master-desk.html'
|
338
338
|
},
|
339
|
+
'editor-3-test': {
|
340
|
+
name: 'Editor grid',
|
341
|
+
page: 'editor-3-test.html'
|
342
|
+
},
|
339
343
|
},
|
340
344
|
// Publisher playgrounds
|
341
345
|
publisher: {
|
@@ -390,6 +394,30 @@ export default angular.module('ui-docs', [
|
|
390
394
|
'ui-playground': {
|
391
395
|
name: 'UI',
|
392
396
|
component: 'UiPlayground'
|
397
|
+
},
|
398
|
+
'pagelayout-test': {
|
399
|
+
name: 'PageLayout Test',
|
400
|
+
component: 'PageLayoutTest'
|
401
|
+
},
|
402
|
+
'editor-test': {
|
403
|
+
name: 'Editor Layout Test',
|
404
|
+
component: 'EditorTest'
|
405
|
+
},
|
406
|
+
'personal-profile': {
|
407
|
+
name: 'Personal Profile',
|
408
|
+
component: 'PersonalProfile'
|
409
|
+
},
|
410
|
+
'rundown-editor': {
|
411
|
+
name: 'Rundown Editor',
|
412
|
+
component: 'RundownEditor'
|
413
|
+
},
|
414
|
+
'rundowns': {
|
415
|
+
name: 'Rundowns',
|
416
|
+
component: 'Rundowns'
|
417
|
+
},
|
418
|
+
'core-layout': {
|
419
|
+
name: 'Core Layout',
|
420
|
+
component: 'CoreLayout'
|
393
421
|
}
|
394
422
|
}
|
395
423
|
}))
|
@@ -93,7 +93,7 @@
|
|
93
93
|
<div class="docs-page__window-content">
|
94
94
|
<div class="docs-page__code-example">
|
95
95
|
<p class="docs-page__paragraph">// Boxed grid example with six columns.</p>
|
96
|
-
<div class="flex-grid flex-grid--boxed flex-grid--wrap-items flex-grid--small-6">
|
96
|
+
<div class="flex-grid flex-grid--boxed flex-grid--wrap-items flex-grid--small-1 flex-grid--medium-3 flex-grid--large-4 flex-grid--xlarge-6">
|
97
97
|
<div class="flex-grid__item">1</div>
|
98
98
|
<div class="flex-grid__item">2</div>
|
99
99
|
<div class="flex-grid__item">3</div>
|
@@ -45,7 +45,7 @@
|
|
45
45
|
<sd-check ng-model="def6" label-position="inside" data-icon="th-list">Button style with icon</sd-check>
|
46
46
|
<sd-check ng-model="def7" label-position="inside" data-icon="th" ng-checked="true">I have an icon!</sd-check>
|
47
47
|
<sd-check ng-model="def8" label-position="inside" data-icon="th-large">Yeah, me too!</sd-check>
|
48
|
-
<sd-check ng-model="def9" data-icon="star">I have an icon :) </sd-check>
|
48
|
+
<sd-check ng-model="def9" data-icon="star" disabled="disabled">I have an icon :) </sd-check>
|
49
49
|
</div>
|
50
50
|
</div>
|
51
51
|
|
@@ -20,6 +20,7 @@
|
|
20
20
|
<div class="modal__body">
|
21
21
|
<p>This is sample message inside modal!</p>
|
22
22
|
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. </p>
|
23
|
+
<button class="btn" ng-click="openModal('modalActive6')">Open modal inside modal</button>
|
23
24
|
</div>
|
24
25
|
<div class="modal__footer">
|
25
26
|
<button class="btn" ng-click="closeModal('modalActive')">Cancel</button>
|
@@ -79,7 +79,7 @@
|
|
79
79
|
</div>
|
80
80
|
</li>
|
81
81
|
|
82
|
-
<li class="boxed-list__item boxed-list__item--
|
82
|
+
<li class="boxed-list__item boxed-list__item--selected boxed-list__item--clickable">
|
83
83
|
<div class="boxed-list__item-media">
|
84
84
|
<figure class="avatar sd-margin--0 pink--600">mm</figure>
|
85
85
|
</div>
|
@@ -2,10 +2,15 @@
|
|
2
2
|
<a class="sd-top-menu__collapse-nav"><i class="icon-collapse icon--white"></i></a>
|
3
3
|
<p class="sd-top-menu__header">Cards</p>
|
4
4
|
</header>
|
5
|
-
<main class="sd-page">
|
5
|
+
<main class="sd-page" ng-init="darkUI = false" data-theme="{{darkUI ? 'dark-ui' : 'light-ui'}}">
|
6
6
|
<section class="sd-page__main-content">
|
7
|
-
<div class="
|
8
|
-
<h2 class="
|
7
|
+
<div class="subnav">
|
8
|
+
<h2 class="subnav__page-title">Card options</h2>
|
9
|
+
<div class="button-group button-group--right">
|
10
|
+
<button class="sd-navbtn" ng-click="darkUI = !darkUI">
|
11
|
+
<i class="icon-adjust"></i>
|
12
|
+
</button>
|
13
|
+
</div>
|
9
14
|
</div>
|
10
15
|
<div class="sd-page__content">
|
11
16
|
|
@@ -35,7 +40,7 @@
|
|
35
40
|
</div>
|
36
41
|
|
37
42
|
<div class="sd-card flex-grid__item">
|
38
|
-
<div class="sd-card__header sd-card__header--
|
43
|
+
<div class="sd-card__header sd-card__header--light">
|
39
44
|
<div class="sd-card__heading">Features Desk</div>
|
40
45
|
<a class="icn-btn sd-card__actions"><i class="icon-pencil"></i></a>
|
41
46
|
</div>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
|
2
|
+
<div class="sd-padding--4">
|
3
|
+
<button class="btn btn--primary btn--loading" tabindex="0" aria-label="">
|
4
|
+
<div class="btn__state--loading">
|
5
|
+
<svg class="sd-spinner sd-spinner--mini" viewBox="0 0 48 48">
|
6
|
+
<circle class="sd-spinner__path" cx="24" cy="24" r="18" fill="none" stroke-width="6"></circle>
|
7
|
+
</svg>
|
8
|
+
</div>
|
9
|
+
primary
|
10
|
+
</button>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<svg class="sd-spinner sd-spinner sd-spinner--large" viewBox="0 0 48 48">
|
14
|
+
<circle class="sd-spinner__path" cx="24" cy="24" r="18" fill="none" stroke-width="6"></circle>
|
15
|
+
</svg>
|
@@ -16,13 +16,15 @@
|
|
16
16
|
<div style="width: 70%; margin: 100px auto; max-width: 900px;" class="docs-page__code-window">
|
17
17
|
|
18
18
|
<div class="sd-form-element" style="padding: 30px;" data-theme="{{darkTheme ? 'dark-ui' : 'ligh-ui'}}">
|
19
|
-
<div class="
|
20
|
-
<div class="
|
21
|
-
<
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
<div class="sd-
|
19
|
+
<div class="form__group">
|
20
|
+
<div class="form__item">
|
21
|
+
<div class="sd-input">
|
22
|
+
<label class="sd-input__label">input field label 1</label>
|
23
|
+
<input class="sd-input__input" type="text">
|
24
|
+
<div class="sd-input__char-count">00/90</div>
|
25
|
+
<div class="sd-input__message-box">
|
26
|
+
<div class="sd-input__hint">Hendrerit in vulputate.</div>
|
27
|
+
</div>
|
26
28
|
</div>
|
27
29
|
</div>
|
28
30
|
</div>
|
@@ -40,10 +40,8 @@
|
|
40
40
|
</ul>
|
41
41
|
</div>
|
42
42
|
</div>
|
43
|
-
|
44
|
-
|
45
|
-
|
46
43
|
</header>
|
44
|
+
|
47
45
|
<section class="sd-content sd-content-wrapper">
|
48
46
|
<div class="sd-sidebar-menu sd-content-wrapper__left-tabs">
|
49
47
|
<ul class="authoring-active">
|
@@ -1568,7 +1566,7 @@
|
|
1568
1566
|
|
1569
1567
|
</div>
|
1570
1568
|
</section>
|
1571
|
-
<footer class="bottom-bar">
|
1569
|
+
<footer class="sd-bottom-bar">
|
1572
1570
|
This is the optional footer.
|
1573
1571
|
</footer>
|
1574
1572
|
</div>
|