@linzjs/lui 17.16.1 → 17.16.2-1

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 (174) hide show
  1. package/dist/animations/loader-easter.json +2790 -0
  2. package/dist/animations/loader-xmas.json +3813 -0
  3. package/dist/animations/loader.json +1494 -0
  4. package/dist/assets/svg-content.js +323 -0
  5. package/dist/assets/svg-content.js.map +1 -0
  6. package/dist/components/LuiAccordicard/LuiAccordicard.js +55 -0
  7. package/dist/components/LuiAccordicard/LuiAccordicard.js.map +1 -0
  8. package/dist/components/LuiAccordicardStatic/LuiAccordicardStatic.js +17 -0
  9. package/dist/components/LuiAccordicardStatic/LuiAccordicardStatic.js.map +1 -0
  10. package/dist/components/LuiBadge/LuiBadge.d.ts +1 -1
  11. package/dist/components/LuiBadge/LuiBadge.js +4 -0
  12. package/dist/components/LuiBadge/LuiBadge.js.map +1 -0
  13. package/dist/components/LuiBanner/LuiBanner.js +26 -0
  14. package/dist/components/LuiBanner/LuiBanner.js.map +1 -0
  15. package/dist/components/LuiButton/LuiButton.js +38 -0
  16. package/dist/components/LuiButton/LuiButton.js.map +1 -0
  17. package/dist/components/LuiError/LuiError.js +10 -0
  18. package/dist/components/LuiError/LuiError.js.map +1 -0
  19. package/dist/components/LuiErrorPage/LuiErrorPage.js +13 -0
  20. package/dist/components/LuiErrorPage/LuiErrorPage.js.map +1 -0
  21. package/dist/components/LuiExpandableBanner/LuiExpandableBanner.js +54 -0
  22. package/dist/components/LuiExpandableBanner/LuiExpandableBanner.js.map +1 -0
  23. package/dist/components/LuiFilterContainer/LuiFilterContainer.js +20 -0
  24. package/dist/components/LuiFilterContainer/LuiFilterContainer.js.map +1 -0
  25. package/dist/components/LuiFilterMenu/LuiFilterMenu.js +50 -0
  26. package/dist/components/LuiFilterMenu/LuiFilterMenu.js.map +1 -0
  27. package/dist/components/LuiFooter/LuiFooter.js +37 -0
  28. package/dist/components/LuiFooter/LuiFooter.js.map +1 -0
  29. package/dist/components/LuiFormElements/ClearableLuiTextInput/ClearableLuiTextInput.js +21 -0
  30. package/dist/components/LuiFormElements/ClearableLuiTextInput/ClearableLuiTextInput.js.map +1 -0
  31. package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.js +23 -0
  32. package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.js.map +1 -0
  33. package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.js +90 -0
  34. package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.js.map +1 -0
  35. package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInput.js +41 -0
  36. package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInput.js.map +1 -0
  37. package/dist/components/LuiFormElements/LuiSelectInput/LuiSelectInput.js +22 -0
  38. package/dist/components/LuiFormElements/LuiSelectInput/LuiSelectInput.js.map +1 -0
  39. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.js +20 -0
  40. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.js.map +1 -0
  41. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.js +29 -0
  42. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.js.map +1 -0
  43. package/dist/components/LuiForms/LuiComboSelect/LuiComboSelect.js +54 -0
  44. package/dist/components/LuiForms/LuiComboSelect/LuiComboSelect.js.map +1 -0
  45. package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.js +9 -0
  46. package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.js.map +1 -0
  47. package/dist/components/LuiForms/LuiFormSection/LuiHelpInfo/LuiHelpInfo.js +7 -0
  48. package/dist/components/LuiForms/LuiFormSection/LuiHelpInfo/LuiHelpInfo.js.map +1 -0
  49. package/dist/components/LuiHeader/LuiHeader.js +79 -0
  50. package/dist/components/LuiHeader/LuiHeader.js.map +1 -0
  51. package/dist/components/LuiHeaderMenu/LuiHeaderMenus.js +73 -0
  52. package/dist/components/LuiHeaderMenu/LuiHeaderMenus.js.map +1 -0
  53. package/dist/components/LuiIcon/LuiIcon.js +39 -0
  54. package/dist/components/LuiIcon/LuiIcon.js.map +1 -0
  55. package/dist/components/LuiListBox/LuiListBox.js +60 -0
  56. package/dist/components/LuiListBox/LuiListBox.js.map +1 -0
  57. package/dist/components/LuiListBox/LuiListBoxGroup.js +15 -0
  58. package/dist/components/LuiListBox/LuiListBoxGroup.js.map +1 -0
  59. package/dist/components/LuiListBox/LuiListBoxItem.js +20 -0
  60. package/dist/components/LuiListBox/LuiListBoxItem.js.map +1 -0
  61. package/dist/components/LuiListBox/Renderers/CheckboxItemRenderer.js +10 -0
  62. package/dist/components/LuiListBox/Renderers/CheckboxItemRenderer.js.map +1 -0
  63. package/dist/components/LuiListBox/Renderers/RadioItemRenderer.js +7 -0
  64. package/dist/components/LuiListBox/Renderers/RadioItemRenderer.js.map +1 -0
  65. package/dist/components/LuiListBox/useLuiListBox.js +60 -0
  66. package/dist/components/LuiListBox/useLuiListBox.js.map +1 -0
  67. package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.js +62 -0
  68. package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.js.map +1 -0
  69. package/dist/components/LuiLoadingSpinner/LuiLottieLight.js +28 -0
  70. package/dist/components/LuiLoadingSpinner/LuiLottieLight.js.map +1 -0
  71. package/dist/components/LuiMenu/LuiMenu.js +18 -0
  72. package/dist/components/LuiMenu/LuiMenu.js.map +1 -0
  73. package/dist/components/LuiMenuTrigger/LuiMenuTrigger.js +10 -0
  74. package/dist/components/LuiMenuTrigger/LuiMenuTrigger.js.map +1 -0
  75. package/dist/components/LuiModal/LuiModal.js +57 -0
  76. package/dist/components/LuiModal/LuiModal.js.map +1 -0
  77. package/dist/components/LuiModal/LuiModalContext.js +30 -0
  78. package/dist/components/LuiModal/LuiModalContext.js.map +1 -0
  79. package/dist/components/LuiSearchBox/LuiSearchBox.js +67 -0
  80. package/dist/components/LuiSearchBox/LuiSearchBox.js.map +1 -0
  81. package/dist/components/LuiSearchInput/LuiSearchInput.js +184 -0
  82. package/dist/components/LuiSearchInput/LuiSearchInput.js.map +1 -0
  83. package/dist/components/LuiSearchInput/ResultsDisplay.js +38 -0
  84. package/dist/components/LuiSearchInput/ResultsDisplay.js.map +1 -0
  85. package/dist/components/LuiSelectMenu/LuiSelectDataMenu.js +34 -0
  86. package/dist/components/LuiSelectMenu/LuiSelectDataMenu.js.map +1 -0
  87. package/dist/components/LuiSelectMenu/LuiSelectMenu.js +29 -0
  88. package/dist/components/LuiSelectMenu/LuiSelectMenu.js.map +1 -0
  89. package/dist/components/LuiShadow/LuiShadow.js +6 -0
  90. package/dist/components/LuiShadow/LuiShadow.js.map +1 -0
  91. package/dist/components/LuiSidePanel/LuiSidePanel.js +51 -0
  92. package/dist/components/LuiSidePanel/LuiSidePanel.js.map +1 -0
  93. package/dist/components/LuiSidePanel/LuiSidePanelHelper.js +31 -0
  94. package/dist/components/LuiSidePanel/LuiSidePanelHelper.js.map +1 -0
  95. package/dist/components/LuiStaticMessage/LuiStaticMessage.js +17 -0
  96. package/dist/components/LuiStaticMessage/LuiStaticMessage.js.map +1 -0
  97. package/dist/components/LuiSwitchButton/LuiSwitchButton.js +12 -0
  98. package/dist/components/LuiSwitchButton/LuiSwitchButton.js.map +1 -0
  99. package/dist/components/LuiTabs/LuiTab/LuiTab.js +6 -0
  100. package/dist/components/LuiTabs/LuiTab/LuiTab.js.map +1 -0
  101. package/dist/components/LuiTabs/LuiTabs.js +11 -0
  102. package/dist/components/LuiTabs/LuiTabs.js.map +1 -0
  103. package/dist/components/LuiTabs/LuiTabsGroup/LuiTabsGroup.js +6 -0
  104. package/dist/components/LuiTabs/LuiTabsGroup/LuiTabsGroup.js.map +1 -0
  105. package/dist/components/LuiTabs/LuiTabsPanel/LuiTabsPanel.js +16 -0
  106. package/dist/components/LuiTabs/LuiTabsPanel/LuiTabsPanel.js.map +1 -0
  107. package/dist/components/LuiTabs/LuiTabsPanelSwitch/LuiTabsPanelSwitch.js +12 -0
  108. package/dist/components/LuiTabs/LuiTabsPanelSwitch/LuiTabsPanelSwitch.js.map +1 -0
  109. package/dist/components/LuiToastMessage/LuiToastMessage.js +47 -0
  110. package/dist/components/LuiToastMessage/LuiToastMessage.js.map +1 -0
  111. package/dist/components/LuiTooltip/LuiTooltip.js +32 -0
  112. package/dist/components/LuiTooltip/LuiTooltip.js.map +1 -0
  113. package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.d.ts +1 -1
  114. package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.js +41 -0
  115. package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.js.map +1 -0
  116. package/dist/components/common/Hooks.js +51 -0
  117. package/dist/components/common/Hooks.js.map +1 -0
  118. package/dist/components/common/ResponsiveUtils.js +16 -0
  119. package/dist/components/common/ResponsiveUtils.js.map +1 -0
  120. package/dist/components/common/StorybookSupport.js +14 -0
  121. package/dist/components/common/StorybookSupport.js.map +1 -0
  122. package/dist/components/lol/LOLActiveFirmMessage.js +30 -0
  123. package/dist/components/lol/LOLActiveFirmMessage.js.map +1 -0
  124. package/dist/components/lol/LOLAppLauncherMenu.js +86 -0
  125. package/dist/components/lol/LOLAppLauncherMenu.js.map +1 -0
  126. package/dist/components/lol/LOLAuthorisedLink.js +35 -0
  127. package/dist/components/lol/LOLAuthorisedLink.js.map +1 -0
  128. package/dist/components/lol/LOLCommonDrawerMenu.js +58 -0
  129. package/dist/components/lol/LOLCommonDrawerMenu.js.map +1 -0
  130. package/dist/components/lol/LOLDrawerMenuFirmSwitcher.js +21 -0
  131. package/dist/components/lol/LOLDrawerMenuFirmSwitcher.js.map +1 -0
  132. package/dist/components/lol/LOLFirmSwitcher.js +84 -0
  133. package/dist/components/lol/LOLFirmSwitcher.js.map +1 -0
  134. package/dist/components/lol/LOLLogoutLink.js +46 -0
  135. package/dist/components/lol/LOLLogoutLink.js.map +1 -0
  136. package/dist/components/lol/LOLSearchBox.js +105 -0
  137. package/dist/components/lol/LOLSearchBox.js.map +1 -0
  138. package/dist/components/lol/LOLUserLastLogin.js +25 -0
  139. package/dist/components/lol/LOLUserLastLogin.js.map +1 -0
  140. package/dist/components/lol/MockBackendUtils.js +30 -0
  141. package/dist/components/lol/MockBackendUtils.js.map +1 -0
  142. package/dist/components/lol/contexts/LOLGlobalClientRefContext.js +75 -0
  143. package/dist/components/lol/contexts/LOLGlobalClientRefContext.js.map +1 -0
  144. package/dist/components/lol/contexts/LOLUserContext.js +160 -0
  145. package/dist/components/lol/contexts/LOLUserContext.js.map +1 -0
  146. package/dist/components/lol/contexts/LOLUserContextSupport.js +11 -0
  147. package/dist/components/lol/contexts/LOLUserContextSupport.js.map +1 -0
  148. package/dist/components/lol/handlers.js +54 -0
  149. package/dist/components/lol/handlers.js.map +1 -0
  150. package/dist/contexts/LuiMessagingContextProvider.js +38 -0
  151. package/dist/contexts/LuiMessagingContextProvider.js.map +1 -0
  152. package/dist/fonts.js +11 -0
  153. package/dist/fonts.js.map +1 -0
  154. package/dist/hooks/index.js +2 -0
  155. package/dist/hooks/index.js.map +1 -0
  156. package/dist/hooks/useClickedOutsideElement.js +29 -0
  157. package/dist/hooks/useClickedOutsideElement.js.map +1 -0
  158. package/dist/hooks/useDeprecatedWarning.js +9 -0
  159. package/dist/hooks/useDeprecatedWarning.js.map +1 -0
  160. package/dist/index.d.ts +0 -9
  161. package/dist/index.js +5326 -4679
  162. package/dist/index.js.map +1 -1
  163. package/dist/lui.esm.js +5329 -4672
  164. package/dist/lui.esm.js.map +1 -1
  165. package/package.json +18 -19
  166. package/dist/components/LuiBearingInput/LuiBearingInput.d.ts +0 -23
  167. package/dist/components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox.d.ts +0 -9
  168. package/dist/components/LuiFormikForms/LuiFormikForm.d.ts +0 -10
  169. package/dist/components/LuiFormikForms/LuiFormikFormLabel/LuiFormikFormLabel.d.ts +0 -8
  170. package/dist/components/LuiFormikForms/LuiFormikFormSubmitButton/LuiFormikFormSubmitButton.d.ts +0 -6
  171. package/dist/components/LuiFormikForms/LuiFormikRadioButton/LuiFormikRadioButton.d.ts +0 -8
  172. package/dist/components/LuiFormikForms/LuiFormikRadioGroup/LuiFormikRadioGroup.d.ts +0 -7
  173. package/dist/components/LuiFormikForms/LuiFormikSelect/LuiFormikSelect.d.ts +0 -11
  174. package/dist/components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput.d.ts +0 -17
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "17.16.1",
2
+ "version": "17.16.2-1",
3
3
  "license": "MIT",
4
4
  "repository": {
5
5
  "type": "git",
@@ -14,7 +14,7 @@
14
14
  ],
15
15
  "scripts": {
16
16
  "build:sass": "sass src/scss/base.scss dist/lui.css",
17
- "build": "rollup -c && npm run build:sass",
17
+ "build": "tsc && rollup -c && npm run build:sass",
18
18
  "test": "jest --runInBand --detectOpenHandles",
19
19
  "test:watch": "jest --passWithNoTests --watch",
20
20
  "test:clear": "jest --clearCache",
@@ -33,7 +33,8 @@
33
33
  "prettier:fix-changed": "pretty-quick",
34
34
  "clear-cache": "jest --clearCache",
35
35
  "watch-storybook": "start-storybook --port=6006 --static-dir ./src/assets",
36
- "generate-svgs": "echo 'CHECK THAT YOUR SVG HAS A VIEW BOX, otherwise it will not work'; node ./svg-generator"
36
+ "generate-svgs": "echo 'CHECK THAT YOUR SVG HAS A VIEW BOX, otherwise it will not work'; node ./svg-generator",
37
+ "install-react-17": "npm i react@^17 react-dom@^17 && npm i @testing-library/react@^12 @types/react@^17 framer-motion@^4.1"
37
38
  },
38
39
  "peerDependencies": {
39
40
  "react": ">=16",
@@ -47,13 +48,12 @@
47
48
  "name": "@linzjs/lui",
48
49
  "module": "dist/lui.esm.js",
49
50
  "jest": {
51
+ "preset": "ts-jest",
52
+ "testEnvironment": "jsdom",
50
53
  "moduleNameMapper": {
51
54
  "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/__mocks__/fileMock.js",
52
55
  "\\.(css|less|scss)$": "<rootDir>/src/__mocks__/styleMock.js"
53
56
  },
54
- "transform": {
55
- "^.+\\.tsx?$": "esbuild-jest"
56
- },
57
57
  "setupFilesAfterEnv": [
58
58
  "./setupTests.ts"
59
59
  ],
@@ -92,36 +92,35 @@
92
92
  "@storybook/react": "^6.5.0",
93
93
  "@storybook/theming": "^6.5.0",
94
94
  "@testing-library/jest-dom": "^5.8.0",
95
- "@testing-library/react": "^10.0.4",
96
- "@testing-library/user-event": "^10.4.0",
95
+ "@testing-library/react": "^13.0.0",
96
+ "@testing-library/user-event": "^14.0.0",
97
97
  "@types/camelcase": "^5.2.0",
98
- "@types/jest": "^25.2.3",
98
+ "@types/jest": "^27.4.1",
99
99
  "@types/jest-axe": "^3.5.0",
100
- "@types/react": "^16.9.55",
100
+ "@types/react": "^18.0.0",
101
101
  "@types/react-dom": "^16.9.9",
102
102
  "@types/react-helmet": "^6.1.2",
103
- "@types/react-modal": "^3.10.5",
103
+ "@types/react-modal": "^3.13.1",
104
104
  "@types/sass": "^1.16.0",
105
105
  "@types/uuid": "^8.3.1",
106
106
  "@types/yup": "0.29.13",
107
107
  "chromatic": "^4.0.3",
108
108
  "conventional-changelog-conventionalcommits": "^4.6.1",
109
109
  "css-loader": "^3.6.0",
110
- "esbuild": "^0.15.5",
111
- "esbuild-jest": "^0.5.0",
112
110
  "eslint-config-prettier": "8.3.0",
113
111
  "eslint-config-react-app": "^7.0.0",
114
112
  "eslint-plugin-prettier": "4.0.0",
115
113
  "fetch-mock": "^9.11.0",
116
114
  "html-loader": "^1.1.0",
117
115
  "husky": "^4.3.0",
116
+ "jest": "^27.5.1",
118
117
  "jest-axe": "^3.5.0",
119
118
  "jest-canvas-mock": "2.3.1",
120
119
  "msw": "^0.22.2",
121
120
  "npm-run-all": "^4.1.5",
122
121
  "pretty-quick": "^3.1.1",
123
- "react": "^17.0.2",
124
- "react-dom": "^17.0.2",
122
+ "react": "^18.0.0",
123
+ "react-dom": "^18.0.0",
125
124
  "react-helmet": "^6.1.0",
126
125
  "react-is": "^17.0.1",
127
126
  "rollup": "^2.56.3",
@@ -138,6 +137,7 @@
138
137
  "stylelint-config-standard": "^25.0.0",
139
138
  "stylelint-scss": "^4.1.0",
140
139
  "stylelint-suitcss": "^5.0.0",
140
+ "ts-jest": "^27.1.3",
141
141
  "typescript": "^4.7.4",
142
142
  "whatwg-fetch": "^3.4.1",
143
143
  "yup": "^0.29.0"
@@ -148,15 +148,14 @@
148
148
  "@react-aria/listbox": "^3.6.0",
149
149
  "@react-aria/utils": "^3.13.2",
150
150
  "@react-stately/list": "^3.5.2",
151
- "@szhsin/react-menu": "^2.3.3",
151
+ "@szhsin/react-menu": "^3.1.2",
152
152
  "camelcase": "^6.0.0",
153
153
  "clsx": "^1.1.0",
154
154
  "container-query-polyfill": "0.1.2",
155
- "formik": "^2.1.4",
156
- "framer-motion": "4.1.17",
155
+ "framer-motion": "^7.5.2",
157
156
  "lottie-web": "^5.9.1",
158
157
  "react-loading-skeleton": "^3.1.0",
159
- "react-modal": "^3.11.2",
158
+ "react-modal": "^3.15.1",
160
159
  "react-query": "2.26.3",
161
160
  "react-select": "^5.1.0",
162
161
  "resolve-url-loader": "^5.0.0",
@@ -1,23 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- import { LuiCommonInputProps } from '../LuiFormikForms/LuiFormikForm';
3
- interface LuiBearingInputProps {
4
- name: string;
5
- label?: string;
6
- helperInfo?: ReactNode;
7
- tooltip?: string;
8
- value: string;
9
- onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
10
- validationError?: string;
11
- onValidate?: (error: string | null) => void;
12
- /** If true, validationError prop takes precedence over the internalError value. */
13
- preferValidationError?: boolean;
14
- }
15
- export declare const LuiBearingInput: React.FC<React.PropsWithChildren<LuiBearingInputProps & LuiCommonInputProps>>;
16
- interface LuiBearingFormikInputProps {
17
- name: string;
18
- label: string;
19
- /** If true, validationError prop takes precedence over the LuiBearingInput internalError value. */
20
- preferValidationError?: boolean;
21
- }
22
- export declare const LuiBearingFormikInput: React.FC<React.PropsWithChildren<LuiBearingFormikInputProps & LuiCommonInputProps>>;
23
- export {};
@@ -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,8 +0,0 @@
1
- import React from 'react';
2
- export declare const LuiFormikFormLabel: React.FC<React.PropsWithChildren<{
3
- for: string;
4
- label: string;
5
- className?: string;
6
- required?: boolean;
7
- tooltip?: string;
8
- }>>;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- export declare const LuiFormikFormSubmitButton: React.ComponentType<{
3
- className?: string | undefined;
4
- disabled?: boolean | undefined;
5
- 'data-testid'?: string | undefined;
6
- }>;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { LuiCommonInputProps } from '../LuiFormikForm';
3
- export declare const LuiFormikRadioButton: React.FC<React.PropsWithChildren<{
4
- label: string;
5
- className?: string;
6
- value: string;
7
- name: string;
8
- } & LuiCommonInputProps>>;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- export declare const LuiFormikRadioGroup: React.FC<React.PropsWithChildren<{
3
- hint?: string;
4
- legend: string;
5
- name: string;
6
- required?: boolean;
7
- }>>;
@@ -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,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>;