@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,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Story } from '@storybook/react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
subcomponents: {
|
|
6
|
-
LuiFilterContainer: (props: import("./LuiFilterContainer").IFilterProperties<any>) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
interface FilterContainerTemplateProps {
|
|
11
|
-
showFilter: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const FilterContainer: Story<FilterContainerTemplateProps>;
|
|
14
|
-
interface SimpleFilterContainerTemplateProps {
|
|
15
|
-
showFilter: boolean;
|
|
16
|
-
options: string[];
|
|
17
|
-
}
|
|
18
|
-
export declare const FilterContainerSimple: Story<SimpleFilterContainerTemplateProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import '@szhsin/react-menu/dist/index.css';
|
|
3
|
-
declare type LuiFilterMenuProps = {
|
|
4
|
-
menuButton: (toggleMenu: () => void) => ReactNode;
|
|
5
|
-
filteredItems: SelectMenuItem[];
|
|
6
|
-
onItemClick: (itemId: string) => void;
|
|
7
|
-
maxRows?: number;
|
|
8
|
-
enabled?: boolean;
|
|
9
|
-
};
|
|
10
|
-
interface SelectMenuItem {
|
|
11
|
-
id: string;
|
|
12
|
-
display: string;
|
|
13
|
-
specialType?: 'div' | 'head';
|
|
14
|
-
}
|
|
15
|
-
export declare const LuiFilterMenu: (props: LuiFilterMenuProps) => JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface LuiCheckboxProps {
|
|
3
|
-
value: string;
|
|
4
|
-
label: JSX.Element | string;
|
|
5
|
-
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
-
isChecked: boolean;
|
|
7
|
-
isDisabled?: boolean;
|
|
8
|
-
error?: string;
|
|
9
|
-
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
10
|
-
}
|
|
11
|
-
export declare const LuiCheckboxInput: (props: LuiCheckboxProps) => JSX.Element;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { LuiCheckboxInput } from './LuiCheckboxInput';
|
|
3
|
-
import { ComponentStory } from '@storybook/react';
|
|
4
|
-
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
5
|
-
declare const _default: {
|
|
6
|
-
title: string;
|
|
7
|
-
component: (props: import("./LuiCheckboxInput").LuiCheckboxProps) => JSX.Element;
|
|
8
|
-
argTypes: {
|
|
9
|
-
onChange: {
|
|
10
|
-
action: string;
|
|
11
|
-
};
|
|
12
|
-
isChecked: string;
|
|
13
|
-
};
|
|
14
|
-
parameters: {
|
|
15
|
-
badges: BADGE[];
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default _default;
|
|
19
|
-
export declare const Default: ComponentStory<typeof LuiCheckboxInput>;
|
|
20
|
-
export declare const allStates: ComponentStory<any>;
|
|
21
|
-
export declare const CustomLabel: ComponentStory<typeof LuiCheckboxInput>;
|
package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInputWithFormik.stories.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: import("./LuiCheckboxInput").LuiCheckboxProps) => JSX.Element;
|
|
6
|
-
parameters: {
|
|
7
|
-
badges: BADGE[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const LuiCheckBoxInputWithFormikHooks: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
-
storyName: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const LuiCheckBoxInputWithFormikComponents: {
|
|
16
|
-
(): JSX.Element;
|
|
17
|
-
storyName: string;
|
|
18
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export interface Props {
|
|
2
|
-
fileDescription: string;
|
|
3
|
-
acceptedExtensions: string[];
|
|
4
|
-
fileFormatText?: string;
|
|
5
|
-
onValidFileSelected: (file: File) => void;
|
|
6
|
-
showMustSelectFileError?: boolean;
|
|
7
|
-
customFileErrorMessage?: string;
|
|
8
|
-
width?: number;
|
|
9
|
-
height?: number;
|
|
10
|
-
}
|
|
11
|
-
export declare const LuiFileInputBox: (props: Props) => JSX.Element;
|
|
12
|
-
export interface FileUploadInfoProps {
|
|
13
|
-
fileName: string | undefined;
|
|
14
|
-
fileDescription: string;
|
|
15
|
-
fileFormatText: string | undefined;
|
|
16
|
-
}
|
|
17
|
-
export declare const FileUploadInfo: (props: FileUploadInfoProps) => JSX.Element;
|
|
18
|
-
/**
|
|
19
|
-
* Get the extension from a filename in upper-case.
|
|
20
|
-
*
|
|
21
|
-
* @param fileName File-name to get extension from.
|
|
22
|
-
* @return fileName extension in upper-case if found else empty string.
|
|
23
|
-
*/
|
|
24
|
-
export declare const getFileNameExtension: (fileName: string) => string;
|
|
25
|
-
/**
|
|
26
|
-
* Convert an array of extensions to a human readable string in upper-case.
|
|
27
|
-
* e.g. JPG, TIFF or BMP.
|
|
28
|
-
*
|
|
29
|
-
* @param extensions List of extensions to convert.
|
|
30
|
-
* @return Extensions in a human readable string in upper-case.
|
|
31
|
-
*/
|
|
32
|
-
export declare const extensionsAsHumanReadableList: (extensions: string[]) => string;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { FileUploadInfo, LuiFileInputBox } from './LuiFileInputBox';
|
|
3
|
-
declare const _default: import("@storybook/react").Meta<import("./LuiFileInputBox").Props>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const LuiFileInputWithExtensionFilterDefaultSize: ComponentStory<typeof LuiFileInputBox>;
|
|
6
|
-
export declare const LuiFileInputWithExtensionFilterLargeWithExistingError: ComponentStory<typeof LuiFileInputBox>;
|
|
7
|
-
export declare const LuiFileInputWithExtensionFilterLargeWithExistingErrorCustomMessage: ComponentStory<typeof LuiFileInputBox>;
|
|
8
|
-
export declare const LuiFileInputUploadSuccessForChromatic: ComponentStory<typeof FileUploadInfo>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const fakeFile: (fileName: string) => File;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ChangeEventHandler, InputHTMLAttributes } from 'react';
|
|
2
|
-
export interface LuiRadioProps {
|
|
3
|
-
onChange: ChangeEventHandler<HTMLInputElement>;
|
|
4
|
-
selectedValue: string;
|
|
5
|
-
options: string[];
|
|
6
|
-
legend?: JSX.Element | string;
|
|
7
|
-
error?: string;
|
|
8
|
-
isOptionDisabled?: (index: number) => boolean;
|
|
9
|
-
inputProps?: InputHTMLAttributes<HTMLInputElement>;
|
|
10
|
-
renderLabelFor?: (value: string) => JSX.Element;
|
|
11
|
-
}
|
|
12
|
-
export declare const LuiRadioInput: (props: LuiRadioProps) => JSX.Element;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: import("./LuiRadioInput").LuiRadioProps) => JSX.Element;
|
|
6
|
-
parameters: {
|
|
7
|
-
badges: BADGE[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Default: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
-
storeName: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const RadioInputWithLegendText: {
|
|
16
|
-
(): JSX.Element;
|
|
17
|
-
storeName: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const IsOptionDisabled: {
|
|
20
|
-
(): JSX.Element;
|
|
21
|
-
storeName: string;
|
|
22
|
-
};
|
|
23
|
-
export declare const IsInputDisabled: () => JSX.Element;
|
|
24
|
-
export declare const Error: () => JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: (props: import("./LuiRadioInput").LuiRadioProps) => JSX.Element;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const LuiRadioButtonInputWithFormikHooks: {
|
|
8
|
-
(): JSX.Element;
|
|
9
|
-
storeName: string;
|
|
10
|
-
};
|
|
11
|
-
export declare const LuiRadioButtonWithFormikComponents: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
-
storeName: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const LuiRadioButtonWithFormikComponentsAndHooks: {
|
|
16
|
-
(): JSX.Element;
|
|
17
|
-
storyName: string;
|
|
18
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ChangeEventHandler, SelectHTMLAttributes } from 'react';
|
|
2
|
-
export declare type SelectOptions = {
|
|
3
|
-
label: string;
|
|
4
|
-
value: string;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
};
|
|
7
|
-
export interface SelectProps {
|
|
8
|
-
error?: string;
|
|
9
|
-
onChange?: ChangeEventHandler<HTMLSelectElement>;
|
|
10
|
-
options: SelectOptions[];
|
|
11
|
-
value: string;
|
|
12
|
-
mandatory?: boolean;
|
|
13
|
-
hideLabel?: boolean;
|
|
14
|
-
selectProps?: SelectHTMLAttributes<HTMLSelectElement>;
|
|
15
|
-
label: JSX.Element | string;
|
|
16
|
-
placeholderText?: string;
|
|
17
|
-
}
|
|
18
|
-
export declare const LuiSelectInput: (props: SelectProps) => JSX.Element;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: import("./LuiSelectInput").SelectProps) => JSX.Element;
|
|
6
|
-
parameters: {
|
|
7
|
-
badges: BADGE[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Default: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
-
storyName: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const NoLabel: {
|
|
16
|
-
(): JSX.Element;
|
|
17
|
-
storyName: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const HiddenLabel: () => JSX.Element;
|
|
20
|
-
export declare const Placeholder: {
|
|
21
|
-
(): JSX.Element;
|
|
22
|
-
storyName: string;
|
|
23
|
-
};
|
|
24
|
-
export declare const Disabled: {
|
|
25
|
-
(): JSX.Element;
|
|
26
|
-
storyName: string;
|
|
27
|
-
};
|
|
28
|
-
export declare const Error: {
|
|
29
|
-
(): JSX.Element;
|
|
30
|
-
storyName: string;
|
|
31
|
-
};
|
|
32
|
-
export declare const MandatoryStar: {
|
|
33
|
-
(): JSX.Element;
|
|
34
|
-
storyName: string;
|
|
35
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ChangeEventHandler, InputHTMLAttributes } from 'react';
|
|
2
|
-
export interface LuiTextAreaInputProps {
|
|
3
|
-
label: JSX.Element | string;
|
|
4
|
-
mandatory?: boolean;
|
|
5
|
-
inputProps?: InputHTMLAttributes<HTMLTextAreaElement>;
|
|
6
|
-
onChange?: ChangeEventHandler<HTMLTextAreaElement>;
|
|
7
|
-
value: string;
|
|
8
|
-
error?: string | boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const LuiTextAreaInput: (props: LuiTextAreaInputProps) => JSX.Element;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: import("./LuiTextAreaInput").LuiTextAreaInputProps) => JSX.Element;
|
|
6
|
-
parameters: {
|
|
7
|
-
badges: BADGE[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Default: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
-
storyName: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const Placeholder: {
|
|
16
|
-
(): JSX.Element;
|
|
17
|
-
storyName: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const Disabled: {
|
|
20
|
-
(): JSX.Element;
|
|
21
|
-
storyName: string;
|
|
22
|
-
};
|
|
23
|
-
export declare const Error: {
|
|
24
|
-
(): JSX.Element;
|
|
25
|
-
storyName: string;
|
|
26
|
-
};
|
|
27
|
-
export declare const Mandatory: {
|
|
28
|
-
(): JSX.Element;
|
|
29
|
-
storyName: string;
|
|
30
|
-
};
|
package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInputWithFormik.stories.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: import("./LuiTextAreaInput").LuiTextAreaInputProps) => JSX.Element;
|
|
6
|
-
parameters: {
|
|
7
|
-
badges: BADGE[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const LuiTextAreaInputWithFormikHooks: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
-
storyName: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const LuiTextAreaInputWithFormikComponents: {
|
|
16
|
-
(): JSX.Element;
|
|
17
|
-
storyName: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const LuiTextAreaInputWithFormikComponentsAndHooks: {
|
|
20
|
-
(): JSX.Element;
|
|
21
|
-
storyName: string;
|
|
22
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ChangeEventHandler, InputHTMLAttributes } from 'react';
|
|
2
|
-
export interface LuiTextInputProps {
|
|
3
|
-
onChange?: ChangeEventHandler<HTMLInputElement>;
|
|
4
|
-
inputProps?: InputHTMLAttributes<HTMLInputElement>;
|
|
5
|
-
error?: string;
|
|
6
|
-
hideLabel?: boolean;
|
|
7
|
-
label: JSX.Element | string;
|
|
8
|
-
/**
|
|
9
|
-
* A red star will be shown next to the label, no validation will be performed based on this prop.
|
|
10
|
-
*/
|
|
11
|
-
mandatory?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* A padlock will be displayed on right side of input
|
|
14
|
-
*/
|
|
15
|
-
showPadlockIcon?: boolean;
|
|
16
|
-
value: string;
|
|
17
|
-
}
|
|
18
|
-
export declare function useGenerateOrDefaultId(idFromProps?: string): string;
|
|
19
|
-
export declare const LuiTextInput: (props: LuiTextInputProps) => JSX.Element;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: import("./LuiTextInput").LuiTextInputProps) => JSX.Element;
|
|
6
|
-
parameters: {
|
|
7
|
-
badges: BADGE[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Default: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
-
storyName: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const NoLabel: {
|
|
16
|
-
(): JSX.Element;
|
|
17
|
-
storyName: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const CustomLabel: () => JSX.Element;
|
|
20
|
-
export declare const Placeholder: {
|
|
21
|
-
(): JSX.Element;
|
|
22
|
-
storyName: string;
|
|
23
|
-
};
|
|
24
|
-
export declare const Disabled: {
|
|
25
|
-
(): JSX.Element;
|
|
26
|
-
storyName: string;
|
|
27
|
-
};
|
|
28
|
-
export declare const Error: {
|
|
29
|
-
(): JSX.Element;
|
|
30
|
-
storyName: string;
|
|
31
|
-
};
|
|
32
|
-
export declare const Mandatory: {
|
|
33
|
-
(): JSX.Element;
|
|
34
|
-
storyName: string;
|
|
35
|
-
};
|
|
36
|
-
export declare const PadlockIcon: {
|
|
37
|
-
(): JSX.Element;
|
|
38
|
-
storyName: string;
|
|
39
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: import("./LuiTextInput").LuiTextInputProps) => JSX.Element;
|
|
6
|
-
parameters: {
|
|
7
|
-
badges: BADGE[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const LuiTextInputWithFormikHooks: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
-
storyName: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const LuiTextInputWithFormikComponents: {
|
|
16
|
-
(): JSX.Element;
|
|
17
|
-
storyName: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const LuiTextInputWithFormikComponentsAndHooks: {
|
|
20
|
-
(): JSX.Element;
|
|
21
|
-
storyName: string;
|
|
22
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { LuiCommonInputProps } from '../LuiFormikForm';
|
|
3
|
-
export declare function LuiFormikCheckbox(props: {
|
|
4
|
-
name: string;
|
|
5
|
-
value: string;
|
|
6
|
-
label: ReactNode;
|
|
7
|
-
htmlFor?: string;
|
|
8
|
-
className?: string;
|
|
9
|
-
} & LuiCommonInputProps): JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FormikConfig, FormikValues } from 'formik';
|
|
3
|
-
export declare function LuiFormikForm<Values extends FormikValues = FormikValues, ExtraProps = {}>(props: FormikConfig<Values> & ExtraProps & {
|
|
4
|
-
className?: string;
|
|
5
|
-
}): JSX.Element;
|
|
6
|
-
export interface LuiCommonInputProps {
|
|
7
|
-
inputProps?: object;
|
|
8
|
-
required?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import '../../scss/base.scss';
|
|
3
|
-
import './formStory.scss';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const FullLuiFormikFromDemo: React.FC<{
|
|
9
|
-
jestSpy: any;
|
|
10
|
-
}>;
|
|
11
|
-
export declare const selectBox: () => JSX.Element;
|
|
12
|
-
export declare const textInputWithExternalLink: () => JSX.Element;
|
|
13
|
-
export declare const textInputWithError: () => JSX.Element;
|
|
14
|
-
export declare const textInputValidateOnTouch: () => JSX.Element;
|
|
15
|
-
export declare const singleCheckBoxes: () => JSX.Element;
|
|
16
|
-
export declare const singleCheckBoxesOnGrey: () => JSX.Element;
|
|
17
|
-
export declare const LuiFormikRadioButtons: (props: any) => JSX.Element;
|
|
18
|
-
export declare const RadioButtonsWithReset: (props: any) => JSX.Element;
|
|
19
|
-
export declare const BearingInputExperimental: React.FC;
|
|
20
|
-
export declare const BearingInputExperimental2: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { LuiCommonInputProps } from '../LuiFormikForm';
|
|
3
|
-
export declare const LuiFormikSelect: React.ComponentType<{
|
|
4
|
-
name: string;
|
|
5
|
-
label: string;
|
|
6
|
-
className?: string | undefined;
|
|
7
|
-
defaultValue?: string | undefined;
|
|
8
|
-
helperInfo?: (() => React.Component) | undefined;
|
|
9
|
-
tooltip?: string | undefined;
|
|
10
|
-
validate?: ((value: string) => string | undefined) | undefined;
|
|
11
|
-
} & LuiCommonInputProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { FormikContextType } from 'formik';
|
|
2
|
-
import React, { ReactNode } from 'react';
|
|
3
|
-
import { LuiCommonInputProps } from '../LuiFormikForm';
|
|
4
|
-
export declare const LuiFormikTextInput: React.ComponentType<{
|
|
5
|
-
name: string;
|
|
6
|
-
label?: string | undefined;
|
|
7
|
-
className?: string | undefined;
|
|
8
|
-
helperInfo?: ReactNode;
|
|
9
|
-
tooltip?: string | undefined;
|
|
10
|
-
validate?: ((value: string) => string | undefined) | undefined;
|
|
11
|
-
onValueChange?: ((newValue: {
|
|
12
|
-
value: string;
|
|
13
|
-
formik: FormikContextType<any>;
|
|
14
|
-
}) => void) | undefined;
|
|
15
|
-
validateOnChange?: boolean | undefined;
|
|
16
|
-
multiLine?: boolean | undefined;
|
|
17
|
-
} & LuiCommonInputProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GroupBase, Props, SelectInstance } from 'react-select';
|
|
3
|
-
export declare type LuiComboSelectProps<Option extends LuiComboSelectOption = LuiComboSelectOption, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>> = Partial<Props<Option, IsMulti, Group>> & {
|
|
4
|
-
label: JSX.Element | string;
|
|
5
|
-
hideLabel?: boolean;
|
|
6
|
-
isCreateable?: boolean;
|
|
7
|
-
error?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare type LuiComboSelectOption = {
|
|
10
|
-
label: string;
|
|
11
|
-
value: string;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* A wrapper around React Select with Lui styling
|
|
15
|
-
*/
|
|
16
|
-
export declare const LuiComboSelect: React.ForwardRefExoticComponent<Partial<Props<LuiComboSelectOption, boolean, GroupBase<any>>> & {
|
|
17
|
-
label: JSX.Element | string;
|
|
18
|
-
hideLabel?: boolean | undefined;
|
|
19
|
-
isCreateable?: boolean | undefined;
|
|
20
|
-
error?: string | undefined;
|
|
21
|
-
} & React.RefAttributes<SelectInstance<LuiComboSelectOption, boolean, GroupBase<any>>>>;
|