@linzjs/lui 12.1.4 → 12.2.0-roll-up.0
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/CHANGELOG.md +7 -0
- package/package.json +14 -10
- package/dist/assets/docs/lui-workflow-visual.png +0 -0
- package/dist/assets/docs/mountain-broken.svg +0 -119
- package/dist/assets/docs/simple-components and grids.svg +0 -1
- package/dist/assets/fonts/OpenSans-Bold.woff2 +0 -0
- package/dist/assets/fonts/OpenSans-Italic.woff2 +0 -0
- package/dist/assets/fonts/OpenSans-Light.woff2 +0 -0
- package/dist/assets/fonts/OpenSans-Regular.woff2 +0 -0
- package/dist/assets/fonts/OpenSans-SemiBold.woff2 +0 -0
- package/dist/assets/icons/account_circle.svg +0 -1
- package/dist/assets/icons/add_circle.svg +0 -1
- package/dist/assets/icons/add_circle_outline.svg +0 -1
- package/dist/assets/icons/arrow_back.svg +0 -1
- package/dist/assets/icons/arrow_back_ios.svg +0 -1
- package/dist/assets/icons/arrow_drop_down.svg +0 -1
- package/dist/assets/icons/arrow_drop_up.svg +0 -1
- package/dist/assets/icons/arrow_forward_ios.svg +0 -1
- package/dist/assets/icons/attachment.svg +0 -1
- package/dist/assets/icons/border_color.svg +0 -1
- package/dist/assets/icons/check.svg +0 -1
- package/dist/assets/icons/check_circle.svg +0 -1
- package/dist/assets/icons/check_circle_outline.svg +0 -1
- package/dist/assets/icons/clear.svg +0 -1
- package/dist/assets/icons/corporate_fare.svg +0 -1
- package/dist/assets/icons/create.svg +0 -1
- package/dist/assets/icons/error.svg +0 -1
- package/dist/assets/icons/error_outline.svg +0 -1
- package/dist/assets/icons/expand_less.svg +0 -1
- package/dist/assets/icons/expand_more.svg +0 -1
- package/dist/assets/icons/filter_list.svg +0 -1
- package/dist/assets/icons/flag.svg +0 -1
- package/dist/assets/icons/forward.svg +0 -1
- package/dist/assets/icons/insert_invitation.svg +0 -1
- package/dist/assets/icons/insert_photo.svg +0 -1
- package/dist/assets/icons/keyboard_arrow_down.svg +0 -1
- package/dist/assets/icons/keyboard_arrow_left.svg +0 -1
- package/dist/assets/icons/keyboard_arrow_right.svg +0 -1
- package/dist/assets/icons/keyboard_arrow_up.svg +0 -1
- package/dist/assets/icons/lock.svg +0 -1
- package/dist/assets/icons/navigate_before.svg +0 -1
- package/dist/assets/icons/navigate_next.svg +0 -1
- package/dist/assets/icons/people_outline.svg +0 -1
- package/dist/assets/icons/person.svg +0 -1
- package/dist/assets/icons/person_add.svg +0 -1
- package/dist/assets/icons/remove_circle.svg +0 -1
- package/dist/assets/icons/remove_circle_outline.svg +0 -1
- package/dist/assets/icons/send.svg +0 -1
- package/dist/assets/icons/tick.svg +0 -3
- package/dist/assets/icons/view_week.svg +0 -1
- package/dist/assets/icons/warning.svg +0 -1
- package/dist/assets/images/dummy-map.png +0 -0
- package/dist/assets/images/icon-guaranteed-title-on.svg +0 -1
- package/dist/assets/images/icon-guaranteed-title.svg +0 -1
- package/dist/assets/images/icon-historic-title-on.svg +0 -1
- package/dist/assets/images/icon-historic-title.svg +0 -1
- package/dist/assets/images/icon-title-diagram-on.svg +0 -1
- package/dist/assets/images/icon-title-diagram.svg +0 -1
- package/dist/assets/images/linz-logo-col-n-white-txt.svg +0 -256
- package/dist/assets/images/linz-logo-footer.svg +0 -166
- package/dist/assets/images/linz-motif.svg +0 -124
- package/dist/assets/images/logo-cc-visa-mc.png +0 -0
- package/dist/assets/images/lui-icon-logout.svg +0 -1
- package/dist/assets/images/lui-icon-maori-land-rev.svg +0 -1
- package/dist/assets/images/lui-icon-maori-land.svg +0 -1
- package/dist/assets/images/lui-icon-noc-app-link-active.svg +0 -1
- package/dist/assets/images/lui-icon-noc-app-link.svg +0 -1
- package/dist/assets/images/lui-icon-open-externally.svg +0 -1
- package/dist/assets/images/lui-icon-search-app-link-active.svg +0 -1
- package/dist/assets/images/lui-icon-search-app-link.svg +0 -1
- package/dist/assets/images/lui-icon-survey-app-link-active.svg +0 -1
- package/dist/assets/images/lui-icon-survey-app-link.svg +0 -1
- package/dist/assets/images/lui-icon-titles-app-link-active.svg +0 -1
- package/dist/assets/images/lui-icon-titles-app-link.svg +0 -1
- package/dist/assets/images/mountain-broken.svg +0 -1
- package/dist/assets/images/nz-govt-logo-rev.svg +0 -11
- package/dist/assets/images/search-feature-img-lg.png +0 -0
- package/dist/assets/images/search-feature-img-mob.png +0 -0
- package/dist/assets/images/title-on.svg +0 -1
- package/dist/assets/images/title.svg +0 -1
- package/dist/assets/lui-worm.png +0 -0
- package/dist/assets/svg-content.d.ts +0 -41
- package/dist/assets/svg-content.tsx +0 -249
- package/dist/components/LuiBadge/LuiBadge.d.ts +0 -8
- package/dist/components/LuiBadge/LuiBadge.stories.d.ts +0 -9
- package/dist/components/LuiBadge/LuiBadge.test.d.ts +0 -1
- package/dist/components/LuiBanner/LuiBanner.d.ts +0 -9
- package/dist/components/LuiBanner/LuiBanner.stories.d.ts +0 -11
- package/dist/components/LuiBanner/LuiBanner.test.d.ts +0 -1
- package/dist/components/LuiBearingInput/LuiBearingInput.d.ts +0 -19
- package/dist/components/LuiButton/LuiButton.d.ts +0 -26
- package/dist/components/LuiButton/LuiButton.stories.d.ts +0 -28
- package/dist/components/LuiButton/LuiButton.test.d.ts +0 -1
- package/dist/components/LuiButton/LuiButtonGroup.stories.d.ts +0 -6
- package/dist/components/LuiError/LuiError.d.ts +0 -8
- package/dist/components/LuiErrorPage/LuiErrorPage.d.ts +0 -6
- package/dist/components/LuiErrorPage/LuiErrorPage.stories.d.ts +0 -7
- package/dist/components/LuiExpandableBanner/LuiExpandableBanner.d.ts +0 -7
- package/dist/components/LuiExpandableBanner/LuiExpandableBanner.stories.d.ts +0 -7
- package/dist/components/LuiExpandableBanner/LuiExpandableBanner.test.d.ts +0 -1
- package/dist/components/LuiFilterContainer/LuiFilterContainer.d.ts +0 -13
- package/dist/components/LuiFilterContainer/LuiFilterContainer.stories.d.ts +0 -18
- package/dist/components/LuiFilterContainer/LuiFilterContainer.test.d.ts +0 -1
- package/dist/components/LuiFilterMenu/LuiFilterMenu.d.ts +0 -16
- package/dist/components/LuiFilterMenu/LuiFilterMenu.test.d.ts +0 -1
- package/dist/components/LuiFooter/LuiFooter.d.ts +0 -10
- package/dist/components/LuiFooter/LuiFooter.stories.d.ts +0 -7
- package/dist/components/LuiFooter/LuiFooter.test.d.ts +0 -1
- package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.d.ts +0 -11
- package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.stories.d.ts +0 -21
- package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInputWithFormik.stories.d.ts +0 -18
- package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.d.ts +0 -32
- package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.stories.d.ts +0 -8
- package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.test.d.ts +0 -1
- package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInput.d.ts +0 -12
- package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInput.stories.d.ts +0 -24
- package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInputWithFormik.stories.d.ts +0 -18
- package/dist/components/LuiFormElements/LuiSelectInput/LuiSelectInput.d.ts +0 -18
- package/dist/components/LuiFormElements/LuiSelectInput/LuiSelectInput.stories.d.ts +0 -35
- package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.d.ts +0 -10
- package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.stories.d.ts +0 -34
- package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.test.d.ts +0 -2
- package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInputWithFormik.stories.d.ts +0 -22
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.d.ts +0 -19
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.stories.d.ts +0 -39
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.test.d.ts +0 -2
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInputWithFormik.stories.d.ts +0 -22
- package/dist/components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox.d.ts +0 -9
- package/dist/components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox.test.d.ts +0 -5
- package/dist/components/LuiFormikForms/LuiFormikForm.d.ts +0 -10
- package/dist/components/LuiFormikForms/LuiFormikFormLabel/LuiFormikFormLabel.d.ts +0 -8
- package/dist/components/LuiFormikForms/LuiFormikFormSubmitButton/LuiFormikFormSubmitButton.d.ts +0 -6
- package/dist/components/LuiFormikForms/LuiFormikForms.integration.test.d.ts +0 -1
- package/dist/components/LuiFormikForms/LuiFormikForms.stories.d.ts +0 -20
- package/dist/components/LuiFormikForms/LuiFormikRadioButton/LuiFormikRadioButton.d.ts +0 -8
- package/dist/components/LuiFormikForms/LuiFormikRadioButton/LuiFormikRadioButton.test.d.ts +0 -1
- package/dist/components/LuiFormikForms/LuiFormikRadioGroup/LuiFormikRadioGroup.d.ts +0 -7
- package/dist/components/LuiFormikForms/LuiFormikSelect/LuiFormikSelect.d.ts +0 -11
- package/dist/components/LuiFormikForms/LuiFormikSelect/LuiFormikSelect.test.d.ts +0 -1
- package/dist/components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput.d.ts +0 -17
- package/dist/components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput.test.d.ts +0 -1
- package/dist/components/LuiForms/LuiComboSelect/LuiComboSelect.d.ts +0 -21
- package/dist/components/LuiForms/LuiComboSelect/LuiComboSelect.stories.d.ts +0 -112
- package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.d.ts +0 -7
- package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.stories.d.ts +0 -5
- package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.test.d.ts +0 -1
- package/dist/components/LuiForms/LuiFormSection/LuiHelpInfo/LuiHelpInfo.d.ts +0 -6
- package/dist/components/LuiHeader/LuiHeader.d.ts +0 -64
- package/dist/components/LuiHeader/LuiHeader.stories.d.ts +0 -49
- package/dist/components/LuiHeader/LuiHeader.test.d.ts +0 -1
- package/dist/components/LuiHeaderMenu/LuiHeaderMenus.d.ts +0 -39
- package/dist/components/LuiHeaderMenu/LuiHeaderMenus.test.d.ts +0 -1
- package/dist/components/LuiIcon/LuiIcon.d.ts +0 -76
- package/dist/components/LuiIcon/LuiIcon.stories.d.ts +0 -11
- package/dist/components/LuiIcon/LuiIcon.test.d.ts +0 -1
- package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.d.ts +0 -15
- package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.stories.d.ts +0 -13
- package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.test.d.ts +0 -1
- package/dist/components/LuiMenu/LuiMenu.d.ts +0 -44
- package/dist/components/LuiMenu/LuiMenu.stories.d.ts +0 -19
- package/dist/components/LuiMenu/LuiMenu.test.d.ts +0 -1
- package/dist/components/LuiModal/LuiModal.d.ts +0 -21
- package/dist/components/LuiModal/LuiModal.stories.d.ts +0 -12
- package/dist/components/LuiModal/LuiModal.test.d.ts +0 -1
- package/dist/components/LuiModal/LuiModalContext.d.ts +0 -6
- package/dist/components/LuiModal/LuiModalContext.test.d.ts +0 -1
- package/dist/components/LuiShadow/LuiShadow.d.ts +0 -5
- package/dist/components/LuiShadow/LuiShadow.stories.d.ts +0 -7
- package/dist/components/LuiStaticMessage/LuiStaticMessage.d.ts +0 -5
- package/dist/components/LuiStaticMessage/LuiStaticMessage.stories.d.ts +0 -12
- package/dist/components/LuiStaticMessage/LuiStaticMessage.test.d.ts +0 -1
- package/dist/components/LuiTabs/LuiTab/LuiTab.d.ts +0 -10
- package/dist/components/LuiTabs/LuiTabs.d.ts +0 -10
- package/dist/components/LuiTabs/LuiTabs.stories.d.ts +0 -7
- package/dist/components/LuiTabs/LuiTabs.test.d.ts +0 -1
- package/dist/components/LuiTabs/LuiTabsGroup/LuiTabsGroup.d.ts +0 -5
- package/dist/components/LuiTabs/LuiTabsPanel/LuiTabsPanel.d.ts +0 -6
- package/dist/components/LuiTabs/LuiTabsPanelSwitch/LuiTabsPanelSwitch.d.ts +0 -7
- package/dist/components/LuiToastMessage/LuiToastMessage.auto.stories.d.ts +0 -19
- package/dist/components/LuiToastMessage/LuiToastMessage.d.ts +0 -18
- package/dist/components/LuiToastMessage/LuiToastMessage.test.d.ts +0 -1
- package/dist/components/LuiTooltip/LuiTooltip.d.ts +0 -12
- package/dist/components/LuiTooltip/LuiTooltip.stories.d.ts +0 -10
- package/dist/components/LuiUpdateSplashModal/LuiUpdateSplashModal.stories.d.ts +0 -7
- package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.d.ts +0 -8
- package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.test.d.ts +0 -1
- package/dist/components/common/Hooks.d.ts +0 -16
- package/dist/components/common/ResponsiveUtils.d.ts +0 -7
- package/dist/components/common/ResponsiveUtils.test.d.ts +0 -1
- package/dist/components/common/StorybookSupport.d.ts +0 -6
- package/dist/components/lol/LOLActiveFirmMessage.d.ts +0 -5
- package/dist/components/lol/LOLActiveFirmMessage.test.d.ts +0 -1
- package/dist/components/lol/LOLAppLauncherMenu.d.ts +0 -11
- package/dist/components/lol/LOLAppLauncherMenu.test.d.ts +0 -56
- package/dist/components/lol/LOLAuthorisedLink.d.ts +0 -13
- package/dist/components/lol/LOLAuthorisedLink.test.d.ts +0 -43
- package/dist/components/lol/LOLCommonDrawerMenu.d.ts +0 -17
- package/dist/components/lol/LOLCommonDrawerMenu.test.d.ts +0 -43
- package/dist/components/lol/LOLComponents.stories.d.ts +0 -55
- package/dist/components/lol/LOLDrawerMenuFirmSwitcher.d.ts +0 -5
- package/dist/components/lol/LOLDrawerMenuFirmSwitcher.test.d.ts +0 -1
- package/dist/components/lol/LOLFirmSwitcher.d.ts +0 -23
- package/dist/components/lol/LOLFirmSwitcher.test.d.ts +0 -43
- package/dist/components/lol/LOLLogoutLink.d.ts +0 -4
- package/dist/components/lol/LOLLogoutLink.test.d.ts +0 -1
- package/dist/components/lol/LOLUserLastLogin.d.ts +0 -2
- package/dist/components/lol/LOLUserLastLogin.test.d.ts +0 -1
- package/dist/components/lol/MockBackendUtils.d.ts +0 -141
- package/dist/components/lol/contexts/LOLGlobalClientRefContext.d.ts +0 -19
- package/dist/components/lol/contexts/LOLGlobalClientRefContext.test.d.ts +0 -1
- package/dist/components/lol/contexts/LOLUserContext.d.ts +0 -37
- package/dist/components/lol/contexts/LOLUserContext.test.d.ts +0 -1
- package/dist/components/lol/contexts/LOLUserContextSupport.d.ts +0 -3
- package/dist/components/lol/handlers.d.ts +0 -13
- package/dist/contexts/LuiMessagingContextProvider.d.ts +0 -14
- package/dist/contexts/UIMessagingContextProvider.tests.d.ts +0 -1
- package/dist/fonts.d.ts +0 -10
- package/dist/fonts.ts +0 -10
- package/dist/govNZ-DS/FlexColumn.scss +0 -646
- package/dist/govNZ-DS/FlexContainer.scss +0 -28
- package/dist/govNZ-DS/FlexRow.scss +0 -22
- package/dist/govNZ-DS/FooterStandard.scss +0 -107
- package/dist/govNZ-DS/FooterWrapper.scss +0 -4
- package/dist/govNZ-DS/_index.scss +0 -5
- package/dist/hooks/__tests__/useClickedOutsideElement.test.d.ts +0 -1
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/useClickedOutsideElement.d.ts +0 -14
- package/dist/index.d.ts +0 -51
- package/dist/index.js +0 -8
- package/dist/lui.cjs.development.js +0 -20537
- package/dist/lui.cjs.development.js.map +0 -1
- package/dist/lui.cjs.production.min.js +0 -2
- package/dist/lui.cjs.production.min.js.map +0 -1
- package/dist/lui.css +0 -4956
- package/dist/lui.css.map +0 -1
- package/dist/lui.esm.js +0 -20447
- package/dist/lui.esm.js.map +0 -1
- package/dist/needs-revision/LuiHtml.stories.d.ts +0 -32
- package/dist/scss/Components/ContextMenu/context-menu.scss +0 -7
- package/dist/scss/Components/ExpandingSection/expanding-section.scss +0 -61
- package/dist/scss/Components/Footer/footer.scss +0 -136
- package/dist/scss/Components/Header/header.scss +0 -193
- package/dist/scss/Components/HelpSection/help-section.scss +0 -43
- package/dist/scss/Components/LOLCommonMenu/LOLAuthorisedLink.scss +0 -37
- package/dist/scss/Components/LOLCommonMenu/LOLDrawerMenu.scss +0 -32
- package/dist/scss/Components/LOLCommonMenu/LOLFirmSwitcherMenu.scss +0 -42
- package/dist/scss/Components/LOLCommonMenu/LOLUserLastLogin.scss +0 -13
- package/dist/scss/Components/LuiBadge/LuiBadge.scss +0 -51
- package/dist/scss/Components/LuiError/LuiError.scss +0 -14
- package/dist/scss/Components/LuiErrorPage/LuiErrorPage.scss +0 -34
- package/dist/scss/Components/LuiFilterContainer/LuiFilterContainer.scss +0 -5
- package/dist/scss/Components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.scss +0 -155
- package/dist/scss/Components/LuiFormElements/LuiFileInputBox.scss +0 -78
- package/dist/scss/Components/LuiFormElements/LuiRadioInput/LuiRadioInput.scss +0 -86
- package/dist/scss/Components/LuiFormElements/LuiSelectInput/LuiSelectInput.scss +0 -113
- package/dist/scss/Components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.scss +0 -115
- package/dist/scss/Components/LuiFormElements/LuiTextInput/LuiTextInput.scss +0 -150
- package/dist/scss/Components/LuiFormSection/LuiFormSectionHeader.scss +0 -46
- package/dist/scss/Components/LuiFormSection/LuiHelpInfo/LuiHelpInfo.scss +0 -16
- package/dist/scss/Components/LuiForms/LuiComboSelect/LuiComboSelect.scss +0 -35
- package/dist/scss/Components/LuiIcon/LuiIcons.scss +0 -91
- package/dist/scss/Components/LuiShadow/LuiShadow.scss +0 -16
- package/dist/scss/Components/LuiTabs/LuiTab/LuiTab.scss +0 -45
- package/dist/scss/Components/LuiTabs/LuiTabs.scss +0 -3
- package/dist/scss/Components/LuiTabs/LuiTabsGroup/LuiTabsGroup.scss +0 -10
- package/dist/scss/Components/LuiTabs/LuiTabsPanel/LuiTabsPanel.scss +0 -9
- package/dist/scss/Components/Menu/menu.scss +0 -145
- package/dist/scss/Components/Messaging/messaging.scss +0 -210
- package/dist/scss/Components/Modal/modal.scss +0 -104
- package/dist/scss/Components/NavDrawer/nav-drawer.scss +0 -9
- package/dist/scss/Components/Notifications/notifications.scss +0 -63
- package/dist/scss/Components/Scrim/scrim.scss +0 -28
- package/dist/scss/Components/Spinner/spinner.scss +0 -7
- package/dist/scss/Core.scss +0 -1
- package/dist/scss/Elements/Buttons/buttons-linz.scss +0 -36
- package/dist/scss/Elements/Buttons/buttons.scss +0 -760
- package/dist/scss/Elements/Forms/FormComponents/FormSpacing.scss +0 -32
- package/dist/scss/Elements/Forms/FormComponents/Inputs.scss +0 -173
- package/dist/scss/Elements/Forms/FormComponents/RadiosCheckboxes.scss +0 -123
- package/dist/scss/Elements/Forms/forms.scss +0 -51
- package/dist/scss/Elements/Forms/plain-form-common.scss +0 -4
- package/dist/scss/Elements/Icons/icons.scss +0 -50
- package/dist/scss/Elements/Tables/tables.scss +0 -147
- package/dist/scss/Elements/Tooltips/tippy.scss +0 -85
- package/dist/scss/Foundation/Utilities/Appearance.scss +0 -12
- package/dist/scss/Foundation/Utilities/AspectRatio.scss +0 -25
- package/dist/scss/Foundation/Utilities/Borders.scss +0 -23
- package/dist/scss/Foundation/Utilities/BoxShadow.scss +0 -7
- package/dist/scss/Foundation/Utilities/Breakpoint.scss +0 -29
- package/dist/scss/Foundation/Utilities/DLColumns.scss +0 -52
- package/dist/scss/Foundation/Utilities/Ease.scss +0 -41
- package/dist/scss/Foundation/Utilities/FitMedia.scss +0 -53
- package/dist/scss/Foundation/Utilities/FluidType.scss +0 -85
- package/dist/scss/Foundation/Utilities/Hover.scss +0 -23
- package/dist/scss/Foundation/Utilities/LuiStandardHeaderBackground.scss +0 -32
- package/dist/scss/Foundation/Utilities/Placeholder.scss +0 -43
- package/dist/scss/Foundation/Utilities/REM.scss +0 -13
- package/dist/scss/Foundation/Utilities/ScreenReadersOnly.scss +0 -15
- package/dist/scss/Foundation/Utilities/_index.scss +0 -14
- package/dist/scss/Foundation/Variables/BreakpointVars.scss +0 -19
- package/dist/scss/Foundation/Variables/ColorVars.scss +0 -7
- package/dist/scss/Foundation/Variables/FontVars.scss +0 -66
- package/dist/scss/Foundation/Variables/FormVars.scss +0 -44
- package/dist/scss/Foundation/Variables/MiscVars.scss +0 -20
- package/dist/scss/Foundation/Variables/SpacingVars.scss +0 -34
- package/dist/scss/Foundation/Variables/_ExportCSS.scss +0 -121
- package/dist/scss/Foundation/Variables/_ExportColors.scss +0 -87
- package/dist/scss/Foundation/Variables/_LuiColors.scss +0 -139
- package/dist/scss/Foundation/Variables/_index.scss +0 -6
- package/dist/scss/Foundation/_index.scss +0 -2
- package/dist/scss/Global/GenericElements/Buttons.scss +0 -75
- package/dist/scss/Global/GenericElements/Icon.scss +0 -45
- package/dist/scss/Global/GenericElements/Link.scss +0 -80
- package/dist/scss/Global/GenericElements/Lists.scss +0 -28
- package/dist/scss/Global/GenericElements/Todo.scss +0 -76
- package/dist/scss/Global/GenericElements/Typography.scss +0 -185
- package/dist/scss/Global/GenericElements/_index.scss +0 -7
- package/dist/scss/Global/Layout/Container.scss +0 -60
- package/dist/scss/Global/Layout/Layout.scss +0 -67
- package/dist/scss/Global/Layout/_index.scss +0 -2
- package/dist/scss/Global/_index.scss +0 -2
- package/dist/scss/Global/helpers.scss +0 -862
- package/dist/scss/Vendor/_index.scss +0 -1
- package/dist/scss/Vendor/naturalize.scss +0 -209
- package/dist/scss/Vendor/print.scss +0 -34
- package/dist/scss/base.scss +0 -80
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// ============
|
|
2
|
-
// $ASPECT RATIO
|
|
3
|
-
// ============
|
|
4
|
-
// Allows you to set an aspect ratio on a div (contents need to be in a .content)
|
|
5
|
-
|
|
6
|
-
@use "sass:math";
|
|
7
|
-
|
|
8
|
-
@mixin aspect-ratio($width, $height) {
|
|
9
|
-
position: relative;
|
|
10
|
-
|
|
11
|
-
&::before {
|
|
12
|
-
display: block;
|
|
13
|
-
content: '';
|
|
14
|
-
width: 100%;
|
|
15
|
-
padding-top: math.div($height, $width) * 100%;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
> .content {
|
|
19
|
-
position: absolute;
|
|
20
|
-
top: 0;
|
|
21
|
-
left: 0;
|
|
22
|
-
right: 0;
|
|
23
|
-
bottom: 0;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// ============
|
|
2
|
-
// $BORDER
|
|
3
|
-
// ============
|
|
4
|
-
|
|
5
|
-
// Border radius ============
|
|
6
|
-
@mixin border-radius($borderRadius) {
|
|
7
|
-
border-radius: $borderRadius;
|
|
8
|
-
background-clip: padding-box; // stops bg color from leaking outside the border
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// Border ============
|
|
12
|
-
@mixin border(
|
|
13
|
-
$width: 1px,
|
|
14
|
-
$style: solid,
|
|
15
|
-
$color: $silver,
|
|
16
|
-
$borderRadius: null
|
|
17
|
-
) {
|
|
18
|
-
@if ($borderRadius != null) {
|
|
19
|
-
@include border-radius($borderRadius);
|
|
20
|
-
}
|
|
21
|
-
border: $width $style $color;
|
|
22
|
-
background-clip: padding-box; // stops bg color from leaking outside the border
|
|
23
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
@use "../Variables/BreakpointVars.scss" as *;
|
|
2
|
-
|
|
3
|
-
@mixin breakpoint($breakpoint) {
|
|
4
|
-
@if ($breakpoint == sm) {
|
|
5
|
-
@media screen and (min-width: #{$breakpoint1}) {
|
|
6
|
-
@content;
|
|
7
|
-
}
|
|
8
|
-
} @else if ($breakpoint == md) {
|
|
9
|
-
@media screen and (min-width: #{$breakpoint2}) {
|
|
10
|
-
@content;
|
|
11
|
-
}
|
|
12
|
-
} @else if ($breakpoint == lg) {
|
|
13
|
-
@media screen and (min-width: #{$breakpoint3}) {
|
|
14
|
-
@content;
|
|
15
|
-
}
|
|
16
|
-
} @else if ($breakpoint == xl) {
|
|
17
|
-
@media screen and (min-width: #{$breakpoint4}) {
|
|
18
|
-
@content;
|
|
19
|
-
}
|
|
20
|
-
} @else if ($breakpoint == xxl) {
|
|
21
|
-
@media screen and (min-width: #{$breakpoint5}) {
|
|
22
|
-
@content;
|
|
23
|
-
}
|
|
24
|
-
} @else {
|
|
25
|
-
@media screen and (min-width: #{$breakpoint}) {
|
|
26
|
-
@content;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
// ============
|
|
2
|
-
// $DEFINITION LIST COLUMNS
|
|
3
|
-
// ============
|
|
4
|
-
|
|
5
|
-
// USAGE
|
|
6
|
-
// dl.my-definition-list {
|
|
7
|
-
// @include dl--columns(25%, 25%, $v*2, $v);
|
|
8
|
-
// }
|
|
9
|
-
|
|
10
|
-
// NOTE
|
|
11
|
-
// 1. Remove browser default margins
|
|
12
|
-
// 2. Excludes top and bottom item spacing by default
|
|
13
|
-
|
|
14
|
-
@mixin dl--columns(
|
|
15
|
-
$dt-width,
|
|
16
|
-
$dt-width-desktop,
|
|
17
|
-
$dl-gutter-width: $v * 2,
|
|
18
|
-
$dl-row-height: $v
|
|
19
|
-
) {
|
|
20
|
-
margin-top: 0; // 1
|
|
21
|
-
margin-bottom: 0; // 1
|
|
22
|
-
display: flex;
|
|
23
|
-
flex-wrap: wrap;
|
|
24
|
-
width: 100%;
|
|
25
|
-
|
|
26
|
-
dt {
|
|
27
|
-
width: $dt-width;
|
|
28
|
-
@media #{$desktop} {
|
|
29
|
-
width: $dt-width-desktop;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
dd {
|
|
34
|
-
margin-left: 0;
|
|
35
|
-
padding-left: $dl-gutter-width;
|
|
36
|
-
width: calc(100% - #{$dt-width});
|
|
37
|
-
@media #{$desktop} {
|
|
38
|
-
width: calc(100% - #{$dt-width-desktop});
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
dt,
|
|
43
|
-
dd {
|
|
44
|
-
// 2
|
|
45
|
-
&:not(:first-of-type) {
|
|
46
|
-
padding-top: #{$dl-row-height * 0.5};
|
|
47
|
-
}
|
|
48
|
-
&:not(:last-of-type) {
|
|
49
|
-
padding-bottom: #{$dl-row-height * 0.5};
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
// ==========================================
|
|
3
|
-
// $EASING FUNCTIONS
|
|
4
|
-
// ==========================================
|
|
5
|
-
// see: https://github.com/matthewlein/Ceaser/blob/master/developer/ceaser-easings.scss
|
|
6
|
-
// usage: animation-timing-function: ease(in-out-expo);
|
|
7
|
-
// ==========================================
|
|
8
|
-
$ease: (
|
|
9
|
-
in-cubic: cubic-bezier(0.55, 0.055, 0.675, 0.19),
|
|
10
|
-
out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1),
|
|
11
|
-
in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
12
|
-
in-circ: cubic-bezier(0.6, 0.04, 0.98, 0.335),
|
|
13
|
-
out-circ: cubic-bezier(0.075, 0.82, 0.165, 1),
|
|
14
|
-
in-out-circ: cubic-bezier(0.785, 0.135, 0.15, 0.86),
|
|
15
|
-
in-expo: cubic-bezier(0.95, 0.05, 0.795, 0.035),
|
|
16
|
-
out-expo: cubic-bezier(0.19, 1, 0.22, 1),
|
|
17
|
-
in-out-expo: cubic-bezier(1, 0, 0, 1),
|
|
18
|
-
in-quad: cubic-bezier(0.55, 0.085, 0.68, 0.53),
|
|
19
|
-
out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94),
|
|
20
|
-
in-out-quad: cubic-bezier(0.455, 0.03, 0.515, 0.955),
|
|
21
|
-
in-quart: cubic-bezier(0.895, 0.03, 0.685, 0.22),
|
|
22
|
-
out-quart: cubic-bezier(0.165, 0.84, 0.44, 1),
|
|
23
|
-
in-out-quart: cubic-bezier(0.77, 0, 0.175, 1),
|
|
24
|
-
in-quint: cubic-bezier(0.755, 0.05, 0.855, 0.06),
|
|
25
|
-
out-quint: cubic-bezier(0.23, 1, 0.32, 1),
|
|
26
|
-
in-out-quint: cubic-bezier(0.86, 0, 0.07, 1),
|
|
27
|
-
in-sine: cubic-bezier(0.47, 0, 0.745, 0.715),
|
|
28
|
-
out-sine: cubic-bezier(0.39, 0.575, 0.565, 1),
|
|
29
|
-
in-out-sine: cubic-bezier(0.445, 0.05, 0.55, 0.95),
|
|
30
|
-
in-back: cubic-bezier(0.6, -0.28, 0.735, 0.045),
|
|
31
|
-
out-back: cubic-bezier(0.175, 0.885, 0.32, 1.275),
|
|
32
|
-
in-out-back: cubic-bezier(0.68, -0.55, 0.265, 1.55),
|
|
33
|
-
);
|
|
34
|
-
|
|
35
|
-
@function ease($key) {
|
|
36
|
-
@if map.has-key($ease, $key) {
|
|
37
|
-
@return map.get($ease, $key);
|
|
38
|
-
}
|
|
39
|
-
@warn "Unkown easing function '#{$key}' in $ease.";
|
|
40
|
-
@return null;
|
|
41
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
// ============
|
|
2
|
-
// $FIT MEDIA CONTENT / MAINTAIN ASPECT RATIO
|
|
3
|
-
// ============
|
|
4
|
-
|
|
5
|
-
// e.g.
|
|
6
|
-
// <div class="Column">
|
|
7
|
-
// <div class="ShowPanel">
|
|
8
|
-
// <img src="http://lorempixel.com/400/300/nature/" alt="..." />
|
|
9
|
-
// </div>
|
|
10
|
-
// <div class="ShowPanel">
|
|
11
|
-
// <iframe width="560" height="315" src="..."></iframe>
|
|
12
|
-
// </div>
|
|
13
|
-
// </div>
|
|
14
|
-
//
|
|
15
|
-
// .ShowPanel {
|
|
16
|
-
// @include fit-media(16, 9);
|
|
17
|
-
// }
|
|
18
|
-
|
|
19
|
-
@use "sass:math";
|
|
20
|
-
|
|
21
|
-
@mixin fit-media($width, $height) {
|
|
22
|
-
position: relative;
|
|
23
|
-
overflow: hidden;
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: 0;
|
|
26
|
-
padding-top: math.div($height, $width) * 100%;
|
|
27
|
-
|
|
28
|
-
> img,
|
|
29
|
-
> iframe,
|
|
30
|
-
> object,
|
|
31
|
-
> video {
|
|
32
|
-
position: absolute;
|
|
33
|
-
top: 50%;
|
|
34
|
-
left: 50%;
|
|
35
|
-
transform: translate(-50%, -50%);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
> img {
|
|
39
|
-
// don't stretch the image
|
|
40
|
-
min-width: 100%;
|
|
41
|
-
min-height: 100%;
|
|
42
|
-
// Set up proportionate scaling
|
|
43
|
-
width: 100%;
|
|
44
|
-
height: auto;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
> iframe,
|
|
48
|
-
> object,
|
|
49
|
-
> video {
|
|
50
|
-
width: 100%;
|
|
51
|
-
height: 100%;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
// ==========================================
|
|
2
|
-
// $Fluid Type
|
|
3
|
-
// ==========================================
|
|
4
|
-
// see: https://css-tricks.com/books/fundamental-css-tactics/scale-typography-screen-size/
|
|
5
|
-
// The idea is that you set the bounds/breakpoints of when the values scale
|
|
6
|
-
//
|
|
7
|
-
// Caveat is min-breakpoint needs to at least be 1px so if it's not compiling then that's your problem
|
|
8
|
-
// You can put in breakpoints that match the project with the following (set in Breakpoints.scss)
|
|
9
|
-
// $breakpoint-sm
|
|
10
|
-
// $breakpoint-md
|
|
11
|
-
// $breakpoint-lg
|
|
12
|
-
// $breakpoint-xl
|
|
13
|
-
// $breakpoint-xxl
|
|
14
|
-
//
|
|
15
|
-
// ==========================================
|
|
16
|
-
|
|
17
|
-
@use "sass:math";
|
|
18
|
-
|
|
19
|
-
@function strip-unit($value) {
|
|
20
|
-
@return math.div($value, $value * 0 + 1);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@mixin fluidType--size(
|
|
24
|
-
$min-size,
|
|
25
|
-
$max-size,
|
|
26
|
-
$min-breakpoint: 1px,
|
|
27
|
-
$max-breakpoint
|
|
28
|
-
) {
|
|
29
|
-
$u1: unit($min-breakpoint);
|
|
30
|
-
$u2: unit($max-breakpoint);
|
|
31
|
-
$u3: unit($min-size);
|
|
32
|
-
$u4: unit($max-size);
|
|
33
|
-
|
|
34
|
-
@if $u1 == $u2 and $u1 == $u3 and $u1 == $u4 {
|
|
35
|
-
& {
|
|
36
|
-
font-size: $min-size;
|
|
37
|
-
@media screen and (min-width: $min-breakpoint) {
|
|
38
|
-
font-size: calc(
|
|
39
|
-
#{$min-size} + #{strip-unit($max-size - $min-size)} *
|
|
40
|
-
(
|
|
41
|
-
(100vw - #{$min-breakpoint}) / #{strip-unit(
|
|
42
|
-
$max-breakpoint - $min-breakpoint
|
|
43
|
-
)}
|
|
44
|
-
)
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@media screen and (min-width: $max-breakpoint) {
|
|
49
|
-
font-size: $max-size;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@mixin fluidType--lineHeight(
|
|
56
|
-
$min-size: 1px,
|
|
57
|
-
$max-size,
|
|
58
|
-
$min-breakpoint: 1px,
|
|
59
|
-
$max-breakpoint
|
|
60
|
-
) {
|
|
61
|
-
$u1: unit($min-size);
|
|
62
|
-
$u2: unit($max-size);
|
|
63
|
-
$u3: unit($min-breakpoint);
|
|
64
|
-
$u4: unit($max-breakpoint);
|
|
65
|
-
|
|
66
|
-
@if $u1 == $u2 and $u1 == $u3 and $u1 == $u4 {
|
|
67
|
-
& {
|
|
68
|
-
line-height: $min-size;
|
|
69
|
-
@media screen and (min-width: $min-breakpoint) {
|
|
70
|
-
line-height: calc(
|
|
71
|
-
#{$min-size} + #{strip-unit($max-size - $min-size)} *
|
|
72
|
-
(
|
|
73
|
-
(100vw - #{$min-breakpoint}) / #{strip-unit(
|
|
74
|
-
$max-breakpoint - $min-breakpoint
|
|
75
|
-
)}
|
|
76
|
-
)
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
@media screen and (min-width: $max-breakpoint) {
|
|
81
|
-
line-height: $max-size;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// ============
|
|
2
|
-
// $HOVER ACTIVE FOCUS
|
|
3
|
-
// ============
|
|
4
|
-
//
|
|
5
|
-
// Can take an optional class name
|
|
6
|
-
// @USAGE
|
|
7
|
-
// @include hover('is-active') {
|
|
8
|
-
// color: red;
|
|
9
|
-
// text-decoration: underline;
|
|
10
|
-
// }
|
|
11
|
-
|
|
12
|
-
@mixin hover($class: '') {
|
|
13
|
-
&:focus,
|
|
14
|
-
&:hover,
|
|
15
|
-
&:active {
|
|
16
|
-
@content;
|
|
17
|
-
}
|
|
18
|
-
@if $class != '' {
|
|
19
|
-
&.#{$class} {
|
|
20
|
-
@content;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
@use "../../Foundation/Variables/ColorVars.scss" as colors;
|
|
2
|
-
|
|
3
|
-
// ============
|
|
4
|
-
// Lui Standard Header Background
|
|
5
|
-
// ============
|
|
6
|
-
|
|
7
|
-
// 🤔 don't need this as a Util - highly specific, should be with header
|
|
8
|
-
|
|
9
|
-
@mixin lui-standard-header-background($swish-height) {
|
|
10
|
-
background: colors.$linz-linear-gradient-blue;
|
|
11
|
-
color: #fff;
|
|
12
|
-
|
|
13
|
-
&:after {
|
|
14
|
-
width: 100%;
|
|
15
|
-
content: '';
|
|
16
|
-
display: block;
|
|
17
|
-
height: $swish-height;
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
background: colors.$linz-linear-gradient-teal;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&.lui-header-transparent {
|
|
23
|
-
background: transparent;
|
|
24
|
-
color: colors.$sea;
|
|
25
|
-
&:after {
|
|
26
|
-
content: none;
|
|
27
|
-
}
|
|
28
|
-
.lui-header-menu-icon {
|
|
29
|
-
color: colors.$surfie;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
// Usage
|
|
2
|
-
//
|
|
3
|
-
// .Input {
|
|
4
|
-
// input {
|
|
5
|
-
// // long way
|
|
6
|
-
// @include placeholder {
|
|
7
|
-
// color: transparent;
|
|
8
|
-
// // whatever else you want here
|
|
9
|
-
// }
|
|
10
|
-
// // Shorthand for just colour
|
|
11
|
-
// @include placeholder(transparent);
|
|
12
|
-
// }
|
|
13
|
-
// }
|
|
14
|
-
|
|
15
|
-
@mixin placeholder($color: null) {
|
|
16
|
-
&::-webkit-input-placeholder {
|
|
17
|
-
@if $color {
|
|
18
|
-
color: $color;
|
|
19
|
-
}
|
|
20
|
-
@content;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&::-moz-placeholder {
|
|
24
|
-
@if $color {
|
|
25
|
-
color: $color;
|
|
26
|
-
}
|
|
27
|
-
@content;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&:-moz-placeholder {
|
|
31
|
-
@if $color {
|
|
32
|
-
color: $color;
|
|
33
|
-
}
|
|
34
|
-
@content;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&:-ms-input-placeholder {
|
|
38
|
-
@if $color {
|
|
39
|
-
color: $color;
|
|
40
|
-
}
|
|
41
|
-
@content;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
|
|
3
|
-
@use '../Variables/FontVars.scss' as *;
|
|
4
|
-
// ==========================================
|
|
5
|
-
// Convert PX units into REMs
|
|
6
|
-
// ==========================================
|
|
7
|
-
// usage: rem(12px)
|
|
8
|
-
// output: 0.75rem
|
|
9
|
-
// ==========================================
|
|
10
|
-
|
|
11
|
-
@function rem($size) {
|
|
12
|
-
@return math.div($size, $base-font-size) * 1rem;
|
|
13
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// This may be the case where and actual class is worthwhile
|
|
2
|
-
|
|
3
|
-
@mixin ScreenReadersOnly {
|
|
4
|
-
position: absolute !important;
|
|
5
|
-
width: 1px !important;
|
|
6
|
-
height: 1px !important;
|
|
7
|
-
margin: 0 !important;
|
|
8
|
-
padding: 0 !important;
|
|
9
|
-
overflow: hidden !important;
|
|
10
|
-
clip: rect(0 0 0 0) !important;
|
|
11
|
-
-webkit-clip-path: inset(50%) !important;
|
|
12
|
-
clip-path: inset(50%) !important;
|
|
13
|
-
border: 0 !important;
|
|
14
|
-
white-space: nowrap !important;
|
|
15
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
@forward "Appearance";
|
|
2
|
-
@forward "AspectRatio";
|
|
3
|
-
@forward "Borders";
|
|
4
|
-
@forward "BoxShadow";
|
|
5
|
-
@forward "Breakpoint";
|
|
6
|
-
@forward "DLColumns";
|
|
7
|
-
@forward 'Ease';
|
|
8
|
-
@forward "FitMedia";
|
|
9
|
-
@forward 'FluidType';
|
|
10
|
-
@forward 'Hover';
|
|
11
|
-
@forward 'LuiStandardHeaderBackground';
|
|
12
|
-
@forward "Placeholder";
|
|
13
|
-
@forward 'REM';
|
|
14
|
-
@forward 'ScreenReadersOnly';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/////////////////////////////////////
|
|
2
|
-
// Breakpoints
|
|
3
|
-
/////////////////////////////////////
|
|
4
|
-
|
|
5
|
-
// This is based around 'mobile-first' development and design. The idea is to turn off styles as you increase in breakpoint size.
|
|
6
|
-
|
|
7
|
-
$breakpoint1: 480px;
|
|
8
|
-
$breakpoint2: 768px;
|
|
9
|
-
$breakpoint3: 1024px;
|
|
10
|
-
$breakpoint4: 1280px;
|
|
11
|
-
$breakpoint5: 1600px;
|
|
12
|
-
|
|
13
|
-
// Following is for mixins such as Fluid Type to use
|
|
14
|
-
|
|
15
|
-
$breakpoint-sm: $breakpoint1;
|
|
16
|
-
$breakpoint-md: $breakpoint2;
|
|
17
|
-
$breakpoint-lg: $breakpoint3;
|
|
18
|
-
$breakpoint-xl: $breakpoint4;
|
|
19
|
-
$breakpoint-xxl: $breakpoint5;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
///////////////////////////////////////////
|
|
2
|
-
// Base definition of our font variables //
|
|
3
|
-
///////////////////////////////////////////
|
|
4
|
-
|
|
5
|
-
$base-line-height: 1.5;
|
|
6
|
-
$base-font-size: 16px;
|
|
7
|
-
|
|
8
|
-
//Adjust these to your font – don't need all of them if you don't need
|
|
9
|
-
$base-font--combined: 'Open Sans', system-ui, sans-serif;
|
|
10
|
-
|
|
11
|
-
// =====================
|
|
12
|
-
// Font Mixins
|
|
13
|
-
// =====================
|
|
14
|
-
// These mixins are just to bundle up code snippets – instead of extending, you can use these to add
|
|
15
|
-
// common styles without having a relationship created. Also, you can use different Mixins at different breakpoints.
|
|
16
|
-
//
|
|
17
|
-
// Feel free to adjust/rename as required. We will use these to setup our generic type styles in the next section.
|
|
18
|
-
|
|
19
|
-
@mixin font-light {
|
|
20
|
-
font-family: $base-font--combined;
|
|
21
|
-
font-style: normal;
|
|
22
|
-
font-weight: 300;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@mixin font-regular {
|
|
26
|
-
font-family: $base-font--combined;
|
|
27
|
-
font-style: normal;
|
|
28
|
-
font-weight: normal;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@mixin font-italic {
|
|
32
|
-
font-family: $base-font--combined;
|
|
33
|
-
font-style: italic;
|
|
34
|
-
font-weight: normal;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
@mixin font-semibold {
|
|
38
|
-
font-family: $base-font--combined;
|
|
39
|
-
font-style: normal;
|
|
40
|
-
font-weight: 600;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@mixin font-bold {
|
|
44
|
-
font-family: $base-font--combined;
|
|
45
|
-
font-style: normal;
|
|
46
|
-
font-weight: 700;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@mixin font-header {
|
|
50
|
-
font-family: $base-font--combined;
|
|
51
|
-
font-style: normal;
|
|
52
|
-
font-weight: 300;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// =====================
|
|
56
|
-
// Margin Mixin
|
|
57
|
-
// =====================
|
|
58
|
-
|
|
59
|
-
// This is purely for creating vertical rhythm on typography if you want to use it
|
|
60
|
-
$base: 16 * ($base-font-size * 0.01);
|
|
61
|
-
$leading: $base * $base-line-height;
|
|
62
|
-
|
|
63
|
-
@mixin type-margin-bottom($number) {
|
|
64
|
-
margin-bottom: #{$number * $leading + 'px'};
|
|
65
|
-
margin-bottom: #{$number * $line-height + 'rem'};
|
|
66
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
|
|
3
|
-
@use './SpacingVars.scss' as spacing;
|
|
4
|
-
@use './ColorVars.scss' as colors;
|
|
5
|
-
@use './FontVars.scss' as fonts;
|
|
6
|
-
@use '../Utilities/REM.scss' as rem;
|
|
7
|
-
|
|
8
|
-
$label-spacing: spacing.$unit-md; // 24px
|
|
9
|
-
$input-spacing: spacing.$unit-xs; // 8px
|
|
10
|
-
|
|
11
|
-
$label-font-size: rem.rem(14px);
|
|
12
|
-
$label-line-height: spacing.$unit-md;
|
|
13
|
-
|
|
14
|
-
@mixin formLabel {
|
|
15
|
-
@include fonts.font-semibold();
|
|
16
|
-
margin-bottom: $input-spacing;
|
|
17
|
-
font-size: $label-font-size;
|
|
18
|
-
line-height: $label-line-height;
|
|
19
|
-
color: colors.$charcoal;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@mixin formPlaceholder {
|
|
23
|
-
&::placeholder {
|
|
24
|
-
font-weight: normal;
|
|
25
|
-
font-style: italic;
|
|
26
|
-
color: colors.$input-placeholder;
|
|
27
|
-
opacity: 1; // Because firefox is cool
|
|
28
|
-
|
|
29
|
-
.isDisabled & {
|
|
30
|
-
color: colors.$input-placeholder-when-disabled;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
$input-width: spacing.$unit-md;
|
|
36
|
-
$input-border-width: 0.06rem; // 1px
|
|
37
|
-
$input-border-width-thick: 0.13rem; // 2px
|
|
38
|
-
|
|
39
|
-
$checkbox-icon-font-size: 1.13rem; // 18px
|
|
40
|
-
$checkbox-icon-line-height: spacing.$unit-md; // 24px
|
|
41
|
-
$checkbox-label-spacing: $input-spacing;
|
|
42
|
-
$checkbox-border-colour: colors.$sea;
|
|
43
|
-
|
|
44
|
-
$form-error-icon-size: spacing.$unit-lg;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
@use './ColorVars.scss' as colors;
|
|
2
|
-
|
|
3
|
-
///////////////////////////////////////
|
|
4
|
-
// Misc Variables
|
|
5
|
-
///////////////////////////////////////
|
|
6
|
-
|
|
7
|
-
// This file is for holding global variables that don't neatly fall under a specific category
|
|
8
|
-
|
|
9
|
-
// ============
|
|
10
|
-
// Z-indices
|
|
11
|
-
// ============
|
|
12
|
-
$z-0: 0;
|
|
13
|
-
$z-10: 10;
|
|
14
|
-
$z-20: 20;
|
|
15
|
-
$z-30: 30;
|
|
16
|
-
$z-40: 40;
|
|
17
|
-
$z-50: 50;
|
|
18
|
-
|
|
19
|
-
// Border radius
|
|
20
|
-
$borderRadius: 3px;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
// These are for defining global spacing units – might not be neccessary but helps with consistency – talk to the designer to see if these will help, and whether useful in your use case
|
|
2
|
-
|
|
3
|
-
@use "sass:math";
|
|
4
|
-
|
|
5
|
-
// Grid variables and margins
|
|
6
|
-
|
|
7
|
-
$base-unit: 0.5rem; // changes base unit to 8px
|
|
8
|
-
|
|
9
|
-
$unit-xxs: $base-unit * 0.5; // 4px
|
|
10
|
-
$unit-xs: $base-unit; // 8px
|
|
11
|
-
$unit-sm: $base-unit * 1.5; // 12px
|
|
12
|
-
$unit-md: $base-unit * 3; // 24px
|
|
13
|
-
$unit-lg: $base-unit * 4; // 32px
|
|
14
|
-
$unit-xl: $base-unit * 6; // 48px
|
|
15
|
-
$unit-xxl: $base-unit * 10; // 80px
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
@deprecated
|
|
19
|
-
*/
|
|
20
|
-
$px: 24px;
|
|
21
|
-
/**
|
|
22
|
-
@deprecated
|
|
23
|
-
*/
|
|
24
|
-
$v: $px;
|
|
25
|
-
/**
|
|
26
|
-
@deprecated
|
|
27
|
-
*/
|
|
28
|
-
$h: $v;
|
|
29
|
-
|
|
30
|
-
// $unit-sm: // 16px -> 12px
|
|
31
|
-
// $unit-md: // 32px ->24px
|
|
32
|
-
// $unit-lg: // 48px -> 32px
|
|
33
|
-
// $unit-xl: // 80px -> 48px
|
|
34
|
-
// $unit-xxl: // 160px -> 80px
|