@onewelcome/react-lib-components 11.1.0-delta → 12.1.0-alpha

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 (986) hide show
  1. package/dist/components/Breadcrumbs/Breadcrumbs.cjs.js +2 -0
  2. package/dist/components/Breadcrumbs/Breadcrumbs.cjs.js.map +1 -0
  3. package/dist/components/Breadcrumbs/Breadcrumbs.es.js +46 -0
  4. package/dist/components/Breadcrumbs/Breadcrumbs.es.js.map +1 -0
  5. package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.cjs.js +3 -0
  6. package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.cjs.js.map +1 -0
  7. package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.es.js +17 -0
  8. package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.es.js.map +1 -0
  9. package/dist/components/Button/BaseButton.cjs.js +2 -0
  10. package/dist/components/Button/BaseButton.cjs.js.map +1 -0
  11. package/dist/components/Button/BaseButton.es.js +32 -0
  12. package/dist/components/Button/BaseButton.es.js.map +1 -0
  13. package/dist/components/Button/BaseButton.module.scss.cjs.js +3 -0
  14. package/dist/components/Button/BaseButton.module.scss.cjs.js.map +1 -0
  15. package/dist/components/Button/BaseButton.module.scss.es.js +14 -0
  16. package/dist/components/Button/BaseButton.module.scss.es.js.map +1 -0
  17. package/dist/components/Button/Button.cjs.js +2 -0
  18. package/dist/components/Button/Button.cjs.js.map +1 -0
  19. package/dist/components/Button/Button.es.js +42 -0
  20. package/dist/components/Button/Button.es.js.map +1 -0
  21. package/dist/components/Button/Button.module.scss.cjs.js +3 -0
  22. package/dist/components/Button/Button.module.scss.cjs.js.map +1 -0
  23. package/dist/components/Button/Button.module.scss.es.js +41 -0
  24. package/dist/components/Button/Button.module.scss.es.js.map +1 -0
  25. package/dist/components/Button/IconButton.cjs.js +2 -0
  26. package/dist/components/Button/IconButton.cjs.js.map +1 -0
  27. package/dist/components/Button/IconButton.es.js +30 -0
  28. package/dist/components/Button/IconButton.es.js.map +1 -0
  29. package/dist/components/Button/IconButton.module.scss.cjs.js +3 -0
  30. package/dist/components/Button/IconButton.module.scss.cjs.js.map +1 -0
  31. package/dist/components/Button/IconButton.module.scss.es.js +42 -0
  32. package/dist/components/Button/IconButton.module.scss.es.js.map +1 -0
  33. package/dist/components/Button/Spinner.cjs.js +2 -0
  34. package/dist/components/Button/Spinner.cjs.js.map +1 -0
  35. package/dist/components/Button/Spinner.es.js +23 -0
  36. package/dist/components/Button/Spinner.es.js.map +1 -0
  37. package/dist/components/ContextMenu/ContextMenu.cjs.js +2 -0
  38. package/dist/components/ContextMenu/ContextMenu.cjs.js.map +1 -0
  39. package/dist/components/ContextMenu/ContextMenu.es.js +155 -0
  40. package/dist/components/ContextMenu/ContextMenu.es.js.map +1 -0
  41. package/dist/components/ContextMenu/ContextMenu.module.scss.cjs.js +3 -0
  42. package/dist/components/ContextMenu/ContextMenu.module.scss.cjs.js.map +1 -0
  43. package/dist/components/ContextMenu/ContextMenu.module.scss.es.js +13 -0
  44. package/dist/components/ContextMenu/ContextMenu.module.scss.es.js.map +1 -0
  45. package/dist/components/ContextMenu/ContextMenuDivider.cjs.js +2 -0
  46. package/dist/components/ContextMenu/ContextMenuDivider.cjs.js.map +1 -0
  47. package/dist/components/ContextMenu/ContextMenuDivider.es.js +9 -0
  48. package/dist/components/ContextMenu/ContextMenuDivider.es.js.map +1 -0
  49. package/dist/components/ContextMenu/ContextMenuDivider.module.scss.cjs.js +3 -0
  50. package/dist/components/ContextMenu/ContextMenuDivider.module.scss.cjs.js.map +1 -0
  51. package/dist/components/ContextMenu/ContextMenuDivider.module.scss.es.js +8 -0
  52. package/dist/components/ContextMenu/ContextMenuDivider.module.scss.es.js.map +1 -0
  53. package/dist/components/ContextMenu/ContextMenuItem.cjs.js +2 -0
  54. package/dist/components/ContextMenu/ContextMenuItem.cjs.js.map +1 -0
  55. package/dist/components/ContextMenu/ContextMenuItem.es.js +56 -0
  56. package/dist/components/ContextMenu/ContextMenuItem.es.js.map +1 -0
  57. package/dist/components/ContextMenu/ContextMenuItem.module.scss.cjs.js +3 -0
  58. package/dist/components/ContextMenu/ContextMenuItem.module.scss.cjs.js.map +1 -0
  59. package/dist/components/ContextMenu/ContextMenuItem.module.scss.es.js +11 -0
  60. package/dist/components/ContextMenu/ContextMenuItem.module.scss.es.js.map +1 -0
  61. package/dist/components/ContextMenu/ContextMenuService.cjs.js +2 -0
  62. package/dist/components/ContextMenu/ContextMenuService.cjs.js.map +1 -0
  63. package/dist/components/ContextMenu/ContextMenuService.es.js +124 -0
  64. package/dist/components/ContextMenu/ContextMenuService.es.js.map +1 -0
  65. package/dist/components/DataGrid/DataGrid.cjs.js +2 -0
  66. package/dist/components/DataGrid/DataGrid.cjs.js.map +1 -0
  67. package/dist/components/DataGrid/DataGrid.es.js +147 -0
  68. package/dist/components/DataGrid/DataGrid.es.js.map +1 -0
  69. package/dist/components/DataGrid/DataGrid.module.scss.cjs.js +3 -0
  70. package/dist/components/DataGrid/DataGrid.module.scss.cjs.js.map +1 -0
  71. package/dist/components/DataGrid/DataGrid.module.scss.es.js +16 -0
  72. package/dist/components/DataGrid/DataGrid.module.scss.es.js.map +1 -0
  73. package/dist/components/DataGrid/DataGridActions/DataGridActions.cjs.js +2 -0
  74. package/dist/components/DataGrid/DataGridActions/DataGridActions.cjs.js.map +1 -0
  75. package/dist/components/DataGrid/DataGridActions/DataGridActions.es.js +93 -0
  76. package/dist/components/DataGrid/DataGridActions/DataGridActions.es.js.map +1 -0
  77. package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.cjs.js +3 -0
  78. package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.cjs.js.map +1 -0
  79. package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.es.js +18 -0
  80. package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.es.js.map +1 -0
  81. package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.cjs.js +2 -0
  82. package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.cjs.js.map +1 -0
  83. package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.es.js +71 -0
  84. package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.es.js.map +1 -0
  85. package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.cjs.js +3 -0
  86. package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.cjs.js.map +1 -0
  87. package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.es.js +23 -0
  88. package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.es.js.map +1 -0
  89. package/dist/components/DataGrid/DataGridBody/DataGridBody.cjs.js +2 -0
  90. package/dist/components/DataGrid/DataGridBody/DataGridBody.cjs.js.map +1 -0
  91. package/dist/components/DataGrid/DataGridBody/DataGridBody.es.js +57 -0
  92. package/dist/components/DataGrid/DataGridBody/DataGridBody.es.js.map +1 -0
  93. package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.cjs.js +3 -0
  94. package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.cjs.js.map +1 -0
  95. package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.es.js +10 -0
  96. package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.es.js.map +1 -0
  97. package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.cjs.js +2 -0
  98. package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.cjs.js.map +1 -0
  99. package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.es.js +63 -0
  100. package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.es.js.map +1 -0
  101. package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.cjs.js +3 -0
  102. package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.cjs.js.map +1 -0
  103. package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.es.js +17 -0
  104. package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.es.js.map +1 -0
  105. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.cjs.js +2 -0
  106. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.cjs.js.map +1 -0
  107. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.es.js +18 -0
  108. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.es.js.map +1 -0
  109. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.cjs.js +3 -0
  110. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.cjs.js.map +1 -0
  111. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.es.js +16 -0
  112. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.es.js.map +1 -0
  113. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.cjs.js +2 -0
  114. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.cjs.js.map +1 -0
  115. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.es.js +11 -0
  116. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.es.js.map +1 -0
  117. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.cjs.js +3 -0
  118. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.cjs.js.map +1 -0
  119. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.es.js +11 -0
  120. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.es.js.map +1 -0
  121. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.cjs.js +2 -0
  122. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.cjs.js.map +1 -0
  123. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.es.js +126 -0
  124. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.es.js.map +1 -0
  125. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.cjs.js +3 -0
  126. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.cjs.js.map +1 -0
  127. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.es.js +42 -0
  128. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.es.js.map +1 -0
  129. package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.cjs.js +2 -0
  130. package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.cjs.js.map +1 -0
  131. package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.es.js +99 -0
  132. package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.es.js.map +1 -0
  133. package/dist/components/DataGrid/DataGridFilters/DataGridDateFilter.cjs.js +2 -0
  134. package/dist/components/DataGrid/DataGridFilters/DataGridDateFilter.cjs.js.map +1 -0
  135. package/dist/components/DataGrid/DataGridFilters/DataGridDateFilter.es.js +45 -0
  136. package/dist/components/DataGrid/DataGridFilters/DataGridDateFilter.es.js.map +1 -0
  137. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.cjs.js +2 -0
  138. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.cjs.js.map +1 -0
  139. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.es.js +118 -0
  140. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.es.js.map +1 -0
  141. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.cjs.js +3 -0
  142. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.cjs.js.map +1 -0
  143. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.es.js +23 -0
  144. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.es.js.map +1 -0
  145. package/dist/components/DataGrid/DataGridFilters/DataGridFilterPopover.cjs.js +2 -0
  146. package/dist/components/DataGrid/DataGridFilters/DataGridFilterPopover.cjs.js.map +1 -0
  147. package/dist/components/DataGrid/DataGridFilters/DataGridFilterPopover.es.js +121 -0
  148. package/dist/components/DataGrid/DataGridFilters/DataGridFilterPopover.es.js.map +1 -0
  149. package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.cjs.js +2 -0
  150. package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.cjs.js.map +1 -0
  151. package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.es.js +81 -0
  152. package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.es.js.map +1 -0
  153. package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.cjs.js +2 -0
  154. package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.cjs.js.map +1 -0
  155. package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.es.js +67 -0
  156. package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.es.js.map +1 -0
  157. package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.cjs.js +2 -0
  158. package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.cjs.js.map +1 -0
  159. package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.es.js +89 -0
  160. package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.es.js.map +1 -0
  161. package/dist/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.cjs.js +2 -0
  162. package/dist/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.cjs.js.map +1 -0
  163. package/dist/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.es.js +17 -0
  164. package/dist/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.es.js.map +1 -0
  165. package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.cjs.js +2 -0
  166. package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.cjs.js.map +1 -0
  167. package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.es.js +45 -0
  168. package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.es.js.map +1 -0
  169. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.cjs.js +2 -0
  170. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.cjs.js.map +1 -0
  171. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.es.js +89 -0
  172. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.es.js.map +1 -0
  173. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.cjs.js +3 -0
  174. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.cjs.js.map +1 -0
  175. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.es.js +20 -0
  176. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.es.js.map +1 -0
  177. package/dist/components/DataGrid/DataGridFilters/DataGridToolbarWrapper.cjs.js +2 -0
  178. package/dist/components/DataGrid/DataGridFilters/DataGridToolbarWrapper.cjs.js.map +1 -0
  179. package/dist/components/DataGrid/DataGridFilters/DataGridToolbarWrapper.es.js +11 -0
  180. package/dist/components/DataGrid/DataGridFilters/DataGridToolbarWrapper.es.js.map +1 -0
  181. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.cjs.js +2 -0
  182. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.cjs.js.map +1 -0
  183. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.es.js +186 -0
  184. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.es.js.map +1 -0
  185. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.cjs.js +3 -0
  186. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.cjs.js.map +1 -0
  187. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.es.js +35 -0
  188. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.es.js.map +1 -0
  189. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.cjs.js +2 -0
  190. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.cjs.js.map +1 -0
  191. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.es.js +70 -0
  192. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.es.js.map +1 -0
  193. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerInputSection.cjs.js +2 -0
  194. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerInputSection.cjs.js.map +1 -0
  195. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerInputSection.es.js +80 -0
  196. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerInputSection.es.js.map +1 -0
  197. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimeService.cjs.js +2 -0
  198. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimeService.cjs.js.map +1 -0
  199. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimeService.es.js +22 -0
  200. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimeService.es.js.map +1 -0
  201. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/SideMenu.cjs.js +2 -0
  202. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/SideMenu.cjs.js.map +1 -0
  203. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/SideMenu.es.js +27 -0
  204. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/SideMenu.es.js.map +1 -0
  205. package/dist/components/DataGrid/DataGridFilters/FilterKeyMapper.cjs.js +2 -0
  206. package/dist/components/DataGrid/DataGridFilters/FilterKeyMapper.cjs.js.map +1 -0
  207. package/dist/components/DataGrid/DataGridFilters/FilterKeyMapper.es.js +32 -0
  208. package/dist/components/DataGrid/DataGridFilters/FilterKeyMapper.es.js.map +1 -0
  209. package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.cjs.js +2 -0
  210. package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.cjs.js.map +1 -0
  211. package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.es.js +50 -0
  212. package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.es.js.map +1 -0
  213. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.cjs.js +2 -0
  214. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.cjs.js.map +1 -0
  215. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.es.js +75 -0
  216. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.es.js.map +1 -0
  217. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.cjs.js +3 -0
  218. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.cjs.js.map +1 -0
  219. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.es.js +11 -0
  220. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.es.js.map +1 -0
  221. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js +2 -0
  222. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js.map +1 -0
  223. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.es.js +38 -0
  224. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.es.js.map +1 -0
  225. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.cjs.js +3 -0
  226. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.cjs.js.map +1 -0
  227. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.es.js +21 -0
  228. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.es.js.map +1 -0
  229. package/dist/components/DatePicker/DatePicker.cjs.js +2 -0
  230. package/dist/components/DatePicker/DatePicker.cjs.js.map +1 -0
  231. package/dist/components/DatePicker/DatePicker.es.js +57 -0
  232. package/dist/components/DatePicker/DatePicker.es.js.map +1 -0
  233. package/dist/components/DatePicker/DatePicker.module.scss.cjs.js +3 -0
  234. package/dist/components/DatePicker/DatePicker.module.scss.cjs.js.map +1 -0
  235. package/dist/components/DatePicker/DatePicker.module.scss.es.js +39 -0
  236. package/dist/components/DatePicker/DatePicker.module.scss.es.js.map +1 -0
  237. package/dist/components/Form/Checkbox/Checkbox.cjs.js +2 -0
  238. package/dist/components/Form/Checkbox/Checkbox.cjs.js.map +1 -0
  239. package/dist/components/Form/Checkbox/Checkbox.es.js +154 -0
  240. package/dist/components/Form/Checkbox/Checkbox.es.js.map +1 -0
  241. package/dist/components/Form/Checkbox/Checkbox.module.scss.cjs.js +3 -0
  242. package/dist/components/Form/Checkbox/Checkbox.module.scss.cjs.js.map +1 -0
  243. package/dist/components/Form/Checkbox/Checkbox.module.scss.es.js +33 -0
  244. package/dist/components/Form/Checkbox/Checkbox.module.scss.es.js.map +1 -0
  245. package/dist/components/Form/Fieldset/Fieldset.cjs.js +2 -0
  246. package/dist/components/Form/Fieldset/Fieldset.cjs.js.map +1 -0
  247. package/dist/components/Form/Fieldset/Fieldset.es.js +90 -0
  248. package/dist/components/Form/Fieldset/Fieldset.es.js.map +1 -0
  249. package/dist/components/Form/Fieldset/Fieldset.module.scss.cjs.js +3 -0
  250. package/dist/components/Form/Fieldset/Fieldset.module.scss.cjs.js.map +1 -0
  251. package/dist/components/Form/Fieldset/Fieldset.module.scss.es.js +17 -0
  252. package/dist/components/Form/Fieldset/Fieldset.module.scss.es.js.map +1 -0
  253. package/dist/components/Form/FileUpload/FileItem/FileItem.cjs.js +2 -0
  254. package/dist/components/Form/FileUpload/FileItem/FileItem.cjs.js.map +1 -0
  255. package/dist/components/Form/FileUpload/FileItem/FileItem.es.js +224 -0
  256. package/dist/components/Form/FileUpload/FileItem/FileItem.es.js.map +1 -0
  257. package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.cjs.js +3 -0
  258. package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.cjs.js.map +1 -0
  259. package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.es.js +32 -0
  260. package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.es.js.map +1 -0
  261. package/dist/components/Form/FileUpload/FileUpload.cjs.js +2 -0
  262. package/dist/components/Form/FileUpload/FileUpload.cjs.js.map +1 -0
  263. package/dist/components/Form/FileUpload/FileUpload.es.js +210 -0
  264. package/dist/components/Form/FileUpload/FileUpload.es.js.map +1 -0
  265. package/dist/components/Form/FileUpload/FileUpload.module.scss.cjs.js +3 -0
  266. package/dist/components/Form/FileUpload/FileUpload.module.scss.cjs.js.map +1 -0
  267. package/dist/components/Form/FileUpload/FileUpload.module.scss.es.js +32 -0
  268. package/dist/components/Form/FileUpload/FileUpload.module.scss.es.js.map +1 -0
  269. package/dist/components/Form/Form.cjs.js +2 -0
  270. package/dist/components/Form/Form.cjs.js.map +1 -0
  271. package/dist/components/Form/Form.es.js +10 -0
  272. package/dist/components/Form/Form.es.js.map +1 -0
  273. package/dist/components/Form/Form.module.scss.cjs.js +3 -0
  274. package/dist/components/Form/Form.module.scss.cjs.js.map +1 -0
  275. package/dist/components/Form/Form.module.scss.es.js +10 -0
  276. package/dist/components/Form/Form.module.scss.es.js.map +1 -0
  277. package/dist/components/Form/FormControl/FormControl.cjs.js +2 -0
  278. package/dist/components/Form/FormControl/FormControl.cjs.js.map +1 -0
  279. package/dist/components/Form/FormControl/FormControl.es.js +31 -0
  280. package/dist/components/Form/FormControl/FormControl.es.js.map +1 -0
  281. package/dist/components/Form/FormControl/FormControl.module.scss.cjs.js +3 -0
  282. package/dist/components/Form/FormControl/FormControl.module.scss.cjs.js.map +1 -0
  283. package/dist/components/Form/FormControl/FormControl.module.scss.es.js +37 -0
  284. package/dist/components/Form/FormControl/FormControl.module.scss.es.js.map +1 -0
  285. package/dist/components/Form/FormErrorText/FormErrorText.cjs.js +2 -0
  286. package/dist/components/Form/FormErrorText/FormErrorText.cjs.js.map +1 -0
  287. package/dist/components/Form/FormErrorText/FormErrorText.es.js +39 -0
  288. package/dist/components/Form/FormErrorText/FormErrorText.es.js.map +1 -0
  289. package/dist/components/Form/FormErrorText/FormErrorText.module.scss.cjs.js +3 -0
  290. package/dist/components/Form/FormErrorText/FormErrorText.module.scss.cjs.js.map +1 -0
  291. package/dist/components/Form/FormErrorText/FormErrorText.module.scss.es.js +11 -0
  292. package/dist/components/Form/FormErrorText/FormErrorText.module.scss.es.js.map +1 -0
  293. package/dist/components/Form/FormGroup/FormGroup.cjs.js +2 -0
  294. package/dist/components/Form/FormGroup/FormGroup.cjs.js.map +1 -0
  295. package/dist/components/Form/FormGroup/FormGroup.es.js +50 -0
  296. package/dist/components/Form/FormGroup/FormGroup.es.js.map +1 -0
  297. package/dist/components/Form/FormGroup/FormGroup.module.scss.cjs.js +3 -0
  298. package/dist/components/Form/FormGroup/FormGroup.module.scss.cjs.js.map +1 -0
  299. package/dist/components/Form/FormGroup/FormGroup.module.scss.es.js +9 -0
  300. package/dist/components/Form/FormGroup/FormGroup.module.scss.es.js.map +1 -0
  301. package/dist/components/Form/FormHelperText/FormHelperText.cjs.js +2 -0
  302. package/dist/components/Form/FormHelperText/FormHelperText.cjs.js.map +1 -0
  303. package/dist/components/Form/FormHelperText/FormHelperText.es.js +15 -0
  304. package/dist/components/Form/FormHelperText/FormHelperText.es.js.map +1 -0
  305. package/dist/components/Form/FormHelperText/FormHelperText.module.scss.cjs.js +3 -0
  306. package/dist/components/Form/FormHelperText/FormHelperText.module.scss.cjs.js.map +1 -0
  307. package/dist/components/Form/FormHelperText/FormHelperText.module.scss.es.js +14 -0
  308. package/dist/components/Form/FormHelperText/FormHelperText.module.scss.es.js.map +1 -0
  309. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.cjs.js +2 -0
  310. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.cjs.js.map +1 -0
  311. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.es.js +72 -0
  312. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.es.js.map +1 -0
  313. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.cjs.js +3 -0
  314. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.cjs.js.map +1 -0
  315. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.es.js +18 -0
  316. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.es.js.map +1 -0
  317. package/dist/components/Form/FormStatusIndicator/FormStatusIndicator.cjs.js +2 -0
  318. package/dist/components/Form/FormStatusIndicator/FormStatusIndicator.cjs.js.map +1 -0
  319. package/dist/components/Form/FormStatusIndicator/FormStatusIndicator.es.js +54 -0
  320. package/dist/components/Form/FormStatusIndicator/FormStatusIndicator.es.js.map +1 -0
  321. package/dist/components/Form/Input/Input.cjs.js +2 -0
  322. package/dist/components/Form/Input/Input.cjs.js.map +1 -0
  323. package/dist/components/Form/Input/Input.es.js +95 -0
  324. package/dist/components/Form/Input/Input.es.js.map +1 -0
  325. package/dist/components/Form/Input/Input.module.scss.cjs.js +3 -0
  326. package/dist/components/Form/Input/Input.module.scss.cjs.js.map +1 -0
  327. package/dist/components/Form/Input/Input.module.scss.es.js +27 -0
  328. package/dist/components/Form/Input/Input.module.scss.es.js.map +1 -0
  329. package/dist/components/Form/Label/Label.cjs.js +2 -0
  330. package/dist/components/Form/Label/Label.cjs.js.map +1 -0
  331. package/dist/components/Form/Label/Label.es.js +19 -0
  332. package/dist/components/Form/Label/Label.es.js.map +1 -0
  333. package/dist/components/Form/Label/Label.module.scss.cjs.js +3 -0
  334. package/dist/components/Form/Label/Label.module.scss.cjs.js.map +1 -0
  335. package/dist/components/Form/Label/Label.module.scss.es.js +10 -0
  336. package/dist/components/Form/Label/Label.module.scss.es.js.map +1 -0
  337. package/dist/components/Form/Radio/Radio.cjs.js +2 -0
  338. package/dist/components/Form/Radio/Radio.cjs.js.map +1 -0
  339. package/dist/components/Form/Radio/Radio.es.js +105 -0
  340. package/dist/components/Form/Radio/Radio.es.js.map +1 -0
  341. package/dist/components/Form/Radio/Radio.module.scss.cjs.js +3 -0
  342. package/dist/components/Form/Radio/Radio.module.scss.cjs.js.map +1 -0
  343. package/dist/components/Form/Radio/Radio.module.scss.es.js +27 -0
  344. package/dist/components/Form/Radio/Radio.module.scss.es.js.map +1 -0
  345. package/dist/components/Form/Select/MultiSelect/MultiOption.cjs.js +2 -0
  346. package/dist/components/Form/Select/MultiSelect/MultiOption.cjs.js.map +1 -0
  347. package/dist/components/Form/Select/MultiSelect/MultiOption.es.js +40 -0
  348. package/dist/components/Form/Select/MultiSelect/MultiOption.es.js.map +1 -0
  349. package/dist/components/Form/Select/MultiSelect/MultiSelect.cjs.js +2 -0
  350. package/dist/components/Form/Select/MultiSelect/MultiSelect.cjs.js.map +1 -0
  351. package/dist/components/Form/Select/MultiSelect/MultiSelect.es.js +386 -0
  352. package/dist/components/Form/Select/MultiSelect/MultiSelect.es.js.map +1 -0
  353. package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.cjs.js +3 -0
  354. package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.cjs.js.map +1 -0
  355. package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.es.js +37 -0
  356. package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.es.js.map +1 -0
  357. package/dist/components/Form/Select/MultiSelect/SelectButton.cjs.js +2 -0
  358. package/dist/components/Form/Select/MultiSelect/SelectButton.cjs.js.map +1 -0
  359. package/dist/components/Form/Select/MultiSelect/SelectButton.es.js +20 -0
  360. package/dist/components/Form/Select/MultiSelect/SelectButton.es.js.map +1 -0
  361. package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.cjs.js +3 -0
  362. package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.cjs.js.map +1 -0
  363. package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.es.js +10 -0
  364. package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.es.js.map +1 -0
  365. package/dist/components/Form/Select/MultiSelect/SelectedOptions.cjs.js +2 -0
  366. package/dist/components/Form/Select/MultiSelect/SelectedOptions.cjs.js.map +1 -0
  367. package/dist/components/Form/Select/MultiSelect/SelectedOptions.es.js +30 -0
  368. package/dist/components/Form/Select/MultiSelect/SelectedOptions.es.js.map +1 -0
  369. package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.cjs.js +3 -0
  370. package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.cjs.js.map +1 -0
  371. package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.es.js +14 -0
  372. package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.es.js.map +1 -0
  373. package/dist/components/Form/Select/MultiSelect/useArrowNavigation.cjs.js +2 -0
  374. package/dist/components/Form/Select/MultiSelect/useArrowNavigation.cjs.js.map +1 -0
  375. package/dist/components/Form/Select/MultiSelect/useArrowNavigation.es.js +101 -0
  376. package/dist/components/Form/Select/MultiSelect/useArrowNavigation.es.js.map +1 -0
  377. package/dist/components/Form/Select/MultiSelect/useMultiSelect.cjs.js +2 -0
  378. package/dist/components/Form/Select/MultiSelect/useMultiSelect.cjs.js.map +1 -0
  379. package/dist/components/Form/Select/MultiSelect/useMultiSelect.es.js +54 -0
  380. package/dist/components/Form/Select/MultiSelect/useMultiSelect.es.js.map +1 -0
  381. package/dist/components/Form/Select/MultiSelect/useSearch.cjs.js +2 -0
  382. package/dist/components/Form/Select/MultiSelect/useSearch.cjs.js.map +1 -0
  383. package/dist/components/Form/Select/MultiSelect/useSearch.es.js +87 -0
  384. package/dist/components/Form/Select/MultiSelect/useSearch.es.js.map +1 -0
  385. package/dist/components/Form/Select/Select.interfaces.cjs.js +2 -0
  386. package/dist/components/Form/Select/Select.interfaces.cjs.js.map +1 -0
  387. package/dist/components/Form/Select/Select.interfaces.es.js +9 -0
  388. package/dist/components/Form/Select/Select.interfaces.es.js.map +1 -0
  389. package/dist/components/Form/Select/SingleSelect/Option.cjs.js +2 -0
  390. package/dist/components/Form/Select/SingleSelect/Option.cjs.js.map +1 -0
  391. package/dist/components/Form/Select/SingleSelect/Option.es.js +68 -0
  392. package/dist/components/Form/Select/SingleSelect/Option.es.js.map +1 -0
  393. package/dist/components/Form/Select/SingleSelect/Select.cjs.js +2 -0
  394. package/dist/components/Form/Select/SingleSelect/Select.cjs.js.map +1 -0
  395. package/dist/components/Form/Select/SingleSelect/Select.es.js +245 -0
  396. package/dist/components/Form/Select/SingleSelect/Select.es.js.map +1 -0
  397. package/dist/components/Form/Select/SingleSelect/Select.module.scss.cjs.js +3 -0
  398. package/dist/components/Form/Select/SingleSelect/Select.module.scss.cjs.js.map +1 -0
  399. package/dist/components/Form/Select/SingleSelect/Select.module.scss.es.js +45 -0
  400. package/dist/components/Form/Select/SingleSelect/Select.module.scss.es.js.map +1 -0
  401. package/dist/components/Form/Select/SingleSelect/useArrowNavigation.cjs.js +2 -0
  402. package/dist/components/Form/Select/SingleSelect/useArrowNavigation.cjs.js.map +1 -0
  403. package/dist/components/Form/Select/SingleSelect/useArrowNavigation.es.js +149 -0
  404. package/dist/components/Form/Select/SingleSelect/useArrowNavigation.es.js.map +1 -0
  405. package/dist/components/Form/Select/SingleSelect/useSearch.cjs.js +2 -0
  406. package/dist/components/Form/Select/SingleSelect/useSearch.cjs.js.map +1 -0
  407. package/dist/components/Form/Select/SingleSelect/useSearch.es.js +83 -0
  408. package/dist/components/Form/Select/SingleSelect/useSearch.es.js.map +1 -0
  409. package/dist/components/Form/Select/useAddNewBtn.cjs.js +2 -0
  410. package/dist/components/Form/Select/useAddNewBtn.cjs.js.map +1 -0
  411. package/dist/components/Form/Select/useAddNewBtn.es.js +57 -0
  412. package/dist/components/Form/Select/useAddNewBtn.es.js.map +1 -0
  413. package/dist/components/Form/Select/useAddNewBtn.module.scss.cjs.js +3 -0
  414. package/dist/components/Form/Select/useAddNewBtn.module.scss.cjs.js.map +1 -0
  415. package/dist/components/Form/Select/useAddNewBtn.module.scss.es.js +12 -0
  416. package/dist/components/Form/Select/useAddNewBtn.module.scss.es.js.map +1 -0
  417. package/dist/components/Form/Select/useSelectPositionList.cjs.js +2 -0
  418. package/dist/components/Form/Select/useSelectPositionList.cjs.js.map +1 -0
  419. package/dist/components/Form/Select/useSelectPositionList.es.js +66 -0
  420. package/dist/components/Form/Select/useSelectPositionList.es.js.map +1 -0
  421. package/dist/components/Form/Textarea/Textarea.cjs.js +2 -0
  422. package/dist/components/Form/Textarea/Textarea.cjs.js.map +1 -0
  423. package/dist/components/Form/Textarea/Textarea.es.js +64 -0
  424. package/dist/components/Form/Textarea/Textarea.es.js.map +1 -0
  425. package/dist/components/Form/Textarea/Textarea.module.scss.cjs.js +3 -0
  426. package/dist/components/Form/Textarea/Textarea.module.scss.cjs.js.map +1 -0
  427. package/dist/components/Form/Textarea/Textarea.module.scss.es.js +20 -0
  428. package/dist/components/Form/Textarea/Textarea.module.scss.es.js.map +1 -0
  429. package/dist/components/Form/Toggle/Toggle.cjs.js +2 -0
  430. package/dist/components/Form/Toggle/Toggle.cjs.js.map +1 -0
  431. package/dist/components/Form/Toggle/Toggle.es.js +50 -0
  432. package/dist/components/Form/Toggle/Toggle.es.js.map +1 -0
  433. package/dist/components/Form/Toggle/Toggle.module.scss.cjs.js +3 -0
  434. package/dist/components/Form/Toggle/Toggle.module.scss.cjs.js.map +1 -0
  435. package/dist/components/Form/Toggle/Toggle.module.scss.es.js +34 -0
  436. package/dist/components/Form/Toggle/Toggle.module.scss.es.js.map +1 -0
  437. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.cjs.js +2 -0
  438. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.cjs.js.map +1 -0
  439. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.es.js +63 -0
  440. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.es.js.map +1 -0
  441. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.cjs.js +3 -0
  442. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.cjs.js.map +1 -0
  443. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.es.js +9 -0
  444. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.es.js.map +1 -0
  445. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.cjs.js +2 -0
  446. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.cjs.js.map +1 -0
  447. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.es.js +96 -0
  448. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.es.js.map +1 -0
  449. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.cjs.js +3 -0
  450. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.cjs.js.map +1 -0
  451. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.es.js +12 -0
  452. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.es.js.map +1 -0
  453. package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.cjs.js +2 -0
  454. package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.cjs.js.map +1 -0
  455. package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.es.js +57 -0
  456. package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.es.js.map +1 -0
  457. package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.cjs.js +3 -0
  458. package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.cjs.js.map +1 -0
  459. package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.es.js +9 -0
  460. package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.es.js.map +1 -0
  461. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.cjs.js +2 -0
  462. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.cjs.js.map +1 -0
  463. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.es.js +74 -0
  464. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.es.js.map +1 -0
  465. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.cjs.js +3 -0
  466. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.cjs.js.map +1 -0
  467. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.es.js +9 -0
  468. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.es.js.map +1 -0
  469. package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.cjs.js +2 -0
  470. package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.cjs.js.map +1 -0
  471. package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.es.js +57 -0
  472. package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.es.js.map +1 -0
  473. package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.cjs.js +3 -0
  474. package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.cjs.js.map +1 -0
  475. package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.es.js +9 -0
  476. package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.es.js.map +1 -0
  477. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.cjs.js +2 -0
  478. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.cjs.js.map +1 -0
  479. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.es.js +115 -0
  480. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.es.js.map +1 -0
  481. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.cjs.js +3 -0
  482. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.cjs.js.map +1 -0
  483. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.es.js +24 -0
  484. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.es.js.map +1 -0
  485. package/dist/components/Form/Wrapper/Wrapper/Wrapper.cjs.js +2 -0
  486. package/dist/components/Form/Wrapper/Wrapper/Wrapper.cjs.js.map +1 -0
  487. package/dist/components/Form/Wrapper/Wrapper/Wrapper.es.js +66 -0
  488. package/dist/components/Form/Wrapper/Wrapper/Wrapper.es.js.map +1 -0
  489. package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.cjs.js +3 -0
  490. package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.cjs.js.map +1 -0
  491. package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.es.js +20 -0
  492. package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.es.js.map +1 -0
  493. package/dist/components/Icon/Icon.cjs.js +2 -0
  494. package/dist/components/Icon/Icon.cjs.js.map +1 -0
  495. package/dist/components/Icon/Icon.es.js +130 -0
  496. package/dist/components/Icon/Icon.es.js.map +1 -0
  497. package/dist/components/Icon/Icon.module.scss.cjs.js +3 -0
  498. package/dist/components/Icon/Icon.module.scss.cjs.js.map +1 -0
  499. package/dist/components/Icon/Icon.module.scss.es.js +115 -0
  500. package/dist/components/Icon/Icon.module.scss.es.js.map +1 -0
  501. package/dist/components/InlineEditing/InlineCheckbox/InlineCheckbox.cjs.js +2 -0
  502. package/dist/components/InlineEditing/InlineCheckbox/InlineCheckbox.cjs.js.map +1 -0
  503. package/dist/components/InlineEditing/InlineCheckbox/InlineCheckbox.es.js +18 -0
  504. package/dist/components/InlineEditing/InlineCheckbox/InlineCheckbox.es.js.map +1 -0
  505. package/dist/components/InlineEditing/InlineEditingContext.cjs.js +2 -0
  506. package/dist/components/InlineEditing/InlineEditingContext.cjs.js.map +1 -0
  507. package/dist/components/InlineEditing/InlineEditingContext.es.js +9 -0
  508. package/dist/components/InlineEditing/InlineEditingContext.es.js.map +1 -0
  509. package/dist/components/InlineEditing/InlineEditingSelect/InlineSelect.cjs.js +2 -0
  510. package/dist/components/InlineEditing/InlineEditingSelect/InlineSelect.cjs.js.map +1 -0
  511. package/dist/components/InlineEditing/InlineEditingSelect/InlineSelect.es.js +21 -0
  512. package/dist/components/InlineEditing/InlineEditingSelect/InlineSelect.es.js.map +1 -0
  513. package/dist/components/Layout/Card/Card.cjs.js +2 -0
  514. package/dist/components/Layout/Card/Card.cjs.js.map +1 -0
  515. package/dist/components/Layout/Card/Card.es.js +55 -0
  516. package/dist/components/Layout/Card/Card.es.js.map +1 -0
  517. package/dist/components/Layout/Card/Card.module.scss.cjs.js +3 -0
  518. package/dist/components/Layout/Card/Card.module.scss.cjs.js.map +1 -0
  519. package/dist/components/Layout/Card/Card.module.scss.es.js +28 -0
  520. package/dist/components/Layout/Card/Card.module.scss.es.js.map +1 -0
  521. package/dist/components/Layout/ContentHeader/ContentHeader.cjs.js +2 -0
  522. package/dist/components/Layout/ContentHeader/ContentHeader.cjs.js.map +1 -0
  523. package/dist/components/Layout/ContentHeader/ContentHeader.es.js +81 -0
  524. package/dist/components/Layout/ContentHeader/ContentHeader.es.js.map +1 -0
  525. package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.cjs.js +3 -0
  526. package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.cjs.js.map +1 -0
  527. package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.es.js +20 -0
  528. package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.es.js.map +1 -0
  529. package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.cjs.js +2 -0
  530. package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.cjs.js.map +1 -0
  531. package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.es.js +20 -0
  532. package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.es.js.map +1 -0
  533. package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.cjs.js +3 -0
  534. package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.cjs.js.map +1 -0
  535. package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.es.js +10 -0
  536. package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.es.js.map +1 -0
  537. package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.cjs.js +2 -0
  538. package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.cjs.js.map +1 -0
  539. package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.es.js +27 -0
  540. package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.es.js.map +1 -0
  541. package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.cjs.js +3 -0
  542. package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.cjs.js.map +1 -0
  543. package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.es.js +10 -0
  544. package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.es.js.map +1 -0
  545. package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.cjs.js +2 -0
  546. package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.cjs.js.map +1 -0
  547. package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.es.js +9 -0
  548. package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.es.js.map +1 -0
  549. package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.cjs.js +3 -0
  550. package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.cjs.js.map +1 -0
  551. package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.es.js +11 -0
  552. package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.es.js.map +1 -0
  553. package/dist/components/Link/Link.cjs.js +2 -0
  554. package/dist/components/Link/Link.cjs.js.map +1 -0
  555. package/dist/components/Link/Link.es.js +69 -0
  556. package/dist/components/Link/Link.es.js.map +1 -0
  557. package/dist/components/Link/Link.module.scss.cjs.js +3 -0
  558. package/dist/components/Link/Link.module.scss.cjs.js.map +1 -0
  559. package/dist/components/Link/Link.module.scss.es.js +44 -0
  560. package/dist/components/Link/Link.module.scss.es.js.map +1 -0
  561. package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.cjs.js +2 -0
  562. package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.cjs.js.map +1 -0
  563. package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.es.js +25 -0
  564. package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.es.js.map +1 -0
  565. package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.cjs.js +3 -0
  566. package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.cjs.js.map +1 -0
  567. package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.es.js +31 -0
  568. package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.es.js.map +1 -0
  569. package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.cjs.js +2 -0
  570. package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.cjs.js.map +1 -0
  571. package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.es.js +30 -0
  572. package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.es.js.map +1 -0
  573. package/dist/components/Notifications/Alert/AlertItem/AlertItem.cjs.js +2 -0
  574. package/dist/components/Notifications/Alert/AlertItem/AlertItem.cjs.js.map +1 -0
  575. package/dist/components/Notifications/Alert/AlertItem/AlertItem.es.js +154 -0
  576. package/dist/components/Notifications/Alert/AlertItem/AlertItem.es.js.map +1 -0
  577. package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.cjs.js +3 -0
  578. package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.cjs.js.map +1 -0
  579. package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.es.js +50 -0
  580. package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.es.js.map +1 -0
  581. package/dist/components/Notifications/Alert/AlertProvider/AlertContext.cjs.js +2 -0
  582. package/dist/components/Notifications/Alert/AlertProvider/AlertContext.cjs.js.map +1 -0
  583. package/dist/components/Notifications/Alert/AlertProvider/AlertContext.es.js +14 -0
  584. package/dist/components/Notifications/Alert/AlertProvider/AlertContext.es.js.map +1 -0
  585. package/dist/components/Notifications/Alert/AlertProvider/AlertProvider.cjs.js +2 -0
  586. package/dist/components/Notifications/Alert/AlertProvider/AlertProvider.cjs.js.map +1 -0
  587. package/dist/components/Notifications/Alert/AlertProvider/AlertProvider.es.js +124 -0
  588. package/dist/components/Notifications/Alert/AlertProvider/AlertProvider.es.js.map +1 -0
  589. package/dist/components/Notifications/Alert/useAlert.cjs.js +2 -0
  590. package/dist/components/Notifications/Alert/useAlert.cjs.js.map +1 -0
  591. package/dist/components/Notifications/Alert/useAlert.es.js +16 -0
  592. package/dist/components/Notifications/Alert/useAlert.es.js.map +1 -0
  593. package/dist/components/Notifications/Banner/Banner.cjs.js +2 -0
  594. package/dist/components/Notifications/Banner/Banner.cjs.js.map +1 -0
  595. package/dist/components/Notifications/Banner/Banner.es.js +37 -0
  596. package/dist/components/Notifications/Banner/Banner.es.js.map +1 -0
  597. package/dist/components/Notifications/Banner/Banner.module.scss.cjs.js +3 -0
  598. package/dist/components/Notifications/Banner/Banner.module.scss.cjs.js.map +1 -0
  599. package/dist/components/Notifications/Banner/Banner.module.scss.es.js +31 -0
  600. package/dist/components/Notifications/Banner/Banner.module.scss.es.js.map +1 -0
  601. package/dist/components/Notifications/BaseModal/BaseModal.cjs.js +2 -0
  602. package/dist/components/Notifications/BaseModal/BaseModal.cjs.js.map +1 -0
  603. package/dist/components/Notifications/BaseModal/BaseModal.es.js +129 -0
  604. package/dist/components/Notifications/BaseModal/BaseModal.es.js.map +1 -0
  605. package/dist/components/Notifications/BaseModal/BaseModal.module.scss.cjs.js +3 -0
  606. package/dist/components/Notifications/BaseModal/BaseModal.module.scss.cjs.js.map +1 -0
  607. package/dist/components/Notifications/BaseModal/BaseModal.module.scss.es.js +19 -0
  608. package/dist/components/Notifications/BaseModal/BaseModal.module.scss.es.js.map +1 -0
  609. package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.cjs.js +2 -0
  610. package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.cjs.js.map +1 -0
  611. package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.es.js +22 -0
  612. package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.es.js.map +1 -0
  613. package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.cjs.js +3 -0
  614. package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.cjs.js.map +1 -0
  615. package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.es.js +12 -0
  616. package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.es.js.map +1 -0
  617. package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.cjs.js +2 -0
  618. package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.cjs.js.map +1 -0
  619. package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.es.js +29 -0
  620. package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.es.js.map +1 -0
  621. package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.cjs.js +3 -0
  622. package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.cjs.js.map +1 -0
  623. package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.es.js +10 -0
  624. package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.es.js.map +1 -0
  625. package/dist/components/Notifications/BaseModal/BaseModalContext.cjs.js +2 -0
  626. package/dist/components/Notifications/BaseModal/BaseModalContext.cjs.js.map +1 -0
  627. package/dist/components/Notifications/BaseModal/BaseModalContext.es.js +7 -0
  628. package/dist/components/Notifications/BaseModal/BaseModalContext.es.js.map +1 -0
  629. package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.cjs.js +2 -0
  630. package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.cjs.js.map +1 -0
  631. package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.es.js +33 -0
  632. package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.es.js.map +1 -0
  633. package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.cjs.js +3 -0
  634. package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.cjs.js.map +1 -0
  635. package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.es.js +20 -0
  636. package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.es.js.map +1 -0
  637. package/dist/components/Notifications/Dialog/Dialog.cjs.js +2 -0
  638. package/dist/components/Notifications/Dialog/Dialog.cjs.js.map +1 -0
  639. package/dist/components/Notifications/Dialog/Dialog.es.js +96 -0
  640. package/dist/components/Notifications/Dialog/Dialog.es.js.map +1 -0
  641. package/dist/components/Notifications/Dialog/Dialog.module.scss.cjs.js +3 -0
  642. package/dist/components/Notifications/Dialog/Dialog.module.scss.cjs.js.map +1 -0
  643. package/dist/components/Notifications/Dialog/Dialog.module.scss.es.js +16 -0
  644. package/dist/components/Notifications/Dialog/Dialog.module.scss.es.js.map +1 -0
  645. package/dist/components/Notifications/Dialog/DialogActions/DialogActions.cjs.js +2 -0
  646. package/dist/components/Notifications/Dialog/DialogActions/DialogActions.cjs.js.map +1 -0
  647. package/dist/components/Notifications/Dialog/DialogActions/DialogActions.es.js +22 -0
  648. package/dist/components/Notifications/Dialog/DialogActions/DialogActions.es.js.map +1 -0
  649. package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.cjs.js +3 -0
  650. package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.cjs.js.map +1 -0
  651. package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.es.js +11 -0
  652. package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.es.js.map +1 -0
  653. package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.cjs.js +2 -0
  654. package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.cjs.js.map +1 -0
  655. package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.es.js +38 -0
  656. package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.es.js.map +1 -0
  657. package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.cjs.js +3 -0
  658. package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.cjs.js.map +1 -0
  659. package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.es.js +24 -0
  660. package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.es.js.map +1 -0
  661. package/dist/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.cjs.js +2 -0
  662. package/dist/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.cjs.js.map +1 -0
  663. package/dist/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.es.js +41 -0
  664. package/dist/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.es.js.map +1 -0
  665. package/dist/components/Notifications/DiscardChangesModal/DiscardChangesModal.cjs.js +2 -0
  666. package/dist/components/Notifications/DiscardChangesModal/DiscardChangesModal.cjs.js.map +1 -0
  667. package/dist/components/Notifications/DiscardChangesModal/DiscardChangesModal.es.js +39 -0
  668. package/dist/components/Notifications/DiscardChangesModal/DiscardChangesModal.es.js.map +1 -0
  669. package/dist/components/Notifications/NotificationProvider/NotificationContext.cjs.js +2 -0
  670. package/dist/components/Notifications/NotificationProvider/NotificationContext.cjs.js.map +1 -0
  671. package/dist/components/Notifications/NotificationProvider/NotificationContext.es.js +146 -0
  672. package/dist/components/Notifications/NotificationProvider/NotificationContext.es.js.map +1 -0
  673. package/dist/components/Notifications/NotificationProvider/NotificationService.cjs.js +2 -0
  674. package/dist/components/Notifications/NotificationProvider/NotificationService.cjs.js.map +1 -0
  675. package/dist/components/Notifications/NotificationProvider/NotificationService.es.js +19 -0
  676. package/dist/components/Notifications/NotificationProvider/NotificationService.es.js.map +1 -0
  677. package/dist/components/Notifications/SideSheet/SideSheet.cjs.js +2 -0
  678. package/dist/components/Notifications/SideSheet/SideSheet.cjs.js.map +1 -0
  679. package/dist/components/Notifications/SideSheet/SideSheet.es.js +68 -0
  680. package/dist/components/Notifications/SideSheet/SideSheet.es.js.map +1 -0
  681. package/dist/components/Notifications/SideSheet/SideSheet.module.scss.cjs.js +3 -0
  682. package/dist/components/Notifications/SideSheet/SideSheet.module.scss.cjs.js.map +1 -0
  683. package/dist/components/Notifications/SideSheet/SideSheet.module.scss.es.js +29 -0
  684. package/dist/components/Notifications/SideSheet/SideSheet.module.scss.es.js.map +1 -0
  685. package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.cjs.js +2 -0
  686. package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.cjs.js.map +1 -0
  687. package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.es.js +8 -0
  688. package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.es.js.map +1 -0
  689. package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.cjs.js +3 -0
  690. package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.cjs.js.map +1 -0
  691. package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.es.js +8 -0
  692. package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.es.js.map +1 -0
  693. package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.cjs.js +2 -0
  694. package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.cjs.js.map +1 -0
  695. package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.es.js +8 -0
  696. package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.es.js.map +1 -0
  697. package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.cjs.js +3 -0
  698. package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.cjs.js.map +1 -0
  699. package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.es.js +8 -0
  700. package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.es.js.map +1 -0
  701. package/dist/components/Notifications/SlideInModal/SlideInModal.cjs.js +2 -0
  702. package/dist/components/Notifications/SlideInModal/SlideInModal.cjs.js.map +1 -0
  703. package/dist/components/Notifications/SlideInModal/SlideInModal.es.js +41 -0
  704. package/dist/components/Notifications/SlideInModal/SlideInModal.es.js.map +1 -0
  705. package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.cjs.js +3 -0
  706. package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.cjs.js.map +1 -0
  707. package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.es.js +24 -0
  708. package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.es.js.map +1 -0
  709. package/dist/components/Pagination/Pagination.cjs.js +2 -0
  710. package/dist/components/Pagination/Pagination.cjs.js.map +1 -0
  711. package/dist/components/Pagination/Pagination.es.js +147 -0
  712. package/dist/components/Pagination/Pagination.es.js.map +1 -0
  713. package/dist/components/Pagination/Pagination.module.scss.cjs.js +3 -0
  714. package/dist/components/Pagination/Pagination.module.scss.cjs.js.map +1 -0
  715. package/dist/components/Pagination/Pagination.module.scss.es.js +32 -0
  716. package/dist/components/Pagination/Pagination.module.scss.es.js.map +1 -0
  717. package/dist/components/Popover/Popover.cjs.js +2 -0
  718. package/dist/components/Popover/Popover.cjs.js.map +1 -0
  719. package/dist/components/Popover/Popover.es.js +107 -0
  720. package/dist/components/Popover/Popover.es.js.map +1 -0
  721. package/dist/components/Popover/Popover.module.scss.cjs.js +3 -0
  722. package/dist/components/Popover/Popover.module.scss.cjs.js.map +1 -0
  723. package/dist/components/Popover/Popover.module.scss.es.js +13 -0
  724. package/dist/components/Popover/Popover.module.scss.es.js.map +1 -0
  725. package/dist/components/ProgressBar/ProgressBar.cjs.js +2 -0
  726. package/dist/components/ProgressBar/ProgressBar.cjs.js.map +1 -0
  727. package/dist/components/ProgressBar/ProgressBar.es.js +40 -0
  728. package/dist/components/ProgressBar/ProgressBar.es.js.map +1 -0
  729. package/dist/components/ProgressBar/ProgressBar.module.scss.cjs.js +3 -0
  730. package/dist/components/ProgressBar/ProgressBar.module.scss.cjs.js.map +1 -0
  731. package/dist/components/ProgressBar/ProgressBar.module.scss.es.js +27 -0
  732. package/dist/components/ProgressBar/ProgressBar.module.scss.es.js.map +1 -0
  733. package/dist/components/RequiredSign/RequiredSign.cjs.js +2 -0
  734. package/dist/components/RequiredSign/RequiredSign.cjs.js.map +1 -0
  735. package/dist/components/RequiredSign/RequiredSign.es.js +10 -0
  736. package/dist/components/RequiredSign/RequiredSign.es.js.map +1 -0
  737. package/dist/components/Skeleton/Skeleton.cjs.js +2 -0
  738. package/dist/components/Skeleton/Skeleton.cjs.js.map +1 -0
  739. package/dist/components/Skeleton/Skeleton.es.js +25 -0
  740. package/dist/components/Skeleton/Skeleton.es.js.map +1 -0
  741. package/dist/components/Skeleton/Skeleton.module.scss.cjs.js +3 -0
  742. package/dist/components/Skeleton/Skeleton.module.scss.cjs.js.map +1 -0
  743. package/dist/components/Skeleton/Skeleton.module.scss.es.js +17 -0
  744. package/dist/components/Skeleton/Skeleton.module.scss.es.js.map +1 -0
  745. package/dist/components/Spinner/Spinner.cjs.js +2 -0
  746. package/dist/components/Spinner/Spinner.cjs.js.map +1 -0
  747. package/dist/components/Spinner/Spinner.es.js +49 -0
  748. package/dist/components/Spinner/Spinner.es.js.map +1 -0
  749. package/dist/components/Spinner/Spinner.module.scss.cjs.js +3 -0
  750. package/dist/components/Spinner/Spinner.module.scss.cjs.js.map +1 -0
  751. package/dist/components/Spinner/Spinner.module.scss.es.js +13 -0
  752. package/dist/components/Spinner/Spinner.module.scss.es.js.map +1 -0
  753. package/dist/components/Stepper/Step.cjs.js +2 -0
  754. package/dist/components/Stepper/Step.cjs.js.map +1 -0
  755. package/dist/components/Stepper/Step.es.js +75 -0
  756. package/dist/components/Stepper/Step.es.js.map +1 -0
  757. package/dist/components/Stepper/Step.module.scss.cjs.js +3 -0
  758. package/dist/components/Stepper/Step.module.scss.cjs.js.map +1 -0
  759. package/dist/components/Stepper/Step.module.scss.es.js +50 -0
  760. package/dist/components/Stepper/Step.module.scss.es.js.map +1 -0
  761. package/dist/components/Stepper/Stepper.cjs.js +2 -0
  762. package/dist/components/Stepper/Stepper.cjs.js.map +1 -0
  763. package/dist/components/Stepper/Stepper.es.js +30 -0
  764. package/dist/components/Stepper/Stepper.es.js.map +1 -0
  765. package/dist/components/Stepper/Stepper.module.scss.cjs.js +3 -0
  766. package/dist/components/Stepper/Stepper.module.scss.cjs.js.map +1 -0
  767. package/dist/components/Stepper/Stepper.module.scss.es.js +14 -0
  768. package/dist/components/Stepper/Stepper.module.scss.es.js.map +1 -0
  769. package/dist/components/Tabs/Tab.cjs.js +2 -0
  770. package/dist/components/Tabs/Tab.cjs.js.map +1 -0
  771. package/dist/components/Tabs/Tab.es.js +18 -0
  772. package/dist/components/Tabs/Tab.es.js.map +1 -0
  773. package/dist/components/Tabs/Tab.module.scss.cjs.js +3 -0
  774. package/dist/components/Tabs/Tab.module.scss.cjs.js.map +1 -0
  775. package/dist/components/Tabs/Tab.module.scss.es.js +13 -0
  776. package/dist/components/Tabs/Tab.module.scss.es.js.map +1 -0
  777. package/dist/components/Tabs/TabButton.cjs.js +2 -0
  778. package/dist/components/Tabs/TabButton.cjs.js.map +1 -0
  779. package/dist/components/Tabs/TabButton.es.js +32 -0
  780. package/dist/components/Tabs/TabButton.es.js.map +1 -0
  781. package/dist/components/Tabs/TabButton.module.scss.cjs.js +3 -0
  782. package/dist/components/Tabs/TabButton.module.scss.cjs.js.map +1 -0
  783. package/dist/components/Tabs/TabButton.module.scss.es.js +26 -0
  784. package/dist/components/Tabs/TabButton.module.scss.es.js.map +1 -0
  785. package/dist/components/Tabs/Tabs.cjs.js +2 -0
  786. package/dist/components/Tabs/Tabs.cjs.js.map +1 -0
  787. package/dist/components/Tabs/Tabs.es.js +204 -0
  788. package/dist/components/Tabs/Tabs.es.js.map +1 -0
  789. package/dist/components/Tabs/Tabs.module.scss.cjs.js +3 -0
  790. package/dist/components/Tabs/Tabs.module.scss.cjs.js.map +1 -0
  791. package/dist/components/Tabs/Tabs.module.scss.es.js +28 -0
  792. package/dist/components/Tabs/Tabs.module.scss.es.js.map +1 -0
  793. package/dist/components/Tag/RemoveButton.cjs.js +2 -0
  794. package/dist/components/Tag/RemoveButton.cjs.js.map +1 -0
  795. package/dist/components/Tag/RemoveButton.es.js +24 -0
  796. package/dist/components/Tag/RemoveButton.es.js.map +1 -0
  797. package/dist/components/Tag/RemoveButton.module.scss.cjs.js +3 -0
  798. package/dist/components/Tag/RemoveButton.module.scss.cjs.js.map +1 -0
  799. package/dist/components/Tag/RemoveButton.module.scss.es.js +13 -0
  800. package/dist/components/Tag/RemoveButton.module.scss.es.js.map +1 -0
  801. package/dist/components/Tag/Tag.cjs.js +2 -0
  802. package/dist/components/Tag/Tag.cjs.js.map +1 -0
  803. package/dist/components/Tag/Tag.es.js +47 -0
  804. package/dist/components/Tag/Tag.es.js.map +1 -0
  805. package/dist/components/Tag/Tag.module.scss.cjs.js +3 -0
  806. package/dist/components/Tag/Tag.module.scss.cjs.js.map +1 -0
  807. package/dist/components/Tag/Tag.module.scss.es.js +18 -0
  808. package/dist/components/Tag/Tag.module.scss.es.js.map +1 -0
  809. package/dist/components/TextEllipsis/TextEllipsis.cjs.js +2 -0
  810. package/dist/components/TextEllipsis/TextEllipsis.cjs.js.map +1 -0
  811. package/dist/components/TextEllipsis/TextEllipsis.es.js +47 -0
  812. package/dist/components/TextEllipsis/TextEllipsis.es.js.map +1 -0
  813. package/dist/components/TextEllipsis/TextEllipsis.module.scss.cjs.js +3 -0
  814. package/dist/components/TextEllipsis/TextEllipsis.module.scss.cjs.js.map +1 -0
  815. package/dist/components/TextEllipsis/TextEllipsis.module.scss.es.js +11 -0
  816. package/dist/components/TextEllipsis/TextEllipsis.module.scss.es.js.map +1 -0
  817. package/dist/components/Tiles/Tile.cjs.js +2 -0
  818. package/dist/components/Tiles/Tile.cjs.js.map +1 -0
  819. package/dist/components/Tiles/Tile.es.js +48 -0
  820. package/dist/components/Tiles/Tile.es.js.map +1 -0
  821. package/dist/components/Tiles/Tile.module.scss.cjs.js +3 -0
  822. package/dist/components/Tiles/Tile.module.scss.cjs.js.map +1 -0
  823. package/dist/components/Tiles/Tile.module.scss.es.js +28 -0
  824. package/dist/components/Tiles/Tile.module.scss.es.js.map +1 -0
  825. package/dist/components/Tiles/Tiles.cjs.js +2 -0
  826. package/dist/components/Tiles/Tiles.cjs.js.map +1 -0
  827. package/dist/components/Tiles/Tiles.es.js +55 -0
  828. package/dist/components/Tiles/Tiles.es.js.map +1 -0
  829. package/dist/components/Tiles/Tiles.module.scss.cjs.js +3 -0
  830. package/dist/components/Tiles/Tiles.module.scss.cjs.js.map +1 -0
  831. package/dist/components/Tiles/Tiles.module.scss.es.js +10 -0
  832. package/dist/components/Tiles/Tiles.module.scss.es.js.map +1 -0
  833. package/dist/components/Tooltip/Tooltip.cjs.js +2 -0
  834. package/dist/components/Tooltip/Tooltip.cjs.js.map +1 -0
  835. package/dist/components/Tooltip/Tooltip.es.js +207 -0
  836. package/dist/components/Tooltip/Tooltip.es.js.map +1 -0
  837. package/dist/components/Tooltip/Tooltip.module.scss.cjs.js +3 -0
  838. package/dist/components/Tooltip/Tooltip.module.scss.cjs.js.map +1 -0
  839. package/dist/components/Tooltip/Tooltip.module.scss.es.js +59 -0
  840. package/dist/components/Tooltip/Tooltip.module.scss.es.js.map +1 -0
  841. package/dist/components/Typography/Typography.cjs.js +2 -0
  842. package/dist/components/Typography/Typography.cjs.js.map +1 -0
  843. package/dist/components/Typography/Typography.es.js +61 -0
  844. package/dist/components/Typography/Typography.es.js.map +1 -0
  845. package/dist/components/Typography/Typography.module.scss.cjs.js +3 -0
  846. package/dist/components/Typography/Typography.module.scss.cjs.js.map +1 -0
  847. package/dist/components/Typography/Typography.module.scss.es.js +33 -0
  848. package/dist/components/Typography/Typography.module.scss.es.js.map +1 -0
  849. package/dist/components/_BaseStyling_/BaseStyling.cjs.js +2 -0
  850. package/dist/components/_BaseStyling_/BaseStyling.cjs.js.map +1 -0
  851. package/dist/components/_BaseStyling_/BaseStyling.es.js +231 -0
  852. package/dist/components/_BaseStyling_/BaseStyling.es.js.map +1 -0
  853. package/dist/components/_BaseStyling_/buttonBaseStyling.cjs.js +2 -0
  854. package/dist/components/_BaseStyling_/buttonBaseStyling.cjs.js.map +1 -0
  855. package/dist/components/_BaseStyling_/buttonBaseStyling.es.js +86 -0
  856. package/dist/components/_BaseStyling_/buttonBaseStyling.es.js.map +1 -0
  857. package/dist/components/admin/layout/LeftNav/LeftNav.cjs.js +2 -0
  858. package/dist/components/admin/layout/LeftNav/LeftNav.cjs.js.map +1 -0
  859. package/dist/components/admin/layout/LeftNav/LeftNav.es.js +55 -0
  860. package/dist/components/admin/layout/LeftNav/LeftNav.es.js.map +1 -0
  861. package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.cjs.js +3 -0
  862. package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.cjs.js.map +1 -0
  863. package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.es.js +17 -0
  864. package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.es.js.map +1 -0
  865. package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.cjs.js +2 -0
  866. package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.cjs.js.map +1 -0
  867. package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.es.js +121 -0
  868. package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.es.js.map +1 -0
  869. package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.cjs.js +2 -0
  870. package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.cjs.js.map +1 -0
  871. package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.es.js +13 -0
  872. package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.es.js.map +1 -0
  873. package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.cjs.js +3 -0
  874. package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.cjs.js.map +1 -0
  875. package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.es.js +24 -0
  876. package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.es.js.map +1 -0
  877. package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.cjs.js +2 -0
  878. package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.cjs.js.map +1 -0
  879. package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.es.js +63 -0
  880. package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.es.js.map +1 -0
  881. package/dist/components/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.cjs.js +2 -0
  882. package/dist/components/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.cjs.js.map +1 -0
  883. package/dist/components/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.es.js +52 -0
  884. package/dist/components/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.es.js.map +1 -0
  885. package/dist/components/admin/layout/LeftNav/useRefItems.cjs.js +2 -0
  886. package/dist/components/admin/layout/LeftNav/useRefItems.cjs.js.map +1 -0
  887. package/dist/components/admin/layout/LeftNav/useRefItems.es.js +201 -0
  888. package/dist/components/admin/layout/LeftNav/useRefItems.es.js.map +1 -0
  889. package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.cjs.js +2 -0
  890. package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.cjs.js.map +1 -0
  891. package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.es.js +18 -0
  892. package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.es.js.map +1 -0
  893. package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.cjs.js +3 -0
  894. package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.cjs.js.map +1 -0
  895. package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.es.js +9 -0
  896. package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.es.js.map +1 -0
  897. package/dist/components/miscellaneous/IdentityProviderButton.cjs.js +2 -0
  898. package/dist/components/miscellaneous/IdentityProviderButton.cjs.js.map +1 -0
  899. package/dist/components/miscellaneous/IdentityProviderButton.es.js +55 -0
  900. package/dist/components/miscellaneous/IdentityProviderButton.es.js.map +1 -0
  901. package/dist/components/miscellaneous/IdentityProviderButton.module.scss.cjs.js +3 -0
  902. package/dist/components/miscellaneous/IdentityProviderButton.module.scss.cjs.js.map +1 -0
  903. package/dist/components/miscellaneous/IdentityProviderButton.module.scss.es.js +9 -0
  904. package/dist/components/miscellaneous/IdentityProviderButton.module.scss.es.js.map +1 -0
  905. package/dist/components/withReadOnly.cjs.js +2 -0
  906. package/dist/components/withReadOnly.cjs.js.map +1 -0
  907. package/dist/components/withReadOnly.es.js +76 -0
  908. package/dist/components/withReadOnly.es.js.map +1 -0
  909. package/dist/hooks/useAnimation.cjs.js +2 -0
  910. package/dist/hooks/useAnimation.cjs.js.map +1 -0
  911. package/dist/hooks/useAnimation.es.js +23 -0
  912. package/dist/hooks/useAnimation.es.js.map +1 -0
  913. package/dist/hooks/useClickOutside.cjs.js +2 -0
  914. package/dist/hooks/useClickOutside.cjs.js.map +1 -0
  915. package/dist/hooks/useClickOutside.es.js +23 -0
  916. package/dist/hooks/useClickOutside.es.js.map +1 -0
  917. package/dist/hooks/useDebouncedCallback.cjs.js +2 -0
  918. package/dist/hooks/useDebouncedCallback.cjs.js.map +1 -0
  919. package/dist/hooks/useDebouncedCallback.es.js +17 -0
  920. package/dist/hooks/useDebouncedCallback.es.js.map +1 -0
  921. package/dist/hooks/useDetermineStatusIcon.cjs.js +2 -0
  922. package/dist/hooks/useDetermineStatusIcon.cjs.js.map +1 -0
  923. package/dist/hooks/useDetermineStatusIcon.es.js +18 -0
  924. package/dist/hooks/useDetermineStatusIcon.es.js.map +1 -0
  925. package/dist/hooks/useFormSelector.cjs.js +2 -0
  926. package/dist/hooks/useFormSelector.cjs.js.map +1 -0
  927. package/dist/hooks/useFormSelector.es.js +30 -0
  928. package/dist/hooks/useFormSelector.es.js.map +1 -0
  929. package/dist/hooks/useFullHeightCollapse.cjs.js +2 -0
  930. package/dist/hooks/useFullHeightCollapse.cjs.js.map +1 -0
  931. package/dist/hooks/useFullHeightCollapse.es.js +18 -0
  932. package/dist/hooks/useFullHeightCollapse.es.js.map +1 -0
  933. package/dist/hooks/useGetDomRoot.cjs.js +2 -0
  934. package/dist/hooks/useGetDomRoot.cjs.js.map +1 -0
  935. package/dist/hooks/useGetDomRoot.es.js +21 -0
  936. package/dist/hooks/useGetDomRoot.es.js.map +1 -0
  937. package/dist/hooks/usePosition.cjs.js +2 -0
  938. package/dist/hooks/usePosition.cjs.js.map +1 -0
  939. package/dist/hooks/usePosition.es.js +214 -0
  940. package/dist/hooks/usePosition.es.js.map +1 -0
  941. package/dist/hooks/useRepeatFocus.cjs.js +2 -0
  942. package/dist/hooks/useRepeatFocus.cjs.js.map +1 -0
  943. package/dist/hooks/useRepeatFocus.es.js +56 -0
  944. package/dist/hooks/useRepeatFocus.es.js.map +1 -0
  945. package/dist/hooks/useRepeater.cjs.js +2 -0
  946. package/dist/hooks/useRepeater.cjs.js.map +1 -0
  947. package/dist/hooks/useRepeater.es.js +27 -0
  948. package/dist/hooks/useRepeater.es.js.map +1 -0
  949. package/dist/hooks/useScreenSize.cjs.js +2 -0
  950. package/dist/hooks/useScreenSize.cjs.js.map +1 -0
  951. package/dist/hooks/useScreenSize.es.js +36 -0
  952. package/dist/hooks/useScreenSize.es.js.map +1 -0
  953. package/dist/hooks/useSpacing.cjs.js +2 -0
  954. package/dist/hooks/useSpacing.cjs.js.map +1 -0
  955. package/dist/hooks/useSpacing.es.js +17 -0
  956. package/dist/hooks/useSpacing.es.js.map +1 -0
  957. package/dist/hooks/useUploadFile.cjs.js +2 -0
  958. package/dist/hooks/useUploadFile.cjs.js.map +1 -0
  959. package/dist/hooks/useUploadFile.es.js +81 -0
  960. package/dist/hooks/useUploadFile.es.js.map +1 -0
  961. package/dist/hooks/useWrapper.cjs.js +2 -0
  962. package/dist/hooks/useWrapper.cjs.js.map +1 -0
  963. package/dist/hooks/useWrapper.es.js +19 -0
  964. package/dist/hooks/useWrapper.es.js.map +1 -0
  965. package/dist/index.cjs.js +2 -0
  966. package/dist/index.cjs.js.map +1 -0
  967. package/dist/index.d.ts +1829 -0
  968. package/dist/index.es.js +183 -0
  969. package/dist/index.es.js.map +1 -0
  970. package/dist/readyclasses.module.scss.cjs.js +3 -0
  971. package/dist/readyclasses.module.scss.cjs.js.map +1 -0
  972. package/dist/readyclasses.module.scss.es.js +13 -0
  973. package/dist/readyclasses.module.scss.es.js.map +1 -0
  974. package/dist/util/helper.cjs.js +2 -0
  975. package/dist/util/helper.cjs.js.map +1 -0
  976. package/dist/util/helper.es.js +145 -0
  977. package/dist/util/helper.es.js.map +1 -0
  978. package/dist/utils/statusUtils.cjs.js +2 -0
  979. package/dist/utils/statusUtils.cjs.js.map +1 -0
  980. package/dist/utils/statusUtils.es.js +27 -0
  981. package/dist/utils/statusUtils.es.js.map +1 -0
  982. package/dist/variables.cjs.js +2 -0
  983. package/dist/variables.cjs.js.map +1 -0
  984. package/dist/variables.es.js +28 -0
  985. package/dist/variables.es.js.map +1 -0
  986. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DialogTitle.cjs.js","sources":["../../../../../src/components/Notifications/Dialog/DialogTitle/DialogTitle.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, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport { Typography } from \"../../../Typography/Typography\";\nimport classes from \"./DialogTitle.module.scss\";\nimport { Icon, Icons } from \"../../../Icon/Icon\";\nimport { IconButton } from \"../../../Button/IconButton\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id: string;\n title: string;\n titleIcon?: React.ReactNode;\n caption?: string;\n onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;\n}\n\nconst DialogTitleComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, title, titleIcon, caption, onClose, ...rest }: Props,\n ref\n) => {\n return (\n <div {...rest} ref={ref} className={classes[\"header\"]}>\n <div\n className={`${classes[\"headline\"]} ${caption ? classes[\"with-caption\"] : classes[\"no-caption\"]}`}\n >\n {titleIcon && (\n <div className={classes[\"title-icon\"]}>\n {typeof titleIcon === \"boolean\" ? <Icon icon={Icons.InfoCircle} /> : titleIcon}\n </div>\n )}\n <div className={classes[\"title-wrapper\"]}>\n <Typography\n id={id}\n className={classes[\"title\"]}\n spacing={titleIcon && { marginLeft: 2 }}\n tag=\"h1\"\n variant=\"h4\"\n >\n {title}\n </Typography>\n {caption && (\n <Typography\n className={classes[\"caption\"]}\n spacing={{ marginLeft: 2 }}\n variant=\"sub-text\"\n >\n {caption}\n </Typography>\n )}\n </div>\n </div>\n {onClose && (\n <IconButton onClick={onClose} className={classes[\"close-button\"]} title=\"close modal\">\n <Icon icon={Icons.Times} />\n </IconButton>\n )}\n </div>\n );\n};\n\nexport const DialogTitle = React.forwardRef(DialogTitleComponent);\n"],"names":["DialogTitle","React","forwardRef","id","title","titleIcon","caption","onClose","rest","ref","createElement","className","classes","default","Icon","icon","Icons","InfoCircle","Typography","spacing","marginLeft","tag","variant","IconButton","onClick","Times"],"mappings":"gSA0EaA,EAAcC,EAAMC,YA5C6C,EAC1EC,KAAIC,QAAOC,YAAWC,UAASC,aAAYC,GAC7CC,IAGER,EAAAS,cAAC,UAAQF,EAAMC,MAAUE,UAAWC,EAAAA,QAAgB,QAClDX,EAAAS,cAAC,MAAA,CACCC,UAAW,GAAGC,UAAkB,YAAKN,EAAUM,EAAAA,QAAQ,gBAAkBA,EAAQC,QAAA,iBAEhFR,GACEJ,EAAAS,cAAA,MAAA,CAAIC,UAAWC,EAAAC,QAAQ,eACA,kBAAdR,kBAA2BS,OAAK,CAAAC,KAAMC,QAAMC,aAAiBZ,GAGxEJ,EAAAS,cAAA,MAAA,CAAIC,UAAWC,EAAAA,QAAQ,kBACtBX,EAAAS,cAACQ,EAAAA,WAAA,CACCf,KACAQ,UAAWC,UAAe,MAC1BO,QAASd,GAAa,CAAEe,WAAY,GACpCC,IAAI,KACJC,QAAQ,MAEPlB,GAEFE,GACCL,EAAAS,cAACQ,EAAAA,WAAA,CACCP,UAAWC,UAAiB,QAC5BO,QAAS,CAAEC,WAAY,GACvBE,QAAQ,YAEPhB,KAKRC,GACCN,EAAAS,cAACa,cAAWC,QAASjB,EAASI,UAAWC,EAAAA,QAAQ,gBAAiBR,MAAM,eACrEH,EAAAS,cAAAI,EAAAA,KAAA,CAAKC,KAAMC,EAAMA,MAAAS"}
@@ -0,0 +1,38 @@
1
+ import React from "react";
2
+ import { Typography } from "../../../Typography/Typography.es.js";
3
+ import classes from "./DialogTitle.module.scss.es.js";
4
+ import { Icon, Icons } from "../../../Icon/Icon.es.js";
5
+ import { IconButton } from "../../../Button/IconButton.es.js";
6
+ const DialogTitleComponent = ({ id, title, titleIcon, caption, onClose, ...rest }, ref) => {
7
+ return /* @__PURE__ */ React.createElement("div", { ...rest, ref, className: classes["header"] }, /* @__PURE__ */ React.createElement(
8
+ "div",
9
+ {
10
+ className: `${classes["headline"]} ${caption ? classes["with-caption"] : classes["no-caption"]}`
11
+ },
12
+ titleIcon && /* @__PURE__ */ React.createElement("div", { className: classes["title-icon"] }, typeof titleIcon === "boolean" ? /* @__PURE__ */ React.createElement(Icon, { icon: Icons.InfoCircle }) : titleIcon),
13
+ /* @__PURE__ */ React.createElement("div", { className: classes["title-wrapper"] }, /* @__PURE__ */ React.createElement(
14
+ Typography,
15
+ {
16
+ id,
17
+ className: classes["title"],
18
+ spacing: titleIcon && { marginLeft: 2 },
19
+ tag: "h1",
20
+ variant: "h4"
21
+ },
22
+ title
23
+ ), caption && /* @__PURE__ */ React.createElement(
24
+ Typography,
25
+ {
26
+ className: classes["caption"],
27
+ spacing: { marginLeft: 2 },
28
+ variant: "sub-text"
29
+ },
30
+ caption
31
+ ))
32
+ ), onClose && /* @__PURE__ */ React.createElement(IconButton, { onClick: onClose, className: classes["close-button"], title: "close modal" }, /* @__PURE__ */ React.createElement(Icon, { icon: Icons.Times })));
33
+ };
34
+ const DialogTitle = React.forwardRef(DialogTitleComponent);
35
+ export {
36
+ DialogTitle
37
+ };
38
+ //# sourceMappingURL=DialogTitle.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DialogTitle.es.js","sources":["../../../../../src/components/Notifications/Dialog/DialogTitle/DialogTitle.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, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport { Typography } from \"../../../Typography/Typography\";\nimport classes from \"./DialogTitle.module.scss\";\nimport { Icon, Icons } from \"../../../Icon/Icon\";\nimport { IconButton } from \"../../../Button/IconButton\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id: string;\n title: string;\n titleIcon?: React.ReactNode;\n caption?: string;\n onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;\n}\n\nconst DialogTitleComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, title, titleIcon, caption, onClose, ...rest }: Props,\n ref\n) => {\n return (\n <div {...rest} ref={ref} className={classes[\"header\"]}>\n <div\n className={`${classes[\"headline\"]} ${caption ? classes[\"with-caption\"] : classes[\"no-caption\"]}`}\n >\n {titleIcon && (\n <div className={classes[\"title-icon\"]}>\n {typeof titleIcon === \"boolean\" ? <Icon icon={Icons.InfoCircle} /> : titleIcon}\n </div>\n )}\n <div className={classes[\"title-wrapper\"]}>\n <Typography\n id={id}\n className={classes[\"title\"]}\n spacing={titleIcon && { marginLeft: 2 }}\n tag=\"h1\"\n variant=\"h4\"\n >\n {title}\n </Typography>\n {caption && (\n <Typography\n className={classes[\"caption\"]}\n spacing={{ marginLeft: 2 }}\n variant=\"sub-text\"\n >\n {caption}\n </Typography>\n )}\n </div>\n </div>\n {onClose && (\n <IconButton onClick={onClose} className={classes[\"close-button\"]} title=\"close modal\">\n <Icon icon={Icons.Times} />\n </IconButton>\n )}\n </div>\n );\n};\n\nexport const DialogTitle = React.forwardRef(DialogTitleComponent);\n"],"names":[],"mappings":";;;;;AA8BA,MAAM,uBAAwE,CAC5E,EAAE,IAAI,OAAO,WAAW,SAAS,SAAS,GAAG,KAAK,GAClD,QACG;AAED,SAAA,sBAAA,cAAC,SAAK,GAAG,MAAM,KAAU,WAAW,QAAQ,QAAQ,EAClD,GAAA,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW,GAAG,QAAQ,UAAU,CAAC,IAAI,UAAU,QAAQ,cAAc,IAAI,QAAQ,YAAY,CAAC;AAAA,IAAA;AAAA,IAE7F,aACE,sBAAA,cAAA,OAAA,EAAI,WAAW,QAAQ,YAAY,EACjC,GAAA,OAAO,cAAc,gDAAa,MAAK,EAAA,MAAM,MAAM,YAAY,IAAK,SACvE;AAAA,IAED,sBAAA,cAAA,OAAA,EAAI,WAAW,QAAQ,eAAe,KACrC,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,WAAW,QAAQ,OAAO;AAAA,QAC1B,SAAS,aAAa,EAAE,YAAY,EAAE;AAAA,QACtC,KAAI;AAAA,QACJ,SAAQ;AAAA,MAAA;AAAA,MAEP;AAAA,IAAA,GAEF,WACC,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAW,QAAQ,SAAS;AAAA,QAC5B,SAAS,EAAE,YAAY,EAAE;AAAA,QACzB,SAAQ;AAAA,MAAA;AAAA,MAEP;AAAA,IAGP,CAAA;AAAA,EAAA,GAED,WACC,sBAAA,cAAC,cAAW,SAAS,SAAS,WAAW,QAAQ,cAAc,GAAG,OAAM,iBACrE,sBAAA,cAAA,MAAA,EAAK,MAAM,MAAM,MAAO,CAAA,CAC3B,CAEJ;AAEJ;AAEa,MAAA,cAAc,MAAM,WAAW,oBAAoB;"}
@@ -0,0 +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_7l1Pc{margin:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between}.DialogTitle_header_7l1Pc .DialogTitle_headline_7l1Pc{display:flex;min-width:0}.DialogTitle_header_7l1Pc .DialogTitle_headline_7l1Pc.DialogTitle_with-caption_7l1Pc{align-items:flex-start}.DialogTitle_header_7l1Pc .DialogTitle_headline_7l1Pc.DialogTitle_no-caption_7l1Pc{align-items:center}.DialogTitle_header_7l1Pc .DialogTitle_headline_7l1Pc .DialogTitle_title-wrapper_7l1Pc{min-width:0}.DialogTitle_header_7l1Pc .DialogTitle_headline_7l1Pc .DialogTitle_title_7l1Pc{margin:0;line-height:1;color:var(--modal-title-color);overflow-wrap:break-word}.DialogTitle_header_7l1Pc .DialogTitle_headline_7l1Pc .DialogTitle_title-icon_7l1Pc>[data-icon]{font-size:var(--font-size-big)}.DialogTitle_header_7l1Pc .DialogTitle_caption_7l1Pc{color:var(--color-blue-grey500)}.DialogTitle_header_7l1Pc .DialogTitle_close-button_7l1Pc{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_7l1Pc",t="DialogTitle_headline_7l1Pc",l="DialogTitle_title_7l1Pc",i="DialogTitle_caption_7l1Pc",o={header:e,headline:t,"with-caption":"DialogTitle_with-caption_7l1Pc","no-caption":"DialogTitle_no-caption_7l1Pc","title-wrapper":"DialogTitle_title-wrapper_7l1Pc",title:l,"title-icon":"DialogTitle_title-icon_7l1Pc",caption:i,"close-button":"DialogTitle_close-button_7l1Pc"};exports.caption=i,exports.default=o,exports.header=e,exports.headline=t,exports.title=l;
3
+ //# sourceMappingURL=DialogTitle.module.scss.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DialogTitle.module.scss.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,24 @@
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_7l1Pc{margin:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between}.DialogTitle_header_7l1Pc .DialogTitle_headline_7l1Pc{display:flex;min-width:0}.DialogTitle_header_7l1Pc .DialogTitle_headline_7l1Pc.DialogTitle_with-caption_7l1Pc{align-items:flex-start}.DialogTitle_header_7l1Pc .DialogTitle_headline_7l1Pc.DialogTitle_no-caption_7l1Pc{align-items:center}.DialogTitle_header_7l1Pc .DialogTitle_headline_7l1Pc .DialogTitle_title-wrapper_7l1Pc{min-width:0}.DialogTitle_header_7l1Pc .DialogTitle_headline_7l1Pc .DialogTitle_title_7l1Pc{margin:0;line-height:1;color:var(--modal-title-color);overflow-wrap:break-word}.DialogTitle_header_7l1Pc .DialogTitle_headline_7l1Pc .DialogTitle_title-icon_7l1Pc>[data-icon]{font-size:var(--font-size-big)}.DialogTitle_header_7l1Pc .DialogTitle_caption_7l1Pc{color:var(--color-blue-grey500)}.DialogTitle_header_7l1Pc .DialogTitle_close-button_7l1Pc{flex-shrink:0}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
+ const header = "DialogTitle_header_7l1Pc";
3
+ const headline = "DialogTitle_headline_7l1Pc";
4
+ const title = "DialogTitle_title_7l1Pc";
5
+ const caption = "DialogTitle_caption_7l1Pc";
6
+ const classes = {
7
+ header,
8
+ headline,
9
+ "with-caption": "DialogTitle_with-caption_7l1Pc",
10
+ "no-caption": "DialogTitle_no-caption_7l1Pc",
11
+ "title-wrapper": "DialogTitle_title-wrapper_7l1Pc",
12
+ title,
13
+ "title-icon": "DialogTitle_title-icon_7l1Pc",
14
+ caption,
15
+ "close-button": "DialogTitle_close-button_7l1Pc"
16
+ };
17
+ export {
18
+ caption,
19
+ classes as default,
20
+ header,
21
+ headline,
22
+ title
23
+ };
24
+ //# sourceMappingURL=DialogTitle.module.scss.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DialogTitle.module.scss.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),a=require("../../Dialog/Dialog.cjs.js"),o=require("../../../Typography/Typography.cjs.js"),n=e.forwardRef((({open:n,onKeepEditing:t,onDiscardChanges:i,discardChangesButtonLabel:r,keepEditingButtonLabel:c,contentLabel:l,titleLabel:s,cancelAction:g,...p},d)=>e.createElement(a.Dialog,{...p,ref:d,open:n,title:s,onClose:t,cancelAction:g,primaryAction:{label:r,onClick:i},secondaryAction:{label:c,onClick:t},disableEscapeKeyDown:!1},e.createElement(o.Typography,{variant:"body",spacing:{margin:0}},l))));exports.DiscardChangesDialog=n;
2
+ //# sourceMappingURL=DiscardChangesDialog.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiscardChangesDialog.cjs.js","sources":["../../../../../src/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.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, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport { Dialog } from \"../../Dialog/Dialog\";\nimport { Typography } from \"../../../Typography/Typography\";\nimport { DataAttributeKey } from \"../../../../interfaces\";\nimport { CancelAction } from \"../../BaseModal/BaseModalActions/BaseModalActions\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n open: boolean;\n discardChangesButtonLabel: string;\n keepEditingButtonLabel: string;\n cancelAction?: CancelAction;\n contentLabel: string;\n titleLabel: string;\n\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n [dataAttribute: DataAttributeKey]: any;\n\n onKeepEditing: () => void;\n onDiscardChanges: () => void;\n}\n\nconst DiscardChangesDialogComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n {\n open,\n onKeepEditing,\n onDiscardChanges,\n discardChangesButtonLabel,\n keepEditingButtonLabel,\n contentLabel,\n titleLabel,\n cancelAction,\n ...rest\n }: Props,\n ref\n) => {\n return (\n <Dialog\n {...rest}\n ref={ref}\n open={open}\n title={titleLabel}\n onClose={onKeepEditing}\n cancelAction={cancelAction}\n primaryAction={{\n label: discardChangesButtonLabel,\n onClick: onDiscardChanges\n }}\n secondaryAction={{\n label: keepEditingButtonLabel,\n onClick: onKeepEditing\n }}\n disableEscapeKeyDown={false}\n >\n <Typography variant=\"body\" spacing={{ margin: 0 }}>\n {contentLabel}\n </Typography>\n </Dialog>\n );\n};\n\nexport const DiscardChangesDialog = React.forwardRef(DiscardChangesDialogComponent);\n"],"names":["DiscardChangesDialog","React","forwardRef","open","onKeepEditing","onDiscardChanges","discardChangesButtonLabel","keepEditingButtonLabel","contentLabel","titleLabel","cancelAction","rest","ref","createElement","Dialog","title","onClose","primaryAction","label","onClick","secondaryAction","disableEscapeKeyDown","Typography","variant","spacing","margin"],"mappings":"oMA4EaA,EAAuBC,EAAMC,YAvC6C,EAEnFC,OACAC,gBACAC,mBACAC,4BACAC,yBACAC,eACAC,aACAC,kBACGC,GAELC,IAGEX,EAAAY,cAACC,EAAAA,OAAA,IACKH,EACJC,MACAT,OACAY,MAAON,EACPO,QAASZ,EACTM,eACAO,cAAe,CACbC,MAAOZ,EACPa,QAASd,GAEXe,gBAAiB,CACfF,MAAOX,EACPY,QAASf,GAEXiB,sBAAsB,GAEtBpB,EAAAY,cAACS,cAAWC,QAAQ,OAAOC,QAAS,CAAEC,OAAQ,IAC3CjB"}
@@ -0,0 +1,41 @@
1
+ import React from "react";
2
+ import { Dialog } from "../../Dialog/Dialog.es.js";
3
+ import { Typography } from "../../../Typography/Typography.es.js";
4
+ const DiscardChangesDialogComponent = ({
5
+ open,
6
+ onKeepEditing,
7
+ onDiscardChanges,
8
+ discardChangesButtonLabel,
9
+ keepEditingButtonLabel,
10
+ contentLabel,
11
+ titleLabel,
12
+ cancelAction,
13
+ ...rest
14
+ }, ref) => {
15
+ return /* @__PURE__ */ React.createElement(
16
+ Dialog,
17
+ {
18
+ ...rest,
19
+ ref,
20
+ open,
21
+ title: titleLabel,
22
+ onClose: onKeepEditing,
23
+ cancelAction,
24
+ primaryAction: {
25
+ label: discardChangesButtonLabel,
26
+ onClick: onDiscardChanges
27
+ },
28
+ secondaryAction: {
29
+ label: keepEditingButtonLabel,
30
+ onClick: onKeepEditing
31
+ },
32
+ disableEscapeKeyDown: false
33
+ },
34
+ /* @__PURE__ */ React.createElement(Typography, { variant: "body", spacing: { margin: 0 } }, contentLabel)
35
+ );
36
+ };
37
+ const DiscardChangesDialog = React.forwardRef(DiscardChangesDialogComponent);
38
+ export {
39
+ DiscardChangesDialog
40
+ };
41
+ //# sourceMappingURL=DiscardChangesDialog.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiscardChangesDialog.es.js","sources":["../../../../../src/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.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, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport { Dialog } from \"../../Dialog/Dialog\";\nimport { Typography } from \"../../../Typography/Typography\";\nimport { DataAttributeKey } from \"../../../../interfaces\";\nimport { CancelAction } from \"../../BaseModal/BaseModalActions/BaseModalActions\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n open: boolean;\n discardChangesButtonLabel: string;\n keepEditingButtonLabel: string;\n cancelAction?: CancelAction;\n contentLabel: string;\n titleLabel: string;\n\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n [dataAttribute: DataAttributeKey]: any;\n\n onKeepEditing: () => void;\n onDiscardChanges: () => void;\n}\n\nconst DiscardChangesDialogComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n {\n open,\n onKeepEditing,\n onDiscardChanges,\n discardChangesButtonLabel,\n keepEditingButtonLabel,\n contentLabel,\n titleLabel,\n cancelAction,\n ...rest\n }: Props,\n ref\n) => {\n return (\n <Dialog\n {...rest}\n ref={ref}\n open={open}\n title={titleLabel}\n onClose={onKeepEditing}\n cancelAction={cancelAction}\n primaryAction={{\n label: discardChangesButtonLabel,\n onClick: onDiscardChanges\n }}\n secondaryAction={{\n label: keepEditingButtonLabel,\n onClick: onKeepEditing\n }}\n disableEscapeKeyDown={false}\n >\n <Typography variant=\"body\" spacing={{ margin: 0 }}>\n {contentLabel}\n </Typography>\n </Dialog>\n );\n};\n\nexport const DiscardChangesDialog = React.forwardRef(DiscardChangesDialogComponent);\n"],"names":[],"mappings":";;;AAqCA,MAAM,gCAAiF,CACrF;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GACA,QACG;AAED,SAAA,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,MACA,OAAO;AAAA,MACP,SAAS;AAAA,MACT;AAAA,MACA,eAAe;AAAA,QACb,OAAO;AAAA,QACP,SAAS;AAAA,MACX;AAAA,MACA,iBAAiB;AAAA,QACf,OAAO;AAAA,QACP,SAAS;AAAA,MACX;AAAA,MACA,sBAAsB;AAAA,IAAA;AAAA,IAEtB,sBAAA,cAAC,cAAW,SAAQ,QAAO,SAAS,EAAE,QAAQ,EAAE,EAAA,GAC7C,YACH;AAAA,EACF;AAEJ;AAEa,MAAA,uBAAuB,MAAM,WAAW,6BAA6B;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),a=require("./DiscardChangesDialog/DiscardChangesDialog.cjs.js"),s=require("../BaseModal/BaseModal.cjs.js"),r=require("../BaseModal/BaseModalHeader/BaseModalHeader.cjs.js");exports.DiscardChangesModal=({id:o,children:d,headerProps:l,discardChangedDialogProps:n,modalRef:i,dialogRef:t,onClose:c,hasUnsavedChanges:g,...h})=>{const[u,C]=e.useState(!1),D=()=>g()?C(!0):c();return e.createElement(e.Fragment,null,e.createElement(s.BaseModal,{id:o,ref:i,onClose:D,...h},e.createElement(r.BaseModalHeader,{...l,id:`${o}-label`,onClose:D}),d),e.createElement(a.DiscardChangesDialog,{...n,ref:t,open:u,onKeepEditing:()=>{C(!1)},onDiscardChanges:()=>{C(!1),c()}}))};
2
+ //# sourceMappingURL=DiscardChangesModal.cjs.js.map
@@ -0,0 +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","BaseModalHeader","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,IAY1D,OAAAO,EAAAC,cAACC,EAAAA,cACEF,EAAAC,cAAAE,EAAAA,UAAA,CAAMhB,KAAQiB,IAAKb,EAAUE,QAASM,KAAoBJ,mBACxDU,EAAaC,gBAAA,IAAGjB,EAAaF,GAAI,GAAGA,UAAYM,QAASM,IACzDX,GAEHY,EAAAC,cAACM,EAAAA,qBAAA,IACKjB,EACJc,IAAKZ,EACLgB,KAAMZ,EACNa,cAnBsB,KAC1BZ,GAA4B,EAAK,EAmB7Ba,iBAhByB,KAC7Bb,GAA4B,GACpBJ,GAAA,IAgBR"}
@@ -0,0 +1,39 @@
1
+ import React, { useState, Fragment } from "react";
2
+ import { DiscardChangesDialog } from "./DiscardChangesDialog/DiscardChangesDialog.es.js";
3
+ import { BaseModal } from "../BaseModal/BaseModal.es.js";
4
+ import { BaseModalHeader } from "../BaseModal/BaseModalHeader/BaseModalHeader.es.js";
5
+ const DiscardChangesModal = ({
6
+ id,
7
+ children,
8
+ headerProps,
9
+ discardChangedDialogProps,
10
+ modalRef,
11
+ dialogRef,
12
+ onClose,
13
+ hasUnsavedChanges,
14
+ ...rest
15
+ }) => {
16
+ const [openDiscardChangesDialog, setOpenDiscardChangesDialog] = useState(false);
17
+ const onCloseWrapper = () => hasUnsavedChanges() ? setOpenDiscardChangesDialog(true) : onClose();
18
+ const onDialogKeepEditing = () => {
19
+ setOpenDiscardChangesDialog(false);
20
+ };
21
+ const onDialogDiscardChanges = () => {
22
+ setOpenDiscardChangesDialog(false);
23
+ onClose();
24
+ };
25
+ return /* @__PURE__ */ React.createElement(Fragment, null, /* @__PURE__ */ React.createElement(BaseModal, { id, ref: modalRef, onClose: onCloseWrapper, ...rest }, /* @__PURE__ */ React.createElement(BaseModalHeader, { ...headerProps, id: `${id}-label`, onClose: onCloseWrapper }), children), /* @__PURE__ */ React.createElement(
26
+ DiscardChangesDialog,
27
+ {
28
+ ...discardChangedDialogProps,
29
+ ref: dialogRef,
30
+ open: openDiscardChangesDialog,
31
+ onKeepEditing: onDialogKeepEditing,
32
+ onDiscardChanges: onDialogDiscardChanges
33
+ }
34
+ ));
35
+ };
36
+ export {
37
+ DiscardChangesModal
38
+ };
39
+ //# sourceMappingURL=DiscardChangesModal.es.js.map
@@ -0,0 +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,QAAQ;AAEpE,QAAM,sBAAsB,MAAM;AAChC,gCAA4B,KAAK;AAAA,EACnC;AAEA,QAAM,yBAAyB,MAAM;AACnC,gCAA4B,KAAK;AACzB,YAAA;AAAA,EACV;AAGE,SAAA,sBAAA,cAAC,gBACE,sBAAA,cAAAA,WAAA,EAAM,IAAQ,KAAK,UAAU,SAAS,gBAAiB,GAAG,KAAA,uCACxDC,iBAAa,EAAA,GAAG,aAAa,IAAI,GAAG,EAAE,UAAU,SAAS,eAAgB,CAAA,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;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("./NotificationService.cjs.js"),a=require("../../../util/helper.cjs.js"),s=require("../Alert/useAlert.cjs.js"),i={notifications:[]},r=({translations:i={},dispatchFn:r})=>{const{enqueueErrorAlert:n,enqueueSuccessAlert:d}=s.useAlert(),{state:{notifications:c}}=o(),l=a.deepMerge(t.defaultTranslations,i),u=e=>{if(e.message)return e.message;switch(e.status){case 500:default:return l.messages.general;case 400:return l.messages.badRequest;case 401:return l.messages.unauthorized;case 403:return l.messages.forbidden;case 404:return l.messages.notFound;case 502:case 503:return l.messages.unavailable;case 504:return l.messages.timeout}};return e.useEffect((()=>{c.forEach((e=>{e.status&&e.handled&&(401===e.status||403===e.status)?r({type:"remove",payload:{id:e.id}}):e.status&&!e.handled&&"error"===e.type?(n({title:e.title??l.general.error,content:u(e),onClose:()=>r({type:"remove",payload:{id:e.id}})}),r({type:"handled",payload:{id:e.id,handled:!0}})):e.title&&!e.handled&&"success"===e.type&&(d({title:e.title??l.general.success,content:e.message,onClose:()=>r({type:"remove",payload:{id:e.id}})}),r({type:"handled",payload:{id:e.id,handled:!0}}))}))}),[c.length]),null},n=e.createContext({state:i,dispatch:()=>{}}),o=()=>{const t=e.useContext(n),a=e.useCallback((e=>{t.dispatch({type:"add",payload:e})}),[t]),s=e.useCallback((e=>{t.dispatch({type:"remove",payload:{id:e}})}),[t]),i=e.useCallback((()=>{t.dispatch({type:"reset"})}),[t]);return{state:t.state,addNotification:a,removeNotification:s,resetNotifications:i}},d=(e,t)=>{switch(t.type){case"add":return{...e,notifications:[...e.notifications,{...t.payload,id:a.generateID(),handled:!1}]};case"remove":return{...e,notifications:e.notifications.filter((e=>{var a;return e.id!==(null==(a=t.payload)?void 0:a.id)}))};case"handled":return{...e,notifications:e.notifications.map((e=>{var a;return e.id===(null==(a=t.payload)?void 0:a.id)?{...e,handled:!0}:e}))};case"reset":return{...e,notifications:[]};default:return e}};exports.NotificationContext=n,exports.NotificationHandler=r,exports.NotificationProvider=({children:t,translations:a})=>{const[s,o]=e.useReducer(d,i);return e.createElement(n.Provider,{value:{state:s,dispatch:o}},t,e.createElement(r,{translations:a,dispatchFn:o}))},exports.notificationReducer=d,exports.useNotificationContext=o;
2
+ //# sourceMappingURL=NotificationContext.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationContext.cjs.js","sources":["../../../../src/components/Notifications/NotificationProvider/NotificationContext.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 ReactNode,\n createContext,\n useCallback,\n useContext,\n useEffect,\n useReducer\n} from \"react\";\nimport {\n Notification,\n ErrorNotification,\n SuccessNotification,\n Translations,\n AddNotification\n} from \"./notification.interfaces\";\nimport { defaultTranslations } from \"./NotificationService\";\nimport { deepMerge, generateID } from \"../../../util/helper\";\nimport { DeepPartial } from \"../../../interfaces\";\nimport { useAlert } from \"../Alert/useAlert\";\n\ninterface NotificationState {\n notifications: Notification<ErrorNotification | SuccessNotification>[];\n}\n\nexport interface NotificationAction {\n type: \"add\" | \"remove\" | \"handled\" | \"reset\";\n payload?: Notification<ErrorNotification | SuccessNotification> & {\n id?: string;\n handled?: boolean;\n };\n}\n\nconst initialState: NotificationState = {\n notifications: []\n};\n\nexport interface NotificationHandlerProps {\n translations?: DeepPartial<Translations>;\n dispatchFn: React.Dispatch<NotificationAction>;\n}\n\nexport const NotificationHandler = ({\n translations = {},\n dispatchFn\n}: NotificationHandlerProps) => {\n const { enqueueErrorAlert, enqueueSuccessAlert } = useAlert();\n const {\n state: { notifications }\n } = useNotificationContext();\n\n const mergedTranslations = deepMerge<Translations>(defaultTranslations, translations);\n\n const determineNotificationMessage = (notification: Notification<ErrorNotification>) => {\n if (notification.message) {\n return notification.message;\n }\n\n switch (notification.status) {\n case 500:\n return mergedTranslations.messages.general;\n case 400:\n return mergedTranslations.messages.badRequest;\n case 401:\n return mergedTranslations.messages.unauthorized;\n case 403:\n return mergedTranslations.messages.forbidden;\n case 404:\n return mergedTranslations.messages.notFound;\n case 502:\n case 503:\n return mergedTranslations.messages.unavailable;\n case 504:\n return mergedTranslations.messages.timeout;\n default:\n return mergedTranslations.messages.general;\n }\n };\n\n useEffect(() => {\n notifications.forEach(notification => {\n if (\n notification.status &&\n notification.handled &&\n (notification.status === 401 || notification.status === 403)\n ) {\n dispatchFn({ type: \"remove\", payload: { id: notification.id } });\n } else if (notification.status && !notification.handled && notification.type === \"error\") {\n enqueueErrorAlert({\n title: notification.title ?? mergedTranslations.general.error,\n content: determineNotificationMessage(notification as Notification<ErrorNotification>),\n onClose: () => dispatchFn({ type: \"remove\", payload: { id: notification.id } })\n });\n dispatchFn({ type: \"handled\", payload: { id: notification.id, handled: true } });\n } else if (notification.title && !notification.handled && notification.type === \"success\") {\n enqueueSuccessAlert({\n title: notification.title ?? mergedTranslations.general.success,\n content: notification.message,\n onClose: () => dispatchFn({ type: \"remove\", payload: { id: notification.id } })\n });\n\n dispatchFn({ type: \"handled\", payload: { id: notification.id, handled: true } });\n }\n });\n }, [notifications.length]);\n\n return null;\n};\n\nexport const NotificationContext = createContext<{\n state: NotificationState;\n dispatch: React.Dispatch<NotificationAction>;\n}>({\n state: initialState,\n dispatch: () => undefined\n});\n\nexport interface Props {\n children?: ReactNode;\n translations?: DeepPartial<Translations>;\n}\n\nexport const NotificationProvider = ({ children, translations }: Props) => {\n const [state, dispatch] = useReducer(notificationReducer, initialState);\n\n return (\n <NotificationContext.Provider value={{ state, dispatch }}>\n {children}\n <NotificationHandler translations={translations} dispatchFn={dispatch} />\n </NotificationContext.Provider>\n );\n};\n\nexport const useNotificationContext = () => {\n const ctx = useContext(NotificationContext);\n\n const addNotification = useCallback(\n (notification: AddNotification) => {\n ctx.dispatch({ type: \"add\", payload: notification });\n },\n [ctx]\n );\n\n const removeNotification = useCallback(\n (id: string) => {\n ctx.dispatch({ type: \"remove\", payload: { id } });\n },\n [ctx]\n );\n\n const resetNotifications = useCallback(() => {\n ctx.dispatch({ type: \"reset\" });\n }, [ctx]);\n\n return {\n state: ctx.state,\n addNotification,\n removeNotification,\n resetNotifications\n };\n};\n\nexport const notificationReducer = (\n state: NotificationState,\n action: NotificationAction\n): NotificationState => {\n switch (action.type) {\n case \"add\":\n return {\n ...state,\n notifications: [\n ...state.notifications,\n {\n ...action.payload,\n id: generateID(),\n handled: false\n }\n ]\n };\n case \"remove\":\n return {\n ...state,\n notifications: state.notifications.filter(\n notification => notification.id !== action.payload?.id\n )\n };\n case \"handled\":\n return {\n ...state,\n notifications: state.notifications.map(notification =>\n notification.id === action.payload?.id ? { ...notification, handled: true } : notification\n )\n };\n case \"reset\":\n return {\n ...state,\n notifications: []\n };\n default:\n return state;\n }\n};\n"],"names":["initialState","notifications","NotificationHandler","translations","dispatchFn","enqueueErrorAlert","enqueueSuccessAlert","useAlert","state","useNotificationContext","mergedTranslations","deepMerge","defaultTranslations","determineNotificationMessage","notification","message","status","messages","general","badRequest","unauthorized","forbidden","notFound","unavailable","timeout","useEffect","forEach","handled","type","payload","id","title","error","content","onClose","success","length","NotificationContext","createContext","dispatch","ctx","useContext","addNotification","useCallback","removeNotification","resetNotifications","notificationReducer","action","generateID","filter","_a","map","children","useReducer","React","createElement","Provider","value"],"mappings":"kOAgDMA,EAAkC,CACtCC,cAAe,IAQJC,EAAsB,EACjCC,eAAe,CAAC,EAChBC,iBAEA,MAAMC,kBAAEA,EAAAC,oBAAmBA,GAAwBC,cAEjDC,OAAOP,cAAEA,IACPQ,IAEEC,EAAqBC,EAAAA,UAAwBC,EAAAA,oBAAqBT,GAElEU,EAAgCC,IACpC,GAAIA,EAAaC,QACf,OAAOD,EAAaC,QAGtB,OAAQD,EAAaE,QACnB,KAAK,IAeL,QACE,OAAON,EAAmBO,SAASC,QAdrC,KAAK,IACH,OAAOR,EAAmBO,SAASE,WACrC,KAAK,IACH,OAAOT,EAAmBO,SAASG,aACrC,KAAK,IACH,OAAOV,EAAmBO,SAASI,UACrC,KAAK,IACH,OAAOX,EAAmBO,SAASK,SACrC,KAAK,IACL,KAAK,IACH,OAAOZ,EAAmBO,SAASM,YACrC,KAAK,IACH,OAAOb,EAAmBO,SAASO,QAEA,EA+BlC,OA3BPC,EAAAA,WAAU,KACMxB,EAAAyB,SAAwBZ,IAElCA,EAAaE,QACbF,EAAaa,UACY,MAAxBb,EAAaE,QAA0C,MAAxBF,EAAaE,QAElCZ,EAAA,CAAEwB,KAAM,SAAUC,QAAS,CAAEC,GAAIhB,EAAagB,MAChDhB,EAAaE,SAAWF,EAAaa,SAAiC,UAAtBb,EAAac,MACpDvB,EAAA,CAChB0B,MAAOjB,EAAaiB,OAASrB,EAAmBQ,QAAQc,MACxDC,QAASpB,EAA6BC,GACtCoB,QAAS,IAAM9B,EAAW,CAAEwB,KAAM,SAAUC,QAAS,CAAEC,GAAIhB,EAAagB,QAE/D1B,EAAA,CAAEwB,KAAM,UAAWC,QAAS,CAAEC,GAAIhB,EAAagB,GAAIH,SAAS,MAC9Db,EAAaiB,QAAUjB,EAAaa,SAAiC,YAAtBb,EAAac,OACjDtB,EAAA,CAClByB,MAAOjB,EAAaiB,OAASrB,EAAmBQ,QAAQiB,QACxDF,QAASnB,EAAaC,QACtBmB,QAAS,IAAM9B,EAAW,CAAEwB,KAAM,SAAUC,QAAS,CAAEC,GAAIhB,EAAagB,QAG/D1B,EAAA,CAAEwB,KAAM,UAAWC,QAAS,CAAEC,GAAIhB,EAAagB,GAAIH,SAAS,KAAQ,GAElF,GACA,CAAC1B,EAAcmC,SAEX,IAAA,EAGIC,EAAsBC,EAAAA,cAGhC,CACD9B,MAAOR,EACPuC,SAAU,KACZ,IAkBa9B,EAAyB,KAC9B,MAAA+B,EAAMC,aAAWJ,GAEjBK,EAAkBC,EAAAA,aACrB7B,IACC0B,EAAID,SAAS,CAAEX,KAAM,MAAOC,QAASf,GAAc,GAErD,CAAC0B,IAGGI,EAAqBD,EAAAA,aACxBb,IACKU,EAAAD,SAAS,CAAEX,KAAM,SAAUC,QAAS,CAAEC,OAAM,GAElD,CAACU,IAGGK,EAAqBF,EAAAA,aAAY,KACrCH,EAAID,SAAS,CAAEX,KAAM,SAAS,GAC7B,CAACY,IAEG,MAAA,CACLhC,MAAOgC,EAAIhC,MACXkC,kBACAE,qBACAC,qBACF,EAGWC,EAAsB,CACjCtC,EACAuC,KAEA,OAAQA,EAAOnB,MACb,IAAK,MACI,MAAA,IACFpB,EACHP,cAAe,IACVO,EAAMP,cACT,IACK8C,EAAOlB,QACVC,GAAIkB,EAAAA,aACJrB,SAAS,KAIjB,IAAK,SACI,MAAA,IACFnB,EACHP,cAAeO,EAAMP,cAAcgD,QACjBnC,UAAa,OAAAA,EAAAgB,MAAO,OAAAoB,EAAOH,EAAAlB,cAAS,EAAAqB,EAAApB,GAAA,KAG1D,IAAK,UACI,MAAA,IACFtB,EACHP,cAAeO,EAAMP,cAAckD,KAAIrC,UACxB,OAAAA,EAAAgB,MAAO,OAAAoB,EAAOH,EAAAlB,cAAS,EAAAqB,EAAApB,IAAK,IAAKhB,EAAca,SAAS,GAASb,CAAA,KAGpF,IAAK,QACI,MAAA,IACFN,EACHP,cAAe,IAEnB,QACS,OAAAO,EAAA,2FA7EuB,EAAG4C,WAAUjD,mBAC/C,MAAOK,EAAO+B,GAAYc,EAAAA,WAAWP,EAAqB9C,GAGvD,OAAAsD,EAAAC,cAAAlB,EAAoBmB,SAApB,CAA6BC,MAAO,CAAEjD,QAAO+B,aAC3Ca,EACAE,EAAAC,cAAArD,EAAA,CAAoBC,eAA4BC,WAAYmC,IAC/D"}
@@ -0,0 +1,146 @@
1
+ import React, { useReducer, createContext, useContext, useCallback, useEffect } from "react";
2
+ import { defaultTranslations } from "./NotificationService.es.js";
3
+ import { generateID, deepMerge } from "../../../util/helper.es.js";
4
+ import { useAlert } from "../Alert/useAlert.es.js";
5
+ const initialState = {
6
+ notifications: []
7
+ };
8
+ const NotificationHandler = ({
9
+ translations = {},
10
+ dispatchFn
11
+ }) => {
12
+ const { enqueueErrorAlert, enqueueSuccessAlert } = useAlert();
13
+ const {
14
+ state: { notifications }
15
+ } = useNotificationContext();
16
+ const mergedTranslations = deepMerge(defaultTranslations, translations);
17
+ const determineNotificationMessage = (notification) => {
18
+ if (notification.message) {
19
+ return notification.message;
20
+ }
21
+ switch (notification.status) {
22
+ case 500:
23
+ return mergedTranslations.messages.general;
24
+ case 400:
25
+ return mergedTranslations.messages.badRequest;
26
+ case 401:
27
+ return mergedTranslations.messages.unauthorized;
28
+ case 403:
29
+ return mergedTranslations.messages.forbidden;
30
+ case 404:
31
+ return mergedTranslations.messages.notFound;
32
+ case 502:
33
+ case 503:
34
+ return mergedTranslations.messages.unavailable;
35
+ case 504:
36
+ return mergedTranslations.messages.timeout;
37
+ default:
38
+ return mergedTranslations.messages.general;
39
+ }
40
+ };
41
+ useEffect(() => {
42
+ notifications.forEach((notification) => {
43
+ if (notification.status && notification.handled && (notification.status === 401 || notification.status === 403)) {
44
+ dispatchFn({ type: "remove", payload: { id: notification.id } });
45
+ } else if (notification.status && !notification.handled && notification.type === "error") {
46
+ enqueueErrorAlert({
47
+ title: notification.title ?? mergedTranslations.general.error,
48
+ content: determineNotificationMessage(notification),
49
+ onClose: () => dispatchFn({ type: "remove", payload: { id: notification.id } })
50
+ });
51
+ dispatchFn({ type: "handled", payload: { id: notification.id, handled: true } });
52
+ } else if (notification.title && !notification.handled && notification.type === "success") {
53
+ enqueueSuccessAlert({
54
+ title: notification.title ?? mergedTranslations.general.success,
55
+ content: notification.message,
56
+ onClose: () => dispatchFn({ type: "remove", payload: { id: notification.id } })
57
+ });
58
+ dispatchFn({ type: "handled", payload: { id: notification.id, handled: true } });
59
+ }
60
+ });
61
+ }, [notifications.length]);
62
+ return null;
63
+ };
64
+ const NotificationContext = createContext({
65
+ state: initialState,
66
+ dispatch: () => void 0
67
+ });
68
+ const NotificationProvider = ({ children, translations }) => {
69
+ const [state, dispatch] = useReducer(notificationReducer, initialState);
70
+ return /* @__PURE__ */ React.createElement(NotificationContext.Provider, { value: { state, dispatch } }, children, /* @__PURE__ */ React.createElement(NotificationHandler, { translations, dispatchFn: dispatch }));
71
+ };
72
+ const useNotificationContext = () => {
73
+ const ctx = useContext(NotificationContext);
74
+ const addNotification = useCallback(
75
+ (notification) => {
76
+ ctx.dispatch({ type: "add", payload: notification });
77
+ },
78
+ [ctx]
79
+ );
80
+ const removeNotification = useCallback(
81
+ (id) => {
82
+ ctx.dispatch({ type: "remove", payload: { id } });
83
+ },
84
+ [ctx]
85
+ );
86
+ const resetNotifications = useCallback(() => {
87
+ ctx.dispatch({ type: "reset" });
88
+ }, [ctx]);
89
+ return {
90
+ state: ctx.state,
91
+ addNotification,
92
+ removeNotification,
93
+ resetNotifications
94
+ };
95
+ };
96
+ const notificationReducer = (state, action) => {
97
+ switch (action.type) {
98
+ case "add":
99
+ return {
100
+ ...state,
101
+ notifications: [
102
+ ...state.notifications,
103
+ {
104
+ ...action.payload,
105
+ id: generateID(),
106
+ handled: false
107
+ }
108
+ ]
109
+ };
110
+ case "remove":
111
+ return {
112
+ ...state,
113
+ notifications: state.notifications.filter(
114
+ (notification) => {
115
+ var _a;
116
+ return notification.id !== ((_a = action.payload) == null ? void 0 : _a.id);
117
+ }
118
+ )
119
+ };
120
+ case "handled":
121
+ return {
122
+ ...state,
123
+ notifications: state.notifications.map(
124
+ (notification) => {
125
+ var _a;
126
+ return notification.id === ((_a = action.payload) == null ? void 0 : _a.id) ? { ...notification, handled: true } : notification;
127
+ }
128
+ )
129
+ };
130
+ case "reset":
131
+ return {
132
+ ...state,
133
+ notifications: []
134
+ };
135
+ default:
136
+ return state;
137
+ }
138
+ };
139
+ export {
140
+ NotificationContext,
141
+ NotificationHandler,
142
+ NotificationProvider,
143
+ notificationReducer,
144
+ useNotificationContext
145
+ };
146
+ //# sourceMappingURL=NotificationContext.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationContext.es.js","sources":["../../../../src/components/Notifications/NotificationProvider/NotificationContext.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 ReactNode,\n createContext,\n useCallback,\n useContext,\n useEffect,\n useReducer\n} from \"react\";\nimport {\n Notification,\n ErrorNotification,\n SuccessNotification,\n Translations,\n AddNotification\n} from \"./notification.interfaces\";\nimport { defaultTranslations } from \"./NotificationService\";\nimport { deepMerge, generateID } from \"../../../util/helper\";\nimport { DeepPartial } from \"../../../interfaces\";\nimport { useAlert } from \"../Alert/useAlert\";\n\ninterface NotificationState {\n notifications: Notification<ErrorNotification | SuccessNotification>[];\n}\n\nexport interface NotificationAction {\n type: \"add\" | \"remove\" | \"handled\" | \"reset\";\n payload?: Notification<ErrorNotification | SuccessNotification> & {\n id?: string;\n handled?: boolean;\n };\n}\n\nconst initialState: NotificationState = {\n notifications: []\n};\n\nexport interface NotificationHandlerProps {\n translations?: DeepPartial<Translations>;\n dispatchFn: React.Dispatch<NotificationAction>;\n}\n\nexport const NotificationHandler = ({\n translations = {},\n dispatchFn\n}: NotificationHandlerProps) => {\n const { enqueueErrorAlert, enqueueSuccessAlert } = useAlert();\n const {\n state: { notifications }\n } = useNotificationContext();\n\n const mergedTranslations = deepMerge<Translations>(defaultTranslations, translations);\n\n const determineNotificationMessage = (notification: Notification<ErrorNotification>) => {\n if (notification.message) {\n return notification.message;\n }\n\n switch (notification.status) {\n case 500:\n return mergedTranslations.messages.general;\n case 400:\n return mergedTranslations.messages.badRequest;\n case 401:\n return mergedTranslations.messages.unauthorized;\n case 403:\n return mergedTranslations.messages.forbidden;\n case 404:\n return mergedTranslations.messages.notFound;\n case 502:\n case 503:\n return mergedTranslations.messages.unavailable;\n case 504:\n return mergedTranslations.messages.timeout;\n default:\n return mergedTranslations.messages.general;\n }\n };\n\n useEffect(() => {\n notifications.forEach(notification => {\n if (\n notification.status &&\n notification.handled &&\n (notification.status === 401 || notification.status === 403)\n ) {\n dispatchFn({ type: \"remove\", payload: { id: notification.id } });\n } else if (notification.status && !notification.handled && notification.type === \"error\") {\n enqueueErrorAlert({\n title: notification.title ?? mergedTranslations.general.error,\n content: determineNotificationMessage(notification as Notification<ErrorNotification>),\n onClose: () => dispatchFn({ type: \"remove\", payload: { id: notification.id } })\n });\n dispatchFn({ type: \"handled\", payload: { id: notification.id, handled: true } });\n } else if (notification.title && !notification.handled && notification.type === \"success\") {\n enqueueSuccessAlert({\n title: notification.title ?? mergedTranslations.general.success,\n content: notification.message,\n onClose: () => dispatchFn({ type: \"remove\", payload: { id: notification.id } })\n });\n\n dispatchFn({ type: \"handled\", payload: { id: notification.id, handled: true } });\n }\n });\n }, [notifications.length]);\n\n return null;\n};\n\nexport const NotificationContext = createContext<{\n state: NotificationState;\n dispatch: React.Dispatch<NotificationAction>;\n}>({\n state: initialState,\n dispatch: () => undefined\n});\n\nexport interface Props {\n children?: ReactNode;\n translations?: DeepPartial<Translations>;\n}\n\nexport const NotificationProvider = ({ children, translations }: Props) => {\n const [state, dispatch] = useReducer(notificationReducer, initialState);\n\n return (\n <NotificationContext.Provider value={{ state, dispatch }}>\n {children}\n <NotificationHandler translations={translations} dispatchFn={dispatch} />\n </NotificationContext.Provider>\n );\n};\n\nexport const useNotificationContext = () => {\n const ctx = useContext(NotificationContext);\n\n const addNotification = useCallback(\n (notification: AddNotification) => {\n ctx.dispatch({ type: \"add\", payload: notification });\n },\n [ctx]\n );\n\n const removeNotification = useCallback(\n (id: string) => {\n ctx.dispatch({ type: \"remove\", payload: { id } });\n },\n [ctx]\n );\n\n const resetNotifications = useCallback(() => {\n ctx.dispatch({ type: \"reset\" });\n }, [ctx]);\n\n return {\n state: ctx.state,\n addNotification,\n removeNotification,\n resetNotifications\n };\n};\n\nexport const notificationReducer = (\n state: NotificationState,\n action: NotificationAction\n): NotificationState => {\n switch (action.type) {\n case \"add\":\n return {\n ...state,\n notifications: [\n ...state.notifications,\n {\n ...action.payload,\n id: generateID(),\n handled: false\n }\n ]\n };\n case \"remove\":\n return {\n ...state,\n notifications: state.notifications.filter(\n notification => notification.id !== action.payload?.id\n )\n };\n case \"handled\":\n return {\n ...state,\n notifications: state.notifications.map(notification =>\n notification.id === action.payload?.id ? { ...notification, handled: true } : notification\n )\n };\n case \"reset\":\n return {\n ...state,\n notifications: []\n };\n default:\n return state;\n }\n};\n"],"names":[],"mappings":";;;;AAgDA,MAAM,eAAkC;AAAA,EACtC,eAAe,CAAA;AACjB;AAOO,MAAM,sBAAsB,CAAC;AAAA,EAClC,eAAe,CAAC;AAAA,EAChB;AACF,MAAgC;AAC9B,QAAM,EAAE,mBAAmB,oBAAoB,IAAI,SAAS;AACtD,QAAA;AAAA,IACJ,OAAO,EAAE,cAAc;AAAA,MACrB,uBAAuB;AAErB,QAAA,qBAAqB,UAAwB,qBAAqB,YAAY;AAE9E,QAAA,+BAA+B,CAAC,iBAAkD;AACtF,QAAI,aAAa,SAAS;AACxB,aAAO,aAAa;AAAA,IAAA;AAGtB,YAAQ,aAAa,QAAQ;AAAA,MAC3B,KAAK;AACH,eAAO,mBAAmB,SAAS;AAAA,MACrC,KAAK;AACH,eAAO,mBAAmB,SAAS;AAAA,MACrC,KAAK;AACH,eAAO,mBAAmB,SAAS;AAAA,MACrC,KAAK;AACH,eAAO,mBAAmB,SAAS;AAAA,MACrC,KAAK;AACH,eAAO,mBAAmB,SAAS;AAAA,MACrC,KAAK;AAAA,MACL,KAAK;AACH,eAAO,mBAAmB,SAAS;AAAA,MACrC,KAAK;AACH,eAAO,mBAAmB,SAAS;AAAA,MACrC;AACE,eAAO,mBAAmB,SAAS;AAAA,IAAA;AAAA,EAEzC;AAEA,YAAU,MAAM;AACd,kBAAc,QAAQ,CAAgB,iBAAA;AAElC,UAAA,aAAa,UACb,aAAa,YACZ,aAAa,WAAW,OAAO,aAAa,WAAW,MACxD;AACW,mBAAA,EAAE,MAAM,UAAU,SAAS,EAAE,IAAI,aAAa,GAAG,GAAG;AAAA,MAAA,WACtD,aAAa,UAAU,CAAC,aAAa,WAAW,aAAa,SAAS,SAAS;AACtE,0BAAA;AAAA,UAChB,OAAO,aAAa,SAAS,mBAAmB,QAAQ;AAAA,UACxD,SAAS,6BAA6B,YAA+C;AAAA,UACrF,SAAS,MAAM,WAAW,EAAE,MAAM,UAAU,SAAS,EAAE,IAAI,aAAa,KAAM,CAAA;AAAA,QAAA,CAC/E;AACU,mBAAA,EAAE,MAAM,WAAW,SAAS,EAAE,IAAI,aAAa,IAAI,SAAS,KAAK,EAAA,CAAG;AAAA,MAAA,WACtE,aAAa,SAAS,CAAC,aAAa,WAAW,aAAa,SAAS,WAAW;AACrE,4BAAA;AAAA,UAClB,OAAO,aAAa,SAAS,mBAAmB,QAAQ;AAAA,UACxD,SAAS,aAAa;AAAA,UACtB,SAAS,MAAM,WAAW,EAAE,MAAM,UAAU,SAAS,EAAE,IAAI,aAAa,KAAM,CAAA;AAAA,QAAA,CAC/E;AAEU,mBAAA,EAAE,MAAM,WAAW,SAAS,EAAE,IAAI,aAAa,IAAI,SAAS,KAAK,EAAA,CAAG;AAAA,MAAA;AAAA,IACjF,CACD;AAAA,EAAA,GACA,CAAC,cAAc,MAAM,CAAC;AAElB,SAAA;AACT;AAEO,MAAM,sBAAsB,cAGhC;AAAA,EACD,OAAO;AAAA,EACP,UAAU,MAAM;AAClB,CAAC;AAOM,MAAM,uBAAuB,CAAC,EAAE,UAAU,mBAA0B;AACzE,QAAM,CAAC,OAAO,QAAQ,IAAI,WAAW,qBAAqB,YAAY;AAEtE,SACG,sBAAA,cAAA,oBAAoB,UAApB,EAA6B,OAAO,EAAE,OAAO,SAAS,EAAA,GACpD,UACA,sBAAA,cAAA,qBAAA,EAAoB,cAA4B,YAAY,UAAU,CACzE;AAEJ;AAEO,MAAM,yBAAyB,MAAM;AACpC,QAAA,MAAM,WAAW,mBAAmB;AAE1C,QAAM,kBAAkB;AAAA,IACtB,CAAC,iBAAkC;AACjC,UAAI,SAAS,EAAE,MAAM,OAAO,SAAS,cAAc;AAAA,IACrD;AAAA,IACA,CAAC,GAAG;AAAA,EACN;AAEA,QAAM,qBAAqB;AAAA,IACzB,CAAC,OAAe;AACV,UAAA,SAAS,EAAE,MAAM,UAAU,SAAS,EAAE,GAAA,GAAM;AAAA,IAClD;AAAA,IACA,CAAC,GAAG;AAAA,EACN;AAEM,QAAA,qBAAqB,YAAY,MAAM;AAC3C,QAAI,SAAS,EAAE,MAAM,QAAA,CAAS;AAAA,EAAA,GAC7B,CAAC,GAAG,CAAC;AAED,SAAA;AAAA,IACL,OAAO,IAAI;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;AAEa,MAAA,sBAAsB,CACjC,OACA,WACsB;AACtB,UAAQ,OAAO,MAAM;AAAA,IACnB,KAAK;AACI,aAAA;AAAA,QACL,GAAG;AAAA,QACH,eAAe;AAAA,UACb,GAAG,MAAM;AAAA,UACT;AAAA,YACE,GAAG,OAAO;AAAA,YACV,IAAI,WAAW;AAAA,YACf,SAAS;AAAA,UAAA;AAAA,QACX;AAAA,MAEJ;AAAA,IACF,KAAK;AACI,aAAA;AAAA,QACL,GAAG;AAAA,QACH,eAAe,MAAM,cAAc;AAAA,UACjC,CAAgB,iBAAA;;AAAA,gCAAa,SAAO,YAAO,YAAP,mBAAgB;AAAA;AAAA,QAAA;AAAA,MAExD;AAAA,IACF,KAAK;AACI,aAAA;AAAA,QACL,GAAG;AAAA,QACH,eAAe,MAAM,cAAc;AAAA,UAAI,CAAA,iBACrC;;AAAA,gCAAa,SAAO,YAAO,YAAP,mBAAgB,MAAK,EAAE,GAAG,cAAc,SAAS,KAAA,IAAS;AAAA;AAAA,QAAA;AAAA,MAElF;AAAA,IACF,KAAK;AACI,aAAA;AAAA,QACL,GAAG;AAAA,QACH,eAAe,CAAA;AAAA,MACjB;AAAA,IACF;AACS,aAAA;AAAA,EAAA;AAEb;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),exports.defaultTranslations={general:{error:"Error",success:"Success"},messages:{general:"Something went wrong. Please try again later.",badRequest:"Bad request",unauthorized:"You are not authorized to perform this action.",forbidden:"You are not allowed to perform this action.",notFound:"The requested resource could not be found.",timeout:"The request timed out.",unavailable:"The server is currently unavailable. Please try again later."}};
2
+ //# sourceMappingURL=NotificationService.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationService.cjs.js","sources":["../../../../src/components/Notifications/NotificationProvider/NotificationService.ts"],"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 { Translations } from \"./notification.interfaces\";\n\nexport const defaultTranslations: Translations = {\n general: {\n error: \"Error\",\n success: \"Success\"\n },\n messages: {\n general: \"Something went wrong. Please try again later.\",\n badRequest: \"Bad request\",\n unauthorized: \"You are not authorized to perform this action.\",\n forbidden: \"You are not allowed to perform this action.\",\n notFound: \"The requested resource could not be found.\",\n timeout: \"The request timed out.\",\n unavailable: \"The server is currently unavailable. Please try again later.\"\n }\n};\n"],"names":["general","error","success","messages","badRequest","unauthorized","forbidden","notFound","timeout","unavailable"],"mappings":"4GAkBiD,CAC/CA,QAAS,CACPC,MAAO,QACPC,QAAS,WAEXC,SAAU,CACRH,QAAS,gDACTI,WAAY,cACZC,aAAc,iDACdC,UAAW,8CACXC,SAAU,6CACVC,QAAS,yBACTC,YAAa"}
@@ -0,0 +1,19 @@
1
+ const defaultTranslations = {
2
+ general: {
3
+ error: "Error",
4
+ success: "Success"
5
+ },
6
+ messages: {
7
+ general: "Something went wrong. Please try again later.",
8
+ badRequest: "Bad request",
9
+ unauthorized: "You are not authorized to perform this action.",
10
+ forbidden: "You are not allowed to perform this action.",
11
+ notFound: "The requested resource could not be found.",
12
+ timeout: "The request timed out.",
13
+ unavailable: "The server is currently unavailable. Please try again later."
14
+ }
15
+ };
16
+ export {
17
+ defaultTranslations
18
+ };
19
+ //# sourceMappingURL=NotificationService.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationService.es.js","sources":["../../../../src/components/Notifications/NotificationProvider/NotificationService.ts"],"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 { Translations } from \"./notification.interfaces\";\n\nexport const defaultTranslations: Translations = {\n general: {\n error: \"Error\",\n success: \"Success\"\n },\n messages: {\n general: \"Something went wrong. Please try again later.\",\n badRequest: \"Bad request\",\n unauthorized: \"You are not authorized to perform this action.\",\n forbidden: \"You are not allowed to perform this action.\",\n notFound: \"The requested resource could not be found.\",\n timeout: \"The request timed out.\",\n unavailable: \"The server is currently unavailable. Please try again later.\"\n }\n};\n"],"names":[],"mappings":"AAkBO,MAAM,sBAAoC;AAAA,EAC/C,SAAS;AAAA,IACP,OAAO;AAAA,IACP,SAAS;AAAA,EACX;AAAA,EACA,UAAU;AAAA,IACR,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,WAAW;AAAA,IACX,UAAU;AAAA,IACV,SAAS;AAAA,IACT,aAAa;AAAA,EAAA;AAEjB;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("./SideSheet.module.scss.cjs.js"),a=require("../../Button/IconButton.cjs.js"),n=require("../../Icon/Icon.cjs.js"),l=require("../BaseModal/BaseModal.cjs.js"),s=e.forwardRef((({children:s,id:o,open:r,handleButtonProps:d,...c},i)=>{const[u,m]=e.useState("hide"),[h,f]=e.useState(!1),p=e.useRef(null),S=(null==d?void 0:d.title)??"Side sheet handle",E={width:"1.5rem",height:"3.5rem",borderTopLeftRadius:"4px",borderBottomLeftRadius:"4px"},B=e.useCallback((e=>{e.target===p.current&&(m((e=>e?"":"hide")),!r&&h&&f(!1))}),[r]);return e.useEffect((()=>{r&&f(r)}),[r]),e.createElement(e.Fragment,null,d&&!r&&e.createElement("div",{className:t.default["collapsed-sheet"]},e.createElement("div",{className:t.default.handle},e.createElement(a.IconButton,{style:E,className:t.default["handle-button"],onClick:d.onOpen,title:S},e.createElement(n.Icon,{size:"0.9rem",icon:n.Icons.SideSheetHandle})))),e.createElement(l.BaseModal,{...c,id:o,open:h,className:`${t.default["slide-in-modal"]} ${r?t.default.visible:""} ${r?"":t.default[u]}`,containerProps:{className:t.default.container},hideBackdrop:!0,onTransitionEnd:B,ref:i??p},d&&e.createElement("div",{className:t.default.handle},e.createElement(a.IconButton,{style:E,title:S,onClick:d.onClose},e.createElement(n.Icon,{size:"0.9rem",icon:n.Icons.SideSheetHandle}))),s))}));exports.SideSheet=s;
2
+ //# sourceMappingURL=SideSheet.cjs.js.map
@@ -0,0 +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","default","IconButton","style","onClick","onOpen","Icon","size","icon","Icons","SideSheetHandle","Modal","BaseModal","containerProps","hideBackdrop","onClose"],"mappings":"gRAiHaA,EAAYC,EAAMC,YA5E6C,EACxEC,WAAUC,KAAIC,OAAMC,uBAAsBC,GAC5CC,KAEA,MAAOC,EAAuBC,GAA4BC,EAAAA,SAAiB,SACpEC,EAAgBC,GAAqBF,EAAAA,UAAS,GAC/CG,EAAeC,SAAO,MACtBC,SAAcV,WAAmBW,QAAS,oBAC1CC,EAAoB,CACxBC,MAAO,SACPC,OAAQ,SACRC,oBAAqB,MACrBC,uBAAwB,OAGpBC,EAA0DC,EAAAA,aACzDC,IACCA,EAAEC,SAAWZ,EAAaa,UACHjB,GAAAkB,GAASA,EAAO,GAAK,UACzCvB,GAAQO,GACXC,GAAkB,GACpB,GAGJ,CAACR,IAOH,OAJAwB,EAAAA,WAAU,KACRxB,GAAQQ,EAAkBR,EAAI,GAC7B,CAACA,IAICJ,EAAA6B,cAAA7B,EAAA8B,SAAA,KAAAzB,IAAsBD,mBACpB,MAAI,CAAA2B,UAAWC,EAAQC,QAAA,oBACrBjC,EAAA6B,cAAA,MAAA,CAAIE,UAAWC,UAAgB,QAC9BhC,EAAA6B,cAACK,EAAAA,WAAA,CACCC,MAAOlB,EACPc,UAAWC,UAAQ,iBACnBI,QAAS/B,EAAkBgC,OAC3BrB,MAAOD,mBAENuB,EAAAA,KAAK,CAAAC,KAAK,SAASC,KAAMC,QAAMC,qBAKxC1C,EAAA6B,cAACc,EAAAC,UAAA,IACKtC,EACJH,KACAC,KAAMO,EACNoB,UAAW,GAAGC,UAAQ,qBAAqB5B,EAAO4B,UAAiB,QAAI,MACpE5B,EAAwC,GAAjC4B,EAAQC,QAAAzB,KAElBqC,eAAgB,CAAEd,UAAWC,EAAAC,QAAmB,WAChDa,cAAc,EACdxB,kBACAf,IAAKA,GAAOM,GAEXR,GACEL,EAAA6B,cAAA,MAAA,CAAIE,UAAWC,EAAAA,QAAgB,QAC9BhC,EAAA6B,cAACK,EAAAA,WAAA,CACCC,MAAOlB,EACPD,MAAOD,EACPqB,QAAS/B,EAAkB0C,yBAE1BT,EAAAA,KAAK,CAAAC,KAAK,SAASC,KAAMC,QAAMC,oBAIrCxC,GAEL"}
@@ -0,0 +1,68 @@
1
+ import React, { useState, useRef, useCallback, useEffect } from "react";
2
+ import classes from "./SideSheet.module.scss.es.js";
3
+ import { IconButton } from "../../Button/IconButton.es.js";
4
+ import { Icon, Icons } from "../../Icon/Icon.es.js";
5
+ import { BaseModal } from "../BaseModal/BaseModal.es.js";
6
+ const SideSheetComponent = ({ children, id, open, handleButtonProps, ...rest }, ref) => {
7
+ const [classHideOnTransition, setClassHideOnTransition] = useState("hide");
8
+ const [controlledOpen, setControlledOpen] = useState(false);
9
+ const containerRef = useRef(null);
10
+ const handleTitle = (handleButtonProps == null ? void 0 : handleButtonProps.title) ?? "Side sheet handle";
11
+ const handleButtonStyle = {
12
+ width: "1.5rem",
13
+ height: "3.5rem",
14
+ borderTopLeftRadius: "4px",
15
+ borderBottomLeftRadius: "4px"
16
+ };
17
+ const onTransitionEnd = useCallback(
18
+ (e) => {
19
+ if (e.target === containerRef.current) {
20
+ setClassHideOnTransition((prev) => prev ? "" : "hide");
21
+ if (!open && controlledOpen) {
22
+ setControlledOpen(false);
23
+ }
24
+ }
25
+ },
26
+ [open]
27
+ );
28
+ useEffect(() => {
29
+ open && setControlledOpen(open);
30
+ }, [open]);
31
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, handleButtonProps && !open && /* @__PURE__ */ React.createElement("div", { className: classes["collapsed-sheet"] }, /* @__PURE__ */ React.createElement("div", { className: classes["handle"] }, /* @__PURE__ */ React.createElement(
32
+ IconButton,
33
+ {
34
+ style: handleButtonStyle,
35
+ className: classes["handle-button"],
36
+ onClick: handleButtonProps.onOpen,
37
+ title: handleTitle
38
+ },
39
+ /* @__PURE__ */ React.createElement(Icon, { size: "0.9rem", icon: Icons.SideSheetHandle })
40
+ ))), /* @__PURE__ */ React.createElement(
41
+ BaseModal,
42
+ {
43
+ ...rest,
44
+ id,
45
+ open: controlledOpen,
46
+ className: `${classes["slide-in-modal"]} ${open ? classes["visible"] : ""} ${!open ? classes[classHideOnTransition] : ""}`,
47
+ containerProps: { className: classes["container"] },
48
+ hideBackdrop: true,
49
+ onTransitionEnd,
50
+ ref: ref ?? containerRef
51
+ },
52
+ handleButtonProps && /* @__PURE__ */ React.createElement("div", { className: classes["handle"] }, /* @__PURE__ */ React.createElement(
53
+ IconButton,
54
+ {
55
+ style: handleButtonStyle,
56
+ title: handleTitle,
57
+ onClick: handleButtonProps.onClose
58
+ },
59
+ /* @__PURE__ */ React.createElement(Icon, { size: "0.9rem", icon: Icons.SideSheetHandle })
60
+ )),
61
+ children
62
+ ));
63
+ };
64
+ const SideSheet = React.forwardRef(SideSheetComponent);
65
+ export {
66
+ SideSheet
67
+ };
68
+ //# sourceMappingURL=SideSheet.es.js.map
@@ -0,0 +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,KAAK,GACjD,QACG;AACH,QAAM,CAAC,uBAAuB,wBAAwB,IAAI,SAAiB,MAAM;AACjF,QAAM,CAAC,gBAAgB,iBAAiB,IAAI,SAAS,KAAK;AACpD,QAAA,eAAe,OAAO,IAAI;AAC1B,QAAA,eAAc,uDAAmB,UAAS;AAChD,QAAM,oBAAoB;AAAA,IACxB,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,qBAAqB;AAAA,IACrB,wBAAwB;AAAA,EAC1B;AAEA,QAAM,kBAA0D;AAAA,IAC9D,CAAK,MAAA;AACC,UAAA,EAAE,WAAW,aAAa,SAAS;AACZ,iCAAA,CAAA,SAAS,OAAO,KAAK,MAAO;AACjD,YAAA,CAAC,QAAQ,gBAAgB;AAC3B,4BAAkB,KAAK;AAAA,QAAA;AAAA,MACzB;AAAA,IAEJ;AAAA,IACA,CAAC,IAAI;AAAA,EACP;AAEA,YAAU,MAAM;AACd,YAAQ,kBAAkB,IAAI;AAAA,EAAA,GAC7B,CAAC,IAAI,CAAC;AAET,SAEK,sBAAA,cAAA,MAAA,UAAA,MAAA,qBAAqB,CAAC,4CACpB,OAAI,EAAA,WAAW,QAAQ,iBAAiB,KACtC,sBAAA,cAAA,OAAA,EAAI,WAAW,QAAQ,QAAQ,EAC9B,GAAA,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAO;AAAA,MACP,WAAW,QAAQ,eAAe;AAAA,MAClC,SAAS,kBAAkB;AAAA,MAC3B,OAAO;AAAA,IAAA;AAAA,wCAEN,MAAK,EAAA,MAAK,UAAS,MAAM,MAAM,gBAAiB,CAAA;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,EAAE;AAAA,MAClD,cAAc;AAAA,MACd;AAAA,MACA,KAAK,OAAO;AAAA,IAAA;AAAA,IAEX,qBACE,sBAAA,cAAA,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,MAAK,EAAA,MAAK,UAAS,MAAM,MAAM,gBAAiB,CAAA;AAAA,IAAA,CAErD;AAAA,IAED;AAAA,EAAA,CAEL;AAEJ;AAEa,MAAA,YAAY,MAAM,WAAW,kBAAkB;"}
@@ -0,0 +1,3 @@
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.SideSheet_sr-only_7l1Pc{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.SideSheet_hidden_7l1Pc{display:none}.SideSheet_slide-in_7l1Pc{animation:SideSheet_slide-in_7l1Pc .5s forwards}@media (prefers-reduced-motion: reduce){.SideSheet_slide-in_7l1Pc{animation-duration:.1ms}}.SideSheet_slide-out_7l1Pc{animation:SideSheet_slide-out_7l1Pc .5s forwards}@media (prefers-reduced-motion: reduce){.SideSheet_slide-out_7l1Pc{animation-duration:.1ms}}@keyframes SideSheet_slide-in_7l1Pc{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes SideSheet_slide-out_7l1Pc{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_7l1Pc{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_7l1Pc{transition-duration:.1ms}}.SideSheet_slide-in-modal_7l1Pc.SideSheet_hide_7l1Pc{visibility:hidden}.SideSheet_slide-in-modal_7l1Pc.SideSheet_visible_7l1Pc{visibility:visible;transform:translate(0)}.SideSheet_slide-in-modal_7l1Pc.SideSheet_visible_7l1Pc #SideSheet_backdrop-slide_7l1Pc{background-color:transparent}.SideSheet_handle_7l1Pc{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_7l1Pc{transform:rotateY(180deg)}.SideSheet_collapsed-sheet_7l1Pc{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_7l1Pc{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_7l1Pc",d="SideSheet_hide_7l1Pc",i="SideSheet_visible_7l1Pc",l="SideSheet_handle_7l1Pc",t="SideSheet_container_7l1Pc",s={"sr-only":"SideSheet_sr-only_7l1Pc",hidden:e,"slide-in":"SideSheet_slide-in_7l1Pc","slide-out":"SideSheet_slide-out_7l1Pc","slide-in-modal":"SideSheet_slide-in-modal_7l1Pc",hide:d,visible:i,"backdrop-slide":"SideSheet_backdrop-slide_7l1Pc",handle:l,"handle-button":"SideSheet_handle-button_7l1Pc","collapsed-sheet":"SideSheet_collapsed-sheet_7l1Pc",container:t};exports.container=t,exports.default=s,exports.handle=l,exports.hidden=e,exports.hide=d,exports.visible=i;
3
+ //# sourceMappingURL=SideSheet.module.scss.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SideSheet.module.scss.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}