@onewelcome/react-lib-components 2.3.0 → 3.0.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 (602) hide show
  1. package/dist/cjs/Button/BaseButton.module.cjs.js +1 -1
  2. package/dist/cjs/Button/Button.module.cjs.js +1 -1
  3. package/dist/cjs/Button/IconButton.module.cjs.js +1 -1
  4. package/dist/cjs/DataGrid/DataGridBody/DataGridCell.module.cjs.js +1 -1
  5. package/dist/cjs/Form/Fieldset/Fieldset.module.cjs.js +1 -1
  6. package/dist/cjs/Form/FormGroup/FormGroup.cjs.js +1 -1
  7. package/dist/cjs/Form/FormGroup/FormGroup.module.cjs.js +1 -1
  8. package/dist/cjs/Form/FormHelperText/FormHelperText.cjs.js +1 -1
  9. package/dist/cjs/Form/FormHelperText/FormHelperText.module.cjs.js +1 -1
  10. package/dist/cjs/Form/Input/Input.module.cjs.js +1 -1
  11. package/dist/cjs/Form/Select/Option.cjs.js +1 -1
  12. package/dist/cjs/Form/Select/Select.cjs.js +1 -1
  13. package/dist/cjs/Form/Select/Select.module.cjs.js +1 -1
  14. package/dist/cjs/Form/Select/SelectService.cjs.js +1 -1
  15. package/dist/cjs/Form/Textarea/Textarea.module.cjs.js +1 -1
  16. package/dist/cjs/Form/Toggle/Toggle.cjs.js +1 -1
  17. package/dist/cjs/Form/Toggle/Toggle.module.cjs.js +1 -1
  18. package/dist/cjs/Form/Wrapper/InputWrapper/InputWrapper.module.cjs.js +1 -1
  19. package/dist/cjs/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.cjs.js +1 -1
  20. package/dist/cjs/Form/Wrapper/Wrapper/Wrapper.cjs.js +1 -1
  21. package/dist/cjs/Form/Wrapper/Wrapper/Wrapper.module.cjs.js +1 -1
  22. package/dist/cjs/Icon/Icon.cjs.js +1 -1
  23. package/dist/cjs/Icon/Icon.module.cjs.js +1 -1
  24. package/dist/cjs/Link/Link.module.cjs.js +1 -1
  25. package/dist/cjs/Notifications/BaseModal/BaseModal.cjs.js +1 -1
  26. package/dist/cjs/Notifications/BaseModal/BaseModal.module.cjs.js +1 -1
  27. package/dist/cjs/Notifications/BaseModal/BaseModalActions/BaseModalActions.cjs.js +1 -1
  28. package/dist/cjs/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.cjs.js +1 -1
  29. package/dist/cjs/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.cjs.js +1 -1
  30. package/dist/cjs/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.cjs.js +1 -1
  31. package/dist/cjs/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.cjs.js +1 -1
  32. package/dist/cjs/Notifications/Dialog/Dialog.cjs.js +1 -1
  33. package/dist/cjs/Notifications/Dialog/Dialog.module.cjs.js +1 -1
  34. package/dist/cjs/Notifications/Dialog/DialogActions/DialogActions.cjs.js +1 -1
  35. package/dist/cjs/Notifications/Dialog/DialogActions/DialogActions.module.cjs.js +1 -1
  36. package/dist/cjs/Notifications/Dialog/DialogTitle/DialogTitle.cjs.js +1 -1
  37. package/dist/cjs/Notifications/Dialog/DialogTitle/DialogTitle.module.cjs.js +1 -1
  38. package/dist/cjs/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.cjs.js +1 -1
  39. package/dist/cjs/Notifications/NotificationProvider/NotificationContext.cjs.js +2 -0
  40. package/dist/cjs/Notifications/NotificationProvider/NotificationContext.cjs.js.map +1 -0
  41. package/dist/cjs/Notifications/NotificationProvider/NotificationService.cjs.js +2 -0
  42. package/dist/cjs/Notifications/NotificationProvider/NotificationService.cjs.js.map +1 -0
  43. package/dist/cjs/Notifications/SlideInModal/SlideInModal.module.cjs.js +1 -1
  44. package/dist/cjs/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.module.cjs.js +1 -1
  45. package/dist/cjs/Notifications/Snackbar/SnackbarItem/SnackbarItem.cjs.js +1 -1
  46. package/dist/cjs/Notifications/Snackbar/SnackbarItem/SnackbarItem.module.cjs.js +1 -1
  47. package/dist/cjs/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.cjs.js +1 -1
  48. package/dist/cjs/Notifications/Snackbar/SnackbarProvider/SnackbarStateProvider.cjs.js +1 -1
  49. package/dist/cjs/Notifications/Snackbar/useSnackbar.cjs.js +1 -1
  50. package/dist/cjs/Pagination/Pagination.cjs.js +1 -1
  51. package/dist/cjs/Pagination/Pagination.module.cjs.js +1 -1
  52. package/dist/cjs/Popover/Popover.cjs.js +1 -1
  53. package/dist/cjs/Popover/Popover.module.cjs.js +1 -1
  54. package/dist/cjs/ProgressBar/ProgressBar.cjs.js +1 -1
  55. package/dist/cjs/ProgressBar/ProgressBar.module.cjs.js +1 -1
  56. package/dist/cjs/Skeleton/Skeleton.module.cjs.js +1 -1
  57. package/dist/cjs/Tabs/Tabs.module.cjs.js +1 -1
  58. package/dist/cjs/Tiles/Tile.module.cjs.js +1 -1
  59. package/dist/cjs/Tooltip/Tooltip.cjs.js +1 -1
  60. package/dist/cjs/Tooltip/Tooltip.module.cjs.js +1 -1
  61. package/dist/cjs/Wizard/WizardActions/WizardActions.cjs.js +1 -1
  62. package/dist/cjs/_BaseStyling_/BaseStyling.cjs.js +1 -1
  63. package/dist/{esm → cjs/src}/components/Form/FormHelperText/FormHelperText.d.ts +1 -0
  64. package/dist/cjs/{components → src/components}/Form/Select/Option.d.ts +2 -2
  65. package/dist/{esm → cjs/src}/components/Form/Select/Select.d.ts +1 -0
  66. package/dist/{esm → cjs/src}/components/Form/Select/Select.interfaces.d.ts +3 -3
  67. package/dist/{esm → cjs/src}/components/Form/Select/SelectService.d.ts +1 -1
  68. package/dist/cjs/{components → src/components}/Form/Toggle/Toggle.d.ts +5 -0
  69. package/dist/cjs/{components → src/components}/Icon/Icon.d.ts +1 -0
  70. package/dist/cjs/{components → src/components}/Notifications/BaseModal/BaseModalActions/BaseModalActions.d.ts +6 -0
  71. package/dist/cjs/{components → src/components}/Notifications/Dialog/Dialog.d.ts +4 -1
  72. package/dist/cjs/{components → src/components}/Notifications/Dialog/DialogActions/DialogActions.d.ts +2 -2
  73. package/dist/cjs/{components → src/components}/Notifications/Dialog/DialogTitle/DialogTitle.d.ts +2 -0
  74. package/dist/cjs/{components → src/components}/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.d.ts +2 -0
  75. package/dist/cjs/src/components/Notifications/NotificationProvider/NotificationContext.d.ts +35 -0
  76. package/dist/cjs/src/components/Notifications/NotificationProvider/NotificationService.d.ts +2 -0
  77. package/dist/cjs/src/components/Notifications/NotificationProvider/notification.interfaces.d.ts +46 -0
  78. package/dist/{esm → cjs/src}/components/Notifications/Snackbar/SnackbarItem/SnackbarItem.d.ts +3 -2
  79. package/dist/{esm → cjs/src}/components/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.d.ts +2 -1
  80. package/dist/cjs/{components → src/components}/Notifications/Snackbar/SnackbarProvider/SnackbarStateProvider.d.ts +4 -3
  81. package/dist/{esm → cjs/src}/components/Notifications/Snackbar/interfaces.d.ts +2 -1
  82. package/dist/cjs/src/components/Notifications/Snackbar/useSnackbar.d.ts +6 -0
  83. package/dist/{esm → cjs/src}/components/Pagination/Pagination.d.ts +1 -1
  84. package/dist/cjs/{components → src/components}/ProgressBar/ProgressBar.d.ts +4 -1
  85. package/dist/cjs/src/components/Tag/Tag.d.ts +10 -0
  86. package/dist/{esm → cjs/src}/components/Tooltip/Tooltip.d.ts +5 -5
  87. package/dist/cjs/src/components/Wizard/WizardActions/WizardActions.d.ts +28 -0
  88. package/dist/cjs/{components → src/components}/_BaseStyling_/BaseStyling.d.ts +7 -2
  89. package/dist/cjs/src/hooks/useDetermineStatusIcon.cjs.js +1 -1
  90. package/dist/cjs/src/hooks/usePosition.cjs.js +1 -1
  91. package/dist/cjs/{hooks → src/hooks}/usePosition.d.ts +1 -0
  92. package/dist/cjs/src/index.cjs.js +1 -1
  93. package/dist/cjs/{index.d.ts → src/index.d.ts} +3 -0
  94. package/dist/cjs/{interfaces.d.ts → src/interfaces.d.ts} +3 -0
  95. package/dist/cjs/src/util/helper.cjs.js +1 -1
  96. package/dist/{esm → cjs/src}/util/helper.d.ts +5 -0
  97. package/dist/cjs/stories/utils/useStoryCentring.d.ts +1 -0
  98. package/dist/esm/Button/BaseButton.module.esm.js +1 -1
  99. package/dist/esm/Button/Button.module.esm.js +1 -1
  100. package/dist/esm/Button/IconButton.module.esm.js +1 -1
  101. package/dist/esm/DataGrid/DataGridBody/DataGridCell.module.esm.js +1 -1
  102. package/dist/esm/Form/Fieldset/Fieldset.module.esm.js +1 -1
  103. package/dist/esm/Form/FormGroup/FormGroup.esm.js +1 -1
  104. package/dist/esm/Form/FormGroup/FormGroup.module.esm.js +1 -1
  105. package/dist/esm/Form/FormHelperText/FormHelperText.esm.js +1 -1
  106. package/dist/esm/Form/FormHelperText/FormHelperText.module.esm.js +1 -1
  107. package/dist/esm/Form/Input/Input.module.esm.js +1 -1
  108. package/dist/esm/Form/Select/Option.esm.js +1 -1
  109. package/dist/esm/Form/Select/Select.esm.js +1 -1
  110. package/dist/esm/Form/Select/Select.module.esm.js +1 -1
  111. package/dist/esm/Form/Select/SelectService.esm.js +1 -1
  112. package/dist/esm/Form/Textarea/Textarea.module.esm.js +1 -1
  113. package/dist/esm/Form/Toggle/Toggle.esm.js +1 -1
  114. package/dist/esm/Form/Toggle/Toggle.module.esm.js +1 -1
  115. package/dist/esm/Form/Wrapper/InputWrapper/InputWrapper.module.esm.js +1 -1
  116. package/dist/esm/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.esm.js +1 -1
  117. package/dist/esm/Form/Wrapper/Wrapper/Wrapper.esm.js +1 -1
  118. package/dist/esm/Form/Wrapper/Wrapper/Wrapper.module.esm.js +1 -1
  119. package/dist/esm/Icon/Icon.esm.js +1 -1
  120. package/dist/esm/Icon/Icon.module.esm.js +1 -1
  121. package/dist/esm/Link/Link.module.esm.js +1 -1
  122. package/dist/esm/Notifications/BaseModal/BaseModal.esm.js +1 -1
  123. package/dist/esm/Notifications/BaseModal/BaseModal.module.esm.js +1 -1
  124. package/dist/esm/Notifications/BaseModal/BaseModalActions/BaseModalActions.esm.js +1 -1
  125. package/dist/esm/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.esm.js +1 -1
  126. package/dist/esm/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.esm.js +1 -1
  127. package/dist/esm/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.esm.js +1 -1
  128. package/dist/esm/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.esm.js +1 -1
  129. package/dist/esm/Notifications/Dialog/Dialog.esm.js +1 -1
  130. package/dist/esm/Notifications/Dialog/Dialog.module.esm.js +1 -1
  131. package/dist/esm/Notifications/Dialog/DialogActions/DialogActions.esm.js +1 -1
  132. package/dist/esm/Notifications/Dialog/DialogActions/DialogActions.module.esm.js +1 -1
  133. package/dist/esm/Notifications/Dialog/DialogTitle/DialogTitle.esm.js +1 -1
  134. package/dist/esm/Notifications/Dialog/DialogTitle/DialogTitle.module.esm.js +1 -1
  135. package/dist/esm/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.esm.js +1 -1
  136. package/dist/esm/Notifications/NotificationProvider/NotificationContext.esm.js +2 -0
  137. package/dist/esm/Notifications/NotificationProvider/NotificationContext.esm.js.map +1 -0
  138. package/dist/esm/Notifications/NotificationProvider/NotificationService.esm.js +2 -0
  139. package/dist/esm/Notifications/NotificationProvider/NotificationService.esm.js.map +1 -0
  140. package/dist/esm/Notifications/SlideInModal/SlideInModal.module.esm.js +1 -1
  141. package/dist/esm/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.module.esm.js +1 -1
  142. package/dist/esm/Notifications/Snackbar/SnackbarItem/SnackbarItem.esm.js +1 -1
  143. package/dist/esm/Notifications/Snackbar/SnackbarItem/SnackbarItem.module.esm.js +1 -1
  144. package/dist/esm/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.esm.js +1 -1
  145. package/dist/esm/Notifications/Snackbar/SnackbarProvider/SnackbarStateProvider.esm.js +1 -1
  146. package/dist/esm/Notifications/Snackbar/useSnackbar.esm.js +1 -1
  147. package/dist/esm/Pagination/Pagination.esm.js +1 -1
  148. package/dist/esm/Pagination/Pagination.module.esm.js +1 -1
  149. package/dist/esm/Popover/Popover.esm.js +1 -1
  150. package/dist/esm/Popover/Popover.module.esm.js +1 -1
  151. package/dist/esm/ProgressBar/ProgressBar.esm.js +1 -1
  152. package/dist/esm/ProgressBar/ProgressBar.module.esm.js +1 -1
  153. package/dist/esm/Skeleton/Skeleton.module.esm.js +1 -1
  154. package/dist/esm/Tabs/Tabs.module.esm.js +1 -1
  155. package/dist/esm/Tiles/Tile.module.esm.js +1 -1
  156. package/dist/esm/Tooltip/Tooltip.esm.js +1 -1
  157. package/dist/esm/Tooltip/Tooltip.module.esm.js +1 -1
  158. package/dist/esm/Wizard/WizardActions/WizardActions.esm.js +1 -1
  159. package/dist/esm/_BaseStyling_/BaseStyling.esm.js +1 -1
  160. package/dist/{cjs → esm/src}/components/Form/FormHelperText/FormHelperText.d.ts +1 -0
  161. package/dist/esm/{components → src/components}/Form/Select/Option.d.ts +2 -2
  162. package/dist/{cjs → esm/src}/components/Form/Select/Select.d.ts +1 -0
  163. package/dist/{cjs → esm/src}/components/Form/Select/Select.interfaces.d.ts +3 -3
  164. package/dist/{cjs → esm/src}/components/Form/Select/SelectService.d.ts +1 -1
  165. package/dist/esm/{components → src/components}/Form/Toggle/Toggle.d.ts +5 -0
  166. package/dist/esm/{components → src/components}/Icon/Icon.d.ts +1 -0
  167. package/dist/esm/{components → src/components}/Notifications/BaseModal/BaseModalActions/BaseModalActions.d.ts +6 -0
  168. package/dist/esm/{components → src/components}/Notifications/Dialog/Dialog.d.ts +4 -1
  169. package/dist/esm/{components → src/components}/Notifications/Dialog/DialogActions/DialogActions.d.ts +2 -2
  170. package/dist/esm/{components → src/components}/Notifications/Dialog/DialogTitle/DialogTitle.d.ts +2 -0
  171. package/dist/esm/{components → src/components}/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.d.ts +2 -0
  172. package/dist/esm/src/components/Notifications/NotificationProvider/NotificationContext.d.ts +35 -0
  173. package/dist/esm/src/components/Notifications/NotificationProvider/NotificationService.d.ts +2 -0
  174. package/dist/esm/src/components/Notifications/NotificationProvider/notification.interfaces.d.ts +46 -0
  175. package/dist/{cjs → esm/src}/components/Notifications/Snackbar/SnackbarItem/SnackbarItem.d.ts +3 -2
  176. package/dist/{cjs → esm/src}/components/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.d.ts +2 -1
  177. package/dist/esm/{components → src/components}/Notifications/Snackbar/SnackbarProvider/SnackbarStateProvider.d.ts +4 -3
  178. package/dist/{cjs → esm/src}/components/Notifications/Snackbar/interfaces.d.ts +2 -1
  179. package/dist/esm/src/components/Notifications/Snackbar/useSnackbar.d.ts +6 -0
  180. package/dist/{cjs → esm/src}/components/Pagination/Pagination.d.ts +1 -1
  181. package/dist/esm/{components → src/components}/ProgressBar/ProgressBar.d.ts +4 -1
  182. package/dist/esm/src/components/Tag/Tag.d.ts +10 -0
  183. package/dist/{cjs → esm/src}/components/Tooltip/Tooltip.d.ts +5 -5
  184. package/dist/esm/src/components/Wizard/WizardActions/WizardActions.d.ts +28 -0
  185. package/dist/esm/{components → src/components}/_BaseStyling_/BaseStyling.d.ts +7 -2
  186. package/dist/esm/src/hooks/useDetermineStatusIcon.esm.js +1 -1
  187. package/dist/esm/{hooks → src/hooks}/usePosition.d.ts +1 -0
  188. package/dist/esm/src/hooks/usePosition.esm.js +1 -1
  189. package/dist/esm/src/hooks/useSpacing.test.d.ts +1 -0
  190. package/dist/esm/src/hooks/useUploadFile.test.d.ts +1 -0
  191. package/dist/esm/src/hooks/useWrapper.test.d.ts +1 -0
  192. package/dist/esm/{index.d.ts → src/index.d.ts} +3 -0
  193. package/dist/esm/src/index.esm.js +1 -1
  194. package/dist/esm/{interfaces.d.ts → src/interfaces.d.ts} +3 -0
  195. package/dist/{cjs → esm/src}/util/helper.d.ts +5 -0
  196. package/dist/esm/src/util/helper.esm.js +1 -1
  197. package/dist/esm/src/util/helper.test.d.ts +1 -0
  198. package/dist/esm/stories/utils/useStoryCentring.d.ts +1 -0
  199. package/package.json +52 -52
  200. package/src/components/Form/Fieldset/Fieldset.module.scss +2 -2
  201. package/src/components/Form/FileUpload/FileItem/FileItem.tsx +1 -5
  202. package/src/components/Form/FormGroup/FormGroup.module.scss +2 -4
  203. package/src/components/Form/FormGroup/FormGroup.tsx +11 -7
  204. package/src/components/Form/FormHelperText/FormHelperText.module.scss +7 -3
  205. package/src/components/Form/FormHelperText/FormHelperText.tsx +8 -8
  206. package/src/components/Form/Input/Input.module.scss +8 -3
  207. package/src/components/Form/Input/Input.test.tsx +1 -1
  208. package/src/components/Form/Select/Option.tsx +4 -5
  209. package/src/components/Form/Select/Select.interfaces.ts +3 -3
  210. package/src/components/Form/Select/Select.module.scss +36 -31
  211. package/src/components/Form/Select/Select.test.tsx +106 -7
  212. package/src/components/Form/Select/Select.tsx +55 -21
  213. package/src/components/Form/Select/SelectService.ts +38 -10
  214. package/src/components/Form/Textarea/Textarea.module.scss +19 -5
  215. package/src/components/Form/Textarea/Textarea.test.tsx +1 -1
  216. package/src/components/Form/Toggle/Toggle.module.scss +127 -1
  217. package/src/components/Form/Toggle/Toggle.test.tsx +102 -1
  218. package/src/components/Form/Toggle/Toggle.tsx +25 -1
  219. package/src/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss +4 -2
  220. package/src/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss +0 -2
  221. package/src/components/Form/Wrapper/Wrapper/Wrapper.tsx +1 -0
  222. package/src/components/Icon/Icon.module.scss +14 -11
  223. package/src/components/Icon/Icon.tsx +1 -0
  224. package/src/components/Notifications/BaseModal/BaseModal.module.scss +5 -7
  225. package/src/components/Notifications/BaseModal/BaseModal.tsx +2 -0
  226. package/src/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss +43 -3
  227. package/src/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.test.tsx +33 -2
  228. package/src/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.tsx +35 -4
  229. package/src/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss +4 -1
  230. package/src/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss +3 -3
  231. package/src/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.tsx +11 -3
  232. package/src/components/Notifications/Dialog/Dialog.module.scss +1 -2
  233. package/src/components/Notifications/Dialog/Dialog.test.tsx +11 -22
  234. package/src/components/Notifications/Dialog/Dialog.tsx +13 -9
  235. package/src/components/Notifications/Dialog/DialogActions/DialogActions.module.scss +1 -7
  236. package/src/components/Notifications/Dialog/DialogActions/DialogActions.test.tsx +2 -8
  237. package/src/components/Notifications/Dialog/DialogActions/DialogActions.tsx +7 -4
  238. package/src/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss +12 -1
  239. package/src/components/Notifications/Dialog/DialogTitle/DialogTitle.test.tsx +27 -0
  240. package/src/components/Notifications/Dialog/DialogTitle/DialogTitle.tsx +25 -4
  241. package/src/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.tsx +4 -1
  242. package/src/components/Notifications/DiscardChangesModal/DiscardChangesModal.test.tsx +2 -5
  243. package/src/components/Notifications/NotificationProvider/NotificationContext.test.tsx +449 -0
  244. package/src/components/Notifications/NotificationProvider/NotificationContext.tsx +221 -0
  245. package/src/components/Notifications/NotificationProvider/NotificationService.ts +33 -0
  246. package/src/components/Notifications/NotificationProvider/notification.interfaces.ts +68 -0
  247. package/src/components/Notifications/Snackbar/SnackbarItem/SnackbarItem.module.scss +63 -52
  248. package/src/components/Notifications/Snackbar/SnackbarItem/SnackbarItem.test.tsx +1 -1
  249. package/src/components/Notifications/Snackbar/SnackbarItem/SnackbarItem.tsx +31 -18
  250. package/src/components/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.test.tsx +32 -5
  251. package/src/components/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.tsx +16 -4
  252. package/src/components/Notifications/Snackbar/SnackbarProvider/SnackbarStateProvider.tsx +13 -3
  253. package/src/components/Notifications/Snackbar/interfaces.ts +2 -1
  254. package/src/components/Notifications/Snackbar/useSnackbar.ts +1 -0
  255. package/src/components/Pagination/Pagination.module.scss +43 -27
  256. package/src/components/Pagination/Pagination.test.tsx +11 -22
  257. package/src/components/Pagination/Pagination.tsx +62 -105
  258. package/src/components/Popover/Popover.module.scss +1 -1
  259. package/src/components/Popover/Popover.tsx +31 -16
  260. package/src/components/ProgressBar/ProgressBar.module.scss +50 -13
  261. package/src/components/ProgressBar/ProgressBar.test.tsx +15 -3
  262. package/src/components/ProgressBar/ProgressBar.tsx +38 -9
  263. package/src/components/Tag/Tag.module.scss +24 -0
  264. package/src/components/Tag/Tag.test.tsx +89 -0
  265. package/src/components/Tag/Tag.tsx +69 -0
  266. package/src/components/Tiles/Tile.test.tsx +2 -1
  267. package/src/components/Tooltip/Tooltip.module.scss +158 -5
  268. package/src/components/Tooltip/Tooltip.test.tsx +339 -75
  269. package/src/components/Tooltip/Tooltip.tsx +91 -16
  270. package/src/components/Wizard/Wizard.test.tsx +32 -17
  271. package/src/components/Wizard/WizardActions/WizardActions.test.tsx +39 -23
  272. package/src/components/Wizard/WizardActions/WizardActions.tsx +40 -28
  273. package/src/components/_BaseStyling_/BaseStyling.tsx +17 -7
  274. package/src/font/icomoon.eot +0 -0
  275. package/src/font/icomoon.svg +3 -2
  276. package/src/font/icomoon.ttf +0 -0
  277. package/src/font/icomoon.woff +0 -0
  278. package/src/font/selection.json +1 -1
  279. package/src/hooks/useDetermineStatusIcon.tsx +1 -3
  280. package/src/hooks/usePosition.ts +7 -1
  281. package/src/index.ts +10 -0
  282. package/src/interfaces.ts +8 -0
  283. package/src/mixins.module.scss +4 -18
  284. package/src/util/helper.test.tsx +39 -1
  285. package/src/util/helper.tsx +25 -0
  286. package/src/variables.scss +4 -2
  287. package/dist/cjs/components/Notifications/Snackbar/useSnackbar.d.ts +0 -5
  288. package/dist/cjs/components/Wizard/WizardActions/WizardActions.d.ts +0 -12
  289. package/dist/esm/components/Notifications/Snackbar/useSnackbar.d.ts +0 -5
  290. package/dist/esm/components/Wizard/WizardActions/WizardActions.d.ts +0 -12
  291. /package/dist/cjs/{components → src/components}/Breadcrumbs/Breadcrumbs.d.ts +0 -0
  292. /package/dist/cjs/{components → src/components}/Breadcrumbs/Breadcrumbs.test.d.ts +0 -0
  293. /package/dist/cjs/{components → src/components}/Button/BaseButton.d.ts +0 -0
  294. /package/dist/cjs/{components → src/components}/Button/BaseButton.test.d.ts +0 -0
  295. /package/dist/cjs/{components → src/components}/Button/Button.d.ts +0 -0
  296. /package/dist/cjs/{components → src/components}/Button/Button.test.d.ts +0 -0
  297. /package/dist/cjs/{components → src/components}/Button/IconButton.d.ts +0 -0
  298. /package/dist/cjs/{components → src/components}/Button/IconButton.test.d.ts +0 -0
  299. /package/dist/cjs/{components → src/components}/Button/Spinner.d.ts +0 -0
  300. /package/dist/cjs/{components → src/components}/ContextMenu/ContextMenu.d.ts +0 -0
  301. /package/dist/cjs/{components → src/components}/ContextMenu/ContextMenu.test.d.ts +0 -0
  302. /package/dist/cjs/{components → src/components}/ContextMenu/ContextMenuItem.d.ts +0 -0
  303. /package/dist/cjs/{components → src/components}/DataGrid/DataGrid.d.ts +0 -0
  304. /package/dist/cjs/{components → src/components}/DataGrid/DataGrid.test.d.ts +0 -0
  305. /package/dist/cjs/{components → src/components}/DataGrid/DataGridActions/DataGridActions.d.ts +0 -0
  306. /package/dist/cjs/{components → src/components}/DataGrid/DataGridActions/DataGridActions.test.d.ts +0 -0
  307. /package/dist/cjs/{components → src/components}/DataGrid/DataGridActions/DataGridColumnsToggle.d.ts +0 -0
  308. /package/dist/cjs/{components → src/components}/DataGrid/DataGridActions/DataGridColumnsToggle.test.d.ts +0 -0
  309. /package/dist/cjs/{components → src/components}/DataGrid/DataGridBody/DataGridBody.d.ts +0 -0
  310. /package/dist/cjs/{components → src/components}/DataGrid/DataGridBody/DataGridBody.test.d.ts +0 -0
  311. /package/dist/cjs/{components → src/components}/DataGrid/DataGridBody/DataGridCell.d.ts +0 -0
  312. /package/dist/cjs/{components → src/components}/DataGrid/DataGridBody/DataGridCell.test.d.ts +0 -0
  313. /package/dist/cjs/{components → src/components}/DataGrid/DataGridBody/DataGridRow.d.ts +0 -0
  314. /package/dist/cjs/{components → src/components}/DataGrid/DataGridBody/DataGridRow.test.d.ts +0 -0
  315. /package/dist/cjs/{components → src/components}/DataGrid/DataGridHeader/DataGridHeader.d.ts +0 -0
  316. /package/dist/cjs/{components → src/components}/DataGrid/DataGridHeader/DataGridHeader.test.d.ts +0 -0
  317. /package/dist/cjs/{components → src/components}/DataGrid/DataGridHeader/DataGridHeaderCell.d.ts +0 -0
  318. /package/dist/cjs/{components → src/components}/DataGrid/DataGridHeader/DataGridHeaderCell.test.d.ts +0 -0
  319. /package/dist/cjs/{components → src/components}/DataGrid/datagrid.interfaces.d.ts +0 -0
  320. /package/dist/cjs/{components → src/components}/Form/Checkbox/Checkbox.d.ts +0 -0
  321. /package/dist/cjs/{components → src/components}/Form/Checkbox/Checkbox.test.d.ts +0 -0
  322. /package/dist/cjs/{components → src/components}/Form/Fieldset/Fieldset.d.ts +0 -0
  323. /package/dist/cjs/{components → src/components}/Form/Fieldset/Fieldset.test.d.ts +0 -0
  324. /package/dist/cjs/{components → src/components}/Form/FileUpload/FileItem/FileItem.d.ts +0 -0
  325. /package/dist/cjs/{components → src/components}/Form/FileUpload/FileItem/FileItem.test.d.ts +0 -0
  326. /package/dist/cjs/{components → src/components}/Form/FileUpload/FileUpload.d.ts +0 -0
  327. /package/dist/cjs/{components → src/components}/Form/FileUpload/FileUpload.test.d.ts +0 -0
  328. /package/dist/cjs/{components → src/components}/Form/Form.d.ts +0 -0
  329. /package/dist/cjs/{components → src/components}/Form/Form.test.d.ts +0 -0
  330. /package/dist/cjs/{components → src/components}/Form/FormControl/FormControl.d.ts +0 -0
  331. /package/dist/cjs/{components → src/components}/Form/FormControl/FormControl.test.d.ts +0 -0
  332. /package/dist/cjs/{components → src/components}/Form/FormGroup/FormGroup.d.ts +0 -0
  333. /package/dist/cjs/{components → src/components}/Form/FormGroup/FormGroup.test.d.ts +0 -0
  334. /package/dist/cjs/{components → src/components}/Form/FormHelperText/FormHelperText.test.d.ts +0 -0
  335. /package/dist/cjs/{components → src/components}/Form/FormSelectorWrapper/FormSelectorWrapper.d.ts +0 -0
  336. /package/dist/cjs/{components → src/components}/Form/FormSelectorWrapper/FormSelectorWrapper.test.d.ts +0 -0
  337. /package/dist/cjs/{components → src/components}/Form/Input/Input.d.ts +0 -0
  338. /package/dist/cjs/{components → src/components}/Form/Input/Input.test.d.ts +0 -0
  339. /package/dist/cjs/{components → src/components}/Form/Label/Label.d.ts +0 -0
  340. /package/dist/cjs/{components → src/components}/Form/Label/Label.test.d.ts +0 -0
  341. /package/dist/cjs/{components → src/components}/Form/Radio/Radio.d.ts +0 -0
  342. /package/dist/cjs/{components → src/components}/Form/Radio/Radio.test.d.ts +0 -0
  343. /package/dist/cjs/{components → src/components}/Form/Select/Option.test.d.ts +0 -0
  344. /package/dist/cjs/{components → src/components}/Form/Select/Select.test.d.ts +0 -0
  345. /package/dist/cjs/{components → src/components}/Form/Textarea/Textarea.d.ts +0 -0
  346. /package/dist/cjs/{components → src/components}/Form/Textarea/Textarea.test.d.ts +0 -0
  347. /package/dist/cjs/{components → src/components}/Form/Toggle/Toggle.test.d.ts +0 -0
  348. /package/dist/cjs/{components → src/components}/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.d.ts +0 -0
  349. /package/dist/cjs/{components → src/components}/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.test.d.ts +0 -0
  350. /package/dist/cjs/{components → src/components}/Form/Wrapper/InputWrapper/InputWrapper.d.ts +0 -0
  351. /package/dist/cjs/{components → src/components}/Form/Wrapper/InputWrapper/InputWrapper.test.d.ts +0 -0
  352. /package/dist/cjs/{components → src/components}/Form/Wrapper/RadioWrapper/RadioWrapper.d.ts +0 -0
  353. /package/dist/cjs/{components → src/components}/Form/Wrapper/RadioWrapper/RadioWrapper.test.d.ts +0 -0
  354. /package/dist/cjs/{components → src/components}/Form/Wrapper/SelectWrapper/SelectWrapper.d.ts +0 -0
  355. /package/dist/cjs/{components → src/components}/Form/Wrapper/SelectWrapper/SelectWrapper.test.d.ts +0 -0
  356. /package/dist/cjs/{components → src/components}/Form/Wrapper/TextareaWrapper/TextareaWrapper.d.ts +0 -0
  357. /package/dist/cjs/{components → src/components}/Form/Wrapper/TextareaWrapper/TextareaWrapper.test.d.ts +0 -0
  358. /package/dist/cjs/{components → src/components}/Form/Wrapper/Wrapper/Wrapper.d.ts +0 -0
  359. /package/dist/cjs/{components → src/components}/Form/Wrapper/Wrapper/Wrapper.test.d.ts +0 -0
  360. /package/dist/cjs/{components → src/components}/Form/form.interfaces.d.ts +0 -0
  361. /package/dist/cjs/{components → src/components}/Icon/Icon.test.d.ts +0 -0
  362. /package/dist/cjs/{components → src/components}/Link/Link.d.ts +0 -0
  363. /package/dist/cjs/{components → src/components}/Link/Link.test.d.ts +0 -0
  364. /package/dist/cjs/{components → src/components}/Notifications/Banner/Banner.d.ts +0 -0
  365. /package/dist/cjs/{components → src/components}/Notifications/Banner/Banner.test.d.ts +0 -0
  366. /package/dist/cjs/{components → src/components}/Notifications/BaseModal/BaseModal.d.ts +0 -0
  367. /package/dist/cjs/{components → src/components}/Notifications/BaseModal/BaseModal.test.d.ts +0 -0
  368. /package/dist/cjs/{components → src/components}/Notifications/BaseModal/BaseModalActions/BaseModalActions.test.d.ts +0 -0
  369. /package/dist/cjs/{components → src/components}/Notifications/BaseModal/BaseModalContent/BaseModalContent.d.ts +0 -0
  370. /package/dist/cjs/{components → src/components}/Notifications/BaseModal/BaseModalContent/BaseModalContent.test.d.ts +0 -0
  371. /package/dist/cjs/{components → src/components}/Notifications/BaseModal/BaseModalContext.d.ts +0 -0
  372. /package/dist/cjs/{components → src/components}/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.d.ts +0 -0
  373. /package/dist/cjs/{components → src/components}/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.test.d.ts +0 -0
  374. /package/dist/cjs/{components → src/components}/Notifications/Dialog/Dialog.test.d.ts +0 -0
  375. /package/dist/cjs/{components → src/components}/Notifications/Dialog/DialogActions/DialogActions.test.d.ts +0 -0
  376. /package/dist/cjs/{components → src/components}/Notifications/Dialog/DialogTitle/DialogTitle.test.d.ts +0 -0
  377. /package/dist/cjs/{components → src/components}/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.test.d.ts +0 -0
  378. /package/dist/cjs/{components → src/components}/Notifications/DiscardChangesModal/DiscardChangesModal.d.ts +0 -0
  379. /package/dist/cjs/{components → src/components}/Notifications/DiscardChangesModal/DiscardChangesModal.test.d.ts +0 -0
  380. /package/dist/cjs/{components → src/components}/Notifications/Modal/Modal.d.ts +0 -0
  381. /package/dist/cjs/{components → src/components}/Notifications/Modal/Modal.test.d.ts +0 -0
  382. /package/dist/cjs/{components → src/components}/Notifications/Modal/ModalActions/ModalActions.d.ts +0 -0
  383. /package/dist/cjs/{components → src/components}/Notifications/Modal/ModalContent/ModalContent.d.ts +0 -0
  384. /package/dist/cjs/{components → src/components}/Notifications/Modal/ModalHeader/ModalHeader.d.ts +0 -0
  385. /package/dist/cjs/{components/Notifications/SlideInModal/SlideInModal.test.d.ts → src/components/Notifications/NotificationProvider/NotificationContext.test.d.ts} +0 -0
  386. /package/dist/cjs/{components → src/components}/Notifications/SlideInModal/SlideInModal.d.ts +0 -0
  387. /package/dist/{esm → cjs/src}/components/Notifications/SlideInModal/SlideInModal.test.d.ts +0 -0
  388. /package/dist/cjs/{components → src/components}/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.d.ts +0 -0
  389. /package/dist/cjs/{components → src/components}/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.test.d.ts +0 -0
  390. /package/dist/cjs/{components → src/components}/Notifications/Snackbar/SnackbarItem/SnackbarItem.test.d.ts +0 -0
  391. /package/dist/cjs/{components → src/components}/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.test.d.ts +0 -0
  392. /package/dist/cjs/{components → src/components}/Pagination/Pagination.test.d.ts +0 -0
  393. /package/dist/cjs/{components → src/components}/Popover/Popover.d.ts +0 -0
  394. /package/dist/cjs/{components → src/components}/Popover/Popover.test.d.ts +0 -0
  395. /package/dist/cjs/{components → src/components}/ProgressBar/ProgressBar.test.d.ts +0 -0
  396. /package/dist/cjs/{components → src/components}/Skeleton/Skeleton.d.ts +0 -0
  397. /package/dist/cjs/{components → src/components}/Skeleton/Skeleton.test.d.ts +0 -0
  398. /package/dist/cjs/{components → src/components}/StatusIndicator/StatusIndicator.d.ts +0 -0
  399. /package/dist/cjs/{components → src/components}/StatusIndicator/StatusIndicator.test.d.ts +0 -0
  400. /package/dist/cjs/{components → src/components}/Tabs/Tab.d.ts +0 -0
  401. /package/dist/cjs/{components → src/components}/Tabs/Tab.test.d.ts +0 -0
  402. /package/dist/cjs/{components → src/components}/Tabs/TabButton.d.ts +0 -0
  403. /package/dist/cjs/{components → src/components}/Tabs/TabButton.test.d.ts +0 -0
  404. /package/dist/cjs/{components → src/components}/Tabs/Tabs.d.ts +0 -0
  405. /package/dist/cjs/{components → src/components}/Tabs/Tabs.test.d.ts +0 -0
  406. /package/dist/cjs/{components/TextEllipsis/TextEllipsis.test.d.ts → src/components/Tag/Tag.test.d.ts} +0 -0
  407. /package/dist/cjs/{components → src/components}/TextEllipsis/TextEllipsis.d.ts +0 -0
  408. /package/dist/{esm → cjs/src}/components/TextEllipsis/TextEllipsis.test.d.ts +0 -0
  409. /package/dist/cjs/{components → src/components}/Tiles/Tile.d.ts +0 -0
  410. /package/dist/cjs/{components → src/components}/Tiles/Tile.test.d.ts +0 -0
  411. /package/dist/cjs/{components → src/components}/Tiles/Tiles.d.ts +0 -0
  412. /package/dist/cjs/{components → src/components}/Tiles/Tiles.test.d.ts +0 -0
  413. /package/dist/cjs/{components → src/components}/Tooltip/Tooltip.test.d.ts +0 -0
  414. /package/dist/cjs/{components → src/components}/Typography/Typography.d.ts +0 -0
  415. /package/dist/cjs/{components → src/components}/Typography/Typography.test.d.ts +0 -0
  416. /package/dist/cjs/{components → src/components}/Wizard/BaseWizardSteps/BaseWizardSteps.d.ts +0 -0
  417. /package/dist/cjs/{components → src/components}/Wizard/BaseWizardSteps/BaseWizardSteps.test.d.ts +0 -0
  418. /package/dist/cjs/{components → src/components}/Wizard/Wizard.d.ts +0 -0
  419. /package/dist/cjs/{components → src/components}/Wizard/Wizard.test.d.ts +0 -0
  420. /package/dist/cjs/{components → src/components}/Wizard/WizardActions/WizardActions.test.d.ts +0 -0
  421. /package/dist/cjs/{components → src/components}/Wizard/WizardStateProvider.d.ts +0 -0
  422. /package/dist/cjs/{components → src/components}/Wizard/WizardSteps/WizardSteps.d.ts +0 -0
  423. /package/dist/cjs/{components → src/components}/Wizard/WizardSteps/WizardSteps.test.d.ts +0 -0
  424. /package/dist/cjs/{components → src/components}/Wizard/wizardStateReducer.d.ts +0 -0
  425. /package/dist/cjs/{components → src/components}/_BaseStyling_/BaseStyling.test.d.ts +0 -0
  426. /package/dist/cjs/{hooks → src/hooks}/useAnimation.d.ts +0 -0
  427. /package/dist/cjs/{hooks → src/hooks}/useAnimation.test.d.ts +0 -0
  428. /package/dist/cjs/{hooks → src/hooks}/useBodyClick.d.ts +0 -0
  429. /package/dist/cjs/{hooks → src/hooks}/useBodyClick.test.d.ts +0 -0
  430. /package/dist/cjs/{hooks → src/hooks}/useDebouncedCallback.d.ts +0 -0
  431. /package/dist/cjs/{hooks → src/hooks}/useDebouncedCallback.test.d.ts +0 -0
  432. /package/dist/cjs/{hooks → src/hooks}/useDetermineStatusIcon.d.ts +0 -0
  433. /package/dist/cjs/{hooks → src/hooks}/useDetermineStatusIcon.test.d.ts +0 -0
  434. /package/dist/cjs/{hooks → src/hooks}/useFormSelector.d.ts +0 -0
  435. /package/dist/cjs/{hooks → src/hooks}/useFormSelector.test.d.ts +0 -0
  436. /package/dist/cjs/{hooks → src/hooks}/useGetDomRoot.d.ts +0 -0
  437. /package/dist/cjs/{hooks → src/hooks}/usePosition.test.d.ts +0 -0
  438. /package/dist/cjs/{hooks → src/hooks}/useRepeater.d.ts +0 -0
  439. /package/dist/cjs/{hooks → src/hooks}/useRepeater.test.d.ts +0 -0
  440. /package/dist/cjs/{hooks → src/hooks}/useScroll.d.ts +0 -0
  441. /package/dist/cjs/{hooks → src/hooks}/useScroll.test.d.ts +0 -0
  442. /package/dist/cjs/{hooks → src/hooks}/useSpacing.d.ts +0 -0
  443. /package/dist/cjs/{hooks → src/hooks}/useSpacing.test.d.ts +0 -0
  444. /package/dist/cjs/{hooks → src/hooks}/useUploadFile.d.ts +0 -0
  445. /package/dist/cjs/{hooks → src/hooks}/useUploadFile.test.d.ts +0 -0
  446. /package/dist/cjs/{hooks → src/hooks}/useWrapper.d.ts +0 -0
  447. /package/dist/cjs/{hooks → src/hooks}/useWrapper.test.d.ts +0 -0
  448. /package/dist/cjs/{util → src/util}/helper.test.d.ts +0 -0
  449. /package/dist/esm/{components → src/components}/Breadcrumbs/Breadcrumbs.d.ts +0 -0
  450. /package/dist/esm/{components → src/components}/Breadcrumbs/Breadcrumbs.test.d.ts +0 -0
  451. /package/dist/esm/{components → src/components}/Button/BaseButton.d.ts +0 -0
  452. /package/dist/esm/{components → src/components}/Button/BaseButton.test.d.ts +0 -0
  453. /package/dist/esm/{components → src/components}/Button/Button.d.ts +0 -0
  454. /package/dist/esm/{components → src/components}/Button/Button.test.d.ts +0 -0
  455. /package/dist/esm/{components → src/components}/Button/IconButton.d.ts +0 -0
  456. /package/dist/esm/{components → src/components}/Button/IconButton.test.d.ts +0 -0
  457. /package/dist/esm/{components → src/components}/Button/Spinner.d.ts +0 -0
  458. /package/dist/esm/{components → src/components}/ContextMenu/ContextMenu.d.ts +0 -0
  459. /package/dist/esm/{components → src/components}/ContextMenu/ContextMenu.test.d.ts +0 -0
  460. /package/dist/esm/{components → src/components}/ContextMenu/ContextMenuItem.d.ts +0 -0
  461. /package/dist/esm/{components → src/components}/DataGrid/DataGrid.d.ts +0 -0
  462. /package/dist/esm/{components → src/components}/DataGrid/DataGrid.test.d.ts +0 -0
  463. /package/dist/esm/{components → src/components}/DataGrid/DataGridActions/DataGridActions.d.ts +0 -0
  464. /package/dist/esm/{components → src/components}/DataGrid/DataGridActions/DataGridActions.test.d.ts +0 -0
  465. /package/dist/esm/{components → src/components}/DataGrid/DataGridActions/DataGridColumnsToggle.d.ts +0 -0
  466. /package/dist/esm/{components → src/components}/DataGrid/DataGridActions/DataGridColumnsToggle.test.d.ts +0 -0
  467. /package/dist/esm/{components → src/components}/DataGrid/DataGridBody/DataGridBody.d.ts +0 -0
  468. /package/dist/esm/{components → src/components}/DataGrid/DataGridBody/DataGridBody.test.d.ts +0 -0
  469. /package/dist/esm/{components → src/components}/DataGrid/DataGridBody/DataGridCell.d.ts +0 -0
  470. /package/dist/esm/{components → src/components}/DataGrid/DataGridBody/DataGridCell.test.d.ts +0 -0
  471. /package/dist/esm/{components → src/components}/DataGrid/DataGridBody/DataGridRow.d.ts +0 -0
  472. /package/dist/esm/{components → src/components}/DataGrid/DataGridBody/DataGridRow.test.d.ts +0 -0
  473. /package/dist/esm/{components → src/components}/DataGrid/DataGridHeader/DataGridHeader.d.ts +0 -0
  474. /package/dist/esm/{components → src/components}/DataGrid/DataGridHeader/DataGridHeader.test.d.ts +0 -0
  475. /package/dist/esm/{components → src/components}/DataGrid/DataGridHeader/DataGridHeaderCell.d.ts +0 -0
  476. /package/dist/esm/{components → src/components}/DataGrid/DataGridHeader/DataGridHeaderCell.test.d.ts +0 -0
  477. /package/dist/esm/{components → src/components}/DataGrid/datagrid.interfaces.d.ts +0 -0
  478. /package/dist/esm/{components → src/components}/Form/Checkbox/Checkbox.d.ts +0 -0
  479. /package/dist/esm/{components → src/components}/Form/Checkbox/Checkbox.test.d.ts +0 -0
  480. /package/dist/esm/{components → src/components}/Form/Fieldset/Fieldset.d.ts +0 -0
  481. /package/dist/esm/{components → src/components}/Form/Fieldset/Fieldset.test.d.ts +0 -0
  482. /package/dist/esm/{components → src/components}/Form/FileUpload/FileItem/FileItem.d.ts +0 -0
  483. /package/dist/esm/{components → src/components}/Form/FileUpload/FileItem/FileItem.test.d.ts +0 -0
  484. /package/dist/esm/{components → src/components}/Form/FileUpload/FileUpload.d.ts +0 -0
  485. /package/dist/esm/{components → src/components}/Form/FileUpload/FileUpload.test.d.ts +0 -0
  486. /package/dist/esm/{components → src/components}/Form/Form.d.ts +0 -0
  487. /package/dist/esm/{components → src/components}/Form/Form.test.d.ts +0 -0
  488. /package/dist/esm/{components → src/components}/Form/FormControl/FormControl.d.ts +0 -0
  489. /package/dist/esm/{components → src/components}/Form/FormControl/FormControl.test.d.ts +0 -0
  490. /package/dist/esm/{components → src/components}/Form/FormGroup/FormGroup.d.ts +0 -0
  491. /package/dist/esm/{components → src/components}/Form/FormGroup/FormGroup.test.d.ts +0 -0
  492. /package/dist/esm/{components → src/components}/Form/FormHelperText/FormHelperText.test.d.ts +0 -0
  493. /package/dist/esm/{components → src/components}/Form/FormSelectorWrapper/FormSelectorWrapper.d.ts +0 -0
  494. /package/dist/esm/{components → src/components}/Form/FormSelectorWrapper/FormSelectorWrapper.test.d.ts +0 -0
  495. /package/dist/esm/{components → src/components}/Form/Input/Input.d.ts +0 -0
  496. /package/dist/esm/{components → src/components}/Form/Input/Input.test.d.ts +0 -0
  497. /package/dist/esm/{components → src/components}/Form/Label/Label.d.ts +0 -0
  498. /package/dist/esm/{components → src/components}/Form/Label/Label.test.d.ts +0 -0
  499. /package/dist/esm/{components → src/components}/Form/Radio/Radio.d.ts +0 -0
  500. /package/dist/esm/{components → src/components}/Form/Radio/Radio.test.d.ts +0 -0
  501. /package/dist/esm/{components → src/components}/Form/Select/Option.test.d.ts +0 -0
  502. /package/dist/esm/{components → src/components}/Form/Select/Select.test.d.ts +0 -0
  503. /package/dist/esm/{components → src/components}/Form/Textarea/Textarea.d.ts +0 -0
  504. /package/dist/esm/{components → src/components}/Form/Textarea/Textarea.test.d.ts +0 -0
  505. /package/dist/esm/{components → src/components}/Form/Toggle/Toggle.test.d.ts +0 -0
  506. /package/dist/esm/{components → src/components}/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.d.ts +0 -0
  507. /package/dist/esm/{components → src/components}/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.test.d.ts +0 -0
  508. /package/dist/esm/{components → src/components}/Form/Wrapper/InputWrapper/InputWrapper.d.ts +0 -0
  509. /package/dist/esm/{components → src/components}/Form/Wrapper/InputWrapper/InputWrapper.test.d.ts +0 -0
  510. /package/dist/esm/{components → src/components}/Form/Wrapper/RadioWrapper/RadioWrapper.d.ts +0 -0
  511. /package/dist/esm/{components → src/components}/Form/Wrapper/RadioWrapper/RadioWrapper.test.d.ts +0 -0
  512. /package/dist/esm/{components → src/components}/Form/Wrapper/SelectWrapper/SelectWrapper.d.ts +0 -0
  513. /package/dist/esm/{components → src/components}/Form/Wrapper/SelectWrapper/SelectWrapper.test.d.ts +0 -0
  514. /package/dist/esm/{components → src/components}/Form/Wrapper/TextareaWrapper/TextareaWrapper.d.ts +0 -0
  515. /package/dist/esm/{components → src/components}/Form/Wrapper/TextareaWrapper/TextareaWrapper.test.d.ts +0 -0
  516. /package/dist/esm/{components → src/components}/Form/Wrapper/Wrapper/Wrapper.d.ts +0 -0
  517. /package/dist/esm/{components → src/components}/Form/Wrapper/Wrapper/Wrapper.test.d.ts +0 -0
  518. /package/dist/esm/{components → src/components}/Form/form.interfaces.d.ts +0 -0
  519. /package/dist/esm/{components → src/components}/Icon/Icon.test.d.ts +0 -0
  520. /package/dist/esm/{components → src/components}/Link/Link.d.ts +0 -0
  521. /package/dist/esm/{components → src/components}/Link/Link.test.d.ts +0 -0
  522. /package/dist/esm/{components → src/components}/Notifications/Banner/Banner.d.ts +0 -0
  523. /package/dist/esm/{components → src/components}/Notifications/Banner/Banner.test.d.ts +0 -0
  524. /package/dist/esm/{components → src/components}/Notifications/BaseModal/BaseModal.d.ts +0 -0
  525. /package/dist/esm/{components → src/components}/Notifications/BaseModal/BaseModal.test.d.ts +0 -0
  526. /package/dist/esm/{components → src/components}/Notifications/BaseModal/BaseModalActions/BaseModalActions.test.d.ts +0 -0
  527. /package/dist/esm/{components → src/components}/Notifications/BaseModal/BaseModalContent/BaseModalContent.d.ts +0 -0
  528. /package/dist/esm/{components → src/components}/Notifications/BaseModal/BaseModalContent/BaseModalContent.test.d.ts +0 -0
  529. /package/dist/esm/{components → src/components}/Notifications/BaseModal/BaseModalContext.d.ts +0 -0
  530. /package/dist/esm/{components → src/components}/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.d.ts +0 -0
  531. /package/dist/esm/{components → src/components}/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.test.d.ts +0 -0
  532. /package/dist/esm/{components → src/components}/Notifications/Dialog/Dialog.test.d.ts +0 -0
  533. /package/dist/esm/{components → src/components}/Notifications/Dialog/DialogActions/DialogActions.test.d.ts +0 -0
  534. /package/dist/esm/{components → src/components}/Notifications/Dialog/DialogTitle/DialogTitle.test.d.ts +0 -0
  535. /package/dist/esm/{components → src/components}/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.test.d.ts +0 -0
  536. /package/dist/esm/{components → src/components}/Notifications/DiscardChangesModal/DiscardChangesModal.d.ts +0 -0
  537. /package/dist/esm/{components → src/components}/Notifications/DiscardChangesModal/DiscardChangesModal.test.d.ts +0 -0
  538. /package/dist/esm/{components → src/components}/Notifications/Modal/Modal.d.ts +0 -0
  539. /package/dist/esm/{components → src/components}/Notifications/Modal/Modal.test.d.ts +0 -0
  540. /package/dist/esm/{components → src/components}/Notifications/Modal/ModalActions/ModalActions.d.ts +0 -0
  541. /package/dist/esm/{components → src/components}/Notifications/Modal/ModalContent/ModalContent.d.ts +0 -0
  542. /package/dist/esm/{components → src/components}/Notifications/Modal/ModalHeader/ModalHeader.d.ts +0 -0
  543. /package/dist/esm/{components/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.test.d.ts → src/components/Notifications/NotificationProvider/NotificationContext.test.d.ts} +0 -0
  544. /package/dist/esm/{components → src/components}/Notifications/SlideInModal/SlideInModal.d.ts +0 -0
  545. /package/dist/esm/{components/Notifications/Snackbar/SnackbarItem/SnackbarItem.test.d.ts → src/components/Notifications/SlideInModal/SlideInModal.test.d.ts} +0 -0
  546. /package/dist/esm/{components → src/components}/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.d.ts +0 -0
  547. /package/dist/esm/{components/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.test.d.ts → src/components/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.test.d.ts} +0 -0
  548. /package/dist/esm/{components/Pagination/Pagination.test.d.ts → src/components/Notifications/Snackbar/SnackbarItem/SnackbarItem.test.d.ts} +0 -0
  549. /package/dist/esm/{components/Popover/Popover.test.d.ts → src/components/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.test.d.ts} +0 -0
  550. /package/dist/esm/{components/ProgressBar/ProgressBar.test.d.ts → src/components/Pagination/Pagination.test.d.ts} +0 -0
  551. /package/dist/esm/{components → src/components}/Popover/Popover.d.ts +0 -0
  552. /package/dist/esm/{components/Skeleton/Skeleton.test.d.ts → src/components/Popover/Popover.test.d.ts} +0 -0
  553. /package/dist/esm/{components/StatusIndicator/StatusIndicator.test.d.ts → src/components/ProgressBar/ProgressBar.test.d.ts} +0 -0
  554. /package/dist/esm/{components → src/components}/Skeleton/Skeleton.d.ts +0 -0
  555. /package/dist/esm/{components/Tabs/Tab.test.d.ts → src/components/Skeleton/Skeleton.test.d.ts} +0 -0
  556. /package/dist/esm/{components → src/components}/StatusIndicator/StatusIndicator.d.ts +0 -0
  557. /package/dist/esm/{components/Tabs/TabButton.test.d.ts → src/components/StatusIndicator/StatusIndicator.test.d.ts} +0 -0
  558. /package/dist/esm/{components → src/components}/Tabs/Tab.d.ts +0 -0
  559. /package/dist/esm/{components/Tabs/Tabs.test.d.ts → src/components/Tabs/Tab.test.d.ts} +0 -0
  560. /package/dist/esm/{components → src/components}/Tabs/TabButton.d.ts +0 -0
  561. /package/dist/esm/{components/Tiles/Tile.test.d.ts → src/components/Tabs/TabButton.test.d.ts} +0 -0
  562. /package/dist/esm/{components → src/components}/Tabs/Tabs.d.ts +0 -0
  563. /package/dist/esm/{components/Tiles/Tiles.test.d.ts → src/components/Tabs/Tabs.test.d.ts} +0 -0
  564. /package/dist/esm/{components/Tooltip/Tooltip.test.d.ts → src/components/Tag/Tag.test.d.ts} +0 -0
  565. /package/dist/esm/{components → src/components}/TextEllipsis/TextEllipsis.d.ts +0 -0
  566. /package/dist/esm/{components/Typography/Typography.test.d.ts → src/components/TextEllipsis/TextEllipsis.test.d.ts} +0 -0
  567. /package/dist/esm/{components → src/components}/Tiles/Tile.d.ts +0 -0
  568. /package/dist/esm/{components/Wizard/BaseWizardSteps/BaseWizardSteps.test.d.ts → src/components/Tiles/Tile.test.d.ts} +0 -0
  569. /package/dist/esm/{components → src/components}/Tiles/Tiles.d.ts +0 -0
  570. /package/dist/esm/{components/Wizard/Wizard.test.d.ts → src/components/Tiles/Tiles.test.d.ts} +0 -0
  571. /package/dist/esm/{components/Wizard/WizardActions/WizardActions.test.d.ts → src/components/Tooltip/Tooltip.test.d.ts} +0 -0
  572. /package/dist/esm/{components → src/components}/Typography/Typography.d.ts +0 -0
  573. /package/dist/esm/{components/Wizard/WizardSteps/WizardSteps.test.d.ts → src/components/Typography/Typography.test.d.ts} +0 -0
  574. /package/dist/esm/{components → src/components}/Wizard/BaseWizardSteps/BaseWizardSteps.d.ts +0 -0
  575. /package/dist/esm/{components/_BaseStyling_/BaseStyling.test.d.ts → src/components/Wizard/BaseWizardSteps/BaseWizardSteps.test.d.ts} +0 -0
  576. /package/dist/esm/{components → src/components}/Wizard/Wizard.d.ts +0 -0
  577. /package/dist/esm/{hooks/useAnimation.test.d.ts → src/components/Wizard/Wizard.test.d.ts} +0 -0
  578. /package/dist/esm/{hooks/useBodyClick.test.d.ts → src/components/Wizard/WizardActions/WizardActions.test.d.ts} +0 -0
  579. /package/dist/esm/{components → src/components}/Wizard/WizardStateProvider.d.ts +0 -0
  580. /package/dist/esm/{components → src/components}/Wizard/WizardSteps/WizardSteps.d.ts +0 -0
  581. /package/dist/esm/{hooks/useDebouncedCallback.test.d.ts → src/components/Wizard/WizardSteps/WizardSteps.test.d.ts} +0 -0
  582. /package/dist/esm/{components → src/components}/Wizard/wizardStateReducer.d.ts +0 -0
  583. /package/dist/esm/{hooks/useDetermineStatusIcon.test.d.ts → src/components/_BaseStyling_/BaseStyling.test.d.ts} +0 -0
  584. /package/dist/esm/{hooks → src/hooks}/useAnimation.d.ts +0 -0
  585. /package/dist/esm/{hooks/useFormSelector.test.d.ts → src/hooks/useAnimation.test.d.ts} +0 -0
  586. /package/dist/esm/{hooks → src/hooks}/useBodyClick.d.ts +0 -0
  587. /package/dist/esm/{hooks/usePosition.test.d.ts → src/hooks/useBodyClick.test.d.ts} +0 -0
  588. /package/dist/esm/{hooks → src/hooks}/useDebouncedCallback.d.ts +0 -0
  589. /package/dist/esm/{hooks/useScroll.test.d.ts → src/hooks/useDebouncedCallback.test.d.ts} +0 -0
  590. /package/dist/esm/{hooks → src/hooks}/useDetermineStatusIcon.d.ts +0 -0
  591. /package/dist/esm/{hooks/useSpacing.test.d.ts → src/hooks/useDetermineStatusIcon.test.d.ts} +0 -0
  592. /package/dist/esm/{hooks → src/hooks}/useFormSelector.d.ts +0 -0
  593. /package/dist/esm/{hooks/useUploadFile.test.d.ts → src/hooks/useFormSelector.test.d.ts} +0 -0
  594. /package/dist/esm/{hooks → src/hooks}/useGetDomRoot.d.ts +0 -0
  595. /package/dist/esm/{hooks/useWrapper.test.d.ts → src/hooks/usePosition.test.d.ts} +0 -0
  596. /package/dist/esm/{hooks → src/hooks}/useRepeater.d.ts +0 -0
  597. /package/dist/esm/{hooks → src/hooks}/useRepeater.test.d.ts +0 -0
  598. /package/dist/esm/{hooks → src/hooks}/useScroll.d.ts +0 -0
  599. /package/dist/esm/{util/helper.test.d.ts → src/hooks/useScroll.test.d.ts} +0 -0
  600. /package/dist/esm/{hooks → src/hooks}/useSpacing.d.ts +0 -0
  601. /package/dist/esm/{hooks → src/hooks}/useUploadFile.d.ts +0 -0
  602. /package/dist/esm/{hooks → src/hooks}/useWrapper.d.ts +0 -0
@@ -1,2 +1,2 @@
1
- var containers=[],styleTags=[];const _ = function(e,t){if(e&&"undefined"!=typeof document){var n,s=!0===t.prepend?"prepend":"append",r=!0===t.singleTag,a="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(r){var i=containers.indexOf(a);-1===i&&(i=containers.push(a)-1,styleTags[i]={}),n=styleTags[i]&&styleTags[i][s]?styleTags[i][s]:styleTags[i][s]=c()}else n=c();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),r=0;r<n.length;r++)e.setAttribute(n[r],t.attributes[n[r]]);var i="prepend"===s?"afterbegin":"beforeend";return a.insertAdjacentElement(i,e),e}};var d='.Input_module_srOnly__78c48dda{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.Input_module_hidden__78c48dda{display:none}.Input_module_slideIn__78c48dda{animation:Input_module_slideIn__78c48dda .5s forwards}@media (prefers-reduced-motion:reduce){.Input_module_slideIn__78c48dda{animation-duration:.1ms}}.Input_module_slideOut__78c48dda{animation:Input_module_slideOut__78c48dda .5s forwards}@media (prefers-reduced-motion:reduce){.Input_module_slideOut__78c48dda{animation-duration:.1ms}}@keyframes Input_module_slideIn__78c48dda{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Input_module_slideOut__78c48dda{0%{transform:translateY(0)}to{transform:translateY(100vh)}}.Input_module_w6__78c48dda{width:6%}.Input_module_w7__78c48dda{width:7%}.Input_module_w8__78c48dda{width:8%}.Input_module_w9__78c48dda{width:9%}.Input_module_w10__78c48dda{width:10%}.Input_module_w11__78c48dda{width:11%}.Input_module_w12__78c48dda{width:12%}.Input_module_w13__78c48dda{width:13%}.Input_module_w14__78c48dda{width:14%}.Input_module_w15__78c48dda{width:15%}.Input_module_w16__78c48dda{width:16%}.Input_module_w17__78c48dda{width:17%}.Input_module_w18__78c48dda{width:18%}.Input_module_w19__78c48dda{width:19%}.Input_module_w20__78c48dda{width:20%}.Input_module_w21__78c48dda{width:21%}.Input_module_w22__78c48dda{width:22%}.Input_module_w23__78c48dda{width:23%}.Input_module_w24__78c48dda{width:24%}.Input_module_w25__78c48dda{width:25%}.Input_module_w26__78c48dda{width:26%}.Input_module_w27__78c48dda{width:27%}.Input_module_w28__78c48dda{width:28%}.Input_module_w29__78c48dda{width:29%}.Input_module_w30__78c48dda{width:30%}.Input_module_w31__78c48dda{width:31%}.Input_module_w32__78c48dda{width:32%}.Input_module_w33__78c48dda{width:33%}.Input_module_w34__78c48dda{width:34%}.Input_module_w35__78c48dda{width:35%}.Input_module_w36__78c48dda{width:36%}.Input_module_w37__78c48dda{width:37%}.Input_module_w38__78c48dda{width:38%}.Input_module_w39__78c48dda{width:39%}.Input_module_w40__78c48dda{width:40%}.Input_module_w41__78c48dda{width:41%}.Input_module_w42__78c48dda{width:42%}.Input_module_w43__78c48dda{width:43%}.Input_module_w44__78c48dda{width:44%}.Input_module_w45__78c48dda{width:45%}.Input_module_w46__78c48dda{width:46%}.Input_module_w47__78c48dda{width:47%}.Input_module_w48__78c48dda{width:48%}.Input_module_w49__78c48dda{width:49%}.Input_module_w50__78c48dda{width:50%}.Input_module_w51__78c48dda{width:51%}.Input_module_w52__78c48dda{width:52%}.Input_module_w53__78c48dda{width:53%}.Input_module_w54__78c48dda{width:54%}.Input_module_w55__78c48dda{width:55%}.Input_module_w56__78c48dda{width:56%}.Input_module_w57__78c48dda{width:57%}.Input_module_w58__78c48dda{width:58%}.Input_module_w59__78c48dda{width:59%}.Input_module_w60__78c48dda{width:60%}.Input_module_w61__78c48dda{width:61%}.Input_module_w62__78c48dda{width:62%}.Input_module_w63__78c48dda{width:63%}.Input_module_w64__78c48dda{width:64%}.Input_module_w65__78c48dda{width:65%}.Input_module_w66__78c48dda{width:66%}.Input_module_w67__78c48dda{width:67%}.Input_module_w68__78c48dda{width:68%}.Input_module_w69__78c48dda{width:69%}.Input_module_w70__78c48dda{width:70%}.Input_module_w71__78c48dda{width:71%}.Input_module_w72__78c48dda{width:72%}.Input_module_w73__78c48dda{width:73%}.Input_module_w74__78c48dda{width:74%}.Input_module_w75__78c48dda{width:75%}.Input_module_w76__78c48dda{width:76%}.Input_module_w77__78c48dda{width:77%}.Input_module_w78__78c48dda{width:78%}.Input_module_w79__78c48dda{width:79%}.Input_module_w80__78c48dda{width:80%}.Input_module_w81__78c48dda{width:81%}.Input_module_w82__78c48dda{width:82%}.Input_module_w83__78c48dda{width:83%}.Input_module_w84__78c48dda{width:84%}.Input_module_w85__78c48dda{width:85%}.Input_module_w86__78c48dda{width:86%}.Input_module_w87__78c48dda{width:87%}.Input_module_w88__78c48dda{width:88%}.Input_module_w89__78c48dda{width:89%}.Input_module_w90__78c48dda{width:90%}.Input_module_w91__78c48dda{width:91%}.Input_module_w92__78c48dda{width:92%}.Input_module_w93__78c48dda{width:93%}.Input_module_w94__78c48dda{width:94%}.Input_module_w95__78c48dda{width:95%}.Input_module_w96__78c48dda{width:96%}.Input_module_w97__78c48dda{width:97%}.Input_module_w98__78c48dda{width:98%}.Input_module_w99__78c48dda{width:99%}.Input_module_w100__78c48dda{width:100%}.Input_module_w101__78c48dda{width:101%}.Input_module_w102__78c48dda{width:102%}.Input_module_w103__78c48dda{width:103%}.Input_module_w104__78c48dda{width:104%}.Input_module_w105__78c48dda{width:105%}.Input_module_inputWrapper__78c48dda{align-items:center;background-color:var(--input-background-color);border:0;border-radius:var(--input-border-radius);display:flex;padding:0 .833em;position:relative;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out}@media (prefers-reduced-motion:reduce){.Input_module_inputWrapper__78c48dda{transition-duration:.1ms}}.Input_module_inputWrapper__78c48dda input:-webkit-autofill,.Input_module_inputWrapper__78c48dda input:-webkit-autofill:active,.Input_module_inputWrapper__78c48dda input:-webkit-autofill:focus,.Input_module_inputWrapper__78c48dda input:-webkit-autofill:hover{transition:background-color 5000s ease-in-out 0s!important}.Input_module_inputWrapper__78c48dda input:-webkit-autofill:active~.Input_module_outline__78c48dda:after,.Input_module_inputWrapper__78c48dda input:-webkit-autofill:focus~.Input_module_outline__78c48dda:after,.Input_module_inputWrapper__78c48dda input:-webkit-autofill:hover~.Input_module_outline__78c48dda:after,.Input_module_inputWrapper__78c48dda input:-webkit-autofill~.Input_module_outline__78c48dda:after{border-radius:var(--input-border-radius);content:"";display:block;height:100%;position:absolute;width:100%}@media (-webkit-min-device-pixel-ratio:0) and (min-resolution:0.001dpcm){.Input_module_inputWrapper__78c48dda input:-webkit-autofill:active~.Input_module_outline__78c48dda:after,.Input_module_inputWrapper__78c48dda input:-webkit-autofill:focus~.Input_module_outline__78c48dda:after,.Input_module_inputWrapper__78c48dda input:-webkit-autofill:hover~.Input_module_outline__78c48dda:after,.Input_module_inputWrapper__78c48dda input:-webkit-autofill~.Input_module_outline__78c48dda:after{background-color:#e8f0fe}}@media not all and (min-resolution:0.001dpcm){.Input_module_inputWrapper__78c48dda input:-webkit-autofill:active~.Input_module_outline__78c48dda:after,.Input_module_inputWrapper__78c48dda input:-webkit-autofill:focus~.Input_module_outline__78c48dda:after,.Input_module_inputWrapper__78c48dda input:-webkit-autofill:hover~.Input_module_outline__78c48dda:after,.Input_module_inputWrapper__78c48dda input:-webkit-autofill~.Input_module_outline__78c48dda:after{background-color:#faffbd}}.Input_module_inputWrapper__78c48dda:hover .Input_module_outline__78c48dda{border-color:var(--default)}.Input_module_inputWrapper__78c48dda .Input_module_outline__78c48dda.Input_module_disabled__78c48dda{border-color:var(--light)}.Input_module_inputWrapper__78c48dda .Input_module_outline__78c48dda.Input_module_error__78c48dda{border-color:var(--error)}.Input_module_inputWrapper__78c48dda .Input_module_outline__78c48dda.Input_module_focus__78c48dda{border-width:var(--input-border-width-focus)}.Input_module_inputWrapper__78c48dda .Input_module_outline__78c48dda.Input_module_focus__78c48dda:not(.Input_module_error__78c48dda){border-color:var(--color-focus)}.Input_module_inputWrapper__78c48dda [data-icon-status=error],.Input_module_inputWrapper__78c48dda [data-icon-status=success]{align-items:center;box-sizing:border-box;display:flex;font-size:1.25rem;height:100%;justify-content:center;width:1.25rem;z-index:2}.Input_module_inputWrapper__78c48dda [data-icon-status=error]:before,.Input_module_inputWrapper__78c48dda [data-icon-status=success]:before{height:1.25rem;width:1.25rem}.Input_module_inputWrapper__78c48dda [data-icon-status=success]{color:var(--success)}.Input_module_inputWrapper__78c48dda [data-icon-status=error]{color:var(--error)}.Input_module_input__78c48dda{background-color:transparent;border:0;border-radius:var(--input-border-radius);box-sizing:border-box;color:var(--greyed-out);font-family:var(--font-family);font-size:var(--form-control-font-size);height:40px;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out;z-index:1}@media (prefers-reduced-motion:reduce){.Input_module_input__78c48dda{transition-duration:.1ms}}.Input_module_input__78c48dda:not(.Input_module_shrinkWidthForDateIcon__78c48dda){width:100%}.Input_module_input__78c48dda:disabled{cursor:not-allowed}.Input_module_input__78c48dda.Input_module_shrinkWidthForDateIcon__78c48dda{width:auto}.Input_module_input__78c48dda:focus:not(:disabled){outline:none}.Input_module_outline__78c48dda{border-color:var(--light-grey-border);border-radius:var(--input-border-radius);border-style:var(--input-border-style);border-width:var(--input-border-width);inset:0;margin:0;padding:0;pointer-events:none;position:absolute;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out}@media (prefers-reduced-motion:reduce){.Input_module_outline__78c48dda{transition-duration:.1ms}}.Input_module_error__78c48dda input{color:var(--error);padding-right:1.25rem}.Input_module_error__78c48dda input.Input_module_removeExtraIndent__78c48dda{padding-right:0}.Input_module_success__78c48dda input{padding-right:1.25rem}.Input_module_inputWrapper__78c48dda [data-prefix],.Input_module_inputWrapper__78c48dda [data-suffix]{display:block;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out;z-index:1}@media (prefers-reduced-motion:reduce){.Input_module_inputWrapper__78c48dda [data-prefix],.Input_module_inputWrapper__78c48dda [data-suffix]{transition-duration:.1ms}}@media only screen and (min-width:30em){.Input_module_inputWrapper__78c48dda{padding:0 .833em}}',u={"sr-only":"Input_module_srOnly__78c48dda",hidden:"Input_module_hidden__78c48dda","slide-in":"Input_module_slideIn__78c48dda","slide-out":"Input_module_slideOut__78c48dda","w-6":"Input_module_w6__78c48dda","w-7":"Input_module_w7__78c48dda","w-8":"Input_module_w8__78c48dda","w-9":"Input_module_w9__78c48dda","w-10":"Input_module_w10__78c48dda","w-11":"Input_module_w11__78c48dda","w-12":"Input_module_w12__78c48dda","w-13":"Input_module_w13__78c48dda","w-14":"Input_module_w14__78c48dda","w-15":"Input_module_w15__78c48dda","w-16":"Input_module_w16__78c48dda","w-17":"Input_module_w17__78c48dda","w-18":"Input_module_w18__78c48dda","w-19":"Input_module_w19__78c48dda","w-20":"Input_module_w20__78c48dda","w-21":"Input_module_w21__78c48dda","w-22":"Input_module_w22__78c48dda","w-23":"Input_module_w23__78c48dda","w-24":"Input_module_w24__78c48dda","w-25":"Input_module_w25__78c48dda","w-26":"Input_module_w26__78c48dda","w-27":"Input_module_w27__78c48dda","w-28":"Input_module_w28__78c48dda","w-29":"Input_module_w29__78c48dda","w-30":"Input_module_w30__78c48dda","w-31":"Input_module_w31__78c48dda","w-32":"Input_module_w32__78c48dda","w-33":"Input_module_w33__78c48dda","w-34":"Input_module_w34__78c48dda","w-35":"Input_module_w35__78c48dda","w-36":"Input_module_w36__78c48dda","w-37":"Input_module_w37__78c48dda","w-38":"Input_module_w38__78c48dda","w-39":"Input_module_w39__78c48dda","w-40":"Input_module_w40__78c48dda","w-41":"Input_module_w41__78c48dda","w-42":"Input_module_w42__78c48dda","w-43":"Input_module_w43__78c48dda","w-44":"Input_module_w44__78c48dda","w-45":"Input_module_w45__78c48dda","w-46":"Input_module_w46__78c48dda","w-47":"Input_module_w47__78c48dda","w-48":"Input_module_w48__78c48dda","w-49":"Input_module_w49__78c48dda","w-50":"Input_module_w50__78c48dda","w-51":"Input_module_w51__78c48dda","w-52":"Input_module_w52__78c48dda","w-53":"Input_module_w53__78c48dda","w-54":"Input_module_w54__78c48dda","w-55":"Input_module_w55__78c48dda","w-56":"Input_module_w56__78c48dda","w-57":"Input_module_w57__78c48dda","w-58":"Input_module_w58__78c48dda","w-59":"Input_module_w59__78c48dda","w-60":"Input_module_w60__78c48dda","w-61":"Input_module_w61__78c48dda","w-62":"Input_module_w62__78c48dda","w-63":"Input_module_w63__78c48dda","w-64":"Input_module_w64__78c48dda","w-65":"Input_module_w65__78c48dda","w-66":"Input_module_w66__78c48dda","w-67":"Input_module_w67__78c48dda","w-68":"Input_module_w68__78c48dda","w-69":"Input_module_w69__78c48dda","w-70":"Input_module_w70__78c48dda","w-71":"Input_module_w71__78c48dda","w-72":"Input_module_w72__78c48dda","w-73":"Input_module_w73__78c48dda","w-74":"Input_module_w74__78c48dda","w-75":"Input_module_w75__78c48dda","w-76":"Input_module_w76__78c48dda","w-77":"Input_module_w77__78c48dda","w-78":"Input_module_w78__78c48dda","w-79":"Input_module_w79__78c48dda","w-80":"Input_module_w80__78c48dda","w-81":"Input_module_w81__78c48dda","w-82":"Input_module_w82__78c48dda","w-83":"Input_module_w83__78c48dda","w-84":"Input_module_w84__78c48dda","w-85":"Input_module_w85__78c48dda","w-86":"Input_module_w86__78c48dda","w-87":"Input_module_w87__78c48dda","w-88":"Input_module_w88__78c48dda","w-89":"Input_module_w89__78c48dda","w-90":"Input_module_w90__78c48dda","w-91":"Input_module_w91__78c48dda","w-92":"Input_module_w92__78c48dda","w-93":"Input_module_w93__78c48dda","w-94":"Input_module_w94__78c48dda","w-95":"Input_module_w95__78c48dda","w-96":"Input_module_w96__78c48dda","w-97":"Input_module_w97__78c48dda","w-98":"Input_module_w98__78c48dda","w-99":"Input_module_w99__78c48dda","w-100":"Input_module_w100__78c48dda","w-101":"Input_module_w101__78c48dda","w-102":"Input_module_w102__78c48dda","w-103":"Input_module_w103__78c48dda","w-104":"Input_module_w104__78c48dda","w-105":"Input_module_w105__78c48dda","input-wrapper":"Input_module_inputWrapper__78c48dda",outline:"Input_module_outline__78c48dda",disabled:"Input_module_disabled__78c48dda",error:"Input_module_error__78c48dda",focus:"Input_module_focus__78c48dda",input:"Input_module_input__78c48dda","shrink-width-for-date-icon":"Input_module_shrinkWidthForDateIcon__78c48dda","remove-extra-indent":"Input_module_removeExtraIndent__78c48dda",success:"Input_module_success__78c48dda"};_(d,{});export{d as css,u as default};
1
+ var containers=[],styleTags=[];const t = function(e,t){if(e&&"undefined"!=typeof document){var n,s=!0===t.prepend?"prepend":"append",r=!0===t.singleTag,a="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(r){var i=containers.indexOf(a);-1===i&&(i=containers.push(a)-1,styleTags[i]={}),n=styleTags[i]&&styleTags[i][s]?styleTags[i][s]:styleTags[i][s]=c()}else n=c();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),r=0;r<n.length;r++)e.setAttribute(n[r],t.attributes[n[r]]);var i="prepend"===s?"afterbegin":"beforeend";return a.insertAdjacentElement(i,e),e}};var e='.Input_module_srOnly__3f2d32a2{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.Input_module_hidden__3f2d32a2{display:none}.Input_module_slideIn__3f2d32a2{animation:Input_module_slideIn__3f2d32a2 .5s forwards}@media (prefers-reduced-motion:reduce){.Input_module_slideIn__3f2d32a2{animation-duration:.1ms}}.Input_module_slideOut__3f2d32a2{animation:Input_module_slideOut__3f2d32a2 .5s forwards}@media (prefers-reduced-motion:reduce){.Input_module_slideOut__3f2d32a2{animation-duration:.1ms}}@keyframes Input_module_slideIn__3f2d32a2{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Input_module_slideOut__3f2d32a2{0%{transform:translateY(0)}to{transform:translateY(100vh)}}.Input_module_inputWrapper__3f2d32a2{align-items:center;background-color:var(--input-background-color);border:0;border-radius:var(--input-border-radius);display:flex;padding:0 .5rem;position:relative;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out}@media (prefers-reduced-motion:reduce){.Input_module_inputWrapper__3f2d32a2{transition-duration:.1ms}}.Input_module_inputWrapper__3f2d32a2 input:-webkit-autofill,.Input_module_inputWrapper__3f2d32a2 input:-webkit-autofill:active,.Input_module_inputWrapper__3f2d32a2 input:-webkit-autofill:focus,.Input_module_inputWrapper__3f2d32a2 input:-webkit-autofill:hover{transition:background-color 5000s ease-in-out 0s!important}.Input_module_inputWrapper__3f2d32a2 input:-webkit-autofill:active~.Input_module_outline__3f2d32a2:after,.Input_module_inputWrapper__3f2d32a2 input:-webkit-autofill:focus~.Input_module_outline__3f2d32a2:after,.Input_module_inputWrapper__3f2d32a2 input:-webkit-autofill:hover~.Input_module_outline__3f2d32a2:after,.Input_module_inputWrapper__3f2d32a2 input:-webkit-autofill~.Input_module_outline__3f2d32a2:after{border-radius:var(--input-border-radius);content:"";display:block;height:100%;position:absolute;width:100%}@media (-webkit-min-device-pixel-ratio:0) and (min-resolution:0.001dpcm){.Input_module_inputWrapper__3f2d32a2 input:-webkit-autofill:active~.Input_module_outline__3f2d32a2:after,.Input_module_inputWrapper__3f2d32a2 input:-webkit-autofill:focus~.Input_module_outline__3f2d32a2:after,.Input_module_inputWrapper__3f2d32a2 input:-webkit-autofill:hover~.Input_module_outline__3f2d32a2:after,.Input_module_inputWrapper__3f2d32a2 input:-webkit-autofill~.Input_module_outline__3f2d32a2:after{background-color:#e8f0fe}}@media not all and (min-resolution:0.001dpcm){.Input_module_inputWrapper__3f2d32a2 input:-webkit-autofill:active~.Input_module_outline__3f2d32a2:after,.Input_module_inputWrapper__3f2d32a2 input:-webkit-autofill:focus~.Input_module_outline__3f2d32a2:after,.Input_module_inputWrapper__3f2d32a2 input:-webkit-autofill:hover~.Input_module_outline__3f2d32a2:after,.Input_module_inputWrapper__3f2d32a2 input:-webkit-autofill~.Input_module_outline__3f2d32a2:after{background-color:#faffbd}}.Input_module_inputWrapper__3f2d32a2:hover .Input_module_outline__3f2d32a2{background-color:var(--input-hover-background-color);border-color:var(--default)}.Input_module_inputWrapper__3f2d32a2 .Input_module_outline__3f2d32a2.Input_module_disabled__3f2d32a2{background-color:var(--input-disabled-background-color);border-color:var(--disabled)}.Input_module_inputWrapper__3f2d32a2 .Input_module_outline__3f2d32a2.Input_module_error__3f2d32a2{border-color:var(--error)}.Input_module_inputWrapper__3f2d32a2 .Input_module_outline__3f2d32a2.Input_module_focus__3f2d32a2{border-width:var(--input-border-width-focus)}.Input_module_inputWrapper__3f2d32a2 .Input_module_outline__3f2d32a2.Input_module_focus__3f2d32a2:not(.Input_module_error__3f2d32a2){border-color:var(--color-focus)}.Input_module_inputWrapper__3f2d32a2 [data-icon-status=error],.Input_module_inputWrapper__3f2d32a2 [data-icon-status=success]{align-items:center;box-sizing:border-box;display:flex;font-size:1.125rem;height:100%;justify-content:center;width:1.25rem;z-index:2}.Input_module_inputWrapper__3f2d32a2 [data-icon-status=error]:before,.Input_module_inputWrapper__3f2d32a2 [data-icon-status=success]:before{align-items:center;display:flex;font-size:1.125rem;height:1.25rem;justify-content:center;width:1.25rem}.Input_module_inputWrapper__3f2d32a2 [data-icon-status=success]{color:var(--success)}.Input_module_inputWrapper__3f2d32a2 [data-icon-status=error]{color:var(--error)}.Input_module_input__3f2d32a2{background-color:transparent;border:0;border-radius:var(--input-border-radius);box-sizing:border-box;color:var(--color-blue-grey900);font-family:var(--font-family);font-size:var(--form-control-font-size);height:40px;padding:0;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out;z-index:1}@media (prefers-reduced-motion:reduce){.Input_module_input__3f2d32a2{transition-duration:.1ms}}.Input_module_input__3f2d32a2:not(.Input_module_shrinkWidthForDateIcon__3f2d32a2){width:100%}.Input_module_input__3f2d32a2:disabled{color:var(--greyed-out);cursor:not-allowed}.Input_module_input__3f2d32a2.Input_module_shrinkWidthForDateIcon__3f2d32a2{width:auto}.Input_module_input__3f2d32a2:focus:not(:disabled){outline:none}.Input_module_outline__3f2d32a2{border-color:var(--light-border-color);border-radius:var(--input-border-radius);border-style:var(--input-border-style);border-width:var(--input-border-width);inset:0;margin:0;padding:0;pointer-events:none;position:absolute;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out}@media (prefers-reduced-motion:reduce){.Input_module_outline__3f2d32a2{transition-duration:.1ms}}.Input_module_error__3f2d32a2 input{padding-right:1.25rem}.Input_module_error__3f2d32a2 input.Input_module_removeExtraIndent__3f2d32a2{padding-right:0}.Input_module_success__3f2d32a2 input{padding-right:1.25rem}.Input_module_inputWrapper__3f2d32a2 [data-prefix],.Input_module_inputWrapper__3f2d32a2 [data-suffix]{display:block;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out;z-index:1}@media (prefers-reduced-motion:reduce){.Input_module_inputWrapper__3f2d32a2 [data-prefix],.Input_module_inputWrapper__3f2d32a2 [data-suffix]{transition-duration:.1ms}}@media only screen and (min-width:30em){.Input_module_inputWrapper__3f2d32a2{padding:0 .5rem}}',u={"sr-only":"Input_module_srOnly__3f2d32a2",hidden:"Input_module_hidden__3f2d32a2","slide-in":"Input_module_slideIn__3f2d32a2","slide-out":"Input_module_slideOut__3f2d32a2","input-wrapper":"Input_module_inputWrapper__3f2d32a2",outline:"Input_module_outline__3f2d32a2",disabled:"Input_module_disabled__3f2d32a2",error:"Input_module_error__3f2d32a2",focus:"Input_module_focus__3f2d32a2",input:"Input_module_input__3f2d32a2","shrink-width-for-date-icon":"Input_module_shrinkWidthForDateIcon__3f2d32a2","remove-extra-indent":"Input_module_removeExtraIndent__3f2d32a2",success:"Input_module_success__3f2d32a2"};t(e,{});export{e as css,u as default};
2
2
  //# sourceMappingURL=Input.module.esm.js.map
@@ -1,2 +1,2 @@
1
- import e,{createRef as t,useEffect as o}from"react";import r from"./Select.module.esm.js";const c=e.forwardRef((({children:c,className:l,isSelected:n=!1,shouldClick:a,hasFocus:s,selectOpened:i,isSearching:d,childIndex:u,onOptionSelect:p,onFocusChange:m,disabled:f,value:h,...C},S)=>{let b=S||t();o((()=>{n&&b.current&&a&&b.current.click()}),[n,a]),o((()=>{b.current&&s&&i&&!d&&(m&&u&&m(u),b.current.focus())}),[s,b,i,d]);const g=()=>{p&&p(b)};return e.createElement("li",{...C,ref:b,"data-value":h,className:`${n?r["selected-option"]:""} ${f?r.disabled:""} ${null!=l?l:""}`,onClick:g,onKeyDownCapture:e=>{"Enter"===e.code&&(e.stopPropagation(),e.preventDefault(),g())},"aria-selected":n,role:"option",tabIndex:f?-1:0},c)}));export{c as Option};
1
+ import e,{createRef as t,useEffect as o}from"react";import l from"./Select.module.esm.js";const r=e.forwardRef((({children:r,className:c,isSelected:n=!1,shouldClick:a,hasFocus:s,selectOpened:i,isSearching:d,childIndex:u,onOptionSelect:p,onFocusChange:m,disabled:f,value:h,...v},C)=>{let S=C||t();o((()=>{n&&S.current&&a&&S.current.click()}),[n,a]),o((()=>{S.current&&s&&i&&!d&&(m&&u&&m(u),S.current.focus())}),[s,S,i,d]);const b=()=>null==p?void 0:p(S);return e.createElement("li",{...v,ref:S,"data-value":h,className:`${n?l["selected-option"]:""} ${f?l.disabled:""} ${null!=c?c:""}`,onClick:b,onKeyDownCapture:e=>{"Enter"===e.code&&(e.stopPropagation(),e.preventDefault(),b())},"aria-selected":n,role:"option",tabIndex:f?-1:0},r)}));export{r as Option};
2
2
  //# sourceMappingURL=Option.esm.js.map
@@ -1,2 +1,2 @@
1
- import e from"./Select.module.esm.js";import t,{useState as r,useRef as a,createRef as s,useEffect as l,Fragment as n}from"react";import{Input as o}from"../Input/Input.esm.js";import{Icon as c,Icons as i}from"../../Icon/Icon.esm.js";import{useBodyClick as u}from"../../src/hooks/useBodyClick.esm.js";import p from"../../src/readyclasses.module.esm.js";import{filterProps as d}from"../../src/util/helper.esm.js";import{useSelectPositionList as m,useArrowNavigation as h}from"./SelectService.esm.js";import{useDetermineStatusIcon as v}from"../../src/hooks/useDetermineStatusIcon.esm.js";const f=t.forwardRef((({children:f,name:b,disabled:y=!1,labeledBy:E,placeholder:g,describedBy:C,searchPlaceholder:S="Search item",searchInputProps:w,selectButtonProps:x,className:N,error:I=!1,success:j=!1,value:$,clearLabel:k="Clear selection",onChange:P,...B},L)=>{const[A,F]=r(!1),[R,D]=r(""),[O,H]=r(""),T=a(null),K=a(null),[M,q]=r(!1),[z,G]=r(-1),[J,Q]=r(!1),[U]=r(t.Children.count(f)),V=L||s(),W=a(null),X=a(null),{onArrowNavigation:Y}=h({expanded:A,setExpanded:F,isSearching:M,setIsSearching:q,setFocusedSelectItem:G,childrenCount:U,customSelectButtonRef:X,setShouldClick:Q,searchInputRef:W,renderSearchCondition:10}),{listPosition:Z,opacity:_,optionsListMaxHeight:ee,setListPosition:te,setOpacity:re}=m({expanded:A,optionListReference:K,containerReference:T}),ae=e=>{D(e.currentTarget.value)},se=v({success:j,error:I});l((()=>{var e;e=$,t.Children.forEach(f,(t=>{t.props.value===e&&H(t.props.children)}))}),[$]),u((e=>!e.target.closest(".custom-select")&&A),(()=>{F(!1),te({top:0,bottom:"initial"}),re(0)}),A);const le=[];return A&&le.push(e.expanded),I&&le.push(e.error),y&&le.push(e.disabled),N&&le.push(N),j&&le.push(e.success),t.createElement(n,null,t.createElement("select",{...d(B,/^data-/,!1),tabIndex:-1,"aria-hidden":"true",ref:V,name:b,onChange:e=>{null==P||P(e)},className:p["sr-only"]},t.createElement("option",{value:""}),t.Children.map(f,(e=>t.createElement("option",{value:e.props.value})))),t.createElement("div",{...d(B,/^data-/),ref:T,onKeyDown:Y,className:`custom-select ${e.select} ${le.join(" ")} ${null!=N?N:""}`},t.createElement("button",{...x,onClick:()=>{F(!A)},ref:X,type:"button",name:b,className:`${e["custom-select"]} ${le.join(" ")} `,disabled:y,"aria-disabled":y,"aria-invalid":I,"aria-expanded":A,"aria-haspopup":"listbox","aria-labelledby":E,"aria-describedby":C},t.createElement("div",{"data-display":!0,className:e.selected},!$&&g&&t.createElement("span",{className:e.placeholder},g),(null==$?void 0:$.length)>0&&t.createElement("span",{"data-display-inner":!0},O)),t.createElement("div",{className:e.status},se,t.createElement(c,{className:e["triangle-down"],icon:i.TriangleDown}))),t.createElement("div",{ref:K,className:`list-wrapper ${e["list-wrapper"]}`,style:{display:A?"block":"none",opacity:_,maxHeight:ee,pointerEvents:A?"auto":"none",...Z}},Array.isArray(f)&&f.length>10&&t.createElement(o,{...w,autoFocus:!0,ref:W,onFocus:()=>q(!0),onBlur:()=>q(!1),onChange:ae,className:e["select-search"],wrapperProps:{className:`${e["select-search-wrapper"]} ${null===(ne=null==w?void 0:w.wrapperProps)||void 0===ne?void 0:ne.className}`},type:"text",name:"search-option",placeholder:S}),t.createElement("ul",{role:"listbox"},(()=>{if(M||""!==R){return e(t.Children.toArray(f).filter((e=>null!==e.props.children.toLowerCase().match(R.toLowerCase()))))}return e(f);function e(e){return t.Children.map(e,((e,r)=>t.cloneElement(e,{onFocusChange:e=>G(e),onOptionSelect:e=>{(e=>{var t;V.current&&e.current&&(V.current.value=e.current.getAttribute("data-value"),V.current.dispatchEvent(new Event("change",{bubbles:!0}))),F(!1),null===(t=X.current)||void 0===t||t.focus()})(e),Q(!1)},isSelected:e.props.value===$,isSearching:M,selectOpened:A,childIndex:r,hasFocus:z===r,shouldClick:J})))}})()))));var ne}));export{f as Select};
1
+ import e from"./Select.module.esm.js";import t,{useState as r,useRef as a,createRef as s,useEffect as n,Fragment as l}from"react";import{Input as o}from"../Input/Input.esm.js";import{Icon as c,Icons as i}from"../../Icon/Icon.esm.js";import{useBodyClick as p}from"../../src/hooks/useBodyClick.esm.js";import u from"../../src/readyclasses.module.esm.js";import{filterProps as d}from"../../src/util/helper.esm.js";import{useSelectPositionList as m,useArrowNavigation as h}from"./SelectService.esm.js";import{useDetermineStatusIcon as v}from"../../src/hooks/useDetermineStatusIcon.esm.js";const y=t.forwardRef((({children:y,name:f,disabled:b=!1,labeledBy:E,placeholder:C,describedBy:g,searchPlaceholder:N="Search item",searchInputProps:x,selectButtonProps:S,className:w,error:I=!1,success:j=!1,value:k,clearLabel:A="Clear selection",noResultsLabel:L="No results found",onChange:P,...$},B)=>{const[R,F]=r(!1),[O,D]=r(""),[H,K]=r(""),M=a(null),T=a(null),[U,q]=r(!1),[z,G]=r(-1),[J,Q]=r(!1),[V,W]=r(!1),[X]=r(t.Children.count(y)),Y=B||s(),Z=a(null),_=e=>{Y.current&&e&&(Y.current.value=e.getAttribute("data-value"),Y.current.dispatchEvent(new Event("change",{bubbles:!0}))),F(!1)},ee=a(null),{onArrowNavigation:te}=h({expanded:R,setExpanded:F,isSearching:U,setIsSearching:q,setFocusedSelectItem:G,onOptionChangeHandler:_,childrenCount:X,setShouldClick:Q,searchInputRef:Z,renderSearchCondition:10}),{listPosition:re,opacity:ae,optionsListMaxHeight:se,setListPosition:ne,setOpacity:le}=m({expanded:R,optionListReference:T,containerReference:M}),oe=R&&Array.isArray(y)&&y.length>10,ce=e=>{D(e.currentTarget.value)},ie=v({success:j,error:I});n((()=>{R&&(G(0),W(!0)),!R&&ee.current&&V&&(ee.current.focus(),W(!1))}),[R,ee.current,V]),n((()=>{var e;e=k,t.Children.forEach(y,(t=>{t.props.value===e&&K(t.props.children)}))}),[k]),p((e=>!e.target.closest(".custom-select")&&R),(()=>{F(!1),ne({top:0,bottom:"initial"}),le(0)}),R);const pe=[];return R&&pe.push(e.expanded),I&&pe.push(e.error),b&&pe.push(e.disabled),w&&pe.push(w),j&&pe.push(e.success),t.createElement(l,null,t.createElement("select",{...d($,/^data-/,!1),tabIndex:-1,"aria-hidden":"true",ref:Y,name:f,onChange:e=>{null==P||P(e)},className:u["sr-only"]},t.createElement("option",{value:""}),t.Children.map(y,(e=>t.createElement("option",{value:e.props.value})))),t.createElement("div",{...d($,/^data-/),ref:M,onKeyDown:te,className:`custom-select ${e.select} ${pe.join(" ")} ${null!=w?w:""}`},Array.isArray(y)&&y.length>10&&t.createElement(o,{...x,ref:Z,onFocus:()=>q(!0),onBlur:()=>q(!1),onChange:ce,className:e["select-search"],wrapperProps:{className:null===(ue=null==x?void 0:x.wrapperProps)||void 0===ue?void 0:ue.className},style:{display:R?"block":"none"},type:"text",name:"search-option",placeholder:N}),t.createElement("button",{...S,onClick:()=>{F(!R)},ref:ee,type:"button",name:f,className:`${e["custom-select"]} ${pe.join(" ")} `,style:{display:oe?"none":"initial"},disabled:b,"aria-disabled":b,"aria-invalid":I,"aria-expanded":R,"aria-haspopup":"listbox","aria-labelledby":E,"aria-describedby":g},t.createElement("div",{"data-display":!0,className:e.selected},!k&&C&&t.createElement("span",{className:e.placeholder},C),(null==k?void 0:k.length)>0&&t.createElement("span",{"data-display-inner":!0},H)),t.createElement("div",{className:e.status},ie||(R?t.createElement(c,{className:e["chevron-icon"],icon:i.ChevronUp}):t.createElement(c,{className:e["chevron-icon"],icon:i.ChevronDown})))),t.createElement("div",{ref:T,className:`list-wrapper ${e["list-wrapper"]}`,style:{display:R?"block":"none",opacity:ae,maxHeight:se,pointerEvents:R?"auto":"none",...re}},t.createElement("ul",{role:"listbox"},(()=>{if(U||""!==O){const a=t.Children.toArray(y).filter((e=>null!==e.props.children.toLowerCase().match(O.toLowerCase())));return 0===r(a).length?t.createElement("li",{className:e["no-results"]},L):r(a)}return r(y);function r(e){return t.Children.map(e,((e,r)=>t.cloneElement(e,{onFocusChange:e=>{G(e)},onOptionSelect:e=>{_(e.current),Q(!1)},isSelected:e.props.value===k,isSearching:U,selectOpened:R,childIndex:r,hasFocus:z===r,shouldClick:J})))}})()))));var ue}));export{y as Select};
2
2
  //# sourceMappingURL=Select.esm.js.map
@@ -1,2 +1,2 @@
1
- var containers=[],styleTags=[];const e = function(e,t){if(e&&"undefined"!=typeof document){var n,s=!0===t.prepend?"prepend":"append",r=!0===t.singleTag,a="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(r){var i=containers.indexOf(a);-1===i&&(i=containers.push(a)-1,styleTags[i]={}),n=styleTags[i]&&styleTags[i][s]?styleTags[i][s]:styleTags[i][s]=c()}else n=c();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),r=0;r<n.length;r++)e.setAttribute(n[r],t.attributes[n[r]]);var i="prepend"===s?"afterbegin":"beforeend";return a.insertAdjacentElement(i,e),e}};var _='.Select_module_srOnly__2374fa67{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.Select_module_hidden__2374fa67{display:none}.Select_module_slideIn__2374fa67{animation:Select_module_slideIn__2374fa67 .5s forwards}@media (prefers-reduced-motion:reduce){.Select_module_slideIn__2374fa67{animation-duration:.1ms}}.Select_module_slideOut__2374fa67{animation:Select_module_slideOut__2374fa67 .5s forwards}@media (prefers-reduced-motion:reduce){.Select_module_slideOut__2374fa67{animation-duration:.1ms}}@keyframes Select_module_slideIn__2374fa67{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Select_module_slideOut__2374fa67{0%{transform:translateY(0)}to{transform:translateY(100vh)}}.Select_module_w6__2374fa67{width:6%}.Select_module_w7__2374fa67{width:7%}.Select_module_w8__2374fa67{width:8%}.Select_module_w9__2374fa67{width:9%}.Select_module_w10__2374fa67{width:10%}.Select_module_w11__2374fa67{width:11%}.Select_module_w12__2374fa67{width:12%}.Select_module_w13__2374fa67{width:13%}.Select_module_w14__2374fa67{width:14%}.Select_module_w15__2374fa67{width:15%}.Select_module_w16__2374fa67{width:16%}.Select_module_w17__2374fa67{width:17%}.Select_module_w18__2374fa67{width:18%}.Select_module_w19__2374fa67{width:19%}.Select_module_w20__2374fa67{width:20%}.Select_module_w21__2374fa67{width:21%}.Select_module_w22__2374fa67{width:22%}.Select_module_w23__2374fa67{width:23%}.Select_module_w24__2374fa67{width:24%}.Select_module_w25__2374fa67{width:25%}.Select_module_w26__2374fa67{width:26%}.Select_module_w27__2374fa67{width:27%}.Select_module_w28__2374fa67{width:28%}.Select_module_w29__2374fa67{width:29%}.Select_module_w30__2374fa67{width:30%}.Select_module_w31__2374fa67{width:31%}.Select_module_w32__2374fa67{width:32%}.Select_module_w33__2374fa67{width:33%}.Select_module_w34__2374fa67{width:34%}.Select_module_w35__2374fa67{width:35%}.Select_module_w36__2374fa67{width:36%}.Select_module_w37__2374fa67{width:37%}.Select_module_w38__2374fa67{width:38%}.Select_module_w39__2374fa67{width:39%}.Select_module_w40__2374fa67{width:40%}.Select_module_w41__2374fa67{width:41%}.Select_module_w42__2374fa67{width:42%}.Select_module_w43__2374fa67{width:43%}.Select_module_w44__2374fa67{width:44%}.Select_module_w45__2374fa67{width:45%}.Select_module_w46__2374fa67{width:46%}.Select_module_w47__2374fa67{width:47%}.Select_module_w48__2374fa67{width:48%}.Select_module_w49__2374fa67{width:49%}.Select_module_w50__2374fa67{width:50%}.Select_module_w51__2374fa67{width:51%}.Select_module_w52__2374fa67{width:52%}.Select_module_w53__2374fa67{width:53%}.Select_module_w54__2374fa67{width:54%}.Select_module_w55__2374fa67{width:55%}.Select_module_w56__2374fa67{width:56%}.Select_module_w57__2374fa67{width:57%}.Select_module_w58__2374fa67{width:58%}.Select_module_w59__2374fa67{width:59%}.Select_module_w60__2374fa67{width:60%}.Select_module_w61__2374fa67{width:61%}.Select_module_w62__2374fa67{width:62%}.Select_module_w63__2374fa67{width:63%}.Select_module_w64__2374fa67{width:64%}.Select_module_w65__2374fa67{width:65%}.Select_module_w66__2374fa67{width:66%}.Select_module_w67__2374fa67{width:67%}.Select_module_w68__2374fa67{width:68%}.Select_module_w69__2374fa67{width:69%}.Select_module_w70__2374fa67{width:70%}.Select_module_w71__2374fa67{width:71%}.Select_module_w72__2374fa67{width:72%}.Select_module_w73__2374fa67{width:73%}.Select_module_w74__2374fa67{width:74%}.Select_module_w75__2374fa67{width:75%}.Select_module_w76__2374fa67{width:76%}.Select_module_w77__2374fa67{width:77%}.Select_module_w78__2374fa67{width:78%}.Select_module_w79__2374fa67{width:79%}.Select_module_w80__2374fa67{width:80%}.Select_module_w81__2374fa67{width:81%}.Select_module_w82__2374fa67{width:82%}.Select_module_w83__2374fa67{width:83%}.Select_module_w84__2374fa67{width:84%}.Select_module_w85__2374fa67{width:85%}.Select_module_w86__2374fa67{width:86%}.Select_module_w87__2374fa67{width:87%}.Select_module_w88__2374fa67{width:88%}.Select_module_w89__2374fa67{width:89%}.Select_module_w90__2374fa67{width:90%}.Select_module_w91__2374fa67{width:91%}.Select_module_w92__2374fa67{width:92%}.Select_module_w93__2374fa67{width:93%}.Select_module_w94__2374fa67{width:94%}.Select_module_w95__2374fa67{width:95%}.Select_module_w96__2374fa67{width:96%}.Select_module_w97__2374fa67{width:97%}.Select_module_w98__2374fa67{width:98%}.Select_module_w99__2374fa67{width:99%}.Select_module_w100__2374fa67{width:100%}.Select_module_w101__2374fa67{width:101%}.Select_module_w102__2374fa67{width:102%}.Select_module_w103__2374fa67{width:103%}.Select_module_w104__2374fa67{width:104%}.Select_module_w105__2374fa67{width:105%}.Select_module_select__2374fa67{background-color:var(--input-background-color);border:0;border-radius:var(--input-border-radius);box-sizing:border-box;font-size:var(--form-control-font-size);position:relative;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out}@media (prefers-reduced-motion:reduce){.Select_module_select__2374fa67{transition-duration:.1ms}}.Select_module_select__2374fa67 [data-display]{color:var(--greyed-out);font-family:var(--form-control-font-size)}.Select_module_select__2374fa67.Select_module_expanded__2374fa67 .Select_module_listWrapper__2374fa67{background:var(--light)}.Select_module_select__2374fa67:not(.Select_module_expanded__2374fa67) button:focus:not(.Select_module_error__2374fa67){border:var(--input-border-width-focus) solid var(--color-focus);padding:0 calc(.833em - var(--input-border-width-focus) + var(--input-border-width))}.Select_module_select__2374fa67:hover:not(.Select_module_disabled__2374fa67):not(.Select_module_expanded__2374fa67):not(.Select_module_error__2374fa67) button:not(:focus){border-color:var(--default);border-width:var(--input-border-width)}.Select_module_select__2374fa67 .Select_module_customSelect__2374fa67{background-color:transparent;border-color:var(--light-grey-border);border-radius:var(--input-border-radius);border-style:var(--input-border-style);border-width:var(--input-border-width);cursor:pointer;font-size:var(--form-control-font-size);min-height:calc(2.86rem - var(--input-border-width)*2);padding:0 .833em;position:relative;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out;width:100%}@media (prefers-reduced-motion:reduce){.Select_module_select__2374fa67 .Select_module_customSelect__2374fa67{transition-duration:.1ms}}.Select_module_select__2374fa67 .Select_module_customSelect__2374fa67:focus{outline:0}.Select_module_select__2374fa67 .Select_module_customSelect__2374fa67.Select_module_error__2374fa67{border-color:var(--error);color:var(--error)}.Select_module_select__2374fa67 .Select_module_customSelect__2374fa67.Select_module_error__2374fa67:focus{border-width:var(--input-border-width-focus)}.Select_module_select__2374fa67 .Select_module_listWrapper__2374fa67{border-color:var(--light-grey-border);border-radius:var(--input-border-radius);border-style:var(--input-border-style);border-width:var(--input-border-width);box-shadow:0 2px 6px rgba(0,0,0,.29);left:0;overflow:auto;position:absolute;top:0;width:100%;z-index:11}.Select_module_select__2374fa67 ul{background-color:var(--light);border-radius:var(--input-border-radius);box-sizing:border-box;color:var(--default);list-style:none;margin:0;max-height:21.25rem;padding:.25rem 0;text-align:left;width:100%}.Select_module_select__2374fa67 ul li{cursor:pointer;font-size:var(--font-size);line-height:var(--default-line-height);margin:0;padding:.5rem 1rem;position:relative}.Select_module_select__2374fa67 ul li:after{background-color:transparent;content:"";height:100%;left:0;opacity:.05;position:absolute;top:0;width:100%}.Select_module_select__2374fa67 ul li:focus{outline:1px solid var(--color-primary);outline-offset:-1px}.Select_module_select__2374fa67 ul li:hover:after{background-color:var(--color-primary)}.Select_module_select__2374fa67 ul li.Select_module_disabled__2374fa67{background-color:var(--disabled);color:var(--greyed-out);pointer-events:none}.Select_module_selectedOption__2374fa67:before{background-color:var(--color-primary);content:"";height:100%;left:0;opacity:.1;position:absolute;top:0;width:100%}.Select_module_selected__2374fa67{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.Select_module_status__2374fa67{align-items:center;display:flex;position:absolute;right:1.625rem;top:50%;transform:translateY(-50%)}.Select_module_status__2374fa67 [data-icon-status=success]{color:var(--success);font-size:1.25rem}.Select_module_status__2374fa67 [data-icon-status=error]{color:var(--error);font-size:1.25rem}.Select_module_status__2374fa67 .Select_module_triangleDown__2374fa67{color:var(--default);font-size:.625rem}.Select_module_status__2374fa67 *+*{margin-left:1.25rem}.Select_module_placeholder__2374fa67{color:var(--greyed-out)}.Select_module_selectSearchWrapper__2374fa67+ul{border-radius:0 0 var(--input-border-radius) var(--input-border-radius)}.Select_module_selectSearch__2374fa67{border-bottom-left-radius:0;border-bottom-right-radius:0;box-sizing:border-box;width:100%}.Select_module_disabled__2374fa67{background-color:var(--disabled);color:var(--greyed-out);cursor:not-allowed}.Select_module_disabled__2374fa67>*{pointer-events:none}@media only screen and (min-width:30em){.Select_module_select__2374fa67 .Select_module_customSelect__2374fa67{padding:0 .833em}.Select_module_select__2374fa67:not(.Select_module_expanded__2374fa67) button:focus:not(.Select_module_error__2374fa67){padding:0 calc(.833em - var(--input-border-width-focus) + var(--input-border-width))}}',l={"sr-only":"Select_module_srOnly__2374fa67",hidden:"Select_module_hidden__2374fa67","slide-in":"Select_module_slideIn__2374fa67","slide-out":"Select_module_slideOut__2374fa67","w-6":"Select_module_w6__2374fa67","w-7":"Select_module_w7__2374fa67","w-8":"Select_module_w8__2374fa67","w-9":"Select_module_w9__2374fa67","w-10":"Select_module_w10__2374fa67","w-11":"Select_module_w11__2374fa67","w-12":"Select_module_w12__2374fa67","w-13":"Select_module_w13__2374fa67","w-14":"Select_module_w14__2374fa67","w-15":"Select_module_w15__2374fa67","w-16":"Select_module_w16__2374fa67","w-17":"Select_module_w17__2374fa67","w-18":"Select_module_w18__2374fa67","w-19":"Select_module_w19__2374fa67","w-20":"Select_module_w20__2374fa67","w-21":"Select_module_w21__2374fa67","w-22":"Select_module_w22__2374fa67","w-23":"Select_module_w23__2374fa67","w-24":"Select_module_w24__2374fa67","w-25":"Select_module_w25__2374fa67","w-26":"Select_module_w26__2374fa67","w-27":"Select_module_w27__2374fa67","w-28":"Select_module_w28__2374fa67","w-29":"Select_module_w29__2374fa67","w-30":"Select_module_w30__2374fa67","w-31":"Select_module_w31__2374fa67","w-32":"Select_module_w32__2374fa67","w-33":"Select_module_w33__2374fa67","w-34":"Select_module_w34__2374fa67","w-35":"Select_module_w35__2374fa67","w-36":"Select_module_w36__2374fa67","w-37":"Select_module_w37__2374fa67","w-38":"Select_module_w38__2374fa67","w-39":"Select_module_w39__2374fa67","w-40":"Select_module_w40__2374fa67","w-41":"Select_module_w41__2374fa67","w-42":"Select_module_w42__2374fa67","w-43":"Select_module_w43__2374fa67","w-44":"Select_module_w44__2374fa67","w-45":"Select_module_w45__2374fa67","w-46":"Select_module_w46__2374fa67","w-47":"Select_module_w47__2374fa67","w-48":"Select_module_w48__2374fa67","w-49":"Select_module_w49__2374fa67","w-50":"Select_module_w50__2374fa67","w-51":"Select_module_w51__2374fa67","w-52":"Select_module_w52__2374fa67","w-53":"Select_module_w53__2374fa67","w-54":"Select_module_w54__2374fa67","w-55":"Select_module_w55__2374fa67","w-56":"Select_module_w56__2374fa67","w-57":"Select_module_w57__2374fa67","w-58":"Select_module_w58__2374fa67","w-59":"Select_module_w59__2374fa67","w-60":"Select_module_w60__2374fa67","w-61":"Select_module_w61__2374fa67","w-62":"Select_module_w62__2374fa67","w-63":"Select_module_w63__2374fa67","w-64":"Select_module_w64__2374fa67","w-65":"Select_module_w65__2374fa67","w-66":"Select_module_w66__2374fa67","w-67":"Select_module_w67__2374fa67","w-68":"Select_module_w68__2374fa67","w-69":"Select_module_w69__2374fa67","w-70":"Select_module_w70__2374fa67","w-71":"Select_module_w71__2374fa67","w-72":"Select_module_w72__2374fa67","w-73":"Select_module_w73__2374fa67","w-74":"Select_module_w74__2374fa67","w-75":"Select_module_w75__2374fa67","w-76":"Select_module_w76__2374fa67","w-77":"Select_module_w77__2374fa67","w-78":"Select_module_w78__2374fa67","w-79":"Select_module_w79__2374fa67","w-80":"Select_module_w80__2374fa67","w-81":"Select_module_w81__2374fa67","w-82":"Select_module_w82__2374fa67","w-83":"Select_module_w83__2374fa67","w-84":"Select_module_w84__2374fa67","w-85":"Select_module_w85__2374fa67","w-86":"Select_module_w86__2374fa67","w-87":"Select_module_w87__2374fa67","w-88":"Select_module_w88__2374fa67","w-89":"Select_module_w89__2374fa67","w-90":"Select_module_w90__2374fa67","w-91":"Select_module_w91__2374fa67","w-92":"Select_module_w92__2374fa67","w-93":"Select_module_w93__2374fa67","w-94":"Select_module_w94__2374fa67","w-95":"Select_module_w95__2374fa67","w-96":"Select_module_w96__2374fa67","w-97":"Select_module_w97__2374fa67","w-98":"Select_module_w98__2374fa67","w-99":"Select_module_w99__2374fa67","w-100":"Select_module_w100__2374fa67","w-101":"Select_module_w101__2374fa67","w-102":"Select_module_w102__2374fa67","w-103":"Select_module_w103__2374fa67","w-104":"Select_module_w104__2374fa67","w-105":"Select_module_w105__2374fa67",select:"Select_module_select__2374fa67",expanded:"Select_module_expanded__2374fa67","list-wrapper":"Select_module_listWrapper__2374fa67",error:"Select_module_error__2374fa67",disabled:"Select_module_disabled__2374fa67","custom-select":"Select_module_customSelect__2374fa67","selected-option":"Select_module_selectedOption__2374fa67",selected:"Select_module_selected__2374fa67",status:"Select_module_status__2374fa67","triangle-down":"Select_module_triangleDown__2374fa67",placeholder:"Select_module_placeholder__2374fa67","select-search-wrapper":"Select_module_selectSearchWrapper__2374fa67","select-search":"Select_module_selectSearch__2374fa67"};e(_,{});export{_ as css,l as default};
1
+ var containers=[],styleTags=[];const e = function(e,t){if(e&&"undefined"!=typeof document){var n,s=!0===t.prepend?"prepend":"append",r=!0===t.singleTag,a="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(r){var i=containers.indexOf(a);-1===i&&(i=containers.push(a)-1,styleTags[i]={}),n=styleTags[i]&&styleTags[i][s]?styleTags[i][s]:styleTags[i][s]=c()}else n=c();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),r=0;r<n.length;r++)e.setAttribute(n[r],t.attributes[n[r]]);var i="prepend"===s?"afterbegin":"beforeend";return a.insertAdjacentElement(i,e),e}};var o='.Select_module_srOnly__6d2a532e{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.Select_module_hidden__6d2a532e{display:none}.Select_module_slideIn__6d2a532e{animation:Select_module_slideIn__6d2a532e .5s forwards}@media (prefers-reduced-motion:reduce){.Select_module_slideIn__6d2a532e{animation-duration:.1ms}}.Select_module_slideOut__6d2a532e{animation:Select_module_slideOut__6d2a532e .5s forwards}@media (prefers-reduced-motion:reduce){.Select_module_slideOut__6d2a532e{animation-duration:.1ms}}@keyframes Select_module_slideIn__6d2a532e{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Select_module_slideOut__6d2a532e{0%{transform:translateY(0)}to{transform:translateY(100vh)}}.Select_module_select__6d2a532e{background-color:var(--input-background-color);border:0;border-radius:var(--input-border-radius);box-sizing:border-box;font-size:var(--form-control-font-size);position:relative;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out}@media (prefers-reduced-motion:reduce){.Select_module_select__6d2a532e{transition-duration:.1ms}}.Select_module_select__6d2a532e [data-display]{color:var(--color-default);font-family:var(--font-family)}.Select_module_select__6d2a532e.Select_module_expanded__6d2a532e .Select_module_listWrapper__6d2a532e{background:var(--light)}.Select_module_select__6d2a532e:not(.Select_module_expanded__6d2a532e) button:focus:not(.Select_module_error__6d2a532e){border:var(--input-border-width-focus) solid var(--color-focus);padding:0 calc(.5rem - var(--input-border-width-focus))}.Select_module_select__6d2a532e:hover:not(.Select_module_disabled__6d2a532e):not(.Select_module_expanded__6d2a532e):not(.Select_module_error__6d2a532e) button:not(:focus){background-color:var(--color-blue-grey25);border-color:var(--default);border-width:var(--input-border-width)}.Select_module_select__6d2a532e .Select_module_customSelect__6d2a532e{background-color:transparent;border-color:var(--color-blue-grey500);border-radius:var(--input-border-radius);border-style:var(--input-border-style);border-width:var(--input-border-width);cursor:pointer;font-size:var(--form-control-font-size);min-height:calc(2.625rem - var(--input-border-width)*2);padding:0 calc(.5rem - var(--input-border-width));position:relative;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out;width:100%}@media (prefers-reduced-motion:reduce){.Select_module_select__6d2a532e .Select_module_customSelect__6d2a532e{transition-duration:.1ms}}.Select_module_select__6d2a532e .Select_module_customSelect__6d2a532e:focus{outline:0}.Select_module_select__6d2a532e .Select_module_customSelect__6d2a532e.Select_module_error__6d2a532e{border-color:var(--error);color:var(--error)}.Select_module_select__6d2a532e .Select_module_customSelect__6d2a532e.Select_module_error__6d2a532e:focus{border-width:var(--input-border-width-focus)}.Select_module_select__6d2a532e .Select_module_customSelect__6d2a532e.Select_module_disabled__6d2a532e{border-color:var(--color-disabled)}.Select_module_select__6d2a532e .Select_module_listWrapper__6d2a532e{border-color:var(--light-grey-border);border-radius:var(--input-border-radius);border-style:var(--input-border-style);border-width:var(--input-border-width);box-shadow:0 4px 5px 0 rgba(1,5,50,.2);box-shadow:0 3px 14px 0 rgba(1,5,50,.122);box-shadow:0 8px 10px 0 rgba(1,5,50,.141);left:0;overflow:auto;position:absolute;top:44px;width:100%;z-index:11}.Select_module_select__6d2a532e ul{background-color:var(--light);border-radius:var(--input-border-radius);box-sizing:border-box;color:var(--default);list-style:none;margin:0;max-height:21.25rem;padding:.25rem 0;text-align:left;width:100%}.Select_module_select__6d2a532e ul li{cursor:pointer;font-size:var(--form-control-font-size);line-height:var(--default-line-height);margin:0;padding:.5rem .75rem;position:relative}.Select_module_select__6d2a532e ul li:after{background-color:transparent;content:"";height:100%;left:0;opacity:.05;position:absolute;top:0;width:100%}.Select_module_select__6d2a532e ul li:focus{outline:var(--input-border-width-focus) solid var(--color-primary300);outline-offset:-var(--input-border-width-focus)}.Select_module_select__6d2a532e ul li:active:after,.Select_module_select__6d2a532e ul li:hover:after{background-color:var(--color-primary)}.Select_module_select__6d2a532e ul li:active:after{opacity:.1}.Select_module_select__6d2a532e ul li.Select_module_disabled__6d2a532e{background-color:var(--disabled);color:var(--greyed-out);pointer-events:none}.Select_module_selectedOption__6d2a532e{color:var(--color-primary)}.Select_module_selectedOption__6d2a532e:before{border-bottom-right-radius:.125rem;border-left:.25rem solid var(--color-primary);border-top-right-radius:.125rem;content:"";height:100%;left:0;position:absolute;top:0}.Select_module_selected__6d2a532e{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.Select_module_status__6d2a532e{align-items:center;display:flex;position:absolute;right:.8125rem;top:50%;transform:translateY(-50%)}.Select_module_status__6d2a532e [data-icon-status=success]{color:var(--success);font-size:1.25rem}.Select_module_status__6d2a532e [data-icon-status=error]{color:var(--error);font-size:1.25rem}.Select_module_status__6d2a532e .Select_module_chevronIcon__6d2a532e{color:var(--default);font-size:.625rem}.Select_module_status__6d2a532e *+*{margin-left:1.25rem}.Select_module_placeholder__6d2a532e{color:var(--greyed-out)}.Select_module_selectSearch__6d2a532e{border-bottom-left-radius:0;border-bottom-right-radius:0;box-sizing:border-box;position:relative;width:100%}.Select_module_disabled__6d2a532e{background-color:var(--color-blue-grey25);color:var(--greyed-out);cursor:not-allowed}.Select_module_disabled__6d2a532e>*{pointer-events:none}@media only screen and (min-width:30em){.Select_module_select__6d2a532e .Select_module_customSelect__6d2a532e{padding:0 calc(.5rem - var(--input-border-width))}.Select_module_select__6d2a532e:not(.Select_module_expanded__6d2a532e) button:focus:not(.Select_module_error__6d2a532e){padding:0 calc(.5rem - var(--input-border-width-focus))}}',t={"sr-only":"Select_module_srOnly__6d2a532e",hidden:"Select_module_hidden__6d2a532e","slide-in":"Select_module_slideIn__6d2a532e","slide-out":"Select_module_slideOut__6d2a532e",select:"Select_module_select__6d2a532e",expanded:"Select_module_expanded__6d2a532e","list-wrapper":"Select_module_listWrapper__6d2a532e",error:"Select_module_error__6d2a532e",disabled:"Select_module_disabled__6d2a532e","custom-select":"Select_module_customSelect__6d2a532e","selected-option":"Select_module_selectedOption__6d2a532e",selected:"Select_module_selected__6d2a532e",status:"Select_module_status__6d2a532e","chevron-icon":"Select_module_chevronIcon__6d2a532e",placeholder:"Select_module_placeholder__6d2a532e","select-search":"Select_module_selectSearch__6d2a532e"};e(o,{});export{o as css,t as default};
2
2
  //# sourceMappingURL=Select.module.esm.js.map
@@ -1,2 +1,2 @@
1
- import{useState as e,useEffect as t}from"react";const n=({expanded:e,setExpanded:t,isSearching:n,setIsSearching:o,setFocusedSelectItem:r,childrenCount:i,customSelectButtonRef:c,setShouldClick:s,searchInputRef:u,renderSearchCondition:a})=>({onArrowNavigation:d=>{var l,p,v,h;const w=["ArrowDown","ArrowUp","ArrowLeft","ArrowRight","Space","Escape","End","Home"];if(e&&w.push("Tab"),w.includes(d.code)&&!n&&d.preventDefault(),n&&["ArrowDown","ArrowUp","Enter","Escape"].includes(d.code)&&d.preventDefault(),n)switch(d.code){case"ArrowDown":case"Enter":return o(!1),void r(0);case"ArrowUp":return o(!1),void r(i-1);case"Escape":case"Tab":o(!1),t(!1),null===(l=c.current)||void 0===l||l.focus()}else switch(d.code){case"ArrowDown":return e?void r((e=>e+1>i-1?0:e+1)):void t(!0);case"ArrowUp":return void r((e=>e-1<0?i-1:e-1));case"Space":return e?(s(!0),t(!1),void(null===(p=c.current)||void 0===p||p.focus())):void t(!0);case"Tab":return i>=a&&e?(o(!0),void(null===(v=u.current)||void 0===v||v.focus())):void t(!1);case"Escape":return void(e&&(t(!1),null===(h=c.current)||void 0===h||h.focus()));case"End":return void r(i-1);case"Home":return void r(0)}}}),o=({expanded:n,optionListReference:o,containerReference:r})=>{const[i,c]=e("none"),[s,u]=e(0),[a,d]=e({});t((()=>{l()}),[n]);const l=()=>{if(!n||!o.current||!r.current)return;let e={top:0,bottom:"initial"};r.current.getBoundingClientRect().bottom>window.innerHeight-r.current.getBoundingClientRect().top&&(e={top:"initial",bottom:0}),d(e),p(e)},p=e=>{var t;const n=null===(t=o.current)||void 0===t?void 0:t.getBoundingClientRect().height,i="initial"!==e.top?"top":"bottom";if(!r.current)return void console.error("The containerReference is empty for some reason in the SelectService.ts for the Select component in react-lib-components. We are trying to calculate the option list max height on expand");const s="top"===i?window.innerHeight-r.current.getBoundingClientRect()[i]-16:r.current.getBoundingClientRect()[i]-16;if(n&&s<n)return c(`${s}px`),void u(100);c("none"),u(100)};return{optionsListMaxHeight:i,opacity:s,setOpacity:u,listPosition:a,setListPosition:d}};export{n as useArrowNavigation,o as useSelectPositionList};
1
+ import{useState as e,useEffect as t}from"react";const n=({expanded:e,setExpanded:t,isSearching:n,setIsSearching:r,setFocusedSelectItem:o,onOptionChangeHandler:i,childrenCount:c,setShouldClick:a,searchInputRef:s,renderSearchCondition:d})=>({onArrowNavigation:u=>{var p;const l=["ArrowDown","ArrowUp","ArrowLeft","ArrowRight","Space","Escape","End","Home"];if(e&&l.push("Tab"),!l.includes(u.code)||u.metaKey||n||u.preventDefault(),n&&["ArrowDown","ArrowUp","Enter","Escape","MetaLeft","MetaRight"].includes(u.code)&&u.preventDefault(),n)switch(u.code){case"ArrowDown":case"Enter":return r(!1),void o(0);case"ArrowUp":return r(!1),void o(c-1);case"Escape":case"Tab":r(!1),t(!1)}else switch(u.code){case"ArrowDown":return e?void o((e=>e+1>c-1?0:e+1)):(t(!0),void o(0));case"ArrowUp":return e?void o((e=>e-1<0?c-1:e-1)):(t(!0),void o(c-1));case"Space":return e?(i(u.target),a(!0),void t(!1)):(t(!0),void o(0));case"Enter":case"Home":return void o(0);case"Tab":return c>=d&&e?(r(!0),void(null===(p=s.current)||void 0===p||p.focus())):void t(!1);case"Escape":return void(e&&t(!1));case"End":return void o(c-1);case"ArrowLeft":return void(u.metaKey&&e&&(u.preventDefault(),o(0)));case"ArrowRight":return void(u.metaKey&&e&&(u.preventDefault(),o(c-1)))}}}),r=({expanded:n,optionListReference:r,containerReference:o})=>{const[i,c]=e("none"),[a,s]=e(0),[d,u]=e({});t((()=>{p()}),[n]);const p=()=>{if(!n||!r.current||!o.current)return;let e={top:"2.75rem",bottom:"initial"};o.current.getBoundingClientRect().bottom>window.innerHeight-o.current.getBoundingClientRect().top&&(e={top:"initial",bottom:"2.75rem"}),u(e),l(e)},l=e=>{var t;const n=null===(t=r.current)||void 0===t?void 0:t.getBoundingClientRect().height,i="initial"!==e.top?"top":"bottom";if(!o.current)return void console.error("The containerReference is empty for some reason in the SelectService.ts for the Select component in react-lib-components. We are trying to calculate the option list max height on expand");const a="top"===i?window.innerHeight-o.current.getBoundingClientRect()[i]-16:o.current.getBoundingClientRect()[i]-16;if(n&&a<n)return c(`${a}px`),void s(100);c("none"),s(100)};return{optionsListMaxHeight:i,opacity:a,setOpacity:s,listPosition:d,setListPosition:u}};export{n as useArrowNavigation,r as useSelectPositionList};
2
2
  //# sourceMappingURL=SelectService.esm.js.map
@@ -1,2 +1,2 @@
1
- var containers=[],styleTags=[];const _ = function(e,t){if(e&&"undefined"!=typeof document){var n,s=!0===t.prepend?"prepend":"append",r=!0===t.singleTag,a="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(r){var i=containers.indexOf(a);-1===i&&(i=containers.push(a)-1,styleTags[i]={}),n=styleTags[i]&&styleTags[i][s]?styleTags[i][s]:styleTags[i][s]=c()}else n=c();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),r=0;r<n.length;r++)e.setAttribute(n[r],t.attributes[n[r]]);var i="prepend"===s?"afterbegin":"beforeend";return a.insertAdjacentElement(i,e),e}};var e=".Textarea_module_srOnly__a5971614{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.Textarea_module_hidden__a5971614{display:none}.Textarea_module_slideIn__a5971614{animation:Textarea_module_slideIn__a5971614 .5s forwards}@media (prefers-reduced-motion:reduce){.Textarea_module_slideIn__a5971614{animation-duration:.1ms}}.Textarea_module_slideOut__a5971614{animation:Textarea_module_slideOut__a5971614 .5s forwards}@media (prefers-reduced-motion:reduce){.Textarea_module_slideOut__a5971614{animation-duration:.1ms}}@keyframes Textarea_module_slideIn__a5971614{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Textarea_module_slideOut__a5971614{0%{transform:translateY(0)}to{transform:translateY(100vh)}}.Textarea_module_w6__a5971614{width:6%}.Textarea_module_w7__a5971614{width:7%}.Textarea_module_w8__a5971614{width:8%}.Textarea_module_w9__a5971614{width:9%}.Textarea_module_w10__a5971614{width:10%}.Textarea_module_w11__a5971614{width:11%}.Textarea_module_w12__a5971614{width:12%}.Textarea_module_w13__a5971614{width:13%}.Textarea_module_w14__a5971614{width:14%}.Textarea_module_w15__a5971614{width:15%}.Textarea_module_w16__a5971614{width:16%}.Textarea_module_w17__a5971614{width:17%}.Textarea_module_w18__a5971614{width:18%}.Textarea_module_w19__a5971614{width:19%}.Textarea_module_w20__a5971614{width:20%}.Textarea_module_w21__a5971614{width:21%}.Textarea_module_w22__a5971614{width:22%}.Textarea_module_w23__a5971614{width:23%}.Textarea_module_w24__a5971614{width:24%}.Textarea_module_w25__a5971614{width:25%}.Textarea_module_w26__a5971614{width:26%}.Textarea_module_w27__a5971614{width:27%}.Textarea_module_w28__a5971614{width:28%}.Textarea_module_w29__a5971614{width:29%}.Textarea_module_w30__a5971614{width:30%}.Textarea_module_w31__a5971614{width:31%}.Textarea_module_w32__a5971614{width:32%}.Textarea_module_w33__a5971614{width:33%}.Textarea_module_w34__a5971614{width:34%}.Textarea_module_w35__a5971614{width:35%}.Textarea_module_w36__a5971614{width:36%}.Textarea_module_w37__a5971614{width:37%}.Textarea_module_w38__a5971614{width:38%}.Textarea_module_w39__a5971614{width:39%}.Textarea_module_w40__a5971614{width:40%}.Textarea_module_w41__a5971614{width:41%}.Textarea_module_w42__a5971614{width:42%}.Textarea_module_w43__a5971614{width:43%}.Textarea_module_w44__a5971614{width:44%}.Textarea_module_w45__a5971614{width:45%}.Textarea_module_w46__a5971614{width:46%}.Textarea_module_w47__a5971614{width:47%}.Textarea_module_w48__a5971614{width:48%}.Textarea_module_w49__a5971614{width:49%}.Textarea_module_w50__a5971614{width:50%}.Textarea_module_w51__a5971614{width:51%}.Textarea_module_w52__a5971614{width:52%}.Textarea_module_w53__a5971614{width:53%}.Textarea_module_w54__a5971614{width:54%}.Textarea_module_w55__a5971614{width:55%}.Textarea_module_w56__a5971614{width:56%}.Textarea_module_w57__a5971614{width:57%}.Textarea_module_w58__a5971614{width:58%}.Textarea_module_w59__a5971614{width:59%}.Textarea_module_w60__a5971614{width:60%}.Textarea_module_w61__a5971614{width:61%}.Textarea_module_w62__a5971614{width:62%}.Textarea_module_w63__a5971614{width:63%}.Textarea_module_w64__a5971614{width:64%}.Textarea_module_w65__a5971614{width:65%}.Textarea_module_w66__a5971614{width:66%}.Textarea_module_w67__a5971614{width:67%}.Textarea_module_w68__a5971614{width:68%}.Textarea_module_w69__a5971614{width:69%}.Textarea_module_w70__a5971614{width:70%}.Textarea_module_w71__a5971614{width:71%}.Textarea_module_w72__a5971614{width:72%}.Textarea_module_w73__a5971614{width:73%}.Textarea_module_w74__a5971614{width:74%}.Textarea_module_w75__a5971614{width:75%}.Textarea_module_w76__a5971614{width:76%}.Textarea_module_w77__a5971614{width:77%}.Textarea_module_w78__a5971614{width:78%}.Textarea_module_w79__a5971614{width:79%}.Textarea_module_w80__a5971614{width:80%}.Textarea_module_w81__a5971614{width:81%}.Textarea_module_w82__a5971614{width:82%}.Textarea_module_w83__a5971614{width:83%}.Textarea_module_w84__a5971614{width:84%}.Textarea_module_w85__a5971614{width:85%}.Textarea_module_w86__a5971614{width:86%}.Textarea_module_w87__a5971614{width:87%}.Textarea_module_w88__a5971614{width:88%}.Textarea_module_w89__a5971614{width:89%}.Textarea_module_w90__a5971614{width:90%}.Textarea_module_w91__a5971614{width:91%}.Textarea_module_w92__a5971614{width:92%}.Textarea_module_w93__a5971614{width:93%}.Textarea_module_w94__a5971614{width:94%}.Textarea_module_w95__a5971614{width:95%}.Textarea_module_w96__a5971614{width:96%}.Textarea_module_w97__a5971614{width:97%}.Textarea_module_w98__a5971614{width:98%}.Textarea_module_w99__a5971614{width:99%}.Textarea_module_w100__a5971614{width:100%}.Textarea_module_w101__a5971614{width:101%}.Textarea_module_w102__a5971614{width:102%}.Textarea_module_w103__a5971614{width:103%}.Textarea_module_w104__a5971614{width:104%}.Textarea_module_w105__a5971614{width:105%}.Textarea_module_textareaWrapper__a5971614{box-sizing:border-box;position:relative;width:100%}.Textarea_module_textareaWrapper__a5971614 [data-icon-status=error],.Textarea_module_textareaWrapper__a5971614 [data-icon-status=success]{font-size:1.25rem;position:absolute;right:1.25rem;top:.85rem;z-index:1}.Textarea_module_textareaWrapper__a5971614 [data-icon-status=success]{color:var(--success)}.Textarea_module_textareaWrapper__a5971614 [data-icon-status=error]{color:var(--error)}.Textarea_module_textareaWrapper__a5971614:hover .Textarea_module_outline__a5971614{border-color:var(--default)}.Textarea_module_textareaWrapper__a5971614 .Textarea_module_outline__a5971614.Textarea_module_disabled__a5971614{border-color:var(--light)}.Textarea_module_textareaWrapper__a5971614 .Textarea_module_outline__a5971614.Textarea_module_error__a5971614{border-color:var(--error)}.Textarea_module_textareaWrapper__a5971614 .Textarea_module_outline__a5971614.Textarea_module_focus__a5971614{border-width:var(--input-border-width-focus)}.Textarea_module_textareaWrapper__a5971614 .Textarea_module_outline__a5971614.Textarea_module_focus__a5971614:not(.Textarea_module_error__a5971614){border-color:var(--color-focus)}.Textarea_module_textarea__a5971614{border:0;border-radius:var(--input-border-radius);box-sizing:border-box;color:var(--greyed-out);font-family:var(--font-family);font-size:var(--form-control-font-size);padding:.833em .856em;resize:vertical;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out;vertical-align:top;width:100%}@media (prefers-reduced-motion:reduce){.Textarea_module_textarea__a5971614{transition-duration:.1ms}}.Textarea_module_textarea__a5971614:disabled{background-color:var(--disabled);cursor:not-allowed}.Textarea_module_textarea__a5971614:focus:not(:disabled){outline:none}.Textarea_module_outline__a5971614{border-color:var(--light-grey-border);border-radius:var(--input-border-radius);border-style:var(--input-border-style);border-width:var(--input-border-width);inset:0;margin:0;padding:0;pointer-events:none;position:absolute;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out}@media (prefers-reduced-motion:reduce){.Textarea_module_outline__a5971614{transition-duration:.1ms}}.Textarea_module_error__a5971614{border-color:var(--error);color:var(--error)}",a={"sr-only":"Textarea_module_srOnly__a5971614",hidden:"Textarea_module_hidden__a5971614","slide-in":"Textarea_module_slideIn__a5971614","slide-out":"Textarea_module_slideOut__a5971614","w-6":"Textarea_module_w6__a5971614","w-7":"Textarea_module_w7__a5971614","w-8":"Textarea_module_w8__a5971614","w-9":"Textarea_module_w9__a5971614","w-10":"Textarea_module_w10__a5971614","w-11":"Textarea_module_w11__a5971614","w-12":"Textarea_module_w12__a5971614","w-13":"Textarea_module_w13__a5971614","w-14":"Textarea_module_w14__a5971614","w-15":"Textarea_module_w15__a5971614","w-16":"Textarea_module_w16__a5971614","w-17":"Textarea_module_w17__a5971614","w-18":"Textarea_module_w18__a5971614","w-19":"Textarea_module_w19__a5971614","w-20":"Textarea_module_w20__a5971614","w-21":"Textarea_module_w21__a5971614","w-22":"Textarea_module_w22__a5971614","w-23":"Textarea_module_w23__a5971614","w-24":"Textarea_module_w24__a5971614","w-25":"Textarea_module_w25__a5971614","w-26":"Textarea_module_w26__a5971614","w-27":"Textarea_module_w27__a5971614","w-28":"Textarea_module_w28__a5971614","w-29":"Textarea_module_w29__a5971614","w-30":"Textarea_module_w30__a5971614","w-31":"Textarea_module_w31__a5971614","w-32":"Textarea_module_w32__a5971614","w-33":"Textarea_module_w33__a5971614","w-34":"Textarea_module_w34__a5971614","w-35":"Textarea_module_w35__a5971614","w-36":"Textarea_module_w36__a5971614","w-37":"Textarea_module_w37__a5971614","w-38":"Textarea_module_w38__a5971614","w-39":"Textarea_module_w39__a5971614","w-40":"Textarea_module_w40__a5971614","w-41":"Textarea_module_w41__a5971614","w-42":"Textarea_module_w42__a5971614","w-43":"Textarea_module_w43__a5971614","w-44":"Textarea_module_w44__a5971614","w-45":"Textarea_module_w45__a5971614","w-46":"Textarea_module_w46__a5971614","w-47":"Textarea_module_w47__a5971614","w-48":"Textarea_module_w48__a5971614","w-49":"Textarea_module_w49__a5971614","w-50":"Textarea_module_w50__a5971614","w-51":"Textarea_module_w51__a5971614","w-52":"Textarea_module_w52__a5971614","w-53":"Textarea_module_w53__a5971614","w-54":"Textarea_module_w54__a5971614","w-55":"Textarea_module_w55__a5971614","w-56":"Textarea_module_w56__a5971614","w-57":"Textarea_module_w57__a5971614","w-58":"Textarea_module_w58__a5971614","w-59":"Textarea_module_w59__a5971614","w-60":"Textarea_module_w60__a5971614","w-61":"Textarea_module_w61__a5971614","w-62":"Textarea_module_w62__a5971614","w-63":"Textarea_module_w63__a5971614","w-64":"Textarea_module_w64__a5971614","w-65":"Textarea_module_w65__a5971614","w-66":"Textarea_module_w66__a5971614","w-67":"Textarea_module_w67__a5971614","w-68":"Textarea_module_w68__a5971614","w-69":"Textarea_module_w69__a5971614","w-70":"Textarea_module_w70__a5971614","w-71":"Textarea_module_w71__a5971614","w-72":"Textarea_module_w72__a5971614","w-73":"Textarea_module_w73__a5971614","w-74":"Textarea_module_w74__a5971614","w-75":"Textarea_module_w75__a5971614","w-76":"Textarea_module_w76__a5971614","w-77":"Textarea_module_w77__a5971614","w-78":"Textarea_module_w78__a5971614","w-79":"Textarea_module_w79__a5971614","w-80":"Textarea_module_w80__a5971614","w-81":"Textarea_module_w81__a5971614","w-82":"Textarea_module_w82__a5971614","w-83":"Textarea_module_w83__a5971614","w-84":"Textarea_module_w84__a5971614","w-85":"Textarea_module_w85__a5971614","w-86":"Textarea_module_w86__a5971614","w-87":"Textarea_module_w87__a5971614","w-88":"Textarea_module_w88__a5971614","w-89":"Textarea_module_w89__a5971614","w-90":"Textarea_module_w90__a5971614","w-91":"Textarea_module_w91__a5971614","w-92":"Textarea_module_w92__a5971614","w-93":"Textarea_module_w93__a5971614","w-94":"Textarea_module_w94__a5971614","w-95":"Textarea_module_w95__a5971614","w-96":"Textarea_module_w96__a5971614","w-97":"Textarea_module_w97__a5971614","w-98":"Textarea_module_w98__a5971614","w-99":"Textarea_module_w99__a5971614","w-100":"Textarea_module_w100__a5971614","w-101":"Textarea_module_w101__a5971614","w-102":"Textarea_module_w102__a5971614","w-103":"Textarea_module_w103__a5971614","w-104":"Textarea_module_w104__a5971614","w-105":"Textarea_module_w105__a5971614","textarea-wrapper":"Textarea_module_textareaWrapper__a5971614",outline:"Textarea_module_outline__a5971614",disabled:"Textarea_module_disabled__a5971614",error:"Textarea_module_error__a5971614",focus:"Textarea_module_focus__a5971614",textarea:"Textarea_module_textarea__a5971614"};_(e,{});export{e as css,a as default};
1
+ var containers=[],styleTags=[];const e = function(e,t){if(e&&"undefined"!=typeof document){var n,s=!0===t.prepend?"prepend":"append",r=!0===t.singleTag,a="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(r){var i=containers.indexOf(a);-1===i&&(i=containers.push(a)-1,styleTags[i]={}),n=styleTags[i]&&styleTags[i][s]?styleTags[i][s]:styleTags[i][s]=c()}else n=c();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),r=0;r<n.length;r++)e.setAttribute(n[r],t.attributes[n[r]]);var i="prepend"===s?"afterbegin":"beforeend";return a.insertAdjacentElement(i,e),e}};var a=".Textarea_module_srOnly__2da13637{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.Textarea_module_hidden__2da13637{display:none}.Textarea_module_slideIn__2da13637{animation:Textarea_module_slideIn__2da13637 .5s forwards}@media (prefers-reduced-motion:reduce){.Textarea_module_slideIn__2da13637{animation-duration:.1ms}}.Textarea_module_slideOut__2da13637{animation:Textarea_module_slideOut__2da13637 .5s forwards}@media (prefers-reduced-motion:reduce){.Textarea_module_slideOut__2da13637{animation-duration:.1ms}}@keyframes Textarea_module_slideIn__2da13637{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Textarea_module_slideOut__2da13637{0%{transform:translateY(0)}to{transform:translateY(100vh)}}.Textarea_module_textareaWrapper__2da13637{box-sizing:border-box;position:relative;width:100%}.Textarea_module_textareaWrapper__2da13637 [data-icon-status=error],.Textarea_module_textareaWrapper__2da13637 [data-icon-status=success]{font-size:1.25rem;position:absolute;right:1.25rem;top:.85rem;z-index:1}.Textarea_module_textareaWrapper__2da13637 [data-icon-status=error]:before,.Textarea_module_textareaWrapper__2da13637 [data-icon-status=success]:before{align-items:center;display:flex;font-size:1.125rem;height:1.25rem;justify-content:center;width:1.25rem}.Textarea_module_textareaWrapper__2da13637 [data-icon-status=success]{color:var(--success)}.Textarea_module_textareaWrapper__2da13637 [data-icon-status=error]{color:var(--error)}.Textarea_module_textareaWrapper__2da13637:hover .Textarea_module_outline__2da13637{background-color:var(--input-hover-background-color);border-color:var(--default)}.Textarea_module_textareaWrapper__2da13637 .Textarea_module_outline__2da13637.Textarea_module_disabled__2da13637{background-color:var(--input-disabled-background-color);border-color:var(--disabled)}.Textarea_module_textareaWrapper__2da13637 .Textarea_module_outline__2da13637.Textarea_module_error__2da13637{border-color:var(--error)}.Textarea_module_textareaWrapper__2da13637 .Textarea_module_outline__2da13637.Textarea_module_focus__2da13637{border-width:var(--input-border-width-focus)}.Textarea_module_textareaWrapper__2da13637 .Textarea_module_outline__2da13637.Textarea_module_focus__2da13637:not(.Textarea_module_error__2da13637){border-color:var(--color-focus)}.Textarea_module_textarea__2da13637{background-color:transparent;border:0;border-radius:var(--input-border-radius);box-sizing:border-box;color:var(--color-blue-grey900);font-family:var(--font-family);font-size:var(--form-control-font-size);margin:var(--input-border-width) 0;padding:.625rem .5rem;position:relative;resize:vertical;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out;vertical-align:top;width:calc(100% - var(--input-border-width));z-index:1}@media (prefers-reduced-motion:reduce){.Textarea_module_textarea__2da13637{transition-duration:.1ms}}.Textarea_module_textarea__2da13637:disabled{color:var(--greyed-out);cursor:not-allowed}.Textarea_module_textarea__2da13637:focus:not(:disabled){outline:none}.Textarea_module_outline__2da13637{border-color:var(--light-border-color);border-radius:var(--input-border-radius);border-style:var(--input-border-style);border-width:var(--input-border-width);inset:0;margin:0;padding:0;pointer-events:none;position:absolute;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out}@media (prefers-reduced-motion:reduce){.Textarea_module_outline__2da13637{transition-duration:.1ms}}.Textarea_module_error__2da13637{border-color:var(--error)}",r={"sr-only":"Textarea_module_srOnly__2da13637",hidden:"Textarea_module_hidden__2da13637","slide-in":"Textarea_module_slideIn__2da13637","slide-out":"Textarea_module_slideOut__2da13637","textarea-wrapper":"Textarea_module_textareaWrapper__2da13637",outline:"Textarea_module_outline__2da13637",disabled:"Textarea_module_disabled__2da13637",error:"Textarea_module_error__2da13637",focus:"Textarea_module_focus__2da13637",textarea:"Textarea_module_textarea__2da13637"};e(a,{});export{a as css,r as default};
2
2
  //# sourceMappingURL=Textarea.module.esm.js.map
@@ -1,2 +1,2 @@
1
- import e from"react";import{Checkbox as a}from"../Checkbox/Checkbox.esm.js";import r from"./Toggle.module.esm.js";const l=e.forwardRef((({checked:l,disabled:s,helperProps:o,className:c,label:t,...m},d)=>{const p=[r["toggle-wrapper"]];return c&&p.push(c),e.createElement("div",{className:p.join(" ")},e.createElement(a,{...m,ref:d,checked:l,className:r.checkbox,helperProps:{className:r["toggle-helper"],...o},disabled:s,label:t},e.createElement("span",{"data-toggle":"true","aria-hidden":"true",className:`${r.toggle} ${l?r.checked:""} ${s?r.disabled:""} `})))}));export{l as Toggle};
1
+ import e from"react";import{Checkbox as r}from"../Checkbox/Checkbox.esm.js";import a from"./Toggle.module.esm.js";const l=e.forwardRef((({checked:l,disabled:p,helperProps:s,className:o,label:t,labelPosition:g="right",hideLabel:c=!1,labelOverflow:h="nowrap",version:d="emphasis",spacing:i="packed",...m},b)=>{const n=[a["toggle-wrapper"]];return o&&n.push(o),n.push(a[`toggle-wrapper--${g}`]),c&&n.push(a["toggle-wrapper--hide-label"]),n.push(a[`toggle-wrapper--${h}`]),n.push(a[`toggle-wrapper--${d}`]),n.push(a[`toggle-wrapper--${i}`]),p&&n.push(a["toggle-wrapper--disabled"]),e.createElement("div",{className:n.join(" ")},e.createElement(r,{...m,ref:b,checked:l,className:a.checkbox,helperProps:{className:a["toggle-helper"],...s},disabled:p,label:t},e.createElement("span",{"data-toggle":"true","aria-hidden":"true",className:`${a.toggle} ${l?a.checked:""} ${p?a.disabled:""} `})))}));export{l as Toggle};
2
2
  //# sourceMappingURL=Toggle.esm.js.map
@@ -1,2 +1,2 @@
1
- var containers=[],styleTags=[];const _ = function(e,t){if(e&&"undefined"!=typeof document){var n,s=!0===t.prepend?"prepend":"append",r=!0===t.singleTag,a="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(r){var i=containers.indexOf(a);-1===i&&(i=containers.push(a)-1,styleTags[i]={}),n=styleTags[i]&&styleTags[i][s]?styleTags[i][s]:styleTags[i][s]=c()}else n=c();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),r=0;r<n.length;r++)e.setAttribute(n[r],t.attributes[n[r]]);var i="prepend"===s?"afterbegin":"beforeend";return a.insertAdjacentElement(i,e),e}};var e='.Toggle_module_srOnly__af9211b1{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.Toggle_module_hidden__af9211b1{display:none}.Toggle_module_slideIn__af9211b1{animation:Toggle_module_slideIn__af9211b1 .5s forwards}@media (prefers-reduced-motion:reduce){.Toggle_module_slideIn__af9211b1{animation-duration:.1ms}}.Toggle_module_slideOut__af9211b1{animation:Toggle_module_slideOut__af9211b1 .5s forwards}@media (prefers-reduced-motion:reduce){.Toggle_module_slideOut__af9211b1{animation-duration:.1ms}}@keyframes Toggle_module_slideIn__af9211b1{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Toggle_module_slideOut__af9211b1{0%{transform:translateY(0)}to{transform:translateY(100vh)}}.Toggle_module_w6__af9211b1{width:6%}.Toggle_module_w7__af9211b1{width:7%}.Toggle_module_w8__af9211b1{width:8%}.Toggle_module_w9__af9211b1{width:9%}.Toggle_module_w10__af9211b1{width:10%}.Toggle_module_w11__af9211b1{width:11%}.Toggle_module_w12__af9211b1{width:12%}.Toggle_module_w13__af9211b1{width:13%}.Toggle_module_w14__af9211b1{width:14%}.Toggle_module_w15__af9211b1{width:15%}.Toggle_module_w16__af9211b1{width:16%}.Toggle_module_w17__af9211b1{width:17%}.Toggle_module_w18__af9211b1{width:18%}.Toggle_module_w19__af9211b1{width:19%}.Toggle_module_w20__af9211b1{width:20%}.Toggle_module_w21__af9211b1{width:21%}.Toggle_module_w22__af9211b1{width:22%}.Toggle_module_w23__af9211b1{width:23%}.Toggle_module_w24__af9211b1{width:24%}.Toggle_module_w25__af9211b1{width:25%}.Toggle_module_w26__af9211b1{width:26%}.Toggle_module_w27__af9211b1{width:27%}.Toggle_module_w28__af9211b1{width:28%}.Toggle_module_w29__af9211b1{width:29%}.Toggle_module_w30__af9211b1{width:30%}.Toggle_module_w31__af9211b1{width:31%}.Toggle_module_w32__af9211b1{width:32%}.Toggle_module_w33__af9211b1{width:33%}.Toggle_module_w34__af9211b1{width:34%}.Toggle_module_w35__af9211b1{width:35%}.Toggle_module_w36__af9211b1{width:36%}.Toggle_module_w37__af9211b1{width:37%}.Toggle_module_w38__af9211b1{width:38%}.Toggle_module_w39__af9211b1{width:39%}.Toggle_module_w40__af9211b1{width:40%}.Toggle_module_w41__af9211b1{width:41%}.Toggle_module_w42__af9211b1{width:42%}.Toggle_module_w43__af9211b1{width:43%}.Toggle_module_w44__af9211b1{width:44%}.Toggle_module_w45__af9211b1{width:45%}.Toggle_module_w46__af9211b1{width:46%}.Toggle_module_w47__af9211b1{width:47%}.Toggle_module_w48__af9211b1{width:48%}.Toggle_module_w49__af9211b1{width:49%}.Toggle_module_w50__af9211b1{width:50%}.Toggle_module_w51__af9211b1{width:51%}.Toggle_module_w52__af9211b1{width:52%}.Toggle_module_w53__af9211b1{width:53%}.Toggle_module_w54__af9211b1{width:54%}.Toggle_module_w55__af9211b1{width:55%}.Toggle_module_w56__af9211b1{width:56%}.Toggle_module_w57__af9211b1{width:57%}.Toggle_module_w58__af9211b1{width:58%}.Toggle_module_w59__af9211b1{width:59%}.Toggle_module_w60__af9211b1{width:60%}.Toggle_module_w61__af9211b1{width:61%}.Toggle_module_w62__af9211b1{width:62%}.Toggle_module_w63__af9211b1{width:63%}.Toggle_module_w64__af9211b1{width:64%}.Toggle_module_w65__af9211b1{width:65%}.Toggle_module_w66__af9211b1{width:66%}.Toggle_module_w67__af9211b1{width:67%}.Toggle_module_w68__af9211b1{width:68%}.Toggle_module_w69__af9211b1{width:69%}.Toggle_module_w70__af9211b1{width:70%}.Toggle_module_w71__af9211b1{width:71%}.Toggle_module_w72__af9211b1{width:72%}.Toggle_module_w73__af9211b1{width:73%}.Toggle_module_w74__af9211b1{width:74%}.Toggle_module_w75__af9211b1{width:75%}.Toggle_module_w76__af9211b1{width:76%}.Toggle_module_w77__af9211b1{width:77%}.Toggle_module_w78__af9211b1{width:78%}.Toggle_module_w79__af9211b1{width:79%}.Toggle_module_w80__af9211b1{width:80%}.Toggle_module_w81__af9211b1{width:81%}.Toggle_module_w82__af9211b1{width:82%}.Toggle_module_w83__af9211b1{width:83%}.Toggle_module_w84__af9211b1{width:84%}.Toggle_module_w85__af9211b1{width:85%}.Toggle_module_w86__af9211b1{width:86%}.Toggle_module_w87__af9211b1{width:87%}.Toggle_module_w88__af9211b1{width:88%}.Toggle_module_w89__af9211b1{width:89%}.Toggle_module_w90__af9211b1{width:90%}.Toggle_module_w91__af9211b1{width:91%}.Toggle_module_w92__af9211b1{width:92%}.Toggle_module_w93__af9211b1{width:93%}.Toggle_module_w94__af9211b1{width:94%}.Toggle_module_w95__af9211b1{width:95%}.Toggle_module_w96__af9211b1{width:96%}.Toggle_module_w97__af9211b1{width:97%}.Toggle_module_w98__af9211b1{width:98%}.Toggle_module_w99__af9211b1{width:99%}.Toggle_module_w100__af9211b1{width:100%}.Toggle_module_w101__af9211b1{width:101%}.Toggle_module_w102__af9211b1{width:102%}.Toggle_module_w103__af9211b1{width:103%}.Toggle_module_w104__af9211b1{width:104%}.Toggle_module_w105__af9211b1{width:105%}.Toggle_module_toggleWrapper__af9211b1{align-items:center;display:flex;position:relative}.Toggle_module_toggle__af9211b1{background-color:var(--toggle-background-color);border-radius:2.5rem;display:block;height:1.25rem;min-width:2rem;pointer-events:none;position:relative;transition-duration:.2s;transition-property:background-color;transition-timing-function:ease-in-out;width:2rem}@media (prefers-reduced-motion:reduce){.Toggle_module_toggle__af9211b1{transition-duration:.1ms}}.Toggle_module_toggle__af9211b1:before{background-color:var(--light);border-radius:50%;content:"";display:block;height:1rem;left:.125rem;position:absolute;top:50%;transform:translateY(-50%) translateX(0);transition-duration:.2s;transition-property:transform;transition-timing-function:ease-in-out;width:1rem}@media (prefers-reduced-motion:reduce){.Toggle_module_toggle__af9211b1:before{transition-duration:.1ms}}.Toggle_module_toggle__af9211b1.Toggle_module_checked__af9211b1{background-color:var(--color-primary)}.Toggle_module_toggle__af9211b1.Toggle_module_checked__af9211b1:before{transform:translateY(-50%) translateX(calc(100% - .25rem))}.Toggle_module_toggle__af9211b1.Toggle_module_disabled__af9211b1{background-color:var(--disabled);cursor:not-allowed}.Toggle_module_toggleHelper__af9211b1{margin-left:2.5rem}.Toggle_module_checkbox__af9211b1{position:static;z-index:10}.Toggle_module_checkbox__af9211b1 input{width:2rem}.Toggle_module_checkbox__af9211b1 input~[data-icon][aria-hidden]{display:none}.Toggle_module_checkbox__af9211b1 input:focus-visible+*{border-radius:2.5rem}',o={"sr-only":"Toggle_module_srOnly__af9211b1",hidden:"Toggle_module_hidden__af9211b1","slide-in":"Toggle_module_slideIn__af9211b1","slide-out":"Toggle_module_slideOut__af9211b1","w-6":"Toggle_module_w6__af9211b1","w-7":"Toggle_module_w7__af9211b1","w-8":"Toggle_module_w8__af9211b1","w-9":"Toggle_module_w9__af9211b1","w-10":"Toggle_module_w10__af9211b1","w-11":"Toggle_module_w11__af9211b1","w-12":"Toggle_module_w12__af9211b1","w-13":"Toggle_module_w13__af9211b1","w-14":"Toggle_module_w14__af9211b1","w-15":"Toggle_module_w15__af9211b1","w-16":"Toggle_module_w16__af9211b1","w-17":"Toggle_module_w17__af9211b1","w-18":"Toggle_module_w18__af9211b1","w-19":"Toggle_module_w19__af9211b1","w-20":"Toggle_module_w20__af9211b1","w-21":"Toggle_module_w21__af9211b1","w-22":"Toggle_module_w22__af9211b1","w-23":"Toggle_module_w23__af9211b1","w-24":"Toggle_module_w24__af9211b1","w-25":"Toggle_module_w25__af9211b1","w-26":"Toggle_module_w26__af9211b1","w-27":"Toggle_module_w27__af9211b1","w-28":"Toggle_module_w28__af9211b1","w-29":"Toggle_module_w29__af9211b1","w-30":"Toggle_module_w30__af9211b1","w-31":"Toggle_module_w31__af9211b1","w-32":"Toggle_module_w32__af9211b1","w-33":"Toggle_module_w33__af9211b1","w-34":"Toggle_module_w34__af9211b1","w-35":"Toggle_module_w35__af9211b1","w-36":"Toggle_module_w36__af9211b1","w-37":"Toggle_module_w37__af9211b1","w-38":"Toggle_module_w38__af9211b1","w-39":"Toggle_module_w39__af9211b1","w-40":"Toggle_module_w40__af9211b1","w-41":"Toggle_module_w41__af9211b1","w-42":"Toggle_module_w42__af9211b1","w-43":"Toggle_module_w43__af9211b1","w-44":"Toggle_module_w44__af9211b1","w-45":"Toggle_module_w45__af9211b1","w-46":"Toggle_module_w46__af9211b1","w-47":"Toggle_module_w47__af9211b1","w-48":"Toggle_module_w48__af9211b1","w-49":"Toggle_module_w49__af9211b1","w-50":"Toggle_module_w50__af9211b1","w-51":"Toggle_module_w51__af9211b1","w-52":"Toggle_module_w52__af9211b1","w-53":"Toggle_module_w53__af9211b1","w-54":"Toggle_module_w54__af9211b1","w-55":"Toggle_module_w55__af9211b1","w-56":"Toggle_module_w56__af9211b1","w-57":"Toggle_module_w57__af9211b1","w-58":"Toggle_module_w58__af9211b1","w-59":"Toggle_module_w59__af9211b1","w-60":"Toggle_module_w60__af9211b1","w-61":"Toggle_module_w61__af9211b1","w-62":"Toggle_module_w62__af9211b1","w-63":"Toggle_module_w63__af9211b1","w-64":"Toggle_module_w64__af9211b1","w-65":"Toggle_module_w65__af9211b1","w-66":"Toggle_module_w66__af9211b1","w-67":"Toggle_module_w67__af9211b1","w-68":"Toggle_module_w68__af9211b1","w-69":"Toggle_module_w69__af9211b1","w-70":"Toggle_module_w70__af9211b1","w-71":"Toggle_module_w71__af9211b1","w-72":"Toggle_module_w72__af9211b1","w-73":"Toggle_module_w73__af9211b1","w-74":"Toggle_module_w74__af9211b1","w-75":"Toggle_module_w75__af9211b1","w-76":"Toggle_module_w76__af9211b1","w-77":"Toggle_module_w77__af9211b1","w-78":"Toggle_module_w78__af9211b1","w-79":"Toggle_module_w79__af9211b1","w-80":"Toggle_module_w80__af9211b1","w-81":"Toggle_module_w81__af9211b1","w-82":"Toggle_module_w82__af9211b1","w-83":"Toggle_module_w83__af9211b1","w-84":"Toggle_module_w84__af9211b1","w-85":"Toggle_module_w85__af9211b1","w-86":"Toggle_module_w86__af9211b1","w-87":"Toggle_module_w87__af9211b1","w-88":"Toggle_module_w88__af9211b1","w-89":"Toggle_module_w89__af9211b1","w-90":"Toggle_module_w90__af9211b1","w-91":"Toggle_module_w91__af9211b1","w-92":"Toggle_module_w92__af9211b1","w-93":"Toggle_module_w93__af9211b1","w-94":"Toggle_module_w94__af9211b1","w-95":"Toggle_module_w95__af9211b1","w-96":"Toggle_module_w96__af9211b1","w-97":"Toggle_module_w97__af9211b1","w-98":"Toggle_module_w98__af9211b1","w-99":"Toggle_module_w99__af9211b1","w-100":"Toggle_module_w100__af9211b1","w-101":"Toggle_module_w101__af9211b1","w-102":"Toggle_module_w102__af9211b1","w-103":"Toggle_module_w103__af9211b1","w-104":"Toggle_module_w104__af9211b1","w-105":"Toggle_module_w105__af9211b1","toggle-wrapper":"Toggle_module_toggleWrapper__af9211b1",toggle:"Toggle_module_toggle__af9211b1",checked:"Toggle_module_checked__af9211b1",disabled:"Toggle_module_disabled__af9211b1","toggle-helper":"Toggle_module_toggleHelper__af9211b1",checkbox:"Toggle_module_checkbox__af9211b1"};_(e,{});export{e as css,o as default};
1
+ var containers=[],styleTags=[];const e = function(e,t){if(e&&"undefined"!=typeof document){var n,s=!0===t.prepend?"prepend":"append",r=!0===t.singleTag,a="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(r){var i=containers.indexOf(a);-1===i&&(i=containers.push(a)-1,styleTags[i]={}),n=styleTags[i]&&styleTags[i][s]?styleTags[i][s]:styleTags[i][s]=c()}else n=c();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),r=0;r<n.length;r++)e.setAttribute(n[r],t.attributes[n[r]]);var i="prepend"===s?"afterbegin":"beforeend";return a.insertAdjacentElement(i,e),e}};var o='.Toggle_module_srOnly__bb29f69b{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.Toggle_module_hidden__bb29f69b{display:none}.Toggle_module_slideIn__bb29f69b{animation:Toggle_module_slideIn__bb29f69b .5s forwards}@media (prefers-reduced-motion:reduce){.Toggle_module_slideIn__bb29f69b{animation-duration:.1ms}}.Toggle_module_slideOut__bb29f69b{animation:Toggle_module_slideOut__bb29f69b .5s forwards}@media (prefers-reduced-motion:reduce){.Toggle_module_slideOut__bb29f69b{animation-duration:.1ms}}@keyframes Toggle_module_slideIn__bb29f69b{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Toggle_module_slideOut__bb29f69b{0%{transform:translateY(0)}to{transform:translateY(100vh)}}.Toggle_module_toggleWrapper__bb29f69b{align-items:center;display:flex;position:relative}.Toggle_module_toggleWrapper__bb29f69b label{margin-top:.0625rem;white-space:nowrap}.Toggle_module_toggleWrapper_Left__bb29f69b>div>div{flex-direction:row-reverse;position:relative}.Toggle_module_toggleWrapper_Left__bb29f69b>div>div input{left:auto;right:0}.Toggle_module_toggleWrapper_Left__bb29f69b>div>div label{margin-left:0;margin-right:.5rem}.Toggle_module_toggleWrapper_Left__bb29f69b>div>div+div{margin-left:0}.Toggle_module_toggleWrapper_HideLabel__bb29f69b>div>div label{display:none}.Toggle_module_toggleWrapper_HideLabel__bb29f69b>div>div+div{margin-left:0}.Toggle_module_toggleWrapper_Wrap__bb29f69b label{white-space:normal}.Toggle_module_toggleWrapper_Neutral__bb29f69b input:checked+span{background-color:var(--color-blue-grey500)}.Toggle_module_toggleWrapper_Neutral__bb29f69b input+span:after{color:var(--color-blue-grey500)}.Toggle_module_toggleWrapper_Between__bb29f69b,.Toggle_module_toggleWrapper_Between__bb29f69b>div{width:100%}.Toggle_module_toggleWrapper_Between__bb29f69b>div>div{justify-content:space-between}.Toggle_module_toggleWrapper_Between__bb29f69b.Toggle_module_toggleWrapper_Right__bb29f69b>div>div+div{margin-left:0;text-align:right}.Toggle_module_toggleWrapper_Disabled__bb29f69b input+span{background-color:var(--color-blue-grey50)}.Toggle_module_toggleWrapper_Disabled__bb29f69b input+span:before{background-color:var(--color-blue-grey200)}.Toggle_module_toggleWrapper_Disabled__bb29f69b input+span:after{color:var(--color-blue-grey50)}.Toggle_module_toggleWrapper_Disabled__bb29f69b input:checked+span{background-color:var(--color-blue-grey200)}.Toggle_module_toggleWrapper_Disabled__bb29f69b input:checked+span:before{background-color:var(--color-blue-grey50)}.Toggle_module_toggleWrapper_Disabled__bb29f69b input:checked+span:after{color:var(--color-blue-grey200)}.Toggle_module_toggle__bb29f69b{background-color:var(--toggle-background-color);border-radius:2.5rem;display:block;height:1.25rem;min-width:2rem;pointer-events:none;position:relative;transition-duration:.2s;transition-property:background-color;transition-timing-function:ease-in-out;width:2rem}@media (prefers-reduced-motion:reduce){.Toggle_module_toggle__bb29f69b{transition-duration:.1ms}}.Toggle_module_toggle__bb29f69b:before{background-color:var(--light);border-radius:50%;content:"";display:block;height:1rem;left:.125rem;position:absolute;top:50%;transform:translateY(-50%) translateX(0);transition-duration:.2s;transition-property:transform;transition-timing-function:ease-in-out;width:1rem}@media (prefers-reduced-motion:reduce){.Toggle_module_toggle__bb29f69b:before{transition-duration:.1ms}}.Toggle_module_toggle__bb29f69b:after{color:var(--color-primary);content:"\\e927";font-family:icomoon;font-size:.4375rem;left:.4rem;position:absolute;top:47%;transform:translateY(-50%) translateX(0);transition-duration:.2s;transition-property:transform;transition-timing-function:ease-in-out}@media (prefers-reduced-motion:reduce){.Toggle_module_toggle__bb29f69b:after{transition-duration:.1ms}}.Toggle_module_toggle__bb29f69b.Toggle_module_checked__bb29f69b{background-color:var(--color-primary)}.Toggle_module_toggle__bb29f69b.Toggle_module_checked__bb29f69b:before{transform:translateY(-50%) translateX(calc(100% - .25rem))}.Toggle_module_toggle__bb29f69b.Toggle_module_checked__bb29f69b:after{content:"\\e938";transform:translateY(-50%) translateX(170%)}.Toggle_module_toggle__bb29f69b.Toggle_module_disabled__bb29f69b{cursor:not-allowed}.Toggle_module_toggleHelper__bb29f69b{margin-left:2.5rem}.Toggle_module_checkbox__bb29f69b{position:static;z-index:10}.Toggle_module_checkbox__bb29f69b>div:first-child{align-items:flex-start;display:flex}.Toggle_module_checkbox__bb29f69b input{width:2rem}.Toggle_module_checkbox__bb29f69b input~[data-icon][aria-hidden]{display:none}.Toggle_module_checkbox__bb29f69b input:focus-visible+*{border-radius:2.5rem;outline-offset:.125rem;outline-width:.125rem}',l={"sr-only":"Toggle_module_srOnly__bb29f69b",hidden:"Toggle_module_hidden__bb29f69b","slide-in":"Toggle_module_slideIn__bb29f69b","slide-out":"Toggle_module_slideOut__bb29f69b","toggle-wrapper":"Toggle_module_toggleWrapper__bb29f69b","toggle-wrapper--left":"Toggle_module_toggleWrapper_Left__bb29f69b","toggle-wrapper--hide-label":"Toggle_module_toggleWrapper_HideLabel__bb29f69b","toggle-wrapper--wrap":"Toggle_module_toggleWrapper_Wrap__bb29f69b","toggle-wrapper--neutral":"Toggle_module_toggleWrapper_Neutral__bb29f69b","toggle-wrapper--between":"Toggle_module_toggleWrapper_Between__bb29f69b","toggle-wrapper--right":"Toggle_module_toggleWrapper_Right__bb29f69b","toggle-wrapper--disabled":"Toggle_module_toggleWrapper_Disabled__bb29f69b",toggle:"Toggle_module_toggle__bb29f69b",checked:"Toggle_module_checked__bb29f69b",disabled:"Toggle_module_disabled__bb29f69b","toggle-helper":"Toggle_module_toggleHelper__bb29f69b",checkbox:"Toggle_module_checkbox__bb29f69b"};e(o,{});export{o as css,l as default};
2
2
  //# sourceMappingURL=Toggle.module.esm.js.map
@@ -1,2 +1,2 @@
1
- var containers=[],styleTags=[];const _ = function(e,t){if(e&&"undefined"!=typeof document){var n,s=!0===t.prepend?"prepend":"append",r=!0===t.singleTag,a="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(r){var i=containers.indexOf(a);-1===i&&(i=containers.push(a)-1,styleTags[i]={}),n=styleTags[i]&&styleTags[i][s]?styleTags[i][s]:styleTags[i][s]=c()}else n=c();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),r=0;r<n.length;r++)e.setAttribute(n[r],t.attributes[n[r]]);var i="prepend"===s?"afterbegin":"beforeend";return a.insertAdjacentElement(i,e),e}};var e=".InputWrapper_module_srOnly__198e764f{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.InputWrapper_module_hidden__198e764f{display:none}.InputWrapper_module_slideIn__198e764f{animation:InputWrapper_module_slideIn__198e764f .5s forwards}@media (prefers-reduced-motion:reduce){.InputWrapper_module_slideIn__198e764f{animation-duration:.1ms}}.InputWrapper_module_slideOut__198e764f{animation:InputWrapper_module_slideOut__198e764f .5s forwards}@media (prefers-reduced-motion:reduce){.InputWrapper_module_slideOut__198e764f{animation-duration:.1ms}}@keyframes InputWrapper_module_slideIn__198e764f{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes InputWrapper_module_slideOut__198e764f{0%{transform:translateY(0)}to{transform:translateY(100vh)}}.InputWrapper_module_w6__198e764f{width:6%}.InputWrapper_module_w7__198e764f{width:7%}.InputWrapper_module_w8__198e764f{width:8%}.InputWrapper_module_w9__198e764f{width:9%}.InputWrapper_module_w10__198e764f{width:10%}.InputWrapper_module_w11__198e764f{width:11%}.InputWrapper_module_w12__198e764f{width:12%}.InputWrapper_module_w13__198e764f{width:13%}.InputWrapper_module_w14__198e764f{width:14%}.InputWrapper_module_w15__198e764f{width:15%}.InputWrapper_module_w16__198e764f{width:16%}.InputWrapper_module_w17__198e764f{width:17%}.InputWrapper_module_w18__198e764f{width:18%}.InputWrapper_module_w19__198e764f{width:19%}.InputWrapper_module_w20__198e764f{width:20%}.InputWrapper_module_w21__198e764f{width:21%}.InputWrapper_module_w22__198e764f{width:22%}.InputWrapper_module_w23__198e764f{width:23%}.InputWrapper_module_w24__198e764f{width:24%}.InputWrapper_module_w25__198e764f{width:25%}.InputWrapper_module_w26__198e764f{width:26%}.InputWrapper_module_w27__198e764f{width:27%}.InputWrapper_module_w28__198e764f{width:28%}.InputWrapper_module_w29__198e764f{width:29%}.InputWrapper_module_w30__198e764f{width:30%}.InputWrapper_module_w31__198e764f{width:31%}.InputWrapper_module_w32__198e764f{width:32%}.InputWrapper_module_w33__198e764f{width:33%}.InputWrapper_module_w34__198e764f{width:34%}.InputWrapper_module_w35__198e764f{width:35%}.InputWrapper_module_w36__198e764f{width:36%}.InputWrapper_module_w37__198e764f{width:37%}.InputWrapper_module_w38__198e764f{width:38%}.InputWrapper_module_w39__198e764f{width:39%}.InputWrapper_module_w40__198e764f{width:40%}.InputWrapper_module_w41__198e764f{width:41%}.InputWrapper_module_w42__198e764f{width:42%}.InputWrapper_module_w43__198e764f{width:43%}.InputWrapper_module_w44__198e764f{width:44%}.InputWrapper_module_w45__198e764f{width:45%}.InputWrapper_module_w46__198e764f{width:46%}.InputWrapper_module_w47__198e764f{width:47%}.InputWrapper_module_w48__198e764f{width:48%}.InputWrapper_module_w49__198e764f{width:49%}.InputWrapper_module_w50__198e764f{width:50%}.InputWrapper_module_w51__198e764f{width:51%}.InputWrapper_module_w52__198e764f{width:52%}.InputWrapper_module_w53__198e764f{width:53%}.InputWrapper_module_w54__198e764f{width:54%}.InputWrapper_module_w55__198e764f{width:55%}.InputWrapper_module_w56__198e764f{width:56%}.InputWrapper_module_w57__198e764f{width:57%}.InputWrapper_module_w58__198e764f{width:58%}.InputWrapper_module_w59__198e764f{width:59%}.InputWrapper_module_w60__198e764f{width:60%}.InputWrapper_module_w61__198e764f{width:61%}.InputWrapper_module_w62__198e764f{width:62%}.InputWrapper_module_w63__198e764f{width:63%}.InputWrapper_module_w64__198e764f{width:64%}.InputWrapper_module_w65__198e764f{width:65%}.InputWrapper_module_w66__198e764f{width:66%}.InputWrapper_module_w67__198e764f{width:67%}.InputWrapper_module_w68__198e764f{width:68%}.InputWrapper_module_w69__198e764f{width:69%}.InputWrapper_module_w70__198e764f{width:70%}.InputWrapper_module_w71__198e764f{width:71%}.InputWrapper_module_w72__198e764f{width:72%}.InputWrapper_module_w73__198e764f{width:73%}.InputWrapper_module_w74__198e764f{width:74%}.InputWrapper_module_w75__198e764f{width:75%}.InputWrapper_module_w76__198e764f{width:76%}.InputWrapper_module_w77__198e764f{width:77%}.InputWrapper_module_w78__198e764f{width:78%}.InputWrapper_module_w79__198e764f{width:79%}.InputWrapper_module_w80__198e764f{width:80%}.InputWrapper_module_w81__198e764f{width:81%}.InputWrapper_module_w82__198e764f{width:82%}.InputWrapper_module_w83__198e764f{width:83%}.InputWrapper_module_w84__198e764f{width:84%}.InputWrapper_module_w85__198e764f{width:85%}.InputWrapper_module_w86__198e764f{width:86%}.InputWrapper_module_w87__198e764f{width:87%}.InputWrapper_module_w88__198e764f{width:88%}.InputWrapper_module_w89__198e764f{width:89%}.InputWrapper_module_w90__198e764f{width:90%}.InputWrapper_module_w91__198e764f{width:91%}.InputWrapper_module_w92__198e764f{width:92%}.InputWrapper_module_w93__198e764f{width:93%}.InputWrapper_module_w94__198e764f{width:94%}.InputWrapper_module_w95__198e764f{width:95%}.InputWrapper_module_w96__198e764f{width:96%}.InputWrapper_module_w97__198e764f{width:97%}.InputWrapper_module_w98__198e764f{width:98%}.InputWrapper_module_w99__198e764f{width:99%}.InputWrapper_module_w100__198e764f{width:100%}.InputWrapper_module_w101__198e764f{width:101%}.InputWrapper_module_w102__198e764f{width:102%}.InputWrapper_module_w103__198e764f{width:103%}.InputWrapper_module_w104__198e764f{width:104%}.InputWrapper_module_w105__198e764f{width:105%}label.InputWrapper_module_inputLabel__198e764f.InputWrapper_module_focus__198e764f.InputWrapper_module_focus__198e764f{color:var(--color-primary)}input.InputWrapper_module_floatingLabel__198e764f{padding-top:1rem}.InputWrapper_module_inputWrapperHelper__198e764f{margin-top:.14rem}.InputWrapper_module_inputWrapper__198e764f [data-icon]:before{font-size:1.125rem;transform:translateY(0);transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out}@media (prefers-reduced-motion:reduce){.InputWrapper_module_inputWrapper__198e764f [data-icon]:before{transition-duration:.1ms}}.InputWrapper_module_inputWrapper__198e764f .InputWrapper_module_floatingLabelActive__198e764f [data-icon]:before{transform:translateY(5px)}.InputWrapper_module_inputWrapper__198e764f [data-prefix],.InputWrapper_module_inputWrapper__198e764f [data-suffix]{font-size:var(--form-control-font-size)}.InputWrapper_module_inputWrapper__198e764f [data-prefix]+input{padding-left:.5rem}.InputWrapper_module_inputWrapper__198e764f [data-suffix]{padding-left:1.25rem}.InputWrapper_module_inputWrapper__198e764f input+[data-suffix]{padding-left:.5rem}.InputWrapper_module_inputWrapper__198e764f .InputWrapper_module_disabled__198e764f{background-color:var(--disabled);cursor:not-allowed}.InputWrapper_module_floatingLabelActive__198e764f [data-prefix],.InputWrapper_module_floatingLabelActive__198e764f [data-suffix]{padding-top:1rem;transform:translateY(0)}",p={"sr-only":"InputWrapper_module_srOnly__198e764f",hidden:"InputWrapper_module_hidden__198e764f","slide-in":"InputWrapper_module_slideIn__198e764f","slide-out":"InputWrapper_module_slideOut__198e764f","w-6":"InputWrapper_module_w6__198e764f","w-7":"InputWrapper_module_w7__198e764f","w-8":"InputWrapper_module_w8__198e764f","w-9":"InputWrapper_module_w9__198e764f","w-10":"InputWrapper_module_w10__198e764f","w-11":"InputWrapper_module_w11__198e764f","w-12":"InputWrapper_module_w12__198e764f","w-13":"InputWrapper_module_w13__198e764f","w-14":"InputWrapper_module_w14__198e764f","w-15":"InputWrapper_module_w15__198e764f","w-16":"InputWrapper_module_w16__198e764f","w-17":"InputWrapper_module_w17__198e764f","w-18":"InputWrapper_module_w18__198e764f","w-19":"InputWrapper_module_w19__198e764f","w-20":"InputWrapper_module_w20__198e764f","w-21":"InputWrapper_module_w21__198e764f","w-22":"InputWrapper_module_w22__198e764f","w-23":"InputWrapper_module_w23__198e764f","w-24":"InputWrapper_module_w24__198e764f","w-25":"InputWrapper_module_w25__198e764f","w-26":"InputWrapper_module_w26__198e764f","w-27":"InputWrapper_module_w27__198e764f","w-28":"InputWrapper_module_w28__198e764f","w-29":"InputWrapper_module_w29__198e764f","w-30":"InputWrapper_module_w30__198e764f","w-31":"InputWrapper_module_w31__198e764f","w-32":"InputWrapper_module_w32__198e764f","w-33":"InputWrapper_module_w33__198e764f","w-34":"InputWrapper_module_w34__198e764f","w-35":"InputWrapper_module_w35__198e764f","w-36":"InputWrapper_module_w36__198e764f","w-37":"InputWrapper_module_w37__198e764f","w-38":"InputWrapper_module_w38__198e764f","w-39":"InputWrapper_module_w39__198e764f","w-40":"InputWrapper_module_w40__198e764f","w-41":"InputWrapper_module_w41__198e764f","w-42":"InputWrapper_module_w42__198e764f","w-43":"InputWrapper_module_w43__198e764f","w-44":"InputWrapper_module_w44__198e764f","w-45":"InputWrapper_module_w45__198e764f","w-46":"InputWrapper_module_w46__198e764f","w-47":"InputWrapper_module_w47__198e764f","w-48":"InputWrapper_module_w48__198e764f","w-49":"InputWrapper_module_w49__198e764f","w-50":"InputWrapper_module_w50__198e764f","w-51":"InputWrapper_module_w51__198e764f","w-52":"InputWrapper_module_w52__198e764f","w-53":"InputWrapper_module_w53__198e764f","w-54":"InputWrapper_module_w54__198e764f","w-55":"InputWrapper_module_w55__198e764f","w-56":"InputWrapper_module_w56__198e764f","w-57":"InputWrapper_module_w57__198e764f","w-58":"InputWrapper_module_w58__198e764f","w-59":"InputWrapper_module_w59__198e764f","w-60":"InputWrapper_module_w60__198e764f","w-61":"InputWrapper_module_w61__198e764f","w-62":"InputWrapper_module_w62__198e764f","w-63":"InputWrapper_module_w63__198e764f","w-64":"InputWrapper_module_w64__198e764f","w-65":"InputWrapper_module_w65__198e764f","w-66":"InputWrapper_module_w66__198e764f","w-67":"InputWrapper_module_w67__198e764f","w-68":"InputWrapper_module_w68__198e764f","w-69":"InputWrapper_module_w69__198e764f","w-70":"InputWrapper_module_w70__198e764f","w-71":"InputWrapper_module_w71__198e764f","w-72":"InputWrapper_module_w72__198e764f","w-73":"InputWrapper_module_w73__198e764f","w-74":"InputWrapper_module_w74__198e764f","w-75":"InputWrapper_module_w75__198e764f","w-76":"InputWrapper_module_w76__198e764f","w-77":"InputWrapper_module_w77__198e764f","w-78":"InputWrapper_module_w78__198e764f","w-79":"InputWrapper_module_w79__198e764f","w-80":"InputWrapper_module_w80__198e764f","w-81":"InputWrapper_module_w81__198e764f","w-82":"InputWrapper_module_w82__198e764f","w-83":"InputWrapper_module_w83__198e764f","w-84":"InputWrapper_module_w84__198e764f","w-85":"InputWrapper_module_w85__198e764f","w-86":"InputWrapper_module_w86__198e764f","w-87":"InputWrapper_module_w87__198e764f","w-88":"InputWrapper_module_w88__198e764f","w-89":"InputWrapper_module_w89__198e764f","w-90":"InputWrapper_module_w90__198e764f","w-91":"InputWrapper_module_w91__198e764f","w-92":"InputWrapper_module_w92__198e764f","w-93":"InputWrapper_module_w93__198e764f","w-94":"InputWrapper_module_w94__198e764f","w-95":"InputWrapper_module_w95__198e764f","w-96":"InputWrapper_module_w96__198e764f","w-97":"InputWrapper_module_w97__198e764f","w-98":"InputWrapper_module_w98__198e764f","w-99":"InputWrapper_module_w99__198e764f","w-100":"InputWrapper_module_w100__198e764f","w-101":"InputWrapper_module_w101__198e764f","w-102":"InputWrapper_module_w102__198e764f","w-103":"InputWrapper_module_w103__198e764f","w-104":"InputWrapper_module_w104__198e764f","w-105":"InputWrapper_module_w105__198e764f","input-label":"InputWrapper_module_inputLabel__198e764f",focus:"InputWrapper_module_focus__198e764f","floating-label":"InputWrapper_module_floatingLabel__198e764f","input-wrapper-helper":"InputWrapper_module_inputWrapperHelper__198e764f","input-wrapper":"InputWrapper_module_inputWrapper__198e764f","floating-label-active":"InputWrapper_module_floatingLabelActive__198e764f",disabled:"InputWrapper_module_disabled__198e764f"};_(e,{});export{e as css,p as default};
1
+ var containers=[],styleTags=[];const e = function(e,t){if(e&&"undefined"!=typeof document){var n,s=!0===t.prepend?"prepend":"append",r=!0===t.singleTag,a="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(r){var i=containers.indexOf(a);-1===i&&(i=containers.push(a)-1,styleTags[i]={}),n=styleTags[i]&&styleTags[i][s]?styleTags[i][s]:styleTags[i][s]=c()}else n=c();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),r=0;r<n.length;r++)e.setAttribute(n[r],t.attributes[n[r]]);var i="prepend"===s?"afterbegin":"beforeend";return a.insertAdjacentElement(i,e),e}};var r=".InputWrapper_module_srOnly__f1b9f33e{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.InputWrapper_module_hidden__f1b9f33e{display:none}.InputWrapper_module_slideIn__f1b9f33e{animation:InputWrapper_module_slideIn__f1b9f33e .5s forwards}@media (prefers-reduced-motion:reduce){.InputWrapper_module_slideIn__f1b9f33e{animation-duration:.1ms}}.InputWrapper_module_slideOut__f1b9f33e{animation:InputWrapper_module_slideOut__f1b9f33e .5s forwards}@media (prefers-reduced-motion:reduce){.InputWrapper_module_slideOut__f1b9f33e{animation-duration:.1ms}}@keyframes InputWrapper_module_slideIn__f1b9f33e{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes InputWrapper_module_slideOut__f1b9f33e{0%{transform:translateY(0)}to{transform:translateY(100vh)}}input.InputWrapper_module_floatingLabel__f1b9f33e{padding-top:1rem}.InputWrapper_module_inputWrapperHelper__f1b9f33e{margin-top:.14rem}.InputWrapper_module_inputWrapper__f1b9f33e [data-icon]:before{align-items:center;display:flex;font-size:1.125rem;justify-content:center;transform:translateY(0);transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out}@media (prefers-reduced-motion:reduce){.InputWrapper_module_inputWrapper__f1b9f33e [data-icon]:before{transition-duration:.1ms}}.InputWrapper_module_inputWrapper__f1b9f33e .InputWrapper_module_floatingLabelActive__f1b9f33e [data-icon]:before{transform:translateY(5px)}.InputWrapper_module_inputWrapper__f1b9f33e [data-prefix],.InputWrapper_module_inputWrapper__f1b9f33e [data-suffix]{font-size:var(--form-control-font-size)}.InputWrapper_module_inputWrapper__f1b9f33e [data-prefix]+input{padding-left:.5rem}.InputWrapper_module_inputWrapper__f1b9f33e [data-suffix]{padding-left:1.25rem}.InputWrapper_module_inputWrapper__f1b9f33e input+[data-suffix]{padding-left:.5rem}.InputWrapper_module_inputWrapper__f1b9f33e .InputWrapper_module_disabled__f1b9f33e{background-color:var(--disabled);color:var(--greyed-out);cursor:not-allowed}.InputWrapper_module_floatingLabelActive__f1b9f33e [data-prefix],.InputWrapper_module_floatingLabelActive__f1b9f33e [data-suffix]{padding-top:1rem;transform:translateY(0)}",p={"sr-only":"InputWrapper_module_srOnly__f1b9f33e",hidden:"InputWrapper_module_hidden__f1b9f33e","slide-in":"InputWrapper_module_slideIn__f1b9f33e","slide-out":"InputWrapper_module_slideOut__f1b9f33e","floating-label":"InputWrapper_module_floatingLabel__f1b9f33e","input-wrapper-helper":"InputWrapper_module_inputWrapperHelper__f1b9f33e","input-wrapper":"InputWrapper_module_inputWrapper__f1b9f33e","floating-label-active":"InputWrapper_module_floatingLabelActive__f1b9f33e",disabled:"InputWrapper_module_disabled__f1b9f33e"};e(r,{});export{r as css,p as default};
2
2
  //# sourceMappingURL=InputWrapper.module.esm.js.map
@@ -1,2 +1,2 @@
1
- var containers=[],styleTags=[];const e = function(e,t){if(e&&"undefined"!=typeof document){var n,s=!0===t.prepend?"prepend":"append",r=!0===t.singleTag,a="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(r){var i=containers.indexOf(a);-1===i&&(i=containers.push(a)-1,styleTags[i]={}),n=styleTags[i]&&styleTags[i][s]?styleTags[i][s]:styleTags[i][s]=c()}else n=c();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),r=0;r<n.length;r++)e.setAttribute(n[r],t.attributes[n[r]]);var i="prepend"===s?"afterbegin":"beforeend";return a.insertAdjacentElement(i,e),e}};var _='.TextareaWrapper_module_srOnly__13bc0551{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.TextareaWrapper_module_hidden__13bc0551{display:none}.TextareaWrapper_module_slideIn__13bc0551{animation:TextareaWrapper_module_slideIn__13bc0551 .5s forwards}@media (prefers-reduced-motion:reduce){.TextareaWrapper_module_slideIn__13bc0551{animation-duration:.1ms}}.TextareaWrapper_module_slideOut__13bc0551{animation:TextareaWrapper_module_slideOut__13bc0551 .5s forwards}@media (prefers-reduced-motion:reduce){.TextareaWrapper_module_slideOut__13bc0551{animation-duration:.1ms}}@keyframes TextareaWrapper_module_slideIn__13bc0551{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes TextareaWrapper_module_slideOut__13bc0551{0%{transform:translateY(0)}to{transform:translateY(100vh)}}.TextareaWrapper_module_w6__13bc0551{width:6%}.TextareaWrapper_module_w7__13bc0551{width:7%}.TextareaWrapper_module_w8__13bc0551{width:8%}.TextareaWrapper_module_w9__13bc0551{width:9%}.TextareaWrapper_module_w10__13bc0551{width:10%}.TextareaWrapper_module_w11__13bc0551{width:11%}.TextareaWrapper_module_w12__13bc0551{width:12%}.TextareaWrapper_module_w13__13bc0551{width:13%}.TextareaWrapper_module_w14__13bc0551{width:14%}.TextareaWrapper_module_w15__13bc0551{width:15%}.TextareaWrapper_module_w16__13bc0551{width:16%}.TextareaWrapper_module_w17__13bc0551{width:17%}.TextareaWrapper_module_w18__13bc0551{width:18%}.TextareaWrapper_module_w19__13bc0551{width:19%}.TextareaWrapper_module_w20__13bc0551{width:20%}.TextareaWrapper_module_w21__13bc0551{width:21%}.TextareaWrapper_module_w22__13bc0551{width:22%}.TextareaWrapper_module_w23__13bc0551{width:23%}.TextareaWrapper_module_w24__13bc0551{width:24%}.TextareaWrapper_module_w25__13bc0551{width:25%}.TextareaWrapper_module_w26__13bc0551{width:26%}.TextareaWrapper_module_w27__13bc0551{width:27%}.TextareaWrapper_module_w28__13bc0551{width:28%}.TextareaWrapper_module_w29__13bc0551{width:29%}.TextareaWrapper_module_w30__13bc0551{width:30%}.TextareaWrapper_module_w31__13bc0551{width:31%}.TextareaWrapper_module_w32__13bc0551{width:32%}.TextareaWrapper_module_w33__13bc0551{width:33%}.TextareaWrapper_module_w34__13bc0551{width:34%}.TextareaWrapper_module_w35__13bc0551{width:35%}.TextareaWrapper_module_w36__13bc0551{width:36%}.TextareaWrapper_module_w37__13bc0551{width:37%}.TextareaWrapper_module_w38__13bc0551{width:38%}.TextareaWrapper_module_w39__13bc0551{width:39%}.TextareaWrapper_module_w40__13bc0551{width:40%}.TextareaWrapper_module_w41__13bc0551{width:41%}.TextareaWrapper_module_w42__13bc0551{width:42%}.TextareaWrapper_module_w43__13bc0551{width:43%}.TextareaWrapper_module_w44__13bc0551{width:44%}.TextareaWrapper_module_w45__13bc0551{width:45%}.TextareaWrapper_module_w46__13bc0551{width:46%}.TextareaWrapper_module_w47__13bc0551{width:47%}.TextareaWrapper_module_w48__13bc0551{width:48%}.TextareaWrapper_module_w49__13bc0551{width:49%}.TextareaWrapper_module_w50__13bc0551{width:50%}.TextareaWrapper_module_w51__13bc0551{width:51%}.TextareaWrapper_module_w52__13bc0551{width:52%}.TextareaWrapper_module_w53__13bc0551{width:53%}.TextareaWrapper_module_w54__13bc0551{width:54%}.TextareaWrapper_module_w55__13bc0551{width:55%}.TextareaWrapper_module_w56__13bc0551{width:56%}.TextareaWrapper_module_w57__13bc0551{width:57%}.TextareaWrapper_module_w58__13bc0551{width:58%}.TextareaWrapper_module_w59__13bc0551{width:59%}.TextareaWrapper_module_w60__13bc0551{width:60%}.TextareaWrapper_module_w61__13bc0551{width:61%}.TextareaWrapper_module_w62__13bc0551{width:62%}.TextareaWrapper_module_w63__13bc0551{width:63%}.TextareaWrapper_module_w64__13bc0551{width:64%}.TextareaWrapper_module_w65__13bc0551{width:65%}.TextareaWrapper_module_w66__13bc0551{width:66%}.TextareaWrapper_module_w67__13bc0551{width:67%}.TextareaWrapper_module_w68__13bc0551{width:68%}.TextareaWrapper_module_w69__13bc0551{width:69%}.TextareaWrapper_module_w70__13bc0551{width:70%}.TextareaWrapper_module_w71__13bc0551{width:71%}.TextareaWrapper_module_w72__13bc0551{width:72%}.TextareaWrapper_module_w73__13bc0551{width:73%}.TextareaWrapper_module_w74__13bc0551{width:74%}.TextareaWrapper_module_w75__13bc0551{width:75%}.TextareaWrapper_module_w76__13bc0551{width:76%}.TextareaWrapper_module_w77__13bc0551{width:77%}.TextareaWrapper_module_w78__13bc0551{width:78%}.TextareaWrapper_module_w79__13bc0551{width:79%}.TextareaWrapper_module_w80__13bc0551{width:80%}.TextareaWrapper_module_w81__13bc0551{width:81%}.TextareaWrapper_module_w82__13bc0551{width:82%}.TextareaWrapper_module_w83__13bc0551{width:83%}.TextareaWrapper_module_w84__13bc0551{width:84%}.TextareaWrapper_module_w85__13bc0551{width:85%}.TextareaWrapper_module_w86__13bc0551{width:86%}.TextareaWrapper_module_w87__13bc0551{width:87%}.TextareaWrapper_module_w88__13bc0551{width:88%}.TextareaWrapper_module_w89__13bc0551{width:89%}.TextareaWrapper_module_w90__13bc0551{width:90%}.TextareaWrapper_module_w91__13bc0551{width:91%}.TextareaWrapper_module_w92__13bc0551{width:92%}.TextareaWrapper_module_w93__13bc0551{width:93%}.TextareaWrapper_module_w94__13bc0551{width:94%}.TextareaWrapper_module_w95__13bc0551{width:95%}.TextareaWrapper_module_w96__13bc0551{width:96%}.TextareaWrapper_module_w97__13bc0551{width:97%}.TextareaWrapper_module_w98__13bc0551{width:98%}.TextareaWrapper_module_w99__13bc0551{width:99%}.TextareaWrapper_module_w100__13bc0551{width:100%}.TextareaWrapper_module_w101__13bc0551{width:101%}.TextareaWrapper_module_w102__13bc0551{width:102%}.TextareaWrapper_module_w103__13bc0551{width:103%}.TextareaWrapper_module_w104__13bc0551{width:104%}.TextareaWrapper_module_w105__13bc0551{width:105%}label.TextareaWrapper_module_textareaLabel__13bc0551.TextareaWrapper_module_focus__13bc0551{color:var(--color-primary)}.TextareaWrapper_module_textareaWrapper__13bc0551:after{background-color:var(--light);border-radius:var(--input-border-radius) var(--input-border-radius) 0 0;content:"";display:block;left:1px;position:absolute;top:1px;transition-duration:.15s;transition-property:all;transition-timing-function:ease-in-out;width:95%;z-index:0}@media (prefers-reduced-motion:reduce){.TextareaWrapper_module_textareaWrapper__13bc0551:after{transition-duration:.1ms}}.TextareaWrapper_module_textareaWrapper__13bc0551.TextareaWrapper_module_disabled__13bc0551:after{background-color:var(--disabled)}.TextareaWrapper_module_textareaWrapper__13bc0551.TextareaWrapper_module_focus__13bc0551:after{left:2px;top:2px}.TextareaWrapper_module_textareaWrapper__13bc0551 .TextareaWrapper_module_textarea__13bc0551:active:not(:disabled){border-color:var(--color-primary)}.TextareaWrapper_module_textareaWrapper__13bc0551 .TextareaWrapper_module_textarea__13bc0551:focus:not(:disabled){outline:none}.TextareaWrapper_module_textareaHelperText__13bc0551{margin-top:.14rem}',r={"sr-only":"TextareaWrapper_module_srOnly__13bc0551",hidden:"TextareaWrapper_module_hidden__13bc0551","slide-in":"TextareaWrapper_module_slideIn__13bc0551","slide-out":"TextareaWrapper_module_slideOut__13bc0551","w-6":"TextareaWrapper_module_w6__13bc0551","w-7":"TextareaWrapper_module_w7__13bc0551","w-8":"TextareaWrapper_module_w8__13bc0551","w-9":"TextareaWrapper_module_w9__13bc0551","w-10":"TextareaWrapper_module_w10__13bc0551","w-11":"TextareaWrapper_module_w11__13bc0551","w-12":"TextareaWrapper_module_w12__13bc0551","w-13":"TextareaWrapper_module_w13__13bc0551","w-14":"TextareaWrapper_module_w14__13bc0551","w-15":"TextareaWrapper_module_w15__13bc0551","w-16":"TextareaWrapper_module_w16__13bc0551","w-17":"TextareaWrapper_module_w17__13bc0551","w-18":"TextareaWrapper_module_w18__13bc0551","w-19":"TextareaWrapper_module_w19__13bc0551","w-20":"TextareaWrapper_module_w20__13bc0551","w-21":"TextareaWrapper_module_w21__13bc0551","w-22":"TextareaWrapper_module_w22__13bc0551","w-23":"TextareaWrapper_module_w23__13bc0551","w-24":"TextareaWrapper_module_w24__13bc0551","w-25":"TextareaWrapper_module_w25__13bc0551","w-26":"TextareaWrapper_module_w26__13bc0551","w-27":"TextareaWrapper_module_w27__13bc0551","w-28":"TextareaWrapper_module_w28__13bc0551","w-29":"TextareaWrapper_module_w29__13bc0551","w-30":"TextareaWrapper_module_w30__13bc0551","w-31":"TextareaWrapper_module_w31__13bc0551","w-32":"TextareaWrapper_module_w32__13bc0551","w-33":"TextareaWrapper_module_w33__13bc0551","w-34":"TextareaWrapper_module_w34__13bc0551","w-35":"TextareaWrapper_module_w35__13bc0551","w-36":"TextareaWrapper_module_w36__13bc0551","w-37":"TextareaWrapper_module_w37__13bc0551","w-38":"TextareaWrapper_module_w38__13bc0551","w-39":"TextareaWrapper_module_w39__13bc0551","w-40":"TextareaWrapper_module_w40__13bc0551","w-41":"TextareaWrapper_module_w41__13bc0551","w-42":"TextareaWrapper_module_w42__13bc0551","w-43":"TextareaWrapper_module_w43__13bc0551","w-44":"TextareaWrapper_module_w44__13bc0551","w-45":"TextareaWrapper_module_w45__13bc0551","w-46":"TextareaWrapper_module_w46__13bc0551","w-47":"TextareaWrapper_module_w47__13bc0551","w-48":"TextareaWrapper_module_w48__13bc0551","w-49":"TextareaWrapper_module_w49__13bc0551","w-50":"TextareaWrapper_module_w50__13bc0551","w-51":"TextareaWrapper_module_w51__13bc0551","w-52":"TextareaWrapper_module_w52__13bc0551","w-53":"TextareaWrapper_module_w53__13bc0551","w-54":"TextareaWrapper_module_w54__13bc0551","w-55":"TextareaWrapper_module_w55__13bc0551","w-56":"TextareaWrapper_module_w56__13bc0551","w-57":"TextareaWrapper_module_w57__13bc0551","w-58":"TextareaWrapper_module_w58__13bc0551","w-59":"TextareaWrapper_module_w59__13bc0551","w-60":"TextareaWrapper_module_w60__13bc0551","w-61":"TextareaWrapper_module_w61__13bc0551","w-62":"TextareaWrapper_module_w62__13bc0551","w-63":"TextareaWrapper_module_w63__13bc0551","w-64":"TextareaWrapper_module_w64__13bc0551","w-65":"TextareaWrapper_module_w65__13bc0551","w-66":"TextareaWrapper_module_w66__13bc0551","w-67":"TextareaWrapper_module_w67__13bc0551","w-68":"TextareaWrapper_module_w68__13bc0551","w-69":"TextareaWrapper_module_w69__13bc0551","w-70":"TextareaWrapper_module_w70__13bc0551","w-71":"TextareaWrapper_module_w71__13bc0551","w-72":"TextareaWrapper_module_w72__13bc0551","w-73":"TextareaWrapper_module_w73__13bc0551","w-74":"TextareaWrapper_module_w74__13bc0551","w-75":"TextareaWrapper_module_w75__13bc0551","w-76":"TextareaWrapper_module_w76__13bc0551","w-77":"TextareaWrapper_module_w77__13bc0551","w-78":"TextareaWrapper_module_w78__13bc0551","w-79":"TextareaWrapper_module_w79__13bc0551","w-80":"TextareaWrapper_module_w80__13bc0551","w-81":"TextareaWrapper_module_w81__13bc0551","w-82":"TextareaWrapper_module_w82__13bc0551","w-83":"TextareaWrapper_module_w83__13bc0551","w-84":"TextareaWrapper_module_w84__13bc0551","w-85":"TextareaWrapper_module_w85__13bc0551","w-86":"TextareaWrapper_module_w86__13bc0551","w-87":"TextareaWrapper_module_w87__13bc0551","w-88":"TextareaWrapper_module_w88__13bc0551","w-89":"TextareaWrapper_module_w89__13bc0551","w-90":"TextareaWrapper_module_w90__13bc0551","w-91":"TextareaWrapper_module_w91__13bc0551","w-92":"TextareaWrapper_module_w92__13bc0551","w-93":"TextareaWrapper_module_w93__13bc0551","w-94":"TextareaWrapper_module_w94__13bc0551","w-95":"TextareaWrapper_module_w95__13bc0551","w-96":"TextareaWrapper_module_w96__13bc0551","w-97":"TextareaWrapper_module_w97__13bc0551","w-98":"TextareaWrapper_module_w98__13bc0551","w-99":"TextareaWrapper_module_w99__13bc0551","w-100":"TextareaWrapper_module_w100__13bc0551","w-101":"TextareaWrapper_module_w101__13bc0551","w-102":"TextareaWrapper_module_w102__13bc0551","w-103":"TextareaWrapper_module_w103__13bc0551","w-104":"TextareaWrapper_module_w104__13bc0551","w-105":"TextareaWrapper_module_w105__13bc0551","textarea-label":"TextareaWrapper_module_textareaLabel__13bc0551",focus:"TextareaWrapper_module_focus__13bc0551","textarea-wrapper":"TextareaWrapper_module_textareaWrapper__13bc0551",disabled:"TextareaWrapper_module_disabled__13bc0551",textarea:"TextareaWrapper_module_textarea__13bc0551","textarea-helper-text":"TextareaWrapper_module_textareaHelperText__13bc0551"};e(_,{});export{_ as css,r as default};
1
+ var containers=[],styleTags=[];const a = function(e,t){if(e&&"undefined"!=typeof document){var n,s=!0===t.prepend?"prepend":"append",r=!0===t.singleTag,a="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(r){var i=containers.indexOf(a);-1===i&&(i=containers.push(a)-1,styleTags[i]={}),n=styleTags[i]&&styleTags[i][s]?styleTags[i][s]:styleTags[i][s]=c()}else n=c();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),r=0;r<n.length;r++)e.setAttribute(n[r],t.attributes[n[r]]);var i="prepend"===s?"afterbegin":"beforeend";return a.insertAdjacentElement(i,e),e}};var e='.TextareaWrapper_module_srOnly__0462a0a2{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.TextareaWrapper_module_hidden__0462a0a2{display:none}.TextareaWrapper_module_slideIn__0462a0a2{animation:TextareaWrapper_module_slideIn__0462a0a2 .5s forwards}@media (prefers-reduced-motion:reduce){.TextareaWrapper_module_slideIn__0462a0a2{animation-duration:.1ms}}.TextareaWrapper_module_slideOut__0462a0a2{animation:TextareaWrapper_module_slideOut__0462a0a2 .5s forwards}@media (prefers-reduced-motion:reduce){.TextareaWrapper_module_slideOut__0462a0a2{animation-duration:.1ms}}@keyframes TextareaWrapper_module_slideIn__0462a0a2{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes TextareaWrapper_module_slideOut__0462a0a2{0%{transform:translateY(0)}to{transform:translateY(100vh)}}.TextareaWrapper_module_textareaWrapper__0462a0a2:after{background-color:var(--light);border-radius:var(--input-border-radius) var(--input-border-radius) 0 0;content:"";display:block;left:1px;position:absolute;top:1px;transition-duration:.15s;transition-property:all;transition-timing-function:ease-in-out;width:95%;z-index:0}@media (prefers-reduced-motion:reduce){.TextareaWrapper_module_textareaWrapper__0462a0a2:after{transition-duration:.1ms}}.TextareaWrapper_module_textareaWrapper__0462a0a2.TextareaWrapper_module_disabled__0462a0a2:after{background-color:var(--disabled)}.TextareaWrapper_module_textareaWrapper__0462a0a2.TextareaWrapper_module_focus__0462a0a2:after{left:2px;top:2px}.TextareaWrapper_module_textareaWrapper__0462a0a2 .TextareaWrapper_module_textarea__0462a0a2:active:not(:disabled){border-color:var(--color-primary)}.TextareaWrapper_module_textareaWrapper__0462a0a2 .TextareaWrapper_module_textarea__0462a0a2:focus:not(:disabled){outline:none}.TextareaWrapper_module_textareaHelperText__0462a0a2{margin-top:.14rem}',r={"sr-only":"TextareaWrapper_module_srOnly__0462a0a2",hidden:"TextareaWrapper_module_hidden__0462a0a2","slide-in":"TextareaWrapper_module_slideIn__0462a0a2","slide-out":"TextareaWrapper_module_slideOut__0462a0a2","textarea-wrapper":"TextareaWrapper_module_textareaWrapper__0462a0a2",disabled:"TextareaWrapper_module_disabled__0462a0a2",focus:"TextareaWrapper_module_focus__0462a0a2",textarea:"TextareaWrapper_module_textarea__0462a0a2","textarea-helper-text":"TextareaWrapper_module_textareaHelperText__0462a0a2"};a(e,{});export{e as css,r as default};
2
2
  //# sourceMappingURL=TextareaWrapper.module.esm.js.map
@@ -1,2 +1,2 @@
1
- import e from"react";import{FormGroup as r}from"../../FormGroup/FormGroup.esm.js";import{Label as s}from"../../Label/Label.esm.js";import o from"./Wrapper.module.esm.js";const l=e.forwardRef((({children:l,className:a,error:m,errorMessage:p,errorId:n,errorMessageIcon:t,errorMessageIconPosition:i,helperText:d,helperId:c,required:h,helperProps:u,helperIndent:b,labelProps:I,label:f,disabled:N,name:g,innerClassName:M,...E},P)=>{const $=[o["form-input-label"]];return(null==I?void 0:I.className)&&$.push(I.className),h&&$.push(o.required),m&&$.push(o.error),N&&$.push(o.disabled),e.createElement("div",{...E,ref:P,className:`${o.wrapper} ${null!=a?a:""}`},e.createElement(r,{error:m,errorMessage:p,errorId:n,errorMessageIcon:t,errorMessageIconPosition:i,helperText:d,helperId:c,helperProps:u},e.createElement("div",{className:` ${M||""}`},f&&e.createElement(s,{...I,className:`${o.label} ${$.join(" ")}`,htmlFor:g},f),e.Children.map(l,(r=>e.cloneElement(r,{disabled:N}))))))}));export{l as Wrapper};
1
+ import e from"react";import{FormGroup as r}from"../../FormGroup/FormGroup.esm.js";import{Label as s}from"../../Label/Label.esm.js";import o from"./Wrapper.module.esm.js";const l=e.forwardRef((({children:l,className:a,error:m,errorMessage:p,errorId:n,errorMessageIcon:t,errorMessageIconPosition:d,helperText:i,helperId:c,required:h,helperProps:u,helperIndent:b,labelProps:I,label:f,disabled:N,name:g,innerClassName:M,...E},P)=>{const $=[o["form-input-label"]];return(null==I?void 0:I.className)&&$.push(I.className),h&&$.push(o.required),m&&$.push(o.error),N&&$.push(o.disabled),e.createElement("div",{...E,ref:P,className:`${o.wrapper} ${null!=a?a:""}`},e.createElement(r,{disabled:N,error:m,errorMessage:p,errorId:n,errorMessageIcon:t,errorMessageIconPosition:d,helperText:i,helperId:c,helperProps:u},e.createElement("div",{className:` ${M||""}`},f&&e.createElement(s,{...I,className:`${o.label} ${$.join(" ")}`,htmlFor:g},f),e.Children.map(l,(r=>e.cloneElement(r,{disabled:N}))))))}));export{l as Wrapper};
2
2
  //# sourceMappingURL=Wrapper.esm.js.map
@@ -1,2 +1,2 @@
1
- var containers=[],styleTags=[];const _ = function(e,t){if(e&&"undefined"!=typeof document){var n,s=!0===t.prepend?"prepend":"append",r=!0===t.singleTag,a="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(r){var i=containers.indexOf(a);-1===i&&(i=containers.push(a)-1,styleTags[i]={}),n=styleTags[i]&&styleTags[i][s]?styleTags[i][s]:styleTags[i][s]=c()}else n=c();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),r=0;r<n.length;r++)e.setAttribute(n[r],t.attributes[n[r]]);var i="prepend"===s?"afterbegin":"beforeend";return a.insertAdjacentElement(i,e),e}};var e='.Wrapper_module_srOnly__f57ec48c{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.Wrapper_module_hidden__f57ec48c{display:none}.Wrapper_module_slideIn__f57ec48c{animation:Wrapper_module_slideIn__f57ec48c .5s forwards}@media (prefers-reduced-motion:reduce){.Wrapper_module_slideIn__f57ec48c{animation-duration:.1ms}}.Wrapper_module_slideOut__f57ec48c{animation:Wrapper_module_slideOut__f57ec48c .5s forwards}@media (prefers-reduced-motion:reduce){.Wrapper_module_slideOut__f57ec48c{animation-duration:.1ms}}@keyframes Wrapper_module_slideIn__f57ec48c{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Wrapper_module_slideOut__f57ec48c{0%{transform:translateY(0)}to{transform:translateY(100vh)}}.Wrapper_module_w6__f57ec48c{width:6%}.Wrapper_module_w7__f57ec48c{width:7%}.Wrapper_module_w8__f57ec48c{width:8%}.Wrapper_module_w9__f57ec48c{width:9%}.Wrapper_module_w10__f57ec48c{width:10%}.Wrapper_module_w11__f57ec48c{width:11%}.Wrapper_module_w12__f57ec48c{width:12%}.Wrapper_module_w13__f57ec48c{width:13%}.Wrapper_module_w14__f57ec48c{width:14%}.Wrapper_module_w15__f57ec48c{width:15%}.Wrapper_module_w16__f57ec48c{width:16%}.Wrapper_module_w17__f57ec48c{width:17%}.Wrapper_module_w18__f57ec48c{width:18%}.Wrapper_module_w19__f57ec48c{width:19%}.Wrapper_module_w20__f57ec48c{width:20%}.Wrapper_module_w21__f57ec48c{width:21%}.Wrapper_module_w22__f57ec48c{width:22%}.Wrapper_module_w23__f57ec48c{width:23%}.Wrapper_module_w24__f57ec48c{width:24%}.Wrapper_module_w25__f57ec48c{width:25%}.Wrapper_module_w26__f57ec48c{width:26%}.Wrapper_module_w27__f57ec48c{width:27%}.Wrapper_module_w28__f57ec48c{width:28%}.Wrapper_module_w29__f57ec48c{width:29%}.Wrapper_module_w30__f57ec48c{width:30%}.Wrapper_module_w31__f57ec48c{width:31%}.Wrapper_module_w32__f57ec48c{width:32%}.Wrapper_module_w33__f57ec48c{width:33%}.Wrapper_module_w34__f57ec48c{width:34%}.Wrapper_module_w35__f57ec48c{width:35%}.Wrapper_module_w36__f57ec48c{width:36%}.Wrapper_module_w37__f57ec48c{width:37%}.Wrapper_module_w38__f57ec48c{width:38%}.Wrapper_module_w39__f57ec48c{width:39%}.Wrapper_module_w40__f57ec48c{width:40%}.Wrapper_module_w41__f57ec48c{width:41%}.Wrapper_module_w42__f57ec48c{width:42%}.Wrapper_module_w43__f57ec48c{width:43%}.Wrapper_module_w44__f57ec48c{width:44%}.Wrapper_module_w45__f57ec48c{width:45%}.Wrapper_module_w46__f57ec48c{width:46%}.Wrapper_module_w47__f57ec48c{width:47%}.Wrapper_module_w48__f57ec48c{width:48%}.Wrapper_module_w49__f57ec48c{width:49%}.Wrapper_module_w50__f57ec48c{width:50%}.Wrapper_module_w51__f57ec48c{width:51%}.Wrapper_module_w52__f57ec48c{width:52%}.Wrapper_module_w53__f57ec48c{width:53%}.Wrapper_module_w54__f57ec48c{width:54%}.Wrapper_module_w55__f57ec48c{width:55%}.Wrapper_module_w56__f57ec48c{width:56%}.Wrapper_module_w57__f57ec48c{width:57%}.Wrapper_module_w58__f57ec48c{width:58%}.Wrapper_module_w59__f57ec48c{width:59%}.Wrapper_module_w60__f57ec48c{width:60%}.Wrapper_module_w61__f57ec48c{width:61%}.Wrapper_module_w62__f57ec48c{width:62%}.Wrapper_module_w63__f57ec48c{width:63%}.Wrapper_module_w64__f57ec48c{width:64%}.Wrapper_module_w65__f57ec48c{width:65%}.Wrapper_module_w66__f57ec48c{width:66%}.Wrapper_module_w67__f57ec48c{width:67%}.Wrapper_module_w68__f57ec48c{width:68%}.Wrapper_module_w69__f57ec48c{width:69%}.Wrapper_module_w70__f57ec48c{width:70%}.Wrapper_module_w71__f57ec48c{width:71%}.Wrapper_module_w72__f57ec48c{width:72%}.Wrapper_module_w73__f57ec48c{width:73%}.Wrapper_module_w74__f57ec48c{width:74%}.Wrapper_module_w75__f57ec48c{width:75%}.Wrapper_module_w76__f57ec48c{width:76%}.Wrapper_module_w77__f57ec48c{width:77%}.Wrapper_module_w78__f57ec48c{width:78%}.Wrapper_module_w79__f57ec48c{width:79%}.Wrapper_module_w80__f57ec48c{width:80%}.Wrapper_module_w81__f57ec48c{width:81%}.Wrapper_module_w82__f57ec48c{width:82%}.Wrapper_module_w83__f57ec48c{width:83%}.Wrapper_module_w84__f57ec48c{width:84%}.Wrapper_module_w85__f57ec48c{width:85%}.Wrapper_module_w86__f57ec48c{width:86%}.Wrapper_module_w87__f57ec48c{width:87%}.Wrapper_module_w88__f57ec48c{width:88%}.Wrapper_module_w89__f57ec48c{width:89%}.Wrapper_module_w90__f57ec48c{width:90%}.Wrapper_module_w91__f57ec48c{width:91%}.Wrapper_module_w92__f57ec48c{width:92%}.Wrapper_module_w93__f57ec48c{width:93%}.Wrapper_module_w94__f57ec48c{width:94%}.Wrapper_module_w95__f57ec48c{width:95%}.Wrapper_module_w96__f57ec48c{width:96%}.Wrapper_module_w97__f57ec48c{width:97%}.Wrapper_module_w98__f57ec48c{width:98%}.Wrapper_module_w99__f57ec48c{width:99%}.Wrapper_module_w100__f57ec48c{width:100%}.Wrapper_module_w101__f57ec48c{width:101%}.Wrapper_module_w102__f57ec48c{width:102%}.Wrapper_module_w103__f57ec48c{width:103%}.Wrapper_module_w104__f57ec48c{width:104%}.Wrapper_module_w105__f57ec48c{width:105%}.Wrapper_module_floatingWrapper__f57ec48c{position:relative}.Wrapper_module_floatingWrapper__f57ec48c .Wrapper_module_floatingLabel__f57ec48c{font-family:var(--font-family);font-size:1rem;left:.833em;pointer-events:none;position:absolute;top:1.3125rem;transform-origin:left top;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out;z-index:2}@media (prefers-reduced-motion:reduce){.Wrapper_module_floatingWrapper__f57ec48c .Wrapper_module_floatingLabel__f57ec48c{transition-duration:.1ms}}.Wrapper_module_floatingWrapper__f57ec48c .Wrapper_module_floatingLabel__f57ec48c.Wrapper_module_floatingLabelActive__f57ec48c{color:var(--default);font-size:.75rem;transform:translateY(-.8rem)}.Wrapper_module_floatingWrapper__f57ec48c .Wrapper_module_floatingLabel__f57ec48c.Wrapper_module_error__f57ec48c{color:var(--error)}.Wrapper_module_floatingWrapper__f57ec48c .Wrapper_module_floatingLabel__f57ec48c.Wrapper_module_disabled__f57ec48c{color:var(--greyed-out)}.Wrapper_module_formInputLabel__f57ec48c{color:var(--color-blue-grey900);display:inline-block;font-family:var(--font-family);font-size:var(--form-control-font-size);line-height:var(--default-line-height);margin-bottom:.25rem}.Wrapper_module_formInputLabel__f57ec48c.Wrapper_module_disabled__f57ec48c{color:var(--greyed-out)}.Wrapper_module_wrapper__f57ec48c+.Wrapper_module_wrapper__f57ec48c,.Wrapper_module_wrapper__f57ec48c+fieldset{margin-top:1rem}.Wrapper_module_required__f57ec48c:after{color:var(--error);content:" *"}@media only screen and (min-width:30em){.Wrapper_module_floatingWrapper__f57ec48c .Wrapper_module_floatingLabel__f57ec48c{left:.833em}}',r={"sr-only":"Wrapper_module_srOnly__f57ec48c",hidden:"Wrapper_module_hidden__f57ec48c","slide-in":"Wrapper_module_slideIn__f57ec48c","slide-out":"Wrapper_module_slideOut__f57ec48c","w-6":"Wrapper_module_w6__f57ec48c","w-7":"Wrapper_module_w7__f57ec48c","w-8":"Wrapper_module_w8__f57ec48c","w-9":"Wrapper_module_w9__f57ec48c","w-10":"Wrapper_module_w10__f57ec48c","w-11":"Wrapper_module_w11__f57ec48c","w-12":"Wrapper_module_w12__f57ec48c","w-13":"Wrapper_module_w13__f57ec48c","w-14":"Wrapper_module_w14__f57ec48c","w-15":"Wrapper_module_w15__f57ec48c","w-16":"Wrapper_module_w16__f57ec48c","w-17":"Wrapper_module_w17__f57ec48c","w-18":"Wrapper_module_w18__f57ec48c","w-19":"Wrapper_module_w19__f57ec48c","w-20":"Wrapper_module_w20__f57ec48c","w-21":"Wrapper_module_w21__f57ec48c","w-22":"Wrapper_module_w22__f57ec48c","w-23":"Wrapper_module_w23__f57ec48c","w-24":"Wrapper_module_w24__f57ec48c","w-25":"Wrapper_module_w25__f57ec48c","w-26":"Wrapper_module_w26__f57ec48c","w-27":"Wrapper_module_w27__f57ec48c","w-28":"Wrapper_module_w28__f57ec48c","w-29":"Wrapper_module_w29__f57ec48c","w-30":"Wrapper_module_w30__f57ec48c","w-31":"Wrapper_module_w31__f57ec48c","w-32":"Wrapper_module_w32__f57ec48c","w-33":"Wrapper_module_w33__f57ec48c","w-34":"Wrapper_module_w34__f57ec48c","w-35":"Wrapper_module_w35__f57ec48c","w-36":"Wrapper_module_w36__f57ec48c","w-37":"Wrapper_module_w37__f57ec48c","w-38":"Wrapper_module_w38__f57ec48c","w-39":"Wrapper_module_w39__f57ec48c","w-40":"Wrapper_module_w40__f57ec48c","w-41":"Wrapper_module_w41__f57ec48c","w-42":"Wrapper_module_w42__f57ec48c","w-43":"Wrapper_module_w43__f57ec48c","w-44":"Wrapper_module_w44__f57ec48c","w-45":"Wrapper_module_w45__f57ec48c","w-46":"Wrapper_module_w46__f57ec48c","w-47":"Wrapper_module_w47__f57ec48c","w-48":"Wrapper_module_w48__f57ec48c","w-49":"Wrapper_module_w49__f57ec48c","w-50":"Wrapper_module_w50__f57ec48c","w-51":"Wrapper_module_w51__f57ec48c","w-52":"Wrapper_module_w52__f57ec48c","w-53":"Wrapper_module_w53__f57ec48c","w-54":"Wrapper_module_w54__f57ec48c","w-55":"Wrapper_module_w55__f57ec48c","w-56":"Wrapper_module_w56__f57ec48c","w-57":"Wrapper_module_w57__f57ec48c","w-58":"Wrapper_module_w58__f57ec48c","w-59":"Wrapper_module_w59__f57ec48c","w-60":"Wrapper_module_w60__f57ec48c","w-61":"Wrapper_module_w61__f57ec48c","w-62":"Wrapper_module_w62__f57ec48c","w-63":"Wrapper_module_w63__f57ec48c","w-64":"Wrapper_module_w64__f57ec48c","w-65":"Wrapper_module_w65__f57ec48c","w-66":"Wrapper_module_w66__f57ec48c","w-67":"Wrapper_module_w67__f57ec48c","w-68":"Wrapper_module_w68__f57ec48c","w-69":"Wrapper_module_w69__f57ec48c","w-70":"Wrapper_module_w70__f57ec48c","w-71":"Wrapper_module_w71__f57ec48c","w-72":"Wrapper_module_w72__f57ec48c","w-73":"Wrapper_module_w73__f57ec48c","w-74":"Wrapper_module_w74__f57ec48c","w-75":"Wrapper_module_w75__f57ec48c","w-76":"Wrapper_module_w76__f57ec48c","w-77":"Wrapper_module_w77__f57ec48c","w-78":"Wrapper_module_w78__f57ec48c","w-79":"Wrapper_module_w79__f57ec48c","w-80":"Wrapper_module_w80__f57ec48c","w-81":"Wrapper_module_w81__f57ec48c","w-82":"Wrapper_module_w82__f57ec48c","w-83":"Wrapper_module_w83__f57ec48c","w-84":"Wrapper_module_w84__f57ec48c","w-85":"Wrapper_module_w85__f57ec48c","w-86":"Wrapper_module_w86__f57ec48c","w-87":"Wrapper_module_w87__f57ec48c","w-88":"Wrapper_module_w88__f57ec48c","w-89":"Wrapper_module_w89__f57ec48c","w-90":"Wrapper_module_w90__f57ec48c","w-91":"Wrapper_module_w91__f57ec48c","w-92":"Wrapper_module_w92__f57ec48c","w-93":"Wrapper_module_w93__f57ec48c","w-94":"Wrapper_module_w94__f57ec48c","w-95":"Wrapper_module_w95__f57ec48c","w-96":"Wrapper_module_w96__f57ec48c","w-97":"Wrapper_module_w97__f57ec48c","w-98":"Wrapper_module_w98__f57ec48c","w-99":"Wrapper_module_w99__f57ec48c","w-100":"Wrapper_module_w100__f57ec48c","w-101":"Wrapper_module_w101__f57ec48c","w-102":"Wrapper_module_w102__f57ec48c","w-103":"Wrapper_module_w103__f57ec48c","w-104":"Wrapper_module_w104__f57ec48c","w-105":"Wrapper_module_w105__f57ec48c","floating-wrapper":"Wrapper_module_floatingWrapper__f57ec48c","floating-label":"Wrapper_module_floatingLabel__f57ec48c","floating-label-active":"Wrapper_module_floatingLabelActive__f57ec48c",error:"Wrapper_module_error__f57ec48c",disabled:"Wrapper_module_disabled__f57ec48c","form-input-label":"Wrapper_module_formInputLabel__f57ec48c",wrapper:"Wrapper_module_wrapper__f57ec48c",required:"Wrapper_module_required__f57ec48c"};_(e,{});export{e as css,r as default};
1
+ var containers=[],styleTags=[];const e = function(e,t){if(e&&"undefined"!=typeof document){var n,s=!0===t.prepend?"prepend":"append",r=!0===t.singleTag,a="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(r){var i=containers.indexOf(a);-1===i&&(i=containers.push(a)-1,styleTags[i]={}),n=styleTags[i]&&styleTags[i][s]?styleTags[i][s]:styleTags[i][s]=c()}else n=c();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),r=0;r<n.length;r++)e.setAttribute(n[r],t.attributes[n[r]]);var i="prepend"===s?"afterbegin":"beforeend";return a.insertAdjacentElement(i,e),e}};var r='.Wrapper_module_srOnly__4080c26c{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.Wrapper_module_hidden__4080c26c{display:none}.Wrapper_module_slideIn__4080c26c{animation:Wrapper_module_slideIn__4080c26c .5s forwards}@media (prefers-reduced-motion:reduce){.Wrapper_module_slideIn__4080c26c{animation-duration:.1ms}}.Wrapper_module_slideOut__4080c26c{animation:Wrapper_module_slideOut__4080c26c .5s forwards}@media (prefers-reduced-motion:reduce){.Wrapper_module_slideOut__4080c26c{animation-duration:.1ms}}@keyframes Wrapper_module_slideIn__4080c26c{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Wrapper_module_slideOut__4080c26c{0%{transform:translateY(0)}to{transform:translateY(100vh)}}.Wrapper_module_floatingWrapper__4080c26c{position:relative}.Wrapper_module_floatingWrapper__4080c26c .Wrapper_module_floatingLabel__4080c26c{font-family:var(--font-family);font-size:1rem;left:.5rem;pointer-events:none;position:absolute;top:1.3125rem;transform-origin:left top;transition-duration:.2s;transition-property:all;transition-timing-function:ease-in-out;z-index:2}@media (prefers-reduced-motion:reduce){.Wrapper_module_floatingWrapper__4080c26c .Wrapper_module_floatingLabel__4080c26c{transition-duration:.1ms}}.Wrapper_module_floatingWrapper__4080c26c .Wrapper_module_floatingLabel__4080c26c.Wrapper_module_floatingLabelActive__4080c26c{color:var(--default);font-size:.75rem;transform:translateY(-.8rem)}.Wrapper_module_floatingWrapper__4080c26c .Wrapper_module_floatingLabel__4080c26c.Wrapper_module_error__4080c26c{color:var(--error)}.Wrapper_module_floatingWrapper__4080c26c .Wrapper_module_floatingLabel__4080c26c.Wrapper_module_disabled__4080c26c{color:var(--greyed-out)}.Wrapper_module_formInputLabel__4080c26c{color:var(--color-blue-grey900);display:inline-block;font-family:var(--font-family);font-size:var(--form-control-font-size);line-height:var(--default-line-height);margin-bottom:.25rem}.Wrapper_module_formInputLabel__4080c26c.Wrapper_module_disabled__4080c26c{color:var(--greyed-out)}.Wrapper_module_wrapper__4080c26c+.Wrapper_module_wrapper__4080c26c,.Wrapper_module_wrapper__4080c26c+fieldset{margin-top:1rem}.Wrapper_module_required__4080c26c:after{color:var(--error);content:" *"}@media only screen and (min-width:30em){.Wrapper_module_floatingWrapper__4080c26c .Wrapper_module_floatingLabel__4080c26c{left:.5rem}}',_={"sr-only":"Wrapper_module_srOnly__4080c26c",hidden:"Wrapper_module_hidden__4080c26c","slide-in":"Wrapper_module_slideIn__4080c26c","slide-out":"Wrapper_module_slideOut__4080c26c","floating-wrapper":"Wrapper_module_floatingWrapper__4080c26c","floating-label":"Wrapper_module_floatingLabel__4080c26c","floating-label-active":"Wrapper_module_floatingLabelActive__4080c26c",error:"Wrapper_module_error__4080c26c",disabled:"Wrapper_module_disabled__4080c26c","form-input-label":"Wrapper_module_formInputLabel__4080c26c",wrapper:"Wrapper_module_wrapper__4080c26c",required:"Wrapper_module_required__4080c26c"};e(r,{});export{r as css,_ as default};
2
2
  //# sourceMappingURL=Wrapper.module.esm.js.map
@@ -1,2 +1,2 @@
1
- import e from"react";import r from"./Icon.module.esm.js";var l;!function(e){e.Bell="bell",e.BellAlt="bell-alt",e.Bookmark="bookmark",e.BookmarkAlt="bookmark-alt",e.Build="build",e.Calendar="calendar",e.Change="change",e.Checkmark="checkmark",e.CheckmarkCircle="checkmark-circle",e.CheckmarkCircleAlt="checkmark-circle-alt",e.CheckmarkCircleBreakout="checkmark-circle-breakout",e.CheckmarkSquare="checkmark-square",e.ChevronUp="chevron-up",e.ChevronDown="chevron-down",e.ChevronLeft="chevron-left",e.ChevronRight="chevron-right",e.Circle="circle",e.Clock="clock",e.Copy="copy",e.Edit="edit",e.Ellipsis="ellipsis",e.EllipsisAlt="ellipsis-alt",e.Equal="equal",e.Error="error-circle",e.Eye="eye",e.EyeBlocked="eye-blocked",e.Filter="filter",e.FilterAlt="filter-alt",e.FilterAltArrow="filter-alt-arrow",e.FilterAltTimes="filter-alt-times",e.Forbidden="forbidden",e.Fullscreen="fullscreen",e.FullscreenExit="fullscreen-exit",e.Gearwheel="gearwheel",e.Grid="grid",e.Hamburger="hamburger",e.HomeFilled="home-filled",e.Heart="heart",e.Image="image",e.InfoBell="info-bell",e.InfoCircle="info-circle",e.Link="link",e.MinusSquare="minus-square",e.NavigationFirst="navigation-first",e.NavigationLast="navigation-last",e.Plus="plus",e.Radio="radio",e.Refresh="refresh",e.Search="search",e.Share="share",e.Square="square",e.Star="star",e.StarAlt="star-alt",e.TableSearch="table-search",e.Times="times",e.TimesCircle="times-circle",e.TimesCircleAlt="times-circle-alt",e.TimesThin="times-thin",e.Trash="trash",e.TriangleDown="triangle-down",e.TriangleDownCircle="triangle-down-circle",e.TriangleLeft="triangle-left",e.TriangleRight="triangle-right",e.TriangleUp="triangle-up",e.Undo="undo",e.Warning="warning",e.FileOutline="file-outline",e.FileUpload="file-upload-outline",e.FileDownload="file-download-outline"}(l||(l={}));const i=e.forwardRef((({icon:l,color:i,className:a,style:t,size:o,tag:n="span",...c},s)=>{const h=n;return e.createElement(h,{...c,ref:s,style:{color:i,...t,fontSize:o},"data-icon":!0,"aria-hidden":"true",className:`${r.icon} ${r["icon-"+l]} ${a||""}`})}));export{i as Icon,l as Icons};
1
+ import e from"react";import r from"./Icon.module.esm.js";var l;!function(e){e.Bell="bell",e.BellAlt="bell-alt",e.Bookmark="bookmark",e.BookmarkAlt="bookmark-alt",e.Build="build",e.Calendar="calendar",e.Change="change",e.Checkmark="checkmark",e.CheckmarkCircle="checkmark-circle",e.CheckmarkCircleAlt="checkmark-circle-alt",e.CheckmarkCircleBreakout="checkmark-circle-breakout",e.CheckmarkSquare="checkmark-square",e.ChevronUp="chevron-up",e.ChevronDown="chevron-down",e.ChevronLeft="chevron-left",e.ChevronRight="chevron-right",e.Circle="circle",e.Clock="clock",e.Copy="copy",e.Edit="edit",e.Ellipsis="ellipsis",e.EllipsisAlt="ellipsis-alt",e.Equal="equal",e.Error="error-circle",e.ErrorAlt="error-circle-alt",e.Eye="eye",e.EyeBlocked="eye-blocked",e.Filter="filter",e.FilterAlt="filter-alt",e.FilterAltArrow="filter-alt-arrow",e.FilterAltTimes="filter-alt-times",e.Forbidden="forbidden",e.Fullscreen="fullscreen",e.FullscreenExit="fullscreen-exit",e.Gearwheel="gearwheel",e.Grid="grid",e.Hamburger="hamburger",e.HomeFilled="home-filled",e.Heart="heart",e.Image="image",e.InfoBell="info-bell",e.InfoCircle="info-circle",e.Link="link",e.MinusSquare="minus-square",e.NavigationFirst="navigation-first",e.NavigationLast="navigation-last",e.Plus="plus",e.Radio="radio",e.Refresh="refresh",e.Search="search",e.Share="share",e.Square="square",e.Star="star",e.StarAlt="star-alt",e.TableSearch="table-search",e.Times="times",e.TimesCircle="times-circle",e.TimesCircleAlt="times-circle-alt",e.TimesThin="times-thin",e.Trash="trash",e.TriangleDown="triangle-down",e.TriangleDownCircle="triangle-down-circle",e.TriangleLeft="triangle-left",e.TriangleRight="triangle-right",e.TriangleUp="triangle-up",e.Undo="undo",e.Warning="warning",e.FileOutline="file-outline",e.FileUpload="file-upload-outline",e.FileDownload="file-download-outline"}(l||(l={}));const i=e.forwardRef((({icon:l,color:i,className:a,style:t,size:o,tag:c="span",...n},s)=>{const h=c;return e.createElement(h,{...n,ref:s,style:{color:i,...t,fontSize:o},"data-icon":!0,"aria-hidden":"true",className:`${r.icon} ${r["icon-"+l]} ${a||""}`})}));export{i as Icon,l as Icons};
2
2
  //# sourceMappingURL=Icon.esm.js.map