@onewelcome/react-lib-components 14.0.0-experiment.1 → 14.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (510) 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.cjs.js +1 -1
  6. package/dist/components/Button/Button.cjs.js.map +1 -1
  7. package/dist/components/Button/Button.es.js +11 -2
  8. package/dist/components/Button/Button.es.js.map +1 -1
  9. package/dist/components/Button/Button.module.scss.cjs.js +2 -2
  10. package/dist/components/Button/Button.module.scss.es.js +17 -17
  11. package/dist/components/Button/IconButton.module.scss.cjs.js +2 -2
  12. package/dist/components/Button/IconButton.module.scss.es.js +18 -18
  13. package/dist/components/ContextMenu/ContextMenu.cjs.js.map +1 -1
  14. package/dist/components/ContextMenu/ContextMenu.es.js.map +1 -1
  15. package/dist/components/ContextMenu/ContextMenu.module.scss.cjs.js +2 -2
  16. package/dist/components/ContextMenu/ContextMenu.module.scss.es.js +6 -6
  17. package/dist/components/ContextMenu/ContextMenuDivider.module.scss.cjs.js +2 -2
  18. package/dist/components/ContextMenu/ContextMenuDivider.module.scss.es.js +2 -2
  19. package/dist/components/ContextMenu/ContextMenuItem.cjs.js.map +1 -1
  20. package/dist/components/ContextMenu/ContextMenuItem.es.js.map +1 -1
  21. package/dist/components/ContextMenu/ContextMenuItem.module.scss.cjs.js +2 -2
  22. package/dist/components/ContextMenu/ContextMenuItem.module.scss.es.js +3 -3
  23. package/dist/components/ContextMenu/ContextMenuService.cjs.js +1 -1
  24. package/dist/components/ContextMenu/ContextMenuService.cjs.js.map +1 -1
  25. package/dist/components/ContextMenu/ContextMenuService.es.js +20 -17
  26. package/dist/components/ContextMenu/ContextMenuService.es.js.map +1 -1
  27. package/dist/components/DataGrid/DataGrid.cjs.js +1 -1
  28. package/dist/components/DataGrid/DataGrid.cjs.js.map +1 -1
  29. package/dist/components/DataGrid/DataGrid.es.js +102 -59
  30. package/dist/components/DataGrid/DataGrid.es.js.map +1 -1
  31. package/dist/components/DataGrid/DataGrid.module.scss.cjs.js +2 -2
  32. package/dist/components/DataGrid/DataGrid.module.scss.es.js +8 -6
  33. package/dist/components/DataGrid/DataGrid.module.scss.es.js.map +1 -1
  34. package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.cjs.js +2 -2
  35. package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.es.js +6 -6
  36. package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.cjs.js +2 -2
  37. package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.es.js +7 -7
  38. package/dist/components/DataGrid/DataGridBody/DataGridBody.cjs.js +1 -1
  39. package/dist/components/DataGrid/DataGridBody/DataGridBody.cjs.js.map +1 -1
  40. package/dist/components/DataGrid/DataGridBody/DataGridBody.es.js +4 -2
  41. package/dist/components/DataGrid/DataGridBody/DataGridBody.es.js.map +1 -1
  42. package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.cjs.js +2 -2
  43. package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.es.js +2 -2
  44. package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.cjs.js +2 -2
  45. package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.es.js +5 -5
  46. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.cjs.js +2 -2
  47. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.es.js +4 -4
  48. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.cjs.js +2 -2
  49. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.es.js +5 -5
  50. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.cjs.js +1 -1
  51. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.cjs.js.map +1 -1
  52. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.es.js +2 -1
  53. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.es.js.map +1 -1
  54. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.cjs.js +2 -2
  55. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.es.js +24 -24
  56. package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.cjs.js.map +1 -1
  57. package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.es.js +1 -1
  58. package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.es.js.map +1 -1
  59. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.cjs.js +1 -1
  60. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.cjs.js.map +1 -1
  61. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.es.js +4 -4
  62. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.es.js.map +1 -1
  63. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.cjs.js +2 -2
  64. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.es.js +9 -9
  65. package/dist/components/DataGrid/DataGridFilters/DataGridFilterPopover.cjs.js.map +1 -1
  66. package/dist/components/DataGrid/DataGridFilters/DataGridFilterPopover.es.js.map +1 -1
  67. package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.cjs.js +1 -1
  68. package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.cjs.js.map +1 -1
  69. package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.es.js +17 -21
  70. package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.es.js.map +1 -1
  71. package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.cjs.js +1 -1
  72. package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.cjs.js.map +1 -1
  73. package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.es.js +15 -4
  74. package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.es.js.map +1 -1
  75. package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.cjs.js +1 -1
  76. package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.cjs.js.map +1 -1
  77. package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.es.js +54 -6
  78. package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.es.js.map +1 -1
  79. package/dist/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.cjs.js.map +1 -1
  80. package/dist/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.es.js.map +1 -1
  81. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.cjs.js +1 -1
  82. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.cjs.js.map +1 -1
  83. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.es.js +4 -4
  84. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.es.js.map +1 -1
  85. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.cjs.js +2 -2
  86. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.es.js +10 -10
  87. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.cjs.js +1 -1
  88. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.cjs.js.map +1 -1
  89. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.es.js +1 -1
  90. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.es.js.map +1 -1
  91. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.cjs.js +2 -2
  92. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.es.js +17 -17
  93. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.cjs.js +1 -1
  94. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.cjs.js.map +1 -1
  95. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.es.js +45 -24
  96. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.es.js.map +1 -1
  97. package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.cjs.js +1 -1
  98. package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.cjs.js.map +1 -1
  99. package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.es.js +7 -9
  100. package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.es.js.map +1 -1
  101. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.cjs.js +1 -1
  102. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.cjs.js.map +1 -1
  103. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.es.js +6 -2
  104. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.es.js.map +1 -1
  105. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.cjs.js +2 -2
  106. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.es.js +7 -4
  107. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.es.js.map +1 -1
  108. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js +1 -1
  109. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js.map +1 -1
  110. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.es.js +14 -12
  111. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.es.js.map +1 -1
  112. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.cjs.js +2 -2
  113. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.es.js +11 -10
  114. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.es.js.map +1 -1
  115. package/dist/components/DatePicker/DatePicker.module.scss.cjs.js +2 -2
  116. package/dist/components/DatePicker/DatePicker.module.scss.es.js +31 -31
  117. package/dist/components/Form/Checkbox/Checkbox.cjs.js.map +1 -1
  118. package/dist/components/Form/Checkbox/Checkbox.es.js.map +1 -1
  119. package/dist/components/Form/Checkbox/Checkbox.module.scss.cjs.js +2 -2
  120. package/dist/components/Form/Checkbox/Checkbox.module.scss.es.js +13 -13
  121. package/dist/components/Form/Fieldset/Fieldset.cjs.js +1 -1
  122. package/dist/components/Form/Fieldset/Fieldset.cjs.js.map +1 -1
  123. package/dist/components/Form/Fieldset/Fieldset.es.js +3 -2
  124. package/dist/components/Form/Fieldset/Fieldset.es.js.map +1 -1
  125. package/dist/components/Form/Fieldset/Fieldset.module.scss.cjs.js +2 -2
  126. package/dist/components/Form/Fieldset/Fieldset.module.scss.es.js +8 -5
  127. package/dist/components/Form/Fieldset/Fieldset.module.scss.es.js.map +1 -1
  128. package/dist/components/Form/FileUpload/FileItem/FileItem.cjs.js +1 -1
  129. package/dist/components/Form/FileUpload/FileItem/FileItem.cjs.js.map +1 -1
  130. package/dist/components/Form/FileUpload/FileItem/FileItem.es.js +1 -1
  131. package/dist/components/Form/FileUpload/FileItem/FileItem.es.js.map +1 -1
  132. package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.cjs.js +2 -2
  133. package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.es.js +18 -18
  134. package/dist/components/Form/FileUpload/FileUpload.cjs.js +1 -1
  135. package/dist/components/Form/FileUpload/FileUpload.cjs.js.map +1 -1
  136. package/dist/components/Form/FileUpload/FileUpload.es.js +6 -6
  137. package/dist/components/Form/FileUpload/FileUpload.es.js.map +1 -1
  138. package/dist/components/Form/FileUpload/FileUpload.module.scss.cjs.js +2 -2
  139. package/dist/components/Form/FileUpload/FileUpload.module.scss.es.js +16 -16
  140. package/dist/components/Form/Form.module.scss.cjs.js +2 -2
  141. package/dist/components/Form/Form.module.scss.es.js +2 -2
  142. package/dist/components/Form/FormControl/FormControl.cjs.js +1 -1
  143. package/dist/components/Form/FormControl/FormControl.cjs.js.map +1 -1
  144. package/dist/components/Form/FormControl/FormControl.es.js +3 -3
  145. package/dist/components/Form/FormControl/FormControl.es.js.map +1 -1
  146. package/dist/components/Form/FormControl/FormControl.module.scss.cjs.js +2 -2
  147. package/dist/components/Form/FormControl/FormControl.module.scss.es.js +13 -13
  148. package/dist/components/Form/FormErrorText/FormErrorText.module.scss.cjs.js +2 -2
  149. package/dist/components/Form/FormErrorText/FormErrorText.module.scss.es.js +9 -6
  150. package/dist/components/Form/FormErrorText/FormErrorText.module.scss.es.js.map +1 -1
  151. package/dist/components/Form/FormGroup/FormGroup.cjs.js.map +1 -1
  152. package/dist/components/Form/FormGroup/FormGroup.es.js.map +1 -1
  153. package/dist/components/Form/FormGroup/FormGroup.module.scss.cjs.js +2 -2
  154. package/dist/components/Form/FormGroup/FormGroup.module.scss.es.js +3 -3
  155. package/dist/components/Form/FormHelperText/FormHelperText.module.scss.cjs.js +2 -2
  156. package/dist/components/Form/FormHelperText/FormHelperText.module.scss.es.js +4 -4
  157. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.cjs.js +1 -1
  158. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.cjs.js.map +1 -1
  159. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.es.js +4 -1
  160. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.es.js.map +1 -1
  161. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.cjs.js +2 -2
  162. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.es.js +6 -6
  163. package/dist/components/Form/Input/Input.cjs.js +1 -1
  164. package/dist/components/Form/Input/Input.cjs.js.map +1 -1
  165. package/dist/components/Form/Input/Input.es.js +48 -5
  166. package/dist/components/Form/Input/Input.es.js.map +1 -1
  167. package/dist/components/Form/Input/Input.module.scss.cjs.js +2 -2
  168. package/dist/components/Form/Input/Input.module.scss.es.js +8 -8
  169. package/dist/components/Form/Label/Label.module.scss.cjs.js +2 -2
  170. package/dist/components/Form/Label/Label.module.scss.es.js +2 -2
  171. package/dist/components/Form/Radio/Radio.cjs.js.map +1 -1
  172. package/dist/components/Form/Radio/Radio.es.js +1 -1
  173. package/dist/components/Form/Radio/Radio.es.js.map +1 -1
  174. package/dist/components/Form/Radio/Radio.module.scss.cjs.js +2 -2
  175. package/dist/components/Form/Radio/Radio.module.scss.es.js +11 -11
  176. package/dist/components/Form/Select/MultiSelect/MultiOption.cjs.js +1 -1
  177. package/dist/components/Form/Select/MultiSelect/MultiOption.cjs.js.map +1 -1
  178. package/dist/components/Form/Select/MultiSelect/MultiOption.es.js +11 -10
  179. package/dist/components/Form/Select/MultiSelect/MultiOption.es.js.map +1 -1
  180. package/dist/components/Form/Select/MultiSelect/MultiSelect.cjs.js +1 -1
  181. package/dist/components/Form/Select/MultiSelect/MultiSelect.cjs.js.map +1 -1
  182. package/dist/components/Form/Select/MultiSelect/MultiSelect.es.js +236 -57
  183. package/dist/components/Form/Select/MultiSelect/MultiSelect.es.js.map +1 -1
  184. package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.cjs.js +2 -2
  185. package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.es.js +20 -15
  186. package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.es.js.map +1 -1
  187. package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.cjs.js +2 -2
  188. package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.es.js +2 -2
  189. package/dist/components/Form/Select/MultiSelect/SelectedOptions.cjs.js.map +1 -1
  190. package/dist/components/Form/Select/MultiSelect/SelectedOptions.es.js.map +1 -1
  191. package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.cjs.js +2 -2
  192. package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.es.js +4 -4
  193. package/dist/components/Form/Select/MultiSelect/useArrowNavigation.cjs.js +1 -1
  194. package/dist/components/Form/Select/MultiSelect/useArrowNavigation.cjs.js.map +1 -1
  195. package/dist/components/Form/Select/MultiSelect/useArrowNavigation.es.js +134 -32
  196. package/dist/components/Form/Select/MultiSelect/useArrowNavigation.es.js.map +1 -1
  197. package/dist/components/Form/Select/MultiSelect/useSearch.cjs.js +1 -1
  198. package/dist/components/Form/Select/MultiSelect/useSearch.cjs.js.map +1 -1
  199. package/dist/components/Form/Select/MultiSelect/useSearch.es.js +73 -55
  200. package/dist/components/Form/Select/MultiSelect/useSearch.es.js.map +1 -1
  201. package/dist/components/Form/Select/Select.interfaces.cjs.js.map +1 -1
  202. package/dist/components/Form/Select/Select.interfaces.es.js.map +1 -1
  203. package/dist/components/Form/Select/SingleSelect/Option.cjs.js +1 -1
  204. package/dist/components/Form/Select/SingleSelect/Option.cjs.js.map +1 -1
  205. package/dist/components/Form/Select/SingleSelect/Option.es.js +16 -9
  206. package/dist/components/Form/Select/SingleSelect/Option.es.js.map +1 -1
  207. package/dist/components/Form/Select/SingleSelect/Select.cjs.js +1 -1
  208. package/dist/components/Form/Select/SingleSelect/Select.cjs.js.map +1 -1
  209. package/dist/components/Form/Select/SingleSelect/Select.es.js +202 -46
  210. package/dist/components/Form/Select/SingleSelect/Select.es.js.map +1 -1
  211. package/dist/components/Form/Select/SingleSelect/Select.module.scss.cjs.js +2 -2
  212. package/dist/components/Form/Select/SingleSelect/Select.module.scss.es.js +21 -17
  213. package/dist/components/Form/Select/SingleSelect/Select.module.scss.es.js.map +1 -1
  214. package/dist/components/Form/Select/SingleSelect/useArrowNavigation.cjs.js +1 -1
  215. package/dist/components/Form/Select/SingleSelect/useArrowNavigation.cjs.js.map +1 -1
  216. package/dist/components/Form/Select/SingleSelect/useArrowNavigation.es.js +176 -89
  217. package/dist/components/Form/Select/SingleSelect/useArrowNavigation.es.js.map +1 -1
  218. package/dist/components/Form/Select/SingleSelect/useSearch.cjs.js +1 -1
  219. package/dist/components/Form/Select/SingleSelect/useSearch.cjs.js.map +1 -1
  220. package/dist/components/Form/Select/SingleSelect/useSearch.es.js +48 -36
  221. package/dist/components/Form/Select/SingleSelect/useSearch.es.js.map +1 -1
  222. package/dist/components/Form/Select/useAddNewBtn.cjs.js +1 -1
  223. package/dist/components/Form/Select/useAddNewBtn.cjs.js.map +1 -1
  224. package/dist/components/Form/Select/useAddNewBtn.es.js +8 -6
  225. package/dist/components/Form/Select/useAddNewBtn.es.js.map +1 -1
  226. package/dist/components/Form/Select/useAddNewBtn.module.scss.cjs.js +2 -2
  227. package/dist/components/Form/Select/useAddNewBtn.module.scss.es.js +4 -4
  228. package/dist/components/Form/Select/useBaseSearch.cjs.js +2 -0
  229. package/dist/components/Form/Select/useBaseSearch.cjs.js.map +1 -0
  230. package/dist/components/Form/Select/useBaseSearch.es.js +85 -0
  231. package/dist/components/Form/Select/useBaseSearch.es.js.map +1 -0
  232. package/dist/components/Form/Select/useSelectPositionList.cjs.js +1 -1
  233. package/dist/components/Form/Select/useSelectPositionList.cjs.js.map +1 -1
  234. package/dist/components/Form/Select/useSelectPositionList.es.js +18 -5
  235. package/dist/components/Form/Select/useSelectPositionList.es.js.map +1 -1
  236. package/dist/components/Form/Textarea/Textarea.cjs.js +1 -1
  237. package/dist/components/Form/Textarea/Textarea.cjs.js.map +1 -1
  238. package/dist/components/Form/Textarea/Textarea.es.js +4 -0
  239. package/dist/components/Form/Textarea/Textarea.es.js.map +1 -1
  240. package/dist/components/Form/Textarea/Textarea.module.scss.cjs.js +2 -2
  241. package/dist/components/Form/Textarea/Textarea.module.scss.es.js +6 -6
  242. package/dist/components/Form/Toggle/Toggle.cjs.js +1 -1
  243. package/dist/components/Form/Toggle/Toggle.cjs.js.map +1 -1
  244. package/dist/components/Form/Toggle/Toggle.es.js +5 -3
  245. package/dist/components/Form/Toggle/Toggle.es.js.map +1 -1
  246. package/dist/components/Form/Toggle/Toggle.module.scss.cjs.js +2 -2
  247. package/dist/components/Form/Toggle/Toggle.module.scss.es.js +18 -18
  248. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.cjs.js +1 -1
  249. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.cjs.js.map +1 -1
  250. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.es.js +25 -17
  251. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.es.js.map +1 -1
  252. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.cjs.js +2 -2
  253. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.es.js +8 -4
  254. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.es.js.map +1 -1
  255. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.cjs.js +2 -2
  256. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.es.js +5 -5
  257. package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.cjs.js.map +1 -1
  258. package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.es.js.map +1 -1
  259. package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.cjs.js +2 -2
  260. package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.es.js +3 -3
  261. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.cjs.js +1 -1
  262. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.cjs.js.map +1 -1
  263. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.es.js +41 -22
  264. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.es.js.map +1 -1
  265. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.cjs.js +2 -2
  266. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.es.js +8 -4
  267. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.es.js.map +1 -1
  268. package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.cjs.js.map +1 -1
  269. package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.es.js.map +1 -1
  270. package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.cjs.js +2 -2
  271. package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.es.js +3 -3
  272. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.cjs.js +1 -1
  273. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.cjs.js.map +1 -1
  274. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.es.js +2 -0
  275. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.es.js.map +1 -1
  276. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.cjs.js +2 -2
  277. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.es.js +8 -8
  278. package/dist/components/Form/Wrapper/Wrapper/Wrapper.cjs.js +1 -1
  279. package/dist/components/Form/Wrapper/Wrapper/Wrapper.cjs.js.map +1 -1
  280. package/dist/components/Form/Wrapper/Wrapper/Wrapper.es.js +1 -1
  281. package/dist/components/Form/Wrapper/Wrapper/Wrapper.es.js.map +1 -1
  282. package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.cjs.js +2 -2
  283. package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.es.js +6 -6
  284. package/dist/components/Icon/Icon.cjs.js +1 -1
  285. package/dist/components/Icon/Icon.cjs.js.map +1 -1
  286. package/dist/components/Icon/Icon.es.js +3 -1
  287. package/dist/components/Icon/Icon.es.js.map +1 -1
  288. package/dist/components/Icon/Icon.module.scss.cjs.js +2 -2
  289. package/dist/components/Icon/Icon.module.scss.es.js +109 -107
  290. package/dist/components/Icon/Icon.module.scss.es.js.map +1 -1
  291. package/dist/components/Layout/ActionBar/ActionBar.cjs.js +2 -0
  292. package/dist/components/Layout/ActionBar/ActionBar.cjs.js.map +1 -0
  293. package/dist/components/Layout/ActionBar/ActionBar.es.js +122 -0
  294. package/dist/components/Layout/ActionBar/ActionBar.es.js.map +1 -0
  295. package/dist/components/Layout/ActionBar/ActionBar.module.scss.cjs.js +3 -0
  296. package/dist/components/Layout/ActionBar/ActionBar.module.scss.cjs.js.map +1 -0
  297. package/dist/components/Layout/ActionBar/ActionBar.module.scss.es.js +24 -0
  298. package/dist/components/Layout/ActionBar/ActionBar.module.scss.es.js.map +1 -0
  299. package/dist/components/Layout/Card/Card.module.scss.cjs.js +2 -2
  300. package/dist/components/Layout/Card/Card.module.scss.es.js +12 -12
  301. package/dist/components/Layout/ContentHeader/ContentHeader.cjs.js +1 -1
  302. package/dist/components/Layout/ContentHeader/ContentHeader.cjs.js.map +1 -1
  303. package/dist/components/Layout/ContentHeader/ContentHeader.es.js +66 -41
  304. package/dist/components/Layout/ContentHeader/ContentHeader.es.js.map +1 -1
  305. package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.cjs.js +2 -2
  306. package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.es.js +28 -13
  307. package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.es.js.map +1 -1
  308. package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.cjs.js +2 -2
  309. package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.es.js +4 -4
  310. package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.cjs.js +2 -2
  311. package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.es.js +2 -2
  312. package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.cjs.js +2 -2
  313. package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.es.js +3 -3
  314. package/dist/components/Link/Link.cjs.js.map +1 -1
  315. package/dist/components/Link/Link.es.js +1 -1
  316. package/dist/components/Link/Link.es.js.map +1 -1
  317. package/dist/components/Link/Link.module.scss.cjs.js +2 -2
  318. package/dist/components/Link/Link.module.scss.es.js +17 -17
  319. package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.cjs.js +2 -2
  320. package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.es.js +11 -11
  321. package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.cjs.js +1 -1
  322. package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.cjs.js.map +1 -1
  323. package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.es.js +7 -1
  324. package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.es.js.map +1 -1
  325. package/dist/components/Notifications/Alert/AlertItem/AlertItem.cjs.js +1 -1
  326. package/dist/components/Notifications/Alert/AlertItem/AlertItem.cjs.js.map +1 -1
  327. package/dist/components/Notifications/Alert/AlertItem/AlertItem.es.js +1 -1
  328. package/dist/components/Notifications/Alert/AlertItem/AlertItem.es.js.map +1 -1
  329. package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.cjs.js +2 -2
  330. package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.es.js +22 -22
  331. package/dist/components/Notifications/Banner/Banner.module.scss.cjs.js +2 -2
  332. package/dist/components/Notifications/Banner/Banner.module.scss.es.js +9 -9
  333. package/dist/components/Notifications/BaseModal/BaseModal.cjs.js +1 -1
  334. package/dist/components/Notifications/BaseModal/BaseModal.cjs.js.map +1 -1
  335. package/dist/components/Notifications/BaseModal/BaseModal.es.js +1 -1
  336. package/dist/components/Notifications/BaseModal/BaseModal.es.js.map +1 -1
  337. package/dist/components/Notifications/BaseModal/BaseModal.module.scss.cjs.js +2 -2
  338. package/dist/components/Notifications/BaseModal/BaseModal.module.scss.es.js +5 -5
  339. package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.cjs.js.map +1 -1
  340. package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.es.js.map +1 -1
  341. package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.cjs.js +2 -2
  342. package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.es.js +4 -4
  343. package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.cjs.js.map +1 -1
  344. package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.es.js.map +1 -1
  345. package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.cjs.js +2 -2
  346. package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.es.js +2 -2
  347. package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.cjs.js +2 -2
  348. package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.es.js +6 -6
  349. package/dist/components/Notifications/Dialog/Dialog.module.scss.cjs.js +2 -2
  350. package/dist/components/Notifications/Dialog/Dialog.module.scss.es.js +4 -4
  351. package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.cjs.js +2 -2
  352. package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.es.js +3 -3
  353. package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.cjs.js +2 -2
  354. package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.es.js +10 -10
  355. package/dist/components/Notifications/DiscardChangesModal/DiscardChangesModal.cjs.js.map +1 -1
  356. package/dist/components/Notifications/DiscardChangesModal/DiscardChangesModal.es.js.map +1 -1
  357. package/dist/components/Notifications/SideSheet/SideSheet.cjs.js.map +1 -1
  358. package/dist/components/Notifications/SideSheet/SideSheet.es.js +1 -1
  359. package/dist/components/Notifications/SideSheet/SideSheet.es.js.map +1 -1
  360. package/dist/components/Notifications/SideSheet/SideSheet.module.scss.cjs.js +2 -2
  361. package/dist/components/Notifications/SideSheet/SideSheet.module.scss.es.js +13 -13
  362. package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.cjs.js +2 -2
  363. package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.es.js +2 -2
  364. package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.cjs.js +2 -2
  365. package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.es.js +2 -2
  366. package/dist/components/Notifications/SlideInModal/SlideInModal.cjs.js.map +1 -1
  367. package/dist/components/Notifications/SlideInModal/SlideInModal.es.js +1 -1
  368. package/dist/components/Notifications/SlideInModal/SlideInModal.es.js.map +1 -1
  369. package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.cjs.js +2 -2
  370. package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.es.js +10 -10
  371. package/dist/components/Pagination/Pagination.cjs.js +1 -1
  372. package/dist/components/Pagination/Pagination.cjs.js.map +1 -1
  373. package/dist/components/Pagination/Pagination.es.js +118 -90
  374. package/dist/components/Pagination/Pagination.es.js.map +1 -1
  375. package/dist/components/Pagination/Pagination.module.scss.cjs.js +2 -2
  376. package/dist/components/Pagination/Pagination.module.scss.es.js +15 -14
  377. package/dist/components/Pagination/Pagination.module.scss.es.js.map +1 -1
  378. package/dist/components/Popover/Popover.cjs.js.map +1 -1
  379. package/dist/components/Popover/Popover.es.js.map +1 -1
  380. package/dist/components/Popover/Popover.module.scss.cjs.js +2 -2
  381. package/dist/components/Popover/Popover.module.scss.es.js +3 -3
  382. package/dist/components/ProgressBar/ProgressBar.cjs.js.map +1 -1
  383. package/dist/components/ProgressBar/ProgressBar.es.js.map +1 -1
  384. package/dist/components/ProgressBar/ProgressBar.module.scss.cjs.js +2 -2
  385. package/dist/components/ProgressBar/ProgressBar.module.scss.es.js +9 -9
  386. package/dist/components/Skeleton/Skeleton.module.scss.cjs.js +2 -2
  387. package/dist/components/Skeleton/Skeleton.module.scss.es.js +5 -5
  388. package/dist/components/Spinner/Spinner.module.scss.cjs.js +2 -2
  389. package/dist/components/Spinner/Spinner.module.scss.es.js +3 -3
  390. package/dist/components/Stepper/Step.module.scss.cjs.js +2 -2
  391. package/dist/components/Stepper/Step.module.scss.es.js +22 -22
  392. package/dist/components/Stepper/Stepper.module.scss.cjs.js +2 -2
  393. package/dist/components/Stepper/Stepper.module.scss.es.js +4 -4
  394. package/dist/components/Tabs/Tab.module.scss.cjs.js +2 -2
  395. package/dist/components/Tabs/Tab.module.scss.es.js +3 -3
  396. package/dist/components/Tabs/TabButton.cjs.js.map +1 -1
  397. package/dist/components/Tabs/TabButton.es.js.map +1 -1
  398. package/dist/components/Tabs/TabButton.module.scss.cjs.js +2 -2
  399. package/dist/components/Tabs/TabButton.module.scss.es.js +12 -12
  400. package/dist/components/Tabs/Tabs.cjs.js +1 -1
  401. package/dist/components/Tabs/Tabs.cjs.js.map +1 -1
  402. package/dist/components/Tabs/Tabs.es.js +1 -1
  403. package/dist/components/Tabs/Tabs.es.js.map +1 -1
  404. package/dist/components/Tabs/Tabs.module.scss.cjs.js +2 -2
  405. package/dist/components/Tabs/Tabs.module.scss.es.js +10 -10
  406. package/dist/components/Tag/RemoveButton.module.scss.cjs.js +2 -2
  407. package/dist/components/Tag/RemoveButton.module.scss.es.js +3 -3
  408. package/dist/components/Tag/Tag.cjs.js +1 -1
  409. package/dist/components/Tag/Tag.cjs.js.map +1 -1
  410. package/dist/components/Tag/Tag.es.js +7 -1
  411. package/dist/components/Tag/Tag.es.js.map +1 -1
  412. package/dist/components/Tag/Tag.module.scss.cjs.js +2 -2
  413. package/dist/components/Tag/Tag.module.scss.es.js +6 -6
  414. package/dist/components/TextEllipsis/TextEllipsis.cjs.js.map +1 -1
  415. package/dist/components/TextEllipsis/TextEllipsis.es.js.map +1 -1
  416. package/dist/components/TextEllipsis/TextEllipsis.module.scss.cjs.js +2 -2
  417. package/dist/components/TextEllipsis/TextEllipsis.module.scss.es.js +3 -3
  418. package/dist/components/Tiles/Tile.cjs.js.map +1 -1
  419. package/dist/components/Tiles/Tile.es.js.map +1 -1
  420. package/dist/components/Tiles/Tile.module.scss.cjs.js +2 -2
  421. package/dist/components/Tiles/Tile.module.scss.es.js +8 -8
  422. package/dist/components/Tiles/Tiles.module.scss.cjs.js +2 -2
  423. package/dist/components/Tiles/Tiles.module.scss.es.js +2 -2
  424. package/dist/components/Tooltip/Tooltip.cjs.js +1 -1
  425. package/dist/components/Tooltip/Tooltip.cjs.js.map +1 -1
  426. package/dist/components/Tooltip/Tooltip.es.js +47 -39
  427. package/dist/components/Tooltip/Tooltip.es.js.map +1 -1
  428. package/dist/components/Tooltip/Tooltip.module.scss.cjs.js +2 -2
  429. package/dist/components/Tooltip/Tooltip.module.scss.es.js +28 -27
  430. package/dist/components/Tooltip/Tooltip.module.scss.es.js.map +1 -1
  431. package/dist/components/Typography/Typography.module.scss.cjs.js +2 -2
  432. package/dist/components/Typography/Typography.module.scss.es.js +13 -13
  433. package/dist/components/_BaseStyling_/BaseStyling.cjs.js +2 -1
  434. package/dist/components/_BaseStyling_/BaseStyling.cjs.js.map +1 -1
  435. package/dist/components/_BaseStyling_/BaseStyling.es.js +3 -3
  436. package/dist/components/_BaseStyling_/BaseStyling.es.js.map +1 -1
  437. package/dist/components/admin/layout/LeftNav/LeftNav.cjs.js.map +1 -1
  438. package/dist/components/admin/layout/LeftNav/LeftNav.es.js +1 -1
  439. package/dist/components/admin/layout/LeftNav/LeftNav.es.js.map +1 -1
  440. package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.cjs.js +2 -2
  441. package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.es.js +5 -5
  442. package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.cjs.js.map +1 -1
  443. package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.es.js +3 -1
  444. package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.es.js.map +1 -1
  445. package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.cjs.js +2 -2
  446. package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.es.js +14 -14
  447. package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.cjs.js.map +1 -1
  448. package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.es.js +6 -2
  449. package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.es.js.map +1 -1
  450. package/dist/components/admin/layout/LeftNav/useRefItems.cjs.js +1 -1
  451. package/dist/components/admin/layout/LeftNav/useRefItems.cjs.js.map +1 -1
  452. package/dist/components/admin/layout/LeftNav/useRefItems.es.js +7 -6
  453. package/dist/components/admin/layout/LeftNav/useRefItems.es.js.map +1 -1
  454. package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.cjs.js +2 -2
  455. package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.es.js +3 -3
  456. package/dist/components/admin/layout/ProfileMenu/ProfileMenu.module.scss.cjs.js +2 -2
  457. package/dist/components/admin/layout/ProfileMenu/ProfileMenu.module.scss.es.js +7 -7
  458. package/dist/components/admin/layout/TopNavBar/TopNavBar.module.scss.cjs.js +2 -2
  459. package/dist/components/admin/layout/TopNavBar/TopNavBar.module.scss.es.js +13 -13
  460. package/dist/components/miscellaneous/IdentityProviderButton.cjs.js.map +1 -1
  461. package/dist/components/miscellaneous/IdentityProviderButton.es.js.map +1 -1
  462. package/dist/components/miscellaneous/IdentityProviderButton.module.scss.cjs.js +2 -2
  463. package/dist/components/miscellaneous/IdentityProviderButton.module.scss.es.js +3 -3
  464. package/dist/components/withReadOnly.cjs.js +1 -1
  465. package/dist/components/withReadOnly.cjs.js.map +1 -1
  466. package/dist/components/withReadOnly.es.js +2 -4
  467. package/dist/components/withReadOnly.es.js.map +1 -1
  468. package/dist/hooks/useClickOutside.cjs.js +1 -1
  469. package/dist/hooks/useClickOutside.cjs.js.map +1 -1
  470. package/dist/hooks/useClickOutside.es.js +1 -1
  471. package/dist/hooks/useClickOutside.es.js.map +1 -1
  472. package/dist/hooks/useDebouncedCallback.cjs.js +1 -1
  473. package/dist/hooks/useDebouncedCallback.cjs.js.map +1 -1
  474. package/dist/hooks/useDebouncedCallback.es.js +9 -2
  475. package/dist/hooks/useDebouncedCallback.es.js.map +1 -1
  476. package/dist/hooks/useGetDomRoot.cjs.js.map +1 -1
  477. package/dist/hooks/useGetDomRoot.es.js.map +1 -1
  478. package/dist/hooks/usePosition.cjs.js +1 -1
  479. package/dist/hooks/usePosition.cjs.js.map +1 -1
  480. package/dist/hooks/usePosition.es.js +105 -4
  481. package/dist/hooks/usePosition.es.js.map +1 -1
  482. package/dist/hooks/useRepeatFocus.cjs.js.map +1 -1
  483. package/dist/hooks/useRepeatFocus.es.js.map +1 -1
  484. package/dist/hooks/useScreenSize.cjs.js +1 -1
  485. package/dist/hooks/useScreenSize.cjs.js.map +1 -1
  486. package/dist/hooks/useScreenSize.es.js +1 -1
  487. package/dist/hooks/useScreenSize.es.js.map +1 -1
  488. package/dist/hooks/useStickyStacking.cjs.js +2 -0
  489. package/dist/hooks/useStickyStacking.cjs.js.map +1 -0
  490. package/dist/hooks/useStickyStacking.es.js +208 -0
  491. package/dist/hooks/useStickyStacking.es.js.map +1 -0
  492. package/dist/hooks/useUploadFile.cjs.js +1 -1
  493. package/dist/hooks/useUploadFile.cjs.js.map +1 -1
  494. package/dist/hooks/useUploadFile.es.js +1 -1
  495. package/dist/hooks/useUploadFile.es.js.map +1 -1
  496. package/dist/index.cjs.js +1 -1
  497. package/dist/index.d.ts +141 -29
  498. package/dist/index.es.js +4 -0
  499. package/dist/index.es.js.map +1 -1
  500. package/dist/node_modules/tabbable/dist/index.esm.cjs.js +1 -1
  501. package/dist/node_modules/tabbable/dist/index.esm.cjs.js.map +1 -1
  502. package/dist/node_modules/tabbable/dist/index.esm.es.js +4 -3
  503. package/dist/node_modules/tabbable/dist/index.esm.es.js.map +1 -1
  504. package/dist/readyclasses.module.scss.cjs.js +2 -2
  505. package/dist/readyclasses.module.scss.es.js +5 -5
  506. package/dist/util/helper.cjs.js +1 -1
  507. package/dist/util/helper.cjs.js.map +1 -1
  508. package/dist/util/helper.es.js +33 -16
  509. package/dist/util/helper.es.js.map +1 -1
  510. package/package.json +12 -12
@@ -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 */.BaseModalActions_actions_gLrTA{margin:1.5rem 0 1rem;padding:1rem 1.5rem 0;display:flex;justify-content:space-between;border-top:1px solid var(--color-blue-grey100)}.BaseModalActions_actions_gLrTA>*+*{margin-left:2rem}@media screen and (max-width:640px){.BaseModalActions_actions_gLrTA{display:block}.BaseModalActions_actions_gLrTA .BaseModalActions_cancel-action_gLrTA{display:none}.BaseModalActions_actions_gLrTA .BaseModalActions_primary-actions_gLrTA{flex-direction:column;align-items:flex-end;margin-left:0}.BaseModalActions_actions_gLrTA .BaseModalActions_primary-actions_gLrTA>*{width:100%}.BaseModalActions_actions_gLrTA .BaseModalActions_primary-actions_gLrTA>*+*{margin-top:.5rem}}.BaseModalActions_primary-actions_gLrTA{display:flex;flex-grow:1;justify-content:flex-end}.BaseModalActions_primary-actions_gLrTA button{white-space:nowrap}@media screen and (min-width:640px){.BaseModalActions_primary-actions_gLrTA button+button{margin-left:.5rem}}')),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 o="BaseModalActions_actions_gLrTA",a={actions:o,"cancel-action":"BaseModalActions_cancel-action_gLrTA","primary-actions":"BaseModalActions_primary-actions_gLrTA"};exports.actions=o,exports.default=a;
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 */.BaseModalActions_actions_8eZbI{margin:1.5rem 0 1rem;padding:1rem 1.5rem 0;display:flex;justify-content:space-between;border-top:1px solid var(--color-blue-grey100)}.BaseModalActions_actions_8eZbI>*+*{margin-left:2rem}@media screen and (max-width:640px){.BaseModalActions_actions_8eZbI{display:block}.BaseModalActions_actions_8eZbI .BaseModalActions_cancel-action_8eZbI{display:none}.BaseModalActions_actions_8eZbI .BaseModalActions_primary-actions_8eZbI{flex-direction:column;align-items:flex-end;margin-left:0}.BaseModalActions_actions_8eZbI .BaseModalActions_primary-actions_8eZbI>*{width:100%}.BaseModalActions_actions_8eZbI .BaseModalActions_primary-actions_8eZbI>*+*{margin-top:.5rem}}.BaseModalActions_primary-actions_8eZbI{display:flex;flex-grow:1;justify-content:flex-end}.BaseModalActions_primary-actions_8eZbI button{white-space:nowrap}@media screen and (min-width:640px){.BaseModalActions_primary-actions_8eZbI button+button{margin-left:.5rem}}')),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="BaseModalActions_actions_8eZbI",o={actions:e,"cancel-action":"BaseModalActions_cancel-action_8eZbI","primary-actions":"BaseModalActions_primary-actions_8eZbI"};exports.actions=e,exports.default=o;
3
3
  //# sourceMappingURL=BaseModalActions.module.scss.cjs.js.map
@@ -1,9 +1,9 @@
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 */.BaseModalActions_actions_gLrTA{margin:1.5rem 0 1rem;padding:1rem 1.5rem 0;display:flex;justify-content:space-between;border-top:1px solid var(--color-blue-grey100)}.BaseModalActions_actions_gLrTA>*+*{margin-left:2rem}@media screen and (max-width:640px){.BaseModalActions_actions_gLrTA{display:block}.BaseModalActions_actions_gLrTA .BaseModalActions_cancel-action_gLrTA{display:none}.BaseModalActions_actions_gLrTA .BaseModalActions_primary-actions_gLrTA{flex-direction:column;align-items:flex-end;margin-left:0}.BaseModalActions_actions_gLrTA .BaseModalActions_primary-actions_gLrTA>*{width:100%}.BaseModalActions_actions_gLrTA .BaseModalActions_primary-actions_gLrTA>*+*{margin-top:.5rem}}.BaseModalActions_primary-actions_gLrTA{display:flex;flex-grow:1;justify-content:flex-end}.BaseModalActions_primary-actions_gLrTA button{white-space:nowrap}@media screen and (min-width:640px){.BaseModalActions_primary-actions_gLrTA button+button{margin-left:.5rem}}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
- const actions = "BaseModalActions_actions_gLrTA";
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 */.BaseModalActions_actions_8eZbI{margin:1.5rem 0 1rem;padding:1rem 1.5rem 0;display:flex;justify-content:space-between;border-top:1px solid var(--color-blue-grey100)}.BaseModalActions_actions_8eZbI>*+*{margin-left:2rem}@media screen and (max-width:640px){.BaseModalActions_actions_8eZbI{display:block}.BaseModalActions_actions_8eZbI .BaseModalActions_cancel-action_8eZbI{display:none}.BaseModalActions_actions_8eZbI .BaseModalActions_primary-actions_8eZbI{flex-direction:column;align-items:flex-end;margin-left:0}.BaseModalActions_actions_8eZbI .BaseModalActions_primary-actions_8eZbI>*{width:100%}.BaseModalActions_actions_8eZbI .BaseModalActions_primary-actions_8eZbI>*+*{margin-top:.5rem}}.BaseModalActions_primary-actions_8eZbI{display:flex;flex-grow:1;justify-content:flex-end}.BaseModalActions_primary-actions_8eZbI button{white-space:nowrap}@media screen and (min-width:640px){.BaseModalActions_primary-actions_8eZbI button+button{margin-left:.5rem}}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
+ const actions = "BaseModalActions_actions_8eZbI";
3
3
  const classes = {
4
4
  actions,
5
- "cancel-action": "BaseModalActions_cancel-action_gLrTA",
6
- "primary-actions": "BaseModalActions_primary-actions_gLrTA"
5
+ "cancel-action": "BaseModalActions_cancel-action_8eZbI",
6
+ "primary-actions": "BaseModalActions_primary-actions_8eZbI"
7
7
  };
8
8
  export {
9
9
  actions,
@@ -1 +1 @@
1
- {"version":3,"file":"BaseModalContent.cjs.js","sources":["../../../../../src/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.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 createRef,\n useEffect\n} from \"react\";\nimport classes from \"./BaseModalContent.module.scss\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id?: string;\n children: React.ReactNode;\n className?: string;\n disableAutoFocus?: boolean;\n}\n\nconst BaseModalContentComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, children, className = \"\", disableAutoFocus = false, ...rest }: Props,\n ref\n) => {\n const contentRef = createRef<HTMLDivElement>();\n\n useEffect(() => {\n if (!disableAutoFocus && ref) {\n (ref as React.RefObject<HTMLDivElement>).current?.focus();\n } else if (!disableAutoFocus) {\n contentRef.current?.focus();\n }\n }, []);\n\n /**tabIndex is set to be able to do focus on that element which we need for catching keyDown events */\n return (\n <div\n {...rest}\n ref={ref ?? contentRef}\n id={id}\n className={`${classes[\"content\"]} ${className}`}\n tabIndex={-1}\n >\n {children}\n </div>\n );\n};\n\nexport const BaseModalContent = React.forwardRef(BaseModalContentComponent);\n"],"names":["BaseModalContent","React","forwardRef","id","children","className","disableAutoFocus","rest","ref","contentRef","createRef","useEffect","_a","current","focus","_b","createElement","classes","tabIndex"],"mappings":"4JA2DaA,EAAmBC,EAAMC,WA5B6C,EAC/EC,KAAIC,WAAUC,YAAY,GAAIC,oBAAmB,KAAUC,GAC7DC,KAEA,MAAMC,EAAaC,EAAAA,YAWnB,OATAC,EAAAA,UAAU,cACHL,GAAoBE,EACtB,OAAAI,EAAAJ,EAAwCK,UAAxCD,EAAiDE,QACxCR,GACV,OAAAS,EAAAN,EAAWI,UAAXE,EAAoBD,SAErB,IAIDb,EAAAe,cAAC,MAAA,IACKT,EACJC,IAAKA,GAAOC,EACZN,KACAE,UAAW,GAAGY,EAAAA,QAAiB,WAAKZ,IACpCa,UAAU,GAETd"}
1
+ {"version":3,"file":"BaseModalContent.cjs.js","sources":["../../../../../src/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.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 createRef,\n useEffect\n} from \"react\";\nimport classes from \"./BaseModalContent.module.scss\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id?: string;\n children: React.ReactNode;\n className?: string;\n disableAutoFocus?: boolean;\n}\n\nconst BaseModalContentComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, children, className = \"\", disableAutoFocus = false, ...rest }: Props,\n ref\n) => {\n const contentRef = createRef<HTMLDivElement>();\n\n useEffect(() => {\n if (!disableAutoFocus && ref) {\n (ref as React.RefObject<HTMLDivElement | null>).current?.focus();\n } else if (!disableAutoFocus) {\n contentRef.current?.focus();\n }\n }, []);\n\n /**tabIndex is set to be able to do focus on that element which we need for catching keyDown events */\n return (\n <div\n {...rest}\n ref={ref ?? contentRef}\n id={id}\n className={`${classes[\"content\"]} ${className}`}\n tabIndex={-1}\n >\n {children}\n </div>\n );\n};\n\nexport const BaseModalContent = React.forwardRef(BaseModalContentComponent);\n"],"names":["BaseModalContent","React","forwardRef","id","children","className","disableAutoFocus","rest","ref","contentRef","createRef","useEffect","_a","current","focus","_b","createElement","classes","tabIndex"],"mappings":"4JA2DaA,EAAmBC,EAAMC,WA5B6C,EAC/EC,KAAIC,WAAUC,YAAY,GAAIC,oBAAmB,KAAUC,GAC7DC,KAEA,MAAMC,EAAaC,EAAAA,YAWnB,OATAC,EAAAA,UAAU,cACHL,GAAoBE,EACtB,OAAAI,EAAAJ,EAA+CK,UAA/CD,EAAwDE,QAC/CR,GACV,OAAAS,EAAAN,EAAWI,UAAXE,EAAoBD,SAErB,IAIDb,EAAAe,cAAC,MAAA,IACKT,EACJC,IAAKA,GAAOC,EACZN,KACAE,UAAW,GAAGY,EAAAA,QAAiB,WAAKZ,IACpCa,UAAU,GAETd"}
@@ -1 +1 @@
1
- {"version":3,"file":"BaseModalContent.es.js","sources":["../../../../../src/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.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 createRef,\n useEffect\n} from \"react\";\nimport classes from \"./BaseModalContent.module.scss\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id?: string;\n children: React.ReactNode;\n className?: string;\n disableAutoFocus?: boolean;\n}\n\nconst BaseModalContentComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, children, className = \"\", disableAutoFocus = false, ...rest }: Props,\n ref\n) => {\n const contentRef = createRef<HTMLDivElement>();\n\n useEffect(() => {\n if (!disableAutoFocus && ref) {\n (ref as React.RefObject<HTMLDivElement>).current?.focus();\n } else if (!disableAutoFocus) {\n contentRef.current?.focus();\n }\n }, []);\n\n /**tabIndex is set to be able to do focus on that element which we need for catching keyDown events */\n return (\n <div\n {...rest}\n ref={ref ?? contentRef}\n id={id}\n className={`${classes[\"content\"]} ${className}`}\n tabIndex={-1}\n >\n {children}\n </div>\n );\n};\n\nexport const BaseModalContent = React.forwardRef(BaseModalContentComponent);\n"],"names":[],"mappings":";;AA+BA,MAAM,4BAA6E,CACjF,EAAE,IAAI,UAAU,YAAY,IAAI,mBAAmB,OAAO,GAAG,KAAA,GAC7D,QACG;AACH,QAAM,aAAa,UAAA;AAEnB,YAAU,MAAM;;AACd,QAAI,CAAC,oBAAoB,KAAK;AAC3B,gBAAwC,YAAxC,mBAAiD;AAAA,IACpD,WAAW,CAAC,kBAAkB;AAC5B,uBAAW,YAAX,mBAAoB;AAAA,IACtB;AAAA,EACF,GAAG,CAAA,CAAE;AAGL,SACE,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ,KAAK,OAAO;AAAA,MACZ;AAAA,MACA,WAAW,GAAG,QAAQ,SAAS,CAAC,IAAI,SAAS;AAAA,MAC7C,UAAU;AAAA,IAAA;AAAA,IAET;AAAA,EAAA;AAGP;AAEO,MAAM,mBAAmB,MAAM,WAAW,yBAAyB;"}
1
+ {"version":3,"file":"BaseModalContent.es.js","sources":["../../../../../src/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.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 createRef,\n useEffect\n} from \"react\";\nimport classes from \"./BaseModalContent.module.scss\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id?: string;\n children: React.ReactNode;\n className?: string;\n disableAutoFocus?: boolean;\n}\n\nconst BaseModalContentComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, children, className = \"\", disableAutoFocus = false, ...rest }: Props,\n ref\n) => {\n const contentRef = createRef<HTMLDivElement>();\n\n useEffect(() => {\n if (!disableAutoFocus && ref) {\n (ref as React.RefObject<HTMLDivElement | null>).current?.focus();\n } else if (!disableAutoFocus) {\n contentRef.current?.focus();\n }\n }, []);\n\n /**tabIndex is set to be able to do focus on that element which we need for catching keyDown events */\n return (\n <div\n {...rest}\n ref={ref ?? contentRef}\n id={id}\n className={`${classes[\"content\"]} ${className}`}\n tabIndex={-1}\n >\n {children}\n </div>\n );\n};\n\nexport const BaseModalContent = React.forwardRef(BaseModalContentComponent);\n"],"names":[],"mappings":";;AA+BA,MAAM,4BAA6E,CACjF,EAAE,IAAI,UAAU,YAAY,IAAI,mBAAmB,OAAO,GAAG,KAAA,GAC7D,QACG;AACH,QAAM,aAAa,UAAA;AAEnB,YAAU,MAAM;;AACd,QAAI,CAAC,oBAAoB,KAAK;AAC3B,gBAA+C,YAA/C,mBAAwD;AAAA,IAC3D,WAAW,CAAC,kBAAkB;AAC5B,uBAAW,YAAX,mBAAoB;AAAA,IACtB;AAAA,EACF,GAAG,CAAA,CAAE;AAGL,SACE,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ,KAAK,OAAO;AAAA,MACZ;AAAA,MACA,WAAW,GAAG,QAAQ,SAAS,CAAC,IAAI,SAAS;AAAA,MAC7C,UAAU;AAAA,IAAA;AAAA,IAET;AAAA,EAAA;AAGP;AAEO,MAAM,mBAAmB,MAAM,WAAW,yBAAyB;"}
@@ -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 */.BaseModalContent_content_gLrTA{padding:1.25rem 1.5rem 0;overflow-y:auto;flex:1;outline:none;font-size:var(--modal-content-font-size);line-height:1.43;overflow-wrap:break-word}')),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="BaseModalContent_content_gLrTA",t={content:e};exports.content=e,exports.default=t;
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 */.BaseModalContent_content_8eZbI{padding:1.25rem 1.5rem 0;overflow-y:auto;flex:1;outline:none;font-size:var(--modal-content-font-size);line-height:1.43;overflow-wrap:break-word}')),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="BaseModalContent_content_8eZbI",t={content:e};exports.content=e,exports.default=t;
3
3
  //# sourceMappingURL=BaseModalContent.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 */.BaseModalContent_content_gLrTA{padding:1.25rem 1.5rem 0;overflow-y:auto;flex:1;outline:none;font-size:var(--modal-content-font-size);line-height:1.43;overflow-wrap:break-word}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
- const content = "BaseModalContent_content_gLrTA";
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 */.BaseModalContent_content_8eZbI{padding:1.25rem 1.5rem 0;overflow-y:auto;flex:1;outline:none;font-size:var(--modal-content-font-size);line-height:1.43;overflow-wrap:break-word}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
+ const content = "BaseModalContent_content_8eZbI";
3
3
  const classes = {
4
4
  content
5
5
  };
@@ -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 */.BaseModalHeader_header_gLrTA{min-width:80px;padding:1.25rem 1.5rem 0;border-top-left-radius:8px;border-top-right-radius:8px}.BaseModalHeader_header_gLrTA .BaseModalHeader_headline_gLrTA{display:flex;align-items:center;justify-content:space-between}.BaseModalHeader_header_gLrTA .BaseModalHeader_headline_gLrTA .BaseModalHeader_title-wrapper_gLrTA{min-width:0}.BaseModalHeader_header_gLrTA .BaseModalHeader_headline_gLrTA .BaseModalHeader_title_gLrTA{min-width:0;margin:0;color:var(--modal-title-color);overflow-wrap:break-word}.BaseModalHeader_header_gLrTA .BaseModalHeader_closeBtn_gLrTA{flex-shrink:0;align-self:flex-start}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="BaseModalHeader_header_gLrTA",a="BaseModalHeader_headline_gLrTA",r="BaseModalHeader_title_gLrTA",t="BaseModalHeader_closeBtn_gLrTA",l={header:e,headline:a,"title-wrapper":"BaseModalHeader_title-wrapper_gLrTA",title:r,closeBtn:t};exports.closeBtn=t,exports.default=l,exports.header=e,exports.headline=a,exports.title=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 */.BaseModalHeader_header_8eZbI{min-width:80px;padding:1.25rem 1.5rem 0;border-top-left-radius:8px;border-top-right-radius:8px}.BaseModalHeader_header_8eZbI .BaseModalHeader_headline_8eZbI{display:flex;align-items:center;justify-content:space-between}.BaseModalHeader_header_8eZbI .BaseModalHeader_headline_8eZbI .BaseModalHeader_title-wrapper_8eZbI{min-width:0}.BaseModalHeader_header_8eZbI .BaseModalHeader_headline_8eZbI .BaseModalHeader_title_8eZbI{min-width:0;margin:0;color:var(--modal-title-color);overflow-wrap:break-word}.BaseModalHeader_header_8eZbI .BaseModalHeader_closeBtn_8eZbI{flex-shrink:0;align-self:flex-start}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="BaseModalHeader_header_8eZbI",a="BaseModalHeader_headline_8eZbI",t="BaseModalHeader_title_8eZbI",l="BaseModalHeader_closeBtn_8eZbI",r={header:e,headline:a,"title-wrapper":"BaseModalHeader_title-wrapper_8eZbI",title:t,closeBtn:l};exports.closeBtn=l,exports.default=r,exports.header=e,exports.headline=a,exports.title=t;
3
3
  //# sourceMappingURL=BaseModalHeader.module.scss.cjs.js.map
@@ -1,12 +1,12 @@
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 */.BaseModalHeader_header_gLrTA{min-width:80px;padding:1.25rem 1.5rem 0;border-top-left-radius:8px;border-top-right-radius:8px}.BaseModalHeader_header_gLrTA .BaseModalHeader_headline_gLrTA{display:flex;align-items:center;justify-content:space-between}.BaseModalHeader_header_gLrTA .BaseModalHeader_headline_gLrTA .BaseModalHeader_title-wrapper_gLrTA{min-width:0}.BaseModalHeader_header_gLrTA .BaseModalHeader_headline_gLrTA .BaseModalHeader_title_gLrTA{min-width:0;margin:0;color:var(--modal-title-color);overflow-wrap:break-word}.BaseModalHeader_header_gLrTA .BaseModalHeader_closeBtn_gLrTA{flex-shrink:0;align-self:flex-start}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}}();
2
- const header = "BaseModalHeader_header_gLrTA";
3
- const headline = "BaseModalHeader_headline_gLrTA";
4
- const title = "BaseModalHeader_title_gLrTA";
5
- const closeBtn = "BaseModalHeader_closeBtn_gLrTA";
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 */.BaseModalHeader_header_8eZbI{min-width:80px;padding:1.25rem 1.5rem 0;border-top-left-radius:8px;border-top-right-radius:8px}.BaseModalHeader_header_8eZbI .BaseModalHeader_headline_8eZbI{display:flex;align-items:center;justify-content:space-between}.BaseModalHeader_header_8eZbI .BaseModalHeader_headline_8eZbI .BaseModalHeader_title-wrapper_8eZbI{min-width:0}.BaseModalHeader_header_8eZbI .BaseModalHeader_headline_8eZbI .BaseModalHeader_title_8eZbI{min-width:0;margin:0;color:var(--modal-title-color);overflow-wrap:break-word}.BaseModalHeader_header_8eZbI .BaseModalHeader_closeBtn_8eZbI{flex-shrink:0;align-self:flex-start}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}}();
2
+ const header = "BaseModalHeader_header_8eZbI";
3
+ const headline = "BaseModalHeader_headline_8eZbI";
4
+ const title = "BaseModalHeader_title_8eZbI";
5
+ const closeBtn = "BaseModalHeader_closeBtn_8eZbI";
6
6
  const classes = {
7
7
  header,
8
8
  headline,
9
- "title-wrapper": "BaseModalHeader_title-wrapper_gLrTA",
9
+ "title-wrapper": "BaseModalHeader_title-wrapper_8eZbI",
10
10
  title,
11
11
  closeBtn
12
12
  };
@@ -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 */.Dialog_dialog_gLrTA{align-items:center}@media only screen and (min-width:50em){.Dialog_container_gLrTA{width:30rem;margin-top:0;max-height:90%}}.Dialog_content_gLrTA{padding-top:0}')),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="Dialog_dialog_gLrTA",o="Dialog_container_gLrTA",t="Dialog_content_gLrTA",n={dialog:e,container:o,content:t};exports.container=o,exports.content=t,exports.default=n,exports.dialog=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 */.Dialog_dialog_8eZbI{align-items:center}@media only screen and (min-width:50em){.Dialog_container_8eZbI{width:30rem;margin-top:0;max-height:90%}}.Dialog_content_8eZbI{padding-top:0}')),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="Dialog_dialog_8eZbI",o="Dialog_container_8eZbI",t="Dialog_content_8eZbI",n={dialog:e,container:o,content:t};exports.container=o,exports.content=t,exports.default=n,exports.dialog=e;
3
3
  //# sourceMappingURL=Dialog.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 */.Dialog_dialog_gLrTA{align-items:center}@media only screen and (min-width:50em){.Dialog_container_gLrTA{width:30rem;margin-top:0;max-height:90%}}.Dialog_content_gLrTA{padding-top:0}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
- const dialog = "Dialog_dialog_gLrTA";
3
- const container = "Dialog_container_gLrTA";
4
- const content = "Dialog_content_gLrTA";
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 */.Dialog_dialog_8eZbI{align-items:center}@media only screen and (min-width:50em){.Dialog_container_8eZbI{width:30rem;margin-top:0;max-height:90%}}.Dialog_content_8eZbI{padding-top:0}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
+ const dialog = "Dialog_dialog_8eZbI";
3
+ const container = "Dialog_container_8eZbI";
4
+ const content = "Dialog_content_8eZbI";
5
5
  const classes = {
6
6
  dialog,
7
7
  container,
@@ -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 */.DialogActions_actions_gLrTA *+*{margin-left:.5rem}@media screen and (max-width:640px){.DialogActions_actions_gLrTA .DialogActions_cancel-action_gLrTA{display:block;flex-direction:column;align-items:flex-end;margin-left:0;margin-bottom:.5rem}.DialogActions_actions_gLrTA .DialogActions_cancel-action_gLrTA>*{width:100%}}')),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 o="DialogActions_actions_gLrTA",t={actions:o,"cancel-action":"DialogActions_cancel-action_gLrTA"};exports.actions=o,exports.default=t;
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 */.DialogActions_actions_8eZbI *+*{margin-left:.5rem}@media screen and (max-width:640px){.DialogActions_actions_8eZbI .DialogActions_cancel-action_8eZbI{display:block;flex-direction:column;align-items:flex-end;margin-left:0;margin-bottom:.5rem}.DialogActions_actions_8eZbI .DialogActions_cancel-action_8eZbI>*{width:100%}}')),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="DialogActions_actions_8eZbI",o={actions:e,"cancel-action":"DialogActions_cancel-action_8eZbI"};exports.actions=e,exports.default=o;
3
3
  //# sourceMappingURL=DialogActions.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 */.DialogActions_actions_gLrTA *+*{margin-left:.5rem}@media screen and (max-width:640px){.DialogActions_actions_gLrTA .DialogActions_cancel-action_gLrTA{display:block;flex-direction:column;align-items:flex-end;margin-left:0;margin-bottom:.5rem}.DialogActions_actions_gLrTA .DialogActions_cancel-action_gLrTA>*{width:100%}}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
- const actions = "DialogActions_actions_gLrTA";
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 */.DialogActions_actions_8eZbI *+*{margin-left:.5rem}@media screen and (max-width:640px){.DialogActions_actions_8eZbI .DialogActions_cancel-action_8eZbI{display:block;flex-direction:column;align-items:flex-end;margin-left:0;margin-bottom:.5rem}.DialogActions_actions_8eZbI .DialogActions_cancel-action_8eZbI>*{width:100%}}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
+ const actions = "DialogActions_actions_8eZbI";
3
3
  const classes = {
4
4
  actions,
5
- "cancel-action": "DialogActions_cancel-action_gLrTA"
5
+ "cancel-action": "DialogActions_cancel-action_8eZbI"
6
6
  };
7
7
  export {
8
8
  actions,
@@ -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 */.DialogTitle_header_gLrTA{margin:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between}.DialogTitle_header_gLrTA .DialogTitle_headline_gLrTA{display:flex;min-width:0}.DialogTitle_header_gLrTA .DialogTitle_headline_gLrTA.DialogTitle_with-caption_gLrTA{align-items:flex-start}.DialogTitle_header_gLrTA .DialogTitle_headline_gLrTA.DialogTitle_no-caption_gLrTA{align-items:center}.DialogTitle_header_gLrTA .DialogTitle_headline_gLrTA .DialogTitle_title-wrapper_gLrTA{min-width:0}.DialogTitle_header_gLrTA .DialogTitle_headline_gLrTA .DialogTitle_title_gLrTA{margin:0;line-height:1;color:var(--modal-title-color);overflow-wrap:break-word}.DialogTitle_header_gLrTA .DialogTitle_headline_gLrTA .DialogTitle_title-icon_gLrTA>[data-icon]{font-size:var(--font-size-big)}.DialogTitle_header_gLrTA .DialogTitle_caption_gLrTA{color:var(--color-blue-grey500)}.DialogTitle_header_gLrTA .DialogTitle_close-button_gLrTA{flex-shrink:0}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="DialogTitle_header_gLrTA",t="DialogTitle_headline_gLrTA",i="DialogTitle_title_gLrTA",l="DialogTitle_caption_gLrTA",o={header:e,headline:t,"with-caption":"DialogTitle_with-caption_gLrTA","no-caption":"DialogTitle_no-caption_gLrTA","title-wrapper":"DialogTitle_title-wrapper_gLrTA",title:i,"title-icon":"DialogTitle_title-icon_gLrTA",caption:l,"close-button":"DialogTitle_close-button_gLrTA"};exports.caption=l,exports.default=o,exports.header=e,exports.headline=t,exports.title=i;
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 */.DialogTitle_header_8eZbI{margin:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between}.DialogTitle_header_8eZbI .DialogTitle_headline_8eZbI{display:flex;min-width:0}.DialogTitle_header_8eZbI .DialogTitle_headline_8eZbI.DialogTitle_with-caption_8eZbI{align-items:flex-start}.DialogTitle_header_8eZbI .DialogTitle_headline_8eZbI.DialogTitle_no-caption_8eZbI{align-items:center}.DialogTitle_header_8eZbI .DialogTitle_headline_8eZbI .DialogTitle_title-wrapper_8eZbI{min-width:0}.DialogTitle_header_8eZbI .DialogTitle_headline_8eZbI .DialogTitle_title_8eZbI{margin:0;line-height:1;color:var(--modal-title-color);overflow-wrap:break-word}.DialogTitle_header_8eZbI .DialogTitle_headline_8eZbI .DialogTitle_title-icon_8eZbI>[data-icon]{font-size:var(--font-size-big)}.DialogTitle_header_8eZbI .DialogTitle_caption_8eZbI{color:var(--color-blue-grey500)}.DialogTitle_header_8eZbI .DialogTitle_close-button_8eZbI{flex-shrink:0}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="DialogTitle_header_8eZbI",t="DialogTitle_headline_8eZbI",i="DialogTitle_title_8eZbI",l="DialogTitle_caption_8eZbI",o={header:e,headline:t,"with-caption":"DialogTitle_with-caption_8eZbI","no-caption":"DialogTitle_no-caption_8eZbI","title-wrapper":"DialogTitle_title-wrapper_8eZbI",title:i,"title-icon":"DialogTitle_title-icon_8eZbI",caption:l,"close-button":"DialogTitle_close-button_8eZbI"};exports.caption=l,exports.default=o,exports.header=e,exports.headline=t,exports.title=i;
3
3
  //# sourceMappingURL=DialogTitle.module.scss.cjs.js.map
@@ -1,18 +1,18 @@
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 */.DialogTitle_header_gLrTA{margin:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between}.DialogTitle_header_gLrTA .DialogTitle_headline_gLrTA{display:flex;min-width:0}.DialogTitle_header_gLrTA .DialogTitle_headline_gLrTA.DialogTitle_with-caption_gLrTA{align-items:flex-start}.DialogTitle_header_gLrTA .DialogTitle_headline_gLrTA.DialogTitle_no-caption_gLrTA{align-items:center}.DialogTitle_header_gLrTA .DialogTitle_headline_gLrTA .DialogTitle_title-wrapper_gLrTA{min-width:0}.DialogTitle_header_gLrTA .DialogTitle_headline_gLrTA .DialogTitle_title_gLrTA{margin:0;line-height:1;color:var(--modal-title-color);overflow-wrap:break-word}.DialogTitle_header_gLrTA .DialogTitle_headline_gLrTA .DialogTitle_title-icon_gLrTA>[data-icon]{font-size:var(--font-size-big)}.DialogTitle_header_gLrTA .DialogTitle_caption_gLrTA{color:var(--color-blue-grey500)}.DialogTitle_header_gLrTA .DialogTitle_close-button_gLrTA{flex-shrink:0}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
- const header = "DialogTitle_header_gLrTA";
3
- const headline = "DialogTitle_headline_gLrTA";
4
- const title = "DialogTitle_title_gLrTA";
5
- const caption = "DialogTitle_caption_gLrTA";
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 */.DialogTitle_header_8eZbI{margin:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between}.DialogTitle_header_8eZbI .DialogTitle_headline_8eZbI{display:flex;min-width:0}.DialogTitle_header_8eZbI .DialogTitle_headline_8eZbI.DialogTitle_with-caption_8eZbI{align-items:flex-start}.DialogTitle_header_8eZbI .DialogTitle_headline_8eZbI.DialogTitle_no-caption_8eZbI{align-items:center}.DialogTitle_header_8eZbI .DialogTitle_headline_8eZbI .DialogTitle_title-wrapper_8eZbI{min-width:0}.DialogTitle_header_8eZbI .DialogTitle_headline_8eZbI .DialogTitle_title_8eZbI{margin:0;line-height:1;color:var(--modal-title-color);overflow-wrap:break-word}.DialogTitle_header_8eZbI .DialogTitle_headline_8eZbI .DialogTitle_title-icon_8eZbI>[data-icon]{font-size:var(--font-size-big)}.DialogTitle_header_8eZbI .DialogTitle_caption_8eZbI{color:var(--color-blue-grey500)}.DialogTitle_header_8eZbI .DialogTitle_close-button_8eZbI{flex-shrink:0}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
+ const header = "DialogTitle_header_8eZbI";
3
+ const headline = "DialogTitle_headline_8eZbI";
4
+ const title = "DialogTitle_title_8eZbI";
5
+ const caption = "DialogTitle_caption_8eZbI";
6
6
  const classes = {
7
7
  header,
8
8
  headline,
9
- "with-caption": "DialogTitle_with-caption_gLrTA",
10
- "no-caption": "DialogTitle_no-caption_gLrTA",
11
- "title-wrapper": "DialogTitle_title-wrapper_gLrTA",
9
+ "with-caption": "DialogTitle_with-caption_8eZbI",
10
+ "no-caption": "DialogTitle_no-caption_8eZbI",
11
+ "title-wrapper": "DialogTitle_title-wrapper_8eZbI",
12
12
  title,
13
- "title-icon": "DialogTitle_title-icon_gLrTA",
13
+ "title-icon": "DialogTitle_title-icon_8eZbI",
14
14
  caption,
15
- "close-button": "DialogTitle_close-button_gLrTA"
15
+ "close-button": "DialogTitle_close-button_8eZbI"
16
16
  };
17
17
  export {
18
18
  caption,
@@ -1 +1 @@
1
- {"version":3,"file":"DiscardChangesModal.cjs.js","sources":["../../../../src/components/Notifications/DiscardChangesModal/DiscardChangesModal.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, { Fragment, useState } from \"react\";\nimport { Modal, Props as ModalProps } from \"../Modal/Modal\";\nimport { ModalHeader, Props as ModalHeaderProps } from \"../Modal/ModalHeader/ModalHeader\";\nimport {\n DiscardChangesDialog,\n Props as DiscardChangesDialogProps\n} from \"./DiscardChangesDialog/DiscardChangesDialog\";\n\nexport interface Props extends Omit<ModalProps, \"onClose\"> {\n hasUnsavedChanges: () => boolean;\n onClose: (event?: React.MouseEvent<HTMLElement>) => unknown;\n headerProps: Omit<ModalHeaderProps, \"onClose\" | \"id\">;\n discardChangedDialogProps: Omit<\n DiscardChangesDialogProps,\n \"open\" | \"onKeepEditing\" | \"onDiscardChanges\"\n >;\n modalRef?: React.RefObject<HTMLDivElement>;\n dialogRef?: React.RefObject<HTMLDivElement>;\n}\n\nexport const DiscardChangesModal = ({\n id,\n children,\n headerProps,\n discardChangedDialogProps,\n modalRef,\n dialogRef,\n onClose,\n hasUnsavedChanges,\n ...rest\n}: Props) => {\n const [openDiscardChangesDialog, setOpenDiscardChangesDialog] = useState(false);\n\n const onCloseWrapper = () =>\n hasUnsavedChanges() ? setOpenDiscardChangesDialog(true) : onClose();\n\n const onDialogKeepEditing = () => {\n setOpenDiscardChangesDialog(false);\n };\n\n const onDialogDiscardChanges = () => {\n setOpenDiscardChangesDialog(false);\n onClose();\n };\n\n return (\n <Fragment>\n <Modal id={id} ref={modalRef} onClose={onCloseWrapper} {...rest}>\n <ModalHeader {...headerProps} id={`${id}-label`} onClose={onCloseWrapper} />\n {children}\n </Modal>\n <DiscardChangesDialog\n {...discardChangedDialogProps}\n ref={dialogRef}\n open={openDiscardChangesDialog}\n onKeepEditing={onDialogKeepEditing}\n onDiscardChanges={onDialogDiscardChanges}\n />\n </Fragment>\n );\n};\n"],"names":["id","children","headerProps","discardChangedDialogProps","modalRef","dialogRef","onClose","hasUnsavedChanges","rest","openDiscardChangesDialog","setOpenDiscardChangesDialog","useState","onCloseWrapper","React","createElement","Fragment","Modal","ref","ModalHeader","DiscardChangesDialog","open","onKeepEditing","onDiscardChanges"],"mappings":"iTAoCmC,EACjCA,KACAC,WACAC,cACAC,4BACAC,WACAC,YACAC,UACAC,uBACGC,MAEH,MAAOC,EAA0BC,GAA+BC,EAAAA,UAAS,GAEnEC,EAAiB,IACrBL,IAAsBG,GAA4B,GAAQJ,IAW5D,OACEO,EAAAC,cAACC,EAAAA,cACCF,EAAAC,cAACE,EAAAA,UAAA,CAAMhB,KAAQiB,IAAKb,EAAUE,QAASM,KAAoBJ,mBACxDU,EAAAA,gBAAA,IAAgBhB,EAAaF,GAAI,GAAGA,UAAYM,QAASM,IACzDX,GAEHY,EAAAC,cAACK,EAAAA,qBAAA,IACKhB,EACJc,IAAKZ,EACLe,KAAMX,EACNY,cAnBsB,KAC1BX,GAA4B,IAmBxBY,iBAhByB,KAC7BZ,GAA4B,GAC5BJ"}
1
+ {"version":3,"file":"DiscardChangesModal.cjs.js","sources":["../../../../src/components/Notifications/DiscardChangesModal/DiscardChangesModal.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, { Fragment, useState } from \"react\";\nimport { Modal, Props as ModalProps } from \"../Modal/Modal\";\nimport { ModalHeader, Props as ModalHeaderProps } from \"../Modal/ModalHeader/ModalHeader\";\nimport {\n DiscardChangesDialog,\n Props as DiscardChangesDialogProps\n} from \"./DiscardChangesDialog/DiscardChangesDialog\";\n\nexport interface Props extends Omit<ModalProps, \"onClose\"> {\n hasUnsavedChanges: () => boolean;\n onClose: (event?: React.MouseEvent<HTMLElement>) => unknown;\n headerProps: Omit<ModalHeaderProps, \"onClose\" | \"id\">;\n discardChangedDialogProps: Omit<\n DiscardChangesDialogProps,\n \"open\" | \"onKeepEditing\" | \"onDiscardChanges\"\n >;\n modalRef?: React.RefObject<HTMLDivElement | null>;\n dialogRef?: React.RefObject<HTMLDivElement | null>;\n}\n\nexport const DiscardChangesModal = ({\n id,\n children,\n headerProps,\n discardChangedDialogProps,\n modalRef,\n dialogRef,\n onClose,\n hasUnsavedChanges,\n ...rest\n}: Props) => {\n const [openDiscardChangesDialog, setOpenDiscardChangesDialog] = useState(false);\n\n const onCloseWrapper = () =>\n hasUnsavedChanges() ? setOpenDiscardChangesDialog(true) : onClose();\n\n const onDialogKeepEditing = () => {\n setOpenDiscardChangesDialog(false);\n };\n\n const onDialogDiscardChanges = () => {\n setOpenDiscardChangesDialog(false);\n onClose();\n };\n\n return (\n <Fragment>\n <Modal id={id} ref={modalRef} onClose={onCloseWrapper} {...rest}>\n <ModalHeader {...headerProps} id={`${id}-label`} onClose={onCloseWrapper} />\n {children}\n </Modal>\n <DiscardChangesDialog\n {...discardChangedDialogProps}\n ref={dialogRef}\n open={openDiscardChangesDialog}\n onKeepEditing={onDialogKeepEditing}\n onDiscardChanges={onDialogDiscardChanges}\n />\n </Fragment>\n );\n};\n"],"names":["id","children","headerProps","discardChangedDialogProps","modalRef","dialogRef","onClose","hasUnsavedChanges","rest","openDiscardChangesDialog","setOpenDiscardChangesDialog","useState","onCloseWrapper","React","createElement","Fragment","Modal","ref","ModalHeader","DiscardChangesDialog","open","onKeepEditing","onDiscardChanges"],"mappings":"iTAoCmC,EACjCA,KACAC,WACAC,cACAC,4BACAC,WACAC,YACAC,UACAC,uBACGC,MAEH,MAAOC,EAA0BC,GAA+BC,EAAAA,UAAS,GAEnEC,EAAiB,IACrBL,IAAsBG,GAA4B,GAAQJ,IAW5D,OACEO,EAAAC,cAACC,EAAAA,cACCF,EAAAC,cAACE,EAAAA,UAAA,CAAMhB,KAAQiB,IAAKb,EAAUE,QAASM,KAAoBJ,mBACxDU,EAAAA,gBAAA,IAAgBhB,EAAaF,GAAI,GAAGA,UAAYM,QAASM,IACzDX,GAEHY,EAAAC,cAACK,EAAAA,qBAAA,IACKhB,EACJc,IAAKZ,EACLe,KAAMX,EACNY,cAnBsB,KAC1BX,GAA4B,IAmBxBY,iBAhByB,KAC7BZ,GAA4B,GAC5BJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"DiscardChangesModal.es.js","sources":["../../../../src/components/Notifications/DiscardChangesModal/DiscardChangesModal.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, { Fragment, useState } from \"react\";\nimport { Modal, Props as ModalProps } from \"../Modal/Modal\";\nimport { ModalHeader, Props as ModalHeaderProps } from \"../Modal/ModalHeader/ModalHeader\";\nimport {\n DiscardChangesDialog,\n Props as DiscardChangesDialogProps\n} from \"./DiscardChangesDialog/DiscardChangesDialog\";\n\nexport interface Props extends Omit<ModalProps, \"onClose\"> {\n hasUnsavedChanges: () => boolean;\n onClose: (event?: React.MouseEvent<HTMLElement>) => unknown;\n headerProps: Omit<ModalHeaderProps, \"onClose\" | \"id\">;\n discardChangedDialogProps: Omit<\n DiscardChangesDialogProps,\n \"open\" | \"onKeepEditing\" | \"onDiscardChanges\"\n >;\n modalRef?: React.RefObject<HTMLDivElement>;\n dialogRef?: React.RefObject<HTMLDivElement>;\n}\n\nexport const DiscardChangesModal = ({\n id,\n children,\n headerProps,\n discardChangedDialogProps,\n modalRef,\n dialogRef,\n onClose,\n hasUnsavedChanges,\n ...rest\n}: Props) => {\n const [openDiscardChangesDialog, setOpenDiscardChangesDialog] = useState(false);\n\n const onCloseWrapper = () =>\n hasUnsavedChanges() ? setOpenDiscardChangesDialog(true) : onClose();\n\n const onDialogKeepEditing = () => {\n setOpenDiscardChangesDialog(false);\n };\n\n const onDialogDiscardChanges = () => {\n setOpenDiscardChangesDialog(false);\n onClose();\n };\n\n return (\n <Fragment>\n <Modal id={id} ref={modalRef} onClose={onCloseWrapper} {...rest}>\n <ModalHeader {...headerProps} id={`${id}-label`} onClose={onCloseWrapper} />\n {children}\n </Modal>\n <DiscardChangesDialog\n {...discardChangedDialogProps}\n ref={dialogRef}\n open={openDiscardChangesDialog}\n onKeepEditing={onDialogKeepEditing}\n onDiscardChanges={onDialogDiscardChanges}\n />\n </Fragment>\n );\n};\n"],"names":["Modal","ModalHeader"],"mappings":";;;;AAoCO,MAAM,sBAAsB,CAAC;AAAA,EAClC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAa;AACX,QAAM,CAAC,0BAA0B,2BAA2B,IAAI,SAAS,KAAK;AAE9E,QAAM,iBAAiB,MACrB,kBAAA,IAAsB,4BAA4B,IAAI,IAAI,QAAA;AAE5D,QAAM,sBAAsB,MAAM;AAChC,gCAA4B,KAAK;AAAA,EACnC;AAEA,QAAM,yBAAyB,MAAM;AACnC,gCAA4B,KAAK;AACjC,YAAA;AAAA,EACF;AAEA,SACE,sBAAA,cAAC,gBACC,sBAAA,cAACA,WAAA,EAAM,IAAQ,KAAK,UAAU,SAAS,gBAAiB,GAAG,KAAA,uCACxDC,iBAAA,EAAa,GAAG,aAAa,IAAI,GAAG,EAAE,UAAU,SAAS,eAAA,CAAgB,GACzE,QACH,GACA,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ,KAAK;AAAA,MACL,MAAM;AAAA,MACN,eAAe;AAAA,MACf,kBAAkB;AAAA,IAAA;AAAA,EAAA,CAEtB;AAEJ;"}
1
+ {"version":3,"file":"DiscardChangesModal.es.js","sources":["../../../../src/components/Notifications/DiscardChangesModal/DiscardChangesModal.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, { Fragment, useState } from \"react\";\nimport { Modal, Props as ModalProps } from \"../Modal/Modal\";\nimport { ModalHeader, Props as ModalHeaderProps } from \"../Modal/ModalHeader/ModalHeader\";\nimport {\n DiscardChangesDialog,\n Props as DiscardChangesDialogProps\n} from \"./DiscardChangesDialog/DiscardChangesDialog\";\n\nexport interface Props extends Omit<ModalProps, \"onClose\"> {\n hasUnsavedChanges: () => boolean;\n onClose: (event?: React.MouseEvent<HTMLElement>) => unknown;\n headerProps: Omit<ModalHeaderProps, \"onClose\" | \"id\">;\n discardChangedDialogProps: Omit<\n DiscardChangesDialogProps,\n \"open\" | \"onKeepEditing\" | \"onDiscardChanges\"\n >;\n modalRef?: React.RefObject<HTMLDivElement | null>;\n dialogRef?: React.RefObject<HTMLDivElement | null>;\n}\n\nexport const DiscardChangesModal = ({\n id,\n children,\n headerProps,\n discardChangedDialogProps,\n modalRef,\n dialogRef,\n onClose,\n hasUnsavedChanges,\n ...rest\n}: Props) => {\n const [openDiscardChangesDialog, setOpenDiscardChangesDialog] = useState(false);\n\n const onCloseWrapper = () =>\n hasUnsavedChanges() ? setOpenDiscardChangesDialog(true) : onClose();\n\n const onDialogKeepEditing = () => {\n setOpenDiscardChangesDialog(false);\n };\n\n const onDialogDiscardChanges = () => {\n setOpenDiscardChangesDialog(false);\n onClose();\n };\n\n return (\n <Fragment>\n <Modal id={id} ref={modalRef} onClose={onCloseWrapper} {...rest}>\n <ModalHeader {...headerProps} id={`${id}-label`} onClose={onCloseWrapper} />\n {children}\n </Modal>\n <DiscardChangesDialog\n {...discardChangedDialogProps}\n ref={dialogRef}\n open={openDiscardChangesDialog}\n onKeepEditing={onDialogKeepEditing}\n onDiscardChanges={onDialogDiscardChanges}\n />\n </Fragment>\n );\n};\n"],"names":["Modal","ModalHeader"],"mappings":";;;;AAoCO,MAAM,sBAAsB,CAAC;AAAA,EAClC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAa;AACX,QAAM,CAAC,0BAA0B,2BAA2B,IAAI,SAAS,KAAK;AAE9E,QAAM,iBAAiB,MACrB,kBAAA,IAAsB,4BAA4B,IAAI,IAAI,QAAA;AAE5D,QAAM,sBAAsB,MAAM;AAChC,gCAA4B,KAAK;AAAA,EACnC;AAEA,QAAM,yBAAyB,MAAM;AACnC,gCAA4B,KAAK;AACjC,YAAA;AAAA,EACF;AAEA,SACE,sBAAA,cAAC,gBACC,sBAAA,cAACA,WAAA,EAAM,IAAQ,KAAK,UAAU,SAAS,gBAAiB,GAAG,KAAA,uCACxDC,iBAAA,EAAa,GAAG,aAAa,IAAI,GAAG,EAAE,UAAU,SAAS,eAAA,CAAgB,GACzE,QACH,GACA,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ,KAAK;AAAA,MACL,MAAM;AAAA,MACN,eAAe;AAAA,MACf,kBAAkB;AAAA,IAAA;AAAA,EAAA,CAEtB;AAEJ;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SideSheet.cjs.js","sources":["../../../../src/components/Notifications/SideSheet/SideSheet.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 TransitionEventHandler,\n useState,\n useRef,\n useCallback,\n useEffect\n} from \"react\";\nimport { Props as ModalProps, Modal } from \"../Modal/Modal\";\nimport classes from \"./SideSheet.module.scss\";\nimport { IconButton } from \"../../Button/IconButton\";\nimport { Icon, Icons } from \"../../Icon/Icon\";\n\nexport interface Props extends Omit<ModalProps, \"hideBackdrop\" | \"disableBackdrop\"> {\n handleButtonProps?: {\n onOpen: () => void;\n onClose: () => void;\n title?: string;\n };\n}\n\nconst SideSheetComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { children, id, open, handleButtonProps, ...rest }: Props,\n ref\n) => {\n const [classHideOnTransition, setClassHideOnTransition] = useState<string>(\"hide\");\n const [controlledOpen, setControlledOpen] = useState(false);\n const containerRef = useRef(null);\n const handleTitle = handleButtonProps?.title ?? \"Side sheet handle\";\n const handleButtonStyle = {\n width: \"1.5rem\",\n height: \"3.5rem\",\n borderTopLeftRadius: \"4px\",\n borderBottomLeftRadius: \"4px\"\n };\n\n const onTransitionEnd: TransitionEventHandler<HTMLDivElement> = useCallback(\n e => {\n if (e.target === containerRef.current) {\n setClassHideOnTransition(prev => (prev ? \"\" : \"hide\"));\n if (!open && controlledOpen) {\n setControlledOpen(false);\n }\n }\n },\n [open]\n );\n\n useEffect(() => {\n open && setControlledOpen(open);\n }, [open]);\n\n return (\n <>\n {handleButtonProps && !open && (\n <div className={classes[\"collapsed-sheet\"]}>\n <div className={classes[\"handle\"]}>\n <IconButton\n style={handleButtonStyle}\n className={classes[\"handle-button\"]}\n onClick={handleButtonProps.onOpen}\n title={handleTitle}\n >\n <Icon size=\"0.9rem\" icon={Icons.SideSheetHandle} />\n </IconButton>\n </div>\n </div>\n )}\n <Modal\n {...rest}\n id={id}\n open={controlledOpen}\n className={`${classes[\"slide-in-modal\"]} ${open ? classes[\"visible\"] : \"\"} ${\n !open ? classes[classHideOnTransition] : \"\"\n }`}\n containerProps={{ className: classes[\"container\"] }}\n hideBackdrop={true}\n onTransitionEnd={onTransitionEnd}\n ref={ref ?? containerRef}\n >\n {handleButtonProps && (\n <div className={classes[\"handle\"]}>\n <IconButton\n style={handleButtonStyle}\n title={handleTitle}\n onClick={handleButtonProps.onClose}\n >\n <Icon size=\"0.9rem\" icon={Icons.SideSheetHandle} />\n </IconButton>\n </div>\n )}\n {children}\n </Modal>\n </>\n );\n};\n\nexport const SideSheet = React.forwardRef(SideSheetComponent);\n"],"names":["SideSheet","React","forwardRef","children","id","open","handleButtonProps","rest","ref","classHideOnTransition","setClassHideOnTransition","useState","controlledOpen","setControlledOpen","containerRef","useRef","handleTitle","title","handleButtonStyle","width","height","borderTopLeftRadius","borderBottomLeftRadius","onTransitionEnd","useCallback","e","target","current","prev","useEffect","createElement","Fragment","className","classes","IconButton","style","onClick","onOpen","Icon","size","icon","Icons","SideSheetHandle","Modal","containerProps","hideBackdrop","onClose"],"mappings":"gRAiHaA,EAAYC,EAAMC,WA5E6C,EACxEC,WAAUC,KAAIC,OAAMC,uBAAsBC,GAC5CC,KAEA,MAAOC,EAAuBC,GAA4BC,EAAAA,SAAiB,SACpEC,EAAgBC,GAAqBF,EAAAA,UAAS,GAC/CG,EAAeC,EAAAA,OAAO,MACtBC,SAAcV,WAAmBW,QAAS,oBAC1CC,EAAoB,CACxBC,MAAO,SACPC,OAAQ,SACRC,oBAAqB,MACrBC,uBAAwB,OAGpBC,EAA0DC,EAAAA,YAC9DC,IACMA,EAAEC,SAAWZ,EAAaa,UAC5BjB,EAAyBkB,GAASA,EAAO,GAAK,SACzCvB,GAAQO,GACXC,GAAkB,KAIxB,CAACR,IAOH,OAJAwB,EAAAA,UAAU,KACRxB,GAAQQ,EAAkBR,IACzB,CAACA,IAGFJ,EAAA6B,cAAA7B,EAAA8B,SAAA,KACGzB,IAAsBD,mBACpB,MAAA,CAAI2B,UAAWC,EAAAA,QAAQ,oBACtBhC,EAAA6B,cAAC,MAAA,CAAIE,UAAWC,UAAgB,QAC9BhC,EAAA6B,cAACI,EAAAA,WAAA,CACCC,MAAOjB,EACPc,UAAWC,EAAAA,QAAQ,iBACnBG,QAAS9B,EAAkB+B,OAC3BpB,MAAOD,mBAENsB,EAAAA,KAAA,CAAKC,KAAK,SAASC,KAAMC,EAAAA,MAAMC,qBAKxCzC,EAAA6B,cAACa,EAAAA,UAAA,IACKpC,EACJH,KACAC,KAAMO,EACNoB,UAAW,GAAGC,UAAQ,qBAAqB5B,EAAO4B,UAAiB,QAAI,MACpE5B,EAAwC,GAAjC4B,EAAAA,QAAQxB,KAElBmC,eAAgB,CAAEZ,UAAWC,EAAAA,QAAmB,WAChDY,cAAc,EACdtB,kBACAf,IAAKA,GAAOM,GAEXR,GACCL,EAAA6B,cAAC,MAAA,CAAIE,UAAWC,EAAAA,QAAgB,QAC9BhC,EAAA6B,cAACI,EAAAA,WAAA,CACCC,MAAOjB,EACPD,MAAOD,EACPoB,QAAS9B,EAAkBwC,yBAE1BR,EAAAA,KAAA,CAAKC,KAAK,SAASC,KAAMC,EAAAA,MAAMC,oBAIrCvC"}
1
+ {"version":3,"file":"SideSheet.cjs.js","sources":["../../../../src/components/Notifications/SideSheet/SideSheet.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 TransitionEventHandler,\n useState,\n useRef,\n useCallback,\n useEffect\n} from \"react\";\nimport { Props as ModalProps, Modal } from \"../Modal/Modal\";\nimport classes from \"./SideSheet.module.scss\";\nimport { IconButton } from \"../../Button/IconButton\";\nimport { Icon, Icons } from \"../../Icon/Icon\";\n\nexport interface Props extends Omit<ModalProps, \"hideBackdrop\" | \"disableBackdrop\"> {\n handleButtonProps?: {\n onOpen: () => void;\n onClose: () => void;\n title?: string;\n };\n}\n\nconst SideSheetComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { children, id, open, handleButtonProps, ...rest }: Props,\n ref\n) => {\n const [classHideOnTransition, setClassHideOnTransition] = useState<string>(\"hide\");\n const [controlledOpen, setControlledOpen] = useState(false);\n const containerRef = useRef(null);\n const handleTitle = handleButtonProps?.title ?? \"Side sheet handle\";\n const handleButtonStyle = {\n width: \"1.5rem\",\n height: \"3.5rem\",\n borderTopLeftRadius: \"4px\",\n borderBottomLeftRadius: \"4px\"\n };\n\n const onTransitionEnd: TransitionEventHandler<HTMLDivElement> = useCallback(\n e => {\n if (e.target === containerRef.current) {\n setClassHideOnTransition(prev => (prev ? \"\" : \"hide\"));\n if (!open && controlledOpen) {\n setControlledOpen(false);\n }\n }\n },\n [open]\n );\n\n useEffect(() => {\n open && setControlledOpen(open);\n }, [open]);\n\n return (\n <>\n {handleButtonProps && !open && (\n <div className={classes[\"collapsed-sheet\"]}>\n <div className={classes[\"handle\"]}>\n <IconButton\n style={handleButtonStyle}\n className={classes[\"handle-button\"]}\n onClick={handleButtonProps.onOpen}\n title={handleTitle}\n >\n <Icon size=\"0.9rem\" icon={Icons.SideSheetHandle} />\n </IconButton>\n </div>\n </div>\n )}\n <Modal\n {...rest}\n id={id}\n open={controlledOpen}\n className={`${classes[\"slide-in-modal\"]} ${open ? classes[\"visible\"] : \"\"} ${\n open ? \"\" : classes[classHideOnTransition]\n }`}\n containerProps={{ className: classes[\"container\"] }}\n hideBackdrop={true}\n onTransitionEnd={onTransitionEnd}\n ref={ref ?? containerRef}\n >\n {handleButtonProps && (\n <div className={classes[\"handle\"]}>\n <IconButton\n style={handleButtonStyle}\n title={handleTitle}\n onClick={handleButtonProps.onClose}\n >\n <Icon size=\"0.9rem\" icon={Icons.SideSheetHandle} />\n </IconButton>\n </div>\n )}\n {children}\n </Modal>\n </>\n );\n};\n\nexport const SideSheet = React.forwardRef(SideSheetComponent);\n"],"names":["SideSheet","React","forwardRef","children","id","open","handleButtonProps","rest","ref","classHideOnTransition","setClassHideOnTransition","useState","controlledOpen","setControlledOpen","containerRef","useRef","handleTitle","title","handleButtonStyle","width","height","borderTopLeftRadius","borderBottomLeftRadius","onTransitionEnd","useCallback","e","target","current","prev","useEffect","createElement","Fragment","className","classes","IconButton","style","onClick","onOpen","Icon","size","icon","Icons","SideSheetHandle","Modal","containerProps","hideBackdrop","onClose"],"mappings":"gRAiHaA,EAAYC,EAAMC,WA5E6C,EACxEC,WAAUC,KAAIC,OAAMC,uBAAsBC,GAC5CC,KAEA,MAAOC,EAAuBC,GAA4BC,EAAAA,SAAiB,SACpEC,EAAgBC,GAAqBF,EAAAA,UAAS,GAC/CG,EAAeC,EAAAA,OAAO,MACtBC,SAAcV,WAAmBW,QAAS,oBAC1CC,EAAoB,CACxBC,MAAO,SACPC,OAAQ,SACRC,oBAAqB,MACrBC,uBAAwB,OAGpBC,EAA0DC,EAAAA,YAC9DC,IACMA,EAAEC,SAAWZ,EAAaa,UAC5BjB,EAAyBkB,GAASA,EAAO,GAAK,SACzCvB,GAAQO,GACXC,GAAkB,KAIxB,CAACR,IAOH,OAJAwB,EAAAA,UAAU,KACRxB,GAAQQ,EAAkBR,IACzB,CAACA,IAGFJ,EAAA6B,cAAA7B,EAAA8B,SAAA,KACGzB,IAAsBD,mBACpB,MAAA,CAAI2B,UAAWC,EAAAA,QAAQ,oBACtBhC,EAAA6B,cAAC,MAAA,CAAIE,UAAWC,UAAgB,QAC9BhC,EAAA6B,cAACI,EAAAA,WAAA,CACCC,MAAOjB,EACPc,UAAWC,EAAAA,QAAQ,iBACnBG,QAAS9B,EAAkB+B,OAC3BpB,MAAOD,mBAENsB,EAAAA,KAAA,CAAKC,KAAK,SAASC,KAAMC,EAAAA,MAAMC,qBAKxCzC,EAAA6B,cAACa,EAAAA,UAAA,IACKpC,EACJH,KACAC,KAAMO,EACNoB,UAAW,GAAGC,EAAAA,QAAQ,qBAAqB5B,EAAO4B,EAAAA,QAAiB,QAAI,MACrE5B,EAAO,GAAK4B,EAAAA,QAAQxB,KAEtBmC,eAAgB,CAAEZ,UAAWC,EAAAA,QAAmB,WAChDY,cAAc,EACdtB,kBACAf,IAAKA,GAAOM,GAEXR,GACCL,EAAA6B,cAAC,MAAA,CAAIE,UAAWC,EAAAA,QAAgB,QAC9BhC,EAAA6B,cAACI,EAAAA,WAAA,CACCC,MAAOjB,EACPD,MAAOD,EACPoB,QAAS9B,EAAkBwC,yBAE1BR,EAAAA,KAAA,CAAKC,KAAK,SAASC,KAAMC,EAAAA,MAAMC,oBAIrCvC"}
@@ -43,7 +43,7 @@ const SideSheetComponent = ({ children, id, open, handleButtonProps, ...rest },
43
43
  ...rest,
44
44
  id,
45
45
  open: controlledOpen,
46
- className: `${classes["slide-in-modal"]} ${open ? classes["visible"] : ""} ${!open ? classes[classHideOnTransition] : ""}`,
46
+ className: `${classes["slide-in-modal"]} ${open ? classes["visible"] : ""} ${open ? "" : classes[classHideOnTransition]}`,
47
47
  containerProps: { className: classes["container"] },
48
48
  hideBackdrop: true,
49
49
  onTransitionEnd,
@@ -1 +1 @@
1
- {"version":3,"file":"SideSheet.es.js","sources":["../../../../src/components/Notifications/SideSheet/SideSheet.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 TransitionEventHandler,\n useState,\n useRef,\n useCallback,\n useEffect\n} from \"react\";\nimport { Props as ModalProps, Modal } from \"../Modal/Modal\";\nimport classes from \"./SideSheet.module.scss\";\nimport { IconButton } from \"../../Button/IconButton\";\nimport { Icon, Icons } from \"../../Icon/Icon\";\n\nexport interface Props extends Omit<ModalProps, \"hideBackdrop\" | \"disableBackdrop\"> {\n handleButtonProps?: {\n onOpen: () => void;\n onClose: () => void;\n title?: string;\n };\n}\n\nconst SideSheetComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { children, id, open, handleButtonProps, ...rest }: Props,\n ref\n) => {\n const [classHideOnTransition, setClassHideOnTransition] = useState<string>(\"hide\");\n const [controlledOpen, setControlledOpen] = useState(false);\n const containerRef = useRef(null);\n const handleTitle = handleButtonProps?.title ?? \"Side sheet handle\";\n const handleButtonStyle = {\n width: \"1.5rem\",\n height: \"3.5rem\",\n borderTopLeftRadius: \"4px\",\n borderBottomLeftRadius: \"4px\"\n };\n\n const onTransitionEnd: TransitionEventHandler<HTMLDivElement> = useCallback(\n e => {\n if (e.target === containerRef.current) {\n setClassHideOnTransition(prev => (prev ? \"\" : \"hide\"));\n if (!open && controlledOpen) {\n setControlledOpen(false);\n }\n }\n },\n [open]\n );\n\n useEffect(() => {\n open && setControlledOpen(open);\n }, [open]);\n\n return (\n <>\n {handleButtonProps && !open && (\n <div className={classes[\"collapsed-sheet\"]}>\n <div className={classes[\"handle\"]}>\n <IconButton\n style={handleButtonStyle}\n className={classes[\"handle-button\"]}\n onClick={handleButtonProps.onOpen}\n title={handleTitle}\n >\n <Icon size=\"0.9rem\" icon={Icons.SideSheetHandle} />\n </IconButton>\n </div>\n </div>\n )}\n <Modal\n {...rest}\n id={id}\n open={controlledOpen}\n className={`${classes[\"slide-in-modal\"]} ${open ? classes[\"visible\"] : \"\"} ${\n !open ? classes[classHideOnTransition] : \"\"\n }`}\n containerProps={{ className: classes[\"container\"] }}\n hideBackdrop={true}\n onTransitionEnd={onTransitionEnd}\n ref={ref ?? containerRef}\n >\n {handleButtonProps && (\n <div className={classes[\"handle\"]}>\n <IconButton\n style={handleButtonStyle}\n title={handleTitle}\n onClick={handleButtonProps.onClose}\n >\n <Icon size=\"0.9rem\" icon={Icons.SideSheetHandle} />\n </IconButton>\n </div>\n )}\n {children}\n </Modal>\n </>\n );\n};\n\nexport const SideSheet = React.forwardRef(SideSheetComponent);\n"],"names":["Modal"],"mappings":";;;;;AAqCA,MAAM,qBAAsE,CAC1E,EAAE,UAAU,IAAI,MAAM,mBAAmB,GAAG,KAAA,GAC5C,QACG;AACH,QAAM,CAAC,uBAAuB,wBAAwB,IAAI,SAAiB,MAAM;AACjF,QAAM,CAAC,gBAAgB,iBAAiB,IAAI,SAAS,KAAK;AAC1D,QAAM,eAAe,OAAO,IAAI;AAChC,QAAM,eAAc,uDAAmB,UAAS;AAChD,QAAM,oBAAoB;AAAA,IACxB,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,qBAAqB;AAAA,IACrB,wBAAwB;AAAA,EAAA;AAG1B,QAAM,kBAA0D;AAAA,IAC9D,CAAA,MAAK;AACH,UAAI,EAAE,WAAW,aAAa,SAAS;AACrC,iCAAyB,CAAA,SAAS,OAAO,KAAK,MAAO;AACrD,YAAI,CAAC,QAAQ,gBAAgB;AAC3B,4BAAkB,KAAK;AAAA,QACzB;AAAA,MACF;AAAA,IACF;AAAA,IACA,CAAC,IAAI;AAAA,EAAA;AAGP,YAAU,MAAM;AACd,YAAQ,kBAAkB,IAAI;AAAA,EAChC,GAAG,CAAC,IAAI,CAAC;AAET,SACE,sBAAA,cAAA,MAAA,UAAA,MACG,qBAAqB,CAAC,4CACpB,OAAA,EAAI,WAAW,QAAQ,iBAAiB,KACvC,sBAAA,cAAC,OAAA,EAAI,WAAW,QAAQ,QAAQ,EAAA,GAC9B,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAO;AAAA,MACP,WAAW,QAAQ,eAAe;AAAA,MAClC,SAAS,kBAAkB;AAAA,MAC3B,OAAO;AAAA,IAAA;AAAA,wCAEN,MAAA,EAAK,MAAK,UAAS,MAAM,MAAM,gBAAA,CAAiB;AAAA,EAAA,CAErD,CACF,GAEF,sBAAA;AAAA,IAACA;AAAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ;AAAA,MACA,MAAM;AAAA,MACN,WAAW,GAAG,QAAQ,gBAAgB,CAAC,IAAI,OAAO,QAAQ,SAAS,IAAI,EAAE,IACvE,CAAC,OAAO,QAAQ,qBAAqB,IAAI,EAC3C;AAAA,MACA,gBAAgB,EAAE,WAAW,QAAQ,WAAW,EAAA;AAAA,MAChD,cAAc;AAAA,MACd;AAAA,MACA,KAAK,OAAO;AAAA,IAAA;AAAA,IAEX,qBACC,sBAAA,cAAC,OAAA,EAAI,WAAW,QAAQ,QAAQ,KAC9B,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,OAAO;AAAA,QACP,OAAO;AAAA,QACP,SAAS,kBAAkB;AAAA,MAAA;AAAA,0CAE1B,MAAA,EAAK,MAAK,UAAS,MAAM,MAAM,gBAAA,CAAiB;AAAA,IAAA,CAErD;AAAA,IAED;AAAA,EAAA,CAEL;AAEJ;AAEO,MAAM,YAAY,MAAM,WAAW,kBAAkB;"}
1
+ {"version":3,"file":"SideSheet.es.js","sources":["../../../../src/components/Notifications/SideSheet/SideSheet.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 TransitionEventHandler,\n useState,\n useRef,\n useCallback,\n useEffect\n} from \"react\";\nimport { Props as ModalProps, Modal } from \"../Modal/Modal\";\nimport classes from \"./SideSheet.module.scss\";\nimport { IconButton } from \"../../Button/IconButton\";\nimport { Icon, Icons } from \"../../Icon/Icon\";\n\nexport interface Props extends Omit<ModalProps, \"hideBackdrop\" | \"disableBackdrop\"> {\n handleButtonProps?: {\n onOpen: () => void;\n onClose: () => void;\n title?: string;\n };\n}\n\nconst SideSheetComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { children, id, open, handleButtonProps, ...rest }: Props,\n ref\n) => {\n const [classHideOnTransition, setClassHideOnTransition] = useState<string>(\"hide\");\n const [controlledOpen, setControlledOpen] = useState(false);\n const containerRef = useRef(null);\n const handleTitle = handleButtonProps?.title ?? \"Side sheet handle\";\n const handleButtonStyle = {\n width: \"1.5rem\",\n height: \"3.5rem\",\n borderTopLeftRadius: \"4px\",\n borderBottomLeftRadius: \"4px\"\n };\n\n const onTransitionEnd: TransitionEventHandler<HTMLDivElement> = useCallback(\n e => {\n if (e.target === containerRef.current) {\n setClassHideOnTransition(prev => (prev ? \"\" : \"hide\"));\n if (!open && controlledOpen) {\n setControlledOpen(false);\n }\n }\n },\n [open]\n );\n\n useEffect(() => {\n open && setControlledOpen(open);\n }, [open]);\n\n return (\n <>\n {handleButtonProps && !open && (\n <div className={classes[\"collapsed-sheet\"]}>\n <div className={classes[\"handle\"]}>\n <IconButton\n style={handleButtonStyle}\n className={classes[\"handle-button\"]}\n onClick={handleButtonProps.onOpen}\n title={handleTitle}\n >\n <Icon size=\"0.9rem\" icon={Icons.SideSheetHandle} />\n </IconButton>\n </div>\n </div>\n )}\n <Modal\n {...rest}\n id={id}\n open={controlledOpen}\n className={`${classes[\"slide-in-modal\"]} ${open ? classes[\"visible\"] : \"\"} ${\n open ? \"\" : classes[classHideOnTransition]\n }`}\n containerProps={{ className: classes[\"container\"] }}\n hideBackdrop={true}\n onTransitionEnd={onTransitionEnd}\n ref={ref ?? containerRef}\n >\n {handleButtonProps && (\n <div className={classes[\"handle\"]}>\n <IconButton\n style={handleButtonStyle}\n title={handleTitle}\n onClick={handleButtonProps.onClose}\n >\n <Icon size=\"0.9rem\" icon={Icons.SideSheetHandle} />\n </IconButton>\n </div>\n )}\n {children}\n </Modal>\n </>\n );\n};\n\nexport const SideSheet = React.forwardRef(SideSheetComponent);\n"],"names":["Modal"],"mappings":";;;;;AAqCA,MAAM,qBAAsE,CAC1E,EAAE,UAAU,IAAI,MAAM,mBAAmB,GAAG,KAAA,GAC5C,QACG;AACH,QAAM,CAAC,uBAAuB,wBAAwB,IAAI,SAAiB,MAAM;AACjF,QAAM,CAAC,gBAAgB,iBAAiB,IAAI,SAAS,KAAK;AAC1D,QAAM,eAAe,OAAO,IAAI;AAChC,QAAM,eAAc,uDAAmB,UAAS;AAChD,QAAM,oBAAoB;AAAA,IACxB,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,qBAAqB;AAAA,IACrB,wBAAwB;AAAA,EAAA;AAG1B,QAAM,kBAA0D;AAAA,IAC9D,CAAA,MAAK;AACH,UAAI,EAAE,WAAW,aAAa,SAAS;AACrC,iCAAyB,CAAA,SAAS,OAAO,KAAK,MAAO;AACrD,YAAI,CAAC,QAAQ,gBAAgB;AAC3B,4BAAkB,KAAK;AAAA,QACzB;AAAA,MACF;AAAA,IACF;AAAA,IACA,CAAC,IAAI;AAAA,EAAA;AAGP,YAAU,MAAM;AACd,YAAQ,kBAAkB,IAAI;AAAA,EAChC,GAAG,CAAC,IAAI,CAAC;AAET,SACE,sBAAA,cAAA,MAAA,UAAA,MACG,qBAAqB,CAAC,4CACpB,OAAA,EAAI,WAAW,QAAQ,iBAAiB,KACvC,sBAAA,cAAC,OAAA,EAAI,WAAW,QAAQ,QAAQ,EAAA,GAC9B,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAO;AAAA,MACP,WAAW,QAAQ,eAAe;AAAA,MAClC,SAAS,kBAAkB;AAAA,MAC3B,OAAO;AAAA,IAAA;AAAA,wCAEN,MAAA,EAAK,MAAK,UAAS,MAAM,MAAM,gBAAA,CAAiB;AAAA,EAAA,CAErD,CACF,GAEF,sBAAA;AAAA,IAACA;AAAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ;AAAA,MACA,MAAM;AAAA,MACN,WAAW,GAAG,QAAQ,gBAAgB,CAAC,IAAI,OAAO,QAAQ,SAAS,IAAI,EAAE,IACvE,OAAO,KAAK,QAAQ,qBAAqB,CAC3C;AAAA,MACA,gBAAgB,EAAE,WAAW,QAAQ,WAAW,EAAA;AAAA,MAChD,cAAc;AAAA,MACd;AAAA,MACA,KAAK,OAAO;AAAA,IAAA;AAAA,IAEX,qBACC,sBAAA,cAAC,OAAA,EAAI,WAAW,QAAQ,QAAQ,KAC9B,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,OAAO;AAAA,QACP,OAAO;AAAA,QACP,SAAS,kBAAkB;AAAA,MAAA;AAAA,0CAE1B,MAAA,EAAK,MAAK,UAAS,MAAM,MAAM,gBAAA,CAAiB;AAAA,IAAA,CAErD;AAAA,IAED;AAAA,EAAA,CAEL;AAEJ;AAEO,MAAM,YAAY,MAAM,WAAW,kBAAkB;"}
@@ -1,3 +1,3 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.SideSheet_sr-only_gLrTA{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.SideSheet_hidden_gLrTA{display:none}.SideSheet_slide-in_gLrTA{animation:SideSheet_slide-in_gLrTA .5s forwards}@media(prefers-reduced-motion:reduce){.SideSheet_slide-in_gLrTA{animation-duration:.1ms}}.SideSheet_slide-out_gLrTA{animation:SideSheet_slide-out_gLrTA .5s forwards}@media(prefers-reduced-motion:reduce){.SideSheet_slide-out_gLrTA{animation-duration:.1ms}}@keyframes SideSheet_slide-in_gLrTA{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes SideSheet_slide-out_gLrTA{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 */.SideSheet_slide-in-modal_gLrTA{right:0;left:auto;justify-content:flex-end;min-width:25rem;width:33vw;max-width:40rem;visibility:visible;transform:translate(calc(100% - .5rem));transition-property:transform;transition-duration:.5s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.SideSheet_slide-in-modal_gLrTA{transition-duration:.1ms}}.SideSheet_slide-in-modal_gLrTA.SideSheet_hide_gLrTA{visibility:hidden}.SideSheet_slide-in-modal_gLrTA.SideSheet_visible_gLrTA{visibility:visible;transform:translate(0)}.SideSheet_slide-in-modal_gLrTA.SideSheet_visible_gLrTA #SideSheet_backdrop-slide_gLrTA{background-color:transparent}.SideSheet_handle_gLrTA{position:absolute;top:13.25rem;left:calc(-1.5 * var(--font-size));display:flex;align-items:center;justify-content:center;width:1.5rem;height:2.5rem;padding:.5rem 0;border-top-left-radius:4px;border-bottom-left-radius:4px;background-color:var(--modal-background-color);box-shadow:-4px 4px 5px 0 var(--side-sheet-shadow-color-one),-4px 3px 14px 0 var(--side-sheet-shadow-color-two),-4px 8px 10px 0 var(--side-sheet-shadow-color-two)}.SideSheet_handle-button_gLrTA{transform:rotateY(180deg)}.SideSheet_collapsed-sheet_gLrTA{position:absolute;top:0;right:0;width:.5rem;height:100vh;background-color:var(--modal-background-color);box-shadow:0 4px 5px 0 var(--side-sheet-shadow-color-one),0 3px 14px 0 var(--side-sheet-shadow-color-two),0 8px 10px 0 var(--side-sheet-shadow-color-two)}.SideSheet_container_gLrTA{margin-top:0;width:50rem;height:100%;max-height:unset;border-radius:0;box-shadow:0 4px 5px 0 var(--side-sheet-shadow-color-one),0 3px 14px 0 var(--side-sheet-shadow-color-two),0 8px 10px 0 var(--side-sheet-shadow-color-two)}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="SideSheet_hidden_gLrTA",d="SideSheet_hide_gLrTA",i="SideSheet_visible_gLrTA",t="SideSheet_handle_gLrTA",l="SideSheet_container_gLrTA",r={"sr-only":"SideSheet_sr-only_gLrTA",hidden:e,"slide-in":"SideSheet_slide-in_gLrTA","slide-out":"SideSheet_slide-out_gLrTA","slide-in-modal":"SideSheet_slide-in-modal_gLrTA",hide:d,visible:i,"backdrop-slide":"SideSheet_backdrop-slide_gLrTA",handle:t,"handle-button":"SideSheet_handle-button_gLrTA","collapsed-sheet":"SideSheet_collapsed-sheet_gLrTA",container:l};exports.container=l,exports.default=r,exports.handle=t,exports.hidden=e,exports.hide=d,exports.visible=i;
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.SideSheet_sr-only_8eZbI{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.SideSheet_hidden_8eZbI{display:none}.SideSheet_slide-in_8eZbI{animation:SideSheet_slide-in_8eZbI .5s forwards}@media(prefers-reduced-motion:reduce){.SideSheet_slide-in_8eZbI{animation-duration:.1ms}}.SideSheet_slide-out_8eZbI{animation:SideSheet_slide-out_8eZbI .5s forwards}@media(prefers-reduced-motion:reduce){.SideSheet_slide-out_8eZbI{animation-duration:.1ms}}@keyframes SideSheet_slide-in_8eZbI{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes SideSheet_slide-out_8eZbI{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 */.SideSheet_slide-in-modal_8eZbI{right:0;left:auto;justify-content:flex-end;min-width:25rem;width:33vw;max-width:40rem;visibility:visible;transform:translate(calc(100% - .5rem));transition-property:transform;transition-duration:.5s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.SideSheet_slide-in-modal_8eZbI{transition-duration:.1ms}}.SideSheet_slide-in-modal_8eZbI.SideSheet_hide_8eZbI{visibility:hidden}.SideSheet_slide-in-modal_8eZbI.SideSheet_visible_8eZbI{visibility:visible;transform:translate(0)}.SideSheet_slide-in-modal_8eZbI.SideSheet_visible_8eZbI #SideSheet_backdrop-slide_8eZbI{background-color:transparent}.SideSheet_handle_8eZbI{position:absolute;top:13.25rem;left:calc(-1.5 * var(--font-size));display:flex;align-items:center;justify-content:center;width:1.5rem;height:2.5rem;padding:.5rem 0;border-top-left-radius:4px;border-bottom-left-radius:4px;background-color:var(--modal-background-color);box-shadow:-4px 4px 5px 0 var(--side-sheet-shadow-color-one),-4px 3px 14px 0 var(--side-sheet-shadow-color-two),-4px 8px 10px 0 var(--side-sheet-shadow-color-two)}.SideSheet_handle-button_8eZbI{transform:rotateY(180deg)}.SideSheet_collapsed-sheet_8eZbI{position:absolute;top:0;right:0;width:.5rem;height:100vh;background-color:var(--modal-background-color);box-shadow:0 4px 5px 0 var(--side-sheet-shadow-color-one),0 3px 14px 0 var(--side-sheet-shadow-color-two),0 8px 10px 0 var(--side-sheet-shadow-color-two)}.SideSheet_container_8eZbI{margin-top:0;width:50rem;height:100%;max-height:unset;border-radius:0;box-shadow:0 4px 5px 0 var(--side-sheet-shadow-color-one),0 3px 14px 0 var(--side-sheet-shadow-color-two),0 8px 10px 0 var(--side-sheet-shadow-color-two)}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="SideSheet_hidden_8eZbI",d="SideSheet_hide_8eZbI",i="SideSheet_visible_8eZbI",t="SideSheet_handle_8eZbI",l="SideSheet_container_8eZbI",s={"sr-only":"SideSheet_sr-only_8eZbI",hidden:e,"slide-in":"SideSheet_slide-in_8eZbI","slide-out":"SideSheet_slide-out_8eZbI","slide-in-modal":"SideSheet_slide-in-modal_8eZbI",hide:d,visible:i,"backdrop-slide":"SideSheet_backdrop-slide_8eZbI",handle:t,"handle-button":"SideSheet_handle-button_8eZbI","collapsed-sheet":"SideSheet_collapsed-sheet_8eZbI",container:l};exports.container=l,exports.default=s,exports.handle=t,exports.hidden=e,exports.hide=d,exports.visible=i;
3
3
  //# sourceMappingURL=SideSheet.module.scss.cjs.js.map
@@ -1,21 +1,21 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.SideSheet_sr-only_gLrTA{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.SideSheet_hidden_gLrTA{display:none}.SideSheet_slide-in_gLrTA{animation:SideSheet_slide-in_gLrTA .5s forwards}@media(prefers-reduced-motion:reduce){.SideSheet_slide-in_gLrTA{animation-duration:.1ms}}.SideSheet_slide-out_gLrTA{animation:SideSheet_slide-out_gLrTA .5s forwards}@media(prefers-reduced-motion:reduce){.SideSheet_slide-out_gLrTA{animation-duration:.1ms}}@keyframes SideSheet_slide-in_gLrTA{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes SideSheet_slide-out_gLrTA{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 */.SideSheet_slide-in-modal_gLrTA{right:0;left:auto;justify-content:flex-end;min-width:25rem;width:33vw;max-width:40rem;visibility:visible;transform:translate(calc(100% - .5rem));transition-property:transform;transition-duration:.5s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.SideSheet_slide-in-modal_gLrTA{transition-duration:.1ms}}.SideSheet_slide-in-modal_gLrTA.SideSheet_hide_gLrTA{visibility:hidden}.SideSheet_slide-in-modal_gLrTA.SideSheet_visible_gLrTA{visibility:visible;transform:translate(0)}.SideSheet_slide-in-modal_gLrTA.SideSheet_visible_gLrTA #SideSheet_backdrop-slide_gLrTA{background-color:transparent}.SideSheet_handle_gLrTA{position:absolute;top:13.25rem;left:calc(-1.5 * var(--font-size));display:flex;align-items:center;justify-content:center;width:1.5rem;height:2.5rem;padding:.5rem 0;border-top-left-radius:4px;border-bottom-left-radius:4px;background-color:var(--modal-background-color);box-shadow:-4px 4px 5px 0 var(--side-sheet-shadow-color-one),-4px 3px 14px 0 var(--side-sheet-shadow-color-two),-4px 8px 10px 0 var(--side-sheet-shadow-color-two)}.SideSheet_handle-button_gLrTA{transform:rotateY(180deg)}.SideSheet_collapsed-sheet_gLrTA{position:absolute;top:0;right:0;width:.5rem;height:100vh;background-color:var(--modal-background-color);box-shadow:0 4px 5px 0 var(--side-sheet-shadow-color-one),0 3px 14px 0 var(--side-sheet-shadow-color-two),0 8px 10px 0 var(--side-sheet-shadow-color-two)}.SideSheet_container_gLrTA{margin-top:0;width:50rem;height:100%;max-height:unset;border-radius:0;box-shadow:0 4px 5px 0 var(--side-sheet-shadow-color-one),0 3px 14px 0 var(--side-sheet-shadow-color-two),0 8px 10px 0 var(--side-sheet-shadow-color-two)}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
- const hidden = "SideSheet_hidden_gLrTA";
3
- const hide = "SideSheet_hide_gLrTA";
4
- const visible = "SideSheet_visible_gLrTA";
5
- const handle = "SideSheet_handle_gLrTA";
6
- const container = "SideSheet_container_gLrTA";
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.SideSheet_sr-only_8eZbI{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.SideSheet_hidden_8eZbI{display:none}.SideSheet_slide-in_8eZbI{animation:SideSheet_slide-in_8eZbI .5s forwards}@media(prefers-reduced-motion:reduce){.SideSheet_slide-in_8eZbI{animation-duration:.1ms}}.SideSheet_slide-out_8eZbI{animation:SideSheet_slide-out_8eZbI .5s forwards}@media(prefers-reduced-motion:reduce){.SideSheet_slide-out_8eZbI{animation-duration:.1ms}}@keyframes SideSheet_slide-in_8eZbI{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes SideSheet_slide-out_8eZbI{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 */.SideSheet_slide-in-modal_8eZbI{right:0;left:auto;justify-content:flex-end;min-width:25rem;width:33vw;max-width:40rem;visibility:visible;transform:translate(calc(100% - .5rem));transition-property:transform;transition-duration:.5s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.SideSheet_slide-in-modal_8eZbI{transition-duration:.1ms}}.SideSheet_slide-in-modal_8eZbI.SideSheet_hide_8eZbI{visibility:hidden}.SideSheet_slide-in-modal_8eZbI.SideSheet_visible_8eZbI{visibility:visible;transform:translate(0)}.SideSheet_slide-in-modal_8eZbI.SideSheet_visible_8eZbI #SideSheet_backdrop-slide_8eZbI{background-color:transparent}.SideSheet_handle_8eZbI{position:absolute;top:13.25rem;left:calc(-1.5 * var(--font-size));display:flex;align-items:center;justify-content:center;width:1.5rem;height:2.5rem;padding:.5rem 0;border-top-left-radius:4px;border-bottom-left-radius:4px;background-color:var(--modal-background-color);box-shadow:-4px 4px 5px 0 var(--side-sheet-shadow-color-one),-4px 3px 14px 0 var(--side-sheet-shadow-color-two),-4px 8px 10px 0 var(--side-sheet-shadow-color-two)}.SideSheet_handle-button_8eZbI{transform:rotateY(180deg)}.SideSheet_collapsed-sheet_8eZbI{position:absolute;top:0;right:0;width:.5rem;height:100vh;background-color:var(--modal-background-color);box-shadow:0 4px 5px 0 var(--side-sheet-shadow-color-one),0 3px 14px 0 var(--side-sheet-shadow-color-two),0 8px 10px 0 var(--side-sheet-shadow-color-two)}.SideSheet_container_8eZbI{margin-top:0;width:50rem;height:100%;max-height:unset;border-radius:0;box-shadow:0 4px 5px 0 var(--side-sheet-shadow-color-one),0 3px 14px 0 var(--side-sheet-shadow-color-two),0 8px 10px 0 var(--side-sheet-shadow-color-two)}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
+ const hidden = "SideSheet_hidden_8eZbI";
3
+ const hide = "SideSheet_hide_8eZbI";
4
+ const visible = "SideSheet_visible_8eZbI";
5
+ const handle = "SideSheet_handle_8eZbI";
6
+ const container = "SideSheet_container_8eZbI";
7
7
  const classes = {
8
- "sr-only": "SideSheet_sr-only_gLrTA",
8
+ "sr-only": "SideSheet_sr-only_8eZbI",
9
9
  hidden,
10
- "slide-in": "SideSheet_slide-in_gLrTA",
11
- "slide-out": "SideSheet_slide-out_gLrTA",
12
- "slide-in-modal": "SideSheet_slide-in-modal_gLrTA",
10
+ "slide-in": "SideSheet_slide-in_8eZbI",
11
+ "slide-out": "SideSheet_slide-out_8eZbI",
12
+ "slide-in-modal": "SideSheet_slide-in-modal_8eZbI",
13
13
  hide,
14
14
  visible,
15
- "backdrop-slide": "SideSheet_backdrop-slide_gLrTA",
15
+ "backdrop-slide": "SideSheet_backdrop-slide_8eZbI",
16
16
  handle,
17
- "handle-button": "SideSheet_handle-button_gLrTA",
18
- "collapsed-sheet": "SideSheet_collapsed-sheet_gLrTA",
17
+ "handle-button": "SideSheet_handle-button_8eZbI",
18
+ "collapsed-sheet": "SideSheet_collapsed-sheet_8eZbI",
19
19
  container
20
20
  };
21
21
  export {
@@ -1,3 +1,3 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(".SideSheetContent_side-sheet-content_gLrTA{padding:1.5rem}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),exports.default={"side-sheet-content":"SideSheetContent_side-sheet-content_gLrTA"};
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(".SideSheetContent_side-sheet-content_8eZbI{padding:1.5rem}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),exports.default={"side-sheet-content":"SideSheetContent_side-sheet-content_8eZbI"};
3
3
  //# sourceMappingURL=SideSheetContent.module.scss.cjs.js.map
@@ -1,6 +1,6 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(".SideSheetContent_side-sheet-content_gLrTA{padding:1.5rem}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(".SideSheetContent_side-sheet-content_8eZbI{padding:1.5rem}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
2
2
  const classes = {
3
- "side-sheet-content": "SideSheetContent_side-sheet-content_gLrTA"
3
+ "side-sheet-content": "SideSheetContent_side-sheet-content_8eZbI"
4
4
  };
5
5
  export {
6
6
  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(".SideSheetHeader_side-sheet-header_gLrTA{padding:1rem 1.5rem}")),document.head.appendChild(e)}}catch(d){console.error("vite-plugin-css-injected-by-js",d)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),exports.default={"side-sheet-header":"SideSheetHeader_side-sheet-header_gLrTA"};
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(".SideSheetHeader_side-sheet-header_8eZbI{padding:1rem 1.5rem}")),document.head.appendChild(e)}}catch(d){console.error("vite-plugin-css-injected-by-js",d)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),exports.default={"side-sheet-header":"SideSheetHeader_side-sheet-header_8eZbI"};
3
3
  //# sourceMappingURL=SideSheetHeader.module.scss.cjs.js.map
@@ -1,6 +1,6 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(".SideSheetHeader_side-sheet-header_gLrTA{padding:1rem 1.5rem}")),document.head.appendChild(e)}}catch(d){console.error("vite-plugin-css-injected-by-js",d)}}();
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(".SideSheetHeader_side-sheet-header_8eZbI{padding:1rem 1.5rem}")),document.head.appendChild(e)}}catch(d){console.error("vite-plugin-css-injected-by-js",d)}}();
2
2
  const classes = {
3
- "side-sheet-header": "SideSheetHeader_side-sheet-header_gLrTA"
3
+ "side-sheet-header": "SideSheetHeader_side-sheet-header_8eZbI"
4
4
  };
5
5
  export {
6
6
  classes as default
@@ -1 +1 @@
1
- {"version":3,"file":"SlideInModal.cjs.js","sources":["../../../../src/components/Notifications/SlideInModal/SlideInModal.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 TransitionEventHandler,\n useState,\n useRef,\n useCallback,\n useEffect\n} from \"react\";\nimport { Props as ModalProps, Modal } from \"../Modal/Modal\";\nimport classes from \"./SlideInModal.module.scss\";\n\n/**\n * @deprecated use the new `SideSheet` component\n */\nconst SlideInModalComponent: ForwardRefRenderFunction<HTMLDivElement, ModalProps> = (\n { children, id, open, ...rest }: ModalProps,\n ref\n) => {\n const [classHideOnTransition, setClassHideOnTransition] = useState<string>(\"hide\");\n const [controlledOpen, setControlledOpen] = useState(false);\n const containerRef = useRef(null);\n\n const onTransitionEnd: TransitionEventHandler<HTMLDivElement> = useCallback(\n e => {\n if (e.target === containerRef.current) {\n setClassHideOnTransition(prev => (prev ? \"\" : \"hide\"));\n if (!open && controlledOpen) {\n setControlledOpen(false);\n }\n }\n },\n [open]\n );\n\n useEffect(() => {\n open && setControlledOpen(open);\n }, [open]);\n\n return (\n <Modal\n {...rest}\n id={id}\n open={controlledOpen}\n className={`${classes[\"slide-in-modal\"]} ${open ? classes[\"visible\"] : \"\"} ${\n !open ? classes[classHideOnTransition] : \"\"\n }`}\n containerProps={{ className: classes[\"container\"] }}\n backdropProps={{ id: classes[\"backdrop-slide\"] }}\n onTransitionEnd={onTransitionEnd}\n ref={ref ?? containerRef}\n >\n {children}\n </Modal>\n );\n};\n\nexport type { Props } from \"../Modal/Modal\";\n\nexport const SlideInModal = React.forwardRef(SlideInModalComponent);\n"],"names":["SlideInModal","React","forwardRef","children","id","open","rest","ref","classHideOnTransition","setClassHideOnTransition","useState","controlledOpen","setControlledOpen","containerRef","useRef","onTransitionEnd","useCallback","e","target","current","prev","useEffect","createElement","Modal","className","classes","containerProps","backdropProps"],"mappings":"mMA0EaA,EAAeC,EAAMC,WA5CkD,EAChFC,WAAUC,KAAIC,UAASC,GACzBC,KAEA,MAAOC,EAAuBC,GAA4BC,EAAAA,SAAiB,SACpEC,EAAgBC,GAAqBF,EAAAA,UAAS,GAC/CG,EAAeC,EAAAA,OAAO,MAEtBC,EAA0DC,EAAAA,YAC9DC,IACMA,EAAEC,SAAWL,EAAaM,UAC5BV,EAAyBW,GAASA,EAAO,GAAK,SACzCf,GAAQM,GACXC,GAAkB,KAIxB,CAACP,IAOH,OAJAgB,EAAAA,UAAU,KACRhB,GAAQO,EAAkBP,IACzB,CAACA,IAGFJ,EAAAqB,cAACC,EAAAA,UAAA,IACKjB,EACJF,KACAC,KAAMM,EACNa,UAAW,GAAGC,UAAQ,qBAAqBpB,EAAOoB,UAAiB,QAAI,MACpEpB,EAAwC,GAAjCoB,EAAAA,QAAQjB,KAElBkB,eAAgB,CAAEF,UAAWC,EAAAA,QAAmB,WAChDE,cAAe,CAAEvB,GAAIqB,EAAAA,QAAQ,mBAC7BV,kBACAR,IAAKA,GAAOM,GAEXV"}
1
+ {"version":3,"file":"SlideInModal.cjs.js","sources":["../../../../src/components/Notifications/SlideInModal/SlideInModal.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 TransitionEventHandler,\n useState,\n useRef,\n useCallback,\n useEffect\n} from \"react\";\nimport { Props as ModalProps, Modal } from \"../Modal/Modal\";\nimport classes from \"./SlideInModal.module.scss\";\n\n/**\n * @deprecated use the new `SideSheet` component\n */\nconst SlideInModalComponent: ForwardRefRenderFunction<HTMLDivElement, ModalProps> = (\n { children, id, open, ...rest }: ModalProps,\n ref\n) => {\n const [classHideOnTransition, setClassHideOnTransition] = useState<string>(\"hide\");\n const [controlledOpen, setControlledOpen] = useState(false);\n const containerRef = useRef(null);\n\n const onTransitionEnd: TransitionEventHandler<HTMLDivElement> = useCallback(\n e => {\n if (e.target === containerRef.current) {\n setClassHideOnTransition(prev => (prev ? \"\" : \"hide\"));\n if (!open && controlledOpen) {\n setControlledOpen(false);\n }\n }\n },\n [open]\n );\n\n useEffect(() => {\n open && setControlledOpen(open);\n }, [open]);\n\n return (\n <Modal\n {...rest}\n id={id}\n open={controlledOpen}\n className={`${classes[\"slide-in-modal\"]} ${open ? classes[\"visible\"] : \"\"} ${\n open ? \"\" : classes[classHideOnTransition]\n }`}\n containerProps={{ className: classes[\"container\"] }}\n backdropProps={{ id: classes[\"backdrop-slide\"] }}\n onTransitionEnd={onTransitionEnd}\n ref={ref ?? containerRef}\n >\n {children}\n </Modal>\n );\n};\n\nexport type { Props } from \"../Modal/Modal\";\n\nexport const SlideInModal = React.forwardRef(SlideInModalComponent);\n"],"names":["SlideInModal","React","forwardRef","children","id","open","rest","ref","classHideOnTransition","setClassHideOnTransition","useState","controlledOpen","setControlledOpen","containerRef","useRef","onTransitionEnd","useCallback","e","target","current","prev","useEffect","createElement","Modal","className","classes","containerProps","backdropProps"],"mappings":"mMA0EaA,EAAeC,EAAMC,WA5CkD,EAChFC,WAAUC,KAAIC,UAASC,GACzBC,KAEA,MAAOC,EAAuBC,GAA4BC,EAAAA,SAAiB,SACpEC,EAAgBC,GAAqBF,EAAAA,UAAS,GAC/CG,EAAeC,EAAAA,OAAO,MAEtBC,EAA0DC,EAAAA,YAC9DC,IACMA,EAAEC,SAAWL,EAAaM,UAC5BV,EAAyBW,GAASA,EAAO,GAAK,SACzCf,GAAQM,GACXC,GAAkB,KAIxB,CAACP,IAOH,OAJAgB,EAAAA,UAAU,KACRhB,GAAQO,EAAkBP,IACzB,CAACA,IAGFJ,EAAAqB,cAACC,EAAAA,UAAA,IACKjB,EACJF,KACAC,KAAMM,EACNa,UAAW,GAAGC,EAAAA,QAAQ,qBAAqBpB,EAAOoB,EAAAA,QAAiB,QAAI,MACrEpB,EAAO,GAAKoB,EAAAA,QAAQjB,KAEtBkB,eAAgB,CAAEF,UAAWC,EAAAA,QAAmB,WAChDE,cAAe,CAAEvB,GAAIqB,EAAAA,QAAQ,mBAC7BV,kBACAR,IAAKA,GAAOM,GAEXV"}
@@ -25,7 +25,7 @@ const SlideInModalComponent = ({ children, id, open, ...rest }, ref) => {
25
25
  ...rest,
26
26
  id,
27
27
  open: controlledOpen,
28
- className: `${classes["slide-in-modal"]} ${open ? classes["visible"] : ""} ${!open ? classes[classHideOnTransition] : ""}`,
28
+ className: `${classes["slide-in-modal"]} ${open ? classes["visible"] : ""} ${open ? "" : classes[classHideOnTransition]}`,
29
29
  containerProps: { className: classes["container"] },
30
30
  backdropProps: { id: classes["backdrop-slide"] },
31
31
  onTransitionEnd,
@@ -1 +1 @@
1
- {"version":3,"file":"SlideInModal.es.js","sources":["../../../../src/components/Notifications/SlideInModal/SlideInModal.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 TransitionEventHandler,\n useState,\n useRef,\n useCallback,\n useEffect\n} from \"react\";\nimport { Props as ModalProps, Modal } from \"../Modal/Modal\";\nimport classes from \"./SlideInModal.module.scss\";\n\n/**\n * @deprecated use the new `SideSheet` component\n */\nconst SlideInModalComponent: ForwardRefRenderFunction<HTMLDivElement, ModalProps> = (\n { children, id, open, ...rest }: ModalProps,\n ref\n) => {\n const [classHideOnTransition, setClassHideOnTransition] = useState<string>(\"hide\");\n const [controlledOpen, setControlledOpen] = useState(false);\n const containerRef = useRef(null);\n\n const onTransitionEnd: TransitionEventHandler<HTMLDivElement> = useCallback(\n e => {\n if (e.target === containerRef.current) {\n setClassHideOnTransition(prev => (prev ? \"\" : \"hide\"));\n if (!open && controlledOpen) {\n setControlledOpen(false);\n }\n }\n },\n [open]\n );\n\n useEffect(() => {\n open && setControlledOpen(open);\n }, [open]);\n\n return (\n <Modal\n {...rest}\n id={id}\n open={controlledOpen}\n className={`${classes[\"slide-in-modal\"]} ${open ? classes[\"visible\"] : \"\"} ${\n !open ? classes[classHideOnTransition] : \"\"\n }`}\n containerProps={{ className: classes[\"container\"] }}\n backdropProps={{ id: classes[\"backdrop-slide\"] }}\n onTransitionEnd={onTransitionEnd}\n ref={ref ?? containerRef}\n >\n {children}\n </Modal>\n );\n};\n\nexport type { Props } from \"../Modal/Modal\";\n\nexport const SlideInModal = React.forwardRef(SlideInModalComponent);\n"],"names":["Modal"],"mappings":";;;AA8BA,MAAM,wBAA8E,CAClF,EAAE,UAAU,IAAI,MAAM,GAAG,KAAA,GACzB,QACG;AACH,QAAM,CAAC,uBAAuB,wBAAwB,IAAI,SAAiB,MAAM;AACjF,QAAM,CAAC,gBAAgB,iBAAiB,IAAI,SAAS,KAAK;AAC1D,QAAM,eAAe,OAAO,IAAI;AAEhC,QAAM,kBAA0D;AAAA,IAC9D,CAAA,MAAK;AACH,UAAI,EAAE,WAAW,aAAa,SAAS;AACrC,iCAAyB,CAAA,SAAS,OAAO,KAAK,MAAO;AACrD,YAAI,CAAC,QAAQ,gBAAgB;AAC3B,4BAAkB,KAAK;AAAA,QACzB;AAAA,MACF;AAAA,IACF;AAAA,IACA,CAAC,IAAI;AAAA,EAAA;AAGP,YAAU,MAAM;AACd,YAAQ,kBAAkB,IAAI;AAAA,EAChC,GAAG,CAAC,IAAI,CAAC;AAET,SACE,sBAAA;AAAA,IAACA;AAAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ;AAAA,MACA,MAAM;AAAA,MACN,WAAW,GAAG,QAAQ,gBAAgB,CAAC,IAAI,OAAO,QAAQ,SAAS,IAAI,EAAE,IACvE,CAAC,OAAO,QAAQ,qBAAqB,IAAI,EAC3C;AAAA,MACA,gBAAgB,EAAE,WAAW,QAAQ,WAAW,EAAA;AAAA,MAChD,eAAe,EAAE,IAAI,QAAQ,gBAAgB,EAAA;AAAA,MAC7C;AAAA,MACA,KAAK,OAAO;AAAA,IAAA;AAAA,IAEX;AAAA,EAAA;AAGP;AAIO,MAAM,eAAe,MAAM,WAAW,qBAAqB;"}
1
+ {"version":3,"file":"SlideInModal.es.js","sources":["../../../../src/components/Notifications/SlideInModal/SlideInModal.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 TransitionEventHandler,\n useState,\n useRef,\n useCallback,\n useEffect\n} from \"react\";\nimport { Props as ModalProps, Modal } from \"../Modal/Modal\";\nimport classes from \"./SlideInModal.module.scss\";\n\n/**\n * @deprecated use the new `SideSheet` component\n */\nconst SlideInModalComponent: ForwardRefRenderFunction<HTMLDivElement, ModalProps> = (\n { children, id, open, ...rest }: ModalProps,\n ref\n) => {\n const [classHideOnTransition, setClassHideOnTransition] = useState<string>(\"hide\");\n const [controlledOpen, setControlledOpen] = useState(false);\n const containerRef = useRef(null);\n\n const onTransitionEnd: TransitionEventHandler<HTMLDivElement> = useCallback(\n e => {\n if (e.target === containerRef.current) {\n setClassHideOnTransition(prev => (prev ? \"\" : \"hide\"));\n if (!open && controlledOpen) {\n setControlledOpen(false);\n }\n }\n },\n [open]\n );\n\n useEffect(() => {\n open && setControlledOpen(open);\n }, [open]);\n\n return (\n <Modal\n {...rest}\n id={id}\n open={controlledOpen}\n className={`${classes[\"slide-in-modal\"]} ${open ? classes[\"visible\"] : \"\"} ${\n open ? \"\" : classes[classHideOnTransition]\n }`}\n containerProps={{ className: classes[\"container\"] }}\n backdropProps={{ id: classes[\"backdrop-slide\"] }}\n onTransitionEnd={onTransitionEnd}\n ref={ref ?? containerRef}\n >\n {children}\n </Modal>\n );\n};\n\nexport type { Props } from \"../Modal/Modal\";\n\nexport const SlideInModal = React.forwardRef(SlideInModalComponent);\n"],"names":["Modal"],"mappings":";;;AA8BA,MAAM,wBAA8E,CAClF,EAAE,UAAU,IAAI,MAAM,GAAG,KAAA,GACzB,QACG;AACH,QAAM,CAAC,uBAAuB,wBAAwB,IAAI,SAAiB,MAAM;AACjF,QAAM,CAAC,gBAAgB,iBAAiB,IAAI,SAAS,KAAK;AAC1D,QAAM,eAAe,OAAO,IAAI;AAEhC,QAAM,kBAA0D;AAAA,IAC9D,CAAA,MAAK;AACH,UAAI,EAAE,WAAW,aAAa,SAAS;AACrC,iCAAyB,CAAA,SAAS,OAAO,KAAK,MAAO;AACrD,YAAI,CAAC,QAAQ,gBAAgB;AAC3B,4BAAkB,KAAK;AAAA,QACzB;AAAA,MACF;AAAA,IACF;AAAA,IACA,CAAC,IAAI;AAAA,EAAA;AAGP,YAAU,MAAM;AACd,YAAQ,kBAAkB,IAAI;AAAA,EAChC,GAAG,CAAC,IAAI,CAAC;AAET,SACE,sBAAA;AAAA,IAACA;AAAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ;AAAA,MACA,MAAM;AAAA,MACN,WAAW,GAAG,QAAQ,gBAAgB,CAAC,IAAI,OAAO,QAAQ,SAAS,IAAI,EAAE,IACvE,OAAO,KAAK,QAAQ,qBAAqB,CAC3C;AAAA,MACA,gBAAgB,EAAE,WAAW,QAAQ,WAAW,EAAA;AAAA,MAChD,eAAe,EAAE,IAAI,QAAQ,gBAAgB,EAAA;AAAA,MAC7C;AAAA,MACA,KAAK,OAAO;AAAA,IAAA;AAAA,IAEX;AAAA,EAAA;AAGP;AAIO,MAAM,eAAe,MAAM,WAAW,qBAAqB;"}
@@ -1,3 +1,3 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.SlideInModal_sr-only_gLrTA{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.SlideInModal_hidden_gLrTA{display:none}.SlideInModal_slide-in_gLrTA{animation:SlideInModal_slide-in_gLrTA .5s forwards}@media(prefers-reduced-motion:reduce){.SlideInModal_slide-in_gLrTA{animation-duration:.1ms}}.SlideInModal_slide-out_gLrTA{animation:SlideInModal_slide-out_gLrTA .5s forwards}@media(prefers-reduced-motion:reduce){.SlideInModal_slide-out_gLrTA{animation-duration:.1ms}}@keyframes SlideInModal_slide-in_gLrTA{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes SlideInModal_slide-out_gLrTA{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 */.SlideInModal_slide-in-modal_gLrTA{justify-content:flex-end;visibility:visible;transform:translate(120%);transition-property:transform;transition-duration:.5s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.SlideInModal_slide-in-modal_gLrTA{transition-duration:.1ms}}.SlideInModal_slide-in-modal_gLrTA.SlideInModal_hide_gLrTA{visibility:hidden}.SlideInModal_slide-in-modal_gLrTA.SlideInModal_visible_gLrTA{visibility:visible;transform:translate(0)}.SlideInModal_slide-in-modal_gLrTA.SlideInModal_visible_gLrTA #SlideInModal_backdrop-slide_gLrTA,#SlideInModal_backdrop-slide_gLrTA{background-color:transparent}@media only screen and (min-width:50rem){.SlideInModal_container_gLrTA{margin-top:0;width:50rem;height:100%;max-height:unset;border-radius:0;box-shadow:0 1.875rem 3.125rem var(--modal-shadow-color)}}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="SlideInModal_hidden_gLrTA",d="SlideInModal_hide_gLrTA",i="SlideInModal_visible_gLrTA",l="SlideInModal_container_gLrTA",o={"sr-only":"SlideInModal_sr-only_gLrTA",hidden:e,"slide-in":"SlideInModal_slide-in_gLrTA","slide-out":"SlideInModal_slide-out_gLrTA","slide-in-modal":"SlideInModal_slide-in-modal_gLrTA",hide:d,visible:i,"backdrop-slide":"SlideInModal_backdrop-slide_gLrTA",container:l};exports.container=l,exports.default=o,exports.hidden=e,exports.hide=d,exports.visible=i;
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.SlideInModal_sr-only_8eZbI{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.SlideInModal_hidden_8eZbI{display:none}.SlideInModal_slide-in_8eZbI{animation:SlideInModal_slide-in_8eZbI .5s forwards}@media(prefers-reduced-motion:reduce){.SlideInModal_slide-in_8eZbI{animation-duration:.1ms}}.SlideInModal_slide-out_8eZbI{animation:SlideInModal_slide-out_8eZbI .5s forwards}@media(prefers-reduced-motion:reduce){.SlideInModal_slide-out_8eZbI{animation-duration:.1ms}}@keyframes SlideInModal_slide-in_8eZbI{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes SlideInModal_slide-out_8eZbI{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 */.SlideInModal_slide-in-modal_8eZbI{justify-content:flex-end;visibility:visible;transform:translate(120%);transition-property:transform;transition-duration:.5s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.SlideInModal_slide-in-modal_8eZbI{transition-duration:.1ms}}.SlideInModal_slide-in-modal_8eZbI.SlideInModal_hide_8eZbI{visibility:hidden}.SlideInModal_slide-in-modal_8eZbI.SlideInModal_visible_8eZbI{visibility:visible;transform:translate(0)}.SlideInModal_slide-in-modal_8eZbI.SlideInModal_visible_8eZbI #SlideInModal_backdrop-slide_8eZbI,#SlideInModal_backdrop-slide_8eZbI{background-color:transparent}@media only screen and (min-width:50rem){.SlideInModal_container_8eZbI{margin-top:0;width:50rem;height:100%;max-height:unset;border-radius:0;box-shadow:0 1.875rem 3.125rem var(--modal-shadow-color)}}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="SlideInModal_hidden_8eZbI",d="SlideInModal_hide_8eZbI",i="SlideInModal_visible_8eZbI",l="SlideInModal_container_8eZbI",o={"sr-only":"SlideInModal_sr-only_8eZbI",hidden:e,"slide-in":"SlideInModal_slide-in_8eZbI","slide-out":"SlideInModal_slide-out_8eZbI","slide-in-modal":"SlideInModal_slide-in-modal_8eZbI",hide:d,visible:i,"backdrop-slide":"SlideInModal_backdrop-slide_8eZbI",container:l};exports.container=l,exports.default=o,exports.hidden=e,exports.hide=d,exports.visible=i;
3
3
  //# sourceMappingURL=SlideInModal.module.scss.cjs.js.map