@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,121 +0,0 @@
|
|
|
1
|
-
@use 'LuiColors';
|
|
2
|
-
|
|
3
|
-
$prefix: '--'; // Prefix string for custom CSS properties
|
|
4
|
-
|
|
5
|
-
// Merges a variable name with $prefix
|
|
6
|
-
@function custom-property-name($name) {
|
|
7
|
-
@return $prefix + $name;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
// Defines a custom property
|
|
11
|
-
@mixin define-custom-property($name, $value) {
|
|
12
|
-
#{custom-property-name($name)}: $value;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// Append SCSS variables which are desired to be accessible:
|
|
16
|
-
:root {
|
|
17
|
-
@include define-custom-property('grey-80', LuiColors.$charcoal);
|
|
18
|
-
@include define-custom-property('grey-60', LuiColors.$fuscous);
|
|
19
|
-
@include define-custom-property('$gray', LuiColors.$gray);
|
|
20
|
-
@include define-custom-property('grey-20', LuiColors.$silver);
|
|
21
|
-
@include define-custom-property('grey-10', LuiColors.$lily);
|
|
22
|
-
@include define-custom-property('grey-05', LuiColors.$hint);
|
|
23
|
-
|
|
24
|
-
@include define-custom-property('teal', LuiColors.$teal);
|
|
25
|
-
// blue-85,// $blue-85
|
|
26
|
-
@include define-custom-property('sea', LuiColors.$sea);
|
|
27
|
-
@include define-custom-property('electric', LuiColors.$electric);
|
|
28
|
-
@include define-custom-property('spray', LuiColors.$spray);
|
|
29
|
-
@include define-custom-property('polar', LuiColors.$polar);
|
|
30
|
-
|
|
31
|
-
@include define-custom-property('sherpa', LuiColors.$sherpa);
|
|
32
|
-
@include define-custom-property('surfie', LuiColors.$surfie);
|
|
33
|
-
@include define-custom-property('persian', LuiColors.$persian);
|
|
34
|
-
@include define-custom-property('downy', LuiColors.$downy);
|
|
35
|
-
@include define-custom-property('iceberg', LuiColors.$iceberg);
|
|
36
|
-
|
|
37
|
-
@include define-custom-property('sacramento', LuiColors.$sacramento);
|
|
38
|
-
@include define-custom-property('salem', LuiColors.$salem);
|
|
39
|
-
@include define-custom-property('pigment', LuiColors.$pigment);
|
|
40
|
-
@include define-custom-property('granny', LuiColors.$granny);
|
|
41
|
-
@include define-custom-property('panache', LuiColors.$panache);
|
|
42
|
-
|
|
43
|
-
@include define-custom-property('brand-primary', LuiColors.$brand-primary);
|
|
44
|
-
@include define-custom-property(
|
|
45
|
-
'brand-secondary',
|
|
46
|
-
LuiColors.$brand-secondary
|
|
47
|
-
);
|
|
48
|
-
|
|
49
|
-
// System colours,// System colours
|
|
50
|
-
|
|
51
|
-
// reserved colours,// reserved colours
|
|
52
|
-
@include define-custom-property('success', LuiColors.$success);
|
|
53
|
-
@include define-custom-property('success-bg', LuiColors.$success-bg);
|
|
54
|
-
@include define-custom-property('info', LuiColors.$info);
|
|
55
|
-
@include define-custom-property('info-bg', LuiColors.$info-bg);
|
|
56
|
-
@include define-custom-property('warning', LuiColors.$warning);
|
|
57
|
-
@include define-custom-property('warning-bg', LuiColors.$warning-bg);
|
|
58
|
-
@include define-custom-property('error', LuiColors.$error);
|
|
59
|
-
@include define-custom-property('error-focus', LuiColors.$error-focus);
|
|
60
|
-
@include define-custom-property('error-bg', LuiColors.$error-bg);
|
|
61
|
-
|
|
62
|
-
@include define-custom-property('visited', LuiColors.$visited);
|
|
63
|
-
|
|
64
|
-
// restricted colours for btn hover states,// restricted colours for btn hover states
|
|
65
|
-
@include define-custom-property('green-hover', LuiColors.$green-hover);
|
|
66
|
-
@include define-custom-property(
|
|
67
|
-
'color-green-active',
|
|
68
|
-
LuiColors.$green-active
|
|
69
|
-
);
|
|
70
|
-
@include define-custom-property('green-btn', LuiColors.$green-btn);
|
|
71
|
-
@include define-custom-property('txt-link', LuiColors.$txt-link);
|
|
72
|
-
@include define-custom-property(
|
|
73
|
-
'color-primary-hover-btn',
|
|
74
|
-
LuiColors.$primary-hover-btn
|
|
75
|
-
);
|
|
76
|
-
@include define-custom-property('color-selection', LuiColors.$selection);
|
|
77
|
-
|
|
78
|
-
//Type
|
|
79
|
-
@include define-custom-property('heading-color', LuiColors.$surfie);
|
|
80
|
-
@include define-custom-property(
|
|
81
|
-
'heading-color--secondary',
|
|
82
|
-
LuiColors.$charcoal
|
|
83
|
-
);
|
|
84
|
-
@include define-custom-property('base-type-color', LuiColors.$charcoal);
|
|
85
|
-
|
|
86
|
-
// Icons & radio/checkboxes
|
|
87
|
-
@include define-custom-property('base-icon-color', LuiColors.$sea);
|
|
88
|
-
@include define-custom-property('disabled-color', LuiColors.$gray);
|
|
89
|
-
@include define-custom-property('disabled-color-dark', LuiColors.$fuscous);
|
|
90
|
-
|
|
91
|
-
//LINZ public site colour variables,//LINZ public site colour variables
|
|
92
|
-
|
|
93
|
-
@include define-custom-property(
|
|
94
|
-
'linz-color-primary',
|
|
95
|
-
LuiColors.$linz-color-primary
|
|
96
|
-
);
|
|
97
|
-
@include define-custom-property(
|
|
98
|
-
'linz-color-primary-hover',
|
|
99
|
-
LuiColors.$linz-color-primary-hover
|
|
100
|
-
);
|
|
101
|
-
|
|
102
|
-
@include define-custom-property(
|
|
103
|
-
'linz-color-tertiary',
|
|
104
|
-
LuiColors.$linz-color-tertiary
|
|
105
|
-
);
|
|
106
|
-
@include define-custom-property(
|
|
107
|
-
'linz-color-tertiary-hover',
|
|
108
|
-
LuiColors.$linz-color-tertiary-hover
|
|
109
|
-
);
|
|
110
|
-
|
|
111
|
-
@include define-custom-property('color-test-pink', LuiColors.$test-pink);
|
|
112
|
-
|
|
113
|
-
@include define-custom-property(
|
|
114
|
-
'linz-linear-gradient-blue',
|
|
115
|
-
LuiColors.$linz-linear-gradient-blue
|
|
116
|
-
);
|
|
117
|
-
@include define-custom-property(
|
|
118
|
-
'linz-linear-gradient-teal',
|
|
119
|
-
LuiColors.$linz-linear-gradient-teal
|
|
120
|
-
);
|
|
121
|
-
} // end :root
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
@use "LuiColors";
|
|
2
|
-
|
|
3
|
-
// TODO: This should be used for including into components instead of ColorVars.scss
|
|
4
|
-
|
|
5
|
-
// the :export directive is the magic sauce for webpack
|
|
6
|
-
:export {
|
|
7
|
-
charcoal: LuiColors.$charcoal;
|
|
8
|
-
fuscous: LuiColors.$fuscous;
|
|
9
|
-
gray: LuiColors.$gray;
|
|
10
|
-
silver: LuiColors.$silver;
|
|
11
|
-
lily: LuiColors.$lily;
|
|
12
|
-
hint: LuiColors.$hint;
|
|
13
|
-
snow: LuiColors.$snow;
|
|
14
|
-
white: LuiColors.$white;
|
|
15
|
-
|
|
16
|
-
teal: LuiColors.$teal;
|
|
17
|
-
//blue-85,// $blue-85
|
|
18
|
-
sea: LuiColors.$sea;
|
|
19
|
-
electric: LuiColors.$electric;
|
|
20
|
-
spray: LuiColors.$spray;
|
|
21
|
-
polar: LuiColors.$polar;
|
|
22
|
-
|
|
23
|
-
sherpa: LuiColors.$sherpa;
|
|
24
|
-
surfie: LuiColors.$surfie;
|
|
25
|
-
persian: LuiColors.$persian;
|
|
26
|
-
downy: LuiColors.$downy;
|
|
27
|
-
iceberg: LuiColors.$iceberg;
|
|
28
|
-
|
|
29
|
-
sacramento: LuiColors.$sacramento;
|
|
30
|
-
salem: LuiColors.$salem;
|
|
31
|
-
pigment: LuiColors.$pigment;
|
|
32
|
-
granny: LuiColors.$granny;
|
|
33
|
-
panache: LuiColors.$panache;
|
|
34
|
-
|
|
35
|
-
brand-primary: LuiColors.$brand-primary;
|
|
36
|
-
brand-secondary: LuiColors.$brand-secondary;
|
|
37
|
-
|
|
38
|
-
// System colours,// System colours
|
|
39
|
-
|
|
40
|
-
// reserved colours,// reserved colours
|
|
41
|
-
error: LuiColors.$error;
|
|
42
|
-
error-bg: LuiColors.$error-bg;
|
|
43
|
-
error-focus: LuiColors.$error-focus; // Used to highlight what input in an error state has focus
|
|
44
|
-
warning: LuiColors.$warning;
|
|
45
|
-
warning-bg: LuiColors.$warning-bg;
|
|
46
|
-
warning-focus: LuiColors.$warning-focus;
|
|
47
|
-
success: LuiColors.$success;
|
|
48
|
-
success-bg: LuiColors.$success-bg;
|
|
49
|
-
info: LuiColors.$info;
|
|
50
|
-
info-bg: LuiColors.$info-bg;
|
|
51
|
-
|
|
52
|
-
visited: LuiColors.$visited;
|
|
53
|
-
|
|
54
|
-
// restricted colours for btn hover states,// restricted colours for btn hover states
|
|
55
|
-
green-hover: LuiColors.$green-hover;
|
|
56
|
-
green-active: LuiColors.$green-active;
|
|
57
|
-
green-btn: LuiColors.$green-btn;
|
|
58
|
-
txt-link: LuiColors.$txt-link;
|
|
59
|
-
primary-hover-btn: LuiColors.$primary-hover-btn;
|
|
60
|
-
selection: LuiColors.$selection;
|
|
61
|
-
|
|
62
|
-
//Type
|
|
63
|
-
heading-color: LuiColors.$surfie;
|
|
64
|
-
heading-color--secondary: LuiColors.$charcoal;
|
|
65
|
-
base-type-color: LuiColors.$charcoal;
|
|
66
|
-
|
|
67
|
-
// Icons, inputs & radio/checkboxes
|
|
68
|
-
input-text: LuiColors.$input-text;
|
|
69
|
-
input-placeholder: LuiColors.$input-placeholder;
|
|
70
|
-
input-placeholder-when-disabled: LuiColors.$input-placeholder-when-disabled;
|
|
71
|
-
base-icon-color: LuiColors.$sea;
|
|
72
|
-
disabled-color: LuiColors.$gray;
|
|
73
|
-
disabled-color-dark: LuiColors.$fuscous;
|
|
74
|
-
|
|
75
|
-
//LINZ public site colour variables,//LINZ public site colour variables
|
|
76
|
-
|
|
77
|
-
linz-color-primary: LuiColors.$linz-color-primary;
|
|
78
|
-
linz-color-primary-hover: LuiColors.$linz-color-primary-hover;
|
|
79
|
-
|
|
80
|
-
linz-color-tertiary: LuiColors.$linz-color-tertiary;
|
|
81
|
-
linz-color-tertiary-hover: LuiColors.$linz-color-tertiary-hover;
|
|
82
|
-
|
|
83
|
-
color-test-pink: LuiColors.$test-pink;
|
|
84
|
-
|
|
85
|
-
linz-linear-gradient-blue: LuiColors.$linz-linear-gradient-blue;
|
|
86
|
-
linz-linear-gradient-teal: LuiColors.$linz-linear-gradient-teal;
|
|
87
|
-
} // end :export
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
@use "sass:color";
|
|
2
|
-
// ============
|
|
3
|
-
// Colours
|
|
4
|
-
// ============
|
|
5
|
-
|
|
6
|
-
// Colours are hard. We've remapped the names in FigLui so that's what's below.
|
|
7
|
-
|
|
8
|
-
// ----------------------------
|
|
9
|
-
// Brand
|
|
10
|
-
// ----------------------------
|
|
11
|
-
|
|
12
|
-
// Blues
|
|
13
|
-
$teal: #00425d;
|
|
14
|
-
$sea: #007198;
|
|
15
|
-
$electric: #0096cc;
|
|
16
|
-
$spray: #73c8e1;
|
|
17
|
-
$polar: #e2f3f7;
|
|
18
|
-
$linz-linear-gradient-blue: linear-gradient(70deg, $teal 12%, $sea 100%);
|
|
19
|
-
|
|
20
|
-
// Teals
|
|
21
|
-
$sherpa: #004b50;
|
|
22
|
-
$surfie: #017a76;
|
|
23
|
-
$persian: #00a599;
|
|
24
|
-
$downy: #73cdc8;
|
|
25
|
-
$iceberg: #dcf5f0;
|
|
26
|
-
$linz-linear-gradient-teal: linear-gradient(270deg, $persian 1%, $downy 100%);
|
|
27
|
-
|
|
28
|
-
// Greens
|
|
29
|
-
$sacramento: #004e32;
|
|
30
|
-
$salem: #08814d;
|
|
31
|
-
$pigment: #0aa245;
|
|
32
|
-
$granny: #9bd79b;
|
|
33
|
-
$panache: #e9fae7;
|
|
34
|
-
|
|
35
|
-
// ----------------------------
|
|
36
|
-
// Neutrals
|
|
37
|
-
// ----------------------------
|
|
38
|
-
|
|
39
|
-
$charcoal: #2a292c;
|
|
40
|
-
$fuscous: #6b6966;
|
|
41
|
-
$gray: #989189;
|
|
42
|
-
$silver: #beb9b4;
|
|
43
|
-
$lily: #eaeaea;
|
|
44
|
-
$hint: #f9f9f9;
|
|
45
|
-
$snow: #ffffff;
|
|
46
|
-
$white: $snow;
|
|
47
|
-
|
|
48
|
-
// ----------------------------
|
|
49
|
-
// Reserved
|
|
50
|
-
// ----------------------------
|
|
51
|
-
|
|
52
|
-
// error
|
|
53
|
-
$error: #cc0000;
|
|
54
|
-
$error-bg: #f5cccc;
|
|
55
|
-
$error-focus: #5a0000;
|
|
56
|
-
|
|
57
|
-
// warning
|
|
58
|
-
$warning: #ea6a2e;
|
|
59
|
-
$warning-bg: #fbdfd2;
|
|
60
|
-
$warning-focus: #b33a01;
|
|
61
|
-
|
|
62
|
-
// info
|
|
63
|
-
$info: #3a7cdf;
|
|
64
|
-
$info-bg: #d8e5f9;
|
|
65
|
-
|
|
66
|
-
// success
|
|
67
|
-
$success: $pigment;
|
|
68
|
-
$success-bg: $panache;
|
|
69
|
-
|
|
70
|
-
// text link
|
|
71
|
-
$txt-link: #1f69c3;
|
|
72
|
-
|
|
73
|
-
$test-pink: #f09;
|
|
74
|
-
|
|
75
|
-
// --------------------------------------------------------
|
|
76
|
-
// Deprecated variable sets
|
|
77
|
-
// --------------------------------------------------------
|
|
78
|
-
|
|
79
|
-
$grey-80: $charcoal;
|
|
80
|
-
$grey-60: $fuscous;
|
|
81
|
-
$grey-30: $gray;
|
|
82
|
-
$grey-20: $silver;
|
|
83
|
-
$grey-10: $lily;
|
|
84
|
-
$grey-05: $hint;
|
|
85
|
-
|
|
86
|
-
$blue-100: $teal;
|
|
87
|
-
$blue-75: $sea;
|
|
88
|
-
$blue-50: $electric;
|
|
89
|
-
$blue-25: $spray;
|
|
90
|
-
$blue-05: $polar;
|
|
91
|
-
|
|
92
|
-
$teal-100: $sherpa;
|
|
93
|
-
$teal-75: $surfie;
|
|
94
|
-
$teal-50: $persian;
|
|
95
|
-
$teal-25: $downy;
|
|
96
|
-
$teal-05: $iceberg;
|
|
97
|
-
|
|
98
|
-
$green-100: $sacramento;
|
|
99
|
-
$green-75: $salem;
|
|
100
|
-
$green-50: $pigment;
|
|
101
|
-
$green-25: $granny;
|
|
102
|
-
$green-05: $panache;
|
|
103
|
-
|
|
104
|
-
$brand-primary: $sherpa;
|
|
105
|
-
$brand-secondary: $surfie;
|
|
106
|
-
|
|
107
|
-
// System colours
|
|
108
|
-
|
|
109
|
-
$visited: $teal;
|
|
110
|
-
$selection: lighten($spray, 20%);
|
|
111
|
-
|
|
112
|
-
// restricted colours for btn hover states
|
|
113
|
-
$green-hover: $salem;
|
|
114
|
-
$green-active: $sacramento;
|
|
115
|
-
$green-btn: $pigment;
|
|
116
|
-
$txt-link: $electric;
|
|
117
|
-
$primary-hover-btn: $sea;
|
|
118
|
-
|
|
119
|
-
//Type
|
|
120
|
-
$heading-color: $surfie;
|
|
121
|
-
$heading-color--secondary: $charcoal;
|
|
122
|
-
$base-type-color: $charcoal;
|
|
123
|
-
|
|
124
|
-
// Icons, inputs & radio/checkboxes
|
|
125
|
-
$input-text: $charcoal;
|
|
126
|
-
$input-placeholder: $fuscous;
|
|
127
|
-
$input-placeholder-when-disabled: $gray;
|
|
128
|
-
$base-icon-color: $sea;
|
|
129
|
-
$disabled-color: $gray;
|
|
130
|
-
$disabled-color-dark: $gray;
|
|
131
|
-
$input-focus: $teal;
|
|
132
|
-
|
|
133
|
-
//LINZ public site colour variables
|
|
134
|
-
|
|
135
|
-
$linz-color-primary: #023d48;
|
|
136
|
-
$linz-color-primary-hover: #01818a;
|
|
137
|
-
|
|
138
|
-
$linz-color-tertiary: #e1e44a;
|
|
139
|
-
$linz-color-tertiary-hover: #cdcf59;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
// ========================
|
|
2
|
-
// Buttons
|
|
3
|
-
// ========================
|
|
4
|
-
|
|
5
|
-
// ==========================================
|
|
6
|
-
// common variables
|
|
7
|
-
// ==========================================
|
|
8
|
-
$button-height: 40px;
|
|
9
|
-
$button-min-width: 180px;
|
|
10
|
-
$button-border-width: 2px;
|
|
11
|
-
$button-border-radius: 40px;
|
|
12
|
-
$button-disabled-opacity: 0.5;
|
|
13
|
-
$button-horizontal-padding: 48px;
|
|
14
|
-
$button-transition-speed: 150ms;
|
|
15
|
-
|
|
16
|
-
// Base button styles
|
|
17
|
-
.Button,
|
|
18
|
-
button {
|
|
19
|
-
display: inline-flex;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
align-items: center;
|
|
22
|
-
appearance: none;
|
|
23
|
-
text-decoration: none;
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
height: $button-height;
|
|
26
|
-
margin: 0;
|
|
27
|
-
padding: 0 $button-horizontal-padding;
|
|
28
|
-
position: relative;
|
|
29
|
-
text-align: center;
|
|
30
|
-
user-select: none;
|
|
31
|
-
white-space: normal;
|
|
32
|
-
border: none;
|
|
33
|
-
border-radius: $button-border-radius;
|
|
34
|
-
min-width: $button-min-width;
|
|
35
|
-
transition: all $button-transition-speed ease-in-out;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// ========================
|
|
39
|
-
// MODIFIERS
|
|
40
|
-
// ========================
|
|
41
|
-
.Button--block {
|
|
42
|
-
width: 100%;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.Button--small {
|
|
46
|
-
@extend %small !optional;
|
|
47
|
-
height: $button-height * 0.8;
|
|
48
|
-
padding: 0 $button-horizontal-padding * 0.5;
|
|
49
|
-
min-width: $button-min-width * 0.5;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// ========================
|
|
53
|
-
// UI STATES
|
|
54
|
-
// ========================
|
|
55
|
-
.Button {
|
|
56
|
-
&:hover,
|
|
57
|
-
&:focus,
|
|
58
|
-
&:active,
|
|
59
|
-
&:disabled,
|
|
60
|
-
&.is-disabled,
|
|
61
|
-
&.is-loading {
|
|
62
|
-
text-decoration: none;
|
|
63
|
-
outline: none;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&.is-loading {
|
|
67
|
-
cursor: wait;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&:disabled,
|
|
71
|
-
&.is-disabled {
|
|
72
|
-
cursor: not-allowed;
|
|
73
|
-
opacity: $button-disabled-opacity;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
$icon-lg: 48px;
|
|
2
|
-
$icon-md: 32px;
|
|
3
|
-
$icon-sm: 16px;
|
|
4
|
-
|
|
5
|
-
.Icon {
|
|
6
|
-
display: inline-block;
|
|
7
|
-
height: 100%;
|
|
8
|
-
width: 100%;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.Icon--lg {
|
|
12
|
-
max-height: $icon-lg;
|
|
13
|
-
max-width: $icon-lg;
|
|
14
|
-
|
|
15
|
-
> svg {
|
|
16
|
-
height: $icon-lg;
|
|
17
|
-
width: $icon-lg;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.Icon--md {
|
|
22
|
-
height: $icon-md;
|
|
23
|
-
max-height: $icon-md;
|
|
24
|
-
max-width: $icon-md;
|
|
25
|
-
width: $icon-md;
|
|
26
|
-
|
|
27
|
-
> svg {
|
|
28
|
-
height: $icon-md;
|
|
29
|
-
width: $icon-md;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.Icon--sm {
|
|
34
|
-
max-height: $icon-sm;
|
|
35
|
-
max-width: $icon-sm;
|
|
36
|
-
|
|
37
|
-
> svg {
|
|
38
|
-
height: $icon-sm;
|
|
39
|
-
width: $icon-sm;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
#root > svg {
|
|
44
|
-
display: none;
|
|
45
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
@use '../../Foundation/Variables/ColorVars.scss' as colors;
|
|
2
|
-
@use '../../Foundation/Variables/FontVars.scss' as fonts;
|
|
3
|
-
@use '../../Foundation/Utilities/Hover.scss' as hover;
|
|
4
|
-
|
|
5
|
-
// ============
|
|
6
|
-
// $LINK
|
|
7
|
-
// ============
|
|
8
|
-
|
|
9
|
-
a {
|
|
10
|
-
color: colors.$txt-link;
|
|
11
|
-
@include fonts.font-regular;
|
|
12
|
-
display: inline-block; // By setting them in inline block they stay together and fixes an issue with REACT adding display block and the borders dropping off.
|
|
13
|
-
position: relative;
|
|
14
|
-
transition: all 0.3s ease(expo-in-out);
|
|
15
|
-
text-underline-offset: 0em;
|
|
16
|
-
text-underline-position: under;
|
|
17
|
-
|
|
18
|
-
&:visited {
|
|
19
|
-
color: colors.$visited;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&:hover {
|
|
23
|
-
color: colors.$brand-primary;
|
|
24
|
-
|
|
25
|
-
&:before {
|
|
26
|
-
background-color: colors.$brand-primary;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&:disabled {
|
|
31
|
-
color: colors.$disabled-color;
|
|
32
|
-
box-shadow: none;
|
|
33
|
-
|
|
34
|
-
&:hover {
|
|
35
|
-
cursor: not-allowed;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&.lui-link-icon {
|
|
40
|
-
box-shadow: none;
|
|
41
|
-
&-disabled {
|
|
42
|
-
box-shadow: none;
|
|
43
|
-
color: colors.$disabled-color;
|
|
44
|
-
&:hover {
|
|
45
|
-
cursor: not-allowed;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&.lui-button:before {
|
|
51
|
-
display: none;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// Is Link being used?
|
|
56
|
-
.Link {
|
|
57
|
-
color: colors.$txt-link;
|
|
58
|
-
@include hover.hover('is-active') {
|
|
59
|
-
color: colors.$txt-link;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.Link--reversed {
|
|
64
|
-
color: colors.$white;
|
|
65
|
-
@include hover.hover('is-active') {
|
|
66
|
-
color: colors.$charcoal;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.lui-external-link {
|
|
71
|
-
padding-right: 26px;
|
|
72
|
-
position: relative;
|
|
73
|
-
|
|
74
|
-
i {
|
|
75
|
-
position: absolute;
|
|
76
|
-
right: 0;
|
|
77
|
-
width: 24px;
|
|
78
|
-
height: 24px;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
@use "../../Foundation/Variables" as lui;
|
|
2
|
-
|
|
3
|
-
////////////////////////////////////////////////////////
|
|
4
|
-
// Let's be honest gang, we never seem to want normal
|
|
5
|
-
// list styles so here blow it away.
|
|
6
|
-
///////////////////////////////////////////////////////
|
|
7
|
-
|
|
8
|
-
ul {
|
|
9
|
-
margin: 0;
|
|
10
|
-
padding: 0;
|
|
11
|
-
list-style-type: none;
|
|
12
|
-
|
|
13
|
-
ul,
|
|
14
|
-
li {
|
|
15
|
-
margin: 0;
|
|
16
|
-
padding: 0;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// This is used to add generic list styles to ul & li's
|
|
21
|
-
.lui-list-bullet {
|
|
22
|
-
list-style-type: disc;
|
|
23
|
-
padding-left: lui.$unit-md; // 24px
|
|
24
|
-
|
|
25
|
-
li {
|
|
26
|
-
margin-top: lui.$unit-sm; // 12px
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
@use '../../Foundation/Variables/ColorVars.scss' as colors;
|
|
2
|
-
|
|
3
|
-
// ============
|
|
4
|
-
// Todo
|
|
5
|
-
// ============
|
|
6
|
-
// Utility for highlighting items on the page as "Todo", visually, without affecting box sizing.
|
|
7
|
-
// Can also override the text with a `data-todo` attribute
|
|
8
|
-
//
|
|
9
|
-
// e.g.
|
|
10
|
-
// Render a flashing border with a banner containing "Todo"
|
|
11
|
-
// <div class="Something u-todo"> … </div>
|
|
12
|
-
//
|
|
13
|
-
// Render a flashing border with a banner containing the words "Not working"
|
|
14
|
-
// <div class="Something u-todo" data-todo="Not working"> … </div>
|
|
15
|
-
//
|
|
16
|
-
|
|
17
|
-
// ============
|
|
18
|
-
// Config
|
|
19
|
-
// ============
|
|
20
|
-
$todo-color: colors.$test-pink;
|
|
21
|
-
$todo-text-color: colors.$white;
|
|
22
|
-
$todo-throb-speed: 1.2s;
|
|
23
|
-
|
|
24
|
-
// ============
|
|
25
|
-
// Animations
|
|
26
|
-
// ============
|
|
27
|
-
@keyframes border-throb {
|
|
28
|
-
100% {
|
|
29
|
-
box-shadow: 0 0 4px 3px transparentize($todo-color, 0.7);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
@keyframes throb-fade {
|
|
33
|
-
100% {
|
|
34
|
-
opacity: 0.3;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// ============
|
|
39
|
-
// Utility
|
|
40
|
-
// ============
|
|
41
|
-
// Flashing border
|
|
42
|
-
.u-todo {
|
|
43
|
-
position: relative;
|
|
44
|
-
box-shadow: 0 0 4px 3px $todo-color;
|
|
45
|
-
border-collapse: separate; // Needed for IE
|
|
46
|
-
border-radius: 5px;
|
|
47
|
-
opacity: 0.8;
|
|
48
|
-
|
|
49
|
-
animation: border-throb $todo-throb-speed alternate linear infinite;
|
|
50
|
-
|
|
51
|
-
// Flashing banner
|
|
52
|
-
&::before {
|
|
53
|
-
content: 'Todo';
|
|
54
|
-
|
|
55
|
-
position: absolute;
|
|
56
|
-
padding: 4px 8px;
|
|
57
|
-
border-radius: 4px;
|
|
58
|
-
white-space: nowrap;
|
|
59
|
-
|
|
60
|
-
background-color: $todo-color;
|
|
61
|
-
color: $todo-text-color;
|
|
62
|
-
opacity: 0.8;
|
|
63
|
-
|
|
64
|
-
left: 0;
|
|
65
|
-
top: 0;
|
|
66
|
-
|
|
67
|
-
transform: translate(-50%, -50%) scale(1) rotate(-45deg);
|
|
68
|
-
|
|
69
|
-
animation: throb-fade $todo-throb-speed alternate linear infinite;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// Data attribute override
|
|
73
|
-
&[data-todo]::before {
|
|
74
|
-
content: attr(data-todo);
|
|
75
|
-
}
|
|
76
|
-
}
|