@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,112 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: import("@storybook/react").Meta<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & {
|
|
3
|
-
label: string | JSX.Element;
|
|
4
|
-
hideLabel?: boolean | undefined;
|
|
5
|
-
isCreateable?: boolean | undefined;
|
|
6
|
-
error?: string | undefined;
|
|
7
|
-
} & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const blank: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & {
|
|
10
|
-
label: string | JSX.Element;
|
|
11
|
-
hideLabel?: boolean | undefined;
|
|
12
|
-
isCreateable?: boolean | undefined;
|
|
13
|
-
error?: string | undefined;
|
|
14
|
-
} & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
|
|
15
|
-
export declare const withoutLabel: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & {
|
|
16
|
-
label: string | JSX.Element;
|
|
17
|
-
hideLabel?: boolean | undefined;
|
|
18
|
-
isCreateable?: boolean | undefined;
|
|
19
|
-
error?: string | undefined;
|
|
20
|
-
} & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
|
|
21
|
-
export declare const focus: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & {
|
|
22
|
-
label: string | JSX.Element;
|
|
23
|
-
hideLabel?: boolean | undefined;
|
|
24
|
-
isCreateable?: boolean | undefined;
|
|
25
|
-
error?: string | undefined;
|
|
26
|
-
} & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
|
|
27
|
-
export declare const open: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & {
|
|
28
|
-
label: string | JSX.Element;
|
|
29
|
-
hideLabel?: boolean | undefined;
|
|
30
|
-
isCreateable?: boolean | undefined;
|
|
31
|
-
error?: string | undefined;
|
|
32
|
-
} & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
|
|
33
|
-
export declare const autocomplete: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & {
|
|
34
|
-
label: string | JSX.Element;
|
|
35
|
-
hideLabel?: boolean | undefined;
|
|
36
|
-
isCreateable?: boolean | undefined;
|
|
37
|
-
error?: string | undefined;
|
|
38
|
-
} & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
|
|
39
|
-
export declare const foundNone: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & {
|
|
40
|
-
label: string | JSX.Element;
|
|
41
|
-
hideLabel?: boolean | undefined;
|
|
42
|
-
isCreateable?: boolean | undefined;
|
|
43
|
-
error?: string | undefined;
|
|
44
|
-
} & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
|
|
45
|
-
export declare const loadingSpinner: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & {
|
|
46
|
-
label: string | JSX.Element;
|
|
47
|
-
hideLabel?: boolean | undefined;
|
|
48
|
-
isCreateable?: boolean | undefined;
|
|
49
|
-
error?: string | undefined;
|
|
50
|
-
} & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
|
|
51
|
-
export declare const selected: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & {
|
|
52
|
-
label: string | JSX.Element;
|
|
53
|
-
hideLabel?: boolean | undefined;
|
|
54
|
-
isCreateable?: boolean | undefined;
|
|
55
|
-
error?: string | undefined;
|
|
56
|
-
} & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
|
|
57
|
-
export declare const selectedOpen: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & {
|
|
58
|
-
label: string | JSX.Element;
|
|
59
|
-
hideLabel?: boolean | undefined;
|
|
60
|
-
isCreateable?: boolean | undefined;
|
|
61
|
-
error?: string | undefined;
|
|
62
|
-
} & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
|
|
63
|
-
export declare const disabledBlank: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & {
|
|
64
|
-
label: string | JSX.Element;
|
|
65
|
-
hideLabel?: boolean | undefined;
|
|
66
|
-
isCreateable?: boolean | undefined;
|
|
67
|
-
error?: string | undefined;
|
|
68
|
-
} & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
|
|
69
|
-
export declare const disabledSelected: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & {
|
|
70
|
-
label: string | JSX.Element;
|
|
71
|
-
hideLabel?: boolean | undefined;
|
|
72
|
-
isCreateable?: boolean | undefined;
|
|
73
|
-
error?: string | undefined;
|
|
74
|
-
} & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
|
|
75
|
-
export declare const disabledWhileLoading: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & {
|
|
76
|
-
label: string | JSX.Element;
|
|
77
|
-
hideLabel?: boolean | undefined;
|
|
78
|
-
isCreateable?: boolean | undefined;
|
|
79
|
-
error?: string | undefined;
|
|
80
|
-
} & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
|
|
81
|
-
export declare const groupedOptions: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & {
|
|
82
|
-
label: string | JSX.Element;
|
|
83
|
-
hideLabel?: boolean | undefined;
|
|
84
|
-
isCreateable?: boolean | undefined;
|
|
85
|
-
error?: string | undefined;
|
|
86
|
-
} & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
|
|
87
|
-
export declare const isMulti: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & {
|
|
88
|
-
label: string | JSX.Element;
|
|
89
|
-
hideLabel?: boolean | undefined;
|
|
90
|
-
isCreateable?: boolean | undefined;
|
|
91
|
-
error?: string | undefined;
|
|
92
|
-
} & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
|
|
93
|
-
export declare const createable: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & {
|
|
94
|
-
label: string | JSX.Element;
|
|
95
|
-
hideLabel?: boolean | undefined;
|
|
96
|
-
isCreateable?: boolean | undefined;
|
|
97
|
-
error?: string | undefined;
|
|
98
|
-
} & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
|
|
99
|
-
export declare const error: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & {
|
|
100
|
-
label: string | JSX.Element;
|
|
101
|
-
hideLabel?: boolean | undefined;
|
|
102
|
-
isCreateable?: boolean | undefined;
|
|
103
|
-
error?: string | undefined;
|
|
104
|
-
} & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
|
|
105
|
-
export declare const compareToInput: {
|
|
106
|
-
(): JSX.Element;
|
|
107
|
-
storyName: string;
|
|
108
|
-
};
|
|
109
|
-
export declare const CompareToLuiSelectInput: {
|
|
110
|
-
(): JSX.Element;
|
|
111
|
-
storyName: string;
|
|
112
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
|
-
export interface IFormSectionHeaderProps {
|
|
3
|
-
header: string;
|
|
4
|
-
details?: string | ReactNode;
|
|
5
|
-
link?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const LuiFormSectionHeader: (props: PropsWithChildren<IFormSectionHeaderProps>) => JSX.Element;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: import("@storybook/react").Meta<React.PropsWithChildren<import("./LuiFormSectionHeader").IFormSectionHeaderProps>>;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const header: import("@storybook/react").Story<React.PropsWithChildren<import("./LuiFormSectionHeader").IFormSectionHeaderProps>>;
|
|
5
|
-
export declare const withDetails: import("@storybook/react").Story<React.PropsWithChildren<import("./LuiFormSectionHeader").IFormSectionHeaderProps>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import React, { ReactElement } from 'react';
|
|
2
|
-
import { Range } from '../common/ResponsiveUtils';
|
|
3
|
-
declare type HeaderSize = 'normal' | 'small';
|
|
4
|
-
interface HeaderProps {
|
|
5
|
-
headingText?: string;
|
|
6
|
-
size?: HeaderSize;
|
|
7
|
-
/** The URL or path that the LINZ logo will link to. If unset, the logo will not be a link. */
|
|
8
|
-
homeLink?: string | (() => void);
|
|
9
|
-
transparent?: boolean;
|
|
10
|
-
sticky?: boolean;
|
|
11
|
-
}
|
|
12
|
-
declare const LuiHeader: React.FC<HeaderProps>;
|
|
13
|
-
interface ILuiIcon {
|
|
14
|
-
/**
|
|
15
|
-
* The material-ui icon name (see https://material.io/resources/icons/?search=account_c&style=round)
|
|
16
|
-
*/
|
|
17
|
-
icon?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Hides the menu item on screens specified
|
|
20
|
-
*/
|
|
21
|
-
hide?: Range;
|
|
22
|
-
}
|
|
23
|
-
interface ILuiHeaderMenuItem extends ILuiIcon {
|
|
24
|
-
/**
|
|
25
|
-
* The label that will show up beside (right) the icon, if not specified then it won't show up
|
|
26
|
-
*/
|
|
27
|
-
label?: string | ReactElement;
|
|
28
|
-
/**
|
|
29
|
-
* The string that will show up as a notification badge which will show up at the upper right corner of the icon.
|
|
30
|
-
*/
|
|
31
|
-
badge?: string;
|
|
32
|
-
/**
|
|
33
|
-
* The callback handler to be registered which will be called when menu item is clicked.
|
|
34
|
-
*/
|
|
35
|
-
onClick?: () => void;
|
|
36
|
-
/**
|
|
37
|
-
* The test id used to reference the html element which is bound to the onClick function.
|
|
38
|
-
*/
|
|
39
|
-
'data-testid'?: string;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* The \`LuiHeaderMenuItem\` is the base component for all menu items that are to be shown in the header.
|
|
43
|
-
* Note that it depends on it being rendered inside a LuiHeader for its styles to apply properly.
|
|
44
|
-
* To configure the item for responsiveness, ensure to set any of the hideOn* properties.
|
|
45
|
-
*/
|
|
46
|
-
declare const LuiHeaderMenuItem: React.ForwardRefExoticComponent<ILuiHeaderMenuItem & {
|
|
47
|
-
children?: React.ReactNode;
|
|
48
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
49
|
-
interface ILuiCloseableHeaderMenuContext {
|
|
50
|
-
isOpen: () => boolean;
|
|
51
|
-
open: () => void;
|
|
52
|
-
close: () => void;
|
|
53
|
-
}
|
|
54
|
-
declare const LuiCloseableHeaderMenuContext: React.Context<ILuiCloseableHeaderMenuContext>;
|
|
55
|
-
interface ILuiCloseableHeaderMenuItem extends Omit<ILuiHeaderMenuItem, 'onClick'> {
|
|
56
|
-
open: boolean;
|
|
57
|
-
setOpen: (value: boolean) => void;
|
|
58
|
-
}
|
|
59
|
-
declare const LuiCloseableHeaderMenuItem: React.FC<ILuiCloseableHeaderMenuItem>;
|
|
60
|
-
interface ILuiMenuCloseButton extends ILuiIcon {
|
|
61
|
-
'data-testid'?: string;
|
|
62
|
-
}
|
|
63
|
-
declare const LuiMenuCloseButton: React.FC<ILuiMenuCloseButton>;
|
|
64
|
-
export { HeaderSize, HeaderProps, LuiHeader, ILuiIcon, ILuiHeaderMenuItem, LuiHeaderMenuItem, ILuiMenuCloseButton, LuiMenuCloseButton, ILuiCloseableHeaderMenuItem, LuiCloseableHeaderMenuItem, LuiCloseableHeaderMenuContext, };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { HeaderProps, HeaderSize, ILuiDrawerMenu, ILuiDrawerMenuOption, ILuiDropdownMenu, ILuiHeaderMenuItem, ILuiMenuCloseButton } from '../../index';
|
|
3
|
-
import { Meta, Story } from '@storybook/react';
|
|
4
|
-
import '../../scss/base.scss';
|
|
5
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const LargeHeader: Story<HeaderProps>;
|
|
8
|
-
export declare const SmallHeader: Story<HeaderProps>;
|
|
9
|
-
export declare const TransparentSmallHeader: Story<HeaderProps>;
|
|
10
|
-
export declare const StickyHeader: Story<{
|
|
11
|
-
sticky: boolean;
|
|
12
|
-
size: HeaderSize;
|
|
13
|
-
}>;
|
|
14
|
-
export declare const StickyHeaderWithMainTagSibling: Story<{
|
|
15
|
-
sticky: boolean;
|
|
16
|
-
size: HeaderSize;
|
|
17
|
-
}>;
|
|
18
|
-
export declare const DefaultHeaderMenuItem: Story<ILuiHeaderMenuItem>;
|
|
19
|
-
export declare const HeaderMenuItemWithSpecifiedIcon: Story<ILuiHeaderMenuItem>;
|
|
20
|
-
export declare const HeaderMenuItemWithLabelOnly: Story<ILuiHeaderMenuItem>;
|
|
21
|
-
export declare const HeaderMenuItemWithLabel: Story<ILuiHeaderMenuItem>;
|
|
22
|
-
export declare const HeaderMenuItemWithReactElementLabel: Story<ILuiHeaderMenuItem>;
|
|
23
|
-
export declare const HeaderMenuItemWithBadge: Story<ILuiHeaderMenuItem>;
|
|
24
|
-
export declare const HeaderMenuItemWithIconLabelAndBadge: Story<ILuiHeaderMenuItem>;
|
|
25
|
-
export declare const HeaderDropdownMenu: Story<ILuiDropdownMenu>;
|
|
26
|
-
/**
|
|
27
|
-
* Showing the menu closed to show menu icon.
|
|
28
|
-
* @param args
|
|
29
|
-
* @constructor
|
|
30
|
-
*/
|
|
31
|
-
export declare const HeaderDrawerMenuClosed: Story<ILuiDrawerMenu>;
|
|
32
|
-
export declare const HeaderDrawerMenuOpened: Story<ILuiMenuCloseButton>;
|
|
33
|
-
export declare const HeaderDrawerMenuOption: Story<ILuiDrawerMenuOption>;
|
|
34
|
-
export declare const HeaderDrawerMenuOptionWithBadge: Story<ILuiDrawerMenuOption>;
|
|
35
|
-
export declare const MultipleHeaderMenuItems: (_: any) => JSX.Element;
|
|
36
|
-
export declare const NormalSizeMultipleHeaderMenuItems: (_: any) => JSX.Element;
|
|
37
|
-
export declare const MultipleHeaderMenuItemsInATransparentHeader: (_: any) => JSX.Element;
|
|
38
|
-
export declare const MultipleHeaderMenuItemsWithLongLabel: (_: any) => JSX.Element;
|
|
39
|
-
export declare const ResponsiveHeaderMenuItems: {
|
|
40
|
-
(_: any): JSX.Element;
|
|
41
|
-
parameters: {
|
|
42
|
-
docs: {
|
|
43
|
-
description: {
|
|
44
|
-
story: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
export declare const NormalSizeResponsiveHeaderMenuItems: (_: any) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import React, { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { ILuiHeaderMenuItem, ILuiIcon } from '../LuiHeader/LuiHeader';
|
|
3
|
-
interface ILuiDrawerMenuOption {
|
|
4
|
-
/**
|
|
5
|
-
* The material-ui icon name (see https://material.io/resources/icons/?search=account_c&style=round)
|
|
6
|
-
*/
|
|
7
|
-
icon?: string | ReactElement;
|
|
8
|
-
/**
|
|
9
|
-
* The label shown beside the icon which is aligned at the left of the drawer
|
|
10
|
-
*/
|
|
11
|
-
label: string;
|
|
12
|
-
/**
|
|
13
|
-
* The badge which is shown which is aligned at the right of the drawer
|
|
14
|
-
*/
|
|
15
|
-
badge?: ReactElement;
|
|
16
|
-
/**
|
|
17
|
-
* The function to be bound together with closing the drawer on click
|
|
18
|
-
*/
|
|
19
|
-
onClick?: () => void;
|
|
20
|
-
}
|
|
21
|
-
declare const LuiDrawerMenuOptions: React.FC<ILuiIcon>;
|
|
22
|
-
declare const LuiDrawerMenuOption: React.FC<ILuiDrawerMenuOption>;
|
|
23
|
-
declare type ILuiDrawerMenu = Omit<ILuiHeaderMenuItem, 'onClick'> & {
|
|
24
|
-
hasStickyHeader?: boolean;
|
|
25
|
-
};
|
|
26
|
-
declare const LuiDrawerMenu: React.FC<ILuiDrawerMenu>;
|
|
27
|
-
declare type ILuiDropdownMenu = Omit<ILuiHeaderMenuItem, 'onClick'>;
|
|
28
|
-
declare const LuiDropdownMenu: React.FC<ILuiDropdownMenu>;
|
|
29
|
-
interface ILuiDrawerMenuSection {
|
|
30
|
-
/**
|
|
31
|
-
* Optional tile, displays a header if set
|
|
32
|
-
*/
|
|
33
|
-
title?: string;
|
|
34
|
-
collapsible?: boolean;
|
|
35
|
-
children: ReactNode;
|
|
36
|
-
}
|
|
37
|
-
declare const LuiDrawerMenuSection: (props: ILuiDrawerMenuSection) => JSX.Element;
|
|
38
|
-
declare const LuiDrawerMenuDivider: () => JSX.Element;
|
|
39
|
-
export { ILuiDrawerMenu, LuiDrawerMenu, LuiDrawerMenuOptions, ILuiDrawerMenuOption, LuiDrawerMenuOption, ILuiDropdownMenu, LuiDropdownMenu, ILuiDrawerMenuSection, LuiDrawerMenuSection, LuiDrawerMenuDivider, };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const ICONS: {
|
|
3
|
-
ic_account_circle: JSX.Element;
|
|
4
|
-
ic_add_circle_outline: JSX.Element;
|
|
5
|
-
ic_add_circle: JSX.Element;
|
|
6
|
-
ic_arrow_back_ios: JSX.Element;
|
|
7
|
-
ic_arrow_back: JSX.Element;
|
|
8
|
-
ic_arrow_drop_down: JSX.Element;
|
|
9
|
-
ic_arrow_drop_up: JSX.Element;
|
|
10
|
-
ic_arrow_forward_ios: JSX.Element;
|
|
11
|
-
ic_attachment: JSX.Element;
|
|
12
|
-
ic_border_color: JSX.Element;
|
|
13
|
-
ic_check_circle_outline: JSX.Element;
|
|
14
|
-
ic_check_circle: JSX.Element;
|
|
15
|
-
ic_check: JSX.Element;
|
|
16
|
-
ic_clear: JSX.Element;
|
|
17
|
-
ic_corporate_fare: JSX.Element;
|
|
18
|
-
ic_create: JSX.Element;
|
|
19
|
-
ic_error_outline: JSX.Element;
|
|
20
|
-
ic_error: JSX.Element;
|
|
21
|
-
ic_expand_less: JSX.Element;
|
|
22
|
-
ic_expand_more: JSX.Element;
|
|
23
|
-
ic_filter_list: JSX.Element;
|
|
24
|
-
ic_flag: JSX.Element;
|
|
25
|
-
ic_forward: JSX.Element;
|
|
26
|
-
ic_insert_invitation: JSX.Element;
|
|
27
|
-
ic_insert_photo: JSX.Element;
|
|
28
|
-
ic_keyboard_arrow_down: JSX.Element;
|
|
29
|
-
ic_keyboard_arrow_left: JSX.Element;
|
|
30
|
-
ic_keyboard_arrow_right: JSX.Element;
|
|
31
|
-
ic_keyboard_arrow_up: JSX.Element;
|
|
32
|
-
ic_navigate_before: JSX.Element;
|
|
33
|
-
ic_navigate_next: JSX.Element;
|
|
34
|
-
ic_people_outline: JSX.Element;
|
|
35
|
-
ic_person_add: JSX.Element;
|
|
36
|
-
ic_person: JSX.Element;
|
|
37
|
-
ic_publish: JSX.Element;
|
|
38
|
-
ic_remove_circle_outline: JSX.Element;
|
|
39
|
-
ic_remove_circle: JSX.Element;
|
|
40
|
-
ic_send: JSX.Element;
|
|
41
|
-
ic_view_week: JSX.Element;
|
|
42
|
-
ic_warning: JSX.Element;
|
|
43
|
-
};
|
|
44
|
-
declare type IconSize = keyof typeof ICON_SIZES;
|
|
45
|
-
declare type IconStatus = keyof typeof ICON_STATUS;
|
|
46
|
-
export declare type IconName = keyof typeof ICONS;
|
|
47
|
-
export interface LuiIconProps {
|
|
48
|
-
/**
|
|
49
|
-
* The `ic_string` name
|
|
50
|
-
*/
|
|
51
|
-
name: IconName;
|
|
52
|
-
alt: string;
|
|
53
|
-
size?: IconSize;
|
|
54
|
-
status?: IconStatus;
|
|
55
|
-
className?: string;
|
|
56
|
-
title?: string;
|
|
57
|
-
spanProps?: any;
|
|
58
|
-
}
|
|
59
|
-
export declare const ICON_SIZES: {
|
|
60
|
-
xs: string;
|
|
61
|
-
sm: string;
|
|
62
|
-
md: string;
|
|
63
|
-
lg: string;
|
|
64
|
-
xl: string;
|
|
65
|
-
ns: string;
|
|
66
|
-
};
|
|
67
|
-
export declare const ICON_STATUS: {
|
|
68
|
-
none: string;
|
|
69
|
-
error: string;
|
|
70
|
-
warning: string;
|
|
71
|
-
success: string;
|
|
72
|
-
interactive: string;
|
|
73
|
-
disabled: string;
|
|
74
|
-
};
|
|
75
|
-
export declare const LuiIcon: ({ name, className, size, title, alt, status, spanProps, }: LuiIconProps) => JSX.Element | null;
|
|
76
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './iconStory.scss';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: ({ name, className, size, title, alt, status, spanProps, }: import("./LuiIcon").LuiIconProps) => JSX.Element | null;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const Default: import("@storybook/react").Story<import("./LuiIcon").LuiIconProps>;
|
|
9
|
-
export declare const IconList: () => JSX.Element;
|
|
10
|
-
export declare const Sizes: () => JSX.Element;
|
|
11
|
-
export declare const Statuses: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* A LuiSpinner with a status message beneath it.
|
|
4
|
-
*/
|
|
5
|
-
export declare const LuiStatusSpinner: React.FC;
|
|
6
|
-
interface LuiMiniSpinnerProps {
|
|
7
|
-
size: number;
|
|
8
|
-
divProps?: any;
|
|
9
|
-
}
|
|
10
|
-
export declare const LuiMiniSpinner: (props: LuiMiniSpinnerProps) => JSX.Element;
|
|
11
|
-
export declare const LuiLoadingSpinner: () => JSX.Element;
|
|
12
|
-
export declare const LuiLoadingSpinnerEaster: () => JSX.Element;
|
|
13
|
-
export declare const LuiLoadingSpinnerChristmas: () => JSX.Element;
|
|
14
|
-
export declare function isChromatic(): boolean;
|
|
15
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import '../../scss/base.scss';
|
|
3
|
-
import './loadingSpinnerStory.scss';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const LoadingSpinner: () => JSX.Element;
|
|
9
|
-
export declare const MiniSpinner: () => JSX.Element;
|
|
10
|
-
export declare const StatusSpinner: () => JSX.Element;
|
|
11
|
-
export declare const StatusSpinnerLongContent: () => JSX.Element;
|
|
12
|
-
export declare const LoadingSpinnerEaster: () => JSX.Element;
|
|
13
|
-
export declare const LoadingSpinnerChristmas: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import '@szhsin/react-menu/dist/index.css';
|
|
3
|
-
interface LuiMenuProps {
|
|
4
|
-
menuButton: ReactNode;
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
/** render the menu in a portal - required if the menu is contained in an absolutely positioned container with overflow settings. Default: false */
|
|
7
|
-
portal?: boolean;
|
|
8
|
-
boundingBoxRef?: React.MutableRefObject<HTMLElement | null>;
|
|
9
|
-
anchorRef?: React.MutableRefObject<HTMLElement | null>;
|
|
10
|
-
}
|
|
11
|
-
interface LuiControlledMenuProps {
|
|
12
|
-
isOpen: boolean;
|
|
13
|
-
onClose: () => void;
|
|
14
|
-
anchorPoint: {
|
|
15
|
-
x: number;
|
|
16
|
-
y: number;
|
|
17
|
-
};
|
|
18
|
-
children: ReactNode;
|
|
19
|
-
boundingBoxRef?: React.MutableRefObject<HTMLElement | null>;
|
|
20
|
-
anchorRef?: React.MutableRefObject<HTMLElement | null>;
|
|
21
|
-
}
|
|
22
|
-
interface LuiMenuItemProps {
|
|
23
|
-
onClick?: () => void;
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
href?: string | undefined;
|
|
26
|
-
target?: string | undefined;
|
|
27
|
-
rel?: string | undefined;
|
|
28
|
-
children: ReactNode;
|
|
29
|
-
}
|
|
30
|
-
interface LuiMenuHeaderProps {
|
|
31
|
-
children: ReactNode;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* A menu controlled by a user-supplied MenuButton. Open/closed state is managed internally.
|
|
35
|
-
*/
|
|
36
|
-
export declare const LuiMenu: (props: LuiMenuProps) => JSX.Element;
|
|
37
|
-
/**
|
|
38
|
-
* A menu with state managed externally. Can be used quite conveniently as a context menu.
|
|
39
|
-
*/
|
|
40
|
-
export declare const LuiControlledMenu: (props: LuiControlledMenuProps) => JSX.Element;
|
|
41
|
-
export declare const LuiMenuItem: (props: LuiMenuItemProps) => JSX.Element;
|
|
42
|
-
export declare const LuiMenuDivider: () => JSX.Element;
|
|
43
|
-
export declare const LuiMenuHeader: (props: LuiMenuHeaderProps) => JSX.Element;
|
|
44
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const MenuTriggeredByLuiButton: () => JSX.Element;
|
|
7
|
-
export declare const MenuWithButtonChange: () => JSX.Element;
|
|
8
|
-
export declare const MenuTriggeredByDotsIcon: () => JSX.Element;
|
|
9
|
-
export declare const MenuWithBoundingBox: () => JSX.Element;
|
|
10
|
-
export declare const FocusableMenu: () => JSX.Element;
|
|
11
|
-
export declare const FocusableMenuWithDivider: () => JSX.Element;
|
|
12
|
-
export declare const FocusableMenuWithDividerAndHeader: () => JSX.Element;
|
|
13
|
-
export declare const FocusableMenuScrollable: () => JSX.Element;
|
|
14
|
-
export declare const DisabledMenu: () => JSX.Element;
|
|
15
|
-
export declare const InTable: () => JSX.Element;
|
|
16
|
-
export declare const ContextMenu: () => JSX.Element;
|
|
17
|
-
export declare const MenuInScrollableContainer: () => JSX.Element;
|
|
18
|
-
export declare const MenuWithDividers: () => JSX.Element;
|
|
19
|
-
export declare const MenuWithHeaders: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ILuiModal {
|
|
3
|
-
key?: string;
|
|
4
|
-
shouldCloseOnOverlayClick?: boolean;
|
|
5
|
-
onClose?: () => void;
|
|
6
|
-
className?: string;
|
|
7
|
-
maxWidth?: boolean;
|
|
8
|
-
headingText?: string;
|
|
9
|
-
lowContrast?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const LuiModal: React.FC<ILuiModal>;
|
|
12
|
-
export declare const LuiAlertModal: React.FC<{
|
|
13
|
-
level: 'success' | 'info' | 'warning' | 'error';
|
|
14
|
-
} & ILuiModal>;
|
|
15
|
-
export declare const LuiAlertModalButtons: React.FC;
|
|
16
|
-
interface IModalHeader {
|
|
17
|
-
headingText?: string;
|
|
18
|
-
onClose?: () => void;
|
|
19
|
-
}
|
|
20
|
-
export declare const LuiModalHeader: React.FC<IModalHeader>;
|
|
21
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import '../../scss/base.scss';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const ModalNotUsingLuiModalContext: () => JSX.Element;
|
|
8
|
-
export declare const ModalUsingLuiModalContext: () => JSX.Element;
|
|
9
|
-
export declare const ModalMaxWidth: () => JSX.Element;
|
|
10
|
-
export declare const ModalLowContrast: () => JSX.Element;
|
|
11
|
-
export declare const ModalWithHeader: () => JSX.Element;
|
|
12
|
-
export declare const WarningAlertWithButtons: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
export declare function useShowLUIModal(): Dispatch<SetStateAction<((onClose: () => void) => JSX.Element) | undefined>>;
|
|
3
|
-
export declare const LuiModalContextProvider: (props: {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
}) => JSX.Element;
|
|
6
|
-
export declare const LuiModalRenderer: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import '../../scss/base.scss';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const success: () => JSX.Element;
|
|
8
|
-
export declare const info: () => JSX.Element;
|
|
9
|
-
export declare const error: () => JSX.Element;
|
|
10
|
-
export declare const warning: () => JSX.Element;
|
|
11
|
-
export declare const noReadMore: () => JSX.Element;
|
|
12
|
-
export declare const notClosable: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ILuiTabsContext {
|
|
3
|
-
activePanel: string | null;
|
|
4
|
-
setActivePanel: (activePanel: string) => void;
|
|
5
|
-
}
|
|
6
|
-
export declare const LuiTabsContext: React.Context<ILuiTabsContext>;
|
|
7
|
-
export declare const LuiTabs: React.FC<{
|
|
8
|
-
defaultPanel: string;
|
|
9
|
-
}>;
|
|
10
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Meta } from '@storybook/react';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Tabs: () => JSX.Element;
|
|
6
|
-
export declare const PanelTabs: () => JSX.Element;
|
|
7
|
-
export declare const JustifiedPanelTabs: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|