@onewelcome/react-lib-components 13.0.1 → 13.1.0-test.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 (220) hide show
  1. package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.cjs.js +2 -2
  2. package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.es.js +5 -5
  3. package/dist/components/Button/BaseButton.module.scss.cjs.js +2 -2
  4. package/dist/components/Button/BaseButton.module.scss.es.js +4 -4
  5. package/dist/components/Button/Button.module.scss.cjs.js +2 -2
  6. package/dist/components/Button/Button.module.scss.es.js +17 -17
  7. package/dist/components/Button/IconButton.module.scss.cjs.js +2 -2
  8. package/dist/components/Button/IconButton.module.scss.es.js +18 -18
  9. package/dist/components/ContextMenu/ContextMenu.module.scss.cjs.js +2 -2
  10. package/dist/components/ContextMenu/ContextMenu.module.scss.es.js +6 -6
  11. package/dist/components/ContextMenu/ContextMenuDivider.module.scss.cjs.js +2 -2
  12. package/dist/components/ContextMenu/ContextMenuDivider.module.scss.es.js +2 -2
  13. package/dist/components/ContextMenu/ContextMenuItem.module.scss.cjs.js +2 -2
  14. package/dist/components/ContextMenu/ContextMenuItem.module.scss.es.js +3 -3
  15. package/dist/components/DataGrid/DataGrid.cjs.js +1 -1
  16. package/dist/components/DataGrid/DataGrid.cjs.js.map +1 -1
  17. package/dist/components/DataGrid/DataGrid.es.js +10 -1
  18. package/dist/components/DataGrid/DataGrid.es.js.map +1 -1
  19. package/dist/components/DataGrid/DataGrid.module.scss.cjs.js +2 -2
  20. package/dist/components/DataGrid/DataGrid.module.scss.es.js +6 -6
  21. package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.cjs.js +2 -2
  22. package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.es.js +6 -6
  23. package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.cjs.js +2 -2
  24. package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.es.js +7 -7
  25. package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.cjs.js +2 -2
  26. package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.es.js +2 -2
  27. package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.cjs.js +2 -2
  28. package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.es.js +5 -5
  29. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.cjs.js +2 -2
  30. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.es.js +4 -4
  31. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.cjs.js +2 -2
  32. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.es.js +5 -5
  33. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.cjs.js +2 -2
  34. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.es.js +24 -24
  35. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.cjs.js +2 -2
  36. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.es.js +9 -9
  37. package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.cjs.js +1 -1
  38. package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.cjs.js.map +1 -1
  39. package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.es.js +32 -4
  40. package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.es.js.map +1 -1
  41. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.cjs.js +2 -2
  42. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.es.js +10 -8
  43. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.es.js.map +1 -1
  44. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.cjs.js +2 -2
  45. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.es.js +17 -17
  46. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.cjs.js +1 -1
  47. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.cjs.js.map +1 -1
  48. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.es.js +11 -0
  49. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.es.js.map +1 -1
  50. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.cjs.js +2 -2
  51. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.es.js +3 -3
  52. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js +1 -1
  53. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js.map +1 -1
  54. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.es.js +97 -2
  55. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.es.js.map +1 -1
  56. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.cjs.js +2 -2
  57. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.es.js +11 -8
  58. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.es.js.map +1 -1
  59. package/dist/components/DataGrid/assets/sorting.png.cjs.js +2 -0
  60. package/dist/components/DataGrid/assets/sorting.png.cjs.js.map +1 -0
  61. package/dist/components/DataGrid/assets/sorting.png.es.js +5 -0
  62. package/dist/components/DataGrid/assets/sorting.png.es.js.map +1 -0
  63. package/dist/components/DatePicker/DatePicker.module.scss.cjs.js +2 -2
  64. package/dist/components/DatePicker/DatePicker.module.scss.es.js +31 -31
  65. package/dist/components/Form/Checkbox/Checkbox.module.scss.cjs.js +2 -2
  66. package/dist/components/Form/Checkbox/Checkbox.module.scss.es.js +13 -13
  67. package/dist/components/Form/Fieldset/Fieldset.module.scss.cjs.js +2 -2
  68. package/dist/components/Form/Fieldset/Fieldset.module.scss.es.js +5 -5
  69. package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.cjs.js +2 -2
  70. package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.es.js +18 -18
  71. package/dist/components/Form/FileUpload/FileUpload.module.scss.cjs.js +2 -2
  72. package/dist/components/Form/FileUpload/FileUpload.module.scss.es.js +16 -16
  73. package/dist/components/Form/Form.module.scss.cjs.js +2 -2
  74. package/dist/components/Form/Form.module.scss.es.js +2 -2
  75. package/dist/components/Form/FormControl/FormControl.module.scss.cjs.js +2 -2
  76. package/dist/components/Form/FormControl/FormControl.module.scss.es.js +13 -13
  77. package/dist/components/Form/FormErrorText/FormErrorText.module.scss.cjs.js +2 -2
  78. package/dist/components/Form/FormErrorText/FormErrorText.module.scss.es.js +5 -5
  79. package/dist/components/Form/FormGroup/FormGroup.module.scss.cjs.js +2 -2
  80. package/dist/components/Form/FormGroup/FormGroup.module.scss.es.js +3 -3
  81. package/dist/components/Form/FormHelperText/FormHelperText.module.scss.cjs.js +2 -2
  82. package/dist/components/Form/FormHelperText/FormHelperText.module.scss.es.js +4 -4
  83. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.cjs.js +2 -2
  84. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.es.js +6 -6
  85. package/dist/components/Form/Input/Input.cjs.js +1 -1
  86. package/dist/components/Form/Input/Input.cjs.js.map +1 -1
  87. package/dist/components/Form/Input/Input.es.js +3 -2
  88. package/dist/components/Form/Input/Input.es.js.map +1 -1
  89. package/dist/components/Form/Input/Input.module.scss.cjs.js +2 -2
  90. package/dist/components/Form/Input/Input.module.scss.es.js +10 -11
  91. package/dist/components/Form/Input/Input.module.scss.es.js.map +1 -1
  92. package/dist/components/Form/Label/Label.module.scss.cjs.js +2 -2
  93. package/dist/components/Form/Label/Label.module.scss.es.js +2 -2
  94. package/dist/components/Form/Radio/Radio.module.scss.cjs.js +2 -2
  95. package/dist/components/Form/Radio/Radio.module.scss.es.js +11 -11
  96. package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.cjs.js +2 -2
  97. package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.es.js +15 -15
  98. package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.cjs.js +2 -2
  99. package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.es.js +2 -2
  100. package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.cjs.js +2 -2
  101. package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.es.js +4 -4
  102. package/dist/components/Form/Select/SingleSelect/Select.module.scss.cjs.js +2 -2
  103. package/dist/components/Form/Select/SingleSelect/Select.module.scss.es.js +17 -17
  104. package/dist/components/Form/Select/useAddNewBtn.module.scss.cjs.js +2 -2
  105. package/dist/components/Form/Select/useAddNewBtn.module.scss.es.js +4 -4
  106. package/dist/components/Form/Textarea/Textarea.module.scss.cjs.js +2 -2
  107. package/dist/components/Form/Textarea/Textarea.module.scss.es.js +6 -6
  108. package/dist/components/Form/Toggle/Toggle.module.scss.cjs.js +2 -2
  109. package/dist/components/Form/Toggle/Toggle.module.scss.es.js +18 -18
  110. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.cjs.js +2 -2
  111. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.es.js +3 -3
  112. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.cjs.js +1 -1
  113. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.cjs.js.map +1 -1
  114. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.es.js +16 -1
  115. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.es.js.map +1 -1
  116. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.cjs.js +2 -2
  117. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.es.js +6 -5
  118. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.es.js.map +1 -1
  119. package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.cjs.js +2 -2
  120. package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.es.js +3 -3
  121. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.cjs.js +2 -2
  122. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.es.js +3 -3
  123. package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.cjs.js +2 -2
  124. package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.es.js +3 -3
  125. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.cjs.js +2 -2
  126. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.es.js +8 -8
  127. package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.cjs.js +2 -2
  128. package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.es.js +6 -6
  129. package/dist/components/Icon/Icon.module.scss.cjs.js +2 -2
  130. package/dist/components/Icon/Icon.module.scss.es.js +107 -107
  131. package/dist/components/Layout/Card/Card.module.scss.cjs.js +2 -2
  132. package/dist/components/Layout/Card/Card.module.scss.es.js +12 -12
  133. package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.cjs.js +2 -2
  134. package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.es.js +12 -12
  135. package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.cjs.js +2 -2
  136. package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.es.js +4 -4
  137. package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.cjs.js +2 -2
  138. package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.es.js +2 -2
  139. package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.cjs.js +2 -2
  140. package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.es.js +3 -3
  141. package/dist/components/Link/Link.module.scss.cjs.js +2 -2
  142. package/dist/components/Link/Link.module.scss.es.js +17 -17
  143. package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.cjs.js +2 -2
  144. package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.es.js +11 -11
  145. package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.cjs.js +2 -2
  146. package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.es.js +22 -22
  147. package/dist/components/Notifications/Banner/Banner.module.scss.cjs.js +2 -2
  148. package/dist/components/Notifications/Banner/Banner.module.scss.es.js +9 -9
  149. package/dist/components/Notifications/BaseModal/BaseModal.module.scss.cjs.js +2 -2
  150. package/dist/components/Notifications/BaseModal/BaseModal.module.scss.es.js +5 -5
  151. package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.cjs.js +2 -2
  152. package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.es.js +4 -4
  153. package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.cjs.js +2 -2
  154. package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.es.js +2 -2
  155. package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.cjs.js +2 -2
  156. package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.es.js +6 -6
  157. package/dist/components/Notifications/Dialog/Dialog.module.scss.cjs.js +2 -2
  158. package/dist/components/Notifications/Dialog/Dialog.module.scss.es.js +4 -4
  159. package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.cjs.js +2 -2
  160. package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.es.js +3 -3
  161. package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.cjs.js +2 -2
  162. package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.es.js +10 -10
  163. package/dist/components/Notifications/SideSheet/SideSheet.module.scss.cjs.js +2 -2
  164. package/dist/components/Notifications/SideSheet/SideSheet.module.scss.es.js +13 -13
  165. package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.cjs.js +2 -2
  166. package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.es.js +2 -2
  167. package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.cjs.js +2 -2
  168. package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.es.js +2 -2
  169. package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.cjs.js +2 -2
  170. package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.es.js +10 -10
  171. package/dist/components/Pagination/Pagination.module.scss.cjs.js +2 -2
  172. package/dist/components/Pagination/Pagination.module.scss.es.js +14 -14
  173. package/dist/components/Popover/Popover.module.scss.cjs.js +2 -2
  174. package/dist/components/Popover/Popover.module.scss.es.js +3 -3
  175. package/dist/components/ProgressBar/ProgressBar.module.scss.cjs.js +2 -2
  176. package/dist/components/ProgressBar/ProgressBar.module.scss.es.js +9 -9
  177. package/dist/components/Skeleton/Skeleton.module.scss.cjs.js +2 -2
  178. package/dist/components/Skeleton/Skeleton.module.scss.es.js +5 -5
  179. package/dist/components/Spinner/Spinner.module.scss.cjs.js +2 -2
  180. package/dist/components/Spinner/Spinner.module.scss.es.js +3 -3
  181. package/dist/components/Stepper/Step.module.scss.cjs.js +2 -2
  182. package/dist/components/Stepper/Step.module.scss.es.js +22 -22
  183. package/dist/components/Stepper/Stepper.module.scss.cjs.js +2 -2
  184. package/dist/components/Stepper/Stepper.module.scss.es.js +4 -4
  185. package/dist/components/Tabs/Tab.module.scss.cjs.js +2 -2
  186. package/dist/components/Tabs/Tab.module.scss.es.js +3 -3
  187. package/dist/components/Tabs/TabButton.module.scss.cjs.js +2 -2
  188. package/dist/components/Tabs/TabButton.module.scss.es.js +12 -12
  189. package/dist/components/Tabs/Tabs.module.scss.cjs.js +2 -2
  190. package/dist/components/Tabs/Tabs.module.scss.es.js +10 -10
  191. package/dist/components/Tag/RemoveButton.module.scss.cjs.js +2 -2
  192. package/dist/components/Tag/RemoveButton.module.scss.es.js +3 -3
  193. package/dist/components/Tag/Tag.module.scss.cjs.js +2 -2
  194. package/dist/components/Tag/Tag.module.scss.es.js +6 -6
  195. package/dist/components/TextEllipsis/TextEllipsis.module.scss.cjs.js +2 -2
  196. package/dist/components/TextEllipsis/TextEllipsis.module.scss.es.js +3 -3
  197. package/dist/components/Tiles/Tile.module.scss.cjs.js +2 -2
  198. package/dist/components/Tiles/Tile.module.scss.es.js +8 -8
  199. package/dist/components/Tiles/Tiles.module.scss.cjs.js +2 -2
  200. package/dist/components/Tiles/Tiles.module.scss.es.js +2 -2
  201. package/dist/components/Tooltip/Tooltip.module.scss.cjs.js +2 -2
  202. package/dist/components/Tooltip/Tooltip.module.scss.es.js +27 -27
  203. package/dist/components/Typography/Typography.module.scss.cjs.js +2 -2
  204. package/dist/components/Typography/Typography.module.scss.es.js +13 -13
  205. package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.cjs.js +2 -2
  206. package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.es.js +5 -5
  207. package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.cjs.js +2 -2
  208. package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.es.js +14 -14
  209. package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.cjs.js +2 -2
  210. package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.es.js +3 -3
  211. package/dist/components/admin/layout/ProfileMenu/ProfileMenu.module.scss.cjs.js +2 -2
  212. package/dist/components/admin/layout/ProfileMenu/ProfileMenu.module.scss.es.js +7 -7
  213. package/dist/components/admin/layout/TopNavBar/TopNavBar.module.scss.cjs.js +2 -2
  214. package/dist/components/admin/layout/TopNavBar/TopNavBar.module.scss.es.js +13 -13
  215. package/dist/components/miscellaneous/IdentityProviderButton.module.scss.cjs.js +2 -2
  216. package/dist/components/miscellaneous/IdentityProviderButton.module.scss.es.js +3 -3
  217. package/dist/index.d.ts +6 -1
  218. package/dist/readyclasses.module.scss.cjs.js +2 -2
  219. package/dist/readyclasses.module.scss.es.js +5 -5
  220. package/package.json +1 -1
@@ -1,15 +1,15 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var o=document.createElement("style");o.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.FormControl_form-control_hm9zm{font-size:var(--form-control-font-size)}.FormControl_form-control_hm9zm+.FormControl_form-control_hm9zm{margin-top:1rem}.FormControl_form-control_hm9zm.FormControl_grid_hm9zm{display:flex;flex-wrap:wrap;gap:1rem}.FormControl_form-control_hm9zm.FormControl_grid_hm9zm.FormControl_center_hm9zm,.FormControl_form-control_hm9zm.FormControl_grid_hm9zm.FormControl_middle_hm9zm{align-items:center}.FormControl_form-control_hm9zm.FormControl_grid_hm9zm.FormControl_start_hm9zm,.FormControl_form-control_hm9zm.FormControl_grid_hm9zm.FormControl_top_hm9zm{align-items:flex-start}.FormControl_form-control_hm9zm.FormControl_grid_hm9zm.FormControl_end_hm9zm,.FormControl_form-control_hm9zm.FormControl_grid_hm9zm.FormControl_bottom_hm9zm{align-items:flex-end}.FormControl_form-control_hm9zm.FormControl_grid_hm9zm.FormControl_stretch_hm9zm{align-items:stretch}.FormControl_form-control_hm9zm.FormControl_grid_hm9zm.FormControl_stretch_hm9zm>*>*{box-sizing:border-box;height:100%}.FormControl_column_hm9zm{flex-grow:1;flex-shrink:0}.FormControl_col-2_hm9zm{flex-basis:calc((100% - 1rem)/2)}.FormControl_col-3_hm9zm{flex-basis:calc((100% - 2rem) / 3)}')),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}}();
2
- const grid = "FormControl_grid_hm9zm";
3
- const center = "FormControl_center_hm9zm";
4
- const middle = "FormControl_middle_hm9zm";
5
- const start = "FormControl_start_hm9zm";
6
- const top = "FormControl_top_hm9zm";
7
- const end = "FormControl_end_hm9zm";
8
- const bottom = "FormControl_bottom_hm9zm";
9
- const stretch = "FormControl_stretch_hm9zm";
10
- const column = "FormControl_column_hm9zm";
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var o=document.createElement("style");o.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.FormControl_form-control_sP546{font-size:var(--form-control-font-size)}.FormControl_form-control_sP546+.FormControl_form-control_sP546{margin-top:1rem}.FormControl_form-control_sP546.FormControl_grid_sP546{display:flex;flex-wrap:wrap;gap:1rem}.FormControl_form-control_sP546.FormControl_grid_sP546.FormControl_center_sP546,.FormControl_form-control_sP546.FormControl_grid_sP546.FormControl_middle_sP546{align-items:center}.FormControl_form-control_sP546.FormControl_grid_sP546.FormControl_start_sP546,.FormControl_form-control_sP546.FormControl_grid_sP546.FormControl_top_sP546{align-items:flex-start}.FormControl_form-control_sP546.FormControl_grid_sP546.FormControl_end_sP546,.FormControl_form-control_sP546.FormControl_grid_sP546.FormControl_bottom_sP546{align-items:flex-end}.FormControl_form-control_sP546.FormControl_grid_sP546.FormControl_stretch_sP546{align-items:stretch}.FormControl_form-control_sP546.FormControl_grid_sP546.FormControl_stretch_sP546>*>*{box-sizing:border-box;height:100%}.FormControl_column_sP546{flex-grow:1;flex-shrink:0}.FormControl_col-2_sP546{flex-basis:calc((100% - 1rem)/2)}.FormControl_col-3_sP546{flex-basis:calc((100% - 2rem) / 3)}')),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}}();
2
+ const grid = "FormControl_grid_sP546";
3
+ const center = "FormControl_center_sP546";
4
+ const middle = "FormControl_middle_sP546";
5
+ const start = "FormControl_start_sP546";
6
+ const top = "FormControl_top_sP546";
7
+ const end = "FormControl_end_sP546";
8
+ const bottom = "FormControl_bottom_sP546";
9
+ const stretch = "FormControl_stretch_sP546";
10
+ const column = "FormControl_column_sP546";
11
11
  const classes = {
12
- "form-control": "FormControl_form-control_hm9zm",
12
+ "form-control": "FormControl_form-control_sP546",
13
13
  grid,
14
14
  center,
15
15
  middle,
@@ -19,8 +19,8 @@ const classes = {
19
19
  bottom,
20
20
  stretch,
21
21
  column,
22
- "col-2": "FormControl_col-2_hm9zm",
23
- "col-3": "FormControl_col-3_hm9zm"
22
+ "col-2": "FormControl_col-2_sP546",
23
+ "col-3": "FormControl_col-3_sP546"
24
24
  };
25
25
  export {
26
26
  bottom,
@@ -1,3 +1,3 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var r=document.createElement("style");r.appendChild(document.createTextNode(".FormErrorText_error-message_hm9zm{color:var(--error);display:flex;align-items:flex-end;line-height:1rem}.FormErrorText_error-icon_hm9zm{margin-right:.5rem;font-size:var(--font-size-big)}.FormErrorText_error-icon-before_hm9zm{margin-right:.5rem}.FormErrorText_error-icon-after_hm9zm{margin-left:.5rem}")),document.head.appendChild(r)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),exports.default={"error-message":"FormErrorText_error-message_hm9zm","error-icon":"FormErrorText_error-icon_hm9zm","error-icon-before":"FormErrorText_error-icon-before_hm9zm","error-icon-after":"FormErrorText_error-icon-after_hm9zm"};
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var r=document.createElement("style");r.appendChild(document.createTextNode(".FormErrorText_error-message_sP546{color:var(--error);display:flex;align-items:flex-end;line-height:1rem}.FormErrorText_error-icon_sP546{margin-right:.5rem;font-size:var(--font-size-big)}.FormErrorText_error-icon-before_sP546{margin-right:.5rem}.FormErrorText_error-icon-after_sP546{margin-left:.5rem}")),document.head.appendChild(r)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),exports.default={"error-message":"FormErrorText_error-message_sP546","error-icon":"FormErrorText_error-icon_sP546","error-icon-before":"FormErrorText_error-icon-before_sP546","error-icon-after":"FormErrorText_error-icon-after_sP546"};
3
3
  //# sourceMappingURL=FormErrorText.module.scss.cjs.js.map
@@ -1,9 +1,9 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var r=document.createElement("style");r.appendChild(document.createTextNode(".FormErrorText_error-message_hm9zm{color:var(--error);display:flex;align-items:flex-end;line-height:1rem}.FormErrorText_error-icon_hm9zm{margin-right:.5rem;font-size:var(--font-size-big)}.FormErrorText_error-icon-before_hm9zm{margin-right:.5rem}.FormErrorText_error-icon-after_hm9zm{margin-left:.5rem}")),document.head.appendChild(r)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var r=document.createElement("style");r.appendChild(document.createTextNode(".FormErrorText_error-message_sP546{color:var(--error);display:flex;align-items:flex-end;line-height:1rem}.FormErrorText_error-icon_sP546{margin-right:.5rem;font-size:var(--font-size-big)}.FormErrorText_error-icon-before_sP546{margin-right:.5rem}.FormErrorText_error-icon-after_sP546{margin-left:.5rem}")),document.head.appendChild(r)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
2
2
  const classes = {
3
- "error-message": "FormErrorText_error-message_hm9zm",
4
- "error-icon": "FormErrorText_error-icon_hm9zm",
5
- "error-icon-before": "FormErrorText_error-icon-before_hm9zm",
6
- "error-icon-after": "FormErrorText_error-icon-after_hm9zm"
3
+ "error-message": "FormErrorText_error-message_sP546",
4
+ "error-icon": "FormErrorText_error-icon_sP546",
5
+ "error-icon-before": "FormErrorText_error-icon-before_sP546",
6
+ "error-icon-after": "FormErrorText_error-icon-after_sP546"
7
7
  };
8
8
  export {
9
9
  classes as default
@@ -1,3 +1,3 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.FormGroup_form-group_hm9zm{position:relative}.FormGroup_default-helper_hm9zm{font-size:var(--font-size-sub);line-height:1.33333333}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),exports.default={"form-group":"FormGroup_form-group_hm9zm","default-helper":"FormGroup_default-helper_hm9zm"};
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.FormGroup_form-group_sP546{position:relative}.FormGroup_default-helper_sP546{font-size:var(--font-size-sub);line-height:1.33333333}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),exports.default={"form-group":"FormGroup_form-group_sP546","default-helper":"FormGroup_default-helper_sP546"};
3
3
  //# sourceMappingURL=FormGroup.module.scss.cjs.js.map
@@ -1,7 +1,7 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.FormGroup_form-group_hm9zm{position:relative}.FormGroup_default-helper_hm9zm{font-size:var(--font-size-sub);line-height:1.33333333}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.FormGroup_form-group_sP546{position:relative}.FormGroup_default-helper_sP546{font-size:var(--font-size-sub);line-height:1.33333333}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
2
  const classes = {
3
- "form-group": "FormGroup_form-group_hm9zm",
4
- "default-helper": "FormGroup_default-helper_hm9zm"
3
+ "form-group": "FormGroup_form-group_sP546",
4
+ "default-helper": "FormGroup_default-helper_sP546"
5
5
  };
6
6
  export {
7
7
  classes as default
@@ -1,3 +1,3 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */div.FormHelperText_form-helper-text_hm9zm{color:var(--input-helper-text-color);margin-bottom:0}div.FormHelperText_disabled_hm9zm{color:var(--greyed-out)}div.FormHelperText_error_hm9zm{color:var(--error)}[data-readonlyview=true] div.FormHelperText_form-helper-text_hm9zm{display:none}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="FormHelperText_disabled_hm9zm",r="FormHelperText_error_hm9zm",t={"form-helper-text":"FormHelperText_form-helper-text_hm9zm",disabled:e,error:r};exports.default=t,exports.disabled=e,exports.error=r;
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */div.FormHelperText_form-helper-text_sP546{color:var(--input-helper-text-color);margin-bottom:0}div.FormHelperText_disabled_sP546{color:var(--greyed-out)}div.FormHelperText_error_sP546{color:var(--error)}[data-readonlyview=true] div.FormHelperText_form-helper-text_sP546{display:none}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="FormHelperText_disabled_sP546",r="FormHelperText_error_sP546",t={"form-helper-text":"FormHelperText_form-helper-text_sP546",disabled:e,error:r};exports.default=t,exports.disabled=e,exports.error=r;
3
3
  //# sourceMappingURL=FormHelperText.module.scss.cjs.js.map
@@ -1,8 +1,8 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */div.FormHelperText_form-helper-text_hm9zm{color:var(--input-helper-text-color);margin-bottom:0}div.FormHelperText_disabled_hm9zm{color:var(--greyed-out)}div.FormHelperText_error_hm9zm{color:var(--error)}[data-readonlyview=true] div.FormHelperText_form-helper-text_hm9zm{display:none}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
- const disabled = "FormHelperText_disabled_hm9zm";
3
- const error = "FormHelperText_error_hm9zm";
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */div.FormHelperText_form-helper-text_sP546{color:var(--input-helper-text-color);margin-bottom:0}div.FormHelperText_disabled_sP546{color:var(--greyed-out)}div.FormHelperText_error_sP546{color:var(--error)}[data-readonlyview=true] div.FormHelperText_form-helper-text_sP546{display:none}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
+ const disabled = "FormHelperText_disabled_sP546";
3
+ const error = "FormHelperText_error_sP546";
4
4
  const classes = {
5
- "form-helper-text": "FormHelperText_form-helper-text_hm9zm",
5
+ "form-helper-text": "FormHelperText_form-helper-text_sP546",
6
6
  disabled,
7
7
  error
8
8
  };
@@ -1,3 +1,3 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.FormSelectorWrapper_error_hm9zm input+span{outline:var(--error) solid 1px;outline-offset:-1px;border-radius:2px;overflow:hidden}.FormSelectorWrapper_helper-text_hm9zm{margin-top:.25rem;margin-left:calc(1.75 * var(--font-size))}.FormSelectorWrapper_children-container_hm9zm>span:nth-of-type(2){margin-right:.5rem}.FormSelectorWrapper_children-container_hm9zm [data-icon-status=success]{color:var(--success);font-size:var(--font-size-big)}.FormSelectorWrapper_children-container_hm9zm [data-icon-status=error]{color:var(--error);font-size:var(--font-size-big)}.FormSelectorWrapper_children-container_hm9zm [data-icon-status=info]{color:var(--default);font-size:var(--font-size-big)}.FormSelectorWrapper_disabled_hm9zm input{color:var(--disabled)}.FormSelectorWrapper_disabled_hm9zm input:disabled{cursor:not-allowed}.FormSelectorWrapper_disabled_hm9zm label{cursor:not-allowed}.FormSelectorWrapper_required_hm9zm{color:var(--error)}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="FormSelectorWrapper_error_hm9zm",r="FormSelectorWrapper_disabled_hm9zm",o="FormSelectorWrapper_required_hm9zm",t={error:e,"helper-text":"FormSelectorWrapper_helper-text_hm9zm","children-container":"FormSelectorWrapper_children-container_hm9zm",disabled:r,required:o};exports.default=t,exports.disabled=r,exports.error=e,exports.required=o;
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.FormSelectorWrapper_error_sP546 input+span{outline:var(--error) solid 1px;outline-offset:-1px;border-radius:2px;overflow:hidden}.FormSelectorWrapper_helper-text_sP546{margin-top:.25rem;margin-left:calc(1.75 * var(--font-size))}.FormSelectorWrapper_children-container_sP546>span:nth-of-type(2){margin-right:.5rem}.FormSelectorWrapper_children-container_sP546 [data-icon-status=success]{color:var(--success);font-size:var(--font-size-big)}.FormSelectorWrapper_children-container_sP546 [data-icon-status=error]{color:var(--error);font-size:var(--font-size-big)}.FormSelectorWrapper_children-container_sP546 [data-icon-status=info]{color:var(--default);font-size:var(--font-size-big)}.FormSelectorWrapper_disabled_sP546 input{color:var(--disabled)}.FormSelectorWrapper_disabled_sP546 input:disabled{cursor:not-allowed}.FormSelectorWrapper_disabled_sP546 label{cursor:not-allowed}.FormSelectorWrapper_required_sP546{color:var(--error)}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="FormSelectorWrapper_error_sP546",r="FormSelectorWrapper_disabled_sP546",o="FormSelectorWrapper_required_sP546",t={error:e,"helper-text":"FormSelectorWrapper_helper-text_sP546","children-container":"FormSelectorWrapper_children-container_sP546",disabled:r,required:o};exports.default=t,exports.disabled=r,exports.error=e,exports.required=o;
3
3
  //# sourceMappingURL=FormSelectorWrapper.module.scss.cjs.js.map
@@ -1,11 +1,11 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.FormSelectorWrapper_error_hm9zm input+span{outline:var(--error) solid 1px;outline-offset:-1px;border-radius:2px;overflow:hidden}.FormSelectorWrapper_helper-text_hm9zm{margin-top:.25rem;margin-left:calc(1.75 * var(--font-size))}.FormSelectorWrapper_children-container_hm9zm>span:nth-of-type(2){margin-right:.5rem}.FormSelectorWrapper_children-container_hm9zm [data-icon-status=success]{color:var(--success);font-size:var(--font-size-big)}.FormSelectorWrapper_children-container_hm9zm [data-icon-status=error]{color:var(--error);font-size:var(--font-size-big)}.FormSelectorWrapper_children-container_hm9zm [data-icon-status=info]{color:var(--default);font-size:var(--font-size-big)}.FormSelectorWrapper_disabled_hm9zm input{color:var(--disabled)}.FormSelectorWrapper_disabled_hm9zm input:disabled{cursor:not-allowed}.FormSelectorWrapper_disabled_hm9zm label{cursor:not-allowed}.FormSelectorWrapper_required_hm9zm{color:var(--error)}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}}();
2
- const error = "FormSelectorWrapper_error_hm9zm";
3
- const disabled = "FormSelectorWrapper_disabled_hm9zm";
4
- const required = "FormSelectorWrapper_required_hm9zm";
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.FormSelectorWrapper_error_sP546 input+span{outline:var(--error) solid 1px;outline-offset:-1px;border-radius:2px;overflow:hidden}.FormSelectorWrapper_helper-text_sP546{margin-top:.25rem;margin-left:calc(1.75 * var(--font-size))}.FormSelectorWrapper_children-container_sP546>span:nth-of-type(2){margin-right:.5rem}.FormSelectorWrapper_children-container_sP546 [data-icon-status=success]{color:var(--success);font-size:var(--font-size-big)}.FormSelectorWrapper_children-container_sP546 [data-icon-status=error]{color:var(--error);font-size:var(--font-size-big)}.FormSelectorWrapper_children-container_sP546 [data-icon-status=info]{color:var(--default);font-size:var(--font-size-big)}.FormSelectorWrapper_disabled_sP546 input{color:var(--disabled)}.FormSelectorWrapper_disabled_sP546 input:disabled{cursor:not-allowed}.FormSelectorWrapper_disabled_sP546 label{cursor:not-allowed}.FormSelectorWrapper_required_sP546{color:var(--error)}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}}();
2
+ const error = "FormSelectorWrapper_error_sP546";
3
+ const disabled = "FormSelectorWrapper_disabled_sP546";
4
+ const required = "FormSelectorWrapper_required_sP546";
5
5
  const classes = {
6
6
  error,
7
- "helper-text": "FormSelectorWrapper_helper-text_hm9zm",
8
- "children-container": "FormSelectorWrapper_children-container_hm9zm",
7
+ "helper-text": "FormSelectorWrapper_helper-text_sP546",
8
+ "children-container": "FormSelectorWrapper_children-container_sP546",
9
9
  disabled,
10
10
  required
11
11
  };
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),s=require("./Input.module.scss.cjs.js"),a=require("../../../readyclasses.module.scss.cjs.js"),t=require("../../../hooks/useDetermineStatusIcon.cjs.js"),l=require("../../withReadOnly.cjs.js"),u=["date","time","datetime-local"],r=l.withReadOnly(e.forwardRef(({error:l=!1,success:r=!1,className:d,name:n,style:i,wrapperProps:o,type:c,labeledBy:f,prefix:p,suffix:m,disabled:h,onFocus:y,onBlur:b,readOnlyView:x,...j},w)=>{const[v,E]=e.useState(!1),N=e.useRef(null),I=e.useRef(null);e.useEffect(()=>{if(void 0===n)throw new Error("Please give your <Input /> component a 'name' attribute")},[]);const q=[s.default.input],O=s=>"string"==typeof s?e.createElement("span",null,s):s;u.includes(c)&&q.push(s.default["shrink-width-for-date-icon"]),d&&q.push(d);const R=[s.default["input-wrapper"]],S=[s.default.outline];(null==o?void 0:o.className)&&R.push(o.className),"hidden"===c&&R.push(a.default.hidden),p&&R.push(s.default.prefix),m&&R.push(s.default.suffix),h&&R.push(s.default.disabled)&&S.push(s.default.disabled),l&&R.push(s.default.error)&&S.push(s.default.error),v&&R.push(s.default.focus)&&S.push(s.default.focus),r&&R.push(s.default.success);const g=t.useDetermineStatusIcon({success:r,error:l}),k=j["data-readonlyview"];return e.createElement("div",{ref:N,...o,style:{...i},"data-readonlyview":k,className:`${s.default["input-wrapper"]} ${R.join(" ")}`,tabIndex:k?0:-1},p&&e.createElement("div",{"data-prefix":!0,className:s.default.prefix},O(p)),e.createElement("input",{...j,ref:w,"aria-readonly":k,readOnly:k,onFocus:e=>{E(!0),null==y||y(e)},onBlur:e=>{E(!1),null==b||b(e)},"aria-labelledby":f,type:c,name:n,disabled:h,"aria-disabled":h,className:q.join(" "),spellCheck:j.spellCheck??!1,tabIndex:k?-1:0}),g,m&&e.createElement("div",{ref:I,"data-suffix":!0,className:s.default.suffix},O(m)),e.createElement("span",{className:S.join(" ")}))}));exports.Input=r,exports.dateTypes=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),s=require("./Input.module.scss.cjs.js"),a=require("../../../readyclasses.module.scss.cjs.js"),t=require("../../../hooks/useDetermineStatusIcon.cjs.js"),l=require("../../withReadOnly.cjs.js"),r=require("../../Icon/Icon.cjs.js"),u=["date","time","datetime-local"],n=l.withReadOnly(e.forwardRef(({error:l=!1,success:n=!1,className:d,name:i,style:c,wrapperProps:o,type:p,labeledBy:f,prefix:m,suffix:h,disabled:y,onFocus:j,onBlur:b,readOnlyView:x,...w},I)=>{const[v,E]=e.useState(!1),N=e.useRef(null),q=e.useRef(null);e.useEffect(()=>{if(void 0===i)throw new Error("Please give your <Input /> component a 'name' attribute")},[]);const O=[s.default.input],R=u.includes(p),S=s=>"string"==typeof s?e.createElement("span",null,s):s;d&&O.push(d);const g=[s.default["input-wrapper"]],k=[s.default.outline];(null==o?void 0:o.className)&&g.push(o.className),"hidden"===p&&g.push(a.default.hidden),m&&g.push(s.default.prefix),h&&g.push(s.default.suffix),y&&g.push(s.default.disabled)&&k.push(s.default.disabled),l&&g.push(s.default.error)&&k.push(s.default.error),v&&g.push(s.default.focus)&&k.push(s.default.focus),n&&g.push(s.default.success);const B=t.useDetermineStatusIcon({success:n,error:l}),C=w["data-readonlyview"];return e.createElement("div",{ref:N,...o,style:{...c},"data-readonlyview":C,className:`${s.default["input-wrapper"]} ${g.join(" ")}`,tabIndex:C?0:-1},m&&e.createElement("div",{"data-prefix":!0,className:s.default.prefix},S(m)),e.createElement("input",{...w,ref:I,"aria-readonly":C,readOnly:C,onFocus:e=>{E(!0),null==j||j(e)},onBlur:e=>{E(!1),null==b||b(e)},"aria-labelledby":f,type:p,name:i,disabled:y,"aria-disabled":y,className:O.join(" "),spellCheck:w.spellCheck??!1,tabIndex:C?-1:0}),R?e.createElement(r.Icon,{icon:r.Icons.Calendar,"data-date-icon":!0}):B,h&&e.createElement("div",{ref:q,"data-suffix":!0,className:s.default.suffix},S(h)),e.createElement("span",{className:k.join(" ")}))}));exports.Input=n,exports.dateTypes=u;
2
2
  //# sourceMappingURL=Input.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.cjs.js","sources":["../../../../src/components/Form/Input/Input.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n Ref,\n useEffect,\n useRef,\n useState,\n ReactNode\n} from \"react\";\nimport classes from \"./Input.module.scss\";\nimport readyclasses from \"../../../readyclasses.module.scss\";\nimport { FormElement } from \"../form.interfaces\";\nimport { useDetermineStatusIcon } from \"../../../hooks/useDetermineStatusIcon\";\nimport { MergeElementProps } from \"../../../interfaces\";\nimport { withReadOnly } from \"../../withReadOnly\";\n\nexport const dateTypes = [\"date\", \"time\", \"datetime-local\"] as const;\n\nexport type Type =\n | \"text\"\n | \"email\"\n | \"file\"\n | \"number\"\n | \"password\"\n | \"search\"\n | \"tel\"\n | \"url\"\n | \"hidden\"\n | (typeof dateTypes)[number];\n\nexport type Props = MergeElementProps<\n \"input\",\n FormElement & {\n wrapperProps?: ComponentPropsWithRef<\"div\">;\n labeledBy?: string;\n type: Type;\n suffix?: ReactNode;\n prefix?: ReactNode;\n readOnlyView?: boolean;\n }\n>;\n\nconst InputComponent: ForwardRefRenderFunction<HTMLInputElement, Props> = (\n {\n error = false,\n success = false,\n className,\n name,\n style,\n wrapperProps,\n type,\n labeledBy,\n prefix,\n suffix,\n disabled,\n onFocus,\n onBlur,\n readOnlyView,\n ...rest\n }: Props,\n ref: Ref<HTMLInputElement>\n) => {\n const [focus, setFocus] = useState(false);\n const inputWrapperRef = useRef<HTMLDivElement>(null);\n const suffixRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n if (name === undefined) {\n throw new Error(\"Please give your <Input /> component a 'name' attribute\");\n }\n }, []);\n\n const inputClassNames = [classes[\"input\"]];\n\n const renderElement = (el: ReactNode) => {\n return typeof el === \"string\" ? <span>{el}</span> : el;\n };\n\n (dateTypes as ReadonlyArray<string>).includes(type) &&\n inputClassNames.push(classes[\"shrink-width-for-date-icon\"]);\n className && inputClassNames.push(className);\n\n const wrapperClasses = [classes[\"input-wrapper\"]];\n const outlineClasses = [classes[\"outline\"]];\n\n wrapperProps?.className && wrapperClasses.push(wrapperProps.className);\n type === \"hidden\" && wrapperClasses.push(readyclasses[\"hidden\"]);\n prefix && wrapperClasses.push(classes[\"prefix\"]);\n suffix && wrapperClasses.push(classes[\"suffix\"]);\n disabled && wrapperClasses.push(classes[\"disabled\"]) && outlineClasses.push(classes[\"disabled\"]);\n error && wrapperClasses.push(classes[\"error\"]) && outlineClasses.push(classes[\"error\"]);\n focus && wrapperClasses.push(classes[\"focus\"]) && outlineClasses.push(classes[\"focus\"]);\n success && wrapperClasses.push(classes[\"success\"]);\n\n const icon = useDetermineStatusIcon({ success, error });\n const readOnlyMode = rest[\"data-readonlyview\"] as boolean;\n\n return (\n <div\n ref={inputWrapperRef}\n {...wrapperProps}\n style={{ ...style }}\n data-readonlyview={readOnlyMode}\n className={`${classes[\"input-wrapper\"]} ${wrapperClasses.join(\" \")}`}\n tabIndex={readOnlyMode ? 0 : -1}\n >\n {prefix && (\n <div data-prefix className={classes[\"prefix\"]}>\n {renderElement(prefix)}\n </div>\n )}\n <input\n {...rest}\n ref={ref}\n aria-readonly={readOnlyMode}\n readOnly={readOnlyMode}\n onFocus={event => {\n setFocus(true);\n onFocus?.(event);\n }}\n onBlur={event => {\n setFocus(false);\n onBlur?.(event);\n }}\n aria-labelledby={labeledBy}\n type={type}\n name={name}\n disabled={disabled}\n aria-disabled={disabled}\n className={inputClassNames.join(\" \")}\n spellCheck={rest.spellCheck ?? false}\n tabIndex={readOnlyMode ? -1 : 0}\n />\n {icon}\n {suffix && (\n <div ref={suffixRef} data-suffix className={classes[\"suffix\"]}>\n {renderElement(suffix)}\n </div>\n )}\n\n <span className={outlineClasses.join(\" \")}></span>\n </div>\n );\n};\n\nexport const Input = withReadOnly(React.forwardRef(InputComponent));\n"],"names":["dateTypes","Input","withReadOnly","React","forwardRef","error","success","className","name","style","wrapperProps","type","labeledBy","prefix","suffix","disabled","onFocus","onBlur","readOnlyView","rest","ref","focus","setFocus","useState","inputWrapperRef","useRef","suffixRef","useEffect","Error","inputClassNames","classes","renderElement","el","createElement","includes","push","wrapperClasses","outlineClasses","readyclasses","icon","useDetermineStatusIcon","readOnlyMode","join","tabIndex","readOnly","event","spellCheck"],"mappings":"wSAgCaA,EAAY,CAAC,OAAQ,OAAQ,kBAiI7BC,EAAQC,EAAAA,aAAaC,EAAMC,WAvGkC,EAEtEC,SAAQ,EACRC,WAAU,EACVC,YACAC,OACAC,QACAC,eACAC,OACAC,YACAC,SACAC,SACAC,WACAC,UACAC,SACAC,kBACGC,GAELC,KAEA,MAAOC,EAAOC,GAAYC,EAAAA,UAAS,GAC7BC,EAAkBC,EAAAA,OAAuB,MACzCC,EAAYD,EAAAA,OAAuB,MAEzCE,EAAAA,UAAU,KACR,QAAa,IAATnB,EACF,MAAM,IAAIoB,MAAM,4DAEjB,IAEH,MAAMC,EAAkB,CAACC,UAAe,OAElCC,EAAiBC,GACA,iBAAPA,EAAkB7B,EAAA8B,cAAC,OAAA,KAAMD,GAAaA,EAGrDhC,EAAoCkC,SAASvB,IAC5CkB,EAAgBM,KAAKL,EAAAA,QAAQ,+BAC/BvB,GAAasB,EAAgBM,KAAK5B,GAElC,MAAM6B,EAAiB,CAACN,UAAQ,kBAC1BO,EAAiB,CAACP,UAAiB,UAEzC,MAAApB,OAAA,EAAAA,EAAcH,YAAa6B,EAAeD,KAAKzB,EAAaH,WACnD,WAATI,GAAqByB,EAAeD,KAAKG,EAAAA,QAAqB,QAC9DzB,GAAUuB,EAAeD,KAAKL,EAAAA,QAAgB,QAC9ChB,GAAUsB,EAAeD,KAAKL,EAAAA,QAAgB,QAC9Cf,GAAYqB,EAAeD,KAAKL,EAAAA,QAAkB,WAAMO,EAAeF,KAAKL,UAAkB,UAC9FzB,GAAS+B,EAAeD,KAAKL,EAAAA,QAAe,QAAMO,EAAeF,KAAKL,UAAe,OACrFT,GAASe,EAAeD,KAAKL,EAAAA,QAAe,QAAMO,EAAeF,KAAKL,UAAe,OACrFxB,GAAW8B,EAAeD,KAAKL,EAAAA,QAAiB,SAEhD,MAAMS,EAAOC,EAAAA,uBAAuB,CAAElC,UAASD,UACzCoC,EAAetB,EAAK,qBAE1B,OACEhB,EAAA8B,cAAC,MAAA,CACCb,IAAKI,KACDd,EACJD,MAAO,IAAKA,GACZ,oBAAmBgC,EACnBlC,UAAW,GAAGuB,EAAAA,QAAQ,oBAAoBM,EAAeM,KAAK,OAC9DC,SAAUF,EAAe,GAAI,GAE5B5B,GACCV,EAAA8B,cAAC,MAAA,CAAI,eAAW,EAAC1B,UAAWuB,EAAAA,QAAgB,QACzCC,EAAclB,IAGnBV,EAAA8B,cAAC,QAAA,IACKd,EACJC,MACA,gBAAeqB,EACfG,SAAUH,EACVzB,QAAS6B,IACPvB,GAAS,GACT,MAAAN,GAAAA,EAAU6B,IAEZ5B,OAAQ4B,IACNvB,GAAS,GACT,MAAAL,GAAAA,EAAS4B,IAEX,kBAAiBjC,EACjBD,OACAH,OACAO,WACA,gBAAeA,EACfR,UAAWsB,EAAgBa,KAAK,KAChCI,WAAY3B,EAAK2B,aAAc,EAC/BH,SAAUF,GAAe,EAAK,IAE/BF,EACAzB,GACCX,EAAA8B,cAAC,MAAA,CAAIb,IAAKM,EAAW,eAAW,EAACnB,UAAWuB,EAAAA,QAAgB,QACzDC,EAAcjB,oBAIlB,OAAA,CAAKP,UAAW8B,EAAeK,KAAK"}
1
+ {"version":3,"file":"Input.cjs.js","sources":["../../../../src/components/Form/Input/Input.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n Ref,\n useEffect,\n useRef,\n useState,\n ReactNode\n} from \"react\";\nimport classes from \"./Input.module.scss\";\nimport readyclasses from \"../../../readyclasses.module.scss\";\nimport { FormElement } from \"../form.interfaces\";\nimport { useDetermineStatusIcon } from \"../../../hooks/useDetermineStatusIcon\";\nimport { MergeElementProps } from \"../../../interfaces\";\nimport { withReadOnly } from \"../../withReadOnly\";\nimport { Icon, Icons } from \"../../Icon/Icon\";\n\nexport const dateTypes = [\"date\", \"time\", \"datetime-local\"] as const;\n\nexport type Type =\n | \"text\"\n | \"email\"\n | \"file\"\n | \"number\"\n | \"password\"\n | \"search\"\n | \"tel\"\n | \"url\"\n | \"hidden\"\n | (typeof dateTypes)[number];\n\nexport type Props = MergeElementProps<\n \"input\",\n FormElement & {\n wrapperProps?: ComponentPropsWithRef<\"div\">;\n labeledBy?: string;\n type: Type;\n suffix?: ReactNode;\n prefix?: ReactNode;\n readOnlyView?: boolean;\n }\n>;\n\nconst InputComponent: ForwardRefRenderFunction<HTMLInputElement, Props> = (\n {\n error = false,\n success = false,\n className,\n name,\n style,\n wrapperProps,\n type,\n labeledBy,\n prefix,\n suffix,\n disabled,\n onFocus,\n onBlur,\n readOnlyView,\n ...rest\n }: Props,\n ref: Ref<HTMLInputElement>\n) => {\n const [focus, setFocus] = useState(false);\n const inputWrapperRef = useRef<HTMLDivElement>(null);\n const suffixRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n if (name === undefined) {\n throw new Error(\"Please give your <Input /> component a 'name' attribute\");\n }\n }, []);\n\n const inputClassNames = [classes[\"input\"]];\n const isDateType = (dateTypes as ReadonlyArray<string>).includes(type);\n\n const renderElement = (el: ReactNode) => {\n return typeof el === \"string\" ? <span>{el}</span> : el;\n };\n\n className && inputClassNames.push(className);\n\n const wrapperClasses = [classes[\"input-wrapper\"]];\n const outlineClasses = [classes[\"outline\"]];\n\n wrapperProps?.className && wrapperClasses.push(wrapperProps.className);\n type === \"hidden\" && wrapperClasses.push(readyclasses[\"hidden\"]);\n prefix && wrapperClasses.push(classes[\"prefix\"]);\n suffix && wrapperClasses.push(classes[\"suffix\"]);\n disabled && wrapperClasses.push(classes[\"disabled\"]) && outlineClasses.push(classes[\"disabled\"]);\n error && wrapperClasses.push(classes[\"error\"]) && outlineClasses.push(classes[\"error\"]);\n focus && wrapperClasses.push(classes[\"focus\"]) && outlineClasses.push(classes[\"focus\"]);\n success && wrapperClasses.push(classes[\"success\"]);\n\n const icon = useDetermineStatusIcon({ success, error });\n const readOnlyMode = rest[\"data-readonlyview\"] as boolean;\n\n return (\n <div\n ref={inputWrapperRef}\n {...wrapperProps}\n style={{ ...style }}\n data-readonlyview={readOnlyMode}\n className={`${classes[\"input-wrapper\"]} ${wrapperClasses.join(\" \")}`}\n tabIndex={readOnlyMode ? 0 : -1}\n >\n {prefix && (\n <div data-prefix className={classes[\"prefix\"]}>\n {renderElement(prefix)}\n </div>\n )}\n <input\n {...rest}\n ref={ref}\n aria-readonly={readOnlyMode}\n readOnly={readOnlyMode}\n onFocus={event => {\n setFocus(true);\n onFocus?.(event);\n }}\n onBlur={event => {\n setFocus(false);\n onBlur?.(event);\n }}\n aria-labelledby={labeledBy}\n type={type}\n name={name}\n disabled={disabled}\n aria-disabled={disabled}\n className={inputClassNames.join(\" \")}\n spellCheck={rest.spellCheck ?? false}\n tabIndex={readOnlyMode ? -1 : 0}\n />\n {isDateType ? <Icon icon={Icons.Calendar} data-date-icon /> : icon}\n {suffix && (\n <div ref={suffixRef} data-suffix className={classes[\"suffix\"]}>\n {renderElement(suffix)}\n </div>\n )}\n\n <span className={outlineClasses.join(\" \")}></span>\n </div>\n );\n};\n\nexport const Input = withReadOnly(React.forwardRef(InputComponent));\n"],"names":["dateTypes","Input","withReadOnly","React","forwardRef","error","success","className","name","style","wrapperProps","type","labeledBy","prefix","suffix","disabled","onFocus","onBlur","readOnlyView","rest","ref","focus","setFocus","useState","inputWrapperRef","useRef","suffixRef","useEffect","Error","inputClassNames","classes","isDateType","includes","renderElement","el","createElement","push","wrapperClasses","outlineClasses","readyclasses","icon","useDetermineStatusIcon","readOnlyMode","join","tabIndex","readOnly","event","spellCheck","Icon","Icons","Calendar"],"mappings":"4UAiCaA,EAAY,CAAC,OAAQ,OAAQ,kBAgI7BC,EAAQC,EAAAA,aAAaC,EAAMC,WAtGkC,EAEtEC,SAAQ,EACRC,WAAU,EACVC,YACAC,OACAC,QACAC,eACAC,OACAC,YACAC,SACAC,SACAC,WACAC,UACAC,SACAC,kBACGC,GAELC,KAEA,MAAOC,EAAOC,GAAYC,EAAAA,UAAS,GAC7BC,EAAkBC,EAAAA,OAAuB,MACzCC,EAAYD,EAAAA,OAAuB,MAEzCE,EAAAA,UAAU,KACR,QAAa,IAATnB,EACF,MAAM,IAAIoB,MAAM,4DAEjB,IAEH,MAAMC,EAAkB,CAACC,UAAe,OAClCC,EAAc/B,EAAoCgC,SAASrB,GAE3DsB,EAAiBC,GACA,iBAAPA,EAAkB/B,EAAAgC,cAAC,OAAA,KAAMD,GAAaA,EAGtD3B,GAAasB,EAAgBO,KAAK7B,GAElC,MAAM8B,EAAiB,CAACP,UAAQ,kBAC1BQ,EAAiB,CAACR,UAAiB,UAEzC,MAAApB,OAAA,EAAAA,EAAcH,YAAa8B,EAAeD,KAAK1B,EAAaH,WACnD,WAATI,GAAqB0B,EAAeD,KAAKG,EAAAA,QAAqB,QAC9D1B,GAAUwB,EAAeD,KAAKN,EAAAA,QAAgB,QAC9ChB,GAAUuB,EAAeD,KAAKN,EAAAA,QAAgB,QAC9Cf,GAAYsB,EAAeD,KAAKN,EAAAA,QAAkB,WAAMQ,EAAeF,KAAKN,UAAkB,UAC9FzB,GAASgC,EAAeD,KAAKN,EAAAA,QAAe,QAAMQ,EAAeF,KAAKN,UAAe,OACrFT,GAASgB,EAAeD,KAAKN,EAAAA,QAAe,QAAMQ,EAAeF,KAAKN,UAAe,OACrFxB,GAAW+B,EAAeD,KAAKN,EAAAA,QAAiB,SAEhD,MAAMU,EAAOC,EAAAA,uBAAuB,CAAEnC,UAASD,UACzCqC,EAAevB,EAAK,qBAE1B,OACEhB,EAAAgC,cAAC,MAAA,CACCf,IAAKI,KACDd,EACJD,MAAO,IAAKA,GACZ,oBAAmBiC,EACnBnC,UAAW,GAAGuB,EAAAA,QAAQ,oBAAoBO,EAAeM,KAAK,OAC9DC,SAAUF,EAAe,GAAI,GAE5B7B,GACCV,EAAAgC,cAAC,MAAA,CAAI,eAAW,EAAC5B,UAAWuB,EAAAA,QAAgB,QACzCG,EAAcpB,IAGnBV,EAAAgC,cAAC,QAAA,IACKhB,EACJC,MACA,gBAAesB,EACfG,SAAUH,EACV1B,QAAS8B,IACPxB,GAAS,GACT,MAAAN,GAAAA,EAAU8B,IAEZ7B,OAAQ6B,IACNxB,GAAS,GACT,MAAAL,GAAAA,EAAS6B,IAEX,kBAAiBlC,EACjBD,OACAH,OACAO,WACA,gBAAeA,EACfR,UAAWsB,EAAgBc,KAAK,KAChCI,WAAY5B,EAAK4B,aAAc,EAC/BH,SAAUF,GAAe,EAAK,IAE/BX,kBAAciB,EAAAA,KAAA,CAAKR,KAAMS,EAAAA,MAAMC,SAAU,kBAAc,IAAMV,EAC7D1B,GACCX,EAAAgC,cAAC,MAAA,CAAIf,IAAKM,EAAW,eAAW,EAACnB,UAAWuB,EAAAA,QAAgB,QACzDG,EAAcnB,oBAIlB,OAAA,CAAKP,UAAW+B,EAAeK,KAAK"}
@@ -3,6 +3,7 @@ import classes from "./Input.module.scss.es.js";
3
3
  import readyclasses from "../../../readyclasses.module.scss.es.js";
4
4
  import { useDetermineStatusIcon } from "../../../hooks/useDetermineStatusIcon.es.js";
5
5
  import { withReadOnly } from "../../withReadOnly.es.js";
6
+ import { Icon, Icons } from "../../Icon/Icon.es.js";
6
7
  const dateTypes = ["date", "time", "datetime-local"];
7
8
  const InputComponent = ({
8
9
  error = false,
@@ -30,10 +31,10 @@ const InputComponent = ({
30
31
  }
31
32
  }, []);
32
33
  const inputClassNames = [classes["input"]];
34
+ const isDateType = dateTypes.includes(type);
33
35
  const renderElement = (el) => {
34
36
  return typeof el === "string" ? /* @__PURE__ */ React.createElement("span", null, el) : el;
35
37
  };
36
- dateTypes.includes(type) && inputClassNames.push(classes["shrink-width-for-date-icon"]);
37
38
  className && inputClassNames.push(className);
38
39
  const wrapperClasses = [classes["input-wrapper"]];
39
40
  const outlineClasses = [classes["outline"]];
@@ -83,7 +84,7 @@ const InputComponent = ({
83
84
  tabIndex: readOnlyMode ? -1 : 0
84
85
  }
85
86
  ),
86
- icon,
87
+ isDateType ? /* @__PURE__ */ React.createElement(Icon, { icon: Icons.Calendar, "data-date-icon": true }) : icon,
87
88
  suffix && /* @__PURE__ */ React.createElement("div", { ref: suffixRef, "data-suffix": true, className: classes["suffix"] }, renderElement(suffix)),
88
89
  /* @__PURE__ */ React.createElement("span", { className: outlineClasses.join(" ") })
89
90
  );
@@ -1 +1 @@
1
- {"version":3,"file":"Input.es.js","sources":["../../../../src/components/Form/Input/Input.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n Ref,\n useEffect,\n useRef,\n useState,\n ReactNode\n} from \"react\";\nimport classes from \"./Input.module.scss\";\nimport readyclasses from \"../../../readyclasses.module.scss\";\nimport { FormElement } from \"../form.interfaces\";\nimport { useDetermineStatusIcon } from \"../../../hooks/useDetermineStatusIcon\";\nimport { MergeElementProps } from \"../../../interfaces\";\nimport { withReadOnly } from \"../../withReadOnly\";\n\nexport const dateTypes = [\"date\", \"time\", \"datetime-local\"] as const;\n\nexport type Type =\n | \"text\"\n | \"email\"\n | \"file\"\n | \"number\"\n | \"password\"\n | \"search\"\n | \"tel\"\n | \"url\"\n | \"hidden\"\n | (typeof dateTypes)[number];\n\nexport type Props = MergeElementProps<\n \"input\",\n FormElement & {\n wrapperProps?: ComponentPropsWithRef<\"div\">;\n labeledBy?: string;\n type: Type;\n suffix?: ReactNode;\n prefix?: ReactNode;\n readOnlyView?: boolean;\n }\n>;\n\nconst InputComponent: ForwardRefRenderFunction<HTMLInputElement, Props> = (\n {\n error = false,\n success = false,\n className,\n name,\n style,\n wrapperProps,\n type,\n labeledBy,\n prefix,\n suffix,\n disabled,\n onFocus,\n onBlur,\n readOnlyView,\n ...rest\n }: Props,\n ref: Ref<HTMLInputElement>\n) => {\n const [focus, setFocus] = useState(false);\n const inputWrapperRef = useRef<HTMLDivElement>(null);\n const suffixRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n if (name === undefined) {\n throw new Error(\"Please give your <Input /> component a 'name' attribute\");\n }\n }, []);\n\n const inputClassNames = [classes[\"input\"]];\n\n const renderElement = (el: ReactNode) => {\n return typeof el === \"string\" ? <span>{el}</span> : el;\n };\n\n (dateTypes as ReadonlyArray<string>).includes(type) &&\n inputClassNames.push(classes[\"shrink-width-for-date-icon\"]);\n className && inputClassNames.push(className);\n\n const wrapperClasses = [classes[\"input-wrapper\"]];\n const outlineClasses = [classes[\"outline\"]];\n\n wrapperProps?.className && wrapperClasses.push(wrapperProps.className);\n type === \"hidden\" && wrapperClasses.push(readyclasses[\"hidden\"]);\n prefix && wrapperClasses.push(classes[\"prefix\"]);\n suffix && wrapperClasses.push(classes[\"suffix\"]);\n disabled && wrapperClasses.push(classes[\"disabled\"]) && outlineClasses.push(classes[\"disabled\"]);\n error && wrapperClasses.push(classes[\"error\"]) && outlineClasses.push(classes[\"error\"]);\n focus && wrapperClasses.push(classes[\"focus\"]) && outlineClasses.push(classes[\"focus\"]);\n success && wrapperClasses.push(classes[\"success\"]);\n\n const icon = useDetermineStatusIcon({ success, error });\n const readOnlyMode = rest[\"data-readonlyview\"] as boolean;\n\n return (\n <div\n ref={inputWrapperRef}\n {...wrapperProps}\n style={{ ...style }}\n data-readonlyview={readOnlyMode}\n className={`${classes[\"input-wrapper\"]} ${wrapperClasses.join(\" \")}`}\n tabIndex={readOnlyMode ? 0 : -1}\n >\n {prefix && (\n <div data-prefix className={classes[\"prefix\"]}>\n {renderElement(prefix)}\n </div>\n )}\n <input\n {...rest}\n ref={ref}\n aria-readonly={readOnlyMode}\n readOnly={readOnlyMode}\n onFocus={event => {\n setFocus(true);\n onFocus?.(event);\n }}\n onBlur={event => {\n setFocus(false);\n onBlur?.(event);\n }}\n aria-labelledby={labeledBy}\n type={type}\n name={name}\n disabled={disabled}\n aria-disabled={disabled}\n className={inputClassNames.join(\" \")}\n spellCheck={rest.spellCheck ?? false}\n tabIndex={readOnlyMode ? -1 : 0}\n />\n {icon}\n {suffix && (\n <div ref={suffixRef} data-suffix className={classes[\"suffix\"]}>\n {renderElement(suffix)}\n </div>\n )}\n\n <span className={outlineClasses.join(\" \")}></span>\n </div>\n );\n};\n\nexport const Input = withReadOnly(React.forwardRef(InputComponent));\n"],"names":[],"mappings":";;;;;AAgCO,MAAM,YAAY,CAAC,QAAQ,QAAQ,gBAAgB;AA0B1D,MAAM,iBAAoE,CACxE;AAAA,EACE,QAAQ;AAAA,EACR,UAAU;AAAA,EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GACA,QACG;AACH,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAS,KAAK;AACxC,QAAM,kBAAkB,OAAuB,IAAI;AACnD,QAAM,YAAY,OAAuB,IAAI;AAE7C,YAAU,MAAM;AACd,QAAI,SAAS,QAAW;AACtB,YAAM,IAAI,MAAM,yDAAyD;AAAA,IAC3E;AAAA,EACF,GAAG,CAAA,CAAE;AAEL,QAAM,kBAAkB,CAAC,QAAQ,OAAO,CAAC;AAEzC,QAAM,gBAAgB,CAAC,OAAkB;AACvC,WAAO,OAAO,OAAO,WAAW,sBAAA,cAAC,QAAA,MAAM,EAAG,IAAU;AAAA,EACtD;AAEC,YAAoC,SAAS,IAAI,KAChD,gBAAgB,KAAK,QAAQ,4BAA4B,CAAC;AAC5D,eAAa,gBAAgB,KAAK,SAAS;AAE3C,QAAM,iBAAiB,CAAC,QAAQ,eAAe,CAAC;AAChD,QAAM,iBAAiB,CAAC,QAAQ,SAAS,CAAC;AAE1C,gDAAc,cAAa,eAAe,KAAK,aAAa,SAAS;AACrE,WAAS,YAAY,eAAe,KAAK,aAAa,QAAQ,CAAC;AAC/D,YAAU,eAAe,KAAK,QAAQ,QAAQ,CAAC;AAC/C,YAAU,eAAe,KAAK,QAAQ,QAAQ,CAAC;AAC/C,cAAY,eAAe,KAAK,QAAQ,UAAU,CAAC,KAAK,eAAe,KAAK,QAAQ,UAAU,CAAC;AAC/F,WAAS,eAAe,KAAK,QAAQ,OAAO,CAAC,KAAK,eAAe,KAAK,QAAQ,OAAO,CAAC;AACtF,WAAS,eAAe,KAAK,QAAQ,OAAO,CAAC,KAAK,eAAe,KAAK,QAAQ,OAAO,CAAC;AACtF,aAAW,eAAe,KAAK,QAAQ,SAAS,CAAC;AAEjD,QAAM,OAAO,uBAAuB,EAAE,SAAS,OAAO;AACtD,QAAM,eAAe,KAAK,mBAAmB;AAE7C,SACE,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAK;AAAA,MACJ,GAAG;AAAA,MACJ,OAAO,EAAE,GAAG,MAAA;AAAA,MACZ,qBAAmB;AAAA,MACnB,WAAW,GAAG,QAAQ,eAAe,CAAC,IAAI,eAAe,KAAK,GAAG,CAAC;AAAA,MAClE,UAAU,eAAe,IAAI;AAAA,IAAA;AAAA,IAE5B,UACC,sBAAA,cAAC,OAAA,EAAI,eAAW,MAAC,WAAW,QAAQ,QAAQ,EAAA,GACzC,cAAc,MAAM,CACvB;AAAA,IAEF,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACE,GAAG;AAAA,QACJ;AAAA,QACA,iBAAe;AAAA,QACf,UAAU;AAAA,QACV,SAAS,CAAA,UAAS;AAChB,mBAAS,IAAI;AACb,6CAAU;AAAA,QACZ;AAAA,QACA,QAAQ,CAAA,UAAS;AACf,mBAAS,KAAK;AACd,2CAAS;AAAA,QACX;AAAA,QACA,mBAAiB;AAAA,QACjB;AAAA,QACA;AAAA,QACA;AAAA,QACA,iBAAe;AAAA,QACf,WAAW,gBAAgB,KAAK,GAAG;AAAA,QACnC,YAAY,KAAK,cAAc;AAAA,QAC/B,UAAU,eAAe,KAAK;AAAA,MAAA;AAAA,IAAA;AAAA,IAE/B;AAAA,IACA,UACC,sBAAA,cAAC,OAAA,EAAI,KAAK,WAAW,eAAW,MAAC,WAAW,QAAQ,QAAQ,EAAA,GACzD,cAAc,MAAM,CACvB;AAAA,wCAGD,QAAA,EAAK,WAAW,eAAe,KAAK,GAAG,EAAA,CAAG;AAAA,EAAA;AAGjD;AAEO,MAAM,QAAQ,aAAa,MAAM,WAAW,cAAc,CAAC;"}
1
+ {"version":3,"file":"Input.es.js","sources":["../../../../src/components/Form/Input/Input.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n Ref,\n useEffect,\n useRef,\n useState,\n ReactNode\n} from \"react\";\nimport classes from \"./Input.module.scss\";\nimport readyclasses from \"../../../readyclasses.module.scss\";\nimport { FormElement } from \"../form.interfaces\";\nimport { useDetermineStatusIcon } from \"../../../hooks/useDetermineStatusIcon\";\nimport { MergeElementProps } from \"../../../interfaces\";\nimport { withReadOnly } from \"../../withReadOnly\";\nimport { Icon, Icons } from \"../../Icon/Icon\";\n\nexport const dateTypes = [\"date\", \"time\", \"datetime-local\"] as const;\n\nexport type Type =\n | \"text\"\n | \"email\"\n | \"file\"\n | \"number\"\n | \"password\"\n | \"search\"\n | \"tel\"\n | \"url\"\n | \"hidden\"\n | (typeof dateTypes)[number];\n\nexport type Props = MergeElementProps<\n \"input\",\n FormElement & {\n wrapperProps?: ComponentPropsWithRef<\"div\">;\n labeledBy?: string;\n type: Type;\n suffix?: ReactNode;\n prefix?: ReactNode;\n readOnlyView?: boolean;\n }\n>;\n\nconst InputComponent: ForwardRefRenderFunction<HTMLInputElement, Props> = (\n {\n error = false,\n success = false,\n className,\n name,\n style,\n wrapperProps,\n type,\n labeledBy,\n prefix,\n suffix,\n disabled,\n onFocus,\n onBlur,\n readOnlyView,\n ...rest\n }: Props,\n ref: Ref<HTMLInputElement>\n) => {\n const [focus, setFocus] = useState(false);\n const inputWrapperRef = useRef<HTMLDivElement>(null);\n const suffixRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n if (name === undefined) {\n throw new Error(\"Please give your <Input /> component a 'name' attribute\");\n }\n }, []);\n\n const inputClassNames = [classes[\"input\"]];\n const isDateType = (dateTypes as ReadonlyArray<string>).includes(type);\n\n const renderElement = (el: ReactNode) => {\n return typeof el === \"string\" ? <span>{el}</span> : el;\n };\n\n className && inputClassNames.push(className);\n\n const wrapperClasses = [classes[\"input-wrapper\"]];\n const outlineClasses = [classes[\"outline\"]];\n\n wrapperProps?.className && wrapperClasses.push(wrapperProps.className);\n type === \"hidden\" && wrapperClasses.push(readyclasses[\"hidden\"]);\n prefix && wrapperClasses.push(classes[\"prefix\"]);\n suffix && wrapperClasses.push(classes[\"suffix\"]);\n disabled && wrapperClasses.push(classes[\"disabled\"]) && outlineClasses.push(classes[\"disabled\"]);\n error && wrapperClasses.push(classes[\"error\"]) && outlineClasses.push(classes[\"error\"]);\n focus && wrapperClasses.push(classes[\"focus\"]) && outlineClasses.push(classes[\"focus\"]);\n success && wrapperClasses.push(classes[\"success\"]);\n\n const icon = useDetermineStatusIcon({ success, error });\n const readOnlyMode = rest[\"data-readonlyview\"] as boolean;\n\n return (\n <div\n ref={inputWrapperRef}\n {...wrapperProps}\n style={{ ...style }}\n data-readonlyview={readOnlyMode}\n className={`${classes[\"input-wrapper\"]} ${wrapperClasses.join(\" \")}`}\n tabIndex={readOnlyMode ? 0 : -1}\n >\n {prefix && (\n <div data-prefix className={classes[\"prefix\"]}>\n {renderElement(prefix)}\n </div>\n )}\n <input\n {...rest}\n ref={ref}\n aria-readonly={readOnlyMode}\n readOnly={readOnlyMode}\n onFocus={event => {\n setFocus(true);\n onFocus?.(event);\n }}\n onBlur={event => {\n setFocus(false);\n onBlur?.(event);\n }}\n aria-labelledby={labeledBy}\n type={type}\n name={name}\n disabled={disabled}\n aria-disabled={disabled}\n className={inputClassNames.join(\" \")}\n spellCheck={rest.spellCheck ?? false}\n tabIndex={readOnlyMode ? -1 : 0}\n />\n {isDateType ? <Icon icon={Icons.Calendar} data-date-icon /> : icon}\n {suffix && (\n <div ref={suffixRef} data-suffix className={classes[\"suffix\"]}>\n {renderElement(suffix)}\n </div>\n )}\n\n <span className={outlineClasses.join(\" \")}></span>\n </div>\n );\n};\n\nexport const Input = withReadOnly(React.forwardRef(InputComponent));\n"],"names":[],"mappings":";;;;;;AAiCO,MAAM,YAAY,CAAC,QAAQ,QAAQ,gBAAgB;AA0B1D,MAAM,iBAAoE,CACxE;AAAA,EACE,QAAQ;AAAA,EACR,UAAU;AAAA,EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GACA,QACG;AACH,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAS,KAAK;AACxC,QAAM,kBAAkB,OAAuB,IAAI;AACnD,QAAM,YAAY,OAAuB,IAAI;AAE7C,YAAU,MAAM;AACd,QAAI,SAAS,QAAW;AACtB,YAAM,IAAI,MAAM,yDAAyD;AAAA,IAC3E;AAAA,EACF,GAAG,CAAA,CAAE;AAEL,QAAM,kBAAkB,CAAC,QAAQ,OAAO,CAAC;AACzC,QAAM,aAAc,UAAoC,SAAS,IAAI;AAErE,QAAM,gBAAgB,CAAC,OAAkB;AACvC,WAAO,OAAO,OAAO,WAAW,sBAAA,cAAC,QAAA,MAAM,EAAG,IAAU;AAAA,EACtD;AAEA,eAAa,gBAAgB,KAAK,SAAS;AAE3C,QAAM,iBAAiB,CAAC,QAAQ,eAAe,CAAC;AAChD,QAAM,iBAAiB,CAAC,QAAQ,SAAS,CAAC;AAE1C,gDAAc,cAAa,eAAe,KAAK,aAAa,SAAS;AACrE,WAAS,YAAY,eAAe,KAAK,aAAa,QAAQ,CAAC;AAC/D,YAAU,eAAe,KAAK,QAAQ,QAAQ,CAAC;AAC/C,YAAU,eAAe,KAAK,QAAQ,QAAQ,CAAC;AAC/C,cAAY,eAAe,KAAK,QAAQ,UAAU,CAAC,KAAK,eAAe,KAAK,QAAQ,UAAU,CAAC;AAC/F,WAAS,eAAe,KAAK,QAAQ,OAAO,CAAC,KAAK,eAAe,KAAK,QAAQ,OAAO,CAAC;AACtF,WAAS,eAAe,KAAK,QAAQ,OAAO,CAAC,KAAK,eAAe,KAAK,QAAQ,OAAO,CAAC;AACtF,aAAW,eAAe,KAAK,QAAQ,SAAS,CAAC;AAEjD,QAAM,OAAO,uBAAuB,EAAE,SAAS,OAAO;AACtD,QAAM,eAAe,KAAK,mBAAmB;AAE7C,SACE,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAK;AAAA,MACJ,GAAG;AAAA,MACJ,OAAO,EAAE,GAAG,MAAA;AAAA,MACZ,qBAAmB;AAAA,MACnB,WAAW,GAAG,QAAQ,eAAe,CAAC,IAAI,eAAe,KAAK,GAAG,CAAC;AAAA,MAClE,UAAU,eAAe,IAAI;AAAA,IAAA;AAAA,IAE5B,UACC,sBAAA,cAAC,OAAA,EAAI,eAAW,MAAC,WAAW,QAAQ,QAAQ,EAAA,GACzC,cAAc,MAAM,CACvB;AAAA,IAEF,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACE,GAAG;AAAA,QACJ;AAAA,QACA,iBAAe;AAAA,QACf,UAAU;AAAA,QACV,SAAS,CAAA,UAAS;AAChB,mBAAS,IAAI;AACb,6CAAU;AAAA,QACZ;AAAA,QACA,QAAQ,CAAA,UAAS;AACf,mBAAS,KAAK;AACd,2CAAS;AAAA,QACX;AAAA,QACA,mBAAiB;AAAA,QACjB;AAAA,QACA;AAAA,QACA;AAAA,QACA,iBAAe;AAAA,QACf,WAAW,gBAAgB,KAAK,GAAG;AAAA,QACnC,YAAY,KAAK,cAAc;AAAA,QAC/B,UAAU,eAAe,KAAK;AAAA,MAAA;AAAA,IAAA;AAAA,IAE/B,iDAAc,MAAA,EAAK,MAAM,MAAM,UAAU,kBAAc,MAAC,IAAK;AAAA,IAC7D,UACC,sBAAA,cAAC,OAAA,EAAI,KAAK,WAAW,eAAW,MAAC,WAAW,QAAQ,QAAQ,EAAA,GACzD,cAAc,MAAM,CACvB;AAAA,wCAGD,QAAA,EAAK,WAAW,eAAe,KAAK,GAAG,EAAA,CAAG;AAAA,EAAA;AAGjD;AAEO,MAAM,QAAQ,aAAa,MAAM,WAAW,cAAc,CAAC;"}
@@ -1,3 +1,3 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('.Input_sr-only_hm9zm{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.Input_hidden_hm9zm{display:none}.Input_slide-in_hm9zm{animation:Input_slide-in_hm9zm .5s forwards}@media(prefers-reduced-motion:reduce){.Input_slide-in_hm9zm{animation-duration:.1ms}}.Input_slide-out_hm9zm{animation:Input_slide-out_hm9zm .5s forwards}@media(prefers-reduced-motion:reduce){.Input_slide-out_hm9zm{animation-duration:.1ms}}@keyframes Input_slide-in_hm9zm{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Input_slide-out_hm9zm{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Input_input-wrapper_hm9zm{position:relative;display:flex;align-items:center;border:0;border-radius:var(--input-border-radius);background-color:var(--input-background-color);padding:0 calc(.5 * var(--font-size));transition-property:background-color;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_input-wrapper_hm9zm{transition-duration:.1ms}}.Input_input-wrapper_hm9zm input:-webkit-autofill,.Input_input-wrapper_hm9zm input:-webkit-autofill:hover,.Input_input-wrapper_hm9zm input:-webkit-autofill:focus,.Input_input-wrapper_hm9zm input:-webkit-autofill:active{-webkit-transition:background-color 5000s ease-in-out 0s!important;transition:background-color 5000s ease-in-out 0s!important}.Input_input-wrapper_hm9zm input:-webkit-autofill~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:hover~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:focus~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:active~.Input_outline_hm9zm:after{content:"";position:absolute;display:block;width:100%;height:100%;border-radius:var(--input-border-radius)}@media all and (-webkit-min-device-pixel-ratio:0)and (-webkit-min-device-pixel-ratio:0),all and (-webkit-min-device-pixel-ratio:0)and (min-resolution:.001dpcm){.Input_input-wrapper_hm9zm input:-webkit-autofill~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:hover~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:focus~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:active~.Input_outline_hm9zm:after{background-color:#e8f0fe}}@media not all and (-webkit-min-device-pixel-ratio:0),not all and (min-resolution:.001dpcm){.Input_input-wrapper_hm9zm input:-webkit-autofill~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:hover~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:focus~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:active~.Input_outline_hm9zm:after{background-color:#faffbd}}.Input_input-wrapper_hm9zm:hover .Input_outline_hm9zm{border-color:var(--input-border-color);background-color:var(--input-hover-background-color)}.Input_input-wrapper_hm9zm .Input_outline_hm9zm.Input_disabled_hm9zm{border-color:var(--disabled);background-color:var(--input-disabled-background-color)}.Input_input-wrapper_hm9zm .Input_outline_hm9zm.Input_error_hm9zm{border-color:var(--error)}.Input_input-wrapper_hm9zm [data-icon-status=success],.Input_input-wrapper_hm9zm [data-icon-status=error]{height:100%;width:calc(1.25 * var(--font-size));box-sizing:border-box;font-size:var(--icon-font-big);display:flex;align-items:center;justify-content:center;z-index:2}.Input_input-wrapper_hm9zm [data-icon-status=success]:before,.Input_input-wrapper_hm9zm [data-icon-status=error]:before{font-size:var(--icon-font-big);height:calc(1.25 * var(--font-size));width:calc(1.25 * var(--font-size));display:flex;align-items:center;justify-content:center}.Input_input-wrapper_hm9zm [data-icon-status=success]{color:var(--success)}.Input_input-wrapper_hm9zm [data-icon-status=error]{color:var(--error)}.Input_input-wrapper_hm9zm[data-readonlyview=true]{color:var(--read-only-text-color)}.Input_input-wrapper_hm9zm[data-readonlyview=true] .Input_Input-module_hm9zm{border-color:var(--read-only-border-color)}.Input_input-wrapper_hm9zm[data-readonlyview=true] span.Input_outline_hm9zm{color:var(--read-only-text-color);border-color:var(--read-only-border-color);background-color:var(--color-white)}.Input_input-wrapper_hm9zm[data-readonlyview=true]:hover .Input_outline_hm9zm{color:var(--read-only-text-color);background-color:var(--color-white);border-color:var(--read-only-border-color)}.Input_input-wrapper_hm9zm [data-prefix],.Input_input-wrapper_hm9zm [data-suffix]{display:block;z-index:1;transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_input-wrapper_hm9zm [data-prefix],.Input_input-wrapper_hm9zm [data-suffix]{transition-duration:.1ms}}.Input_input-wrapper_hm9zm.Input_focus_hm9zm:not(.Input_disabled_hm9zm):not([data-readonlyview=true]),.Input_input-wrapper_hm9zm[data-readonlyview=true]:focus:not(.Input_disabled_hm9zm),.Input_input-wrapper_hm9zm[data-readonlyview=true]:focus-visible:not(.Input_disabled_hm9zm){position:relative;z-index:2;outline:calc(.125 * var(--font-size)) solid var(--color-focus);outline-offset:calc(.125 * var(--font-size));border-radius:var(--focus-border-radius)}.Input_input_hm9zm{padding:0;height:calc(2.75 * var(--font-size));color:var(--color-blue-grey900);font-size:var(--input-font-size);font-family:var(--font-family);box-sizing:border-box;border:0;border-radius:var(--input-border-radius);background-color:transparent;z-index:1}.Input_input_hm9zm:not(.Input_shrink-width-for-date-icon_hm9zm){width:100%}.Input_input_hm9zm:disabled{cursor:not-allowed;color:var(--greyed-out)}.Input_input_hm9zm.Input_shrink-width-for-date-icon_hm9zm{width:auto}.Input_input_hm9zm{transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_input_hm9zm{transition-duration:.1ms}}.Input_input_hm9zm:focus:not(:disabled){outline:none}[data-readonlyview=true] .Input_outline_hm9zm{border-color:var(--read-only-border-color)}.Input_outline_hm9zm{pointer-events:none;position:absolute;margin:0;padding:0;top:0;right:0;bottom:0;left:0;border-color:var(--input-border-color);border-style:var(--input-border-style);border-width:var(--input-border-width);border-radius:var(--input-border-radius);transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_outline_hm9zm{transition-duration:.1ms}}.Input_error_hm9zm input{padding-right:calc(1.25 * var(--font-size))}.Input_error_hm9zm input.Input_remove-extra-indent_hm9zm{padding-right:0}.Input_success_hm9zm input{padding-right:calc(1.25 * var(--font-size))}@media only screen and (min-width:30em){.Input_input-wrapper_hm9zm{padding:0 calc(.5 * var(--font-size))}}')),document.head.appendChild(t)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="Input_outline_hm9zm",t="Input_disabled_hm9zm",s="Input_error_hm9zm",r="Input_focus_hm9zm",u="Input_input_hm9zm",o="Input_success_hm9zm",p={"input-wrapper":"Input_input-wrapper_hm9zm",outline:e,disabled:t,error:s,focus:r,input:u,"shrink-width-for-date-icon":"Input_shrink-width-for-date-icon_hm9zm",success:o};exports.default=p,exports.disabled=t,exports.error=s,exports.focus=r,exports.input=u,exports.outline=e,exports.success=o;
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('.Input_sr-only_sP546{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.Input_hidden_sP546{display:none}.Input_slide-in_sP546{animation:Input_slide-in_sP546 .5s forwards}@media(prefers-reduced-motion:reduce){.Input_slide-in_sP546{animation-duration:.1ms}}.Input_slide-out_sP546{animation:Input_slide-out_sP546 .5s forwards}@media(prefers-reduced-motion:reduce){.Input_slide-out_sP546{animation-duration:.1ms}}@keyframes Input_slide-in_sP546{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Input_slide-out_sP546{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Input_input-wrapper_sP546{position:relative;display:flex;align-items:center;border:0;border-radius:var(--input-border-radius);background-color:var(--input-background-color);padding:0 calc(.5 * var(--font-size));transition-property:background-color;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_input-wrapper_sP546{transition-duration:.1ms}}.Input_input-wrapper_sP546 input:-webkit-autofill,.Input_input-wrapper_sP546 input:-webkit-autofill:hover,.Input_input-wrapper_sP546 input:-webkit-autofill:focus,.Input_input-wrapper_sP546 input:-webkit-autofill:active{-webkit-transition:background-color 5000s ease-in-out 0s!important;transition:background-color 5000s ease-in-out 0s!important}.Input_input-wrapper_sP546 input:-webkit-autofill~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:hover~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:focus~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:active~.Input_outline_sP546:after{content:"";position:absolute;display:block;width:100%;height:100%;border-radius:var(--input-border-radius)}@media all and (-webkit-min-device-pixel-ratio:0)and (-webkit-min-device-pixel-ratio:0),all and (-webkit-min-device-pixel-ratio:0)and (min-resolution:.001dpcm){.Input_input-wrapper_sP546 input:-webkit-autofill~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:hover~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:focus~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:active~.Input_outline_sP546:after{background-color:#e8f0fe}}@media not all and (-webkit-min-device-pixel-ratio:0),not all and (min-resolution:.001dpcm){.Input_input-wrapper_sP546 input:-webkit-autofill~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:hover~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:focus~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:active~.Input_outline_sP546:after{background-color:#faffbd}}.Input_input-wrapper_sP546:hover .Input_outline_sP546{border-color:var(--input-border-color);background-color:var(--input-hover-background-color)}.Input_input-wrapper_sP546 .Input_outline_sP546.Input_disabled_sP546{border-color:var(--disabled);background-color:var(--input-disabled-background-color)}.Input_input-wrapper_sP546 .Input_outline_sP546.Input_error_sP546{border-color:var(--error)}.Input_input-wrapper_sP546 [data-icon-status=success],.Input_input-wrapper_sP546 [data-icon-status=error]{height:100%;width:calc(1.25 * var(--font-size));box-sizing:border-box;font-size:var(--icon-font-big);display:flex;align-items:center;justify-content:center;z-index:2}.Input_input-wrapper_sP546 [data-icon-status=success]:before,.Input_input-wrapper_sP546 [data-icon-status=error]:before{font-size:var(--icon-font-big);height:calc(1.25 * var(--font-size));width:calc(1.25 * var(--font-size));display:flex;align-items:center;justify-content:center}.Input_input-wrapper_sP546 [data-icon-status=success]{color:var(--success)}.Input_input-wrapper_sP546 [data-icon-status=error]{color:var(--error)}.Input_input-wrapper_sP546 [data-date-icon]{height:100%;width:calc(1.25 * var(--font-size));box-sizing:border-box;font-size:var(--icon-font-big);display:flex;align-items:center;justify-content:center;z-index:1;color:var(--color-blue-grey900);pointer-events:none}.Input_input-wrapper_sP546 [data-date-icon]:before{font-size:var(--icon-font-big);height:calc(1.25 * var(--font-size));width:calc(1.25 * var(--font-size));display:flex;align-items:center;justify-content:center}.Input_input-wrapper_sP546.Input_error_sP546 [data-date-icon]{color:var(--error)}.Input_input-wrapper_sP546.Input_success_sP546 [data-date-icon]{color:var(--success)}.Input_input-wrapper_sP546.Input_disabled_sP546 [data-date-icon]{color:var(--greyed-out)}.Input_input-wrapper_sP546[data-readonlyview=true]{color:var(--read-only-text-color)}.Input_input-wrapper_sP546[data-readonlyview=true] .Input_Input-module_sP546{border-color:var(--read-only-border-color)}.Input_input-wrapper_sP546[data-readonlyview=true] span.Input_outline_sP546{color:var(--read-only-text-color);border-color:var(--read-only-border-color);background-color:var(--color-white)}.Input_input-wrapper_sP546[data-readonlyview=true]:hover .Input_outline_sP546{color:var(--read-only-text-color);background-color:var(--color-white);border-color:var(--read-only-border-color)}.Input_input-wrapper_sP546 [data-prefix],.Input_input-wrapper_sP546 [data-suffix]{display:block;z-index:1;transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_input-wrapper_sP546 [data-prefix],.Input_input-wrapper_sP546 [data-suffix]{transition-duration:.1ms}}.Input_input-wrapper_sP546.Input_focus_sP546:not(.Input_disabled_sP546):not([data-readonlyview=true]),.Input_input-wrapper_sP546[data-readonlyview=true]:focus:not(.Input_disabled_sP546),.Input_input-wrapper_sP546[data-readonlyview=true]:focus-visible:not(.Input_disabled_sP546){position:relative;z-index:2;outline:calc(.125 * var(--font-size)) solid var(--color-focus);outline-offset:calc(.125 * var(--font-size));border-radius:var(--focus-border-radius)}.Input_input_sP546{padding:0;height:calc(2.75 * var(--font-size));color:var(--color-blue-grey900);font-size:var(--input-font-size);font-family:var(--font-family);box-sizing:border-box;border:0;border-radius:var(--input-border-radius);background-color:transparent;z-index:1}.Input_input_sP546:not(.Input_shrink-width-for-date-icon_sP546){width:100%}.Input_input_sP546:disabled{cursor:not-allowed;color:var(--greyed-out)}.Input_input_sP546.Input_shrink-width-for-date-icon_sP546{width:auto}.Input_input_sP546[type=date]::-webkit-calendar-picker-indicator,.Input_input_sP546[type=time]::-webkit-calendar-picker-indicator,.Input_input_sP546[type=datetime-local]::-webkit-calendar-picker-indicator{opacity:0;position:absolute;right:0;width:calc(1.25 * var(--font-size));height:100%;cursor:pointer;z-index:2}.Input_input_sP546{transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_input_sP546{transition-duration:.1ms}}.Input_input_sP546:focus:not(:disabled){outline:none}.Input_input_sP546[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:none}[data-readonlyview=true] .Input_outline_sP546{border-color:var(--read-only-border-color)}.Input_outline_sP546{pointer-events:none;position:absolute;margin:0;padding:0;top:0;right:0;bottom:0;left:0;border-color:var(--input-border-color);border-style:var(--input-border-style);border-width:var(--input-border-width);border-radius:var(--input-border-radius);transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_outline_sP546{transition-duration:.1ms}}.Input_error_sP546 input{padding-right:calc(1.25 * var(--font-size))}.Input_error_sP546 input.Input_remove-extra-indent_sP546{padding-right:0}.Input_success_sP546 input{padding-right:calc(1.25 * var(--font-size))}@media only screen and (min-width:30em){.Input_input-wrapper_sP546{padding:0 calc(.5 * var(--font-size))}}')),document.head.appendChild(t)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s="Input_outline_sP546",e="Input_disabled_sP546",t="Input_error_sP546",u="Input_success_sP546",p="Input_focus_sP546",r="Input_input_sP546",o={"input-wrapper":"Input_input-wrapper_sP546",outline:s,disabled:e,error:t,success:u,focus:p,input:r};exports.default=o,exports.disabled=e,exports.error=t,exports.focus=p,exports.input=r,exports.outline=s,exports.success=u;
3
3
  //# sourceMappingURL=Input.module.scss.cjs.js.map
@@ -1,19 +1,18 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('.Input_sr-only_hm9zm{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.Input_hidden_hm9zm{display:none}.Input_slide-in_hm9zm{animation:Input_slide-in_hm9zm .5s forwards}@media(prefers-reduced-motion:reduce){.Input_slide-in_hm9zm{animation-duration:.1ms}}.Input_slide-out_hm9zm{animation:Input_slide-out_hm9zm .5s forwards}@media(prefers-reduced-motion:reduce){.Input_slide-out_hm9zm{animation-duration:.1ms}}@keyframes Input_slide-in_hm9zm{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Input_slide-out_hm9zm{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Input_input-wrapper_hm9zm{position:relative;display:flex;align-items:center;border:0;border-radius:var(--input-border-radius);background-color:var(--input-background-color);padding:0 calc(.5 * var(--font-size));transition-property:background-color;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_input-wrapper_hm9zm{transition-duration:.1ms}}.Input_input-wrapper_hm9zm input:-webkit-autofill,.Input_input-wrapper_hm9zm input:-webkit-autofill:hover,.Input_input-wrapper_hm9zm input:-webkit-autofill:focus,.Input_input-wrapper_hm9zm input:-webkit-autofill:active{-webkit-transition:background-color 5000s ease-in-out 0s!important;transition:background-color 5000s ease-in-out 0s!important}.Input_input-wrapper_hm9zm input:-webkit-autofill~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:hover~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:focus~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:active~.Input_outline_hm9zm:after{content:"";position:absolute;display:block;width:100%;height:100%;border-radius:var(--input-border-radius)}@media all and (-webkit-min-device-pixel-ratio:0)and (-webkit-min-device-pixel-ratio:0),all and (-webkit-min-device-pixel-ratio:0)and (min-resolution:.001dpcm){.Input_input-wrapper_hm9zm input:-webkit-autofill~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:hover~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:focus~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:active~.Input_outline_hm9zm:after{background-color:#e8f0fe}}@media not all and (-webkit-min-device-pixel-ratio:0),not all and (min-resolution:.001dpcm){.Input_input-wrapper_hm9zm input:-webkit-autofill~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:hover~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:focus~.Input_outline_hm9zm:after,.Input_input-wrapper_hm9zm input:-webkit-autofill:active~.Input_outline_hm9zm:after{background-color:#faffbd}}.Input_input-wrapper_hm9zm:hover .Input_outline_hm9zm{border-color:var(--input-border-color);background-color:var(--input-hover-background-color)}.Input_input-wrapper_hm9zm .Input_outline_hm9zm.Input_disabled_hm9zm{border-color:var(--disabled);background-color:var(--input-disabled-background-color)}.Input_input-wrapper_hm9zm .Input_outline_hm9zm.Input_error_hm9zm{border-color:var(--error)}.Input_input-wrapper_hm9zm [data-icon-status=success],.Input_input-wrapper_hm9zm [data-icon-status=error]{height:100%;width:calc(1.25 * var(--font-size));box-sizing:border-box;font-size:var(--icon-font-big);display:flex;align-items:center;justify-content:center;z-index:2}.Input_input-wrapper_hm9zm [data-icon-status=success]:before,.Input_input-wrapper_hm9zm [data-icon-status=error]:before{font-size:var(--icon-font-big);height:calc(1.25 * var(--font-size));width:calc(1.25 * var(--font-size));display:flex;align-items:center;justify-content:center}.Input_input-wrapper_hm9zm [data-icon-status=success]{color:var(--success)}.Input_input-wrapper_hm9zm [data-icon-status=error]{color:var(--error)}.Input_input-wrapper_hm9zm[data-readonlyview=true]{color:var(--read-only-text-color)}.Input_input-wrapper_hm9zm[data-readonlyview=true] .Input_Input-module_hm9zm{border-color:var(--read-only-border-color)}.Input_input-wrapper_hm9zm[data-readonlyview=true] span.Input_outline_hm9zm{color:var(--read-only-text-color);border-color:var(--read-only-border-color);background-color:var(--color-white)}.Input_input-wrapper_hm9zm[data-readonlyview=true]:hover .Input_outline_hm9zm{color:var(--read-only-text-color);background-color:var(--color-white);border-color:var(--read-only-border-color)}.Input_input-wrapper_hm9zm [data-prefix],.Input_input-wrapper_hm9zm [data-suffix]{display:block;z-index:1;transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_input-wrapper_hm9zm [data-prefix],.Input_input-wrapper_hm9zm [data-suffix]{transition-duration:.1ms}}.Input_input-wrapper_hm9zm.Input_focus_hm9zm:not(.Input_disabled_hm9zm):not([data-readonlyview=true]),.Input_input-wrapper_hm9zm[data-readonlyview=true]:focus:not(.Input_disabled_hm9zm),.Input_input-wrapper_hm9zm[data-readonlyview=true]:focus-visible:not(.Input_disabled_hm9zm){position:relative;z-index:2;outline:calc(.125 * var(--font-size)) solid var(--color-focus);outline-offset:calc(.125 * var(--font-size));border-radius:var(--focus-border-radius)}.Input_input_hm9zm{padding:0;height:calc(2.75 * var(--font-size));color:var(--color-blue-grey900);font-size:var(--input-font-size);font-family:var(--font-family);box-sizing:border-box;border:0;border-radius:var(--input-border-radius);background-color:transparent;z-index:1}.Input_input_hm9zm:not(.Input_shrink-width-for-date-icon_hm9zm){width:100%}.Input_input_hm9zm:disabled{cursor:not-allowed;color:var(--greyed-out)}.Input_input_hm9zm.Input_shrink-width-for-date-icon_hm9zm{width:auto}.Input_input_hm9zm{transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_input_hm9zm{transition-duration:.1ms}}.Input_input_hm9zm:focus:not(:disabled){outline:none}[data-readonlyview=true] .Input_outline_hm9zm{border-color:var(--read-only-border-color)}.Input_outline_hm9zm{pointer-events:none;position:absolute;margin:0;padding:0;top:0;right:0;bottom:0;left:0;border-color:var(--input-border-color);border-style:var(--input-border-style);border-width:var(--input-border-width);border-radius:var(--input-border-radius);transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_outline_hm9zm{transition-duration:.1ms}}.Input_error_hm9zm input{padding-right:calc(1.25 * var(--font-size))}.Input_error_hm9zm input.Input_remove-extra-indent_hm9zm{padding-right:0}.Input_success_hm9zm input{padding-right:calc(1.25 * var(--font-size))}@media only screen and (min-width:30em){.Input_input-wrapper_hm9zm{padding:0 calc(.5 * var(--font-size))}}')),document.head.appendChild(t)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
- const outline = "Input_outline_hm9zm";
3
- const disabled = "Input_disabled_hm9zm";
4
- const error = "Input_error_hm9zm";
5
- const focus = "Input_focus_hm9zm";
6
- const input = "Input_input_hm9zm";
7
- const success = "Input_success_hm9zm";
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('.Input_sr-only_sP546{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.Input_hidden_sP546{display:none}.Input_slide-in_sP546{animation:Input_slide-in_sP546 .5s forwards}@media(prefers-reduced-motion:reduce){.Input_slide-in_sP546{animation-duration:.1ms}}.Input_slide-out_sP546{animation:Input_slide-out_sP546 .5s forwards}@media(prefers-reduced-motion:reduce){.Input_slide-out_sP546{animation-duration:.1ms}}@keyframes Input_slide-in_sP546{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Input_slide-out_sP546{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Input_input-wrapper_sP546{position:relative;display:flex;align-items:center;border:0;border-radius:var(--input-border-radius);background-color:var(--input-background-color);padding:0 calc(.5 * var(--font-size));transition-property:background-color;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_input-wrapper_sP546{transition-duration:.1ms}}.Input_input-wrapper_sP546 input:-webkit-autofill,.Input_input-wrapper_sP546 input:-webkit-autofill:hover,.Input_input-wrapper_sP546 input:-webkit-autofill:focus,.Input_input-wrapper_sP546 input:-webkit-autofill:active{-webkit-transition:background-color 5000s ease-in-out 0s!important;transition:background-color 5000s ease-in-out 0s!important}.Input_input-wrapper_sP546 input:-webkit-autofill~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:hover~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:focus~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:active~.Input_outline_sP546:after{content:"";position:absolute;display:block;width:100%;height:100%;border-radius:var(--input-border-radius)}@media all and (-webkit-min-device-pixel-ratio:0)and (-webkit-min-device-pixel-ratio:0),all and (-webkit-min-device-pixel-ratio:0)and (min-resolution:.001dpcm){.Input_input-wrapper_sP546 input:-webkit-autofill~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:hover~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:focus~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:active~.Input_outline_sP546:after{background-color:#e8f0fe}}@media not all and (-webkit-min-device-pixel-ratio:0),not all and (min-resolution:.001dpcm){.Input_input-wrapper_sP546 input:-webkit-autofill~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:hover~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:focus~.Input_outline_sP546:after,.Input_input-wrapper_sP546 input:-webkit-autofill:active~.Input_outline_sP546:after{background-color:#faffbd}}.Input_input-wrapper_sP546:hover .Input_outline_sP546{border-color:var(--input-border-color);background-color:var(--input-hover-background-color)}.Input_input-wrapper_sP546 .Input_outline_sP546.Input_disabled_sP546{border-color:var(--disabled);background-color:var(--input-disabled-background-color)}.Input_input-wrapper_sP546 .Input_outline_sP546.Input_error_sP546{border-color:var(--error)}.Input_input-wrapper_sP546 [data-icon-status=success],.Input_input-wrapper_sP546 [data-icon-status=error]{height:100%;width:calc(1.25 * var(--font-size));box-sizing:border-box;font-size:var(--icon-font-big);display:flex;align-items:center;justify-content:center;z-index:2}.Input_input-wrapper_sP546 [data-icon-status=success]:before,.Input_input-wrapper_sP546 [data-icon-status=error]:before{font-size:var(--icon-font-big);height:calc(1.25 * var(--font-size));width:calc(1.25 * var(--font-size));display:flex;align-items:center;justify-content:center}.Input_input-wrapper_sP546 [data-icon-status=success]{color:var(--success)}.Input_input-wrapper_sP546 [data-icon-status=error]{color:var(--error)}.Input_input-wrapper_sP546 [data-date-icon]{height:100%;width:calc(1.25 * var(--font-size));box-sizing:border-box;font-size:var(--icon-font-big);display:flex;align-items:center;justify-content:center;z-index:1;color:var(--color-blue-grey900);pointer-events:none}.Input_input-wrapper_sP546 [data-date-icon]:before{font-size:var(--icon-font-big);height:calc(1.25 * var(--font-size));width:calc(1.25 * var(--font-size));display:flex;align-items:center;justify-content:center}.Input_input-wrapper_sP546.Input_error_sP546 [data-date-icon]{color:var(--error)}.Input_input-wrapper_sP546.Input_success_sP546 [data-date-icon]{color:var(--success)}.Input_input-wrapper_sP546.Input_disabled_sP546 [data-date-icon]{color:var(--greyed-out)}.Input_input-wrapper_sP546[data-readonlyview=true]{color:var(--read-only-text-color)}.Input_input-wrapper_sP546[data-readonlyview=true] .Input_Input-module_sP546{border-color:var(--read-only-border-color)}.Input_input-wrapper_sP546[data-readonlyview=true] span.Input_outline_sP546{color:var(--read-only-text-color);border-color:var(--read-only-border-color);background-color:var(--color-white)}.Input_input-wrapper_sP546[data-readonlyview=true]:hover .Input_outline_sP546{color:var(--read-only-text-color);background-color:var(--color-white);border-color:var(--read-only-border-color)}.Input_input-wrapper_sP546 [data-prefix],.Input_input-wrapper_sP546 [data-suffix]{display:block;z-index:1;transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_input-wrapper_sP546 [data-prefix],.Input_input-wrapper_sP546 [data-suffix]{transition-duration:.1ms}}.Input_input-wrapper_sP546.Input_focus_sP546:not(.Input_disabled_sP546):not([data-readonlyview=true]),.Input_input-wrapper_sP546[data-readonlyview=true]:focus:not(.Input_disabled_sP546),.Input_input-wrapper_sP546[data-readonlyview=true]:focus-visible:not(.Input_disabled_sP546){position:relative;z-index:2;outline:calc(.125 * var(--font-size)) solid var(--color-focus);outline-offset:calc(.125 * var(--font-size));border-radius:var(--focus-border-radius)}.Input_input_sP546{padding:0;height:calc(2.75 * var(--font-size));color:var(--color-blue-grey900);font-size:var(--input-font-size);font-family:var(--font-family);box-sizing:border-box;border:0;border-radius:var(--input-border-radius);background-color:transparent;z-index:1}.Input_input_sP546:not(.Input_shrink-width-for-date-icon_sP546){width:100%}.Input_input_sP546:disabled{cursor:not-allowed;color:var(--greyed-out)}.Input_input_sP546.Input_shrink-width-for-date-icon_sP546{width:auto}.Input_input_sP546[type=date]::-webkit-calendar-picker-indicator,.Input_input_sP546[type=time]::-webkit-calendar-picker-indicator,.Input_input_sP546[type=datetime-local]::-webkit-calendar-picker-indicator{opacity:0;position:absolute;right:0;width:calc(1.25 * var(--font-size));height:100%;cursor:pointer;z-index:2}.Input_input_sP546{transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_input_sP546{transition-duration:.1ms}}.Input_input_sP546:focus:not(:disabled){outline:none}.Input_input_sP546[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:none}[data-readonlyview=true] .Input_outline_sP546{border-color:var(--read-only-border-color)}.Input_outline_sP546{pointer-events:none;position:absolute;margin:0;padding:0;top:0;right:0;bottom:0;left:0;border-color:var(--input-border-color);border-style:var(--input-border-style);border-width:var(--input-border-width);border-radius:var(--input-border-radius);transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_outline_sP546{transition-duration:.1ms}}.Input_error_sP546 input{padding-right:calc(1.25 * var(--font-size))}.Input_error_sP546 input.Input_remove-extra-indent_sP546{padding-right:0}.Input_success_sP546 input{padding-right:calc(1.25 * var(--font-size))}@media only screen and (min-width:30em){.Input_input-wrapper_sP546{padding:0 calc(.5 * var(--font-size))}}')),document.head.appendChild(t)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
+ const outline = "Input_outline_sP546";
3
+ const disabled = "Input_disabled_sP546";
4
+ const error = "Input_error_sP546";
5
+ const success = "Input_success_sP546";
6
+ const focus = "Input_focus_sP546";
7
+ const input = "Input_input_sP546";
8
8
  const classes = {
9
- "input-wrapper": "Input_input-wrapper_hm9zm",
9
+ "input-wrapper": "Input_input-wrapper_sP546",
10
10
  outline,
11
11
  disabled,
12
12
  error,
13
+ success,
13
14
  focus,
14
- input,
15
- "shrink-width-for-date-icon": "Input_shrink-width-for-date-icon_hm9zm",
16
- success
15
+ input
17
16
  };
18
17
  export {
19
18
  classes as default,
@@ -1 +1 @@
1
- {"version":3,"file":"Input.module.scss.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Input.module.scss.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
@@ -1,3 +1,3 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Label_label_hm9zm{cursor:text;color:var(--greyed-out);font-size:var(--font-size)}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="Label_label_hm9zm",l={label:e};exports.default=l,exports.label=e;
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Label_label_sP546{cursor:text;color:var(--greyed-out);font-size:var(--font-size)}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="Label_label_sP546",l={label:e};exports.default=l,exports.label=e;
3
3
  //# sourceMappingURL=Label.module.scss.cjs.js.map
@@ -1,5 +1,5 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Label_label_hm9zm{cursor:text;color:var(--greyed-out);font-size:var(--font-size)}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
- const label = "Label_label_hm9zm";
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Label_label_sP546{cursor:text;color:var(--greyed-out);font-size:var(--font-size)}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
+ const label = "Label_label_sP546";
3
3
  const classes = {
4
4
  label
5
5
  };
@@ -1,3 +1,3 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var o=document.createElement("style");o.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Radio_radio-wrapper_hm9zm{position:relative}.Radio_radio-wrapper_hm9zm+.Radio_radio-wrapper_hm9zm{margin-top:.75rem}.Radio_error_hm9zm{color:var(--error)}.Radio_error-message_hm9zm{margin-top:.25rem;margin-left:calc(1.75 * var(--font-size));font-size:var(--font-size-sub)}.Radio_helper-text_hm9zm{margin-top:.25rem;margin-left:1.75rem}.Radio_error-icon_hm9zm{margin-right:.5rem;font-size:var(--font-size-big)}.Radio_radio-container_hm9zm{display:flex}.Radio_radio-container_hm9zm label{display:inline-block;margin-left:calc(.5 * var(--font-size));font-size:var(--font-size-form-label);font-family:var(--font-family);margin-top:.15rem}.Radio_radio-container_hm9zm label.Radio_no-margin-top_hm9zm{margin-top:0}.Radio_disabled_hm9zm .Radio_radio-container_hm9zm label{cursor:not-allowed}.Radio_native-input_hm9zm{position:absolute;top:0;left:0;opacity:0;margin:0;width:var(--font-size-big);height:var(--font-size-big);z-index:2}.Radio_native-input_hm9zm+span[data-icon=true]:before{display:block;width:var(--font-size-big);height:var(--font-size-big)}.Radio_native-input_hm9zm:checked+*{color:var(--radio-checked-color)}.Radio_native-input_hm9zm:checked+*.Radio_disabled_hm9zm{color:var(--disabled);cursor:not-allowed;pointer-events:none}.Radio_native-input_hm9zm:focus-visible+*{border-radius:100%;outline:2px solid var(--color-focus);outline-offset:2px}.Radio_native-input_hm9zm.Radio_error_hm9zm+*{border-radius:100%}.Radio_native-input_hm9zm.Radio_error_hm9zm:hover+.Radio_radio_hm9zm:before{outline-color:var(--radio-hover-background-color)}.Radio_native-input_hm9zm.Radio_error_hm9zm:active+.Radio_radio_hm9zm:before{outline-color:var(--radio-pressed-background-color)}.Radio_native-input_hm9zm:hover+.Radio_input_hm9zm.Radio_circle_hm9zm:not(.Radio_disabled_hm9zm){background-color:var(--radio-hover-background-color)}.Radio_native-input_hm9zm:active+.Radio_input_hm9zm.Radio_circle_hm9zm:not(.Radio_disabled_hm9zm){background-color:var(--radio-pressed-background-color)}.Radio_native-input_hm9zm:hover+.Radio_input_hm9zm.Radio_radio_hm9zm:not(.Radio_disabled_hm9zm){background-color:var(--radio-hover-background-color);color:var(--radio-hover-color)}.Radio_native-input_hm9zm:active+.Radio_input_hm9zm.Radio_radio_hm9zm:not(.Radio_disabled_hm9zm){color:var(--radio-pressed-color);background-color:var(--radio-pressed-background-color)}.Radio_input_hm9zm{font-size:var(--font-size-big);width:var(--font-size-big);height:var(--font-size-big);z-index:1;border-radius:100%;color:var(--color-blue-grey500)}.Radio_input_hm9zm:active{border-radius:100%}.Radio_disabled_hm9zm .Radio_input_hm9zm{color:var(--disabled)}.Radio_disabled_hm9zm{color:var(--disabled);pointer-events:none}[data-readonlyview=true] .Radio_radio-wrapper_hm9zm{color:var(--read-only-text-color)}[data-readonlyview=true] .Radio_radio-wrapper_hm9zm span.Radio_input_hm9zm{color:var(--read-only-text-color);cursor:not-allowed}[data-readonlyview=true] .Radio_radio-wrapper_hm9zm span.Radio_input_hm9zm:before{outline:1px solid var(--read-only-border-color);outline-offset:-1px;border-radius:50%}[data-readonlyview=true] .Radio_radio-wrapper_hm9zm label{-webkit-user-select:text;user-select:text}.Radio_radio-container_hm9zm input[type=radio][data-readonlyview=true]~span.Radio_input_hm9zm{color:var(--read-only-text-color);cursor:not-allowed}.Radio_radio-container_hm9zm input[type=radio][data-readonlyview=true]~span.Radio_input_hm9zm:before{outline:1px solid var(--read-only-border-color);outline-offset:-1px;border-radius:50%}.Radio_radio-container_hm9zm input[type=radio][data-readonlyview=true]~label{-webkit-user-select:text;user-select:text;pointer-events:none}.Radio_radio-container_hm9zm input[type=radio][data-readonlyview=true] :focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}')),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r="Radio_error_hm9zm",o="Radio_disabled_hm9zm",e="Radio_radio_hm9zm",i="Radio_input_hm9zm",a="Radio_circle_hm9zm",d={"radio-wrapper":"Radio_radio-wrapper_hm9zm",error:r,"error-message":"Radio_error-message_hm9zm","radio-container":"Radio_radio-container_hm9zm","no-margin-top":"Radio_no-margin-top_hm9zm",disabled:o,"native-input":"Radio_native-input_hm9zm",radio:e,input:i,circle:a};exports.circle=a,exports.default=d,exports.disabled=o,exports.error=r,exports.input=i,exports.radio=e;
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var o=document.createElement("style");o.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Radio_radio-wrapper_sP546{position:relative}.Radio_radio-wrapper_sP546+.Radio_radio-wrapper_sP546{margin-top:.75rem}.Radio_error_sP546{color:var(--error)}.Radio_error-message_sP546{margin-top:.25rem;margin-left:calc(1.75 * var(--font-size));font-size:var(--font-size-sub)}.Radio_helper-text_sP546{margin-top:.25rem;margin-left:1.75rem}.Radio_error-icon_sP546{margin-right:.5rem;font-size:var(--font-size-big)}.Radio_radio-container_sP546{display:flex}.Radio_radio-container_sP546 label{display:inline-block;margin-left:calc(.5 * var(--font-size));font-size:var(--font-size-form-label);font-family:var(--font-family);margin-top:.15rem}.Radio_radio-container_sP546 label.Radio_no-margin-top_sP546{margin-top:0}.Radio_disabled_sP546 .Radio_radio-container_sP546 label{cursor:not-allowed}.Radio_native-input_sP546{position:absolute;top:0;left:0;opacity:0;margin:0;width:var(--font-size-big);height:var(--font-size-big);z-index:2}.Radio_native-input_sP546+span[data-icon=true]:before{display:block;width:var(--font-size-big);height:var(--font-size-big)}.Radio_native-input_sP546:checked+*{color:var(--radio-checked-color)}.Radio_native-input_sP546:checked+*.Radio_disabled_sP546{color:var(--disabled);cursor:not-allowed;pointer-events:none}.Radio_native-input_sP546:focus-visible+*{border-radius:100%;outline:2px solid var(--color-focus);outline-offset:2px}.Radio_native-input_sP546.Radio_error_sP546+*{border-radius:100%}.Radio_native-input_sP546.Radio_error_sP546:hover+.Radio_radio_sP546:before{outline-color:var(--radio-hover-background-color)}.Radio_native-input_sP546.Radio_error_sP546:active+.Radio_radio_sP546:before{outline-color:var(--radio-pressed-background-color)}.Radio_native-input_sP546:hover+.Radio_input_sP546.Radio_circle_sP546:not(.Radio_disabled_sP546){background-color:var(--radio-hover-background-color)}.Radio_native-input_sP546:active+.Radio_input_sP546.Radio_circle_sP546:not(.Radio_disabled_sP546){background-color:var(--radio-pressed-background-color)}.Radio_native-input_sP546:hover+.Radio_input_sP546.Radio_radio_sP546:not(.Radio_disabled_sP546){background-color:var(--radio-hover-background-color);color:var(--radio-hover-color)}.Radio_native-input_sP546:active+.Radio_input_sP546.Radio_radio_sP546:not(.Radio_disabled_sP546){color:var(--radio-pressed-color);background-color:var(--radio-pressed-background-color)}.Radio_input_sP546{font-size:var(--font-size-big);width:var(--font-size-big);height:var(--font-size-big);z-index:1;border-radius:100%;color:var(--color-blue-grey500)}.Radio_input_sP546:active{border-radius:100%}.Radio_disabled_sP546 .Radio_input_sP546{color:var(--disabled)}.Radio_disabled_sP546{color:var(--disabled);pointer-events:none}[data-readonlyview=true] .Radio_radio-wrapper_sP546{color:var(--read-only-text-color)}[data-readonlyview=true] .Radio_radio-wrapper_sP546 span.Radio_input_sP546{color:var(--read-only-text-color);cursor:not-allowed}[data-readonlyview=true] .Radio_radio-wrapper_sP546 span.Radio_input_sP546:before{outline:1px solid var(--read-only-border-color);outline-offset:-1px;border-radius:50%}[data-readonlyview=true] .Radio_radio-wrapper_sP546 label{-webkit-user-select:text;user-select:text}.Radio_radio-container_sP546 input[type=radio][data-readonlyview=true]~span.Radio_input_sP546{color:var(--read-only-text-color);cursor:not-allowed}.Radio_radio-container_sP546 input[type=radio][data-readonlyview=true]~span.Radio_input_sP546:before{outline:1px solid var(--read-only-border-color);outline-offset:-1px;border-radius:50%}.Radio_radio-container_sP546 input[type=radio][data-readonlyview=true]~label{-webkit-user-select:text;user-select:text;pointer-events:none}.Radio_radio-container_sP546 input[type=radio][data-readonlyview=true] :focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}')),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r="Radio_error_sP546",o="Radio_disabled_sP546",e="Radio_radio_sP546",i="Radio_input_sP546",a="Radio_circle_sP546",s={"radio-wrapper":"Radio_radio-wrapper_sP546",error:r,"error-message":"Radio_error-message_sP546","radio-container":"Radio_radio-container_sP546","no-margin-top":"Radio_no-margin-top_sP546",disabled:o,"native-input":"Radio_native-input_sP546",radio:e,input:i,circle:a};exports.circle=a,exports.default=s,exports.disabled=o,exports.error=r,exports.input=i,exports.radio=e;
3
3
  //# sourceMappingURL=Radio.module.scss.cjs.js.map
@@ -1,17 +1,17 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var o=document.createElement("style");o.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Radio_radio-wrapper_hm9zm{position:relative}.Radio_radio-wrapper_hm9zm+.Radio_radio-wrapper_hm9zm{margin-top:.75rem}.Radio_error_hm9zm{color:var(--error)}.Radio_error-message_hm9zm{margin-top:.25rem;margin-left:calc(1.75 * var(--font-size));font-size:var(--font-size-sub)}.Radio_helper-text_hm9zm{margin-top:.25rem;margin-left:1.75rem}.Radio_error-icon_hm9zm{margin-right:.5rem;font-size:var(--font-size-big)}.Radio_radio-container_hm9zm{display:flex}.Radio_radio-container_hm9zm label{display:inline-block;margin-left:calc(.5 * var(--font-size));font-size:var(--font-size-form-label);font-family:var(--font-family);margin-top:.15rem}.Radio_radio-container_hm9zm label.Radio_no-margin-top_hm9zm{margin-top:0}.Radio_disabled_hm9zm .Radio_radio-container_hm9zm label{cursor:not-allowed}.Radio_native-input_hm9zm{position:absolute;top:0;left:0;opacity:0;margin:0;width:var(--font-size-big);height:var(--font-size-big);z-index:2}.Radio_native-input_hm9zm+span[data-icon=true]:before{display:block;width:var(--font-size-big);height:var(--font-size-big)}.Radio_native-input_hm9zm:checked+*{color:var(--radio-checked-color)}.Radio_native-input_hm9zm:checked+*.Radio_disabled_hm9zm{color:var(--disabled);cursor:not-allowed;pointer-events:none}.Radio_native-input_hm9zm:focus-visible+*{border-radius:100%;outline:2px solid var(--color-focus);outline-offset:2px}.Radio_native-input_hm9zm.Radio_error_hm9zm+*{border-radius:100%}.Radio_native-input_hm9zm.Radio_error_hm9zm:hover+.Radio_radio_hm9zm:before{outline-color:var(--radio-hover-background-color)}.Radio_native-input_hm9zm.Radio_error_hm9zm:active+.Radio_radio_hm9zm:before{outline-color:var(--radio-pressed-background-color)}.Radio_native-input_hm9zm:hover+.Radio_input_hm9zm.Radio_circle_hm9zm:not(.Radio_disabled_hm9zm){background-color:var(--radio-hover-background-color)}.Radio_native-input_hm9zm:active+.Radio_input_hm9zm.Radio_circle_hm9zm:not(.Radio_disabled_hm9zm){background-color:var(--radio-pressed-background-color)}.Radio_native-input_hm9zm:hover+.Radio_input_hm9zm.Radio_radio_hm9zm:not(.Radio_disabled_hm9zm){background-color:var(--radio-hover-background-color);color:var(--radio-hover-color)}.Radio_native-input_hm9zm:active+.Radio_input_hm9zm.Radio_radio_hm9zm:not(.Radio_disabled_hm9zm){color:var(--radio-pressed-color);background-color:var(--radio-pressed-background-color)}.Radio_input_hm9zm{font-size:var(--font-size-big);width:var(--font-size-big);height:var(--font-size-big);z-index:1;border-radius:100%;color:var(--color-blue-grey500)}.Radio_input_hm9zm:active{border-radius:100%}.Radio_disabled_hm9zm .Radio_input_hm9zm{color:var(--disabled)}.Radio_disabled_hm9zm{color:var(--disabled);pointer-events:none}[data-readonlyview=true] .Radio_radio-wrapper_hm9zm{color:var(--read-only-text-color)}[data-readonlyview=true] .Radio_radio-wrapper_hm9zm span.Radio_input_hm9zm{color:var(--read-only-text-color);cursor:not-allowed}[data-readonlyview=true] .Radio_radio-wrapper_hm9zm span.Radio_input_hm9zm:before{outline:1px solid var(--read-only-border-color);outline-offset:-1px;border-radius:50%}[data-readonlyview=true] .Radio_radio-wrapper_hm9zm label{-webkit-user-select:text;user-select:text}.Radio_radio-container_hm9zm input[type=radio][data-readonlyview=true]~span.Radio_input_hm9zm{color:var(--read-only-text-color);cursor:not-allowed}.Radio_radio-container_hm9zm input[type=radio][data-readonlyview=true]~span.Radio_input_hm9zm:before{outline:1px solid var(--read-only-border-color);outline-offset:-1px;border-radius:50%}.Radio_radio-container_hm9zm input[type=radio][data-readonlyview=true]~label{-webkit-user-select:text;user-select:text;pointer-events:none}.Radio_radio-container_hm9zm input[type=radio][data-readonlyview=true] :focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}')),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
2
- const error = "Radio_error_hm9zm";
3
- const disabled = "Radio_disabled_hm9zm";
4
- const radio = "Radio_radio_hm9zm";
5
- const input = "Radio_input_hm9zm";
6
- const circle = "Radio_circle_hm9zm";
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var o=document.createElement("style");o.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Radio_radio-wrapper_sP546{position:relative}.Radio_radio-wrapper_sP546+.Radio_radio-wrapper_sP546{margin-top:.75rem}.Radio_error_sP546{color:var(--error)}.Radio_error-message_sP546{margin-top:.25rem;margin-left:calc(1.75 * var(--font-size));font-size:var(--font-size-sub)}.Radio_helper-text_sP546{margin-top:.25rem;margin-left:1.75rem}.Radio_error-icon_sP546{margin-right:.5rem;font-size:var(--font-size-big)}.Radio_radio-container_sP546{display:flex}.Radio_radio-container_sP546 label{display:inline-block;margin-left:calc(.5 * var(--font-size));font-size:var(--font-size-form-label);font-family:var(--font-family);margin-top:.15rem}.Radio_radio-container_sP546 label.Radio_no-margin-top_sP546{margin-top:0}.Radio_disabled_sP546 .Radio_radio-container_sP546 label{cursor:not-allowed}.Radio_native-input_sP546{position:absolute;top:0;left:0;opacity:0;margin:0;width:var(--font-size-big);height:var(--font-size-big);z-index:2}.Radio_native-input_sP546+span[data-icon=true]:before{display:block;width:var(--font-size-big);height:var(--font-size-big)}.Radio_native-input_sP546:checked+*{color:var(--radio-checked-color)}.Radio_native-input_sP546:checked+*.Radio_disabled_sP546{color:var(--disabled);cursor:not-allowed;pointer-events:none}.Radio_native-input_sP546:focus-visible+*{border-radius:100%;outline:2px solid var(--color-focus);outline-offset:2px}.Radio_native-input_sP546.Radio_error_sP546+*{border-radius:100%}.Radio_native-input_sP546.Radio_error_sP546:hover+.Radio_radio_sP546:before{outline-color:var(--radio-hover-background-color)}.Radio_native-input_sP546.Radio_error_sP546:active+.Radio_radio_sP546:before{outline-color:var(--radio-pressed-background-color)}.Radio_native-input_sP546:hover+.Radio_input_sP546.Radio_circle_sP546:not(.Radio_disabled_sP546){background-color:var(--radio-hover-background-color)}.Radio_native-input_sP546:active+.Radio_input_sP546.Radio_circle_sP546:not(.Radio_disabled_sP546){background-color:var(--radio-pressed-background-color)}.Radio_native-input_sP546:hover+.Radio_input_sP546.Radio_radio_sP546:not(.Radio_disabled_sP546){background-color:var(--radio-hover-background-color);color:var(--radio-hover-color)}.Radio_native-input_sP546:active+.Radio_input_sP546.Radio_radio_sP546:not(.Radio_disabled_sP546){color:var(--radio-pressed-color);background-color:var(--radio-pressed-background-color)}.Radio_input_sP546{font-size:var(--font-size-big);width:var(--font-size-big);height:var(--font-size-big);z-index:1;border-radius:100%;color:var(--color-blue-grey500)}.Radio_input_sP546:active{border-radius:100%}.Radio_disabled_sP546 .Radio_input_sP546{color:var(--disabled)}.Radio_disabled_sP546{color:var(--disabled);pointer-events:none}[data-readonlyview=true] .Radio_radio-wrapper_sP546{color:var(--read-only-text-color)}[data-readonlyview=true] .Radio_radio-wrapper_sP546 span.Radio_input_sP546{color:var(--read-only-text-color);cursor:not-allowed}[data-readonlyview=true] .Radio_radio-wrapper_sP546 span.Radio_input_sP546:before{outline:1px solid var(--read-only-border-color);outline-offset:-1px;border-radius:50%}[data-readonlyview=true] .Radio_radio-wrapper_sP546 label{-webkit-user-select:text;user-select:text}.Radio_radio-container_sP546 input[type=radio][data-readonlyview=true]~span.Radio_input_sP546{color:var(--read-only-text-color);cursor:not-allowed}.Radio_radio-container_sP546 input[type=radio][data-readonlyview=true]~span.Radio_input_sP546:before{outline:1px solid var(--read-only-border-color);outline-offset:-1px;border-radius:50%}.Radio_radio-container_sP546 input[type=radio][data-readonlyview=true]~label{-webkit-user-select:text;user-select:text;pointer-events:none}.Radio_radio-container_sP546 input[type=radio][data-readonlyview=true] :focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}')),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
2
+ const error = "Radio_error_sP546";
3
+ const disabled = "Radio_disabled_sP546";
4
+ const radio = "Radio_radio_sP546";
5
+ const input = "Radio_input_sP546";
6
+ const circle = "Radio_circle_sP546";
7
7
  const classes = {
8
- "radio-wrapper": "Radio_radio-wrapper_hm9zm",
8
+ "radio-wrapper": "Radio_radio-wrapper_sP546",
9
9
  error,
10
- "error-message": "Radio_error-message_hm9zm",
11
- "radio-container": "Radio_radio-container_hm9zm",
12
- "no-margin-top": "Radio_no-margin-top_hm9zm",
10
+ "error-message": "Radio_error-message_sP546",
11
+ "radio-container": "Radio_radio-container_sP546",
12
+ "no-margin-top": "Radio_no-margin-top_sP546",
13
13
  disabled,
14
- "native-input": "Radio_native-input_hm9zm",
14
+ "native-input": "Radio_native-input_sP546",
15
15
  radio,
16
16
  input,
17
17
  circle