@linzjs/lui 12.1.1 → 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 +28 -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 -30
- 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 -11
- 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 -20541
- 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 -4952
- package/dist/lui.css.map +0 -1
- package/dist/lui.esm.js +0 -20451
- 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 -114
- package/dist/scss/Components/LuiFormElements/LuiTextInput/LuiTextInput.scss +0 -151
- 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,760 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
|
|
3
|
-
@use "../../Foundation/Variables/ColorVars.scss" as colors;
|
|
4
|
-
@use "../../Foundation/Variables/FontVars.scss" as fonts;
|
|
5
|
-
@use "../../Foundation/Variables/MiscVars.scss" as misc;
|
|
6
|
-
@use "../../Foundation/Variables/SpacingVars.scss" as spacing;
|
|
7
|
-
@use "../../Foundation/Utilities" as *;
|
|
8
|
-
|
|
9
|
-
// button variables only used for this file
|
|
10
|
-
$strokeWeight: 2px;
|
|
11
|
-
$reversed-btn-active-txt: rgba(255, 255, 255, 0.6);
|
|
12
|
-
$reversed-no-bg-btn-active-txt: rgba(255, 255, 255, 0.8);
|
|
13
|
-
$disabled-reversed-no-bg-btn-txt: rgba(255, 255, 255, 0.4);
|
|
14
|
-
$btnLine-height: 40px;
|
|
15
|
-
|
|
16
|
-
// reset buttons and base styling for all
|
|
17
|
-
|
|
18
|
-
@mixin button {
|
|
19
|
-
@include fonts.font-bold();
|
|
20
|
-
font-size: 1rem;
|
|
21
|
-
line-height: $btnLine-height;
|
|
22
|
-
margin: 0;
|
|
23
|
-
padding: 0 spacing.$unit-lg;
|
|
24
|
-
border: none;
|
|
25
|
-
border-radius: misc.$borderRadius;
|
|
26
|
-
transition: background-color 0.3s, color 0.3s, height 0.3s, border 0.3s,
|
|
27
|
-
fill 0.3s;
|
|
28
|
-
|
|
29
|
-
i,
|
|
30
|
-
svg * {
|
|
31
|
-
transition: color 0.3s, fill 0.3s;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&:hover {
|
|
35
|
-
cursor: pointer;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
button {
|
|
40
|
-
@include button();
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// create a SASS Mixin that can be called from the style definitions. You pass values and it will
|
|
44
|
-
// pre-populate your style declaration with the content of the mixin.
|
|
45
|
-
@mixin button-builder(
|
|
46
|
-
$btnTxtCol,
|
|
47
|
-
$btnBgCol,
|
|
48
|
-
$borderCol,
|
|
49
|
-
$myStrokeWeight: $strokeWeight,
|
|
50
|
-
$myBtnLineHeight: $btnLine-height
|
|
51
|
-
) {
|
|
52
|
-
background-color: $btnBgCol;
|
|
53
|
-
border: $myStrokeWeight solid $borderCol;
|
|
54
|
-
color: $btnTxtCol;
|
|
55
|
-
line-height: $myBtnLineHeight;
|
|
56
|
-
|
|
57
|
-
i,
|
|
58
|
-
svg * {
|
|
59
|
-
color: $btnTxtCol;
|
|
60
|
-
fill: $btnTxtCol;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&:visited {
|
|
64
|
-
color: $btnTxtCol;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// Broke the Button styling mixin into two so passing the values wouldn't be so overwelming.
|
|
69
|
-
// This one defines the Hover and Active states of the button
|
|
70
|
-
@mixin button-states-builder(
|
|
71
|
-
$btnTxtColHover,
|
|
72
|
-
$btnBgColHover,
|
|
73
|
-
$borderColHover,
|
|
74
|
-
$btnTxtColActive,
|
|
75
|
-
$btnBgColActive,
|
|
76
|
-
$borderColActive
|
|
77
|
-
) {
|
|
78
|
-
&:hover {
|
|
79
|
-
background-color: $btnBgColHover;
|
|
80
|
-
cursor: pointer;
|
|
81
|
-
color: $btnTxtColHover;
|
|
82
|
-
border: $strokeWeight solid $borderColHover;
|
|
83
|
-
|
|
84
|
-
i,
|
|
85
|
-
svg * {
|
|
86
|
-
color: $btnTxtColHover;
|
|
87
|
-
fill: $btnTxtColHover;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&:disabled {
|
|
92
|
-
color: colors.$disabled-color;
|
|
93
|
-
background: colors.$lily;
|
|
94
|
-
border-color: colors.$lily;
|
|
95
|
-
|
|
96
|
-
i,
|
|
97
|
-
svg * {
|
|
98
|
-
color: colors.$disabled-color;
|
|
99
|
-
fill: colors.$disabled-color;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
&:hover {
|
|
103
|
-
cursor: not-allowed;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&:active:enabled {
|
|
108
|
-
background-color: $btnBgColActive;
|
|
109
|
-
cursor: pointer;
|
|
110
|
-
color: rgba($btnTxtColActive, 0.6);
|
|
111
|
-
border: $strokeWeight solid $borderColActive;
|
|
112
|
-
-moz-box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.2);
|
|
113
|
-
-webkit-box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.2);
|
|
114
|
-
box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.2);
|
|
115
|
-
|
|
116
|
-
i,
|
|
117
|
-
svg * {
|
|
118
|
-
color: $btnTxtColActive;
|
|
119
|
-
fill: $btnTxtColActive;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
a.lui-button {
|
|
125
|
-
@include button();
|
|
126
|
-
display: inline-block;
|
|
127
|
-
text-decoration: none;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.lui-button,
|
|
131
|
-
a.lui-button {
|
|
132
|
-
text-align: center;
|
|
133
|
-
|
|
134
|
-
&.lui-button-icon-right {
|
|
135
|
-
padding: 0 14px 0 spacing.$unit-sm;
|
|
136
|
-
|
|
137
|
-
i,
|
|
138
|
-
.LuiIcon {
|
|
139
|
-
position: relative;
|
|
140
|
-
top: 6px;
|
|
141
|
-
margin: 0 0 0 12px;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&.lui-button-icon {
|
|
146
|
-
padding: 0 spacing.$unit-sm 0 14px;
|
|
147
|
-
|
|
148
|
-
i,
|
|
149
|
-
.LuiIcon {
|
|
150
|
-
position: relative;
|
|
151
|
-
top: 6px;
|
|
152
|
-
margin: 0 12px 0 0;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
&-primary {
|
|
157
|
-
// var $btnTxtCol, $btnBgCol, $borderCol, $myStrokeWeight : 2px, $myBtnLineHeight : 40px
|
|
158
|
-
@include button-builder(#fff, colors.$sea, colors.$sea);
|
|
159
|
-
// var $btnTxtColHover, $btnBgColHover, $borderColHover, $btnTxtColActive, $btnBgColActive, $borderColActive
|
|
160
|
-
@include button-states-builder(
|
|
161
|
-
#fff,
|
|
162
|
-
colors.$brand-primary,
|
|
163
|
-
colors.$brand-primary,
|
|
164
|
-
$reversed-btn-active-txt,
|
|
165
|
-
colors.$teal,
|
|
166
|
-
colors.$teal
|
|
167
|
-
);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
&-secondary {
|
|
171
|
-
// var $btnTxtCol, $btnBgCol, $borderCol, $myStrokeWeight : 2px, $myBtnLineHeight : 40px
|
|
172
|
-
@include button-builder(colors.$sea, #fff, colors.$sea);
|
|
173
|
-
// var $btnTxtColHover, $btnBgColHover, $borderColHover, $btnTxtColActive, $btnBgColActive, $borderColActive
|
|
174
|
-
@include button-states-builder(
|
|
175
|
-
#fff,
|
|
176
|
-
colors.$brand-primary,
|
|
177
|
-
colors.$brand-primary,
|
|
178
|
-
$reversed-btn-active-txt,
|
|
179
|
-
colors.$teal,
|
|
180
|
-
colors.$teal
|
|
181
|
-
);
|
|
182
|
-
|
|
183
|
-
i,
|
|
184
|
-
svg * {
|
|
185
|
-
color: colors.$sea;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
&:hover i {
|
|
189
|
-
color: #fff;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
&-tertiary {
|
|
194
|
-
// var $btnTxtCol, $btnBgCol, $borderCol, $myStrokeWeight : 2px, $myBtnLineHeight : 40px
|
|
195
|
-
@include button-builder(#fff, colors.$green-btn, colors.$green-btn);
|
|
196
|
-
// var $btnTxtColHover, $btnBgColHover, $borderColHover, $btnTxtColActive, $btnBgColActive, $borderColActive
|
|
197
|
-
@include button-states-builder(
|
|
198
|
-
#fff,
|
|
199
|
-
colors.$green-hover,
|
|
200
|
-
colors.$green-hover,
|
|
201
|
-
$reversed-btn-active-txt,
|
|
202
|
-
colors.$green-active,
|
|
203
|
-
colors.$green-active
|
|
204
|
-
);
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
&-error {
|
|
208
|
-
// var $btnTxtCol, $btnBgCol, $borderCol, $myStrokeWeight : 2px, $myBtnLineHeight : 40px
|
|
209
|
-
@include button-builder(#fff, colors.$error, colors.$error);
|
|
210
|
-
// var $btnTxtColHover, $btnBgColHover, $borderColHover, $btnTxtColActive, $btnBgColActive, $borderColActive
|
|
211
|
-
@include button-states-builder(
|
|
212
|
-
#fff,
|
|
213
|
-
colors.$error-focus,
|
|
214
|
-
colors.$error-focus,
|
|
215
|
-
$reversed-btn-active-txt,
|
|
216
|
-
colors.$error-focus,
|
|
217
|
-
colors.$error-focus
|
|
218
|
-
);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
&-reversed-no-bg {
|
|
222
|
-
// var $btnTxtCol, $btnBgCol, $borderCol, $myStrokeWeight : 2px, $myBtnLineHeight : 40px
|
|
223
|
-
@include button-builder(#fff, transparent, transparent);
|
|
224
|
-
// var $btnTxtColHover, $btnBgColHover, $borderColHover, $btnTxtColActive, $btnBgColActive, $borderColActive
|
|
225
|
-
@include button-states-builder(
|
|
226
|
-
$reversed-no-bg-btn-active-txt,
|
|
227
|
-
transparent,
|
|
228
|
-
transparent,
|
|
229
|
-
$reversed-btn-active-txt,
|
|
230
|
-
transparent,
|
|
231
|
-
transparent
|
|
232
|
-
);
|
|
233
|
-
|
|
234
|
-
i {
|
|
235
|
-
font-size: 2.5rem;
|
|
236
|
-
top: 13px !important; // overwrite the base btn icon positioning without reworking mulitple classes
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
&:disabled {
|
|
240
|
-
color: $disabled-reversed-no-bg-btn-txt;
|
|
241
|
-
background: none;
|
|
242
|
-
border: 0;
|
|
243
|
-
|
|
244
|
-
i,
|
|
245
|
-
svg * {
|
|
246
|
-
color: $disabled-reversed-no-bg-btn-txt;
|
|
247
|
-
fill: $disabled-reversed-no-bg-btn-txt;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
&:hover {
|
|
251
|
-
cursor: not-allowed;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
&-text {
|
|
257
|
-
// var $btnTxtCol, $btnBgCol, $borderCol, $myStrokeWeight : 2px, $myBtnLineHeight : 40px
|
|
258
|
-
@include button-builder(colors.$txt-link, transparent, #fff, 0, 24px);
|
|
259
|
-
// var $btnTxtColHover, $btnBgColHover, $borderColHover, $btnTxtColActive, $btnBgColActive, $borderColActive
|
|
260
|
-
@include button-states-builder(
|
|
261
|
-
colors.$teal,
|
|
262
|
-
transparent,
|
|
263
|
-
none,
|
|
264
|
-
colors.$teal,
|
|
265
|
-
none,
|
|
266
|
-
none
|
|
267
|
-
);
|
|
268
|
-
// border bottom mimics what we have for text link styling
|
|
269
|
-
border-bottom: 1px solid;
|
|
270
|
-
@include fonts.font-regular();
|
|
271
|
-
// remove the padding and margin off the buttons - used for text only buttons
|
|
272
|
-
padding: 0;
|
|
273
|
-
margin: 0;
|
|
274
|
-
border-radius: 0; // remove border radius so the text underline via border bottom doesn't turn up at the ends
|
|
275
|
-
&:hover {
|
|
276
|
-
border-bottom: 2px solid;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
&:disabled {
|
|
280
|
-
color: colors.$gray;
|
|
281
|
-
background: none;
|
|
282
|
-
border: 0;
|
|
283
|
-
text-decoration: none;
|
|
284
|
-
|
|
285
|
-
&:hover {
|
|
286
|
-
cursor: not-allowed;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
i,
|
|
290
|
-
svg * {
|
|
291
|
-
color: colors.$gray;
|
|
292
|
-
fill: colors.$gray;
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
&-plain-text {
|
|
298
|
-
// var $btnTxtCol, $btnBgCol, $borderCol
|
|
299
|
-
@include button-builder(inherit, transparent, #fff);
|
|
300
|
-
// remove the padding and margin off the buttons - used for text only buttons
|
|
301
|
-
padding: 0;
|
|
302
|
-
margin: 0;
|
|
303
|
-
font-family: inherit;
|
|
304
|
-
font-size: inherit;
|
|
305
|
-
line-height: inherit;
|
|
306
|
-
color: inherit;
|
|
307
|
-
font-weight: inherit;
|
|
308
|
-
|
|
309
|
-
&:disabled {
|
|
310
|
-
color: colors.$gray;
|
|
311
|
-
background: none;
|
|
312
|
-
border: 0;
|
|
313
|
-
text-decoration: none;
|
|
314
|
-
|
|
315
|
-
i,
|
|
316
|
-
svg * {
|
|
317
|
-
color: colors.$gray;
|
|
318
|
-
fill: colors.$gray;
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
&-icon-only,
|
|
324
|
-
&-icon-only-rev,
|
|
325
|
-
&-icon-only-link {
|
|
326
|
-
// var $btnTxtCol, $btnBgCol, $borderCol, $myStrokeWeight : 2px, $myBtnLineHeight : 40px
|
|
327
|
-
@include button-builder(colors.$sea, transparent, transparent);
|
|
328
|
-
// var $btnTxtColHover, $btnBgColHover, $borderColHover, $btnTxtColActive, $btnBgColActive, $borderColActive
|
|
329
|
-
@include button-states-builder(
|
|
330
|
-
colors.$primary-hover-btn,
|
|
331
|
-
transparent,
|
|
332
|
-
transparent,
|
|
333
|
-
colors.$txt-link,
|
|
334
|
-
transparent,
|
|
335
|
-
transparent
|
|
336
|
-
);
|
|
337
|
-
// OK, for some reason setting the line height to 44px sets the icon in the centre of the 36 X 36 box. Tested fine on Chrome, FF & Safari
|
|
338
|
-
line-height: 44px;
|
|
339
|
-
padding: 0;
|
|
340
|
-
width: 36px;
|
|
341
|
-
height: 36px;
|
|
342
|
-
|
|
343
|
-
&:disabled {
|
|
344
|
-
background-color: transparent;
|
|
345
|
-
border: 0;
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
&-icon-only-rev {
|
|
350
|
-
color: #fff;
|
|
351
|
-
|
|
352
|
-
i,
|
|
353
|
-
svg * {
|
|
354
|
-
color: #fff;
|
|
355
|
-
}
|
|
356
|
-
&:disabled {
|
|
357
|
-
color: $disabled-reversed-no-bg-btn-txt;
|
|
358
|
-
|
|
359
|
-
i,
|
|
360
|
-
svg * {
|
|
361
|
-
color: $disabled-reversed-no-bg-btn-txt;
|
|
362
|
-
fill: $disabled-reversed-no-bg-btn-txt;
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
&-icon-only-link {
|
|
368
|
-
color: colors.$txt-link;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
&.lui-button-sm {
|
|
372
|
-
line-height: 30px;
|
|
373
|
-
padding: 0 spacing.$unit-sm;
|
|
374
|
-
font-size: rem(14px);
|
|
375
|
-
|
|
376
|
-
&.lui-button-icon {
|
|
377
|
-
padding: 0 spacing.$unit-sm 0 12px;
|
|
378
|
-
|
|
379
|
-
i,
|
|
380
|
-
.LuiIcon {
|
|
381
|
-
margin: 0 spacing.$unit-xs 0 0;
|
|
382
|
-
font-size: 1.3rem;
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
&.lui-button-icon-right {
|
|
387
|
-
padding: 0 12px 0 spacing.$unit-sm;
|
|
388
|
-
|
|
389
|
-
i,
|
|
390
|
-
.LuiIcon {
|
|
391
|
-
margin: 0 0 0 spacing.$unit-xs;
|
|
392
|
-
font-size: 1.3rem;
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
&.lui-button-reversed-no-bg {
|
|
397
|
-
i,
|
|
398
|
-
.LuiIcon {
|
|
399
|
-
font-size: 1.8rem;
|
|
400
|
-
top: 9px !important;
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
// medium is not defined as that is the default button size
|
|
406
|
-
&.lui-button-lg {
|
|
407
|
-
// height: 50px;
|
|
408
|
-
line-height: 50px;
|
|
409
|
-
padding: 0 spacing.$unit-lg;
|
|
410
|
-
font-size: rem(18px);
|
|
411
|
-
|
|
412
|
-
&.lui-button-icon {
|
|
413
|
-
padding: 0 spacing.$unit-lg 0 28px;
|
|
414
|
-
|
|
415
|
-
i {
|
|
416
|
-
margin: 0 spacing.$unit-sm 0 0;
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
&.lui-button-icon-right {
|
|
421
|
-
padding: 0 28px 0 spacing.$unit-lg;
|
|
422
|
-
|
|
423
|
-
i {
|
|
424
|
-
margin: 0 0 0 spacing.$unit-sm;
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
// If the buttons appear next to each other, then add a margin
|
|
430
|
-
+ .lui-button {
|
|
431
|
-
margin-left: spacing.$unit-xs;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
+ a.lui-button {
|
|
435
|
-
margin-left: spacing.$unit-xs;
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
.lui-button-group {
|
|
440
|
-
display: flex; // Whitespace was appearing between buttons, this fixes it
|
|
441
|
-
align-content: stretch; //fill the horiztonal space on mobile
|
|
442
|
-
flex-direction: row;
|
|
443
|
-
|
|
444
|
-
.lui-button-wrapper {
|
|
445
|
-
flex: 1 1 0;
|
|
446
|
-
|
|
447
|
-
&:first-child button {
|
|
448
|
-
border-left: 1px solid colors.$brand-primary;
|
|
449
|
-
border-top-left-radius: misc.$borderRadius;
|
|
450
|
-
border-bottom-left-radius: misc.$borderRadius;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
&:last-child button {
|
|
454
|
-
border-top-right-radius: misc.$borderRadius;
|
|
455
|
-
border-bottom-right-radius: misc.$borderRadius;
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
&.lui-input-error {
|
|
460
|
-
border-radius: misc.$borderRadius * 1.5; // Makes the outter border hug the inner border and avoids white space
|
|
461
|
-
// Other error styling is inherited from checkbox & radio groups, so head over there for declarations
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
&-text-sizing {
|
|
465
|
-
// display: block; //remove flexbox so they can just be inline buttons. Flexbox wasn't allowing the buttons to be sized by their content (flex shrink made a mess of things)
|
|
466
|
-
display: inline-block;
|
|
467
|
-
font-size: 0;
|
|
468
|
-
|
|
469
|
-
.lui-button-wrapper {
|
|
470
|
-
width: auto;
|
|
471
|
-
float: left; // have gone for floating blocks, as inline-blocks had white space and the usual CSS tricks like font-size: 0 didn't work. So done it the old school way
|
|
472
|
-
.lui-button {
|
|
473
|
-
@include breakpoint(md) {
|
|
474
|
-
padding: 0 spacing.$unit-sm;
|
|
475
|
-
}
|
|
476
|
-
@include breakpoint(lg) {
|
|
477
|
-
padding: 0 spacing.$unit-lg;
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
.lui-button {
|
|
484
|
-
padding: 0 spacing.$unit-xs;
|
|
485
|
-
background-color: #fff;
|
|
486
|
-
border-radius: 0;
|
|
487
|
-
border: 1px solid colors.$brand-primary;
|
|
488
|
-
color: colors.$brand-primary;
|
|
489
|
-
border-left: none;
|
|
490
|
-
width: 100%;
|
|
491
|
-
|
|
492
|
-
&.lui-button-active {
|
|
493
|
-
background-color: colors.$sea;
|
|
494
|
-
-moz-box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.4);
|
|
495
|
-
-webkit-box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.4);
|
|
496
|
-
box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.4);
|
|
497
|
-
color: colors.$white;
|
|
498
|
-
text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
&:hover {
|
|
502
|
-
background: colors.$sea;
|
|
503
|
-
cursor: pointer;
|
|
504
|
-
color: colors.$white;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
&:focus {
|
|
508
|
-
outline: 2px solid colors.$brand-primary;
|
|
509
|
-
// make sure the button sits above the others so the outline is not cut off on focus
|
|
510
|
-
position: relative;
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
&--radio {
|
|
515
|
-
margin-top: spacing.$unit-md;
|
|
516
|
-
|
|
517
|
-
.lui-radio-container {
|
|
518
|
-
margin-top: spacing.$unit-sm; // 12px
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
@include breakpoint(md) {
|
|
522
|
-
.LuiDeprecatedForms & {
|
|
523
|
-
display: grid;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
// add a 24 column grid so you have more control over the size of the buttons at various breakpoints
|
|
527
|
-
display: grid;
|
|
528
|
-
grid-template-columns: repeat(24, 1fr);
|
|
529
|
-
// Set the font size to 0 so no spaces appear between the labels
|
|
530
|
-
font-size: 0 !important;
|
|
531
|
-
|
|
532
|
-
input {
|
|
533
|
-
// hide the input from view, but not from screenreaders to ensure the element can still get focus when tabbing through
|
|
534
|
-
@include ScreenReadersOnly();
|
|
535
|
-
|
|
536
|
-
&:checked + label {
|
|
537
|
-
background-color: colors.$sea;
|
|
538
|
-
box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.5);
|
|
539
|
-
color: colors.$white;
|
|
540
|
-
text-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
|
|
541
|
-
|
|
542
|
-
.LuiDeprecatedForms & {
|
|
543
|
-
color: colors.$white;
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
&:checked:disabled + label,
|
|
548
|
-
&:disabled:checked + label:hover {
|
|
549
|
-
background-color: colors.$gray;
|
|
550
|
-
color: colors.$white;
|
|
551
|
-
|
|
552
|
-
.LuiDeprecatedForms & {
|
|
553
|
-
color: colors.$white;
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
&:focus:not([disabled]) + label {
|
|
558
|
-
color: colors.$white;
|
|
559
|
-
background: colors.$sea;
|
|
560
|
-
cursor: pointer;
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
&:disabled + label {
|
|
564
|
-
border-color: colors.$gray !important; // imp! for overwrite RH border styling
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
&:disabled + label:hover {
|
|
568
|
-
background-color: colors.$white;
|
|
569
|
-
cursor: default;
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
label {
|
|
575
|
-
margin-left: spacing.$unit-xs; // 8px
|
|
576
|
-
// label to look like buttons on larger screens
|
|
577
|
-
@include breakpoint(md) {
|
|
578
|
-
display: inline-block;
|
|
579
|
-
// copied Lui button styles based on secondary button styling
|
|
580
|
-
//@include fonts.font-bold;
|
|
581
|
-
// Messy override to prevent the bold font from being overridden by the normal radio label styles
|
|
582
|
-
font-family: fonts.$base-font--combined;
|
|
583
|
-
font-weight: 700 !important;
|
|
584
|
-
line-height: 40px;
|
|
585
|
-
transition: background-color 0.3s, color 0.3s, height 0.3s, border 0.3s;
|
|
586
|
-
text-align: center;
|
|
587
|
-
border: 2px solid colors.$sea;
|
|
588
|
-
color: colors.$sea;
|
|
589
|
-
border-radius: 0;
|
|
590
|
-
border-right: none;
|
|
591
|
-
width: 100%;
|
|
592
|
-
margin: 0;
|
|
593
|
-
|
|
594
|
-
&:hover {
|
|
595
|
-
color: colors.$white;
|
|
596
|
-
background: colors.$sea;
|
|
597
|
-
cursor: pointer;
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
.LuiDeprecatedForms {
|
|
605
|
-
.radio-btn-group-pair {
|
|
606
|
-
// add a 24 column grid so you have more control over the size of the buttons at various breakpoints
|
|
607
|
-
display: grid;
|
|
608
|
-
grid-template-columns: repeat(24, 1fr);
|
|
609
|
-
// Set the font size to 0 so no spaces appear between the labels
|
|
610
|
-
font-size: 0 !important;
|
|
611
|
-
|
|
612
|
-
input {
|
|
613
|
-
// hide the input from view, but not from screenreaders to ensure the element can still get focus when tabbing through
|
|
614
|
-
@include ScreenReadersOnly();
|
|
615
|
-
|
|
616
|
-
&:checked + label {
|
|
617
|
-
background-color: colors.$sea;
|
|
618
|
-
box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.5);
|
|
619
|
-
color: colors.$white;
|
|
620
|
-
text-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
&:focus + label {
|
|
624
|
-
color: colors.$white;
|
|
625
|
-
background: colors.$sea;
|
|
626
|
-
cursor: pointer;
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
label {
|
|
631
|
-
// label to look like buttons on larger screens
|
|
632
|
-
display: inline-block;
|
|
633
|
-
// copied Lui button styles based on secondary button styling
|
|
634
|
-
@include fonts.font-bold;
|
|
635
|
-
line-height: 40px;
|
|
636
|
-
transition: background-color 0.3s, color 0.3s, height 0.3s, border 0.3s;
|
|
637
|
-
text-align: center;
|
|
638
|
-
border: 2px solid colors.$sea;
|
|
639
|
-
color: colors.$sea;
|
|
640
|
-
border-radius: 0;
|
|
641
|
-
border-right: none;
|
|
642
|
-
width: 100%;
|
|
643
|
-
margin: 0;
|
|
644
|
-
|
|
645
|
-
&:hover {
|
|
646
|
-
color: colors.$white;
|
|
647
|
-
background: colors.$sea;
|
|
648
|
-
cursor: pointer;
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
.grid-cell-1 {
|
|
653
|
-
grid-column: span 12;
|
|
654
|
-
|
|
655
|
-
label {
|
|
656
|
-
border-radius: spacing.$unit-xs 0 0 spacing.$unit-xs;
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
.grid-cell-2 {
|
|
661
|
-
grid-column: span 12;
|
|
662
|
-
|
|
663
|
-
label {
|
|
664
|
-
border-right: 2px solid colors.$sea;
|
|
665
|
-
border-radius: 0 spacing.$unit-xs spacing.$unit-xs 0;
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
@include breakpoint(md) {
|
|
670
|
-
.grid-cell-1 {
|
|
671
|
-
grid-column: span 6;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
.grid-cell-2 {
|
|
675
|
-
grid-column: span 6;
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
@include breakpoint(lg) {
|
|
679
|
-
.grid-cell-1 {
|
|
680
|
-
grid-column: span 5;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
.grid-cell-2 {
|
|
684
|
-
grid-column: span 5;
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
@include breakpoint(xl) {
|
|
688
|
-
.grid-cell-1 {
|
|
689
|
-
grid-column: span 4;
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
.grid-cell-2 {
|
|
693
|
-
grid-column: span 4;
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
.exampleOfGridForButtons {
|
|
700
|
-
@include breakpoint(md) {
|
|
701
|
-
.grid-cell-1 {
|
|
702
|
-
grid-column: span 3;
|
|
703
|
-
|
|
704
|
-
label {
|
|
705
|
-
border-radius: spacing.$unit-xs 0 0 spacing.$unit-xs;
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
.grid-cell-2 {
|
|
710
|
-
grid-column: span 5;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
.grid-cell-3 {
|
|
714
|
-
grid-column: span 8;
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
.grid-cell-4 {
|
|
718
|
-
grid-column: span 8;
|
|
719
|
-
|
|
720
|
-
label {
|
|
721
|
-
border-right: 2px solid colors.$sea;
|
|
722
|
-
border-radius: 0 spacing.$unit-xs spacing.$unit-xs 0;
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
@include breakpoint(lg) {
|
|
727
|
-
.grid-cell-1 {
|
|
728
|
-
grid-column: span 4;
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
.grid-cell-2 {
|
|
732
|
-
grid-column: span 5;
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
.grid-cell-3 {
|
|
736
|
-
grid-column: span 5;
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
.grid-cell-4 {
|
|
740
|
-
grid-column: span 5;
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
@include breakpoint(xl) {
|
|
744
|
-
.grid-cell-1 {
|
|
745
|
-
grid-column: span 3;
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
.grid-cell-2 {
|
|
749
|
-
grid-column: span 4;
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
.grid-cell-3 {
|
|
753
|
-
grid-column: span 4;
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
.grid-cell-4 {
|
|
757
|
-
grid-column: span 4;
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
}
|