@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,155 +0,0 @@
|
|
|
1
|
-
@use '../../../Foundation/Variables/FormVars' as luiForms;
|
|
2
|
-
@use '../../../Foundation/Variables/LuiColors' as luiColors;
|
|
3
|
-
@use '../../../Foundation/Variables/SpacingVars' as luiSpacing;
|
|
4
|
-
// Usage:
|
|
5
|
-
// <label class="Checkbox" for="male">
|
|
6
|
-
// <input class="Checkbox-input" type="checkbox" id="male">
|
|
7
|
-
// <span class="Checkbox-label">Content here</span>
|
|
8
|
-
// </label>
|
|
9
|
-
// <label class="Checkbox" for="female">
|
|
10
|
-
// <input class="Checkbox-input" type="checkbox" id="female">
|
|
11
|
-
// <span class="Checkbox-label">Content here</span>
|
|
12
|
-
// </label>
|
|
13
|
-
|
|
14
|
-
$checkbox-size: 23px;
|
|
15
|
-
$border-size: 2px;
|
|
16
|
-
|
|
17
|
-
// <label>
|
|
18
|
-
.LuiCheckboxInput {
|
|
19
|
-
margin-bottom: 24px;
|
|
20
|
-
box-sizing: border-box;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.LuiCheckboxInput-group {
|
|
24
|
-
display: block;
|
|
25
|
-
user-select: none;
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
|
|
28
|
-
// space them out if they're next to each other
|
|
29
|
-
// &:not(:last-child) {
|
|
30
|
-
// margin-bottom: 12px;
|
|
31
|
-
// }
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
// <span> acting as the label
|
|
35
|
-
.LuiCheckboxInput-label {
|
|
36
|
-
position: relative;
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: row;
|
|
39
|
-
align-items: flex-start;
|
|
40
|
-
padding: 2px;
|
|
41
|
-
@include luiForms.formLabel();
|
|
42
|
-
margin-bottom: 0;
|
|
43
|
-
|
|
44
|
-
.isDisabled & {
|
|
45
|
-
cursor: not-allowed;
|
|
46
|
-
color: luiColors.$disabled-color;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// say goodbye to the real input
|
|
51
|
-
.LuiCheckboxInput-input {
|
|
52
|
-
width: 0.1px;
|
|
53
|
-
height: 0.1px;
|
|
54
|
-
opacity: 0;
|
|
55
|
-
overflow: hidden;
|
|
56
|
-
position: absolute;
|
|
57
|
-
z-index: -1;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// say hello to the fake input
|
|
61
|
-
.LuiCheckboxInput-label::after {
|
|
62
|
-
// Plug in your icon here
|
|
63
|
-
// font-size: 18px;
|
|
64
|
-
// line-height: 10px;
|
|
65
|
-
// content: ' ';
|
|
66
|
-
// display: block;
|
|
67
|
-
// text-align: center;
|
|
68
|
-
// color: transparent;
|
|
69
|
-
// width: $checkbox-size;
|
|
70
|
-
// height: $checkbox-size;
|
|
71
|
-
// // border: 3px solid white;
|
|
72
|
-
// box-shadow: 0 0 0 2px #053d52;
|
|
73
|
-
// margin-right: 12px;
|
|
74
|
-
// margin-top: 3px;
|
|
75
|
-
// border-radius: 2px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.LuiCheckboxInput-label::before {
|
|
79
|
-
// Plug in your icon here
|
|
80
|
-
font-size: 18px;
|
|
81
|
-
line-height: 10px;
|
|
82
|
-
content: ' ';
|
|
83
|
-
display: block;
|
|
84
|
-
text-align: center;
|
|
85
|
-
color: transparent;
|
|
86
|
-
width: $checkbox-size;
|
|
87
|
-
height: $checkbox-size;
|
|
88
|
-
border: $border-size solid luiColors.$sea;
|
|
89
|
-
margin-right: luiForms.$checkbox-label-spacing;
|
|
90
|
-
border-radius: 5px;
|
|
91
|
-
transition: all 0.2s ease-in-out;
|
|
92
|
-
|
|
93
|
-
.hasError & {
|
|
94
|
-
border-color: #eb5757;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.LuiCheckboxInput-error {
|
|
99
|
-
margin-top: 2px;
|
|
100
|
-
text-align: left;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.LuiCheckboxInput-errorIcon {
|
|
104
|
-
margin-left: luiSpacing.$unit-lg;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// ============
|
|
108
|
-
// STATES
|
|
109
|
-
// ============
|
|
110
|
-
.LuiCheckboxInput-input:checked + .LuiCheckboxInput-label::before,
|
|
111
|
-
.LuiCheckboxInput--isChecked .LuiCheckboxInput-label::before {
|
|
112
|
-
color: white;
|
|
113
|
-
// base64 encoded version of `assets/icons/tick.svg`. referring to svg via it's path causes downstream import errors.
|
|
114
|
-
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNCAxMSI+CiAgICA8cGF0aCBmaWxsPSIjRkZGIiBkPSJNLjI5NyA0LjkzNGExLjAxMyAxLjAxMyAwIDAgMSAxLjM0NC0uMDc4bC4wODguMDc4TDUuMjU0IDguNDYgMTIuMjE5LjM1M2ExLjAxMyAxLjAxMyAwIDAgMSAxLjMzNC0uMThsLjA5NC4wNzJjLjM5NC4zMzguNDY0LjkxNC4xOCAxLjMzNGwtLjA3Mi4wOTQtNy42NzYgOC45MzVhMS4wMTMgMS4wMTMgMCAwIDEtMS4zOTguMTM0bC0uMDg3LS4wNzhMLjI5NyA2LjM2N2ExLjAxMyAxLjAxMyAwIDAgMSAwLTEuNDMzWiIvPgo8L3N2Zz4=');
|
|
115
|
-
background-color: luiColors.$sea;
|
|
116
|
-
background-repeat: no-repeat;
|
|
117
|
-
background-position: 50% 50%;
|
|
118
|
-
background-size: 15px;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.LuiCheckboxInput--hasError .LuiCheckboxInput-label::before {
|
|
122
|
-
border-color: luiColors.$error;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.LuiCheckboxInput--hasError.LuiCheckboxInput--isChecked
|
|
126
|
-
.LuiCheckboxInput-label::before {
|
|
127
|
-
background-color: luiColors.$error;
|
|
128
|
-
border-color: luiColors.$error;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.LuiCheckboxInput-input:disabled + .LuiCheckboxInput-label::before,
|
|
132
|
-
.LuiCheckboxInput--isDisabled .LuiCheckboxInput-label::before {
|
|
133
|
-
background-color: luiColors.$disabled-color;
|
|
134
|
-
border-color: luiColors.$disabled-color;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.LuiCheckboxInput-input:checked:disabled + .LuiCheckboxInput-label::before,
|
|
138
|
-
.LuiCheckboxInput--isChecked.LuiCheckboxInput--isDisabled
|
|
139
|
-
.LuiCheckboxInput-label::before {
|
|
140
|
-
color: white;
|
|
141
|
-
background-color: luiColors.$disabled-color;
|
|
142
|
-
border-color: luiColors.$disabled-color;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
// ============
|
|
146
|
-
// MODIFIERS
|
|
147
|
-
// ============
|
|
148
|
-
.LuiCheckboxInput--inline {
|
|
149
|
-
display: inline-block;
|
|
150
|
-
// space them out if they're next to each other
|
|
151
|
-
&:not(:last-child) {
|
|
152
|
-
margin-bottom: 0;
|
|
153
|
-
margin-right: 24px;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
@use '../../../scss/Foundation/Variables/LuiColors' as luiColors;
|
|
2
|
-
|
|
3
|
-
.LuiFileInputBox-upload {
|
|
4
|
-
outline: 2px dashed luiColors.$lily;
|
|
5
|
-
color: dimgray;
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
position: relative;
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
align-items: center;
|
|
12
|
-
|
|
13
|
-
&:hover {
|
|
14
|
-
background: #eef1f5;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.LuiFileInputBox-upload-input {
|
|
19
|
-
opacity: 0;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
position: absolute;
|
|
22
|
-
top: 0;
|
|
23
|
-
left: 0;
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: 100%;
|
|
26
|
-
display: block;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.LuiFileInputBox-upload-container {
|
|
30
|
-
text-align: center;
|
|
31
|
-
padding: 24px 20px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.LuiFileInputBox-upload-error {
|
|
35
|
-
outline: 2px dashed luiColors.$error;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.LuiFileInputBox-upload-icon-success {
|
|
39
|
-
width: 120px;
|
|
40
|
-
fill: luiColors.$success;
|
|
41
|
-
margin-left: auto;
|
|
42
|
-
margin-right: auto;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.LuiFileInputBox-upload-icon-upload {
|
|
46
|
-
width: 120px;
|
|
47
|
-
fill: luiColors.$sea;
|
|
48
|
-
margin-left: auto;
|
|
49
|
-
margin-right: auto;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.LuiFileInputBox-upload-icon-error {
|
|
53
|
-
width: 168px;
|
|
54
|
-
fill: luiColors.$error;
|
|
55
|
-
margin-left: auto;
|
|
56
|
-
margin-right: auto;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.LuiFileInputBox-upload-text {
|
|
60
|
-
margin-top: 0;
|
|
61
|
-
padding-top: 8px;
|
|
62
|
-
|
|
63
|
-
span {
|
|
64
|
-
color: luiColors.$info;
|
|
65
|
-
font-weight: 600;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.LuiFileInputBox-upload-text-no-padding {
|
|
70
|
-
padding: 0;
|
|
71
|
-
font-size: 14px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.LuiFileInputBox-upload-file-name {
|
|
75
|
-
margin-top: 0;
|
|
76
|
-
padding-bottom: 12px;
|
|
77
|
-
font-weight: 600;
|
|
78
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
@use '../../../Foundation/Variables/FontVars' as luiFonts;
|
|
2
|
-
@use '../../../Foundation/Variables/LuiColors' as luiColors;
|
|
3
|
-
@use '../../../Foundation/Variables/SpacingVars' as luiSpacing;
|
|
4
|
-
@use '../../../Foundation/Utilities/ScreenReadersOnly' as luiScreenReadersOnly;
|
|
5
|
-
|
|
6
|
-
.LuiRadioInput-fieldset {
|
|
7
|
-
border: none;
|
|
8
|
-
padding: 0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.LuiRadioInput-input {
|
|
12
|
-
@include luiScreenReadersOnly.ScreenReadersOnly();
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.LuiRadioInput-legend {
|
|
16
|
-
@include luiFonts.font-semibold;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.LuiRadioInput-label {
|
|
20
|
-
position: relative;
|
|
21
|
-
display: flex;
|
|
22
|
-
justify-content: flex-start;
|
|
23
|
-
align-items: flex-start;
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
padding: luiSpacing.$unit-xs 0 luiSpacing.$unit-xs luiSpacing.$unit-lg;
|
|
26
|
-
|
|
27
|
-
&:before {
|
|
28
|
-
content: '';
|
|
29
|
-
height: 1.5rem; // 20px
|
|
30
|
-
min-width: 1.5rem; // 20px
|
|
31
|
-
width: 1.5rem; // 20px
|
|
32
|
-
border: 2px solid luiColors.$sea;
|
|
33
|
-
border-radius: 50%;
|
|
34
|
-
background-color: transparent;
|
|
35
|
-
position: absolute;
|
|
36
|
-
left: 0;
|
|
37
|
-
top: 8px;
|
|
38
|
-
margin-right: luiSpacing.$unit-sm;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&:after {
|
|
42
|
-
content: '';
|
|
43
|
-
position: absolute;
|
|
44
|
-
left: 5px;
|
|
45
|
-
top: 13px;
|
|
46
|
-
background-color: #007198;
|
|
47
|
-
height: 14px;
|
|
48
|
-
min-width: 14px;
|
|
49
|
-
width: 14px;
|
|
50
|
-
border-radius: 50%;
|
|
51
|
-
opacity: 0;
|
|
52
|
-
transition: opacity 0.3s ease-in-out;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&--isSelected:after {
|
|
56
|
-
opacity: 1;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&--isDisabled {
|
|
60
|
-
color: luiColors.$gray;
|
|
61
|
-
|
|
62
|
-
&:before {
|
|
63
|
-
background-color: luiColors.$lily;
|
|
64
|
-
border-color: luiColors.$gray;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.LuiRadioInput--hasError {
|
|
70
|
-
.LuiRadioInput-label:before {
|
|
71
|
-
border-color: luiColors.$error;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.LuiRadioInput-errorMsg {
|
|
76
|
-
display: flex;
|
|
77
|
-
margin-top: luiSpacing.$unit-xs;
|
|
78
|
-
|
|
79
|
-
.LuiIcon--error {
|
|
80
|
-
margin-right: luiSpacing.$unit-xs;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
p {
|
|
84
|
-
margin: 0;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
@use '../../../Foundation/Variables/FormVars' as luiForms;
|
|
2
|
-
@use '../../../Foundation/Variables/FontVars' as luiFonts;
|
|
3
|
-
@use '../../../Foundation/Variables/LuiColors' as luiColors;
|
|
4
|
-
@use '../../../Foundation/Variables/SpacingVars' as luiSpacing;
|
|
5
|
-
@use '../../../Foundation/Variables/MiscVars' as MiscVars;
|
|
6
|
-
@use '../../../Foundation/Utilities/REM' as rem;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
// No top or bottom margins set on the component at the LUI level as we never know what is coming before or after the component.
|
|
10
|
-
// Set spacing once you have it in your project
|
|
11
|
-
|
|
12
|
-
.LuiSelect-label-text {
|
|
13
|
-
@include luiForms.formLabel();
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.LuiSelect-select {
|
|
17
|
-
@include luiFonts.font-regular();
|
|
18
|
-
margin-bottom: 0;
|
|
19
|
-
border: 1px solid luiColors.$silver;
|
|
20
|
-
border-radius: MiscVars.$borderRadius;
|
|
21
|
-
display: block;
|
|
22
|
-
height: luiSpacing.$unit-xl;
|
|
23
|
-
color: luiColors.$charcoal;
|
|
24
|
-
caret-color: luiColors.$charcoal;
|
|
25
|
-
padding: {
|
|
26
|
-
right: luiSpacing.$unit-lg;
|
|
27
|
-
left: luiSpacing.$base-unit * 2; // 16px
|
|
28
|
-
}
|
|
29
|
-
width: 100%;
|
|
30
|
-
transition: all 0.15 ease-in-out;
|
|
31
|
-
appearance: none;
|
|
32
|
-
|
|
33
|
-
&:hover,
|
|
34
|
-
&:active {
|
|
35
|
-
border-color: luiColors.$input-focus;
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&:focus {
|
|
40
|
-
outline: none;
|
|
41
|
-
border-color: luiColors.$input-focus;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.hasError & {
|
|
45
|
-
border-color: luiColors.$error;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.isDisabled & {
|
|
49
|
-
border-color: luiColors.$silver;
|
|
50
|
-
background-color: luiColors.$lily;
|
|
51
|
-
color: luiColors.$charcoal;
|
|
52
|
-
cursor: not-allowed;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.hasPlaceholder & {
|
|
56
|
-
color: #b2b2b2;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.hasValue & {
|
|
60
|
-
color: luiColors.$charcoal;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.LuiSelect-wrapper {
|
|
65
|
-
position: relative;
|
|
66
|
-
.hasError & {
|
|
67
|
-
&:before {
|
|
68
|
-
content: '';
|
|
69
|
-
display: block;
|
|
70
|
-
position: absolute;
|
|
71
|
-
width: luiSpacing.$unit-sm;
|
|
72
|
-
top: 0;
|
|
73
|
-
bottom: 0;
|
|
74
|
-
left: -6px;
|
|
75
|
-
background-color: luiColors.$error;
|
|
76
|
-
border-radius: MiscVars.$borderRadius 0 0 MiscVars.$borderRadius;
|
|
77
|
-
z-index: -1;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.LuiSelect-chevron-icon {
|
|
83
|
-
position: absolute;
|
|
84
|
-
right: 7px;
|
|
85
|
-
top: 50%;
|
|
86
|
-
transform: translateY(-50%);
|
|
87
|
-
pointer-events: none;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.LuiSelect-error {
|
|
91
|
-
position: relative;
|
|
92
|
-
display: flex;
|
|
93
|
-
@include luiFonts.font-semibold;
|
|
94
|
-
color: luiColors.$error;
|
|
95
|
-
text-align: left;
|
|
96
|
-
padding-left: luiSpacing.$unit-md;
|
|
97
|
-
font-size: rem.rem(14px);
|
|
98
|
-
line-height: rem.rem(20px);
|
|
99
|
-
margin-top: luiSpacing.$unit-xxs;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.LuiSelect-error-icon {
|
|
103
|
-
position: absolute;
|
|
104
|
-
left: 0;
|
|
105
|
-
top: 2px;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.LuiSelect-mandatory {
|
|
109
|
-
display: inline-block;
|
|
110
|
-
width: 10px;
|
|
111
|
-
margin: 0 0 0 -10px;
|
|
112
|
-
color: luiColors.$error;
|
|
113
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
@use '../../../Foundation/Variables/FormVars' as luiForms;
|
|
2
|
-
@use '../../../Foundation/Variables/FontVars' as luiFonts;
|
|
3
|
-
@use '../../../Foundation/Utilities/FluidType' as luiFluidType;
|
|
4
|
-
@use '../../../Foundation/Variables/BreakpointVars' as luiBreakpoints;
|
|
5
|
-
@use '../../../Foundation/Variables/LuiColors' as luiColors;
|
|
6
|
-
@use '../../../Foundation/Variables/MiscVars' as luiMisc;
|
|
7
|
-
@use '../../../Foundation/Variables/SpacingVars' as luiSpacing;
|
|
8
|
-
@use '../../../Foundation/Utilities/REM' as rem;
|
|
9
|
-
|
|
10
|
-
// =============================
|
|
11
|
-
// TextArea
|
|
12
|
-
// =============================
|
|
13
|
-
|
|
14
|
-
// No top or bottom margins set on the component at the LUI level as we never know what is coming before or after the component.
|
|
15
|
-
// Set spacing once you have it in your project
|
|
16
|
-
|
|
17
|
-
.LuiTextAreaInput {
|
|
18
|
-
width: 100%;
|
|
19
|
-
position: relative;
|
|
20
|
-
|
|
21
|
-
textarea {
|
|
22
|
-
@include luiFonts.font-regular;
|
|
23
|
-
@include luiFluidType.fluidType--size(
|
|
24
|
-
14px,
|
|
25
|
-
16px,
|
|
26
|
-
1px,
|
|
27
|
-
luiBreakpoints.$breakpoint-xl
|
|
28
|
-
);
|
|
29
|
-
@include luiForms.formPlaceholder;
|
|
30
|
-
border: solid 1px luiColors.$silver;
|
|
31
|
-
border-radius: luiMisc.$borderRadius;
|
|
32
|
-
background: luiColors.$white;
|
|
33
|
-
padding: {
|
|
34
|
-
top: luiSpacing.$unit-sm;
|
|
35
|
-
right: luiSpacing.$unit-lg;
|
|
36
|
-
bottom: luiSpacing.$unit-sm;
|
|
37
|
-
left: luiSpacing.$unit-xs * 2;
|
|
38
|
-
}
|
|
39
|
-
box-sizing: border-box;
|
|
40
|
-
width: 100%;
|
|
41
|
-
resize: vertical;
|
|
42
|
-
min-height: 100px;
|
|
43
|
-
position: relative;
|
|
44
|
-
|
|
45
|
-
&:focus {
|
|
46
|
-
outline: none;
|
|
47
|
-
border-color: luiColors.$input-focus;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
label,
|
|
52
|
-
textarea {
|
|
53
|
-
display: block;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&.hasError {
|
|
57
|
-
textarea {
|
|
58
|
-
border: 1px solid luiColors.$error;
|
|
59
|
-
}
|
|
60
|
-
.LuiTextAreaInput-wrapper {
|
|
61
|
-
position: relative;
|
|
62
|
-
|
|
63
|
-
&:before {
|
|
64
|
-
content: '';
|
|
65
|
-
display: block;
|
|
66
|
-
position: absolute;
|
|
67
|
-
width: luiSpacing.$unit-sm;
|
|
68
|
-
top: 0;
|
|
69
|
-
bottom: 0;
|
|
70
|
-
left: -6px;
|
|
71
|
-
background-color: luiColors.$error;
|
|
72
|
-
border-radius: luiMisc.$borderRadius 0 0 luiMisc.$borderRadius;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&.isDisabled {
|
|
78
|
-
textarea {
|
|
79
|
-
border-color: luiColors.$silver;
|
|
80
|
-
background-color: luiColors.$lily;
|
|
81
|
-
cursor: not-allowed;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.LuiTextAreaInput-label {
|
|
87
|
-
@include luiForms.formLabel;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.LuiTextAreaInput-error {
|
|
91
|
-
position: relative;
|
|
92
|
-
display: flex;
|
|
93
|
-
color: luiColors.$error;
|
|
94
|
-
@include luiFonts.font-semibold;
|
|
95
|
-
text-align: left;
|
|
96
|
-
padding-left: luiSpacing.$unit-md;
|
|
97
|
-
font-size: rem.rem(14px);
|
|
98
|
-
line-height: rem.rem(20px);
|
|
99
|
-
margin-top: luiSpacing.$unit-xxs;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.LuiTextAreaInput-error-icon {
|
|
103
|
-
position: absolute;
|
|
104
|
-
left: 0;
|
|
105
|
-
top: 2px;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.LuiTextAreaInput-mandatory {
|
|
109
|
-
display: inline-block;
|
|
110
|
-
@include luiFonts.font-semibold();
|
|
111
|
-
font-size: luiForms.$label-font-size;
|
|
112
|
-
width: 10px;
|
|
113
|
-
margin: 0 0 0 -10px;
|
|
114
|
-
color: luiColors.$error;
|
|
115
|
-
}
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
@use '../../../Foundation/Variables/FormVars' as luiForms;
|
|
2
|
-
@use '../../../Foundation/Variables/FontVars' as luiFonts;
|
|
3
|
-
@use '../../../Foundation/Variables/LuiColors' as luiColors;
|
|
4
|
-
@use '../../../Foundation/Variables/SpacingVars' as luiSpacing;
|
|
5
|
-
@use '../../../Foundation/Variables/MiscVars' as MiscVars;
|
|
6
|
-
@use '../../../Foundation/Utilities/REM' as rem;
|
|
7
|
-
|
|
8
|
-
$input-spacing: luiSpacing.$unit-xs; // 8px
|
|
9
|
-
|
|
10
|
-
$label-line-height: luiSpacing.$unit-md;
|
|
11
|
-
|
|
12
|
-
.LuiTextInput {
|
|
13
|
-
margin-bottom: 24px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.LuiTextInput-label {
|
|
17
|
-
margin-bottom: $input-spacing;
|
|
18
|
-
line-height: $label-line-height;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.LuiTextInput-label-text {
|
|
22
|
-
@include luiForms.formLabel;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.LuiTextInput-inputWrapper {
|
|
26
|
-
position: relative;
|
|
27
|
-
display: block;
|
|
28
|
-
box-shadow: -1px 0 0 0 transparent;
|
|
29
|
-
border-radius: 4px;
|
|
30
|
-
transition: box-shadow 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s,
|
|
31
|
-
border-color 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s;
|
|
32
|
-
|
|
33
|
-
.hasError & {
|
|
34
|
-
box-shadow: -8px 0px 0 0 luiColors.$error;
|
|
35
|
-
border-radius: 4px;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.LuiTextInput-passwordReveal {
|
|
40
|
-
position: absolute;
|
|
41
|
-
background: transparent;
|
|
42
|
-
min-height: 0;
|
|
43
|
-
min-width: 0;
|
|
44
|
-
margin: 0;
|
|
45
|
-
padding: 12px;
|
|
46
|
-
top: 50%;
|
|
47
|
-
right: 0;
|
|
48
|
-
transform: translateY(-50%);
|
|
49
|
-
|
|
50
|
-
&:hover {
|
|
51
|
-
background: transparent;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.LuiTextInput-input {
|
|
56
|
-
@include luiFonts.font-regular();
|
|
57
|
-
@include luiForms.formPlaceholder;
|
|
58
|
-
margin-bottom: 0;
|
|
59
|
-
border: 1px solid luiColors.$silver;
|
|
60
|
-
border-radius: MiscVars.$borderRadius;
|
|
61
|
-
height: luiSpacing.$unit-xl;
|
|
62
|
-
color: luiColors.$charcoal;
|
|
63
|
-
caret-color: luiColors.$charcoal;
|
|
64
|
-
padding: {
|
|
65
|
-
top: luiSpacing.$unit-sm;
|
|
66
|
-
right: luiSpacing.$unit-lg;
|
|
67
|
-
bottom: luiSpacing.$unit-sm;
|
|
68
|
-
left: luiSpacing.$unit-xs * 2;
|
|
69
|
-
}
|
|
70
|
-
width: 100%;
|
|
71
|
-
transition: all 0.15 ease-in-out;
|
|
72
|
-
transition: border 0.2s ease;
|
|
73
|
-
|
|
74
|
-
&:hover,
|
|
75
|
-
&:active {
|
|
76
|
-
border-color: luiColors.$input-focus;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&:focus {
|
|
80
|
-
outline: none;
|
|
81
|
-
border-color: luiColors.$input-focus;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.hasError & {
|
|
85
|
-
border-color: luiColors.$error;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.isDisabled & {
|
|
89
|
-
border-color: luiColors.$silver;
|
|
90
|
-
background-color: luiColors.$lily;
|
|
91
|
-
cursor: not-allowed;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.LuiTextInput-padlock-icon {
|
|
96
|
-
// base64 encoded version of `assets/icons/lock.svg`. referring to svg via it's path causes downstream import errors.
|
|
97
|
-
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAyMiI+PHBhdGggZD0iTTE0IDcuNUgxM1Y1LjVDMTMgMi43NCAxMC43NiAwLjUgOCAwLjVDNS4yNCAwLjUgMyAyLjc0IDMgNS41VjcuNUgyQzAuOSA3LjUgMCA4LjQgMCA5LjVWMTkuNUMwIDIwLjYgMC45IDIxLjUgMiAyMS41SDE0QzE1LjEgMjEuNSAxNiAyMC42IDE2IDE5LjVWOS41QzE2IDguNCAxNS4xIDcuNSAxNCA3LjVaTTggMTYuNUM2LjkgMTYuNSA2IDE1LjYgNiAxNC41QzYgMTMuNCA2LjkgMTIuNSA4IDEyLjVDOS4xIDEyLjUgMTAgMTMuNCAxMCAxNC41QzEwIDE1LjYgOS4xIDE2LjUgOCAxNi41Wk0xMS4xIDcuNUg0LjlWNS41QzQuOSAzLjc5IDYuMjkgMi40IDggMi40QzkuNzEgMi40IDExLjEgMy43OSAxMS4xIDUuNVY3LjVaIiBmaWxsPSIjNkI2OTY2IiAvPjwvc3ZnPg==');
|
|
98
|
-
background-repeat: no-repeat;
|
|
99
|
-
background-position: right 12px center;
|
|
100
|
-
background-size: 16px 21px;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.LuiTextInput-error {
|
|
104
|
-
@include luiFonts.font-semibold();
|
|
105
|
-
position: relative;
|
|
106
|
-
color: luiColors.$error;
|
|
107
|
-
text-align: left;
|
|
108
|
-
padding-left: 22px;
|
|
109
|
-
font-size: luiForms.$label-font-size;
|
|
110
|
-
line-height: 20px;
|
|
111
|
-
margin-top: 2px;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.LuiTextInput-error-icon {
|
|
115
|
-
position: absolute;
|
|
116
|
-
left: 0;
|
|
117
|
-
top: 2px;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.LuiTextInput-mandatory {
|
|
121
|
-
display: inline-block;
|
|
122
|
-
@include luiFonts.font-semibold();
|
|
123
|
-
font-size: luiForms.$label-font-size;
|
|
124
|
-
width: 10px;
|
|
125
|
-
margin: 0 0 0 -10px;
|
|
126
|
-
color: luiColors.$error;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.LuiFieldWrapper {
|
|
130
|
-
position: relative;
|
|
131
|
-
box-shadow: -1px 0 0 0 transparent;
|
|
132
|
-
border-radius: 4px;
|
|
133
|
-
transition: box-shadow 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s,
|
|
134
|
-
border-color 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s;
|
|
135
|
-
|
|
136
|
-
// !--------- This can't live here! Needs to go in specific input-------!
|
|
137
|
-
input {
|
|
138
|
-
transition: border 0.2s ease;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
&.LuiFieldWrapper--error {
|
|
142
|
-
box-shadow: -12px 0px 0 0 luiColors.$error;
|
|
143
|
-
border-radius: 4px;
|
|
144
|
-
|
|
145
|
-
// !--------- This can't live here! Needs to go in specific input-------!
|
|
146
|
-
input {
|
|
147
|
-
border-color: luiColors.$error;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}
|