@caspeco/casper-ui-library 9.12.0 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (779) hide show
  1. package/dist/_virtual/compiler-runtime.js +5 -0
  2. package/dist/_virtual/compiler-runtime2.js +4 -0
  3. package/dist/_virtual/react-compiler-runtime.development.js +4 -0
  4. package/dist/_virtual/react-compiler-runtime.production.js +4 -0
  5. package/dist/components/accordion/accordion-item.d.ts +3 -2
  6. package/dist/components/accordion/accordion-item.d.ts.map +1 -1
  7. package/dist/components/accordion/accordion-item.js +36 -19
  8. package/dist/components/accordion/accordion-panel.d.ts +1 -1
  9. package/dist/components/accordion/accordion-panel.d.ts.map +1 -1
  10. package/dist/components/accordion/accordion-panel.js +13 -5
  11. package/dist/components/accordion/accordion.composition.d.ts +3 -3
  12. package/dist/components/accordion/accordion.composition.d.ts.map +1 -1
  13. package/dist/components/accordion/accordion.d.ts +1 -1
  14. package/dist/components/accordion/accordion.d.ts.map +1 -1
  15. package/dist/components/accordion/accordion.js +18 -6
  16. package/dist/components/alert/alert.composition.d.ts +5 -5
  17. package/dist/components/alert/alert.composition.d.ts.map +1 -1
  18. package/dist/components/alert/alert.d.ts +1 -1
  19. package/dist/components/alert/alert.d.ts.map +1 -1
  20. package/dist/components/alert/alert.js +58 -74
  21. package/dist/components/alert/helper.d.ts +1 -1
  22. package/dist/components/alert/helper.d.ts.map +1 -1
  23. package/dist/components/alert/helper.js +10 -15
  24. package/dist/components/badge/badge-recipe.js +13 -19
  25. package/dist/components/badge/badge.composition.d.ts +3 -3
  26. package/dist/components/badge/badge.composition.d.ts.map +1 -1
  27. package/dist/components/badge/badge.js +70 -31
  28. package/dist/components/box/box.composition.d.ts +6 -6
  29. package/dist/components/box/box.composition.d.ts.map +1 -1
  30. package/dist/components/box/box.js +10 -5
  31. package/dist/components/breadcrumbs/breadcrumb-item.d.ts +1 -1
  32. package/dist/components/breadcrumbs/breadcrumb-item.d.ts.map +1 -1
  33. package/dist/components/breadcrumbs/breadcrumb-item.js +16 -5
  34. package/dist/components/breadcrumbs/breadcrumb-link.js +19 -17
  35. package/dist/components/breadcrumbs/breadcrumbs.composition.d.ts +2 -2
  36. package/dist/components/breadcrumbs/breadcrumbs.composition.d.ts.map +1 -1
  37. package/dist/components/breadcrumbs/breadcrumbs.d.ts +1 -1
  38. package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  39. package/dist/components/breadcrumbs/breadcrumbs.js +82 -80
  40. package/dist/components/button/button-recipe.js +6 -2
  41. package/dist/components/button/button.composition.d.ts +5 -5
  42. package/dist/components/button/button.composition.d.ts.map +1 -1
  43. package/dist/components/button/button.js +38 -42
  44. package/dist/components/checkbox/checkbox-icon.d.ts +2 -1
  45. package/dist/components/checkbox/checkbox-icon.d.ts.map +1 -1
  46. package/dist/components/checkbox/checkbox.composition.d.ts +3 -3
  47. package/dist/components/checkbox/checkbox.composition.d.ts.map +1 -1
  48. package/dist/components/checkbox/checkbox.js +34 -53
  49. package/dist/components/checkbox/icons/check.js +1 -6
  50. package/dist/components/checkbox/icons/minus.js +1 -6
  51. package/dist/components/checkbox/icons/plus.js +1 -6
  52. package/dist/components/checkbox-group/checkbox-group.composition.d.ts +2 -2
  53. package/dist/components/checkbox-group/checkbox-group.composition.d.ts.map +1 -1
  54. package/dist/components/checkbox-group/checkbox-group.d.ts +1 -1
  55. package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -1
  56. package/dist/components/checkbox-group/checkbox-group.js +13 -4
  57. package/dist/components/collapsible/collapsible.composition.d.ts +3 -3
  58. package/dist/components/collapsible/collapsible.composition.d.ts.map +1 -1
  59. package/dist/components/collapsible/collapsible.d.ts +1 -1
  60. package/dist/components/collapsible/collapsible.d.ts.map +1 -1
  61. package/dist/components/collapsible/collapsible.js +93 -108
  62. package/dist/components/combobox/combobox-button.d.ts +1 -1
  63. package/dist/components/combobox/combobox-button.d.ts.map +1 -1
  64. package/dist/components/combobox/combobox-button.js +131 -174
  65. package/dist/components/combobox/combobox-item.d.ts +1 -1
  66. package/dist/components/combobox/combobox-item.d.ts.map +1 -1
  67. package/dist/components/combobox/combobox-item.js +18 -11
  68. package/dist/components/combobox/combobox-menu.d.ts +2 -2
  69. package/dist/components/combobox/combobox-menu.d.ts.map +1 -1
  70. package/dist/components/combobox/combobox-menu.js +171 -270
  71. package/dist/components/combobox/combobox.composition.d.ts +9 -9
  72. package/dist/components/combobox/combobox.composition.d.ts.map +1 -1
  73. package/dist/components/combobox/combobox.d.ts +1 -1
  74. package/dist/components/combobox/combobox.d.ts.map +1 -1
  75. package/dist/components/combobox/combobox.js +286 -209
  76. package/dist/components/combobox/types.d.ts +7 -7
  77. package/dist/components/combobox/types.d.ts.map +1 -1
  78. package/dist/components/date-picker/base-date-picker.d.ts +2 -1
  79. package/dist/components/date-picker/base-date-picker.d.ts.map +1 -1
  80. package/dist/components/date-picker/base-date-picker.js +242 -240
  81. package/dist/components/date-picker/date-multi-picker.d.ts +8 -0
  82. package/dist/components/date-picker/date-multi-picker.d.ts.map +1 -0
  83. package/dist/components/date-picker/date-multi-picker.js +30 -0
  84. package/dist/components/date-picker/date-picker-date-cell.d.ts +1 -1
  85. package/dist/components/date-picker/date-picker-date-cell.d.ts.map +1 -1
  86. package/dist/components/date-picker/date-picker-date-cell.js +111 -117
  87. package/dist/components/date-picker/date-picker-header.d.ts +1 -1
  88. package/dist/components/date-picker/date-picker-header.d.ts.map +1 -1
  89. package/dist/components/date-picker/date-picker-header.js +153 -120
  90. package/dist/components/date-picker/date-picker-week-cell.d.ts +1 -1
  91. package/dist/components/date-picker/date-picker-week-cell.d.ts.map +1 -1
  92. package/dist/components/date-picker/date-picker-week-cell.js +41 -36
  93. package/dist/components/date-picker/date-picker.composition.d.ts +7 -4
  94. package/dist/components/date-picker/date-picker.composition.d.ts.map +1 -1
  95. package/dist/components/date-picker/date-picker.d.ts +1 -1
  96. package/dist/components/date-picker/date-picker.d.ts.map +1 -1
  97. package/dist/components/date-picker/date-picker.js +24 -45
  98. package/dist/components/date-picker/date-range-picker.d.ts +1 -1
  99. package/dist/components/date-picker/date-range-picker.d.ts.map +1 -1
  100. package/dist/components/date-picker/date-range-picker.js +23 -41
  101. package/dist/components/date-picker/date-week-picker.d.ts +1 -1
  102. package/dist/components/date-picker/date-week-picker.d.ts.map +1 -1
  103. package/dist/components/date-picker/date-week-picker.js +18 -36
  104. package/dist/components/date-picker/helper.js +1 -1
  105. package/dist/components/date-picker/index.d.ts +2 -1
  106. package/dist/components/date-picker/index.d.ts.map +1 -1
  107. package/dist/components/date-picker/types.d.ts +16 -0
  108. package/dist/components/date-picker/types.d.ts.map +1 -1
  109. package/dist/components/divider/divider.composition.d.ts +2 -2
  110. package/dist/components/divider/divider.composition.d.ts.map +1 -1
  111. package/dist/components/divider/divider.d.ts +1 -1
  112. package/dist/components/divider/divider.d.ts.map +1 -1
  113. package/dist/components/divider/divider.js +16 -19
  114. package/dist/components/drawer/drawer-recipe.js +25 -5
  115. package/dist/components/drawer/drawer.composition.d.ts +5 -5
  116. package/dist/components/drawer/drawer.composition.d.ts.map +1 -1
  117. package/dist/components/drawer/drawer.d.ts +1 -1
  118. package/dist/components/drawer/drawer.d.ts.map +1 -1
  119. package/dist/components/drawer/drawer.js +38 -36
  120. package/dist/components/drawer/inline-drawer.d.ts +1 -1
  121. package/dist/components/drawer/inline-drawer.d.ts.map +1 -1
  122. package/dist/components/drawer/inline-drawer.js +62 -57
  123. package/dist/components/drawer/use-drawer-key-down.js +15 -8
  124. package/dist/components/fieldset/fieldset-error-text.d.ts +1 -1
  125. package/dist/components/fieldset/fieldset-error-text.d.ts.map +1 -1
  126. package/dist/components/fieldset/fieldset-error-text.js +13 -5
  127. package/dist/components/fieldset/fieldset-helper-text.d.ts +1 -1
  128. package/dist/components/fieldset/fieldset-helper-text.d.ts.map +1 -1
  129. package/dist/components/fieldset/fieldset-helper-text.js +13 -5
  130. package/dist/components/fieldset/fieldset-legend.d.ts +1 -1
  131. package/dist/components/fieldset/fieldset-legend.d.ts.map +1 -1
  132. package/dist/components/fieldset/fieldset-legend.js +13 -5
  133. package/dist/components/fieldset/fieldset.d.ts +1 -1
  134. package/dist/components/fieldset/fieldset.d.ts.map +1 -1
  135. package/dist/components/fieldset/fieldset.js +15 -5
  136. package/dist/components/flex/flex.composition.d.ts +2 -2
  137. package/dist/components/flex/flex.composition.d.ts.map +1 -1
  138. package/dist/components/flex/flex.d.ts +1 -1
  139. package/dist/components/flex/flex.d.ts.map +1 -1
  140. package/dist/components/flex/flex.js +13 -5
  141. package/dist/components/form-control/form-control.composition.d.ts +6 -6
  142. package/dist/components/form-control/form-control.composition.d.ts.map +1 -1
  143. package/dist/components/form-control/form-control.d.ts +1 -1
  144. package/dist/components/form-control/form-control.d.ts.map +1 -1
  145. package/dist/components/form-control/form-control.js +17 -22
  146. package/dist/components/form-control/form-error-message.d.ts +1 -1
  147. package/dist/components/form-control/form-error-message.d.ts.map +1 -1
  148. package/dist/components/form-control/form-error-message.js +13 -5
  149. package/dist/components/form-control/form-helper-text.d.ts +1 -1
  150. package/dist/components/form-control/form-helper-text.d.ts.map +1 -1
  151. package/dist/components/form-control/form-helper-text.js +13 -5
  152. package/dist/components/form-control/form-label.d.ts +1 -1
  153. package/dist/components/form-control/form-label.d.ts.map +1 -1
  154. package/dist/components/form-control/form-label.js +24 -11
  155. package/dist/components/grid/grid-item.d.ts +1 -1
  156. package/dist/components/grid/grid-item.d.ts.map +1 -1
  157. package/dist/components/grid/grid-item.js +12 -4
  158. package/dist/components/grid/grid.composition.d.ts +2 -2
  159. package/dist/components/grid/grid.composition.d.ts.map +1 -1
  160. package/dist/components/grid/grid.d.ts +1 -1
  161. package/dist/components/grid/grid.d.ts.map +1 -1
  162. package/dist/components/grid/grid.js +13 -5
  163. package/dist/components/heading/heading.composition.d.ts +3 -3
  164. package/dist/components/heading/heading.composition.d.ts.map +1 -1
  165. package/dist/components/heading/heading.d.ts +1 -1
  166. package/dist/components/heading/heading.d.ts.map +1 -1
  167. package/dist/components/heading/heading.js +21 -29
  168. package/dist/components/highlight/highlight.composition.d.ts +2 -2
  169. package/dist/components/highlight/highlight.composition.d.ts.map +1 -1
  170. package/dist/components/highlight/highlight.d.ts +1 -1
  171. package/dist/components/highlight/highlight.d.ts.map +1 -1
  172. package/dist/components/highlight/highlight.js +19 -15
  173. package/dist/components/icon/create-icon.js +24 -15
  174. package/dist/components/icon/icon.composition.d.ts +1 -1
  175. package/dist/components/icon/icon.composition.d.ts.map +1 -1
  176. package/dist/components/icon/icons/absence-icon.js +1 -4
  177. package/dist/components/icon/icons/accessibility-icon.js +1 -4
  178. package/dist/components/icon/icons/add-absence-icon.js +1 -4
  179. package/dist/components/icon/icons/add-emoji-icon.js +1 -4
  180. package/dist/components/icon/icons/add-icon.js +1 -4
  181. package/dist/components/icon/icons/apple-icon.js +1 -4
  182. package/dist/components/icon/icons/apps-icon.js +1 -4
  183. package/dist/components/icon/icons/archive-icon.js +4 -5
  184. package/dist/components/icon/icons/area-icon.js +1 -4
  185. package/dist/components/icon/icons/at-icon.js +1 -4
  186. package/dist/components/icon/icons/attachment-icon.js +1 -4
  187. package/dist/components/icon/icons/baby-icon.js +1 -4
  188. package/dist/components/icon/icons/back-icon.js +1 -4
  189. package/dist/components/icon/icons/backspace-icon.js +1 -4
  190. package/dist/components/icon/icons/bank-icon.js +1 -4
  191. package/dist/components/icon/icons/bank-id-icon.js +1 -4
  192. package/dist/components/icon/icons/barcode-icon.js +1 -4
  193. package/dist/components/icon/icons/bell-icon.js +1 -4
  194. package/dist/components/icon/icons/bolt-icon.js +4 -5
  195. package/dist/components/icon/icons/calendar-icon.js +1 -4
  196. package/dist/components/icon/icons/camera-icon.js +1 -4
  197. package/dist/components/icon/icons/cancel-icon.js +1 -4
  198. package/dist/components/icon/icons/card-icon.js +1 -4
  199. package/dist/components/icon/icons/cart-icon.js +1 -4
  200. package/dist/components/icon/icons/caspeco-icon.js +4 -5
  201. package/dist/components/icon/icons/channels-icon.js +1 -4
  202. package/dist/components/icon/icons/chart-icon.js +1 -4
  203. package/dist/components/icon/icons/chart-line-icon.js +1 -4
  204. package/dist/components/icon/icons/chart-mixed-icon.js +1 -4
  205. package/dist/components/icon/icons/chart-pie-icon.js +1 -4
  206. package/dist/components/icon/icons/chart-scatter-icon.js +1 -4
  207. package/dist/components/icon/icons/check-icon.js +1 -4
  208. package/dist/components/icon/icons/checkbox-icon.js +1 -4
  209. package/dist/components/icon/icons/chevron-left-icon.js +1 -4
  210. package/dist/components/icon/icons/chevron-right-icon.js +1 -4
  211. package/dist/components/icon/icons/child-icon.js +1 -4
  212. package/dist/components/icon/icons/circle-info-icon.js +1 -4
  213. package/dist/components/icon/icons/circle-parking-icon.js +1 -4
  214. package/dist/components/icon/icons/circle-question-icon.js +1 -4
  215. package/dist/components/icon/icons/circle-select-icon.js +1 -4
  216. package/dist/components/icon/icons/circle-success-icon.js +1 -4
  217. package/dist/components/icon/icons/circle-user-icon.js +1 -4
  218. package/dist/components/icon/icons/clear-icon.js +1 -4
  219. package/dist/components/icon/icons/close-icon.js +1 -4
  220. package/dist/components/icon/icons/closed-icon.js +1 -4
  221. package/dist/components/icon/icons/collapse-icon.js +1 -4
  222. package/dist/components/icon/icons/color-icon.js +1 -4
  223. package/dist/components/icon/icons/columns-icon.js +1 -4
  224. package/dist/components/icon/icons/comment-add-icon.js +1 -4
  225. package/dist/components/icon/icons/comment-icon.js +1 -4
  226. package/dist/components/icon/icons/cookies-icon.js +1 -4
  227. package/dist/components/icon/icons/copy-icon.js +1 -4
  228. package/dist/components/icon/icons/date-icon.js +1 -4
  229. package/dist/components/icon/icons/decrease-icon.js +1 -4
  230. package/dist/components/icon/icons/delete-icon.js +1 -4
  231. package/dist/components/icon/icons/deliverect-icon.js +1 -4
  232. package/dist/components/icon/icons/delivery-icon.js +1 -4
  233. package/dist/components/icon/icons/description-icon.js +1 -4
  234. package/dist/components/icon/icons/discount-icon.js +1 -4
  235. package/dist/components/icon/icons/distribute-evenly-icon.js +1 -4
  236. package/dist/components/icon/icons/door-closed-icon.js +1 -4
  237. package/dist/components/icon/icons/door-open-icon.js +1 -4
  238. package/dist/components/icon/icons/down-icon.js +1 -4
  239. package/dist/components/icon/icons/eat-in-icon.js +1 -4
  240. package/dist/components/icon/icons/edit-icon.js +1 -4
  241. package/dist/components/icon/icons/email-icon.js +1 -4
  242. package/dist/components/icon/icons/error-icon.js +1 -4
  243. package/dist/components/icon/icons/expand-icon.js +1 -4
  244. package/dist/components/icon/icons/export-icon.js +1 -4
  245. package/dist/components/icon/icons/extract-icon.js +1 -4
  246. package/dist/components/icon/icons/facebook-icon.js +1 -4
  247. package/dist/components/icon/icons/failed-print-icon.js +1 -4
  248. package/dist/components/icon/icons/file-icon.js +1 -4
  249. package/dist/components/icon/icons/filter-icon.js +1 -4
  250. package/dist/components/icon/icons/folder-icon.js +1 -4
  251. package/dist/components/icon/icons/foodora-icon.js +1 -4
  252. package/dist/components/icon/icons/forward-icon.js +1 -4
  253. package/dist/components/icon/icons/glovo-icon.js +4 -5
  254. package/dist/components/icon/icons/goal-icon.js +1 -4
  255. package/dist/components/icon/icons/google-icon.js +1 -4
  256. package/dist/components/icon/icons/grip-more-icon.js +1 -4
  257. package/dist/components/icon/icons/hash-icon.js +1 -4
  258. package/dist/components/icon/icons/hexagon-error-icon.js +1 -4
  259. package/dist/components/icon/icons/hide-icon.js +1 -4
  260. package/dist/components/icon/icons/history-icon.js +1 -4
  261. package/dist/components/icon/icons/icon-picker-anchor-icon.js +1 -4
  262. package/dist/components/icon/icons/icon-picker-asterisk-icon.js +1 -4
  263. package/dist/components/icon/icons/icon-picker-beer-icon.js +1 -4
  264. package/dist/components/icon/icons/icon-picker-bicycle-icon.js +1 -4
  265. package/dist/components/icon/icons/icon-picker-binoculars-icon.js +1 -4
  266. package/dist/components/icon/icons/icon-picker-bomb-icon.js +1 -4
  267. package/dist/components/icon/icons/icon-picker-car-icon.js +1 -4
  268. package/dist/components/icon/icons/icon-picker-cocktail-icon.js +1 -4
  269. package/dist/components/icon/icons/icon-picker-gem-icon.js +1 -4
  270. package/dist/components/icon/icons/icon-picker-heart-full-icon.js +1 -4
  271. package/dist/components/icon/icons/icon-picker-heart-icon.js +1 -4
  272. package/dist/components/icon/icons/icon-picker-magnet-icon.js +1 -4
  273. package/dist/components/icon/icons/icon-picker-money-icon.js +1 -4
  274. package/dist/components/icon/icons/icon-picker-moon-icon.js +1 -4
  275. package/dist/components/icon/icons/icon-picker-music-icon.js +1 -4
  276. package/dist/components/icon/icons/icon-picker-star-full-icon.js +1 -4
  277. package/dist/components/icon/icons/icon-picker-star-half-icon.js +1 -4
  278. package/dist/components/icon/icons/icon-picker-star-icon.js +1 -4
  279. package/dist/components/icon/icons/icon-picker-tint-icon.js +1 -4
  280. package/dist/components/icon/icons/icon-picker-tree-icon.js +1 -4
  281. package/dist/components/icon/icons/icon-picker-utensils-icon.js +1 -4
  282. package/dist/components/icon/icons/icon-picker-wheelchair-icon.js +1 -4
  283. package/dist/components/icon/icons/image-icon.js +1 -4
  284. package/dist/components/icon/icons/import-icon.js +1 -4
  285. package/dist/components/icon/icons/inbox-icon.js +1 -4
  286. package/dist/components/icon/icons/increase-icon.js +1 -4
  287. package/dist/components/icon/icons/indeterminate-icon.js +1 -4
  288. package/dist/components/icon/icons/info-icon.js +1 -4
  289. package/dist/components/icon/icons/inheritance-icon.js +1 -4
  290. package/dist/components/icon/icons/just-eat-icon.js +1 -4
  291. package/dist/components/icon/icons/karma-icon.js +1 -4
  292. package/dist/components/icon/icons/key-command-icon.js +1 -4
  293. package/dist/components/icon/icons/key-enter-icon.js +1 -4
  294. package/dist/components/icon/icons/key-icon.js +1 -4
  295. package/dist/components/icon/icons/key-option-icon.js +1 -4
  296. package/dist/components/icon/icons/language-icon.js +1 -4
  297. package/dist/components/icon/icons/link-broken-icon.js +1 -4
  298. package/dist/components/icon/icons/link-external-icon.js +1 -4
  299. package/dist/components/icon/icons/link-icon.js +1 -4
  300. package/dist/components/icon/icons/list-ol-icon.js +1 -4
  301. package/dist/components/icon/icons/list-ul-icon.js +1 -4
  302. package/dist/components/icon/icons/loading-icon.js +1 -4
  303. package/dist/components/icon/icons/location-icon.js +1 -4
  304. package/dist/components/icon/icons/lock-icon.js +1 -4
  305. package/dist/components/icon/icons/log-in-icon.js +1 -4
  306. package/dist/components/icon/icons/log-out-icon.js +1 -4
  307. package/dist/components/icon/icons/map-icon.js +1 -4
  308. package/dist/components/icon/icons/maximize-icon.js +1 -4
  309. package/dist/components/icon/icons/members-icon.js +1 -4
  310. package/dist/components/icon/icons/menu-hide-icon.js +1 -4
  311. package/dist/components/icon/icons/menu-icon.js +1 -4
  312. package/dist/components/icon/icons/menu-show-icon.js +1 -4
  313. package/dist/components/icon/icons/message-add-icon.js +1 -4
  314. package/dist/components/icon/icons/message-icon.js +1 -4
  315. package/dist/components/icon/icons/message-lines-icon.js +1 -4
  316. package/dist/components/icon/icons/minimize-icon.js +1 -4
  317. package/dist/components/icon/icons/minimize-window-icon.js +1 -4
  318. package/dist/components/icon/icons/mobile-rotate-icon.js +1 -4
  319. package/dist/components/icon/icons/module-accounting-icon.js +1 -4
  320. package/dist/components/icon/icons/module-ai-forecast-icon.js +1 -4
  321. package/dist/components/icon/icons/module-app-icon.js +1 -4
  322. package/dist/components/icon/icons/module-articles-icon.js +1 -4
  323. package/dist/components/icon/icons/module-benchmark-icon.js +1 -4
  324. package/dist/components/icon/icons/module-booking-icon.js +1 -4
  325. package/dist/components/icon/icons/module-cai-icon.js +1 -4
  326. package/dist/components/icon/icons/module-campaigns-icon.js +1 -4
  327. package/dist/components/icon/icons/module-cashier-icon.js +1 -4
  328. package/dist/components/icon/icons/module-communication-icon.js +1 -4
  329. package/dist/components/icon/icons/module-copilot-icon.js +1 -4
  330. package/dist/components/icon/icons/module-dashboard-icon.js +1 -4
  331. package/dist/components/icon/icons/module-document-icon.js +1 -4
  332. package/dist/components/icon/icons/module-employees-icon.js +1 -4
  333. package/dist/components/icon/icons/module-feed-icon.js +1 -4
  334. package/dist/components/icon/icons/module-history-icon.js +1 -4
  335. package/dist/components/icon/icons/module-home-icon.js +1 -4
  336. package/dist/components/icon/icons/module-insights-icon.js +1 -4
  337. package/dist/components/icon/icons/module-kds-icon.js +1 -4
  338. package/dist/components/icon/icons/module-members-icon.js +1 -4
  339. package/dist/components/icon/icons/module-menus-icon.js +1 -4
  340. package/dist/components/icon/icons/module-my-city-icon.js +1 -4
  341. package/dist/components/icon/icons/module-notification-center-icon.js +1 -4
  342. package/dist/components/icon/icons/module-online-order-icon.js +1 -4
  343. package/dist/components/icon/icons/module-organisation-icon.js +1 -4
  344. package/dist/components/icon/icons/module-pos-icon.js +1 -4
  345. package/dist/components/icon/icons/module-pulse-icon.js +1 -4
  346. package/dist/components/icon/icons/module-result-icon.js +1 -4
  347. package/dist/components/icon/icons/module-salary-icon.js +1 -4
  348. package/dist/components/icon/icons/module-schedule-icon.js +1 -4
  349. package/dist/components/icon/icons/module-settings-alt-icon.js +1 -4
  350. package/dist/components/icon/icons/module-settings-icon.js +1 -4
  351. package/dist/components/icon/icons/module-support-icon.js +1 -4
  352. package/dist/components/icon/icons/module-survey-icon.js +1 -4
  353. package/dist/components/icon/icons/module-table-map-icon.js +4 -5
  354. package/dist/components/icon/icons/module-tablet-icon.js +1 -4
  355. package/dist/components/icon/icons/module-time-icon.js +1 -4
  356. package/dist/components/icon/icons/module-timeline-icon.js +1 -4
  357. package/dist/components/icon/icons/module-tip-icon.js +1 -4
  358. package/dist/components/icon/icons/module-to-do-icon.js +1 -4
  359. package/dist/components/icon/icons/module-tools-icon.js +1 -4
  360. package/dist/components/icon/icons/module-top-list-icon.js +1 -4
  361. package/dist/components/icon/icons/module-web-charts-icon.js +1 -4
  362. package/dist/components/icon/icons/module-web-icon.js +1 -4
  363. package/dist/components/icon/icons/more-horizontal-icon.js +1 -4
  364. package/dist/components/icon/icons/more-vertical-icon.js +1 -4
  365. package/dist/components/icon/icons/nfc-icon.js +1 -4
  366. package/dist/components/icon/icons/no-cart-icon.js +1 -4
  367. package/dist/components/icon/icons/note-icon.js +1 -4
  368. package/dist/components/icon/icons/number-icon.js +4 -5
  369. package/dist/components/icon/icons/open-modal-icon.js +1 -4
  370. package/dist/components/icon/icons/parking-icon.js +1 -4
  371. package/dist/components/icon/icons/party-horn-icon.js +1 -4
  372. package/dist/components/icon/icons/pause-icon.js +1 -4
  373. package/dist/components/icon/icons/payment-card-icon.js +1 -4
  374. package/dist/components/icon/icons/payment-cash-icon.js +1 -4
  375. package/dist/components/icon/icons/payment-generic-icon.js +1 -4
  376. package/dist/components/icon/icons/payment-giftcard-icon.js +1 -4
  377. package/dist/components/icon/icons/payment-hotel-icon.js +1 -4
  378. package/dist/components/icon/icons/payment-invoice-icon.js +1 -4
  379. package/dist/components/icon/icons/percentage-icon.js +1 -4
  380. package/dist/components/icon/icons/phone-icon.js +1 -4
  381. package/dist/components/icon/icons/pin-icon.js +1 -4
  382. package/dist/components/icon/icons/pin-map-icon.js +1 -4
  383. package/dist/components/icon/icons/play-icon.js +1 -4
  384. package/dist/components/icon/icons/preview-icon.js +1 -4
  385. package/dist/components/icon/icons/print-icon.js +1 -4
  386. package/dist/components/icon/icons/privacy-icon.js +1 -4
  387. package/dist/components/icon/icons/product-admin-icon.js +1 -4
  388. package/dist/components/icon/icons/product-analytics-icon.js +1 -4
  389. package/dist/components/icon/icons/product-booking-icon.js +1 -4
  390. package/dist/components/icon/icons/product-checkout-icon.js +1 -4
  391. package/dist/components/icon/icons/product-my-pages-icon.js +1 -4
  392. package/dist/components/icon/icons/product-staff-icon.js +1 -4
  393. package/dist/components/icon/icons/puck-icon.js +1 -4
  394. package/dist/components/icon/icons/qr-code-icon.js +1 -4
  395. package/dist/components/icon/icons/question-icon.js +1 -4
  396. package/dist/components/icon/icons/radio-icon.js +1 -4
  397. package/dist/components/icon/icons/receipt-icon.js +1 -4
  398. package/dist/components/icon/icons/redo-icon.js +1 -4
  399. package/dist/components/icon/icons/refund-icon.js +1 -4
  400. package/dist/components/icon/icons/remove-icon.js +1 -4
  401. package/dist/components/icon/icons/replace-icon.js +1 -4
  402. package/dist/components/icon/icons/schedule-icon.js +1 -4
  403. package/dist/components/icon/icons/search-icon.js +1 -4
  404. package/dist/components/icon/icons/select-icon.js +1 -4
  405. package/dist/components/icon/icons/send-icon.js +1 -4
  406. package/dist/components/icon/icons/share-icon.js +1 -4
  407. package/dist/components/icon/icons/show-icon.js +1 -4
  408. package/dist/components/icon/icons/shuffle-icon.js +1 -4
  409. package/dist/components/icon/icons/sidebar-hide-icon.js +1 -4
  410. package/dist/components/icon/icons/sidebar-left-icon.js +1 -4
  411. package/dist/components/icon/icons/sidebar-right-icon.js +1 -4
  412. package/dist/components/icon/icons/sidebar-show-icon.js +1 -4
  413. package/dist/components/icon/icons/sliders-icon.js +1 -4
  414. package/dist/components/icon/icons/slightly-sad-icon.js +1 -4
  415. package/dist/components/icon/icons/smile-icon.js +1 -4
  416. package/dist/components/icon/icons/sort-asc-icon.js +1 -4
  417. package/dist/components/icon/icons/sort-desc-icon.js +1 -4
  418. package/dist/components/icon/icons/split-icon.js +1 -4
  419. package/dist/components/icon/icons/status-icon.js +1 -4
  420. package/dist/components/icon/icons/stop-icon.js +1 -4
  421. package/dist/components/icon/icons/submenu-icon.js +1 -4
  422. package/dist/components/icon/icons/success-icon.js +1 -4
  423. package/dist/components/icon/icons/swap-icon.js +1 -4
  424. package/dist/components/icon/icons/swatch-icon.js +1 -4
  425. package/dist/components/icon/icons/sweat-icon.js +1 -4
  426. package/dist/components/icon/icons/table-icon.js +1 -4
  427. package/dist/components/icon/icons/table-map-icon.js +1 -4
  428. package/dist/components/icon/icons/take-away-dot-com-icon.js +1 -4
  429. package/dist/components/icon/icons/take-away-icon.js +1 -4
  430. package/dist/components/icon/icons/talk-icon.js +1 -4
  431. package/dist/components/icon/icons/thumbtack-icon.js +1 -4
  432. package/dist/components/icon/icons/time-icon.js +1 -4
  433. package/dist/components/icon/icons/timeline-icon.js +1 -4
  434. package/dist/components/icon/icons/tip-icon.js +1 -4
  435. package/dist/components/icon/icons/title-icon.js +1 -4
  436. package/dist/components/icon/icons/translate-icon.js +1 -4
  437. package/dist/components/icon/icons/tree-view-collapse-icon.js +1 -4
  438. package/dist/components/icon/icons/tree-view-expand-icon.js +1 -4
  439. package/dist/components/icon/icons/tree-view-last-icon.js +1 -4
  440. package/dist/components/icon/icons/trend-down-icon.js +1 -4
  441. package/dist/components/icon/icons/trend-up-icon.js +1 -4
  442. package/dist/components/icon/icons/triangle-warning-icon.js +1 -4
  443. package/dist/components/icon/icons/trivec-icon.js +4 -5
  444. package/dist/components/icon/icons/uber-eats-icon.js +1 -4
  445. package/dist/components/icon/icons/undo-icon.js +1 -4
  446. package/dist/components/icon/icons/unlock-icon.js +1 -4
  447. package/dist/components/icon/icons/unwrap-content-icon.js +1 -4
  448. package/dist/components/icon/icons/up-icon.js +1 -4
  449. package/dist/components/icon/icons/user-group-icon.js +1 -4
  450. package/dist/components/icon/icons/user-icon.js +1 -4
  451. package/dist/components/icon/icons/user-permissions-icon.js +1 -4
  452. package/dist/components/icon/icons/user-wait-icon.js +1 -4
  453. package/dist/components/icon/icons/users-icon.js +1 -4
  454. package/dist/components/icon/icons/version-control-icon.js +1 -4
  455. package/dist/components/icon/icons/volume-high-icon.js +1 -4
  456. package/dist/components/icon/icons/volume-icon.js +1 -4
  457. package/dist/components/icon/icons/volume-low-icon.js +1 -4
  458. package/dist/components/icon/icons/volume-off-icon.js +1 -4
  459. package/dist/components/icon/icons/warning-icon.js +1 -4
  460. package/dist/components/icon/icons/waste-icon.js +1 -4
  461. package/dist/components/icon/icons/wifi-icon.js +1 -4
  462. package/dist/components/icon/icons/wifi-off-icon.js +1 -4
  463. package/dist/components/icon/icons/wolt-icon.js +1 -4
  464. package/dist/components/icon/icons/wrap-content-icon.js +1 -4
  465. package/dist/components/icon-button/icon-button.composition.d.ts +4 -4
  466. package/dist/components/icon-button/icon-button.composition.d.ts.map +1 -1
  467. package/dist/components/icon-button/icon-button.js +38 -32
  468. package/dist/components/image/image.composition.d.ts +1 -1
  469. package/dist/components/image/image.composition.d.ts.map +1 -1
  470. package/dist/components/image/image.d.ts +1 -1
  471. package/dist/components/image/image.d.ts.map +1 -1
  472. package/dist/components/image/image.js +12 -5
  473. package/dist/components/image-upload/image-cropper.d.ts +2 -1
  474. package/dist/components/image-upload/image-cropper.d.ts.map +1 -1
  475. package/dist/components/image-upload/image-cropper.helper.d.ts +1 -1
  476. package/dist/components/image-upload/image-cropper.helper.d.ts.map +1 -1
  477. package/dist/components/image-upload/image-cropper.helper.js +38 -40
  478. package/dist/components/image-upload/image-cropper.js +63 -73
  479. package/dist/components/image-upload/image-upload-dropzone.d.ts +2 -1
  480. package/dist/components/image-upload/image-upload-dropzone.d.ts.map +1 -1
  481. package/dist/components/image-upload/image-upload-dropzone.js +102 -72
  482. package/dist/components/image-upload/image-upload-icons.d.ts +5 -5
  483. package/dist/components/image-upload/image-upload-icons.d.ts.map +1 -1
  484. package/dist/components/image-upload/image-upload-icons.js +19 -26
  485. package/dist/components/image-upload/image-upload-modal.d.ts +1 -1
  486. package/dist/components/image-upload/image-upload-modal.d.ts.map +1 -1
  487. package/dist/components/image-upload/image-upload-modal.js +54 -95
  488. package/dist/components/image-upload/image-upload.composition.d.ts +3 -3
  489. package/dist/components/image-upload/image-upload.composition.d.ts.map +1 -1
  490. package/dist/components/image-upload/image-upload.d.ts +1 -1
  491. package/dist/components/image-upload/image-upload.d.ts.map +1 -1
  492. package/dist/components/image-upload/image-upload.js +69 -78
  493. package/dist/components/input/input.composition.d.ts +9 -9
  494. package/dist/components/input/input.composition.d.ts.map +1 -1
  495. package/dist/components/input/input.d.ts +1 -1
  496. package/dist/components/input/input.js +54 -58
  497. package/dist/components/input/types.d.ts +5 -4
  498. package/dist/components/input/types.d.ts.map +1 -1
  499. package/dist/components/link/link.composition.d.ts +2 -2
  500. package/dist/components/link/link.composition.d.ts.map +1 -1
  501. package/dist/components/link/link.d.ts +1 -1
  502. package/dist/components/link/link.d.ts.map +1 -1
  503. package/dist/components/link/link.js +11 -3
  504. package/dist/components/list/list-item.d.ts +1 -1
  505. package/dist/components/list/list-item.d.ts.map +1 -1
  506. package/dist/components/list/list-item.js +13 -5
  507. package/dist/components/list/list.composition.d.ts +1 -1
  508. package/dist/components/list/list.composition.d.ts.map +1 -1
  509. package/dist/components/list/list.d.ts +1 -1
  510. package/dist/components/list/list.d.ts.map +1 -1
  511. package/dist/components/list/list.js +17 -11
  512. package/dist/components/menu/menu-box-button.js +16 -8
  513. package/dist/components/menu/menu-button.d.ts +1 -1
  514. package/dist/components/menu/menu-button.d.ts.map +1 -1
  515. package/dist/components/menu/menu-button.js +15 -5
  516. package/dist/components/menu/menu-divider.d.ts +2 -1
  517. package/dist/components/menu/menu-divider.d.ts.map +1 -1
  518. package/dist/components/menu/menu-divider.js +21 -12
  519. package/dist/components/menu/menu-group.d.ts +3 -2
  520. package/dist/components/menu/menu-group.d.ts.map +1 -1
  521. package/dist/components/menu/menu-group.js +131 -129
  522. package/dist/components/menu/menu-icon-button.d.ts +1 -1
  523. package/dist/components/menu/menu-icon-button.d.ts.map +1 -1
  524. package/dist/components/menu/menu-icon-button.js +10 -5
  525. package/dist/components/menu/menu-item.d.ts +1 -1
  526. package/dist/components/menu/menu-item.d.ts.map +1 -1
  527. package/dist/components/menu/menu-item.js +43 -32
  528. package/dist/components/menu/menu-list.d.ts +1 -1
  529. package/dist/components/menu/menu-list.d.ts.map +1 -1
  530. package/dist/components/menu/menu-list.js +14 -4
  531. package/dist/components/menu/menu-recipe.js +6 -2
  532. package/dist/components/menu/menu.composition.d.ts +10 -10
  533. package/dist/components/menu/menu.composition.d.ts.map +1 -1
  534. package/dist/components/menu/menu.js +36 -19
  535. package/dist/components/message/message.composition.d.ts +1 -1
  536. package/dist/components/message/message.composition.d.ts.map +1 -1
  537. package/dist/components/message/message.d.ts +1 -1
  538. package/dist/components/message/message.d.ts.map +1 -1
  539. package/dist/components/message/message.js +36 -58
  540. package/dist/components/modal/modal-body.d.ts +1 -1
  541. package/dist/components/modal/modal-body.d.ts.map +1 -1
  542. package/dist/components/modal/modal-body.js +15 -7
  543. package/dist/components/modal/modal-close-button.d.ts +1 -1
  544. package/dist/components/modal/modal-close-button.d.ts.map +1 -1
  545. package/dist/components/modal/modal-close-button.js +16 -16
  546. package/dist/components/modal/modal-footer.d.ts +1 -1
  547. package/dist/components/modal/modal-footer.d.ts.map +1 -1
  548. package/dist/components/modal/modal-footer.js +29 -18
  549. package/dist/components/modal/modal-header.d.ts +1 -1
  550. package/dist/components/modal/modal-header.d.ts.map +1 -1
  551. package/dist/components/modal/modal-header.js +15 -5
  552. package/dist/components/modal/modal.composition.d.ts +11 -11
  553. package/dist/components/modal/modal.composition.d.ts.map +1 -1
  554. package/dist/components/modal/modal.d.ts +1 -1
  555. package/dist/components/modal/modal.d.ts.map +1 -1
  556. package/dist/components/modal/modal.js +53 -43
  557. package/dist/components/navigation-list/navigation-list-item.d.ts +2 -2
  558. package/dist/components/navigation-list/navigation-list-item.d.ts.map +1 -1
  559. package/dist/components/navigation-list/navigation-list-item.js +54 -67
  560. package/dist/components/navigation-list/navigation-list.composition.d.ts +6 -5
  561. package/dist/components/navigation-list/navigation-list.composition.d.ts.map +1 -1
  562. package/dist/components/navigation-list/navigation-list.d.ts +1 -1
  563. package/dist/components/navigation-list/navigation-list.d.ts.map +1 -1
  564. package/dist/components/navigation-list/navigation-list.js +15 -5
  565. package/dist/components/paginator/paginator.composition.d.ts +2 -2
  566. package/dist/components/paginator/paginator.composition.d.ts.map +1 -1
  567. package/dist/components/paginator/paginator.d.ts +1 -1
  568. package/dist/components/paginator/paginator.d.ts.map +1 -1
  569. package/dist/components/paginator/paginator.js +67 -51
  570. package/dist/components/quantity-button/minus-button.d.ts +1 -1
  571. package/dist/components/quantity-button/minus-button.d.ts.map +1 -1
  572. package/dist/components/quantity-button/minus-button.js +14 -16
  573. package/dist/components/quantity-button/plus-button.d.ts +1 -1
  574. package/dist/components/quantity-button/plus-button.d.ts.map +1 -1
  575. package/dist/components/quantity-button/plus-button.js +14 -16
  576. package/dist/components/quantity-button/quantity-button.composition.d.ts +3 -3
  577. package/dist/components/quantity-button/quantity-button.composition.d.ts.map +1 -1
  578. package/dist/components/quantity-button/quantity-button.d.ts +1 -1
  579. package/dist/components/quantity-button/quantity-button.d.ts.map +1 -1
  580. package/dist/components/quantity-button/quantity-button.js +38 -74
  581. package/dist/components/radio/check-icon.js +1 -6
  582. package/dist/components/radio/radio-group-context.js +2 -2
  583. package/dist/components/radio/radio-group.composition.d.ts +5 -5
  584. package/dist/components/radio/radio-group.composition.d.ts.map +1 -1
  585. package/dist/components/radio/radio-group.d.ts +1 -1
  586. package/dist/components/radio/radio-group.d.ts.map +1 -1
  587. package/dist/components/radio/radio-group.js +26 -33
  588. package/dist/components/radio/radio.composition.d.ts +2 -2
  589. package/dist/components/radio/radio.composition.d.ts.map +1 -1
  590. package/dist/components/radio/radio.js +53 -49
  591. package/dist/components/radio-card/radio-card-group.d.ts +1 -1
  592. package/dist/components/radio-card/radio-card-group.d.ts.map +1 -1
  593. package/dist/components/radio-card/radio-card-group.js +23 -31
  594. package/dist/components/radio-card/radio-card.composition.d.ts +4 -4
  595. package/dist/components/radio-card/radio-card.composition.d.ts.map +1 -1
  596. package/dist/components/radio-card/radio-card.js +64 -81
  597. package/dist/components/rich-text-editor/boolean-control.d.ts +1 -1
  598. package/dist/components/rich-text-editor/boolean-control.d.ts.map +1 -1
  599. package/dist/components/rich-text-editor/boolean-control.js +50 -30
  600. package/dist/components/rich-text-editor/extensions.js +15 -17
  601. package/dist/components/rich-text-editor/rich-text-editor-control.d.ts +10 -10
  602. package/dist/components/rich-text-editor/rich-text-editor-control.d.ts.map +1 -1
  603. package/dist/components/rich-text-editor/rich-text-editor-control.js +273 -166
  604. package/dist/components/rich-text-editor/rich-text-editor-recipe.js +36 -10
  605. package/dist/components/rich-text-editor/rich-text-editor.composition.d.ts +4 -4
  606. package/dist/components/rich-text-editor/rich-text-editor.composition.d.ts.map +1 -1
  607. package/dist/components/rich-text-editor/rich-text-editor.d.ts +4 -4
  608. package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
  609. package/dist/components/rich-text-editor/rich-text-editor.js +68 -54
  610. package/dist/components/rich-text-editor/rich-text-renderer.d.ts +1 -1
  611. package/dist/components/rich-text-editor/rich-text-renderer.d.ts.map +1 -1
  612. package/dist/components/rich-text-editor/rich-text-renderer.js +30 -17
  613. package/dist/components/rich-text-editor/use-rich-text-editor.js +27 -14
  614. package/dist/components/segmented-control/segmented-control-item.d.ts +1 -1
  615. package/dist/components/segmented-control/segmented-control-item.d.ts.map +1 -1
  616. package/dist/components/segmented-control/segmented-control-item.js +23 -25
  617. package/dist/components/segmented-control/segmented-control.composition.d.ts +5 -5
  618. package/dist/components/segmented-control/segmented-control.composition.d.ts.map +1 -1
  619. package/dist/components/segmented-control/segmented-control.d.ts +1 -1
  620. package/dist/components/segmented-control/segmented-control.d.ts.map +1 -1
  621. package/dist/components/segmented-control/segmented-control.js +38 -38
  622. package/dist/components/segmented-control/types.d.ts +2 -1
  623. package/dist/components/segmented-control/types.d.ts.map +1 -1
  624. package/dist/components/select/select.composition.d.ts +3 -3
  625. package/dist/components/select/select.composition.d.ts.map +1 -1
  626. package/dist/components/select/select.js +27 -12
  627. package/dist/components/skeleton/skeleton-text.d.ts +1 -1
  628. package/dist/components/skeleton/skeleton-text.d.ts.map +1 -1
  629. package/dist/components/skeleton/skeleton-text.js +17 -12
  630. package/dist/components/skeleton/skeleton.composition.d.ts +2 -2
  631. package/dist/components/skeleton/skeleton.composition.d.ts.map +1 -1
  632. package/dist/components/skeleton/skeleton.d.ts +1 -1
  633. package/dist/components/skeleton/skeleton.d.ts.map +1 -1
  634. package/dist/components/skeleton/skeleton.js +18 -13
  635. package/dist/components/spinner/spinner.composition.d.ts +2 -2
  636. package/dist/components/spinner/spinner.composition.d.ts.map +1 -1
  637. package/dist/components/spinner/spinner.d.ts +1 -1
  638. package/dist/components/spinner/spinner.d.ts.map +1 -1
  639. package/dist/components/spinner/spinner.js +26 -49
  640. package/dist/components/stack/stack.composition.d.ts +3 -3
  641. package/dist/components/stack/stack.composition.d.ts.map +1 -1
  642. package/dist/components/stack/stack.js +17 -7
  643. package/dist/components/stepper/check-icon.js +1 -6
  644. package/dist/components/stepper/step-context.d.ts +2 -1
  645. package/dist/components/stepper/step-context.d.ts.map +1 -1
  646. package/dist/components/stepper/step.d.ts +1 -1
  647. package/dist/components/stepper/step.d.ts.map +1 -1
  648. package/dist/components/stepper/step.js +89 -69
  649. package/dist/components/stepper/stepper.composition.d.ts +6 -6
  650. package/dist/components/stepper/stepper.composition.d.ts.map +1 -1
  651. package/dist/components/stepper/stepper.d.ts +1 -1
  652. package/dist/components/stepper/stepper.d.ts.map +1 -1
  653. package/dist/components/stepper/stepper.js +41 -21
  654. package/dist/components/stepper/times-icon.js +1 -6
  655. package/dist/components/stepper/types.d.ts +2 -1
  656. package/dist/components/stepper/types.d.ts.map +1 -1
  657. package/dist/components/switch/switch.composition.d.ts +2 -2
  658. package/dist/components/switch/switch.composition.d.ts.map +1 -1
  659. package/dist/components/switch/switch.js +29 -33
  660. package/dist/components/table/table-cell.d.ts +1 -1
  661. package/dist/components/table/table-cell.d.ts.map +1 -1
  662. package/dist/components/table/table-cell.js +67 -92
  663. package/dist/components/table/table-content.d.ts +1 -1
  664. package/dist/components/table/table-content.d.ts.map +1 -1
  665. package/dist/components/table/table-content.js +26 -76
  666. package/dist/components/table/table-context-provider.d.ts +1 -1
  667. package/dist/components/table/table-context-provider.d.ts.map +1 -1
  668. package/dist/components/table/table-context-provider.js +28 -49
  669. package/dist/components/table/table-context.d.ts.map +1 -1
  670. package/dist/components/table/table-filter.d.ts +1 -1
  671. package/dist/components/table/table-filter.d.ts.map +1 -1
  672. package/dist/components/table/table-filter.js +68 -96
  673. package/dist/components/table/table-header-dropdown.d.ts +1 -1
  674. package/dist/components/table/table-header-dropdown.d.ts.map +1 -1
  675. package/dist/components/table/table-header-dropdown.js +65 -113
  676. package/dist/components/table/table-header-row.d.ts +1 -1
  677. package/dist/components/table/table-header-row.d.ts.map +1 -1
  678. package/dist/components/table/table-header-row.js +53 -106
  679. package/dist/components/table/table-recipe.js +6 -2
  680. package/dist/components/table/table-row-expand-toggle-button.d.ts +1 -1
  681. package/dist/components/table/table-row-expand-toggle-button.d.ts.map +1 -1
  682. package/dist/components/table/table-row-expand-toggle-button.js +26 -23
  683. package/dist/components/table/table-row.d.ts +1 -1
  684. package/dist/components/table/table-row.d.ts.map +1 -1
  685. package/dist/components/table/table-row.js +8 -26
  686. package/dist/components/table/table-toolbar-actions.d.ts +1 -1
  687. package/dist/components/table/table-toolbar-actions.d.ts.map +1 -1
  688. package/dist/components/table/table-toolbar-actions.js +4 -10
  689. package/dist/components/table/table-toolbar-add-button.d.ts +1 -1
  690. package/dist/components/table/table-toolbar-add-button.d.ts.map +1 -1
  691. package/dist/components/table/table-toolbar-search.d.ts +1 -1
  692. package/dist/components/table/table-toolbar-search.d.ts.map +1 -1
  693. package/dist/components/table/table-toolbar-search.js +6 -11
  694. package/dist/components/table/table-toolbar-settings.d.ts +1 -1
  695. package/dist/components/table/table-toolbar-settings.d.ts.map +1 -1
  696. package/dist/components/table/table-toolbar-settings.js +75 -144
  697. package/dist/components/table/table-toolbar.d.ts +1 -1
  698. package/dist/components/table/table-toolbar.d.ts.map +1 -1
  699. package/dist/components/table/table-toolbar.js +28 -34
  700. package/dist/components/table/table.composition.d.ts +5 -4
  701. package/dist/components/table/table.composition.d.ts.map +1 -1
  702. package/dist/components/table/table.d.ts +1 -1
  703. package/dist/components/table/table.d.ts.map +1 -1
  704. package/dist/components/table/table.js +1 -34
  705. package/dist/components/tabs/tab-list.d.ts +1 -1
  706. package/dist/components/tabs/tab-list.d.ts.map +1 -1
  707. package/dist/components/tabs/tab-list.js +15 -5
  708. package/dist/components/tabs/tab-panel.d.ts +1 -1
  709. package/dist/components/tabs/tab-panel.d.ts.map +1 -1
  710. package/dist/components/tabs/tab-panel.js +13 -5
  711. package/dist/components/tabs/tab-panels.d.ts +1 -1
  712. package/dist/components/tabs/tab-panels.d.ts.map +1 -1
  713. package/dist/components/tabs/tab-panels.js +12 -4
  714. package/dist/components/tabs/tab-with-image.d.ts +1 -1
  715. package/dist/components/tabs/tab-with-image.d.ts.map +1 -1
  716. package/dist/components/tabs/tab-with-image.js +51 -32
  717. package/dist/components/tabs/tab.d.ts +1 -1
  718. package/dist/components/tabs/tab.d.ts.map +1 -1
  719. package/dist/components/tabs/tab.js +21 -16
  720. package/dist/components/tabs/tabs-recipe.js +3 -1
  721. package/dist/components/tabs/tabs.composition.d.ts +6 -6
  722. package/dist/components/tabs/tabs.composition.d.ts.map +1 -1
  723. package/dist/components/tabs/tabs.d.ts +1 -1
  724. package/dist/components/tabs/tabs.d.ts.map +1 -1
  725. package/dist/components/tabs/tabs.js +22 -16
  726. package/dist/components/tag/tag-recipe.js +6 -1
  727. package/dist/components/tag/tag.composition.d.ts +4 -4
  728. package/dist/components/tag/tag.composition.d.ts.map +1 -1
  729. package/dist/components/tag/tag.d.ts +20 -20
  730. package/dist/components/tag/tag.d.ts.map +1 -1
  731. package/dist/components/tag/tag.js +41 -35
  732. package/dist/components/tag/types.d.ts +3 -2
  733. package/dist/components/tag/types.d.ts.map +1 -1
  734. package/dist/components/text/text.composition.d.ts +4 -4
  735. package/dist/components/text/text.composition.d.ts.map +1 -1
  736. package/dist/components/text/text.d.ts +1 -1
  737. package/dist/components/text/text.d.ts.map +1 -1
  738. package/dist/components/text/text.js +25 -35
  739. package/dist/components/textarea/textarea.composition.d.ts +3 -3
  740. package/dist/components/textarea/textarea.composition.d.ts.map +1 -1
  741. package/dist/components/textarea/textarea.js +16 -16
  742. package/dist/components/toaster/toast-store.d.ts +2 -1
  743. package/dist/components/toaster/toast-store.d.ts.map +1 -1
  744. package/dist/components/toaster/toast-store.js +19 -12
  745. package/dist/components/toaster/toaster.composition.d.ts +6 -6
  746. package/dist/components/toaster/toaster.composition.d.ts.map +1 -1
  747. package/dist/components/toaster/toaster.d.ts +1 -1
  748. package/dist/components/toaster/toaster.d.ts.map +1 -1
  749. package/dist/components/toaster/toaster.js +33 -18
  750. package/dist/components/toggle-button/toggle-button.composition.d.ts +2 -2
  751. package/dist/components/toggle-button/toggle-button.composition.d.ts.map +1 -1
  752. package/dist/components/toggle-button/toggle-button.d.ts +1 -1
  753. package/dist/components/toggle-button/toggle-button.d.ts.map +1 -1
  754. package/dist/components/toggle-button/toggle-button.js +23 -17
  755. package/dist/components/toggle-button/use-button-children.js +33 -24
  756. package/dist/components/tooltip/tooltip.composition.d.ts +4 -4
  757. package/dist/components/tooltip/tooltip.composition.d.ts.map +1 -1
  758. package/dist/components/tooltip/tooltip.d.ts +1 -1
  759. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  760. package/dist/components/tooltip/tooltip.js +44 -32
  761. package/dist/hooks/use-color-mode.js +20 -11
  762. package/dist/hooks/use-disclosure.js +8 -2
  763. package/dist/hooks/use-remove-attributes.js +20 -12
  764. package/dist/index.js +664 -662
  765. package/dist/node_modules/@tiptap/core/dist/index.js +541 -525
  766. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +1464 -27
  767. package/dist/node_modules/@tiptap/extension-code/dist/index.js +26 -9
  768. package/dist/node_modules/@tiptap/extension-list/dist/index.js +314 -250
  769. package/dist/node_modules/@tiptap/extensions/dist/index.js +205 -182
  770. package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +21 -0
  771. package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +14 -0
  772. package/dist/node_modules/react/compiler-runtime.js +10 -0
  773. package/dist/theme/theme-provider-context.composition.d.ts +9 -9
  774. package/dist/theme/theme-provider-context.composition.d.ts.map +1 -1
  775. package/dist/theme/theme-provider.d.ts +1 -1
  776. package/dist/theme/theme-provider.d.ts.map +1 -1
  777. package/dist/theme/theme-provider.js +32 -28
  778. package/dist/theme/theme.js +6 -2
  779. package/package.json +15 -14
@@ -1,35 +1,46 @@
1
- import { jsx as e, jsxs as m } from "react/jsx-runtime";
2
- import { Menu as r } from "@chakra-ui/react";
3
- import { setMenuItemElementType as h } from "./helper.js";
4
- import { Flex as S } from "../flex/flex.js";
5
- import { ThemeIconSizeVariable as i, ThemeSpaceVariable as C, ThemeColorVariable as x } from "../../theme/theme-types.js";
6
- const V = ({
7
- children: l,
8
- onClick: s,
9
- as: a,
10
- isDisabled: c = !1,
11
- itemType: p = "button",
12
- command: t,
13
- leftIcon: u,
14
- rightIcon: f,
15
- ...d
16
- }) => {
17
- const I = a ?? h(p), n = u, o = f, b = n && /* @__PURE__ */ e(n, { size: i.Medium });
18
- return /* @__PURE__ */ m(r.Item, { as: I, className: "menu-item", disabled: c, onClick: s, ...d, children: [
19
- b,
20
- /* @__PURE__ */ m(S, { justifyContent: "space-between", alignItems: "center", gap: C.XSmall, w: "100%", children: [
21
- l,
22
- o && /* @__PURE__ */ e(
23
- o,
24
- {
25
- color: x.OnSurfaceSubdued,
26
- size: i.Small
27
- }
28
- ),
29
- t && /* @__PURE__ */ e(r.ItemCommand, { children: t })
30
- ] })
31
- ] });
1
+ import { jsx as y, jsxs as M } from "react/jsx-runtime";
2
+ import { c as V } from "../../_virtual/compiler-runtime.js";
3
+ import { Menu as j } from "@chakra-ui/react";
4
+ import { setMenuItemElementType as v } from "./helper.js";
5
+ import { Flex as w } from "../flex/flex.js";
6
+ import { ThemeIconSizeVariable as z, ThemeColorVariable as D, ThemeSpaceVariable as E } from "../../theme/theme-types.js";
7
+ const X = (C) => {
8
+ const e = V.c(30);
9
+ let l, o, t, f, i, n, p, c, a;
10
+ e[0] !== C ? ({
11
+ children: o,
12
+ onClick: i,
13
+ as: l,
14
+ isDisabled: c,
15
+ itemType: a,
16
+ command: t,
17
+ leftIcon: f,
18
+ rightIcon: p,
19
+ ...n
20
+ } = C, e[0] = C, e[1] = l, e[2] = o, e[3] = t, e[4] = f, e[5] = i, e[6] = n, e[7] = p, e[8] = c, e[9] = a) : (l = e[1], o = e[2], t = e[3], f = e[4], i = e[5], n = e[6], p = e[7], c = e[8], a = e[9]);
21
+ const S = c === void 0 ? !1 : c, T = a === void 0 ? "button" : a;
22
+ let d;
23
+ e[10] !== l || e[11] !== T ? (d = l ?? v(T), e[10] = l, e[11] = T, e[12] = d) : d = e[12];
24
+ const x = d, u = f, I = p;
25
+ let b;
26
+ e[13] !== u ? (b = u && /* @__PURE__ */ y(u, { size: z.Medium }), e[13] = u, e[14] = b) : b = e[14];
27
+ const g = b;
28
+ let m;
29
+ e[15] !== I ? (m = I && /* @__PURE__ */ y(I, { color: D.OnSurfaceSubdued, size: z.Small }), e[15] = I, e[16] = m) : m = e[16];
30
+ let s;
31
+ e[17] !== t ? (s = t && /* @__PURE__ */ y(j.ItemCommand, { children: t }), e[17] = t, e[18] = s) : s = e[18];
32
+ let r;
33
+ e[19] !== o || e[20] !== m || e[21] !== s ? (r = /* @__PURE__ */ M(w, { justifyContent: "space-between", alignItems: "center", gap: E.XSmall, w: "100%", children: [
34
+ o,
35
+ m,
36
+ s
37
+ ] }), e[19] = o, e[20] = m, e[21] = s, e[22] = r) : r = e[22];
38
+ let h;
39
+ return e[23] !== x || e[24] !== S || e[25] !== i || e[26] !== n || e[27] !== g || e[28] !== r ? (h = /* @__PURE__ */ M(j.Item, { as: x, className: "menu-item", disabled: S, onClick: i, ...n, children: [
40
+ g,
41
+ r
42
+ ] }), e[23] = x, e[24] = S, e[25] = i, e[26] = n, e[27] = g, e[28] = r, e[29] = h) : h = e[29], h;
32
43
  };
33
44
  export {
34
- V as MenuItem
45
+ X as MenuItem
35
46
  };
@@ -1,5 +1,5 @@
1
1
  import { ThemeStyleProps } from '../../theme/index.js';
2
2
  import { Menu as ChakraMenu } from '@chakra-ui/react';
3
3
  export type MenuListProps = ThemeStyleProps & Pick<ChakraMenu.ContentProps, "children">;
4
- export declare const MenuList: ({ children, ...props }: MenuListProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const MenuList: ({ children, ...props }: MenuListProps) => import("react").JSX.Element;
5
5
  //# sourceMappingURL=menu-list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"menu-list.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,IAAI,IAAI,UAAU,EAAU,MAAM,kBAAkB,CAAC;AAE9D,MAAM,MAAM,aAAa,GAAG,eAAe,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;AAExF,eAAO,MAAM,QAAQ,GAAI,wBAAwB,aAAa,4CAQ7D,CAAC"}
1
+ {"version":3,"file":"menu-list.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,IAAI,IAAI,UAAU,EAAU,MAAM,kBAAkB,CAAC;AAE9D,MAAM,MAAM,aAAa,GAAG,eAAe,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;AAExF,eAAO,MAAM,QAAQ,GAAI,wBAAwB,aAAa,gCAQ7D,CAAC"}
@@ -1,6 +1,16 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { Portal as e, Menu as o } from "@chakra-ui/react";
3
- const s = ({ children: t, ...n }) => /* @__PURE__ */ r(e, { children: /* @__PURE__ */ r(o.Positioner, { children: /* @__PURE__ */ r(o.Content, { ...n, children: t }) }) });
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { c as s } from "../../_virtual/compiler-runtime.js";
3
+ import { Portal as c, Menu as l } from "@chakra-ui/react";
4
+ const u = (i) => {
5
+ const e = s.c(6);
6
+ let r, o;
7
+ e[0] !== i ? ({
8
+ children: r,
9
+ ...o
10
+ } = i, e[0] = i, e[1] = r, e[2] = o) : (r = e[1], o = e[2]);
11
+ let t;
12
+ return e[3] !== r || e[4] !== o ? (t = /* @__PURE__ */ n(c, { children: /* @__PURE__ */ n(l.Positioner, { children: /* @__PURE__ */ n(l.Content, { ...o, children: r }) }) }), e[3] = r, e[4] = o, e[5] = t) : t = e[5], t;
13
+ };
4
14
  export {
5
- s as MenuList
15
+ u as MenuList
6
16
  };
@@ -38,8 +38,12 @@ const n = {
38
38
  borderRadius: e.Small,
39
39
  // We don't use focus inside menus, it is handled by highlight state by Chakra.
40
40
  "& *": {
41
- _focus: { outline: "none !important" },
42
- _focusVisible: { outline: "none !important" }
41
+ _focus: {
42
+ outline: "none !important"
43
+ },
44
+ _focusVisible: {
45
+ outline: "none !important"
46
+ }
43
47
  }
44
48
  }, m = {
45
49
  opacity: 1,
@@ -1,11 +1,11 @@
1
- export declare const BasicMenu: () => import("react/jsx-runtime").JSX.Element;
2
- export declare const NestedMenu: () => import("react/jsx-runtime").JSX.Element;
3
- export declare const CustomTriggerButton: () => import("react/jsx-runtime").JSX.Element;
4
- export declare const Dividers: () => import("react/jsx-runtime").JSX.Element;
5
- export declare const LeftAndRightIcons: () => import("react/jsx-runtime").JSX.Element;
6
- export declare const Commands: () => import("react/jsx-runtime").JSX.Element;
7
- export declare const RadioItems: () => import("react/jsx-runtime").JSX.Element;
8
- export declare const CheckboxItems: () => import("react/jsx-runtime").JSX.Element;
9
- export declare const SwitchItems: () => import("react/jsx-runtime").JSX.Element;
10
- export declare const LinkItems: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const BasicMenu: () => import("react").JSX.Element;
2
+ export declare const NestedMenu: () => import("react").JSX.Element;
3
+ export declare const CustomTriggerButton: () => import("react").JSX.Element;
4
+ export declare const Dividers: () => import("react").JSX.Element;
5
+ export declare const LeftAndRightIcons: () => import("react").JSX.Element;
6
+ export declare const Commands: () => import("react").JSX.Element;
7
+ export declare const RadioItems: () => import("react").JSX.Element;
8
+ export declare const CheckboxItems: () => import("react").JSX.Element;
9
+ export declare const SwitchItems: () => import("react").JSX.Element;
10
+ export declare const LinkItems: () => import("react").JSX.Element;
11
11
  //# sourceMappingURL=menu.composition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"menu.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu.composition.tsx"],"names":[],"mappings":"AAiCA,eAAO,MAAM,SAAS,+CAgBrB,CAAC;AAQF,eAAO,MAAM,UAAU,+CAoEtB,CAAC;AAEF,eAAO,MAAM,mBAAmB,+CAoB/B,CAAC;AAEF,eAAO,MAAM,QAAQ,+CAqBpB,CAAC;AAEF,eAAO,MAAM,iBAAiB,+CAgB7B,CAAC;AAEF,eAAO,MAAM,QAAQ,+CAmBpB,CAAC;AAEF,eAAO,MAAM,UAAU,+CAyBtB,CAAC;AAEF,eAAO,MAAM,aAAa,+CAoBzB,CAAC;AAEF,eAAO,MAAM,WAAW,+CAkBvB,CAAC;AAEF,eAAO,MAAM,SAAS,+CAgBrB,CAAC"}
1
+ {"version":3,"file":"menu.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu.composition.tsx"],"names":[],"mappings":"AAiCA,eAAO,MAAM,SAAS,mCAgBrB,CAAC;AAQF,eAAO,MAAM,UAAU,mCAoEtB,CAAC;AAEF,eAAO,MAAM,mBAAmB,mCAoB/B,CAAC;AAEF,eAAO,MAAM,QAAQ,mCAqBpB,CAAC;AAEF,eAAO,MAAM,iBAAiB,mCAgB7B,CAAC;AAEF,eAAO,MAAM,QAAQ,mCAmBpB,CAAC;AAEF,eAAO,MAAM,UAAU,mCAyBtB,CAAC;AAEF,eAAO,MAAM,aAAa,mCAoBzB,CAAC;AAEF,eAAO,MAAM,WAAW,mCAkBvB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAgBrB,CAAC"}
@@ -1,25 +1,42 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { Menu as e } from "@chakra-ui/react";
3
- import { forwardRef as d } from "react";
4
- const v = d(function({
5
- children: o,
6
- placement: i = "bottom-start",
7
- matchWidth: r,
8
- offset: n,
9
- isLazy: s = !1,
10
- lazyBehavior: u = "keepMounted",
11
- ...f
12
- }, M) {
13
- const m = {
14
- placement: i,
15
- sameWidth: r,
16
- offset: n ? { mainAxis: n[1], crossAxis: n[0] } : void 0,
1
+ import { jsx as y } from "react/jsx-runtime";
2
+ import { c as g } from "../../_virtual/compiler-runtime.js";
3
+ import { Menu as M } from "@chakra-ui/react";
4
+ import { forwardRef as w } from "react";
5
+ const W = w(function(p, B) {
6
+ const t = g.c(23);
7
+ let e, n, o, i, r, f, c;
8
+ t[0] !== p ? ({
9
+ children: e,
10
+ placement: r,
11
+ matchWidth: n,
12
+ offset: o,
13
+ isLazy: f,
14
+ lazyBehavior: c,
15
+ ...i
16
+ } = p, t[0] = p, t[1] = e, t[2] = n, t[3] = o, t[4] = i, t[5] = r, t[6] = f, t[7] = c) : (e = t[1], n = t[2], o = t[3], i = t[4], r = t[5], f = t[6], c = t[7]);
17
+ const u = r === void 0 ? "bottom-start" : r, d = f === void 0 ? !1 : f, z = c === void 0 ? "keepMounted" : c;
18
+ let s;
19
+ t[8] !== o ? (s = o ? {
20
+ mainAxis: o[1],
21
+ crossAxis: o[0]
22
+ } : void 0, t[8] = o, t[9] = s) : s = t[9];
23
+ let a;
24
+ t[10] !== n || t[11] !== u || t[12] !== s ? (a = {
25
+ placement: u,
26
+ sameWidth: n,
27
+ offset: s,
17
28
  gutter: 0,
18
29
  flip: !1,
19
30
  overflowPadding: 0
20
- }, p = u === "unmount", a = typeof o == "function";
21
- return /* @__PURE__ */ t(e.Root, { lazyMount: s, unmountOnExit: p, positioning: m, ...f, children: a ? /* @__PURE__ */ t(e.Context, { children: (c) => o({ isOpen: c.open }) }) : o });
31
+ }, t[10] = n, t[11] = u, t[12] = s, t[13] = a) : a = t[13];
32
+ const h = a, v = z === "unmount", x = typeof e == "function";
33
+ let l;
34
+ t[14] !== e || t[15] !== x ? (l = x ? /* @__PURE__ */ y(M.Context, { children: (R) => e({
35
+ isOpen: R.open
36
+ }) }) : e, t[14] = e, t[15] = x, t[16] = l) : l = t[16];
37
+ let m;
38
+ return t[17] !== d || t[18] !== h || t[19] !== i || t[20] !== l || t[21] !== v ? (m = /* @__PURE__ */ y(M.Root, { lazyMount: d, unmountOnExit: v, positioning: h, ...i, children: l }), t[17] = d, t[18] = h, t[19] = i, t[20] = l, t[21] = v, t[22] = m) : m = t[22], m;
22
39
  });
23
40
  export {
24
- v as Menu
41
+ W as Menu
25
42
  };
@@ -1,2 +1,2 @@
1
- export declare const BasicMessage: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const BasicMessage: () => import("react").JSX.Element;
2
2
  //# sourceMappingURL=message.composition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"message.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/message/message.composition.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,+CAcxB,CAAC"}
1
+ {"version":3,"file":"message.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/message/message.composition.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,mCAcxB,CAAC"}
@@ -22,6 +22,6 @@ export type MessageProps = {
22
22
  *
23
23
  * @see Docs https://caspeco.github.io/casper-ui-library/components/message
24
24
  */
25
- export declare function Message({ children, time, from, author, autoFloat, errorState, errorMessage, ...props }: MessageProps): import("react/jsx-runtime").JSX.Element;
25
+ export declare function Message({ children, time, from, author, autoFloat, errorState, errorMessage, ...props }: MessageProps): import("react").JSX.Element;
26
26
  export {};
27
27
  //# sourceMappingURL=message.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../lib/components/message/message.tsx"],"names":[],"mappings":"AACA,OAAO,EAKN,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAO,KAAK,QAAQ,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,gBAAgB,GAAG,cAAc,GAAG,WAAW,GAAG,WAAW,GAAG,YAAY,CAAC;AAElF,MAAM,MAAM,YAAY,GAAG;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,0CAA0C;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0CAA0C;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gGAAgG;IAChG,MAAM,CAAC,EAAE,IAAI,GAAG,KAAK,CAAC;IACtB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mFAAmF;IACnF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,gBAAgB,CAAC;AAErB;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,EACvB,QAAQ,EACR,IAAI,EACJ,IAAI,EACJ,MAAc,EACd,SAAS,EACT,UAAU,EACV,YAAY,EACZ,GAAG,KAAK,EACR,EAAE,YAAY,2CA4Cd"}
1
+ {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../lib/components/message/message.tsx"],"names":[],"mappings":"AACA,OAAO,EAKN,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAO,KAAK,QAAQ,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,gBAAgB,GAAG,cAAc,GAAG,WAAW,GAAG,WAAW,GAAG,YAAY,CAAC;AAElF,MAAM,MAAM,YAAY,GAAG;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,0CAA0C;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0CAA0C;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gGAAgG;IAChG,MAAM,CAAC,EAAE,IAAI,GAAG,KAAK,CAAC;IACtB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mFAAmF;IACnF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,gBAAgB,CAAC;AAErB;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,EACvB,QAAQ,EACR,IAAI,EACJ,IAAI,EACJ,MAAc,EACd,SAAS,EACT,UAAU,EACV,YAAY,EACZ,GAAG,KAAK,EACR,EAAE,YAAY,+BA4Cd"}
@@ -1,62 +1,40 @@
1
- import { jsxs as g, jsx as r } from "react/jsx-runtime";
2
- import { Box as a } from "@chakra-ui/react";
1
+ import { jsx as h, jsxs as M } from "react/jsx-runtime";
2
+ import { c as O } from "../../_virtual/compiler-runtime.js";
3
+ import { Box as v } from "@chakra-ui/react";
3
4
  import "react";
4
- import { Text as l } from "../text/text.js";
5
- import { ThemeRadiusVariable as i, ThemeSpaceVariable as n, ThemeColorVariable as o, ThemeFontSizeVariable as d } from "../../theme/theme-types.js";
6
- function L({
7
- children: f,
8
- time: t,
9
- from: u,
10
- author: s = "you",
11
- autoFloat: S,
12
- errorState: c,
13
- errorMessage: m,
14
- ...b
15
- }) {
16
- const e = s === "you";
17
- return /* @__PURE__ */ g(a, { ...b, alignSelf: S ? e ? "flex-start" : "flex-end" : void 0, children: [
18
- /* @__PURE__ */ g(
19
- a,
20
- {
21
- bg: e ? o.BackgroundDisabled : o.Accent,
22
- opacity: c ? "0.48" : "1",
23
- px: n.Medium,
24
- py: n.Small,
25
- borderTopRightRadius: i.Large,
26
- borderTopLeftRadius: i.Large,
27
- borderBottomRightRadius: e ? i.Large : void 0,
28
- borderBottomLeftRadius: e ? void 0 : i.Large,
29
- children: [
30
- /* @__PURE__ */ r(
31
- l,
32
- {
33
- fontSize: d.Medium,
34
- color: e ? o.OnBackground : o.OnAccent,
35
- children: f
36
- }
37
- ),
38
- u && /* @__PURE__ */ r(
39
- l,
40
- {
41
- fontSize: d.Small,
42
- color: e ? o.OnBackgroundSubdued : o.InfoContainer,
43
- children: u
44
- }
45
- )
46
- ]
47
- }
48
- ),
49
- t && /* @__PURE__ */ r(a, { ml: n.Small, children: /* @__PURE__ */ r(
50
- l,
51
- {
52
- fontSize: d.XSmall,
53
- color: c ? o.Error : o.OnBackgroundSubdued,
54
- textAlign: e ? void 0 : "right",
55
- children: m || t
56
- }
57
- ) })
58
- ] });
5
+ import { Text as k } from "../text/text.js";
6
+ import { ThemeColorVariable as t, ThemeRadiusVariable as S, ThemeFontSizeVariable as y, ThemeSpaceVariable as z } from "../../theme/theme-types.js";
7
+ function Y(b) {
8
+ const e = O.c(32);
9
+ let g, n, r, l, i, s, f, a;
10
+ e[0] !== b ? ({
11
+ children: n,
12
+ time: a,
13
+ from: i,
14
+ author: f,
15
+ autoFloat: g,
16
+ errorState: l,
17
+ errorMessage: r,
18
+ ...s
19
+ } = b, e[0] = b, e[1] = g, e[2] = n, e[3] = r, e[4] = l, e[5] = i, e[6] = s, e[7] = f, e[8] = a) : (g = e[1], n = e[2], r = e[3], l = e[4], i = e[5], s = e[6], f = e[7], a = e[8]);
20
+ const o = (f === void 0 ? "you" : f) === "you", x = g ? o ? "flex-start" : "flex-end" : void 0, R = o ? t.BackgroundDisabled : t.Accent, B = l ? "0.48" : "1", T = o ? S.Large : void 0, L = o ? void 0 : S.Large, V = o ? t.OnBackground : t.OnAccent;
21
+ let c;
22
+ e[9] !== n || e[10] !== V ? (c = /* @__PURE__ */ h(k, { fontSize: y.Medium, color: V, children: n }), e[9] = n, e[10] = V, e[11] = c) : c = e[11];
23
+ let d;
24
+ e[12] !== i || e[13] !== o ? (d = i && /* @__PURE__ */ h(k, { fontSize: y.Small, color: o ? t.OnBackgroundSubdued : t.InfoContainer, children: i }), e[12] = i, e[13] = o, e[14] = d) : d = e[14];
25
+ let m;
26
+ e[15] !== R || e[16] !== B || e[17] !== T || e[18] !== L || e[19] !== c || e[20] !== d ? (m = /* @__PURE__ */ M(v, { bg: R, opacity: B, px: z.Medium, py: z.Small, borderTopRightRadius: S.Large, borderTopLeftRadius: S.Large, borderBottomRightRadius: T, borderBottomLeftRadius: L, children: [
27
+ c,
28
+ d
29
+ ] }), e[15] = R, e[16] = B, e[17] = T, e[18] = L, e[19] = c, e[20] = d, e[21] = m) : m = e[21];
30
+ let u;
31
+ e[22] !== r || e[23] !== l || e[24] !== o || e[25] !== a ? (u = a && /* @__PURE__ */ h(v, { ml: z.Small, children: /* @__PURE__ */ h(k, { fontSize: y.XSmall, color: l ? t.Error : t.OnBackgroundSubdued, textAlign: o ? void 0 : "right", children: r || a }) }), e[22] = r, e[23] = l, e[24] = o, e[25] = a, e[26] = u) : u = e[26];
32
+ let p;
33
+ return e[27] !== s || e[28] !== m || e[29] !== u || e[30] !== x ? (p = /* @__PURE__ */ M(v, { ...s, alignSelf: x, children: [
34
+ m,
35
+ u
36
+ ] }), e[27] = s, e[28] = m, e[29] = u, e[30] = x, e[31] = p) : p = e[31], p;
59
37
  }
60
38
  export {
61
- L as Message
39
+ Y as Message
62
40
  };
@@ -6,5 +6,5 @@ export type ModalBodyProps = Pick<ChakraDialog.BodyProps, "children"> & ThemeSty
6
6
  *
7
7
  * @see Docs https://caspeco.github.io/casper-ui-library/components/modal
8
8
  */
9
- export declare function ModalBody({ children, ...props }: ModalBodyProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function ModalBody({ children, ...props }: ModalBodyProps): import("react").JSX.Element;
10
10
  //# sourceMappingURL=modal-body.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modal-body.d.ts","sourceRoot":"","sources":["../../../lib/components/modal/modal-body.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAG1D,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,YAAY,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG,eAAe,CAAC;AAExF;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CAO/D"}
1
+ {"version":3,"file":"modal-body.d.ts","sourceRoot":"","sources":["../../../lib/components/modal/modal-body.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAG1D,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,YAAY,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG,eAAe,CAAC;AAExF;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,+BAO/D"}
@@ -1,10 +1,18 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { Dialog as m } from "@chakra-ui/react";
3
- import { useModalBodyContext as n } from "./modal-body-context.js";
4
- function l({ children: o, ...t }) {
5
- const r = n();
6
- return /* @__PURE__ */ e(m.Body, { ref: r?.setBodyElement, ...t, children: o });
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import { c as m } from "../../_virtual/compiler-runtime.js";
3
+ import { Dialog as s } from "@chakra-ui/react";
4
+ import { useModalBodyContext as c } from "./modal-body-context.js";
5
+ function u(n) {
6
+ const o = m.c(7);
7
+ let t, e;
8
+ o[0] !== n ? ({
9
+ children: t,
10
+ ...e
11
+ } = n, o[0] = n, o[1] = t, o[2] = e) : (t = o[1], e = o[2]);
12
+ const i = c()?.setBodyElement;
13
+ let r;
14
+ return o[3] !== t || o[4] !== e || o[5] !== i ? (r = /* @__PURE__ */ l(s.Body, { ref: i, ...e, children: t }), o[3] = t, o[4] = e, o[5] = i, o[6] = r) : r = o[6], r;
7
15
  }
8
16
  export {
9
- l as ModalBody
17
+ u as ModalBody
10
18
  };
@@ -9,5 +9,5 @@ export type ModalCloseButtonProps = {
9
9
  *
10
10
  * @see Docs https://caspeco.github.io/casper-ui-library/components/modal
11
11
  */
12
- export declare function ModalCloseButton({ isAbsolutePositioned }: ModalCloseButtonProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function ModalCloseButton({ isAbsolutePositioned }: ModalCloseButtonProps): import("react").JSX.Element;
13
13
  //# sourceMappingURL=modal-close-button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modal-close-button.d.ts","sourceRoot":"","sources":["../../../lib/components/modal/modal-close-button.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,qBAAqB,GAAG;IACnC;2DACuD;IACvD,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,oBAA4B,EAAE,EAAE,qBAAqB,2CAkBvF"}
1
+ {"version":3,"file":"modal-close-button.d.ts","sourceRoot":"","sources":["../../../lib/components/modal/modal-close-button.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,qBAAqB,GAAG;IACnC;2DACuD;IACvD,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,oBAA4B,EAAE,EAAE,qBAAqB,+BAkBvF"}
@@ -1,19 +1,19 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { DialogCloseTrigger as i } from "@chakra-ui/react";
3
- import { ThemeSpaceVariable as o, ThemeIconSizeVariable as r } from "../../theme/theme-types.js";
4
- import { CloseIcon as m } from "../icon/icons/close-icon.js";
5
- function u({ isAbsolutePositioned: t = !1 }) {
6
- return t ? /* @__PURE__ */ e(
7
- i,
8
- {
9
- position: "absolute",
10
- zIndex: 1,
11
- top: o.Medium,
12
- right: o.Medium,
13
- children: /* @__PURE__ */ e(m, { size: r.Medium })
14
- }
15
- ) : /* @__PURE__ */ e(i, { children: /* @__PURE__ */ e(m, { size: r.Medium }) });
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { c as a } from "../../_virtual/compiler-runtime.js";
3
+ import { DialogCloseTrigger as s } from "@chakra-ui/react";
4
+ import { ThemeSpaceVariable as m, ThemeIconSizeVariable as l } from "../../theme/theme-types.js";
5
+ import { CloseIcon as n } from "../icon/icons/close-icon.js";
6
+ function M(c) {
7
+ const e = a.c(2), {
8
+ isAbsolutePositioned: r
9
+ } = c;
10
+ if (r === void 0 ? !1 : r) {
11
+ let i;
12
+ return e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ t(s, { position: "absolute", zIndex: 1, top: m.Medium, right: m.Medium, children: /* @__PURE__ */ t(n, { size: l.Medium }) }), e[0] = i) : i = e[0], i;
13
+ }
14
+ let o;
15
+ return e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ t(s, { children: /* @__PURE__ */ t(n, { size: l.Medium }) }), e[1] = o) : o = e[1], o;
16
16
  }
17
17
  export {
18
- u as ModalCloseButton
18
+ M as ModalCloseButton
19
19
  };
@@ -8,5 +8,5 @@ export type ModalFooterProps = Pick<ChakraDialog.FooterProps, "children"> & Them
8
8
  *
9
9
  * @see Docs https://caspeco.github.io/casper-ui-library/components/modal
10
10
  */
11
- export declare function ModalFooter({ children, ...props }: ModalFooterProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function ModalFooter({ children, ...props }: ModalFooterProps): import("react").JSX.Element;
12
12
  //# sourceMappingURL=modal-footer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modal-footer.d.ts","sourceRoot":"","sources":["../../../lib/components/modal/modal-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAI1D,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,UAAU,CAAC,GAAG,eAAe,CAAC;AAE5F;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CA0BnE"}
1
+ {"version":3,"file":"modal-footer.d.ts","sourceRoot":"","sources":["../../../lib/components/modal/modal-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAI1D,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,UAAU,CAAC,GAAG,eAAe,CAAC;AAE5F;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,+BA0BnE"}
@@ -1,22 +1,33 @@
1
- import { jsx as f } from "react/jsx-runtime";
2
- import { Dialog as d } from "@chakra-ui/react";
3
- import { useState as m, useEffect as u } from "react";
4
- import { useModalBodyContext as p } from "./modal-body-context.js";
5
- function x({ children: r, ...n }) {
6
- const [s, i] = m(!1), o = p()?.bodyElement ?? null;
7
- u(() => {
8
- if (!o) return;
9
- const t = new ResizeObserver((a) => {
10
- const e = a[0];
11
- if (!e) return;
12
- const c = e.target.scrollHeight > e.target.clientHeight;
13
- i(c);
1
+ import { jsx as h } from "react/jsx-runtime";
2
+ import { c as x } from "../../_virtual/compiler-runtime.js";
3
+ import { Dialog as b } from "@chakra-ui/react";
4
+ import { useState as g, useEffect as w } from "react";
5
+ import { useModalBodyContext as y } from "./modal-body-context.js";
6
+ function z(l) {
7
+ const e = x.c(10);
8
+ let t, o;
9
+ e[0] !== l ? ({
10
+ children: t,
11
+ ...o
12
+ } = l, e[0] = l, e[1] = t, e[2] = o) : (t = e[1], o = e[2]);
13
+ const [a, p] = g(!1), r = y()?.bodyElement ?? null;
14
+ let n, s;
15
+ e[3] !== r ? (n = () => {
16
+ if (!r)
17
+ return;
18
+ const m = new ResizeObserver((d) => {
19
+ const f = d[0];
20
+ if (!f)
21
+ return;
22
+ const u = f.target.scrollHeight > f.target.clientHeight;
23
+ p(u);
14
24
  });
15
- return t.observe(o), () => t.disconnect();
16
- }, [o]);
17
- const l = s ? "0px 0px 16px rgba(0, 0, 0, 0.24)" : "none";
18
- return /* @__PURE__ */ f(d.Footer, { boxShadow: l, ...n, children: r });
25
+ return m.observe(r), () => m.disconnect();
26
+ }, s = [r], e[3] = r, e[4] = n, e[5] = s) : (n = e[4], s = e[5]), w(n, s);
27
+ const c = a ? "0px 0px 16px rgba(0, 0, 0, 0.24)" : "none";
28
+ let i;
29
+ return e[6] !== c || e[7] !== t || e[8] !== o ? (i = /* @__PURE__ */ h(b.Footer, { boxShadow: c, ...o, children: t }), e[6] = c, e[7] = t, e[8] = o, e[9] = i) : i = e[9], i;
19
30
  }
20
31
  export {
21
- x as ModalFooter
32
+ z as ModalFooter
22
33
  };
@@ -11,6 +11,6 @@ export type ModalHeaderProps = Pick<ChakraDialog.HeaderProps, "children"> & Cust
11
11
  *
12
12
  * @see Docs https://caspeco.github.io/casper-ui-library/components/modal
13
13
  */
14
- export declare function ModalHeader({ children, sticky, ...props }: ModalHeaderProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function ModalHeader({ children, sticky, ...props }: ModalHeaderProps): import("react").JSX.Element;
15
15
  export {};
16
16
  //# sourceMappingURL=modal-header.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modal-header.d.ts","sourceRoot":"","sources":["../../../lib/components/modal/modal-header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAE1D,KAAK,2BAA2B,GAAG;IAClC;iEAC6D;IAC7D,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,UAAU,CAAC,GACxE,2BAA2B,GAC3B,eAAe,CAAC;AAEjB;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,MAAc,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CAMnF"}
1
+ {"version":3,"file":"modal-header.d.ts","sourceRoot":"","sources":["../../../lib/components/modal/modal-header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAE1D,KAAK,2BAA2B,GAAG;IAClC;iEAC6D;IAC7D,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,UAAU,CAAC,GACxE,2BAA2B,GAC3B,eAAe,CAAC;AAEjB;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,MAAc,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,+BAMnF"}
@@ -1,8 +1,18 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { Dialog as t } from "@chakra-ui/react";
3
- function p({ children: r, sticky: o = !1, ...i }) {
4
- return /* @__PURE__ */ e(t.Header, { position: o ? "sticky" : void 0, top: o ? 0 : void 0, ...i, children: r });
1
+ import { jsx as p } from "react/jsx-runtime";
2
+ import { c as m } from "../../_virtual/compiler-runtime.js";
3
+ import { Dialog as d } from "@chakra-ui/react";
4
+ function u(s) {
5
+ const o = m.c(9);
6
+ let t, e, i;
7
+ o[0] !== s ? ({
8
+ children: t,
9
+ sticky: i,
10
+ ...e
11
+ } = s, o[0] = s, o[1] = t, o[2] = e, o[3] = i) : (t = o[1], e = o[2], i = o[3]);
12
+ const n = i === void 0 ? !1 : i, c = n ? "sticky" : void 0, l = n ? 0 : void 0;
13
+ let r;
14
+ return o[4] !== t || o[5] !== e || o[6] !== c || o[7] !== l ? (r = /* @__PURE__ */ p(d.Header, { position: c, top: l, ...e, children: t }), o[4] = t, o[5] = e, o[6] = c, o[7] = l, o[8] = r) : r = o[8], r;
5
15
  }
6
16
  export {
7
- p as ModalHeader
17
+ u as ModalHeader
8
18
  };
@@ -1,12 +1,12 @@
1
- export declare const BaseExample: () => import("react/jsx-runtime").JSX.Element;
2
- export declare const SmallSize: () => import("react/jsx-runtime").JSX.Element;
3
- export declare const MediumSize: () => import("react/jsx-runtime").JSX.Element;
4
- export declare const LargeSize: () => import("react/jsx-runtime").JSX.Element;
5
- export declare const ExtraLargeSize: () => import("react/jsx-runtime").JSX.Element;
6
- export declare const FullSize: () => import("react/jsx-runtime").JSX.Element;
7
- export declare const DynamicContent: () => import("react/jsx-runtime").JSX.Element;
8
- export declare const InsideScroll: () => import("react/jsx-runtime").JSX.Element;
9
- export declare const OutsideScroll: () => import("react/jsx-runtime").JSX.Element;
10
- export declare const StickyHeader: () => import("react/jsx-runtime").JSX.Element;
11
- export declare const ImageAndAbsoluteCloseButton: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const BaseExample: () => import("react").JSX.Element;
2
+ export declare const SmallSize: () => import("react").JSX.Element;
3
+ export declare const MediumSize: () => import("react").JSX.Element;
4
+ export declare const LargeSize: () => import("react").JSX.Element;
5
+ export declare const ExtraLargeSize: () => import("react").JSX.Element;
6
+ export declare const FullSize: () => import("react").JSX.Element;
7
+ export declare const DynamicContent: () => import("react").JSX.Element;
8
+ export declare const InsideScroll: () => import("react").JSX.Element;
9
+ export declare const OutsideScroll: () => import("react").JSX.Element;
10
+ export declare const StickyHeader: () => import("react").JSX.Element;
11
+ export declare const ImageAndAbsoluteCloseButton: () => import("react").JSX.Element;
12
12
  //# sourceMappingURL=modal.composition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modal.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/modal/modal.composition.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,WAAW,+CA+BvB,CAAC;AA8BF,eAAO,MAAM,SAAS,+CAarB,CAAC;AAEF,eAAO,MAAM,UAAU,+CAatB,CAAC;AAEF,eAAO,MAAM,SAAS,+CAarB,CAAC;AACF,eAAO,MAAM,cAAc,+CAa1B,CAAC;AAEF,eAAO,MAAM,QAAQ,+CAapB,CAAC;AAEF,eAAO,MAAM,cAAc,+CAiE1B,CAAC;AAEF,eAAO,MAAM,YAAY,+CAqExB,CAAC;AAEF,eAAO,MAAM,aAAa,+CAsEzB,CAAC;AAEF,eAAO,MAAM,YAAY,+CAwExB,CAAC;AAEF,eAAO,MAAM,2BAA2B,+CAkDvC,CAAC"}
1
+ {"version":3,"file":"modal.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/modal/modal.composition.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,WAAW,mCA+BvB,CAAC;AA8BF,eAAO,MAAM,SAAS,mCAarB,CAAC;AAEF,eAAO,MAAM,UAAU,mCAatB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAarB,CAAC;AACF,eAAO,MAAM,cAAc,mCAa1B,CAAC;AAEF,eAAO,MAAM,QAAQ,mCAapB,CAAC;AAEF,eAAO,MAAM,cAAc,mCAiE1B,CAAC;AAEF,eAAO,MAAM,YAAY,mCAqExB,CAAC;AAEF,eAAO,MAAM,aAAa,mCAsEzB,CAAC;AAEF,eAAO,MAAM,YAAY,mCAwExB,CAAC;AAEF,eAAO,MAAM,2BAA2B,mCAkDvC,CAAC"}
@@ -13,6 +13,6 @@ type CustomModalProperties = {
13
13
  };
14
14
  type ChakraDialogProperties = Pick<ChakraDialog.RootProps, "children" | "id" | "scrollBehavior" | "lazyMount">;
15
15
  export type ModalProps = CustomModalProperties & ChakraDialogProperties;
16
- export declare function Modal({ children, isOpen, onClose, closeOnOverlayClick, closeOnEsc, onCloseComplete, returnFocusOnClose, size, scrollBehavior, isCentered, ...props }: ModalProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare function Modal({ children, isOpen, onClose, closeOnOverlayClick, closeOnEsc, onCloseComplete, returnFocusOnClose, size, scrollBehavior, isCentered, ...props }: ModalProps): import("react").JSX.Element;
17
17
  export {};
18
18
  //# sourceMappingURL=modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../lib/components/modal/modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,MAAM,IAAI,YAAY,EAItB,MAAM,kBAAkB,CAAC;AAI1B,KAAK,qBAAqB,GAAG;IAC5B;2EACuE;IACvE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;IAG1C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,KAAK,sBAAsB,GAAG,IAAI,CACjC,YAAY,CAAC,SAAS,EACtB,UAAU,GAAG,IAAI,GAAG,gBAAgB,GAAG,WAAW,CAClD,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,qBAAqB,GAAG,sBAAsB,CAAC;AAExE,wBAAgB,KAAK,CAAC,EACrB,QAAQ,EACR,MAAM,EACN,OAAO,EACP,mBAAmB,EACnB,UAAU,EACV,eAAe,EACf,kBAAyB,EACzB,IAAW,EACX,cAAyB,EACzB,UAAiB,EACjB,GAAG,KAAK,EACR,EAAE,UAAU,2CAoCZ"}
1
+ {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../lib/components/modal/modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,MAAM,IAAI,YAAY,EAItB,MAAM,kBAAkB,CAAC;AAI1B,KAAK,qBAAqB,GAAG;IAC5B;2EACuE;IACvE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;IAG1C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,KAAK,sBAAsB,GAAG,IAAI,CACjC,YAAY,CAAC,SAAS,EACtB,UAAU,GAAG,IAAI,GAAG,gBAAgB,GAAG,WAAW,CAClD,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,qBAAqB,GAAG,sBAAsB,CAAC;AAExE,wBAAgB,KAAK,CAAC,EACrB,QAAQ,EACR,MAAM,EACN,OAAO,EACP,mBAAmB,EACnB,UAAU,EACV,eAAe,EACf,kBAAyB,EACzB,IAAW,EACX,cAAyB,EACzB,UAAiB,EACjB,GAAG,KAAK,EACR,EAAE,UAAU,+BAoCZ"}