superdesk-ui-framework 3.0.1-beta.2 → 3.0.1-beta.22
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_icons.eot +0 -0
- package/app/fonts/sd_icons.svg +14 -7
- 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/scripts/toggleBoxNext.js +1 -1
- package/app/styles/_accessibility.scss +1 -0
- package/app/styles/_big-icon-font.scss +3 -0
- package/app/styles/_boxed-list.scss +3 -0
- package/app/styles/_buttons.scss +11 -6
- package/app/styles/_content-divider.scss +63 -8
- package/app/styles/_hamburger.scss +160 -0
- package/app/styles/_helpers.scss +35 -5
- package/app/styles/_icon-font.scss +20 -10
- package/app/styles/_master-desk.scss +3 -2
- package/app/styles/_modals.scss +6 -3
- package/app/styles/_normalize.scss +4 -0
- package/app/styles/_sd-tag-input.scss +221 -296
- package/app/styles/_simple-list.scss +1 -0
- package/app/styles/_table-list.scss +115 -12
- package/app/styles/app.scss +4 -0
- package/app/styles/components/_list-item.scss +36 -17
- package/app/styles/components/_sd-collapse-box.scss +6 -6
- package/app/styles/components/_sd-grid-item.scss +30 -16
- package/app/styles/components/_sd-notification-panel.scss +48 -0
- package/app/styles/components/_sd-photo-preview.scss +3 -3
- package/app/styles/components/_sd-searchbar.scss +7 -0
- package/app/styles/design-tokens/_design-tokens-general.scss +3 -6
- package/app/styles/design-tokens/_new-colors.scss +16 -6
- package/app/styles/dropdowns/_basic-dropdown.scss +6 -0
- package/app/styles/form-elements/_forms-general.scss +81 -7
- package/app/styles/form-elements/_input-wrap.scss +138 -0
- package/app/styles/form-elements/_inputs.scss +577 -102
- package/app/styles/grids/_grid-layout.scss +153 -40
- package/app/styles/interface-elements/_side-panel.scss +1 -1
- package/app/styles/layout/_basic-layout.scss +2 -2
- package/app/styles/layout/_editor.scss +10 -4
- package/app/styles/menus/_sd-bottom-tabs.scss +70 -0
- package/app/styles/menus/_sd-left-navigation.scss +24 -1
- package/app/styles/menus/_sd-sidebar-menu.scss +10 -14
- package/app/styles/menus/_sd-top-menu.scss +19 -5
- package/app/styles/primereact/_pr-dialog.scss +1 -0
- package/app/styles/primereact/_pr-dropdown.scss +17 -3
- package/app/styles/primereact/_pr-menu.scss +6 -5
- package/app-typescript/components/Badge.tsx +3 -2
- package/app-typescript/components/ContentDivider.tsx +3 -0
- package/app-typescript/components/DatePicker.tsx +71 -36
- package/app-typescript/components/DonutChart.tsx +1 -1
- package/app-typescript/components/Dropdown.tsx +127 -82
- package/app-typescript/components/DurationInput.tsx +400 -0
- package/app-typescript/components/EmptyState.tsx +2 -1
- package/app-typescript/components/Form/FormLabel.tsx +8 -1
- package/app-typescript/components/Form/FormRowNew.tsx +41 -0
- package/app-typescript/components/Form/InputBase.tsx +95 -0
- package/app-typescript/components/Form/InputNew.tsx +107 -0
- package/app-typescript/components/Form/InputWrapper.tsx +79 -0
- package/app-typescript/components/Form/index.tsx +4 -0
- package/app-typescript/components/Icon.tsx +1 -1
- package/app-typescript/components/IconButton.tsx +5 -1
- package/app-typescript/components/Input.tsx +39 -42
- package/app-typescript/components/Label.tsx +49 -10
- package/app-typescript/components/Layouts/AuthoringContainer.tsx +2 -1
- package/app-typescript/components/Layouts/AuthoringInnerHeader.tsx +1 -1
- package/app-typescript/components/Layouts/AuthoringMain.tsx +4 -2
- package/app-typescript/components/Layouts/BottomBarAction.tsx +35 -0
- package/app-typescript/components/Layouts/CoreLayout.tsx +63 -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 +22 -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/Layout.tsx +2 -2
- package/app-typescript/components/Layouts/MainMenu.tsx +101 -0
- package/app-typescript/components/Layouts/NotificationPanel.tsx +109 -0
- package/app-typescript/components/Layouts/index.tsx +12 -0
- package/app-typescript/components/LeftMenu.tsx +127 -116
- package/app-typescript/components/Lists/BoxedList.tsx +36 -4
- package/app-typescript/components/Lists/ContentList.tsx +38 -10
- package/app-typescript/components/Lists/TableList.tsx +283 -151
- package/app-typescript/components/Menu.tsx +31 -7
- package/app-typescript/components/Modal.tsx +5 -2
- package/app-typescript/components/MultiSelect.tsx +35 -5
- package/app-typescript/components/NavButton.tsx +4 -0
- package/app-typescript/components/Navigation/BottomNav.tsx +83 -0
- package/app-typescript/components/SearchBar.tsx +39 -12
- package/app-typescript/components/Select.tsx +27 -37
- package/app-typescript/components/SelectGrid.tsx +1 -1
- package/app-typescript/components/SelectWithTemplate.tsx +32 -7
- package/app-typescript/components/Skeleton.tsx +1 -1
- package/app-typescript/components/Spacer.tsx +87 -0
- package/app-typescript/components/Text/Time.tsx +34 -0
- package/app-typescript/components/TimePicker.tsx +38 -15
- package/app-typescript/components/Togglebox.tsx +1 -1
- package/app-typescript/components/Tooltip.tsx +7 -5
- package/app-typescript/components/TreeSelect.tsx +490 -208
- 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/app-typescript/dist/components/Radio.d.ts +19 -0
- package/app-typescript/dist/components/RadioButton.d.ts +20 -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 +9 -1
- package/dist/SD-logo.svg +52 -0
- package/dist/examples.bundle.css +942 -9
- package/dist/examples.bundle.js +92935 -88376
- package/dist/playgrounds/accessible-theme-test.html +1 -1
- package/dist/playgrounds/layout-test-2.html +1 -1
- package/dist/playgrounds/list-item-test.html +1 -1
- package/dist/playgrounds/master-desk.html +1 -1
- 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 +156 -0
- package/dist/playgrounds/react-playgrounds/Index.tsx +1 -0
- package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +26 -23
- package/dist/playgrounds/react-playgrounds/Rundowns.tsx +20 -21
- package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +12 -3
- package/dist/playgrounds/react-playgrounds/TestGround.tsx +415 -25
- package/dist/playgrounds/react-playgrounds/components/Layout.tsx +2 -2
- 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/Badges.tsx +18 -0
- package/dist/react/ContentDivider.tsx +22 -18
- package/dist/react/ContentList.tsx +200 -18
- package/dist/react/DatePicker.tsx +31 -6
- package/dist/react/Dropdowns.tsx +580 -48
- package/dist/react/DurationInput.tsx +108 -0
- package/dist/react/Index.tsx +10 -0
- package/dist/react/Inputs.tsx +256 -8
- package/dist/react/Labels.tsx +51 -1
- package/dist/react/LeftNavigations.tsx +71 -44
- package/dist/react/MultiSelect.tsx +10 -2
- package/dist/react/SelectWithTemplate.tsx +6 -1
- package/dist/react/Selects.tsx +55 -0
- package/dist/react/TableList.tsx +77 -186
- package/dist/react/TimePicker.tsx +22 -12
- package/dist/react/Togglebox.tsx +1 -1
- package/dist/react/TreeSelect.tsx +270 -48
- package/dist/react/WithSizeObserver.tsx +44 -0
- package/dist/react/tree-select/TreeSelect.tsx +273 -0
- package/dist/react/tree-select/example-1.tsx +71 -0
- package/dist/react/tree-select/example-2.tsx +59 -0
- package/dist/sd_icons.eot +0 -0
- package/dist/sd_icons.svg +14 -7
- package/dist/sd_icons.ttf +0 -0
- package/dist/sd_icons.woff +0 -0
- package/dist/superdesk-ui.bundle.css +4330 -639
- package/dist/superdesk-ui.bundle.js +75169 -58238
- package/dist/vendor.bundle.js +25027 -25027
- package/examples/index.js +4 -0
- package/examples/pages/playgrounds/accessible-theme-test.html +1 -1
- 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 +1 -1
- 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 +156 -0
- package/examples/pages/playgrounds/react-playgrounds/Index.tsx +1 -0
- package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +26 -23
- package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +20 -21
- package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +12 -3
- package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +415 -25
- package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +2 -2
- 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/Badges.tsx +18 -0
- package/examples/pages/react/ContentDivider.tsx +22 -18
- package/examples/pages/react/ContentList.tsx +200 -18
- package/examples/pages/react/DatePicker.tsx +31 -6
- package/examples/pages/react/Dropdowns.tsx +580 -48
- package/examples/pages/react/DurationInput.tsx +108 -0
- package/examples/pages/react/Index.tsx +10 -0
- package/examples/pages/react/Inputs.tsx +256 -8
- package/examples/pages/react/Labels.tsx +51 -1
- package/examples/pages/react/LeftNavigations.tsx +71 -44
- package/examples/pages/react/MultiSelect.tsx +10 -2
- package/examples/pages/react/SelectWithTemplate.tsx +6 -1
- package/examples/pages/react/Selects.tsx +55 -0
- package/examples/pages/react/TableList.tsx +77 -186
- package/examples/pages/react/TimePicker.tsx +22 -12
- package/examples/pages/react/Togglebox.tsx +1 -1
- package/examples/pages/react/TreeSelect.tsx +270 -48
- package/examples/pages/react/WithSizeObserver.tsx +44 -0
- package/examples/pages/react/tree-select/TreeSelect.tsx +273 -0
- package/examples/pages/react/tree-select/example-1.tsx +71 -0
- package/examples/pages/react/tree-select/example-2.tsx +59 -0
- package/package.json +8 -8
- package/react/components/Alert.js +10 -8
- package/react/components/Autocomplete.js +16 -12
- package/react/components/Avatar.js +8 -6
- package/react/components/Badge.d.ts +1 -0
- package/react/components/Badge.js +9 -7
- package/react/components/Button.js +8 -6
- package/react/components/ButtonGroup.js +7 -5
- package/react/components/Carousel.js +4 -2
- package/react/components/CheckButtonGroup.js +6 -4
- package/react/components/CheckGroup.js +5 -3
- package/react/components/Checkbox.js +5 -3
- package/react/components/CheckboxButton.js +6 -4
- package/react/components/ContentDivider.d.ts +1 -0
- package/react/components/ContentDivider.js +10 -6
- package/react/components/CreateButton.js +6 -4
- package/react/components/DatePicker.d.ts +11 -0
- package/react/components/DatePicker.js +44 -35
- 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.js +6 -4
- package/react/components/Dropdown.d.ts +6 -5
- package/react/components/Dropdown.js +63 -35
- package/react/components/DropdownFirst.js +18 -11
- package/react/components/DurationInput.d.ts +42 -0
- package/react/components/DurationInput.js +364 -0
- package/react/components/EmptyState.d.ts +1 -0
- package/react/components/EmptyState.js +8 -6
- package/react/components/Form/FormGroup.js +7 -5
- package/react/components/Form/FormItem.js +5 -3
- package/react/components/Form/FormLabel.d.ts +4 -1
- package/react/components/Form/FormLabel.js +13 -5
- package/react/components/Form/FormRow.js +5 -3
- package/react/components/Form/FormRowNew.d.ts +12 -0
- package/react/components/Form/FormRowNew.js +67 -0
- package/react/components/Form/FormText.js +4 -2
- package/react/components/Form/InputBase.d.ts +41 -0
- package/react/components/Form/InputBase.js +86 -0
- package/react/components/Form/InputNew.d.ts +45 -0
- package/react/components/Form/InputNew.js +75 -0
- package/react/components/Form/InputWrapper.d.ts +28 -0
- package/react/components/Form/InputWrapper.js +91 -0
- package/react/components/Form/index.d.ts +4 -0
- package/react/components/Form/index.js +9 -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 +1 -1
- package/react/components/Icon.js +9 -7
- package/react/components/IconButton.js +8 -6
- package/react/components/IconLabel.js +7 -5
- package/react/components/IconPicker.js +13 -9
- package/react/components/Input.d.ts +6 -2
- package/react/components/Input.js +16 -31
- package/react/components/Label.d.ts +1 -0
- package/react/components/Label.js +28 -10
- package/react/components/Layouts/AuthorinInnerSideBar.js +4 -2
- package/react/components/Layouts/AuthoringContainer.d.ts +1 -0
- package/react/components/Layouts/AuthoringContainer.js +8 -6
- package/react/components/Layouts/AuthoringFrame.js +4 -2
- package/react/components/Layouts/AuthoringFrameContainer.js +4 -2
- package/react/components/Layouts/AuthoringFrameLeftBar.js +4 -2
- package/react/components/Layouts/AuthoringFrameMain.js +4 -2
- package/react/components/Layouts/AuthoringFrameNavBar.js +4 -2
- package/react/components/Layouts/AuthoringFrameOverlay.js +4 -2
- package/react/components/Layouts/AuthoringFrameRightBar.js +4 -2
- package/react/components/Layouts/AuthoringFrameSidePanel.js +5 -3
- package/react/components/Layouts/AuthoringFrameSidePanelOverlay.js +5 -3
- package/react/components/Layouts/AuthoringInnerBody.js +4 -2
- package/react/components/Layouts/AuthoringInnerHeader.js +7 -5
- package/react/components/Layouts/AuthoringMain.js +5 -3
- package/react/components/Layouts/AuthoringMainContainer.js +4 -2
- package/react/components/Layouts/AuthoringMainContent.js +4 -2
- package/react/components/Layouts/AuthoringMainToolBar.js +5 -3
- package/react/components/Layouts/BottomBarAction.d.ts +12 -0
- package/react/components/Layouts/BottomBarAction.js +59 -0
- package/react/components/Layouts/Container.js +9 -7
- package/react/components/Layouts/ContentSplitter.js +6 -4
- package/react/components/Layouts/CoreLayout.d.ts +20 -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 +10 -0
- package/react/components/Layouts/CoreLayoutMain.js +56 -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.js +4 -2
- package/react/components/Layouts/Layout.js +4 -3
- package/react/components/Layouts/LayoutContainer.js +4 -2
- package/react/components/Layouts/LeftPanel.js +5 -3
- package/react/components/Layouts/MainMenu.d.ts +41 -0
- package/react/components/Layouts/MainMenu.js +103 -0
- package/react/components/Layouts/MainPanel.js +5 -3
- package/react/components/Layouts/NotificationPanel.d.ts +45 -0
- package/react/components/Layouts/NotificationPanel.js +110 -0
- package/react/components/Layouts/OverlayPanel.js +4 -2
- package/react/components/Layouts/PageLayout.js +4 -2
- package/react/components/Layouts/Panel.js +16 -14
- package/react/components/Layouts/RightPanel.js +4 -2
- package/react/components/Layouts/index.d.ts +11 -0
- package/react/components/Layouts/index.js +23 -0
- package/react/components/LeftMenu.d.ts +5 -1
- package/react/components/LeftMenu.js +27 -13
- package/react/components/ListItemLoader.js +4 -2
- package/react/components/Lists/BoxedList.d.ts +6 -0
- package/react/components/Lists/BoxedList.js +36 -15
- package/react/components/Lists/ContentList.d.ts +50 -0
- package/react/components/Lists/ContentList.js +106 -0
- package/react/components/Lists/SimpleList.js +9 -7
- package/react/components/Lists/TableList.d.ts +62 -0
- package/react/components/Lists/TableList.js +208 -0
- package/react/components/Lists/index.js +1 -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 +2 -1
- package/react/components/Modal.js +30 -9
- package/react/components/MultiSelect.d.ts +40 -0
- package/react/components/MultiSelect.js +70 -0
- package/react/components/NavButton.d.ts +1 -0
- package/react/components/NavButton.js +9 -4
- package/react/components/Navigation/BottomNav.d.ts +24 -0
- package/react/components/Navigation/BottomNav.js +88 -0
- package/react/components/Navigation/QuickNavBar.js +13 -9
- package/react/components/Navigation/SideBarMenu.js +4 -2
- package/react/components/Navigation/SideBarTabs.js +4 -2
- package/react/components/Navigation/index.js +1 -0
- package/react/components/Popover.js +4 -2
- package/react/components/PropsList.js +4 -2
- package/react/components/RadioButtonGroup.js +9 -7
- package/react/components/RadioGroup.js +6 -4
- package/react/components/SearchBar.d.ts +3 -2
- package/react/components/SearchBar.js +34 -8
- package/react/components/Select.d.ts +5 -1
- package/react/components/Select.js +9 -23
- package/react/components/SelectGrid.d.ts +1 -1
- package/react/components/SelectGrid.js +44 -23
- package/react/components/SelectWithTemplate.d.ts +11 -1
- package/react/components/SelectWithTemplate.js +23 -12
- package/react/components/Skeleton.d.ts +1 -1
- package/react/components/Skeleton.js +26 -5
- package/react/components/SlidingToolbar.js +6 -4
- package/react/components/Spinner.js +6 -4
- package/react/components/StrechBar.js +4 -2
- package/react/components/SubNav.js +9 -7
- package/react/components/Switch.js +6 -4
- package/react/components/SwitchGroup.js +5 -3
- package/react/components/TabCustom.js +11 -7
- package/react/components/TabList.js +6 -4
- package/react/components/Tag.js +5 -4
- package/react/components/TagInput.js +7 -6
- package/react/components/TagInputTest.js +13 -9
- package/react/components/Text/Heading.js +10 -8
- package/react/components/Text/Text.js +10 -8
- package/react/components/Text/Time.d.ts +15 -0
- package/react/components/Text/Time.js +65 -0
- package/react/components/ThemeSelector.js +7 -5
- package/react/components/TimePicker.d.ts +11 -1
- package/react/components/TimePicker.js +14 -5
- 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 +1 -1
- package/react/components/Togglebox.js +36 -15
- package/react/components/Tooltip.d.ts +1 -0
- package/react/components/Tooltip.js +14 -10
- package/react/components/TreeSelect.d.ts +80 -0
- package/react/components/TreeSelect.js +494 -0
- 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 +9 -0
- package/react/index.js +23 -2
- package/yarn-error.log +111 -0
- package/patches/@superdesk+primereact+5.0.2-4.patch +0 -13
- package/sd_icons.eot +0 -0
- package/sd_icons.svg +0 -189
- package/sd_icons.ttf +0 -0
- package/sd_icons.woff +0 -0
package/app/fonts/sd_icons.eot
CHANGED
|
Binary file
|
package/app/fonts/sd_icons.svg
CHANGED
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
|
8
8
|
<missing-glyph horiz-adv-x="1024" />
|
|
9
9
|
<glyph unicode=" " horiz-adv-x="512" d="" />
|
|
10
|
-
<glyph unicode="" glyph-name="photo" d="
|
|
11
|
-
<glyph unicode="" glyph-name="video" d="M768
|
|
10
|
+
<glyph unicode="" glyph-name="photo" d="M608 896l112-128h140c55.228 0 100-44.772 100-100v-504c0-55.228-44.772-100-100-100h-696c-55.228 0-100 44.772-100 100v504c0 55.228 44.772 100 100 100h140l112 128zM512 645.382c-123.64 0-223.986-100.346-223.986-223.988 0-123.64 100.346-223.986 223.986-223.986s223.986 100.346 223.986 223.986c0 123.642-100.346 223.988-223.986 223.988zM512.648 564.746c79.118 0 143.352-64.234 143.352-143.352s-64.234-143.352-143.352-143.352-143.352 64.234-143.352 143.352 64.234 143.352 143.352 143.352z" />
|
|
11
|
+
<glyph unicode="" glyph-name="video" d="M768 544v160c0 35.346-28.654 64-64 64h-576c-35.346 0-64-28.654-64-64v-512c0-35.346 28.654-64 64-64h576c35.346 0 64 28.654 64 64v160l192-160v512z" />
|
|
12
12
|
<glyph unicode="" glyph-name="map-marker" d="M512 896c-173.828 0-314.416-140.59-314.416-314.416 0-235.814 314.416-581.584 314.416-581.584s314.416 345.77 314.416 581.584c0 173.826-140.588 314.416-314.416 314.416zM512 469.292c-61.986 0-112.292 50.306-112.292 112.292s50.306 112.292 112.292 112.292 112.292-50.306 112.292-112.292-50.308-112.292-112.292-112.292z" />
|
|
13
13
|
<glyph unicode="" glyph-name="slideshow" d="M64 617.91l-34-13.366c-11.238-4.506-19.029-15.308-19.029-27.93 0-3.953 0.764-7.727 2.153-11.184l-0.072 0.202 50.948-129.576v181.854zM931.498 576h-772.898c-16.9 0-30.6-13.7-30.6-30.6v0-578.8c0-16.9 13.7-30.6 30.6-30.6h772.896c16.9 0 30.6 13.7 30.6 30.6v0 578.8c0 16.899-13.699 30.599-30.598 30.6v0zM192 64l192 256 128-176 176 272 208-352h-704zM655.272 720l101.186-80h206.28l-101.8 258.926c-4.515 11.259-15.337 19.065-27.982 19.065-3.96 0-7.741-0.766-11.204-2.157l0.202 0.072-701.766-275.906h518.348z" />
|
|
14
|
-
<glyph unicode="" glyph-name="text" d="
|
|
15
|
-
<glyph unicode="" glyph-name="file" d="M896 576l-320 320h-
|
|
14
|
+
<glyph unicode="" glyph-name="text" d="M832 896h-640c-35.4 0-64-28.6-64-64v-768c0-35.4 28.6-64 64-64h640c35.4 0 64.001 28.6 64.001 64v768c0.199 35.4-28.601 64-64.001 64zM704 256h-384v64h384zM704 384h-384v64h384zM704 512h-384v64h384zM704 640h-384v64h384z" />
|
|
15
|
+
<glyph unicode="" glyph-name="file" d="M896 576l-320 320h-384c-34.706 0-64-29.294-64-64v-768c0-34.706 29.294-64 64-64h640c34.706 0 64 29.294 64 64zM832 576h-192c-35.346 0-64 28.654-64 64v192z" />
|
|
16
16
|
<glyph unicode="" glyph-name="calender" d="M256 512h256v-256h-256zM896 832h-64v64h-128v-64h-384v64h-128v-64h-64c-43.316 0-64-20.684-64-64v-704c0-43.316 20.684-64 64-64h768c43.316 0 64 20.684 64 64v704c0 43.316-20.684 64-64 64zM896 64h-768v576h768v-576z" />
|
|
17
17
|
<glyph unicode="" glyph-name="composite" d="M64 896h896v-192h-896zM128 640v-512c0-35.346 28.654-64 64-64h640c35.346 0 64 28.654 64 64v512h-768zM704 448h-384v128h384v-128z" />
|
|
18
|
-
<glyph unicode="" glyph-name="audio" d="M0 640v-320h192l320-256v832l-320-
|
|
18
|
+
<glyph unicode="" glyph-name="audio" d="M0 640v-320h192l320-256v832l-320-256zM710.152 478.396c0 94.98-54.734 176.544-134.152 216.252v-431.968c79.418 39.174 134.152 120.738 134.152 215.716zM576 949v-110.54c155.078-46.148 268.302-189.958 268.302-360.062s-113.224-313.916-268.302-360.064v-110.54c215.178 48.832 375.624 240.936 375.624 470.604s-160.446 421.77-375.624 470.602z" />
|
|
19
19
|
<glyph unicode="" glyph-name="stream" d="M832 768h-640c-35.346 0-64-28.654-64-64v-64c0-35.346 28.654-64 64-64h640c35.346 0 64 28.654 64 64v64c0 35.346-28.654 64-64 64zM256 640h-64v64h64v-64zM832 512h-640c-35.346 0-64-28.652-64-64v-64c0-35.348 28.654-64 64-64h640c35.346 0 64 28.652 64 64v64c0 35.348-28.654 64-64 64zM256 384h-64v64h64v-64zM832 256h-640c-35.346 0-64-28.652-64-64v-64c0-35.348 28.654-64 64-64h640c35.346 0 64 28.652 64 64v64c0 35.348-28.654 64-64 64zM256 128h-64v64h64v-64z" />
|
|
20
20
|
<glyph unicode="" glyph-name="ingest" d="M832 384v-256h-640v256h-128v-384h896v384zM770 512h-190v256h-132v-256h-192l256-256zM384 256h-128v-64h192zM768 192v64h-128l-64-64z" />
|
|
21
21
|
<glyph unicode="" glyph-name="archive" d="M960 768h-320v-320h128l-224-256-224 256h128v320h-320c-35.346 0-64-28.654-64-64v-192h64v-448c0-35.346 28.654-64 64-64h704c35.346 0 64 28.654 64 64v448h64v192c0 35.346-28.654 64-64 64z" />
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
<glyph unicode="" glyph-name="upload" d="M544 704l-416-384h256v-384h320v384h256l-416 384zM960 832v128h-832v-128h832z" />
|
|
48
48
|
<glyph unicode="" glyph-name="repeat" d="M511.408 119.25c-182.558 0-330.48 148.006-330.48 330.478s147.922 330.48 330.48 330.48c146.956 0 202.996-64.658 202.996-64.658l-122.404-139.55h304v336l-102.712-110.676c0 0-98.958 87.77-281.88 87.77-242.24 0-439.376-197.050-439.376-439.3 0-242.226 197.136-439.28 439.376-439.28 242.238 0.002 439.592 195.26 439.592 437.486h-103c0-182.538-154.044-328.75-336.592-328.75z" />
|
|
49
49
|
<glyph unicode="" glyph-name="refresh" d="M180.95 448c-0.002 0.576-0.022 1.15-0.022 1.728 0 182.472 147.922 330.48 330.48 330.48 146.956 0 202.996-64.658 202.996-64.658l-122.404-139.55h304v336l-102.712-110.676c0 0-98.958 87.77-281.88 87.77-242.24 0-439.376-197.050-439.376-439.3 0-0.6 0.020-1.196 0.022-1.796h108.896zM843.050 448c0.002-0.576 0.022-1.15 0.022-1.728 0-182.472-147.922-330.48-330.48-330.48-146.956 0-202.996 64.658-202.996 64.658l122.404 139.55h-304v-336l102.712 110.676c0 0 98.958-87.77 281.88-87.77 242.24 0 439.376 197.050 439.376 439.3 0 0.6-0.020 1.196-0.022 1.796h-108.896z" />
|
|
50
|
-
<glyph unicode="" glyph-name="list-alt" d="
|
|
50
|
+
<glyph unicode="" glyph-name="list-alt" d="M832 896h-640c-34.7 0-64-29.3-64-64v-768c0-32.7 29.3-64 64-64h640c34.7 0 64 29.3 64 64v768c0 34.7-29.3 64-64 64zM320 256h-64v64h64zM320 384h-64v64h64zM320 512h-64v64h64zM320 640h-64v64h64zM768 256h-384v64h384zM768 384h-384v64h384zM768 512h-384v64h384zM768 640h-384v64h384z" />
|
|
51
51
|
<glyph unicode="" glyph-name="plus-large" d="M896 512h-320v320h-128v-320h-320v-128h320v-320h128v320h320z" />
|
|
52
52
|
<glyph unicode="" glyph-name="picture" d="M960 128.284v639.432c0 35.503-28.781 64.284-64.284 64.284v0h-767.432c-35.503 0-64.284-28.781-64.284-64.284v0-639.432c0-35.503 28.781-64.284 64.284-64.284v0h767.432c35.503 0 64.284 28.781 64.284 64.284v0zM336 432l128-144.556 176 272.556 256-368h-752z" />
|
|
53
53
|
<glyph unicode="" glyph-name="question-sign" d="M512 895.998c-247.424 0-448-200.578-448-448s200.576-448 448-448 448 200.578 448 448-200.576 448-448 448zM576 128h-128v128h128v-128zM512 320c-54.666 0-64 0-64 0v112c0 0 178.666-35.334 178.666 101.334 0 54.666-27.334 109.334-109.334 109.334-109.332-0.002-109.332-109.334-109.332-109.334h-109.334c0 0 0 218.666 218.666 218.666 109.334 0 218.668-54.666 218.668-218.666 0-136.668-87.334-213.334-224-213.334z" />
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
<glyph unicode="" glyph-name="plus-small" d="M768 512h-192v192h-128v-192h-192v-128h192v-192h128v192h192z" />
|
|
80
80
|
<glyph unicode="" glyph-name="minus-small" d="M256 512h512v-128h-512v128z" />
|
|
81
81
|
<glyph unicode="" glyph-name="close-small" d="M835.672 203.3l-244.004 243.878 241.518 241.594-77.296 77.098-243.812-243.824-243.75 243.694-77.17-77.36 242.092-242.032-243.75-243.67 79.72-79.588 241.966 242.086 243.238-243.176z" />
|
|
82
|
-
<glyph unicode="" glyph-name="post" d="M896 832h-768c-33 0-64-
|
|
82
|
+
<glyph unicode="" glyph-name="post" d="M896 832h-768c-33.3 0-64-28.7-64-64v-704l192 192h640c34.7 0 64 29.3 64 64v448c0 34.7-29.3 64-64 64zM640 384h-384v64h384zM768 512h-512v64h512zM768 640h-512v64h512z" />
|
|
83
83
|
<glyph unicode="" glyph-name="external" d="M832 128l-640.588-0.586 0.588 640.586h192v128h-192.588c-70.714 0-127.412-57.336-127.412-127.414v-640.586c0-70.078 56.698-128 127.412-128h641.174c70.078 0 127.414 57.336 127.414 127.414v192.586h-127.412l-0.588-192zM512 896v-128h224l-424-424 96-96 424 424v-224l128-0.126v448.126z" />
|
|
84
84
|
<glyph unicode="" glyph-name="chevron-up-thin" d="M857.518 349.148l-345.204 354.852-338.98-358.16 74.562-70.562 265.484 280.518 270.562-278.214z" />
|
|
85
85
|
<glyph unicode="" glyph-name="chevron-down-thin" d="M167.282 630.128l345.204-354.85 338.98 358.16-74.562 70.562-265.484-280.52-270.562 278.216z" />
|
|
@@ -186,4 +186,11 @@
|
|
|
186
186
|
<glyph unicode="" glyph-name="arrow_small" d="M320 320v-64h64l256 256v-192h128v384h-384v-128h192z" />
|
|
187
187
|
<glyph unicode="" glyph-name="clean_all" d="M769.032 480c-0.594 25.87-1.032 52.57-1.032 80 0 48-35.818 80-80 80h-112l16 176c0 44.182-35.818 80-80 80s-80-35.818-80-80l16-176h-112c-44.182 0-80-32-80-80 0-12.182-0.824-41.216-4.972-80h518.004zM247.082 448c-16.21-116.3-61.060-289.664-183.082-384 8.212 0 112.528 0 220.346 0 48.088 48.254 71.068 91.66 96 159.25 0.452 1.226 2.272 0.86 2.25-0.446-1.38-76.748-25.394-132.882-39.074-158.802 61.704 0 125.992 0 182.998 0 21.324 28.882 34.74 62.266 46.144 95.41 0.37 1.074 1.77 0.564 1.686-0.582-3.252-44.010-7.996-74.162-12.97-94.828 10.592 0 20.838 0 30.62 0 193.734 0 184.006 155.668 177.84 384h-522.758z" />
|
|
188
188
|
<glyph unicode="" glyph-name="broascast" d="M896 704h-293.786l210.586 210.586-44.8 45.414-256-256-256 256-45.414-45.414 211.2-210.586h-293.786c-70.4 0-128-56.986-128-128v-512c0-70.4 57.6-128 128-128h768c70.4 0 128 57.6 128 128v512c0 71.014-57.6 128-128 128zM128 64v512h768v-512zM704 320l-320-192v384z" />
|
|
189
|
+
<glyph unicode="" glyph-name="photo-cancel" d="M67.882 891.8l123.8-123.8h0.228l175.541-175.541-0.123-0.105 57.603-57.603c0.043 0.033 0.086 0.066 0.129 0.1l201.045-201.045-0.101-0.128 56.955-56.956c0.035 0.041 0.070 0.083 0.105 0.124l207.943-207.946-0.174-0.053 65.174-65.174-67.882-67.882-128.208 128.208h-595.918c-54.676 0-99.104 43.881-99.987 98.346l-0.013 1.654v504c0 25.557 9.588 48.875 25.363 66.554l-89.363 89.364zM608 896l112-128h140c54.676 0 99.104-43.881 99.987-98.346l0.013-1.654v-504c0-8.682-1.107-17.106-3.186-25.139l-227.618 227.619c4.434 17.573 6.79 35.97 6.79 54.914 0 123.642-100.346 223.988-223.986 223.988-18.944 0-37.342-2.356-54.916-6.79l-142.036 142.034 100.952 115.374zM288.014 421.394c0-123.64 100.346-223.986 223.986-223.986 33.528 0 65.344 7.379 93.91 20.601l-63.198 63.196c-9.696-2.072-19.753-3.163-30.063-3.163-79.118 0-143.352 64.234-143.352 143.352 0 10.31 1.091 20.368 3.163 30.063l-63.845 63.846c-13.221-28.566-20.6-60.381-20.6-93.91zM532.268 563.412c63.434-8.698 113.7-58.963 122.398-122.398z" />
|
|
190
|
+
<glyph unicode="" glyph-name="video-cancel" d="M67.882 891.8l123.796-123.796 0.23-0.002 764.1-764.328-67.882-67.882-192.21 192.21-567.916-0.002c-34.993 0-63.426 28.084-63.991 62.942l-0.009 1.058v512c0 15.615 5.592 29.924 14.884 41.034l-78.884 78.884zM327.672 768.002l376.328-0.002c34.993 0 63.426-28.084 63.991-62.942l0.009-1.058v-160l192 160v-512l-192 160v-24.324z" />
|
|
191
|
+
<glyph unicode="" glyph-name="text-cancel" d="M896 63.882l60.212-60.213-67.882-67.882-64.212 64.213h-632.118c-35.046 0-63.427 28.031-63.991 62.94l-0.009 1.060v632.118l-127.796 127.795 67.882 67.882 59.914-59.914v0.234l768-767.998zM832 896c35.046 0 63.623-28.031 63.998-62.94l0.003-1.060-0.001-632.118-192 192v56.118h-56.118l-64 64h120.118v64h-184.118l-64 64h248.118v64h-312.118l-192 192zM504.116 320.002l-184.116-0.002v-64h248.118zM376.118 448h-56.118v-64h120.118z" />
|
|
192
|
+
<glyph unicode="" glyph-name="file-cancel" d="M67.882 891.8l60.116-60.114 0.002 0.226 828.009-828.238-67.882-67.882-64.208 64.208h-631.918c-34.359 0-63.414 28.711-63.991 62.96l-0.009 1.040-0.002 631.92-127.998 127.998zM576 896l320-320v-376.324l-696.322 696.324zM576 832v-192c0-34.993 28.084-63.426 62.942-63.991l1.058-0.009h192z" />
|
|
193
|
+
<glyph unicode="" glyph-name="audio-cancel" d="M67.882 891.8l195.052-195.052 0.128 0.102 477.43-477.66c0.037 0.039 0.074 0.077 0.111 0.116l75.807-75.805-0.114-0.115 139.712-139.712-67.882-67.882-145.282 145.284c-48.898-33.743-104.339-58.713-164.049-72.639l-2.796-0.643v110.54c31.797 9.462 61.834 23.030 89.496 40.088l-153.496 153.496v-247.918l-320 256h-192v320h183.918l-183.918 183.918zM576 949c215.178-48.832 375.624-240.934 375.624-470.602 0-95.32-27.637-184.169-75.354-258.991l-78.258 78.258c29.502 53.629 46.29 115.232 46.29 180.733 0 168.403-110.971 311.035-263.662 358.648l-4.64 1.414zM576 694.648c79.418-39.708 134.152-121.272 134.152-216.252 0-27.892-4.72-54.628-13.4-79.473l-120.752 120.751zM512 896v-312.326l-173.516 173.514z" />
|
|
194
|
+
<glyph unicode="" glyph-name="list-alt-cancel" d="M67.882 891.8l60.116-60.116 0.002 0.228 128-128-0.002-0.228 63.684-63.684h0.23l64.088-64.088-0.002-0.228 63.684-63.684h0.23l64-64h-0.23l64-64h0.23l64-64h-0.23l64-64h0.23l192.088-192.088-0.004-0.226 60.012-60.012-67.882-67.882-64.208 64.208h-631.918c-34.353 0-63.413 30.677-63.991 63.019l-0.009 0.981-0.002 631.92-127.998 127.998zM832 896c34.353 0 63.413-28.717 63.991-62.961l0.009-1.039v-632.324l-184.324 184.324h56.324v64h-120.324l-63.998 64h184.322v64h-248.322l-64 64h312.322v64h-376.322l-192 192zM567.918 256l-64 64h-119.918v-64zM320 320h-64v-64h64zM439.918 384l-55.92 55.92 0.002-55.92zM320 448h-64v-64h64zM255.998 567.92l0.002-55.92h55.918z" />
|
|
195
|
+
<glyph unicode="" glyph-name="post-cancel" d="M67.882 891.8l59.8-59.8 0.228 0.002 128.090-128.092v-0.228l63.68-63.68h0.228l64-64h-0.228l64-64h0.228l64-64h-0.228l64-64h0.23l128-128h-0.23l252.328-252.328-67.882-67.882-320.21 320.21-311.916-0.002-192-192v695.918l-64 64zM896 832c34.353 0 63.413-28.717 63.991-62.961l0.009-1.039v-448c0-34.353-28.717-63.413-62.961-63.991l-1.039-0.009-56.326 0.002-256.002 256 184.328-0.002v64l-248.328 0.002-64 64 312.328-0.002v64l-376.328 0.002-128 128zM439.916 384.002l-64 64-119.916-0.002v-64zM311.916 512.002l-55.916 55.916v-55.918z" />
|
|
189
196
|
</font></defs></svg>
|
package/app/fonts/sd_icons.ttf
CHANGED
|
Binary file
|
package/app/fonts/sd_icons.woff
CHANGED
|
Binary file
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
2
|
+
width="154px" height="48px" viewBox="0 0 154 48" enable-background="new 0 0 154 48" xml:space="preserve">
|
|
3
|
+
<path fill="#1EB06C" d="M80.711,16.993h-0.057c-0.707-0.933-2.375-1.641-3.564-1.641c-3.79,0-5.883,3.62-5.883,7.241
|
|
4
|
+
c0,4.582,1.98,8.034,5.883,8.034c1.584,0,2.743-0.65,3.988-1.867l0.17,1.584h2.97V9.922h-3.507V16.993z M80.711,26.497
|
|
5
|
+
c-0.736,0.565-1.217,1.301-2.715,1.301c-2.093,0-3.28-1.698-3.28-4.809c0-3.112,1.187-4.809,3.28-4.809
|
|
6
|
+
c1.131,0,2.008,0.594,2.715,1.245V26.497z M59.814,27.629l-2.546-1.585c-0.876,1.019-1.64,1.755-3.281,1.755
|
|
7
|
+
c-1.641,0-2.999-1.188-3.056-4.243h8.882v-1.443c0-3.536-2.15-6.788-5.996-6.76c-3.988,0-6.393,2.97-6.393,7.638
|
|
8
|
+
c0,4.667,2.404,7.637,6.222,7.637C56.476,30.628,58.456,29.722,59.814,27.629z M53.761,17.955c1.697,0,2.772,1.188,2.828,3.225
|
|
9
|
+
h-5.658C50.988,19.144,52.063,17.955,53.761,17.955z M65.75,18.153h-0.057v-2.517H62.47v14.708h3.507v-8.939
|
|
10
|
+
c0-0.367,1.527-2.375,3.281-2.375c0.254,0,0.453,0,0.622,0.028v-3.706C67.787,15.41,66.6,16.4,65.75,18.153z M126.495,15.636h-4.016
|
|
11
|
+
l-4.327,5.685h-0.113V9.922h-3.507v20.423h3.507v-4.527l1.782-2.065l3.253,6.592h3.733l-4.639-9.221L126.495,15.636z M92.927,30.628
|
|
12
|
+
c2.828,0,4.808-0.906,6.165-2.999l-2.545-1.585c-0.877,1.019-1.641,1.755-3.281,1.755c-1.641,0-2.998-1.188-3.055-4.243h8.881
|
|
13
|
+
v-1.443c0-3.536-2.149-6.788-5.996-6.76c-3.988,0-6.392,2.97-6.392,7.638C86.705,27.657,89.109,30.628,92.927,30.628z M93.04,17.955
|
|
14
|
+
c1.697,0,2.772,1.188,2.828,3.225h-5.657C90.268,19.144,91.343,17.955,93.04,17.955z M4.272,14.957c0-1.584,1.215-2.262,2.912-2.262
|
|
15
|
+
c1.838,0,3.055,1.075,3.649,2.658l3.564-1.102C13.18,11.28,10.465,9.64,7.184,9.64c-3.536,0-6.589,2.065-6.589,5.713
|
|
16
|
+
c0,6.28,10.521,5.488,10.521,9.504c0,1.98-1.499,2.715-3.451,2.715c-2.291,0-3.507-1.272-4.441-3.196L0,25.79
|
|
17
|
+
c1.16,2.971,4.3,4.838,7.637,4.838c4.525,0,7.156-2.093,7.156-6.281C14.793,17.729,4.272,18.464,4.272,14.957z M25.707,26.242
|
|
18
|
+
c-0.594,0.68-1.754,1.557-3.281,1.557c-1.188,0-1.81-0.623-1.81-2.603v-9.56h-3.507v10.068c0,3,1.414,4.923,4.356,4.923
|
|
19
|
+
c1.725,0,3.225-0.962,4.525-1.867v1.584h3.224V15.636h-3.507V26.242z M39.96,15.353c-1.584,0-2.743,0.651-3.762,1.641v-1.357h-3.366
|
|
20
|
+
v20.082h3.507v-6.732h0.057c0.707,0.934,2.376,1.641,3.564,1.641c3.79,0,5.883-3.621,5.883-7.242
|
|
21
|
+
C45.843,18.803,43.863,15.353,39.96,15.353z M39.055,27.799c-1.132,0-2.009-0.595-2.716-1.245v-7.071
|
|
22
|
+
c0.735-0.566,1.217-1.301,2.716-1.301c2.093,0,3.281,1.697,3.281,4.809C42.336,26.1,41.148,27.799,39.055,27.799z M111.762,26.214
|
|
23
|
+
c0-5.373-7.354-4.299-7.354-6.815c0-0.877,0.623-1.443,1.98-1.443c1.103,0,2.036,0.791,2.743,1.556l2.206-1.923
|
|
24
|
+
c-1.273-1.499-3.224-2.235-5.176-2.235c-2.545,0-4.865,1.527-4.865,4.272c0,5.12,7.354,4.214,7.354,6.732
|
|
25
|
+
c0,0.989-0.849,1.669-2.093,1.669c-1.499,0-2.602-0.99-3.422-2.122l-2.348,1.754c1.301,1.924,3.225,2.971,5.572,2.971
|
|
26
|
+
C109.442,30.628,111.762,29.27,111.762,26.214z M140.611,0l-11.523,3.955l14.217,5.386l-5.218,14.094l9.686-5.538L154,5.063
|
|
27
|
+
L140.611,0z M51.918,42.583c0-0.549,0.42-0.783,1.007-0.783c0.636,0,1.057,0.372,1.262,0.92l1.232-0.382
|
|
28
|
+
c-0.42-1.027-1.359-1.595-2.494-1.595c-1.222,0-2.279,0.714-2.279,1.976c0,2.171,3.639,1.897,3.639,3.286
|
|
29
|
+
c0,0.684-0.518,0.939-1.194,0.939c-0.792,0-1.212-0.439-1.535-1.105l-1.115,0.489c0.4,1.027,1.486,1.672,2.64,1.672
|
|
30
|
+
c1.565,0,2.475-0.723,2.475-2.171C55.557,43.54,51.918,43.794,51.918,42.583z M97.907,40.831l-2.034,7.071h1.34l0.42-1.525h2.23
|
|
31
|
+
l0.392,1.525h1.34l-2.005-7.071H97.907z M97.927,45.262l0.831-3.071h0.02l0.792,3.071H97.927z M107.042,44.176
|
|
32
|
+
c0.773-0.303,1.076-0.87,1.076-1.604c-0.078-1.261-0.988-1.731-2.397-1.731h-2.621v7.062h2.602c1.8,0,2.573-0.763,2.573-1.858
|
|
33
|
+
C108.275,44.969,107.962,44.548,107.042,44.176z M104.451,41.936h1.35c0.646,0,0.969,0.372,0.969,0.861
|
|
34
|
+
c0,0.489-0.323,0.861-0.969,0.861h-1.35V41.936z M105.8,46.807h-1.35v-2.054h1.35c0.783,0,1.125,0.352,1.125,1.027
|
|
35
|
+
C106.926,46.455,106.583,46.807,105.8,46.807z M115.19,42.934c-0.009-1.164-0.655-2.093-2.259-2.093h-2.817v7.062h1.35v-2.875h1.164
|
|
36
|
+
l1.331,2.875h1.496l-1.555-3.149C114.76,44.509,115.2,43.805,115.19,42.934z M112.461,43.932h-0.998v-1.996h1.232
|
|
37
|
+
c0.743,0,1.144,0.333,1.144,0.998C113.84,43.599,113.517,43.932,112.461,43.932z M117.195,47.902h1.35v-7.062h-1.35V47.902z
|
|
38
|
+
M59.811,40.743c-1.927,0-2.963,1.32-2.963,3.628c0,2.308,1.036,3.629,2.963,3.629c1.927,0,2.964-1.32,2.964-3.629
|
|
39
|
+
C62.775,42.063,61.738,40.743,59.811,40.743z M59.811,46.866c-1.115,0-1.633-0.841-1.613-2.494c0-1.652,0.509-2.493,1.613-2.493
|
|
40
|
+
c1.106,0,1.614,0.841,1.614,2.493C61.425,46.025,60.917,46.866,59.811,46.866z M91.129,47.902h1.35v-3.11h2.358v-1.134h-2.358
|
|
41
|
+
v-1.682h3.15v-1.135h-4.499V47.902z M123.112,46.866c-1.017,0-1.506-0.841-1.486-2.494c0-1.652,0.548-2.493,1.447-2.493
|
|
42
|
+
c0.665,0,1.086,0.42,1.281,1.016l1.222-0.293c-0.332-1.252-1.115-1.858-2.465-1.858c-1.8,0-2.836,1.32-2.836,3.628
|
|
43
|
+
c0,2.308,1.036,3.629,2.836,3.629c1.291,0,2.211-0.625,2.631-1.848l-1.252-0.333C124.091,46.65,123.719,46.866,123.112,46.866z
|
|
44
|
+
M76.488,42.934c-0.01-1.164-0.655-2.093-2.259-2.093h-2.816v7.062h1.35v-2.875h1.164l1.33,2.875h1.496l-1.555-3.149
|
|
45
|
+
C76.057,44.509,76.497,43.805,76.488,42.934z M73.759,43.932h-0.998v-1.996h1.232c0.743,0,1.145,0.333,1.145,0.998
|
|
46
|
+
C75.138,43.599,74.815,43.932,73.759,43.932z M68.262,45.321c0,1.144-0.45,1.545-1.36,1.545c-0.909,0-1.359-0.402-1.359-1.545v-4.48
|
|
47
|
+
h-1.35v4.421c0,2.063,1.271,2.738,2.709,2.738c1.438,0,2.71-0.675,2.71-2.738v-4.421h-1.35V45.321z M86.112,44.792h2.415v-1.134
|
|
48
|
+
h-2.415v-1.682h3.325v-1.135h-4.675v7.062h4.783v-1.134h-3.433V44.792z M80.684,46.866c-1.018,0-1.506-0.841-1.487-2.494
|
|
49
|
+
c0-1.652,0.548-2.493,1.447-2.493c0.665,0,1.085,0.42,1.281,1.016l1.223-0.293c-0.333-1.252-1.115-1.858-2.464-1.858
|
|
50
|
+
c-1.799,0-2.837,1.32-2.837,3.628c0,2.308,1.037,3.629,2.837,3.629c1.291,0,2.21-0.625,2.631-1.848l-1.252-0.333
|
|
51
|
+
C81.661,46.65,81.29,46.866,80.684,46.866z"/>
|
|
52
|
+
</svg>
|
package/app/styles/_buttons.scss
CHANGED
|
@@ -327,13 +327,13 @@ $new-button-active-shadow-hollow: inset 0 0 0 1px;
|
|
|
327
327
|
border-radius: $border-radius__base--full;
|
|
328
328
|
background-color: transparent;
|
|
329
329
|
opacity: 0.75;
|
|
330
|
-
background-color:
|
|
331
|
-
color:
|
|
330
|
+
background-color: hsla(214, 13%, 55%, 0);
|
|
331
|
+
color: var(--color-icon-default);
|
|
332
332
|
text-decoration: none;
|
|
333
333
|
cursor: pointer;
|
|
334
334
|
flex-shrink: 0;
|
|
335
335
|
[class^="icon-"], [class*=" icon-"] {
|
|
336
|
-
color:
|
|
336
|
+
color: var(--color-icon-default) !important;
|
|
337
337
|
vertical-align: baseline !important;
|
|
338
338
|
}
|
|
339
339
|
&:hover {
|
|
@@ -382,7 +382,6 @@ $new-button-active-shadow-hollow: inset 0 0 0 1px;
|
|
|
382
382
|
height: $height__button--x-large;
|
|
383
383
|
width: $height__button--x-large;
|
|
384
384
|
[class^="icon-"], [class*=" icon-"] {
|
|
385
|
-
color: inherit;
|
|
386
385
|
vertical-align: baseline !important;
|
|
387
386
|
font-size: 2.4rem;
|
|
388
387
|
height: 2.4rem;
|
|
@@ -398,12 +397,18 @@ $new-button-active-shadow-hollow: inset 0 0 0 1px;
|
|
|
398
397
|
}
|
|
399
398
|
}
|
|
400
399
|
&--outlineWhite {
|
|
401
|
-
color: hsla(214, 13%, 95%, 0.8);
|
|
400
|
+
color: hsla(214, 13%, 95%, 0.8) !important;
|
|
402
401
|
border: 1px solid currentColor;
|
|
402
|
+
[class^="icon-"], [class*=" icon-"] {
|
|
403
|
+
color: hsla(214, 13%, 95%, 0.8) !important;
|
|
404
|
+
}
|
|
403
405
|
&:hover:not(.icn-btn--disabled) {
|
|
404
|
-
color: hsla(214, 13%, 95%, 1);
|
|
406
|
+
color: hsla(214, 13%, 95%, 1) !important;
|
|
405
407
|
border-color: hsla(214, 13%, 95%, 1);
|
|
406
408
|
background-color: hsla(0, 0%, 0%, 0.4);
|
|
409
|
+
[class^="icon-"], [class*=" icon-"] {
|
|
410
|
+
color: hsla(214, 13%, 95%, 1) !important;
|
|
411
|
+
}
|
|
407
412
|
}
|
|
408
413
|
&:active:not(.icn-btn--disabled) {
|
|
409
414
|
border-color: var(--sd-colour-interactive);
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
padding: 0;
|
|
5
5
|
color: $sd-text;
|
|
6
6
|
list-style: none;
|
|
7
|
+
border-bottom: 0;
|
|
8
|
+
border-left: 0;
|
|
9
|
+
border-right: 0;
|
|
7
10
|
border-top: 1px var(--sd-colour-line--medium);
|
|
8
11
|
border-style: solid;
|
|
9
12
|
|
|
@@ -15,8 +18,11 @@
|
|
|
15
18
|
white-space: nowrap;
|
|
16
19
|
text-align: center;
|
|
17
20
|
border-top: 0;
|
|
21
|
+
border-bottom: 0;
|
|
22
|
+
border-left: 0;
|
|
23
|
+
border-right: 0;
|
|
18
24
|
border-top-color: var(--sd-colour-line--medium);
|
|
19
|
-
border-
|
|
25
|
+
border-style: solid;
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
&.sd-content-divider--horizontal {
|
|
@@ -24,7 +30,23 @@
|
|
|
24
30
|
clear: both;
|
|
25
31
|
width: 100%;
|
|
26
32
|
min-width: 100%;
|
|
27
|
-
|
|
33
|
+
&.sd-content-divider--margin-x-small {
|
|
34
|
+
margin: $sd-base-increment * 1 0;
|
|
35
|
+
}
|
|
36
|
+
&.sd-content-divider--margin-small {
|
|
37
|
+
margin: $sd-base-increment * 2 0;
|
|
38
|
+
}
|
|
39
|
+
&.sd-content-divider--margin-medium {
|
|
40
|
+
margin: $sd-base-increment * 3 0;
|
|
41
|
+
}
|
|
42
|
+
&.sd-content-divider--margin-large {
|
|
43
|
+
margin: $sd-base-increment * 4 0;
|
|
44
|
+
}
|
|
45
|
+
&.sd-content-divider--margin-none {
|
|
46
|
+
margin: 0 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
28
50
|
}
|
|
29
51
|
&.sd-content-divider--horizontal.sd-content-divider--with-text {
|
|
30
52
|
margin: 1.6rem 0;
|
|
@@ -37,8 +59,10 @@
|
|
|
37
59
|
border-top-color: transparent;
|
|
38
60
|
border-top-color: inherit;
|
|
39
61
|
border-bottom: 0;
|
|
62
|
+
border-left: 0;
|
|
63
|
+
border-right: 0;
|
|
40
64
|
transform: translateY(50%);
|
|
41
|
-
border-
|
|
65
|
+
border-style: inherit;
|
|
42
66
|
}
|
|
43
67
|
&.sd-content-divider--text-left {
|
|
44
68
|
&::before {
|
|
@@ -56,17 +80,31 @@
|
|
|
56
80
|
width: 5%;
|
|
57
81
|
}
|
|
58
82
|
}
|
|
83
|
+
&.sd-content-divider--margin-x-small {
|
|
84
|
+
margin: $sd-base-increment * 1 0;
|
|
85
|
+
}
|
|
86
|
+
&.sd-content-divider--margin-small {
|
|
87
|
+
margin: $sd-base-increment * 2 0;
|
|
88
|
+
}
|
|
89
|
+
&.sd-content-divider--margin-medium {
|
|
90
|
+
margin: $sd-base-increment * 3 0;
|
|
91
|
+
}
|
|
92
|
+
&.sd-content-divider--margin-large {
|
|
93
|
+
margin: $sd-base-increment * 4 0;
|
|
94
|
+
}
|
|
95
|
+
&.sd-content-divider--margin-none {
|
|
96
|
+
margin: $sd-base-increment / 2 0;
|
|
97
|
+
}
|
|
59
98
|
}
|
|
60
99
|
|
|
61
|
-
|
|
62
100
|
&.sd-content-divider--vertical {
|
|
63
101
|
position: relative;
|
|
64
102
|
display: inline-block;
|
|
65
|
-
margin: $sd-base-increment * 0.5 $sd-base-increment * 1.5;
|
|
103
|
+
//margin: $sd-base-increment * 0.5 $sd-base-increment * 1.5;
|
|
66
104
|
vertical-align: middle;
|
|
67
105
|
border-top: 0;
|
|
68
106
|
border-left: 1px var(--sd-colour-line--medium);
|
|
69
|
-
border-
|
|
107
|
+
border-style: solid;
|
|
70
108
|
flex-grow: 0;
|
|
71
109
|
align-self: stretch;
|
|
72
110
|
min-height: $sd-base-increment * 2;
|
|
@@ -86,9 +124,11 @@
|
|
|
86
124
|
position: relative;
|
|
87
125
|
height: 50%;
|
|
88
126
|
border-left: 1px var(--sd-colour-line--medium);
|
|
127
|
+
border-right: 0;
|
|
89
128
|
border-bottom: 0;
|
|
129
|
+
border-top: 0;
|
|
90
130
|
width: 1px;
|
|
91
|
-
border-
|
|
131
|
+
border-style: solid;
|
|
92
132
|
}
|
|
93
133
|
&.sd-content-divider--dashed {
|
|
94
134
|
&::before, &::after {
|
|
@@ -98,11 +138,26 @@
|
|
|
98
138
|
}
|
|
99
139
|
&.sd-content-divider--dotted {
|
|
100
140
|
&::before, &::after {
|
|
101
|
-
border-
|
|
141
|
+
border-style: dotted;
|
|
102
142
|
border-color: var(--sd-colour-line--strong);
|
|
103
143
|
}
|
|
104
144
|
}
|
|
105
145
|
}
|
|
146
|
+
&.sd-content-divider--margin-x-small {
|
|
147
|
+
margin: 0 $sd-base-increment * 1;
|
|
148
|
+
}
|
|
149
|
+
&.sd-content-divider--margin-small {
|
|
150
|
+
margin: 0 $sd-base-increment * 2;
|
|
151
|
+
}
|
|
152
|
+
&.sd-content-divider--margin-medium {
|
|
153
|
+
margin: 0 $sd-base-increment * 3;
|
|
154
|
+
}
|
|
155
|
+
&.sd-content-divider--margin-large {
|
|
156
|
+
margin: 0 $sd-base-increment * 4;
|
|
157
|
+
}
|
|
158
|
+
&.sd-content-divider--margin-none {
|
|
159
|
+
margin: 0 0;
|
|
160
|
+
}
|
|
106
161
|
}
|
|
107
162
|
&.sd-content-divider--dashed {
|
|
108
163
|
border-style: dashed;
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
// Settings
|
|
2
|
+
// ==================================================
|
|
3
|
+
$hamburger-layer-width : 18px !default;
|
|
4
|
+
$hamburger-layer-height : 3px !default;
|
|
5
|
+
$hamburger-layer-spacing : 3px !default;
|
|
6
|
+
$hamburger-layer-color : #fff !default;
|
|
7
|
+
$hamburger-layer-border-radius : 1px !default;
|
|
8
|
+
$hamburger-hover-opacity : 0.7 !default;
|
|
9
|
+
$hamburger-active-layer-color : $hamburger-layer-color !default;
|
|
10
|
+
$hamburger-active-hover-opacity: $hamburger-hover-opacity !default;
|
|
11
|
+
|
|
12
|
+
// Hamburger
|
|
13
|
+
// ==================================================
|
|
14
|
+
.hamburger {
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
transition-property: opacity;
|
|
17
|
+
transition-duration: 0.15s;
|
|
18
|
+
transition-timing-function: linear;
|
|
19
|
+
|
|
20
|
+
&:hover {
|
|
21
|
+
opacity: $hamburger-hover-opacity;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.is-active {
|
|
25
|
+
opacity: 0.5;
|
|
26
|
+
&:hover {
|
|
27
|
+
opacity: $hamburger-active-hover-opacity;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.hamburger__inner,
|
|
31
|
+
.hamburger__inner::before,
|
|
32
|
+
.hamburger__inner::after {
|
|
33
|
+
background-color: $hamburger-active-layer-color;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.hamburger__box {
|
|
39
|
+
width: $hamburger-layer-width;
|
|
40
|
+
height: $hamburger-layer-height * 3 + $hamburger-layer-spacing * 2;
|
|
41
|
+
display: inline-block;
|
|
42
|
+
position: relative;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.hamburger__inner {
|
|
46
|
+
display: block;
|
|
47
|
+
top: 50%;
|
|
48
|
+
margin-top: $hamburger-layer-height / -2;
|
|
49
|
+
|
|
50
|
+
&,
|
|
51
|
+
&::before,
|
|
52
|
+
&::after {
|
|
53
|
+
width: $hamburger-layer-width;
|
|
54
|
+
height: $hamburger-layer-height;
|
|
55
|
+
background-color: $hamburger-layer-color;
|
|
56
|
+
border-radius: $hamburger-layer-border-radius;
|
|
57
|
+
position: absolute;
|
|
58
|
+
transition-property: transform;
|
|
59
|
+
transition-duration: 0.15s;
|
|
60
|
+
transition-timing-function: ease;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&::before,
|
|
64
|
+
&::after {
|
|
65
|
+
content: "";
|
|
66
|
+
display: block;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&::before {
|
|
70
|
+
top: ($hamburger-layer-spacing + $hamburger-layer-height) * -1;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&::after {
|
|
74
|
+
bottom: ($hamburger-layer-spacing + $hamburger-layer-height) * -1;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
// Hamburger animation
|
|
80
|
+
// ==================================================
|
|
81
|
+
|
|
82
|
+
/* Spin */
|
|
83
|
+
.hamburger--spin {
|
|
84
|
+
.hamburger__inner {
|
|
85
|
+
transition-duration: 0.22s;
|
|
86
|
+
transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
|
87
|
+
|
|
88
|
+
&::before {
|
|
89
|
+
transition: top 0.1s 0.25s ease-in,
|
|
90
|
+
opacity 0.1s ease-in;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&::after {
|
|
94
|
+
transition: bottom 0.1s 0.25s ease-in,
|
|
95
|
+
transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&.is-active {
|
|
100
|
+
.hamburger__inner {
|
|
101
|
+
transform: rotate(225deg);
|
|
102
|
+
transition-delay: 0.12s;
|
|
103
|
+
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
104
|
+
|
|
105
|
+
&::before {
|
|
106
|
+
top: 0;
|
|
107
|
+
opacity: 0;
|
|
108
|
+
transition: top 0.1s ease-out,
|
|
109
|
+
opacity 0.1s 0.12s ease-out;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&::after {
|
|
113
|
+
bottom: 0;
|
|
114
|
+
transform: rotate(-90deg);
|
|
115
|
+
transition: bottom 0.1s ease-out,
|
|
116
|
+
transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* Squeeze */
|
|
123
|
+
.hamburger--squeeze {
|
|
124
|
+
.hamburger__inner {
|
|
125
|
+
transition-duration: 0.075s;
|
|
126
|
+
transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
|
127
|
+
|
|
128
|
+
&::before {
|
|
129
|
+
transition: top 0.075s 0.12s ease,
|
|
130
|
+
opacity 0.075s ease;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&::after {
|
|
134
|
+
transition: bottom 0.075s 0.12s ease,
|
|
135
|
+
transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&.is-active {
|
|
140
|
+
.hamburger__inner {
|
|
141
|
+
transform: rotate(45deg);
|
|
142
|
+
transition-delay: 0.12s;
|
|
143
|
+
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
144
|
+
|
|
145
|
+
&::before {
|
|
146
|
+
top: 0;
|
|
147
|
+
opacity: 0;
|
|
148
|
+
transition: top 0.075s ease,
|
|
149
|
+
opacity 0.075s 0.12s ease;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&::after {
|
|
153
|
+
bottom: 0;
|
|
154
|
+
transform: rotate(-90deg);
|
|
155
|
+
transition: bottom 0.075s ease,
|
|
156
|
+
transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
package/app/styles/_helpers.scss
CHANGED
|
@@ -384,7 +384,7 @@ p strong {
|
|
|
384
384
|
font-weight: 500;
|
|
385
385
|
}
|
|
386
386
|
time {
|
|
387
|
-
color: $sd-text-
|
|
387
|
+
color: $sd-text-light;
|
|
388
388
|
font-weight: 400;
|
|
389
389
|
letter-spacing: .025em;
|
|
390
390
|
&.small {
|
|
@@ -446,6 +446,13 @@ h1, h2, h3, h4, h5, h6 {
|
|
|
446
446
|
line-height: 1.4;
|
|
447
447
|
}
|
|
448
448
|
|
|
449
|
+
.sd-time {
|
|
450
|
+
font-size: 1.2rem;
|
|
451
|
+
display: inline-block;
|
|
452
|
+
color: var(--color-text-light);
|
|
453
|
+
letter-spacing: 0.025em;
|
|
454
|
+
}
|
|
455
|
+
|
|
449
456
|
// Font weights
|
|
450
457
|
|
|
451
458
|
.sd-text__light,
|
|
@@ -948,16 +955,16 @@ $sd-properties: (padding, margin); // It's generating these properties
|
|
|
948
955
|
|
|
949
956
|
// Font size
|
|
950
957
|
.sd-font-size--x-small {
|
|
951
|
-
font-size: calc(var(--text-size--base) * 1.2); //
|
|
958
|
+
font-size: calc(var(--text-size--base) * 1.2); // 12px;
|
|
952
959
|
}
|
|
953
960
|
.sd-font-size--small {
|
|
954
961
|
font-size: calc(var(--text-size--base) * 1.4); // 14px;
|
|
955
962
|
}
|
|
956
963
|
.sd-font-size--medium {
|
|
957
|
-
font-size: calc(var(--text-size--base) * 1.6); //
|
|
964
|
+
font-size: calc(var(--text-size--base) * 1.6); // 16px;
|
|
958
965
|
}
|
|
959
966
|
.sd-font-size--large {
|
|
960
|
-
font-size: calc(var(--text-size--base) * 2); //
|
|
967
|
+
font-size: calc(var(--text-size--base) * 2); // 20px;
|
|
961
968
|
}
|
|
962
969
|
|
|
963
970
|
// Text colour
|
|
@@ -1017,4 +1024,27 @@ $sd-properties: (padding, margin); // It's generating these properties
|
|
|
1017
1024
|
}
|
|
1018
1025
|
.sd-width--full {
|
|
1019
1026
|
width: var(--width__container--full);
|
|
1020
|
-
}
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
.sd-gap--x-small {
|
|
1031
|
+
gap: var(--gap--x-small);
|
|
1032
|
+
}
|
|
1033
|
+
.sd-gap--small {
|
|
1034
|
+
gap: var(--gap--small);
|
|
1035
|
+
}
|
|
1036
|
+
.sd-gap--medium {
|
|
1037
|
+
gap: var(--gap--medium);
|
|
1038
|
+
}
|
|
1039
|
+
.sd-gap--large {
|
|
1040
|
+
gap: var(--gap--large);
|
|
1041
|
+
}
|
|
1042
|
+
.sd-gap--x-large {
|
|
1043
|
+
gap: var(--gap--x-large);
|
|
1044
|
+
}
|
|
1045
|
+
.sd-gap--xx-large {
|
|
1046
|
+
gap: var(--gap--xx-large);
|
|
1047
|
+
}
|
|
1048
|
+
.sd-gap--auto {
|
|
1049
|
+
gap: var(--gap--auto);
|
|
1050
|
+
}
|