superdesk-ui-framework 3.0.0-beta.0 → 3.0.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/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 +311 -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 +1 -1
- package/app/styles/_boxed-list.scss +38 -18
- package/app/styles/_buttons.scss +431 -332
- package/app/styles/_carousel.scss +17 -11
- package/app/styles/_design-tokens.scss +2 -0
- package/app/styles/_helpers.scss +186 -30
- package/app/styles/_icon-font.scss +1 -1
- 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/_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 +9 -2
- package/app/styles/components/_card-item.scss +33 -21
- package/app/styles/components/_list-item.scss +9 -4
- package/app/styles/components/_sd-dropzone.scss +78 -0
- package/app/styles/components/_sd-grid-item.scss +2 -2
- package/app/styles/components/_sd-searchbar.scss +5 -98
- package/app/styles/components/_subnav.scss +83 -61
- package/app/styles/components/_theme-selector.scss +189 -0
- package/app/styles/design-tokens/_design-tokens-general.scss +77 -0
- package/app/styles/{variables → design-tokens}/_new-colors.scss +34 -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 +22 -3
- 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 +35 -21
- 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 +32 -0
- package/app/styles/layout/_editor.scss +306 -0
- package/app/styles/menus/_sd-left-navigation.scss +14 -2
- package/app/styles/menus/_sd-sidebar-menu.scss +102 -9
- package/app/styles/pr-superdesk-theme.scss +3 -0
- package/app/styles/primereact/_pr-datepicker.scss +58 -7
- package/app/styles/primereact/_pr-dropdown.scss +157 -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/DatePicker.tsx +6 -2
- 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/IconButton.tsx +26 -12
- package/app-typescript/components/IconPicker.tsx +277 -0
- package/app-typescript/components/Input.tsx +41 -8
- package/app-typescript/components/Layouts/AuthorinInnerSideBar.tsx +15 -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 +38 -0
- package/app-typescript/components/Layouts/AuthoringMain.tsx +46 -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 +15 -0
- package/app-typescript/components/Layouts/Container.tsx +30 -0
- package/app-typescript/components/Layouts/HeaderPanel.tsx +15 -0
- package/app-typescript/components/Layouts/LayoutContainer.tsx +18 -0
- package/app-typescript/components/Layouts/LeftPanel.tsx +24 -0
- package/app-typescript/components/Layouts/MainPanel.tsx +22 -0
- package/app-typescript/components/Layouts/PageLayout.tsx +51 -0
- package/app-typescript/components/Layouts/Panel.tsx +207 -0
- package/app-typescript/components/Layouts/RightPanel.tsx +16 -0
- package/app-typescript/components/Layouts/index.tsx +25 -0
- package/app-typescript/components/LeftMenu.tsx +123 -49
- package/app-typescript/components/ListItemLoader.tsx +30 -0
- package/app-typescript/components/Lists/BoxedList.tsx +133 -0
- package/app-typescript/components/Lists/SimpleList.tsx +54 -0
- package/app-typescript/components/Lists/index.tsx +2 -0
- package/app-typescript/components/Modal.tsx +1 -1
- package/app-typescript/components/MultiSelect.tsx +69 -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 +77 -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/Select.tsx +12 -4
- package/app-typescript/components/SelectGrid.tsx +233 -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/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/ThemeSelector.tsx +113 -0
- package/app-typescript/components/Togglebox.tsx +8 -6
- package/app-typescript/components/TreeSelect.tsx +330 -0
- package/app-typescript/index.ts +19 -3
- 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/examples.bundle.css +99 -1225
- package/dist/examples.bundle.js +24704 -15626
- 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/master-desk.html +1 -3
- package/dist/playgrounds/react-playgrounds/EditorTest.tsx +454 -0
- package/dist/playgrounds/react-playgrounds/FirstPlayground.tsx +4 -4
- package/dist/playgrounds/react-playgrounds/Index.tsx +4 -1
- package/dist/playgrounds/react-playgrounds/PageLayoutTest.tsx +161 -0
- package/dist/playgrounds/react-playgrounds/PersonalProfile.tsx +622 -0
- package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +10 -10
- package/dist/playgrounds/react-playgrounds/TestGround.tsx +232 -23
- package/dist/playgrounds/react-playgrounds/UiPlayground.tsx +8 -79
- 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/DropZone.tsx +103 -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/IconPicker.tsx +65 -0
- package/dist/react/Index.tsx +100 -19
- package/dist/react/Inputs.tsx +9 -3
- package/dist/react/LeftNavigations.tsx +161 -9
- package/dist/react/ListItems.tsx +34 -0
- package/dist/react/Modal.tsx +7 -7
- package/dist/react/MultiSelect.tsx +193 -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 +2 -0
- package/dist/react/SimpleList.tsx +148 -0
- package/dist/react/SubNav.tsx +65 -18
- package/dist/react/Tags.tsx +57 -5
- package/dist/react/Text.tsx +134 -0
- package/dist/react/TreeSelect.tsx +178 -0
- package/dist/react.html +4 -0
- package/dist/superdesk-ui.bundle.css +26706 -20044
- package/dist/superdesk-ui.bundle.js +8456 -3426
- package/dist/vendor.bundle.js +13677 -13655
- package/examples/css/docs-page.css +98 -27
- 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 +16 -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/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/master-desk.html +1 -3
- package/examples/pages/playgrounds/react-playgrounds/EditorTest.tsx +454 -0
- package/examples/pages/playgrounds/react-playgrounds/FirstPlayground.tsx +4 -4
- package/examples/pages/playgrounds/react-playgrounds/Index.tsx +4 -1
- package/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.tsx +161 -0
- package/examples/pages/playgrounds/react-playgrounds/PersonalProfile.tsx +622 -0
- package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +10 -10
- package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +232 -23
- package/examples/pages/playgrounds/react-playgrounds/UiPlayground.tsx +8 -79
- 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/DropZone.tsx +103 -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/IconPicker.tsx +65 -0
- package/examples/pages/react/Index.tsx +100 -19
- package/examples/pages/react/Inputs.tsx +9 -3
- package/examples/pages/react/LeftNavigations.tsx +161 -9
- package/examples/pages/react/ListItems.tsx +34 -0
- package/examples/pages/react/Modal.tsx +7 -7
- package/examples/pages/react/MultiSelect.tsx +193 -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 +2 -0
- package/examples/pages/react/SimpleList.tsx +148 -0
- package/examples/pages/react/SubNav.tsx +65 -18
- 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.html +4 -0
- package/package.json +9 -5
- package/react/components/Alert.d.ts +3 -0
- package/react/components/Alert.js +9 -1
- package/react/components/Avatar.d.ts +9 -0
- package/react/components/Avatar.js +19 -1
- package/react/components/Button.d.ts +2 -0
- package/react/components/Button.js +4 -2
- package/react/components/ButtonGroup.d.ts +3 -2
- package/react/components/ButtonGroup.js +2 -2
- package/react/components/Carousel.js +1 -1
- package/react/components/CheckButtonGroup.d.ts +3 -1
- package/react/components/CheckButtonGroup.js +8 -2
- package/react/components/CheckGroup.d.ts +1 -0
- package/react/components/CheckGroup.js +1 -1
- package/react/components/Checkbox.d.ts +2 -1
- package/react/components/Checkbox.js +2 -2
- package/react/components/CheckboxButton.d.ts +1 -0
- package/react/components/CheckboxButton.js +2 -2
- package/react/components/DatePicker.js +7 -2
- package/react/components/DropZone.d.ts +25 -0
- package/react/components/DropZone.js +93 -0
- package/react/components/Dropdown.d.ts +1 -0
- package/react/components/Dropdown.js +3 -3
- package/react/components/Form/FormGroup.d.ts +13 -0
- package/react/components/Form/FormGroup.js +61 -0
- package/react/components/Form/FormItem.d.ts +9 -0
- package/react/components/Form/FormItem.js +54 -0
- package/react/components/Form/FormLabel.d.ts +10 -0
- package/react/components/Form/FormLabel.js +54 -0
- package/react/components/Form/FormRow.d.ts +17 -0
- package/react/components/Form/FormRow.js +62 -0
- package/react/components/Form/FormText.d.ts +8 -0
- package/react/components/Form/FormText.js +47 -0
- package/react/components/Form/index.d.ts +5 -0
- package/react/components/Form/index.js +12 -0
- package/react/components/IconButton.d.ts +9 -2
- package/react/components/IconButton.js +13 -5
- package/react/components/IconPicker.d.ts +24 -0
- package/react/components/IconPicker.js +283 -0
- package/react/components/Input.d.ts +20 -3
- package/react/components/Input.js +12 -3
- package/react/components/Layouts/AuthorinInnerSideBar.d.ts +8 -0
- package/react/components/Layouts/AuthorinInnerSideBar.js +47 -0
- package/react/components/Layouts/AuthoringFrame.d.ts +18 -0
- package/react/components/Layouts/AuthoringFrame.js +56 -0
- package/react/components/Layouts/AuthoringFrameContainer.d.ts +8 -0
- package/react/components/Layouts/AuthoringFrameContainer.js +47 -0
- package/react/components/Layouts/AuthoringFrameLeftBar.d.ts +8 -0
- package/react/components/Layouts/AuthoringFrameLeftBar.js +47 -0
- package/react/components/Layouts/AuthoringFrameMain.d.ts +8 -0
- package/react/components/Layouts/AuthoringFrameMain.js +47 -0
- package/react/components/Layouts/AuthoringFrameNavBar.d.ts +8 -0
- package/react/components/Layouts/AuthoringFrameNavBar.js +47 -0
- package/react/components/Layouts/AuthoringFrameOverlay.d.ts +8 -0
- package/react/components/Layouts/AuthoringFrameOverlay.js +47 -0
- package/react/components/Layouts/AuthoringFrameRightBar.d.ts +8 -0
- package/react/components/Layouts/AuthoringFrameRightBar.js +47 -0
- package/react/components/Layouts/AuthoringFrameSidePanel.d.ts +10 -0
- package/react/components/Layouts/AuthoringFrameSidePanel.js +56 -0
- package/react/components/Layouts/AuthoringFrameSidePanelOverlay.d.ts +9 -0
- package/react/components/Layouts/AuthoringFrameSidePanelOverlay.js +56 -0
- package/react/components/Layouts/AuthoringInnerBody.d.ts +8 -0
- package/react/components/Layouts/AuthoringInnerBody.js +47 -0
- package/react/components/Layouts/AuthoringInnerHeader.d.ts +13 -0
- package/react/components/{RadioButton.js → Layouts/AuthoringInnerHeader.js} +20 -22
- package/react/components/Layouts/AuthoringMain.d.ts +12 -0
- package/react/components/Layouts/AuthoringMain.js +53 -0
- package/react/components/Layouts/AuthoringMainContainer.d.ts +8 -0
- package/react/components/Layouts/AuthoringMainContainer.js +47 -0
- package/react/components/Layouts/AuthoringMainContent.d.ts +8 -0
- package/react/components/Layouts/AuthoringMainContent.js +47 -0
- package/react/components/Layouts/AuthoringMainToolBar.d.ts +8 -0
- package/react/components/Layouts/AuthoringMainToolBar.js +47 -0
- package/react/components/Layouts/Container.d.ts +14 -0
- package/react/components/Layouts/Container.js +60 -0
- package/react/components/Layouts/HeaderPanel.d.ts +8 -0
- package/react/components/Layouts/HeaderPanel.js +47 -0
- package/react/components/Layouts/LayoutContainer.d.ts +8 -0
- package/react/components/Layouts/LayoutContainer.js +47 -0
- package/react/components/Layouts/LeftPanel.d.ts +9 -0
- package/react/components/Layouts/LeftPanel.js +54 -0
- package/react/components/Layouts/MainPanel.d.ts +10 -0
- package/react/components/Layouts/MainPanel.js +50 -0
- package/react/components/Layouts/PageLayout.d.ts +16 -0
- package/react/components/Layouts/PageLayout.js +64 -0
- package/react/components/Layouts/Panel.d.ts +65 -0
- package/react/components/Layouts/Panel.js +166 -0
- package/react/components/Layouts/RightPanel.d.ts +9 -0
- package/react/components/Layouts/RightPanel.js +47 -0
- package/react/components/Layouts/index.d.ts +24 -0
- package/react/components/Layouts/index.js +55 -0
- package/react/components/LeftMenu.d.ts +8 -3
- package/react/components/LeftMenu.js +55 -16
- package/react/components/ListItemLoader.d.ts +4 -0
- package/react/components/ListItemLoader.js +62 -0
- package/react/components/Lists/BoxedList.d.ts +36 -0
- package/react/components/Lists/BoxedList.js +137 -0
- package/react/components/Lists/SimpleList.d.ts +21 -0
- package/react/components/Lists/SimpleList.js +78 -0
- package/react/components/Lists/index.d.ts +2 -0
- package/react/components/Lists/index.js +9 -0
- package/react/components/Modal.js +1 -1
- package/react/components/Navigation/QuickNavBar.d.ts +24 -0
- package/react/components/Navigation/QuickNavBar.js +113 -0
- package/react/components/Navigation/SideBarMenu.d.ts +21 -0
- package/react/components/Navigation/SideBarMenu.js +77 -0
- package/react/components/Navigation/SideBarTabs.d.ts +22 -0
- package/react/components/Navigation/SideBarTabs.js +82 -0
- package/react/components/Navigation/index.d.ts +3 -0
- package/react/components/Navigation/index.js +8 -0
- package/react/components/RadioButtonGroup.d.ts +29 -0
- package/react/components/RadioButtonGroup.js +89 -0
- package/react/components/{Radio.d.ts → RadioGroup.d.ts} +7 -3
- package/react/components/{Radio.js → RadioGroup.js} +15 -11
- package/react/components/Select.d.ts +3 -1
- package/react/components/Select.js +5 -3
- package/react/components/SelectGrid.d.ts +45 -0
- package/react/components/SelectGrid.js +179 -0
- package/react/components/Skeleton.d.ts +30 -0
- package/react/components/Skeleton.js +55 -0
- package/react/components/SlidingToolbar.d.ts +1 -1
- package/react/components/SlidingToolbar.js +11 -1
- package/react/components/Spinner.d.ts +11 -0
- package/react/components/Spinner.js +69 -0
- package/react/components/SubNav.d.ts +8 -1
- package/react/components/SubNav.js +22 -4
- package/react/components/Switch.d.ts +4 -1
- package/react/components/Switch.js +19 -7
- package/react/components/TabCustom.d.ts +0 -1
- package/react/components/Tag.d.ts +3 -2
- package/react/components/Tag.js +16 -5
- package/react/components/TagInput.d.ts +0 -1
- package/react/components/Text/Heading.d.ts +15 -0
- package/react/components/Text/Heading.js +77 -0
- package/react/components/Text/Text.d.ts +15 -0
- package/react/components/Text/Text.js +65 -0
- package/react/components/{RadioButton.d.ts → ThemeSelector.d.ts} +4 -3
- package/react/components/ThemeSelector.js +112 -0
- package/react/components/Togglebox.d.ts +1 -0
- package/react/components/Togglebox.js +9 -2
- package/react/index.d.ts +17 -3
- package/react/index.js +40 -4
- 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
@@ -27,10 +27,10 @@
|
|
27
27
|
}
|
28
28
|
|
29
29
|
.sd-carousel__content {
|
30
|
-
background:
|
30
|
+
background: var(--color-modal-Bg);
|
31
31
|
background-clip: padding-box;
|
32
32
|
outline: 0;
|
33
|
-
box-shadow: 0 4px 24px
|
33
|
+
box-shadow: 0 4px 24px hsla(0, 0%, 0%, 0.2), 0 10px 28px hsla(0, 0%, 0%, 0.35);
|
34
34
|
border-radius: 1rem 1rem 0.8rem 0.8rem;
|
35
35
|
min-height: 40rem;
|
36
36
|
display: flex;
|
@@ -52,15 +52,15 @@
|
|
52
52
|
width: 100%;
|
53
53
|
height: 200px;
|
54
54
|
border-radius: 0.8rem 0.8rem 0 0;
|
55
|
-
background-color:
|
55
|
+
background-color: hsl(217, 28%, 26%);
|
56
56
|
flex-grow: 0;
|
57
57
|
position: relative;
|
58
58
|
overflow: hidden;
|
59
59
|
&--color-2 {
|
60
|
-
background-color:
|
60
|
+
background-color: hsl(268, 22%, 53%);
|
61
61
|
}
|
62
62
|
&--color-3 {
|
63
|
-
background-color:
|
63
|
+
background-color: hsl(184, 42%, 60%);
|
64
64
|
}
|
65
65
|
}
|
66
66
|
|
@@ -79,7 +79,7 @@
|
|
79
79
|
width: 100%;
|
80
80
|
text-align: center;
|
81
81
|
z-index: 2;
|
82
|
-
color:
|
82
|
+
color: $white;
|
83
83
|
font-size: 3.2rem;
|
84
84
|
line-height: 1;
|
85
85
|
top: calc(50% - 1.6rem);
|
@@ -112,9 +112,9 @@
|
|
112
112
|
|
113
113
|
|
114
114
|
@mixin modalNavButton-style(
|
115
|
-
$background:
|
116
|
-
$background-hover:
|
117
|
-
$background-active:
|
115
|
+
$background: var(--sd-item__main-Bg),
|
116
|
+
$background-hover: var(--sd-item__main-Bg--hover),
|
117
|
+
$background-active: var(--sd-item__main-Bg--alternate))
|
118
118
|
{
|
119
119
|
border-radius: $border-radius__base--full;
|
120
120
|
cursor: pointer;
|
@@ -166,10 +166,16 @@
|
|
166
166
|
}
|
167
167
|
&--end {
|
168
168
|
right: -88px;
|
169
|
-
|
169
|
+
background-color: var(--sd-colour-success);
|
170
170
|
&::after {
|
171
171
|
content: "\e61d";
|
172
|
-
color:
|
172
|
+
color: $white;
|
173
|
+
}
|
174
|
+
&:hover {
|
175
|
+
background-color: var(--sd-colour-success--hover);
|
176
|
+
}
|
177
|
+
&:active {
|
178
|
+
background-color: var(--sd-colour-success--active);
|
173
179
|
}
|
174
180
|
}
|
175
181
|
|
package/app/styles/_helpers.scss
CHANGED
@@ -91,16 +91,16 @@
|
|
91
91
|
|
92
92
|
// Flex direction
|
93
93
|
.sd-flex--direction-row {
|
94
|
-
flex-direction: row;
|
94
|
+
flex-direction: row !important;
|
95
95
|
}
|
96
96
|
.sd-flex--direction-col {
|
97
|
-
flex-direction: column;
|
97
|
+
flex-direction: column !important;
|
98
98
|
}
|
99
99
|
.sd-flex--direction-row-reverse {
|
100
|
-
flex-direction: row-reverse;
|
100
|
+
flex-direction: row-reverse !important;
|
101
101
|
}
|
102
102
|
.sd-flex--direction-col-reverse {
|
103
|
-
flex-direction: column-reverse;
|
103
|
+
flex-direction: column-reverse !important;
|
104
104
|
}
|
105
105
|
// Flex wrap
|
106
106
|
.sd-flex--wrap {
|
@@ -406,7 +406,47 @@ time {
|
|
406
406
|
// }
|
407
407
|
// }
|
408
408
|
|
409
|
+
h1, h2, h3, h4, h5, h6 {
|
410
|
+
margin: 0;
|
411
|
+
}
|
412
|
+
.sd-heading {
|
413
|
+
margin: 0;
|
414
|
+
&--h1 {
|
415
|
+
font-size: calc(var(--text-size--base) * 2.4);
|
416
|
+
font-weight: 400;
|
417
|
+
}
|
418
|
+
&--h2 {
|
419
|
+
font-size: calc(var(--text-size--base) * 2);
|
420
|
+
font-weight: 500;
|
421
|
+
}
|
422
|
+
&--h3 {
|
423
|
+
font-size: calc(var(--text-size--base) * 1.6);
|
424
|
+
font-weight: 400;
|
425
|
+
}
|
426
|
+
&--h4 {
|
427
|
+
font-size: calc(var(--text-size--base) * 1.5);
|
428
|
+
font-weight: 500;
|
429
|
+
}
|
430
|
+
&--h5 {
|
431
|
+
font-size: calc(var(--text-size--base) * 1.4);
|
432
|
+
font-weight: 500;
|
433
|
+
}
|
434
|
+
&--h6 {
|
435
|
+
font-size: calc(var(--text-size--base) * 1.2);
|
436
|
+
font-weight: 500;
|
437
|
+
text-transform: uppercase;
|
438
|
+
color: $sd-text-light;
|
439
|
+
}
|
440
|
+
}
|
441
|
+
|
442
|
+
|
443
|
+
.sd-text {
|
444
|
+
font-size: 1.4rem;
|
445
|
+
line-height: 1.4;
|
446
|
+
}
|
447
|
+
|
409
448
|
// Font weights
|
449
|
+
|
410
450
|
.sd-text__light,
|
411
451
|
.sd-text--light {
|
412
452
|
font-weight: 300;
|
@@ -420,7 +460,7 @@ time {
|
|
420
460
|
}
|
421
461
|
.sd-text__strong,
|
422
462
|
.sd-text--strong {
|
423
|
-
font-weight:
|
463
|
+
font-weight: 700;
|
424
464
|
}
|
425
465
|
.sd-text--bold {
|
426
466
|
font-weight: 700;
|
@@ -489,7 +529,7 @@ time {
|
|
489
529
|
white-space: pre-wrap;
|
490
530
|
}
|
491
531
|
// Text Transform
|
492
|
-
.sd-txt-transform--
|
532
|
+
.sd-txt-transform--uppercase {
|
493
533
|
text-transform: uppercase;
|
494
534
|
}
|
495
535
|
.sd-txt-transform--lowercase {
|
@@ -564,7 +604,7 @@ time {
|
|
564
604
|
}
|
565
605
|
|
566
606
|
.sd-text__date-time {
|
567
|
-
color:
|
607
|
+
color: var(--color-text-light);
|
568
608
|
font-weight: 300;
|
569
609
|
letter-spacing: .025em;
|
570
610
|
&--small {
|
@@ -627,12 +667,14 @@ time {
|
|
627
667
|
// -------------------------------------------------
|
628
668
|
|
629
669
|
.ml-auto,
|
630
|
-
.sd-margin-l--auto
|
631
|
-
|
670
|
+
.sd-margin-l--auto,
|
671
|
+
.sd-margin-s--auto {
|
672
|
+
margin-inline-start: auto !important;
|
632
673
|
}
|
633
674
|
.mr-auto,
|
634
|
-
.sd-margin-r--auto
|
635
|
-
|
675
|
+
.sd-margin-r--auto,
|
676
|
+
.sd-margin-e--auto {
|
677
|
+
margin-inline-end: auto !important;
|
636
678
|
}
|
637
679
|
.mt-auto,
|
638
680
|
.sd-margin-t--auto {
|
@@ -644,8 +686,8 @@ time {
|
|
644
686
|
}
|
645
687
|
.mlr-auto,
|
646
688
|
.sd-margin-x--auto {
|
647
|
-
margin-
|
648
|
-
margin-
|
689
|
+
margin-inline-start: auto !important;
|
690
|
+
margin-inline-end: auto !important;
|
649
691
|
}
|
650
692
|
.sd-margin-y--auto {
|
651
693
|
margin-top: auto !important;
|
@@ -814,22 +856,7 @@ $sd-properties: (padding, margin); // It's generating these properties
|
|
814
856
|
display: inline-flex !important;
|
815
857
|
}
|
816
858
|
|
817
|
-
|
818
|
-
margin-left: auto !important;
|
819
|
-
}
|
820
|
-
.mr-auto {
|
821
|
-
margin-right: auto !important;
|
822
|
-
}
|
823
|
-
.mt-auto {
|
824
|
-
margin-top: auto !important;
|
825
|
-
}
|
826
|
-
.mb-auto {
|
827
|
-
margin-bottom: auto !important;
|
828
|
-
}
|
829
|
-
.mlr-auto {
|
830
|
-
margin-left: auto !important;
|
831
|
-
margin-right: auto !important;
|
832
|
-
}
|
859
|
+
|
833
860
|
.sd-display-flex-column {
|
834
861
|
display: flex;
|
835
862
|
flex-direction: column;
|
@@ -847,6 +874,12 @@ $sd-properties: (padding, margin); // It's generating these properties
|
|
847
874
|
.sd-flex-justify-end {
|
848
875
|
justify-content: flex-end !important;
|
849
876
|
}
|
877
|
+
.sd-flex-justify-center {
|
878
|
+
justify-content: center !important;
|
879
|
+
}
|
880
|
+
.sd-flex-justify-space-between {
|
881
|
+
justify-content: space-between !important;
|
882
|
+
}
|
850
883
|
.sd-flex-align-items-center {
|
851
884
|
align-items: center !important;
|
852
885
|
}
|
@@ -856,8 +889,131 @@ $sd-properties: (padding, margin); // It's generating these properties
|
|
856
889
|
.sd-flex-no-grow {
|
857
890
|
flex-grow: 0 !important;
|
858
891
|
}
|
859
|
-
|
860
892
|
.sd-no-wrap {
|
861
893
|
white-space: nowrap;
|
862
894
|
}
|
863
895
|
// --------------------------------------------
|
896
|
+
|
897
|
+
|
898
|
+
// Border Radius
|
899
|
+
.sd-radius--x-small {
|
900
|
+
border-radius: var(--b-radius--x-small);
|
901
|
+
}
|
902
|
+
.sd-radius--small {
|
903
|
+
border-radius: var(--b-radius--small);
|
904
|
+
}
|
905
|
+
.sd-radius--medium {
|
906
|
+
border-radius: var(--b-radius--medium);
|
907
|
+
}
|
908
|
+
.sd-radius--large {
|
909
|
+
border-radius: var(--b-radius--large);
|
910
|
+
}
|
911
|
+
.sd-radius--x-large {
|
912
|
+
border-radius: var(--b-radius--x-large);
|
913
|
+
}
|
914
|
+
.sd-radius--full {
|
915
|
+
border-radius: var(--b-radius--full);
|
916
|
+
}
|
917
|
+
|
918
|
+
// Border
|
919
|
+
.sd-border--x-light {
|
920
|
+
border: 1px solid var(--sd-colour-line--x-light);
|
921
|
+
}
|
922
|
+
.sd-border--light {
|
923
|
+
border: 1px solid var(--sd-colour-line--light);
|
924
|
+
}
|
925
|
+
.sd-border--medium {
|
926
|
+
border: 1px solid var(--sd-colour-line--medium);
|
927
|
+
}
|
928
|
+
.sd-border--strong {
|
929
|
+
border: 1px solid var(--sd-colour-line--strong);
|
930
|
+
}
|
931
|
+
.sd-border--x-light {
|
932
|
+
border: 1px solid var(--sd-colour-line--x-light);
|
933
|
+
}
|
934
|
+
.sd-border-style--dotted {
|
935
|
+
border-style: dotted !important;
|
936
|
+
}
|
937
|
+
.sd-border-style--dashed{
|
938
|
+
border-style: dashed !important;
|
939
|
+
}
|
940
|
+
|
941
|
+
.sd-border-width--2 {
|
942
|
+
border-width: 2px;
|
943
|
+
}
|
944
|
+
.sd-border-width--3 {
|
945
|
+
border-width: 3px;
|
946
|
+
}
|
947
|
+
|
948
|
+
// Font size
|
949
|
+
.sd-font-size--x-small {
|
950
|
+
font-size: calc(var(--text-size--base) * 1.2); // 14px;
|
951
|
+
}
|
952
|
+
.sd-font-size--small {
|
953
|
+
font-size: calc(var(--text-size--base) * 1.4); // 14px;
|
954
|
+
}
|
955
|
+
.sd-font-size--medium {
|
956
|
+
font-size: calc(var(--text-size--base) * 1.6); // 14px;
|
957
|
+
}
|
958
|
+
.sd-font-size--large {
|
959
|
+
font-size: calc(var(--text-size--base) * 2); // 14px;
|
960
|
+
}
|
961
|
+
|
962
|
+
// Text colour
|
963
|
+
.sd-text-color--lighter {
|
964
|
+
color: var(--color-text-lighter) !important;
|
965
|
+
}
|
966
|
+
.sd-text-color--light {
|
967
|
+
color: var(--color-text-light) !important;
|
968
|
+
}
|
969
|
+
.sd-text-color--normal {
|
970
|
+
color: var(--color-text) !important;
|
971
|
+
}
|
972
|
+
|
973
|
+
// Background colours
|
974
|
+
.sd-panel-bg--100 {
|
975
|
+
background-color: var(--sd-colour-panel-bg--100);
|
976
|
+
}
|
977
|
+
.sd-panel-bg--000 {
|
978
|
+
background-color: var(--sd-item__main-Bg);
|
979
|
+
}
|
980
|
+
.sd-panel-bg--gradient-1 {
|
981
|
+
background-color: var(--sd-item__main-Bg);
|
982
|
+
background: linear-gradient(180deg, var(--sd-colour-interactive--alpha-20) 0%, var(--sd-item__main-Bg) 40%);
|
983
|
+
}
|
984
|
+
|
985
|
+
.sd-state--focus:focus-within,
|
986
|
+
.sd-state--active {
|
987
|
+
box-shadow: var(--sd-shadow__item--selected) !important;
|
988
|
+
transition: box-shadow 0.3s ease, filter 0.3s ease ;
|
989
|
+
}
|
990
|
+
.sd-width--xxx-small {
|
991
|
+
width: var(--width__container--xxx-small) !important;
|
992
|
+
}
|
993
|
+
.sd-width--xx-small {
|
994
|
+
width: var(--width__container--xx-small);
|
995
|
+
}
|
996
|
+
.sd-width--x-small {
|
997
|
+
width: var(--width__container--x-small);
|
998
|
+
}
|
999
|
+
.sd-width--small {
|
1000
|
+
width: var(--width__container--small);
|
1001
|
+
}
|
1002
|
+
.sd-width--medium {
|
1003
|
+
width: var(--width__container--medium);
|
1004
|
+
}
|
1005
|
+
.sd-width--large {
|
1006
|
+
width: var(--width__container--large);
|
1007
|
+
}
|
1008
|
+
.sd-width--x-large {
|
1009
|
+
width: var(--width__container--x-large);
|
1010
|
+
}
|
1011
|
+
.sd-width--xx-large {
|
1012
|
+
width: var(--width__container--xx-large);
|
1013
|
+
}
|
1014
|
+
.sd-width--xxx-large {
|
1015
|
+
width: var(--width__container--xxx-large);
|
1016
|
+
}
|
1017
|
+
.sd-width--full {
|
1018
|
+
width: var(--width__container--full);
|
1019
|
+
}
|
package/app/styles/_labels.scss
CHANGED
@@ -35,7 +35,7 @@ $font-size__label--large: 1.2rem;
|
|
35
35
|
vertical-align: middle;
|
36
36
|
border-radius: $border-radius__base--full;
|
37
37
|
text-transform: uppercase;
|
38
|
-
line-height:
|
38
|
+
line-height: $height__label--default;
|
39
39
|
height: $height__label--default;
|
40
40
|
letter-spacing: 0.125em;
|
41
41
|
font-size: $font-size__label--default;
|
@@ -45,10 +45,11 @@ $font-size__label--large: 1.2rem;
|
|
45
45
|
font-weight: 500;
|
46
46
|
&--large {
|
47
47
|
padding-block-start: $padding-y__label--large;
|
48
|
-
padding-block-end: $padding-y__label--large
|
48
|
+
padding-block-end: $padding-y__label--large;
|
49
49
|
padding-inline: $padding-x__label--large;
|
50
50
|
font-size: $font-size__label--large;
|
51
51
|
height: $height__label--large;
|
52
|
+
line-height: $height__label--large;
|
52
53
|
}
|
53
54
|
}
|
54
55
|
|
@@ -66,21 +67,18 @@ $font-size__label--large: 1.2rem;
|
|
66
67
|
border: none;
|
67
68
|
border-radius: $border-radius__base--full;
|
68
69
|
text-transform: uppercase;
|
69
|
-
line-height:
|
70
|
+
line-height: $height__label--default;
|
70
71
|
font-weight: 500;
|
71
72
|
letter-spacing: 0.125em;
|
72
73
|
text-align: center;
|
73
74
|
white-space: nowrap;
|
74
75
|
color: var(--color-text--inverse);
|
75
|
-
|
76
76
|
background-color: var(--sd-lbl-bg);
|
77
|
-
|
78
77
|
[class^="icon-"], [class*=" icon-"] {
|
79
78
|
color: currentColor;
|
80
79
|
}
|
81
80
|
}
|
82
81
|
|
83
|
-
|
84
82
|
.label {
|
85
83
|
@include label;
|
86
84
|
background: $label-background;
|
@@ -151,3 +149,11 @@ a.label {
|
|
151
149
|
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
|
152
150
|
}
|
153
151
|
}
|
152
|
+
|
153
|
+
.label.label--hollow.label--darkBlue2 {
|
154
|
+
border: 1px solid var(--sd-navy-color);
|
155
|
+
color: var(--sd-navy-color);
|
156
|
+
}
|
157
|
+
.label.label--darkBlue2 {
|
158
|
+
background: var(--sd-navy-color);
|
159
|
+
}
|
package/app/styles/_loaders.scss
CHANGED
@@ -12,4 +12,17 @@
|
|
12
12
|
background-color: var(--sd-colour-overlay-actioning);
|
13
13
|
pointer-events: none;
|
14
14
|
border-radius: var(--b-radius--medium);
|
15
|
+
}
|
16
|
+
.sd-loading-overlay--plain {
|
17
|
+
position: absolute;
|
18
|
+
top: 0;
|
19
|
+
right: 0;
|
20
|
+
bottom: 0;
|
21
|
+
left: 0;
|
22
|
+
z-index: 10;
|
23
|
+
display: flex;
|
24
|
+
align-items: center;
|
25
|
+
justify-content: center;
|
26
|
+
background-color: var(--sd-colour-overlay-actioning);
|
27
|
+
pointer-events: none;
|
15
28
|
}
|
@@ -145,16 +145,16 @@ $board-header-border-color: var(--color-kanban-border);
|
|
145
145
|
border-radius: 3px;
|
146
146
|
transition: all 0.2s ease-out;
|
147
147
|
height: 4rem;
|
148
|
-
border: 1px solid var(--
|
148
|
+
border: 1px solid var(--sd-colour-line--medium);
|
149
149
|
color: inherit;
|
150
150
|
box-shadow: inset 0 1px 2px 0 rgba(0,0,0,0.12);
|
151
151
|
&:hover {
|
152
|
-
border-color: var(--
|
153
|
-
box-shadow: inset 0 1px 3px 0
|
152
|
+
border-color: var(--sd-colour-line--strong);
|
153
|
+
box-shadow: inset 0 1px 3px 0 hsla(0, 0%, 0%, 0.18);
|
154
154
|
}
|
155
155
|
&:focus-within {
|
156
|
-
border-color:
|
157
|
-
box-shadow: inset 0
|
156
|
+
border-color: var(--sd-colour-interactive);
|
157
|
+
box-shadow: inset 0 0 0 3px var(--sd-colour-interactive--alpha-30);
|
158
158
|
}
|
159
159
|
&::before {
|
160
160
|
content: "\e618";
|
package/app/styles/_mixins.scss
CHANGED
@@ -84,15 +84,16 @@
|
|
84
84
|
align-items: center;
|
85
85
|
top: 0;
|
86
86
|
bottom: 0;
|
87
|
-
left:
|
87
|
+
left: 0;
|
88
88
|
right: 0;
|
89
89
|
z-index: 3;
|
90
|
-
padding: 0
|
90
|
+
padding: 0 $sd-base-increment * 2;
|
91
91
|
color: $sd-colour-text__base;
|
92
92
|
animation: dropOut2 .3s cubic-bezier(.695,.105,.285,1.275) 1;
|
93
93
|
background-color: var(--sd-colour-bg__sliding-toolbar);
|
94
94
|
box-shadow: var(--sd-shadow__sliding-toolbar);
|
95
95
|
gap: $sd-base-increment;
|
96
|
+
height: $nav-height;
|
96
97
|
&--right {
|
97
98
|
text-align: end;
|
98
99
|
justify-content: flex-end;
|
@@ -101,13 +102,22 @@
|
|
101
102
|
flex-grow: 1;
|
102
103
|
display: flex;
|
103
104
|
align-items: center;
|
105
|
+
gap: $sd-base-increment;
|
104
106
|
&--right {
|
105
107
|
text-align: end;
|
106
108
|
}
|
107
109
|
}
|
108
110
|
.sliding-toolbar__info-text {
|
109
|
-
font-weight:
|
111
|
+
font-weight: 400;
|
110
112
|
opacity: 0.75;
|
113
|
+
font-size: 1.4rem;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
.sliding-toolbar {
|
117
|
+
@include sliding-toolbar();
|
118
|
+
&--static {
|
119
|
+
position: static;
|
120
|
+
animation: none;
|
111
121
|
}
|
112
122
|
}
|
113
123
|
|
package/app/styles/_modals.scss
CHANGED
@@ -78,7 +78,8 @@ $modal-sizes: (
|
|
78
78
|
padding: $modal-padding - $sd-base-increment $modal-padding;
|
79
79
|
border-bottom: 1px solid $modal-line-color;
|
80
80
|
min-height: $modal-header-height;
|
81
|
-
background-color: $modal-bg-color
|
81
|
+
background-color: $modal-bg-color;
|
82
|
+
border-radius: $border-radius__base--large $border-radius__base--large 0 0;
|
82
83
|
}
|
83
84
|
@mixin modal-body() {
|
84
85
|
background: $modal-bg-color;
|
@@ -218,31 +219,6 @@ $modal-sizes: (
|
|
218
219
|
p {
|
219
220
|
margin: 0 0 1em 0;
|
220
221
|
}
|
221
|
-
// &.modal--dark-ui {
|
222
|
-
// .modal__content {
|
223
|
-
// background-color: #333;
|
224
|
-
// color: $white;
|
225
|
-
// .modal__body-header {
|
226
|
-
// background-color: #333;
|
227
|
-
// color: $white;
|
228
|
-
// }
|
229
|
-
// .modal__body-content, .modal__body {
|
230
|
-
// background-color: #444;
|
231
|
-
// color: $white;
|
232
|
-
// }
|
233
|
-
// .modal__header {
|
234
|
-
// border-bottom: 1px solid rgba(0, 0, 0, 0.3);
|
235
|
-
// }
|
236
|
-
// .modal__footer {
|
237
|
-
// border-top: 1px solid rgba(0, 0, 0, 0.12);
|
238
|
-
// }
|
239
|
-
// .subnav {
|
240
|
-
// background-color: #292929;
|
241
|
-
// color: $white;
|
242
|
-
// box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 1px 0 0 rgba(0, 0, 0, 0.3);
|
243
|
-
// }
|
244
|
-
// }
|
245
|
-
// }
|
246
222
|
}
|
247
223
|
.modal__content {
|
248
224
|
@include modal-content();
|
@@ -263,8 +239,8 @@ $modal-sizes: (
|
|
263
239
|
padding: 10px 20px;
|
264
240
|
}
|
265
241
|
&--flex {
|
266
|
-
display: flex;
|
267
|
-
flex-direction: row;
|
242
|
+
display: flex !important;
|
243
|
+
flex-direction: row !important;
|
268
244
|
align-items: center;
|
269
245
|
.modal__heading {
|
270
246
|
flex-grow: 1;
|
@@ -4,34 +4,39 @@
|
|
4
4
|
box-shadow: none;
|
5
5
|
padding: 5rem 0 0;
|
6
6
|
text-align: center;
|
7
|
-
color:
|
7
|
+
color: var(--color-text-light);
|
8
8
|
&__icon {
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
9
|
+
height: 8rem;
|
10
|
+
width: 8rem;
|
11
|
+
display: flex;
|
12
|
+
align-items: center;
|
13
|
+
justify-content: center;
|
14
14
|
background-color: var(--sd-item__main-Bg);
|
15
15
|
border-radius: $border-radius__base--full;
|
16
16
|
margin: 0 auto;
|
17
|
-
|
17
|
+
box-shadow: 0 0 6px 1px hsla(0, 0%, 0%, 0.08);
|
18
18
|
i {
|
19
19
|
display: block;
|
20
|
-
|
20
|
+
font-size: 4.8rem;
|
21
|
+
line-height: 1;
|
22
|
+
width: 48px;
|
21
23
|
height: 48px;
|
22
|
-
opacity: .
|
23
|
-
margin:
|
24
|
-
|
24
|
+
opacity: .6;
|
25
|
+
margin: 0;
|
26
|
+
padding: 0;
|
25
27
|
}
|
26
28
|
}
|
27
29
|
&__heading {
|
28
30
|
font-size: 1.8rem;
|
29
31
|
font-weight: 400;
|
30
|
-
|
31
|
-
|
32
|
+
text-align: center;
|
33
|
+
margin: 1.2rem auto 0;
|
34
|
+
line-height: 1.2;
|
32
35
|
}
|
33
36
|
&__description {
|
34
|
-
|
37
|
+
font-size: 1.4rem;
|
35
38
|
font-weight: 300;
|
39
|
+
margin: 0.4rem auto 0;
|
40
|
+
text-align: center;
|
36
41
|
}
|
37
42
|
}
|