@linzjs/lui 12.2.0-roll-up-3.6 → 13.0.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.
Files changed (98) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +1 -1
  3. package/dist/components/LuiBadge/LuiBadge.stories.d.ts +9 -0
  4. package/dist/components/LuiBadge/LuiBadge.test.d.ts +1 -0
  5. package/dist/components/LuiBanner/LuiBanner.stories.d.ts +11 -0
  6. package/dist/components/LuiBanner/LuiBanner.test.d.ts +1 -0
  7. package/dist/components/LuiButton/LuiButton.stories.d.ts +28 -0
  8. package/dist/components/LuiButton/LuiButton.test.d.ts +1 -0
  9. package/dist/components/LuiButton/LuiButtonGroup.stories.d.ts +6 -0
  10. package/dist/components/LuiErrorPage/LuiErrorPage.stories.d.ts +7 -0
  11. package/dist/components/LuiExpandableBanner/LuiExpandableBanner.stories.d.ts +7 -0
  12. package/dist/components/LuiExpandableBanner/LuiExpandableBanner.test.d.ts +1 -0
  13. package/dist/components/LuiFilterContainer/LuiFilterContainer.stories.d.ts +18 -0
  14. package/dist/components/LuiFilterContainer/LuiFilterContainer.test.d.ts +1 -0
  15. package/dist/components/LuiFilterMenu/LuiFilterMenu.test.d.ts +1 -0
  16. package/dist/components/LuiFooter/LuiFooter.stories.d.ts +7 -0
  17. package/dist/components/LuiFooter/LuiFooter.test.d.ts +1 -0
  18. package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.stories.d.ts +21 -0
  19. package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInputWithFormik.stories.d.ts +18 -0
  20. package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.d.ts +0 -1
  21. package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.stories.d.ts +8 -0
  22. package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.test.d.ts +1 -0
  23. package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInput.stories.d.ts +24 -0
  24. package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInputWithFormik.stories.d.ts +18 -0
  25. package/dist/components/LuiFormElements/LuiSelectInput/LuiSelectInput.stories.d.ts +35 -0
  26. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.stories.d.ts +34 -0
  27. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.test.d.ts +2 -0
  28. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInputWithFormik.stories.d.ts +22 -0
  29. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.stories.d.ts +39 -0
  30. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.test.d.ts +2 -0
  31. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInputWithFormik.stories.d.ts +22 -0
  32. package/dist/components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox.test.d.ts +5 -0
  33. package/dist/components/LuiFormikForms/LuiFormikForms.integration.test.d.ts +1 -0
  34. package/dist/components/LuiFormikForms/LuiFormikForms.stories.d.ts +20 -0
  35. package/dist/components/LuiFormikForms/LuiFormikRadioButton/LuiFormikRadioButton.test.d.ts +1 -0
  36. package/dist/components/LuiFormikForms/LuiFormikSelect/LuiFormikSelect.test.d.ts +1 -0
  37. package/dist/components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput.test.d.ts +1 -0
  38. package/dist/components/LuiForms/LuiComboSelect/LuiComboSelect.stories.d.ts +112 -0
  39. package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.stories.d.ts +5 -0
  40. package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.test.d.ts +1 -0
  41. package/dist/components/LuiHeader/LuiHeader.stories.d.ts +49 -0
  42. package/dist/components/LuiHeader/LuiHeader.test.d.ts +1 -0
  43. package/dist/components/LuiHeaderMenu/LuiHeaderMenus.test.d.ts +1 -0
  44. package/dist/components/LuiIcon/LuiIcon.stories.d.ts +11 -0
  45. package/dist/components/LuiIcon/LuiIcon.test.d.ts +1 -0
  46. package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.stories.d.ts +13 -0
  47. package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.test.d.ts +1 -0
  48. package/dist/components/LuiLoadingSpinner/LuiLottieLight.d.ts +14 -0
  49. package/dist/components/LuiMenu/LuiMenu.d.ts +7 -39
  50. package/dist/components/LuiMenu/LuiMenu.stories.d.ts +20 -0
  51. package/dist/components/LuiMenu/LuiMenu.test.d.ts +1 -0
  52. package/dist/components/LuiModal/LuiModal.stories.d.ts +13 -0
  53. package/dist/components/LuiModal/LuiModal.test.d.ts +1 -0
  54. package/dist/components/LuiModal/LuiModalContext.test.d.ts +1 -0
  55. package/dist/components/LuiShadow/LuiShadow.stories.d.ts +7 -0
  56. package/dist/components/LuiStaticMessage/LuiStaticMessage.stories.d.ts +12 -0
  57. package/dist/components/LuiStaticMessage/LuiStaticMessage.test.d.ts +1 -0
  58. package/dist/components/LuiTabs/LuiTabs.stories.d.ts +7 -0
  59. package/dist/components/LuiTabs/LuiTabs.test.d.ts +1 -0
  60. package/dist/components/LuiToastMessage/LuiToastMessage.auto.stories.d.ts +19 -0
  61. package/dist/components/LuiToastMessage/LuiToastMessage.test.d.ts +1 -0
  62. package/dist/components/LuiTooltip/LuiTooltip.stories.d.ts +10 -0
  63. package/dist/components/LuiUpdateSplashModal/LuiUpdateSplashModal.stories.d.ts +7 -0
  64. package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.test.d.ts +1 -0
  65. package/dist/components/common/ResponsiveUtils.test.d.ts +1 -0
  66. package/dist/components/lol/LOLActiveFirmMessage.d.ts +0 -1
  67. package/dist/components/lol/LOLActiveFirmMessage.test.d.ts +1 -0
  68. package/dist/components/lol/LOLAppLauncherMenu.d.ts +0 -1
  69. package/dist/components/lol/LOLAppLauncherMenu.test.d.ts +56 -0
  70. package/dist/components/lol/LOLAuthorisedLink.d.ts +0 -1
  71. package/dist/components/lol/LOLAuthorisedLink.test.d.ts +43 -0
  72. package/dist/components/lol/LOLCommonDrawerMenu.test.d.ts +43 -0
  73. package/dist/components/lol/LOLComponents.stories.d.ts +55 -0
  74. package/dist/components/lol/LOLDrawerMenuFirmSwitcher.test.d.ts +1 -0
  75. package/dist/components/lol/LOLFirmSwitcher.test.d.ts +43 -0
  76. package/dist/components/lol/LOLLogoutLink.d.ts +0 -1
  77. package/dist/components/lol/LOLLogoutLink.test.d.ts +1 -0
  78. package/dist/components/lol/LOLUserLastLogin.test.d.ts +1 -0
  79. package/dist/components/lol/MockBackendUtils.d.ts +3 -3
  80. package/dist/components/lol/contexts/LOLGlobalClientRefContext.test.d.ts +1 -0
  81. package/dist/components/lol/contexts/LOLUserContext.test.d.ts +1 -0
  82. package/dist/contexts/UIMessagingContextProvider.tests.d.ts +1 -0
  83. package/dist/hooks/__tests__/useClickedOutsideElement.test.d.ts +1 -0
  84. package/dist/index.d.ts +1 -1
  85. package/dist/index.js +3 -60609
  86. package/dist/lui.cjs.development.js +20518 -0
  87. package/dist/lui.cjs.development.js.map +1 -0
  88. package/dist/lui.cjs.production.min.js +2 -0
  89. package/dist/lui.cjs.production.min.js.map +1 -0
  90. package/dist/lui.css +15 -15
  91. package/dist/lui.css.map +1 -1
  92. package/dist/lui.esm.js +19997 -60070
  93. package/dist/lui.esm.js.map +1 -1
  94. package/dist/needs-revision/LuiHtml.stories.d.ts +32 -0
  95. package/dist/scss/Components/ContextMenu/context-menu.scss +15 -0
  96. package/dist/scss/Components/Menu/menu.scss +0 -12
  97. package/package.json +21 -22
  98. package/dist/index.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ # [13.0.0](https://github.com/linz/lui/compare/v12.2.0...v13.0.0) (2022-01-31)
2
+
3
+
4
+ ### breaking
5
+
6
+ * **LuiMenu,LuiControlledMenu:** PR to trigger build ([#535](https://github.com/linz/lui/issues/535)) ([c3f117e](https://github.com/linz/lui/commit/c3f117e42476876742517bddb0515b42d9ab46bf))
7
+
8
+
9
+ ### BREAKING CHANGES
10
+
11
+ * **LuiMenu,LuiControlledMenu:** breaking(LuiMenu,LuiControlledMenu) PR to trigger build
12
+
13
+ This is the breaking change commit for https://github.com/linz/Lui/pull/531
14
+
15
+ * Update README.md
16
+
1
17
  # [12.2.0](https://github.com/linz/lui/compare/v12.1.4...v12.2.0) (2022-01-20)
2
18
 
3
19
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Lui - Linz User Interface
2
2
 
3
- > It's written in CSS and has a React wrapper!
3
+ > It's written in CSS and a React wrapper!!
4
4
  >
5
5
  > ## You do not need to be using React to use Lui
6
6
  >
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import '../../scss/base.scss';
3
+ import './LuiBadgeStory.scss';
4
+ declare const _default: {
5
+ title: string;
6
+ component: (props: import("./LuiBadge").ILuiBadge) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const LuiBadgeStory: (args: any) => JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
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 withoutContainer: () => JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,28 @@
1
+ /// <reference types="react" />
2
+ import { BADGE } from '@geometricpanda/storybook-addon-badges';
3
+ import '../../scss/base.scss';
4
+ import './buttonStory.scss';
5
+ declare const _default: {
6
+ title: string;
7
+ };
8
+ export default _default;
9
+ export declare const allButtons: () => JSX.Element;
10
+ export declare const linkButtons: () => JSX.Element;
11
+ export declare const disabled: () => JSX.Element;
12
+ export declare const plainText: () => JSX.Element;
13
+ export declare const widths: () => JSX.Element;
14
+ export declare const withMaterialIcons: {
15
+ (): JSX.Element;
16
+ storyName: string;
17
+ };
18
+ export declare const withLuiIcon: {
19
+ (): JSX.Element;
20
+ storyName: string;
21
+ parameters: {
22
+ badges: BADGE[];
23
+ };
24
+ };
25
+ export declare const iconOnlyWithMaterialIcons: {
26
+ (): JSX.Element;
27
+ storyName: string;
28
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const ButtonGroup: () => JSX.Element;
@@ -0,0 +1,7 @@
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 ErrorPage: () => JSX.Element;
@@ -0,0 +1,7 @@
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 expandable: () => JSX.Element;
@@ -0,0 +1,18 @@
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>;
@@ -0,0 +1,7 @@
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 footer: () => JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,21 @@
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>;
@@ -0,0 +1,18 @@
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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface LuiFileInputBoxProps {
3
2
  fileDescription: string;
4
3
  acceptedExtensions: string[];
@@ -0,0 +1,8 @@
1
+ import { ComponentStory } from '@storybook/react';
2
+ import { FileUploadInfo, LuiFileInputBox } from './LuiFileInputBox';
3
+ declare const _default: import("@storybook/react").Meta<import("./LuiFileInputBox").LuiFileInputBoxProps>;
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>;
@@ -0,0 +1 @@
1
+ export declare const fakeFile: (fileName: string) => File;
@@ -0,0 +1,24 @@
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;
@@ -0,0 +1,18 @@
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
+ };
@@ -0,0 +1,35 @@
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
+ };
@@ -0,0 +1,34 @@
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
+ };
31
+ export declare const ErrorWithNonTransparentBackground: {
32
+ (): JSX.Element;
33
+ storyName: string;
34
+ };
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const SpecialComponent: () => JSX.Element;
@@ -0,0 +1,22 @@
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
+ };
@@ -0,0 +1,39 @@
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
+ };
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const SpecialComponent: () => JSX.Element;
@@ -0,0 +1,22 @@
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
+ };
@@ -0,0 +1,5 @@
1
+ /// <reference types="jest" />
2
+ import React from 'react';
3
+ export declare const FormDemo: React.FC<{
4
+ jestSpy: jest.Mock<any, any>;
5
+ }>;
@@ -0,0 +1,20 @@
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;
@@ -0,0 +1,112 @@
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
+ };
@@ -0,0 +1,5 @@
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>>;