@linzjs/lui 17.16.2-1 → 17.16.2

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 (177) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/assets/icons/waves.svg +1 -1
  3. package/dist/assets/svg-content.tsx +1 -1
  4. package/dist/components/LuiBadge/LuiBadge.d.ts +1 -1
  5. package/dist/components/LuiBearingInput/LuiBearingInput.d.ts +23 -0
  6. package/dist/components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox.d.ts +9 -0
  7. package/dist/components/LuiFormikForms/LuiFormikForm.d.ts +10 -0
  8. package/dist/components/LuiFormikForms/LuiFormikFormLabel/LuiFormikFormLabel.d.ts +8 -0
  9. package/dist/components/LuiFormikForms/LuiFormikFormSubmitButton/LuiFormikFormSubmitButton.d.ts +6 -0
  10. package/dist/components/LuiFormikForms/LuiFormikRadioButton/LuiFormikRadioButton.d.ts +8 -0
  11. package/dist/components/LuiFormikForms/LuiFormikRadioGroup/LuiFormikRadioGroup.d.ts +7 -0
  12. package/dist/components/LuiFormikForms/LuiFormikSelect/LuiFormikSelect.d.ts +11 -0
  13. package/dist/components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput.d.ts +17 -0
  14. package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.d.ts +1 -1
  15. package/dist/index.d.ts +9 -0
  16. package/dist/index.js +4674 -5321
  17. package/dist/index.js.map +1 -1
  18. package/dist/lui.esm.js +4667 -5324
  19. package/dist/lui.esm.js.map +1 -1
  20. package/package.json +19 -18
  21. package/dist/animations/loader-easter.json +0 -2790
  22. package/dist/animations/loader-xmas.json +0 -3813
  23. package/dist/animations/loader.json +0 -1494
  24. package/dist/assets/svg-content.js +0 -323
  25. package/dist/assets/svg-content.js.map +0 -1
  26. package/dist/components/LuiAccordicard/LuiAccordicard.js +0 -55
  27. package/dist/components/LuiAccordicard/LuiAccordicard.js.map +0 -1
  28. package/dist/components/LuiAccordicardStatic/LuiAccordicardStatic.js +0 -17
  29. package/dist/components/LuiAccordicardStatic/LuiAccordicardStatic.js.map +0 -1
  30. package/dist/components/LuiBadge/LuiBadge.js +0 -4
  31. package/dist/components/LuiBadge/LuiBadge.js.map +0 -1
  32. package/dist/components/LuiBanner/LuiBanner.js +0 -26
  33. package/dist/components/LuiBanner/LuiBanner.js.map +0 -1
  34. package/dist/components/LuiButton/LuiButton.js +0 -38
  35. package/dist/components/LuiButton/LuiButton.js.map +0 -1
  36. package/dist/components/LuiError/LuiError.js +0 -10
  37. package/dist/components/LuiError/LuiError.js.map +0 -1
  38. package/dist/components/LuiErrorPage/LuiErrorPage.js +0 -13
  39. package/dist/components/LuiErrorPage/LuiErrorPage.js.map +0 -1
  40. package/dist/components/LuiExpandableBanner/LuiExpandableBanner.js +0 -54
  41. package/dist/components/LuiExpandableBanner/LuiExpandableBanner.js.map +0 -1
  42. package/dist/components/LuiFilterContainer/LuiFilterContainer.js +0 -20
  43. package/dist/components/LuiFilterContainer/LuiFilterContainer.js.map +0 -1
  44. package/dist/components/LuiFilterMenu/LuiFilterMenu.js +0 -50
  45. package/dist/components/LuiFilterMenu/LuiFilterMenu.js.map +0 -1
  46. package/dist/components/LuiFooter/LuiFooter.js +0 -37
  47. package/dist/components/LuiFooter/LuiFooter.js.map +0 -1
  48. package/dist/components/LuiFormElements/ClearableLuiTextInput/ClearableLuiTextInput.js +0 -21
  49. package/dist/components/LuiFormElements/ClearableLuiTextInput/ClearableLuiTextInput.js.map +0 -1
  50. package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.js +0 -23
  51. package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.js.map +0 -1
  52. package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.js +0 -90
  53. package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.js.map +0 -1
  54. package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInput.js +0 -41
  55. package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInput.js.map +0 -1
  56. package/dist/components/LuiFormElements/LuiSelectInput/LuiSelectInput.js +0 -22
  57. package/dist/components/LuiFormElements/LuiSelectInput/LuiSelectInput.js.map +0 -1
  58. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.js +0 -20
  59. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.js.map +0 -1
  60. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.js +0 -29
  61. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.js.map +0 -1
  62. package/dist/components/LuiForms/LuiComboSelect/LuiComboSelect.js +0 -54
  63. package/dist/components/LuiForms/LuiComboSelect/LuiComboSelect.js.map +0 -1
  64. package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.js +0 -9
  65. package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.js.map +0 -1
  66. package/dist/components/LuiForms/LuiFormSection/LuiHelpInfo/LuiHelpInfo.js +0 -7
  67. package/dist/components/LuiForms/LuiFormSection/LuiHelpInfo/LuiHelpInfo.js.map +0 -1
  68. package/dist/components/LuiHeader/LuiHeader.js +0 -79
  69. package/dist/components/LuiHeader/LuiHeader.js.map +0 -1
  70. package/dist/components/LuiHeaderMenu/LuiHeaderMenus.js +0 -73
  71. package/dist/components/LuiHeaderMenu/LuiHeaderMenus.js.map +0 -1
  72. package/dist/components/LuiIcon/LuiIcon.js +0 -39
  73. package/dist/components/LuiIcon/LuiIcon.js.map +0 -1
  74. package/dist/components/LuiListBox/LuiListBox.js +0 -60
  75. package/dist/components/LuiListBox/LuiListBox.js.map +0 -1
  76. package/dist/components/LuiListBox/LuiListBoxGroup.js +0 -15
  77. package/dist/components/LuiListBox/LuiListBoxGroup.js.map +0 -1
  78. package/dist/components/LuiListBox/LuiListBoxItem.js +0 -20
  79. package/dist/components/LuiListBox/LuiListBoxItem.js.map +0 -1
  80. package/dist/components/LuiListBox/Renderers/CheckboxItemRenderer.js +0 -10
  81. package/dist/components/LuiListBox/Renderers/CheckboxItemRenderer.js.map +0 -1
  82. package/dist/components/LuiListBox/Renderers/RadioItemRenderer.js +0 -7
  83. package/dist/components/LuiListBox/Renderers/RadioItemRenderer.js.map +0 -1
  84. package/dist/components/LuiListBox/useLuiListBox.js +0 -60
  85. package/dist/components/LuiListBox/useLuiListBox.js.map +0 -1
  86. package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.js +0 -62
  87. package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.js.map +0 -1
  88. package/dist/components/LuiLoadingSpinner/LuiLottieLight.js +0 -28
  89. package/dist/components/LuiLoadingSpinner/LuiLottieLight.js.map +0 -1
  90. package/dist/components/LuiMenu/LuiMenu.js +0 -18
  91. package/dist/components/LuiMenu/LuiMenu.js.map +0 -1
  92. package/dist/components/LuiMenuTrigger/LuiMenuTrigger.js +0 -10
  93. package/dist/components/LuiMenuTrigger/LuiMenuTrigger.js.map +0 -1
  94. package/dist/components/LuiModal/LuiModal.js +0 -57
  95. package/dist/components/LuiModal/LuiModal.js.map +0 -1
  96. package/dist/components/LuiModal/LuiModalContext.js +0 -30
  97. package/dist/components/LuiModal/LuiModalContext.js.map +0 -1
  98. package/dist/components/LuiSearchBox/LuiSearchBox.js +0 -67
  99. package/dist/components/LuiSearchBox/LuiSearchBox.js.map +0 -1
  100. package/dist/components/LuiSearchInput/LuiSearchInput.js +0 -184
  101. package/dist/components/LuiSearchInput/LuiSearchInput.js.map +0 -1
  102. package/dist/components/LuiSearchInput/ResultsDisplay.js +0 -38
  103. package/dist/components/LuiSearchInput/ResultsDisplay.js.map +0 -1
  104. package/dist/components/LuiSelectMenu/LuiSelectDataMenu.js +0 -34
  105. package/dist/components/LuiSelectMenu/LuiSelectDataMenu.js.map +0 -1
  106. package/dist/components/LuiSelectMenu/LuiSelectMenu.js +0 -29
  107. package/dist/components/LuiSelectMenu/LuiSelectMenu.js.map +0 -1
  108. package/dist/components/LuiShadow/LuiShadow.js +0 -6
  109. package/dist/components/LuiShadow/LuiShadow.js.map +0 -1
  110. package/dist/components/LuiSidePanel/LuiSidePanel.js +0 -51
  111. package/dist/components/LuiSidePanel/LuiSidePanel.js.map +0 -1
  112. package/dist/components/LuiSidePanel/LuiSidePanelHelper.js +0 -31
  113. package/dist/components/LuiSidePanel/LuiSidePanelHelper.js.map +0 -1
  114. package/dist/components/LuiStaticMessage/LuiStaticMessage.js +0 -17
  115. package/dist/components/LuiStaticMessage/LuiStaticMessage.js.map +0 -1
  116. package/dist/components/LuiSwitchButton/LuiSwitchButton.js +0 -12
  117. package/dist/components/LuiSwitchButton/LuiSwitchButton.js.map +0 -1
  118. package/dist/components/LuiTabs/LuiTab/LuiTab.js +0 -6
  119. package/dist/components/LuiTabs/LuiTab/LuiTab.js.map +0 -1
  120. package/dist/components/LuiTabs/LuiTabs.js +0 -11
  121. package/dist/components/LuiTabs/LuiTabs.js.map +0 -1
  122. package/dist/components/LuiTabs/LuiTabsGroup/LuiTabsGroup.js +0 -6
  123. package/dist/components/LuiTabs/LuiTabsGroup/LuiTabsGroup.js.map +0 -1
  124. package/dist/components/LuiTabs/LuiTabsPanel/LuiTabsPanel.js +0 -16
  125. package/dist/components/LuiTabs/LuiTabsPanel/LuiTabsPanel.js.map +0 -1
  126. package/dist/components/LuiTabs/LuiTabsPanelSwitch/LuiTabsPanelSwitch.js +0 -12
  127. package/dist/components/LuiTabs/LuiTabsPanelSwitch/LuiTabsPanelSwitch.js.map +0 -1
  128. package/dist/components/LuiToastMessage/LuiToastMessage.js +0 -47
  129. package/dist/components/LuiToastMessage/LuiToastMessage.js.map +0 -1
  130. package/dist/components/LuiTooltip/LuiTooltip.js +0 -32
  131. package/dist/components/LuiTooltip/LuiTooltip.js.map +0 -1
  132. package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.js +0 -41
  133. package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.js.map +0 -1
  134. package/dist/components/common/Hooks.js +0 -51
  135. package/dist/components/common/Hooks.js.map +0 -1
  136. package/dist/components/common/ResponsiveUtils.js +0 -16
  137. package/dist/components/common/ResponsiveUtils.js.map +0 -1
  138. package/dist/components/common/StorybookSupport.js +0 -14
  139. package/dist/components/common/StorybookSupport.js.map +0 -1
  140. package/dist/components/lol/LOLActiveFirmMessage.js +0 -30
  141. package/dist/components/lol/LOLActiveFirmMessage.js.map +0 -1
  142. package/dist/components/lol/LOLAppLauncherMenu.js +0 -86
  143. package/dist/components/lol/LOLAppLauncherMenu.js.map +0 -1
  144. package/dist/components/lol/LOLAuthorisedLink.js +0 -35
  145. package/dist/components/lol/LOLAuthorisedLink.js.map +0 -1
  146. package/dist/components/lol/LOLCommonDrawerMenu.js +0 -58
  147. package/dist/components/lol/LOLCommonDrawerMenu.js.map +0 -1
  148. package/dist/components/lol/LOLDrawerMenuFirmSwitcher.js +0 -21
  149. package/dist/components/lol/LOLDrawerMenuFirmSwitcher.js.map +0 -1
  150. package/dist/components/lol/LOLFirmSwitcher.js +0 -84
  151. package/dist/components/lol/LOLFirmSwitcher.js.map +0 -1
  152. package/dist/components/lol/LOLLogoutLink.js +0 -46
  153. package/dist/components/lol/LOLLogoutLink.js.map +0 -1
  154. package/dist/components/lol/LOLSearchBox.js +0 -105
  155. package/dist/components/lol/LOLSearchBox.js.map +0 -1
  156. package/dist/components/lol/LOLUserLastLogin.js +0 -25
  157. package/dist/components/lol/LOLUserLastLogin.js.map +0 -1
  158. package/dist/components/lol/MockBackendUtils.js +0 -30
  159. package/dist/components/lol/MockBackendUtils.js.map +0 -1
  160. package/dist/components/lol/contexts/LOLGlobalClientRefContext.js +0 -75
  161. package/dist/components/lol/contexts/LOLGlobalClientRefContext.js.map +0 -1
  162. package/dist/components/lol/contexts/LOLUserContext.js +0 -160
  163. package/dist/components/lol/contexts/LOLUserContext.js.map +0 -1
  164. package/dist/components/lol/contexts/LOLUserContextSupport.js +0 -11
  165. package/dist/components/lol/contexts/LOLUserContextSupport.js.map +0 -1
  166. package/dist/components/lol/handlers.js +0 -54
  167. package/dist/components/lol/handlers.js.map +0 -1
  168. package/dist/contexts/LuiMessagingContextProvider.js +0 -38
  169. package/dist/contexts/LuiMessagingContextProvider.js.map +0 -1
  170. package/dist/fonts.js +0 -11
  171. package/dist/fonts.js.map +0 -1
  172. package/dist/hooks/index.js +0 -2
  173. package/dist/hooks/index.js.map +0 -1
  174. package/dist/hooks/useClickedOutsideElement.js +0 -29
  175. package/dist/hooks/useClickedOutsideElement.js.map +0 -1
  176. package/dist/hooks/useDeprecatedWarning.js +0 -9
  177. package/dist/hooks/useDeprecatedWarning.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ ## [17.16.2](https://github.com/linz/lui/compare/v17.16.1...v17.16.2) (2022-10-10)
2
+
1
3
  ## [17.16.1](https://github.com/linz/lui/compare/v17.16.0...v17.16.1) (2022-10-06)
2
4
 
3
5
 
@@ -1 +1 @@
1
- <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M17 16.99c-1.35 0-2.2.42-2.95.8-.65.33-1.18.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.38-1.57-.8-2.95-.8-1.38 0-2.2.42-2.95.8-.65.33-1.17.6-2.05.6v1.95c1.35 0 2.2-.42 2.95-.8.65-.33 1.17-.6 2.05-.6.88 0 1.4.25 2.05.6.75.38 1.57.8 2.95.8 1.38 0 2.2-.42 2.95-.8.65-.33 1.18-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8v-1.95c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8Zm0-4.45c-1.35 0-2.2.43-2.95.8-.65.32-1.18.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.38-1.57-.8-2.95-.8-1.38 0-2.2.43-2.95.8-.65.32-1.17.6-2.05.6v1.95c1.35 0 2.2-.43 2.95-.8.65-.35 1.15-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.57.8 2.95.8 1.38 0 2.2-.43 2.95-.8.65-.35 1.15-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8v-1.95c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8Zm2.95-8.08c-.75-.38-1.58-.8-2.95-.8s-2.2.42-2.95.8c-.65.32-1.18.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.37-1.57-.8-2.95-.8-1.38 0-2.2.42-2.95.8-.65.33-1.17.6-2.05.6v1.93c1.35 0 2.2-.43 2.95-.8.65-.33 1.17-.6 2.05-.6.88 0 1.4.25 2.05.6.75.38 1.57.8 2.95.8 1.38 0 2.2-.43 2.95-.8.65-.32 1.18-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8V5.04c-.9 0-1.4-.25-2.05-.58ZM17 8.09c-1.35 0-2.2.43-2.95.8-.65.35-1.15.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.38-1.57-.8-2.95-.8-1.38 0-2.2.43-2.95.8-.65.35-1.15.6-2.05.6v1.95c1.35 0 2.2-.43 2.95-.8.65-.32 1.18-.6 2.05-.6.87 0 1.4.25 2.05.6.75.38 1.57.8 2.95.8 1.38 0 2.2-.43 2.95-.8.65-.32 1.18-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8V9.49c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8Z"/></svg>
1
+ <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M17 14.9c-1.35 0-2.2.42-2.95.8-.65.33-1.18.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.38-1.57-.8-2.95-.8-1.38 0-2.2.42-2.95.8-.65.33-1.17.6-2.05.6v1.95c1.35 0 2.2-.42 2.95-.8.65-.33 1.17-.6 2.05-.6.88 0 1.4.25 2.05.6.75.38 1.57.8 2.95.8 1.38 0 2.2-.42 2.95-.8.65-.33 1.18-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8V16.3c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8Zm0-4.45c-1.35 0-2.2.43-2.95.8-.65.32-1.18.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.38-1.57-.8-2.95-.8-1.38 0-2.2.43-2.95.8-.65.32-1.17.6-2.05.6v1.95c1.35 0 2.2-.43 2.95-.8.65-.35 1.15-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.57.8 2.95.8 1.38 0 2.2-.43 2.95-.8.65-.35 1.15-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8v-1.95c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8ZM17 6c-1.35 0-2.2.43-2.95.8-.65.35-1.15.6-2.05.6-.9 0-1.4-.25-2.05-.6C9.2 6.42 8.38 6 7 6c-1.38 0-2.2.43-2.95.8-.65.35-1.15.6-2.05.6v1.95c1.35 0 2.2-.43 2.95-.8.65-.32 1.18-.6 2.05-.6.87 0 1.4.25 2.05.6.75.38 1.57.8 2.95.8 1.38 0 2.2-.43 2.95-.8.65-.32 1.18-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8V7.4c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8Z" fill="#000"/></svg>
@@ -897,7 +897,7 @@ iconMap['ic_warning_outline'] = (
897
897
 
898
898
  iconMap['ic_waves'] = (
899
899
  <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
900
- <path d="M17 16.99c-1.35 0-2.2.42-2.95.8-.65.33-1.18.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.38-1.57-.8-2.95-.8-1.38 0-2.2.42-2.95.8-.65.33-1.17.6-2.05.6v1.95c1.35 0 2.2-.42 2.95-.8.65-.33 1.17-.6 2.05-.6.88 0 1.4.25 2.05.6.75.38 1.57.8 2.95.8 1.38 0 2.2-.42 2.95-.8.65-.33 1.18-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8v-1.95c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8Zm0-4.45c-1.35 0-2.2.43-2.95.8-.65.32-1.18.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.38-1.57-.8-2.95-.8-1.38 0-2.2.43-2.95.8-.65.32-1.17.6-2.05.6v1.95c1.35 0 2.2-.43 2.95-.8.65-.35 1.15-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.57.8 2.95.8 1.38 0 2.2-.43 2.95-.8.65-.35 1.15-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8v-1.95c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8Zm2.95-8.08c-.75-.38-1.58-.8-2.95-.8s-2.2.42-2.95.8c-.65.32-1.18.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.37-1.57-.8-2.95-.8-1.38 0-2.2.42-2.95.8-.65.33-1.17.6-2.05.6v1.93c1.35 0 2.2-.43 2.95-.8.65-.33 1.17-.6 2.05-.6.88 0 1.4.25 2.05.6.75.38 1.57.8 2.95.8 1.38 0 2.2-.43 2.95-.8.65-.32 1.18-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8V5.04c-.9 0-1.4-.25-2.05-.58ZM17 8.09c-1.35 0-2.2.43-2.95.8-.65.35-1.15.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.38-1.57-.8-2.95-.8-1.38 0-2.2.43-2.95.8-.65.35-1.15.6-2.05.6v1.95c1.35 0 2.2-.43 2.95-.8.65-.32 1.18-.6 2.05-.6.87 0 1.4.25 2.05.6.75.38 1.57.8 2.95.8 1.38 0 2.2-.43 2.95-.8.65-.32 1.18-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8V9.49c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8Z" />
900
+ <path d="M17 14.9c-1.35 0-2.2.42-2.95.8-.65.33-1.18.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.38-1.57-.8-2.95-.8-1.38 0-2.2.42-2.95.8-.65.33-1.17.6-2.05.6v1.95c1.35 0 2.2-.42 2.95-.8.65-.33 1.17-.6 2.05-.6.88 0 1.4.25 2.05.6.75.38 1.57.8 2.95.8 1.38 0 2.2-.42 2.95-.8.65-.33 1.18-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8V16.3c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8Zm0-4.45c-1.35 0-2.2.43-2.95.8-.65.32-1.18.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.38-1.57-.8-2.95-.8-1.38 0-2.2.43-2.95.8-.65.32-1.17.6-2.05.6v1.95c1.35 0 2.2-.43 2.95-.8.65-.35 1.15-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.57.8 2.95.8 1.38 0 2.2-.43 2.95-.8.65-.35 1.15-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8v-1.95c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8ZM17 6c-1.35 0-2.2.43-2.95.8-.65.35-1.15.6-2.05.6-.9 0-1.4-.25-2.05-.6C9.2 6.42 8.38 6 7 6c-1.38 0-2.2.43-2.95.8-.65.35-1.15.6-2.05.6v1.95c1.35 0 2.2-.43 2.95-.8.65-.32 1.18-.6 2.05-.6.87 0 1.4.25 2.05.6.75.38 1.57.8 2.95.8 1.38 0 2.2-.43 2.95-.8.65-.32 1.18-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8V7.4c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8Z" />
901
901
  </svg>
902
902
  );
903
903
 
@@ -4,6 +4,6 @@ export interface ILuiBadge {
4
4
  size?: 'sm' | 'default' | 'lg';
5
5
  backgroundFill?: boolean;
6
6
  variation?: 'default' | 'warning';
7
- ariaRoleDescription?: string;
7
+ ariaRoleDescription: string;
8
8
  }
9
9
  export declare const LuiBadge: (props: ILuiBadge) => JSX.Element;
@@ -0,0 +1,23 @@
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 {};
@@ -0,0 +1,9 @@
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;
@@ -0,0 +1,10 @@
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
+ }
@@ -0,0 +1,8 @@
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
+ }>>;
@@ -0,0 +1,6 @@
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
+ }>;
@@ -0,0 +1,8 @@
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>>;
@@ -0,0 +1,7 @@
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
+ }>>;
@@ -0,0 +1,11 @@
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>;
@@ -0,0 +1,17 @@
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>;
@@ -3,7 +3,7 @@ export declare const LuiUpdatesSplashModal: React.FC<React.PropsWithChildren<{
3
3
  bigImage: string;
4
4
  smallImage: string;
5
5
  header: string;
6
- wrapperClass?: string;
6
+ wrapperClass: string;
7
7
  onClose: () => void;
8
8
  id: string;
9
9
  }>>;
package/dist/index.d.ts CHANGED
@@ -14,13 +14,22 @@ export { LuiTab } from './components/LuiTabs/LuiTab/LuiTab';
14
14
  export { LuiTabsGroup } from './components/LuiTabs/LuiTabsGroup/LuiTabsGroup';
15
15
  export { LuiTabsPanel } from './components/LuiTabs/LuiTabsPanel/LuiTabsPanel';
16
16
  export { LuiTabsPanelSwitch } from './components/LuiTabs/LuiTabsPanelSwitch/LuiTabsPanelSwitch';
17
+ export { LuiCommonInputProps, LuiFormikForm, } from './components/LuiFormikForms/LuiFormikForm';
17
18
  export { LuiCheckboxInput } from './components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput';
18
19
  export { LuiFileInputBox } from './components/LuiFormElements/LuiFileInputBox/LuiFileInputBox';
19
20
  export { LuiSelectInput } from './components/LuiFormElements/LuiSelectInput/LuiSelectInput';
20
21
  export { LuiTextAreaInput } from './components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput';
21
22
  export { LuiTextInput } from './components/LuiFormElements/LuiTextInput/LuiTextInput';
22
23
  export { LuiRadioInput } from './components/LuiFormElements/LuiRadioInput/LuiRadioInput';
24
+ export { LuiFormikCheckbox } from './components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox';
25
+ export { LuiFormikTextInput } from './components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput';
26
+ export { LuiFormikFormLabel } from './components/LuiFormikForms/LuiFormikFormLabel/LuiFormikFormLabel';
27
+ export { LuiFormikRadioButton } from './components/LuiFormikForms/LuiFormikRadioButton/LuiFormikRadioButton';
28
+ export { LuiFormikRadioGroup } from './components/LuiFormikForms/LuiFormikRadioGroup/LuiFormikRadioGroup';
29
+ export { LuiFormikFormSubmitButton } from './components/LuiFormikForms/LuiFormikFormSubmitButton/LuiFormikFormSubmitButton';
30
+ export { LuiFormikSelect } from './components/LuiFormikForms/LuiFormikSelect/LuiFormikSelect';
23
31
  export { LuiIcon } from './components/LuiIcon/LuiIcon';
32
+ export { LuiBearingFormikInput, LuiBearingInput, } from './components/LuiBearingInput/LuiBearingInput';
24
33
  export { LuiFooter } from './components/LuiFooter/LuiFooter';
25
34
  export { LuiComboSelect, LuiComboSelectProps, LuiComboSelectOption, } from './components/LuiForms/LuiComboSelect/LuiComboSelect';
26
35
  export { LuiFormSectionHeader, IFormSectionHeaderProps, } from './components/LuiForms/LuiFormSection/LuiFormSectionHeader';