@caspeco/casper-ui-library 9.13.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 (769) 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 +244 -262
  81. package/dist/components/date-picker/date-multi-picker.d.ts +1 -1
  82. package/dist/components/date-picker/date-multi-picker.d.ts.map +1 -1
  83. package/dist/components/date-picker/date-multi-picker.js +25 -49
  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 +5 -5
  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/divider/divider.composition.d.ts +2 -2
  106. package/dist/components/divider/divider.composition.d.ts.map +1 -1
  107. package/dist/components/divider/divider.d.ts +1 -1
  108. package/dist/components/divider/divider.d.ts.map +1 -1
  109. package/dist/components/divider/divider.js +16 -19
  110. package/dist/components/drawer/drawer-recipe.js +25 -5
  111. package/dist/components/drawer/drawer.composition.d.ts +5 -5
  112. package/dist/components/drawer/drawer.composition.d.ts.map +1 -1
  113. package/dist/components/drawer/drawer.d.ts +1 -1
  114. package/dist/components/drawer/drawer.d.ts.map +1 -1
  115. package/dist/components/drawer/drawer.js +38 -36
  116. package/dist/components/drawer/inline-drawer.d.ts +1 -1
  117. package/dist/components/drawer/inline-drawer.d.ts.map +1 -1
  118. package/dist/components/drawer/inline-drawer.js +62 -57
  119. package/dist/components/drawer/use-drawer-key-down.js +15 -8
  120. package/dist/components/fieldset/fieldset-error-text.d.ts +1 -1
  121. package/dist/components/fieldset/fieldset-error-text.d.ts.map +1 -1
  122. package/dist/components/fieldset/fieldset-error-text.js +13 -5
  123. package/dist/components/fieldset/fieldset-helper-text.d.ts +1 -1
  124. package/dist/components/fieldset/fieldset-helper-text.d.ts.map +1 -1
  125. package/dist/components/fieldset/fieldset-helper-text.js +13 -5
  126. package/dist/components/fieldset/fieldset-legend.d.ts +1 -1
  127. package/dist/components/fieldset/fieldset-legend.d.ts.map +1 -1
  128. package/dist/components/fieldset/fieldset-legend.js +13 -5
  129. package/dist/components/fieldset/fieldset.d.ts +1 -1
  130. package/dist/components/fieldset/fieldset.d.ts.map +1 -1
  131. package/dist/components/fieldset/fieldset.js +15 -5
  132. package/dist/components/flex/flex.composition.d.ts +2 -2
  133. package/dist/components/flex/flex.composition.d.ts.map +1 -1
  134. package/dist/components/flex/flex.d.ts +1 -1
  135. package/dist/components/flex/flex.d.ts.map +1 -1
  136. package/dist/components/flex/flex.js +13 -5
  137. package/dist/components/form-control/form-control.composition.d.ts +6 -6
  138. package/dist/components/form-control/form-control.composition.d.ts.map +1 -1
  139. package/dist/components/form-control/form-control.d.ts +1 -1
  140. package/dist/components/form-control/form-control.d.ts.map +1 -1
  141. package/dist/components/form-control/form-control.js +17 -22
  142. package/dist/components/form-control/form-error-message.d.ts +1 -1
  143. package/dist/components/form-control/form-error-message.d.ts.map +1 -1
  144. package/dist/components/form-control/form-error-message.js +13 -5
  145. package/dist/components/form-control/form-helper-text.d.ts +1 -1
  146. package/dist/components/form-control/form-helper-text.d.ts.map +1 -1
  147. package/dist/components/form-control/form-helper-text.js +13 -5
  148. package/dist/components/form-control/form-label.d.ts +1 -1
  149. package/dist/components/form-control/form-label.d.ts.map +1 -1
  150. package/dist/components/form-control/form-label.js +24 -11
  151. package/dist/components/grid/grid-item.d.ts +1 -1
  152. package/dist/components/grid/grid-item.d.ts.map +1 -1
  153. package/dist/components/grid/grid-item.js +12 -4
  154. package/dist/components/grid/grid.composition.d.ts +2 -2
  155. package/dist/components/grid/grid.composition.d.ts.map +1 -1
  156. package/dist/components/grid/grid.d.ts +1 -1
  157. package/dist/components/grid/grid.d.ts.map +1 -1
  158. package/dist/components/grid/grid.js +13 -5
  159. package/dist/components/heading/heading.composition.d.ts +3 -3
  160. package/dist/components/heading/heading.composition.d.ts.map +1 -1
  161. package/dist/components/heading/heading.d.ts +1 -1
  162. package/dist/components/heading/heading.d.ts.map +1 -1
  163. package/dist/components/heading/heading.js +21 -29
  164. package/dist/components/highlight/highlight.composition.d.ts +2 -2
  165. package/dist/components/highlight/highlight.composition.d.ts.map +1 -1
  166. package/dist/components/highlight/highlight.d.ts +1 -1
  167. package/dist/components/highlight/highlight.d.ts.map +1 -1
  168. package/dist/components/highlight/highlight.js +19 -15
  169. package/dist/components/icon/create-icon.js +24 -15
  170. package/dist/components/icon/icon.composition.d.ts +1 -1
  171. package/dist/components/icon/icon.composition.d.ts.map +1 -1
  172. package/dist/components/icon/icons/absence-icon.js +1 -4
  173. package/dist/components/icon/icons/accessibility-icon.js +1 -4
  174. package/dist/components/icon/icons/add-absence-icon.js +1 -4
  175. package/dist/components/icon/icons/add-emoji-icon.js +1 -4
  176. package/dist/components/icon/icons/add-icon.js +1 -4
  177. package/dist/components/icon/icons/apple-icon.js +1 -4
  178. package/dist/components/icon/icons/apps-icon.js +1 -4
  179. package/dist/components/icon/icons/archive-icon.js +4 -5
  180. package/dist/components/icon/icons/area-icon.js +1 -4
  181. package/dist/components/icon/icons/at-icon.js +1 -4
  182. package/dist/components/icon/icons/attachment-icon.js +1 -4
  183. package/dist/components/icon/icons/baby-icon.js +1 -4
  184. package/dist/components/icon/icons/back-icon.js +1 -4
  185. package/dist/components/icon/icons/backspace-icon.js +1 -4
  186. package/dist/components/icon/icons/bank-icon.js +1 -4
  187. package/dist/components/icon/icons/bank-id-icon.js +1 -4
  188. package/dist/components/icon/icons/barcode-icon.js +1 -4
  189. package/dist/components/icon/icons/bell-icon.js +1 -4
  190. package/dist/components/icon/icons/bolt-icon.js +4 -5
  191. package/dist/components/icon/icons/calendar-icon.js +1 -4
  192. package/dist/components/icon/icons/camera-icon.js +1 -4
  193. package/dist/components/icon/icons/cancel-icon.js +1 -4
  194. package/dist/components/icon/icons/card-icon.js +1 -4
  195. package/dist/components/icon/icons/cart-icon.js +1 -4
  196. package/dist/components/icon/icons/caspeco-icon.js +4 -5
  197. package/dist/components/icon/icons/channels-icon.js +1 -4
  198. package/dist/components/icon/icons/chart-icon.js +1 -4
  199. package/dist/components/icon/icons/chart-line-icon.js +1 -4
  200. package/dist/components/icon/icons/chart-mixed-icon.js +1 -4
  201. package/dist/components/icon/icons/chart-pie-icon.js +1 -4
  202. package/dist/components/icon/icons/chart-scatter-icon.js +1 -4
  203. package/dist/components/icon/icons/check-icon.js +1 -4
  204. package/dist/components/icon/icons/checkbox-icon.js +1 -4
  205. package/dist/components/icon/icons/chevron-left-icon.js +1 -4
  206. package/dist/components/icon/icons/chevron-right-icon.js +1 -4
  207. package/dist/components/icon/icons/child-icon.js +1 -4
  208. package/dist/components/icon/icons/circle-info-icon.js +1 -4
  209. package/dist/components/icon/icons/circle-parking-icon.js +1 -4
  210. package/dist/components/icon/icons/circle-question-icon.js +1 -4
  211. package/dist/components/icon/icons/circle-select-icon.js +1 -4
  212. package/dist/components/icon/icons/circle-success-icon.js +1 -4
  213. package/dist/components/icon/icons/circle-user-icon.js +1 -4
  214. package/dist/components/icon/icons/clear-icon.js +1 -4
  215. package/dist/components/icon/icons/close-icon.js +1 -4
  216. package/dist/components/icon/icons/closed-icon.js +1 -4
  217. package/dist/components/icon/icons/collapse-icon.js +1 -4
  218. package/dist/components/icon/icons/color-icon.js +1 -4
  219. package/dist/components/icon/icons/columns-icon.js +1 -4
  220. package/dist/components/icon/icons/comment-add-icon.js +1 -4
  221. package/dist/components/icon/icons/comment-icon.js +1 -4
  222. package/dist/components/icon/icons/cookies-icon.js +1 -4
  223. package/dist/components/icon/icons/copy-icon.js +1 -4
  224. package/dist/components/icon/icons/date-icon.js +1 -4
  225. package/dist/components/icon/icons/decrease-icon.js +1 -4
  226. package/dist/components/icon/icons/delete-icon.js +1 -4
  227. package/dist/components/icon/icons/deliverect-icon.js +1 -4
  228. package/dist/components/icon/icons/delivery-icon.js +1 -4
  229. package/dist/components/icon/icons/description-icon.js +1 -4
  230. package/dist/components/icon/icons/discount-icon.js +1 -4
  231. package/dist/components/icon/icons/distribute-evenly-icon.js +1 -4
  232. package/dist/components/icon/icons/door-closed-icon.js +1 -4
  233. package/dist/components/icon/icons/door-open-icon.js +1 -4
  234. package/dist/components/icon/icons/down-icon.js +1 -4
  235. package/dist/components/icon/icons/eat-in-icon.js +1 -4
  236. package/dist/components/icon/icons/edit-icon.js +1 -4
  237. package/dist/components/icon/icons/email-icon.js +1 -4
  238. package/dist/components/icon/icons/error-icon.js +1 -4
  239. package/dist/components/icon/icons/expand-icon.js +1 -4
  240. package/dist/components/icon/icons/export-icon.js +1 -4
  241. package/dist/components/icon/icons/extract-icon.js +1 -4
  242. package/dist/components/icon/icons/facebook-icon.js +1 -4
  243. package/dist/components/icon/icons/failed-print-icon.js +1 -4
  244. package/dist/components/icon/icons/file-icon.js +1 -4
  245. package/dist/components/icon/icons/filter-icon.js +1 -4
  246. package/dist/components/icon/icons/folder-icon.js +1 -4
  247. package/dist/components/icon/icons/foodora-icon.js +1 -4
  248. package/dist/components/icon/icons/forward-icon.js +1 -4
  249. package/dist/components/icon/icons/glovo-icon.js +4 -5
  250. package/dist/components/icon/icons/goal-icon.js +1 -4
  251. package/dist/components/icon/icons/google-icon.js +1 -4
  252. package/dist/components/icon/icons/grip-more-icon.js +1 -4
  253. package/dist/components/icon/icons/hash-icon.js +1 -4
  254. package/dist/components/icon/icons/hexagon-error-icon.js +1 -4
  255. package/dist/components/icon/icons/hide-icon.js +1 -4
  256. package/dist/components/icon/icons/history-icon.js +1 -4
  257. package/dist/components/icon/icons/icon-picker-anchor-icon.js +1 -4
  258. package/dist/components/icon/icons/icon-picker-asterisk-icon.js +1 -4
  259. package/dist/components/icon/icons/icon-picker-beer-icon.js +1 -4
  260. package/dist/components/icon/icons/icon-picker-bicycle-icon.js +1 -4
  261. package/dist/components/icon/icons/icon-picker-binoculars-icon.js +1 -4
  262. package/dist/components/icon/icons/icon-picker-bomb-icon.js +1 -4
  263. package/dist/components/icon/icons/icon-picker-car-icon.js +1 -4
  264. package/dist/components/icon/icons/icon-picker-cocktail-icon.js +1 -4
  265. package/dist/components/icon/icons/icon-picker-gem-icon.js +1 -4
  266. package/dist/components/icon/icons/icon-picker-heart-full-icon.js +1 -4
  267. package/dist/components/icon/icons/icon-picker-heart-icon.js +1 -4
  268. package/dist/components/icon/icons/icon-picker-magnet-icon.js +1 -4
  269. package/dist/components/icon/icons/icon-picker-money-icon.js +1 -4
  270. package/dist/components/icon/icons/icon-picker-moon-icon.js +1 -4
  271. package/dist/components/icon/icons/icon-picker-music-icon.js +1 -4
  272. package/dist/components/icon/icons/icon-picker-star-full-icon.js +1 -4
  273. package/dist/components/icon/icons/icon-picker-star-half-icon.js +1 -4
  274. package/dist/components/icon/icons/icon-picker-star-icon.js +1 -4
  275. package/dist/components/icon/icons/icon-picker-tint-icon.js +1 -4
  276. package/dist/components/icon/icons/icon-picker-tree-icon.js +1 -4
  277. package/dist/components/icon/icons/icon-picker-utensils-icon.js +1 -4
  278. package/dist/components/icon/icons/icon-picker-wheelchair-icon.js +1 -4
  279. package/dist/components/icon/icons/image-icon.js +1 -4
  280. package/dist/components/icon/icons/import-icon.js +1 -4
  281. package/dist/components/icon/icons/inbox-icon.js +1 -4
  282. package/dist/components/icon/icons/increase-icon.js +1 -4
  283. package/dist/components/icon/icons/indeterminate-icon.js +1 -4
  284. package/dist/components/icon/icons/info-icon.js +1 -4
  285. package/dist/components/icon/icons/inheritance-icon.js +1 -4
  286. package/dist/components/icon/icons/just-eat-icon.js +1 -4
  287. package/dist/components/icon/icons/karma-icon.js +1 -4
  288. package/dist/components/icon/icons/key-command-icon.js +1 -4
  289. package/dist/components/icon/icons/key-enter-icon.js +1 -4
  290. package/dist/components/icon/icons/key-icon.js +1 -4
  291. package/dist/components/icon/icons/key-option-icon.js +1 -4
  292. package/dist/components/icon/icons/language-icon.js +1 -4
  293. package/dist/components/icon/icons/link-broken-icon.js +1 -4
  294. package/dist/components/icon/icons/link-external-icon.js +1 -4
  295. package/dist/components/icon/icons/link-icon.js +1 -4
  296. package/dist/components/icon/icons/list-ol-icon.js +1 -4
  297. package/dist/components/icon/icons/list-ul-icon.js +1 -4
  298. package/dist/components/icon/icons/loading-icon.js +1 -4
  299. package/dist/components/icon/icons/location-icon.js +1 -4
  300. package/dist/components/icon/icons/lock-icon.js +1 -4
  301. package/dist/components/icon/icons/log-in-icon.js +1 -4
  302. package/dist/components/icon/icons/log-out-icon.js +1 -4
  303. package/dist/components/icon/icons/map-icon.js +1 -4
  304. package/dist/components/icon/icons/maximize-icon.js +1 -4
  305. package/dist/components/icon/icons/members-icon.js +1 -4
  306. package/dist/components/icon/icons/menu-hide-icon.js +1 -4
  307. package/dist/components/icon/icons/menu-icon.js +1 -4
  308. package/dist/components/icon/icons/menu-show-icon.js +1 -4
  309. package/dist/components/icon/icons/message-add-icon.js +1 -4
  310. package/dist/components/icon/icons/message-icon.js +1 -4
  311. package/dist/components/icon/icons/message-lines-icon.js +1 -4
  312. package/dist/components/icon/icons/minimize-icon.js +1 -4
  313. package/dist/components/icon/icons/minimize-window-icon.js +1 -4
  314. package/dist/components/icon/icons/mobile-rotate-icon.js +1 -4
  315. package/dist/components/icon/icons/module-accounting-icon.js +1 -4
  316. package/dist/components/icon/icons/module-ai-forecast-icon.js +1 -4
  317. package/dist/components/icon/icons/module-app-icon.js +1 -4
  318. package/dist/components/icon/icons/module-articles-icon.js +1 -4
  319. package/dist/components/icon/icons/module-benchmark-icon.js +1 -4
  320. package/dist/components/icon/icons/module-booking-icon.js +1 -4
  321. package/dist/components/icon/icons/module-cai-icon.js +1 -4
  322. package/dist/components/icon/icons/module-campaigns-icon.js +1 -4
  323. package/dist/components/icon/icons/module-cashier-icon.js +1 -4
  324. package/dist/components/icon/icons/module-communication-icon.js +1 -4
  325. package/dist/components/icon/icons/module-copilot-icon.js +1 -4
  326. package/dist/components/icon/icons/module-dashboard-icon.js +1 -4
  327. package/dist/components/icon/icons/module-document-icon.js +1 -4
  328. package/dist/components/icon/icons/module-employees-icon.js +1 -4
  329. package/dist/components/icon/icons/module-feed-icon.js +1 -4
  330. package/dist/components/icon/icons/module-history-icon.js +1 -4
  331. package/dist/components/icon/icons/module-home-icon.js +1 -4
  332. package/dist/components/icon/icons/module-insights-icon.js +1 -4
  333. package/dist/components/icon/icons/module-kds-icon.js +1 -4
  334. package/dist/components/icon/icons/module-members-icon.js +1 -4
  335. package/dist/components/icon/icons/module-menus-icon.js +1 -4
  336. package/dist/components/icon/icons/module-my-city-icon.js +1 -4
  337. package/dist/components/icon/icons/module-notification-center-icon.js +1 -4
  338. package/dist/components/icon/icons/module-online-order-icon.js +1 -4
  339. package/dist/components/icon/icons/module-organisation-icon.js +1 -4
  340. package/dist/components/icon/icons/module-pos-icon.js +1 -4
  341. package/dist/components/icon/icons/module-pulse-icon.js +1 -4
  342. package/dist/components/icon/icons/module-result-icon.js +1 -4
  343. package/dist/components/icon/icons/module-salary-icon.js +1 -4
  344. package/dist/components/icon/icons/module-schedule-icon.js +1 -4
  345. package/dist/components/icon/icons/module-settings-alt-icon.js +1 -4
  346. package/dist/components/icon/icons/module-settings-icon.js +1 -4
  347. package/dist/components/icon/icons/module-support-icon.js +1 -4
  348. package/dist/components/icon/icons/module-survey-icon.js +1 -4
  349. package/dist/components/icon/icons/module-table-map-icon.js +4 -5
  350. package/dist/components/icon/icons/module-tablet-icon.js +1 -4
  351. package/dist/components/icon/icons/module-time-icon.js +1 -4
  352. package/dist/components/icon/icons/module-timeline-icon.js +1 -4
  353. package/dist/components/icon/icons/module-tip-icon.js +1 -4
  354. package/dist/components/icon/icons/module-to-do-icon.js +1 -4
  355. package/dist/components/icon/icons/module-tools-icon.js +1 -4
  356. package/dist/components/icon/icons/module-top-list-icon.js +1 -4
  357. package/dist/components/icon/icons/module-web-charts-icon.js +1 -4
  358. package/dist/components/icon/icons/module-web-icon.js +1 -4
  359. package/dist/components/icon/icons/more-horizontal-icon.js +1 -4
  360. package/dist/components/icon/icons/more-vertical-icon.js +1 -4
  361. package/dist/components/icon/icons/nfc-icon.js +1 -4
  362. package/dist/components/icon/icons/no-cart-icon.js +1 -4
  363. package/dist/components/icon/icons/note-icon.js +1 -4
  364. package/dist/components/icon/icons/number-icon.js +4 -5
  365. package/dist/components/icon/icons/open-modal-icon.js +1 -4
  366. package/dist/components/icon/icons/parking-icon.js +1 -4
  367. package/dist/components/icon/icons/party-horn-icon.js +1 -4
  368. package/dist/components/icon/icons/pause-icon.js +1 -4
  369. package/dist/components/icon/icons/payment-card-icon.js +1 -4
  370. package/dist/components/icon/icons/payment-cash-icon.js +1 -4
  371. package/dist/components/icon/icons/payment-generic-icon.js +1 -4
  372. package/dist/components/icon/icons/payment-giftcard-icon.js +1 -4
  373. package/dist/components/icon/icons/payment-hotel-icon.js +1 -4
  374. package/dist/components/icon/icons/payment-invoice-icon.js +1 -4
  375. package/dist/components/icon/icons/percentage-icon.js +1 -4
  376. package/dist/components/icon/icons/phone-icon.js +1 -4
  377. package/dist/components/icon/icons/pin-icon.js +1 -4
  378. package/dist/components/icon/icons/pin-map-icon.js +1 -4
  379. package/dist/components/icon/icons/play-icon.js +1 -4
  380. package/dist/components/icon/icons/preview-icon.js +1 -4
  381. package/dist/components/icon/icons/print-icon.js +1 -4
  382. package/dist/components/icon/icons/privacy-icon.js +1 -4
  383. package/dist/components/icon/icons/product-admin-icon.js +1 -4
  384. package/dist/components/icon/icons/product-analytics-icon.js +1 -4
  385. package/dist/components/icon/icons/product-booking-icon.js +1 -4
  386. package/dist/components/icon/icons/product-checkout-icon.js +1 -4
  387. package/dist/components/icon/icons/product-my-pages-icon.js +1 -4
  388. package/dist/components/icon/icons/product-staff-icon.js +1 -4
  389. package/dist/components/icon/icons/puck-icon.js +1 -4
  390. package/dist/components/icon/icons/qr-code-icon.js +1 -4
  391. package/dist/components/icon/icons/question-icon.js +1 -4
  392. package/dist/components/icon/icons/radio-icon.js +1 -4
  393. package/dist/components/icon/icons/receipt-icon.js +1 -4
  394. package/dist/components/icon/icons/redo-icon.js +1 -4
  395. package/dist/components/icon/icons/refund-icon.js +1 -4
  396. package/dist/components/icon/icons/remove-icon.js +1 -4
  397. package/dist/components/icon/icons/replace-icon.js +1 -4
  398. package/dist/components/icon/icons/schedule-icon.js +1 -4
  399. package/dist/components/icon/icons/search-icon.js +1 -4
  400. package/dist/components/icon/icons/select-icon.js +1 -4
  401. package/dist/components/icon/icons/send-icon.js +1 -4
  402. package/dist/components/icon/icons/share-icon.js +1 -4
  403. package/dist/components/icon/icons/show-icon.js +1 -4
  404. package/dist/components/icon/icons/shuffle-icon.js +1 -4
  405. package/dist/components/icon/icons/sidebar-hide-icon.js +1 -4
  406. package/dist/components/icon/icons/sidebar-left-icon.js +1 -4
  407. package/dist/components/icon/icons/sidebar-right-icon.js +1 -4
  408. package/dist/components/icon/icons/sidebar-show-icon.js +1 -4
  409. package/dist/components/icon/icons/sliders-icon.js +1 -4
  410. package/dist/components/icon/icons/slightly-sad-icon.js +1 -4
  411. package/dist/components/icon/icons/smile-icon.js +1 -4
  412. package/dist/components/icon/icons/sort-asc-icon.js +1 -4
  413. package/dist/components/icon/icons/sort-desc-icon.js +1 -4
  414. package/dist/components/icon/icons/split-icon.js +1 -4
  415. package/dist/components/icon/icons/status-icon.js +1 -4
  416. package/dist/components/icon/icons/stop-icon.js +1 -4
  417. package/dist/components/icon/icons/submenu-icon.js +1 -4
  418. package/dist/components/icon/icons/success-icon.js +1 -4
  419. package/dist/components/icon/icons/swap-icon.js +1 -4
  420. package/dist/components/icon/icons/swatch-icon.js +1 -4
  421. package/dist/components/icon/icons/sweat-icon.js +1 -4
  422. package/dist/components/icon/icons/table-icon.js +1 -4
  423. package/dist/components/icon/icons/table-map-icon.js +1 -4
  424. package/dist/components/icon/icons/take-away-dot-com-icon.js +1 -4
  425. package/dist/components/icon/icons/take-away-icon.js +1 -4
  426. package/dist/components/icon/icons/talk-icon.js +1 -4
  427. package/dist/components/icon/icons/thumbtack-icon.js +1 -4
  428. package/dist/components/icon/icons/time-icon.js +1 -4
  429. package/dist/components/icon/icons/timeline-icon.js +1 -4
  430. package/dist/components/icon/icons/tip-icon.js +1 -4
  431. package/dist/components/icon/icons/title-icon.js +1 -4
  432. package/dist/components/icon/icons/translate-icon.js +1 -4
  433. package/dist/components/icon/icons/tree-view-collapse-icon.js +1 -4
  434. package/dist/components/icon/icons/tree-view-expand-icon.js +1 -4
  435. package/dist/components/icon/icons/tree-view-last-icon.js +1 -4
  436. package/dist/components/icon/icons/trend-down-icon.js +1 -4
  437. package/dist/components/icon/icons/trend-up-icon.js +1 -4
  438. package/dist/components/icon/icons/triangle-warning-icon.js +1 -4
  439. package/dist/components/icon/icons/trivec-icon.js +4 -5
  440. package/dist/components/icon/icons/uber-eats-icon.js +1 -4
  441. package/dist/components/icon/icons/undo-icon.js +1 -4
  442. package/dist/components/icon/icons/unlock-icon.js +1 -4
  443. package/dist/components/icon/icons/unwrap-content-icon.js +1 -4
  444. package/dist/components/icon/icons/up-icon.js +1 -4
  445. package/dist/components/icon/icons/user-group-icon.js +1 -4
  446. package/dist/components/icon/icons/user-icon.js +1 -4
  447. package/dist/components/icon/icons/user-permissions-icon.js +1 -4
  448. package/dist/components/icon/icons/user-wait-icon.js +1 -4
  449. package/dist/components/icon/icons/users-icon.js +1 -4
  450. package/dist/components/icon/icons/version-control-icon.js +1 -4
  451. package/dist/components/icon/icons/volume-high-icon.js +1 -4
  452. package/dist/components/icon/icons/volume-icon.js +1 -4
  453. package/dist/components/icon/icons/volume-low-icon.js +1 -4
  454. package/dist/components/icon/icons/volume-off-icon.js +1 -4
  455. package/dist/components/icon/icons/warning-icon.js +1 -4
  456. package/dist/components/icon/icons/waste-icon.js +1 -4
  457. package/dist/components/icon/icons/wifi-icon.js +1 -4
  458. package/dist/components/icon/icons/wifi-off-icon.js +1 -4
  459. package/dist/components/icon/icons/wolt-icon.js +1 -4
  460. package/dist/components/icon/icons/wrap-content-icon.js +1 -4
  461. package/dist/components/icon-button/icon-button.composition.d.ts +4 -4
  462. package/dist/components/icon-button/icon-button.composition.d.ts.map +1 -1
  463. package/dist/components/icon-button/icon-button.js +38 -32
  464. package/dist/components/image/image.composition.d.ts +1 -1
  465. package/dist/components/image/image.composition.d.ts.map +1 -1
  466. package/dist/components/image/image.d.ts +1 -1
  467. package/dist/components/image/image.d.ts.map +1 -1
  468. package/dist/components/image/image.js +12 -5
  469. package/dist/components/image-upload/image-cropper.d.ts +2 -1
  470. package/dist/components/image-upload/image-cropper.d.ts.map +1 -1
  471. package/dist/components/image-upload/image-cropper.helper.d.ts +1 -1
  472. package/dist/components/image-upload/image-cropper.helper.d.ts.map +1 -1
  473. package/dist/components/image-upload/image-cropper.helper.js +38 -40
  474. package/dist/components/image-upload/image-cropper.js +63 -73
  475. package/dist/components/image-upload/image-upload-dropzone.d.ts +2 -1
  476. package/dist/components/image-upload/image-upload-dropzone.d.ts.map +1 -1
  477. package/dist/components/image-upload/image-upload-dropzone.js +102 -72
  478. package/dist/components/image-upload/image-upload-icons.d.ts +5 -5
  479. package/dist/components/image-upload/image-upload-icons.d.ts.map +1 -1
  480. package/dist/components/image-upload/image-upload-icons.js +19 -26
  481. package/dist/components/image-upload/image-upload-modal.d.ts +1 -1
  482. package/dist/components/image-upload/image-upload-modal.d.ts.map +1 -1
  483. package/dist/components/image-upload/image-upload-modal.js +54 -95
  484. package/dist/components/image-upload/image-upload.composition.d.ts +3 -3
  485. package/dist/components/image-upload/image-upload.composition.d.ts.map +1 -1
  486. package/dist/components/image-upload/image-upload.d.ts +1 -1
  487. package/dist/components/image-upload/image-upload.d.ts.map +1 -1
  488. package/dist/components/image-upload/image-upload.js +69 -78
  489. package/dist/components/input/input.composition.d.ts +9 -9
  490. package/dist/components/input/input.composition.d.ts.map +1 -1
  491. package/dist/components/input/input.d.ts +1 -1
  492. package/dist/components/input/input.js +54 -58
  493. package/dist/components/input/types.d.ts +5 -4
  494. package/dist/components/input/types.d.ts.map +1 -1
  495. package/dist/components/link/link.composition.d.ts +2 -2
  496. package/dist/components/link/link.composition.d.ts.map +1 -1
  497. package/dist/components/link/link.d.ts +1 -1
  498. package/dist/components/link/link.d.ts.map +1 -1
  499. package/dist/components/link/link.js +11 -3
  500. package/dist/components/list/list-item.d.ts +1 -1
  501. package/dist/components/list/list-item.d.ts.map +1 -1
  502. package/dist/components/list/list-item.js +13 -5
  503. package/dist/components/list/list.composition.d.ts +1 -1
  504. package/dist/components/list/list.composition.d.ts.map +1 -1
  505. package/dist/components/list/list.d.ts +1 -1
  506. package/dist/components/list/list.d.ts.map +1 -1
  507. package/dist/components/list/list.js +17 -11
  508. package/dist/components/menu/menu-box-button.js +16 -8
  509. package/dist/components/menu/menu-button.d.ts +1 -1
  510. package/dist/components/menu/menu-button.d.ts.map +1 -1
  511. package/dist/components/menu/menu-button.js +15 -5
  512. package/dist/components/menu/menu-divider.d.ts +2 -1
  513. package/dist/components/menu/menu-divider.d.ts.map +1 -1
  514. package/dist/components/menu/menu-divider.js +21 -12
  515. package/dist/components/menu/menu-group.d.ts +3 -2
  516. package/dist/components/menu/menu-group.d.ts.map +1 -1
  517. package/dist/components/menu/menu-group.js +131 -129
  518. package/dist/components/menu/menu-icon-button.d.ts +1 -1
  519. package/dist/components/menu/menu-icon-button.d.ts.map +1 -1
  520. package/dist/components/menu/menu-icon-button.js +10 -5
  521. package/dist/components/menu/menu-item.d.ts +1 -1
  522. package/dist/components/menu/menu-item.d.ts.map +1 -1
  523. package/dist/components/menu/menu-item.js +43 -32
  524. package/dist/components/menu/menu-list.d.ts +1 -1
  525. package/dist/components/menu/menu-list.d.ts.map +1 -1
  526. package/dist/components/menu/menu-list.js +14 -4
  527. package/dist/components/menu/menu-recipe.js +6 -2
  528. package/dist/components/menu/menu.composition.d.ts +10 -10
  529. package/dist/components/menu/menu.composition.d.ts.map +1 -1
  530. package/dist/components/menu/menu.js +36 -19
  531. package/dist/components/message/message.composition.d.ts +1 -1
  532. package/dist/components/message/message.composition.d.ts.map +1 -1
  533. package/dist/components/message/message.d.ts +1 -1
  534. package/dist/components/message/message.d.ts.map +1 -1
  535. package/dist/components/message/message.js +36 -58
  536. package/dist/components/modal/modal-body.d.ts +1 -1
  537. package/dist/components/modal/modal-body.d.ts.map +1 -1
  538. package/dist/components/modal/modal-body.js +15 -7
  539. package/dist/components/modal/modal-close-button.d.ts +1 -1
  540. package/dist/components/modal/modal-close-button.d.ts.map +1 -1
  541. package/dist/components/modal/modal-close-button.js +16 -16
  542. package/dist/components/modal/modal-footer.d.ts +1 -1
  543. package/dist/components/modal/modal-footer.d.ts.map +1 -1
  544. package/dist/components/modal/modal-footer.js +29 -18
  545. package/dist/components/modal/modal-header.d.ts +1 -1
  546. package/dist/components/modal/modal-header.d.ts.map +1 -1
  547. package/dist/components/modal/modal-header.js +15 -5
  548. package/dist/components/modal/modal.composition.d.ts +11 -11
  549. package/dist/components/modal/modal.composition.d.ts.map +1 -1
  550. package/dist/components/modal/modal.d.ts +1 -1
  551. package/dist/components/modal/modal.d.ts.map +1 -1
  552. package/dist/components/modal/modal.js +53 -43
  553. package/dist/components/navigation-list/navigation-list-item.d.ts +2 -2
  554. package/dist/components/navigation-list/navigation-list-item.d.ts.map +1 -1
  555. package/dist/components/navigation-list/navigation-list-item.js +54 -67
  556. package/dist/components/navigation-list/navigation-list.composition.d.ts +6 -5
  557. package/dist/components/navigation-list/navigation-list.composition.d.ts.map +1 -1
  558. package/dist/components/navigation-list/navigation-list.d.ts +1 -1
  559. package/dist/components/navigation-list/navigation-list.d.ts.map +1 -1
  560. package/dist/components/navigation-list/navigation-list.js +15 -5
  561. package/dist/components/paginator/paginator.composition.d.ts +2 -2
  562. package/dist/components/paginator/paginator.composition.d.ts.map +1 -1
  563. package/dist/components/paginator/paginator.d.ts +1 -1
  564. package/dist/components/paginator/paginator.d.ts.map +1 -1
  565. package/dist/components/paginator/paginator.js +67 -51
  566. package/dist/components/quantity-button/minus-button.d.ts +1 -1
  567. package/dist/components/quantity-button/minus-button.d.ts.map +1 -1
  568. package/dist/components/quantity-button/minus-button.js +14 -16
  569. package/dist/components/quantity-button/plus-button.d.ts +1 -1
  570. package/dist/components/quantity-button/plus-button.d.ts.map +1 -1
  571. package/dist/components/quantity-button/plus-button.js +14 -16
  572. package/dist/components/quantity-button/quantity-button.composition.d.ts +3 -3
  573. package/dist/components/quantity-button/quantity-button.composition.d.ts.map +1 -1
  574. package/dist/components/quantity-button/quantity-button.d.ts +1 -1
  575. package/dist/components/quantity-button/quantity-button.d.ts.map +1 -1
  576. package/dist/components/quantity-button/quantity-button.js +38 -74
  577. package/dist/components/radio/check-icon.js +1 -6
  578. package/dist/components/radio/radio-group-context.js +2 -2
  579. package/dist/components/radio/radio-group.composition.d.ts +5 -5
  580. package/dist/components/radio/radio-group.composition.d.ts.map +1 -1
  581. package/dist/components/radio/radio-group.d.ts +1 -1
  582. package/dist/components/radio/radio-group.d.ts.map +1 -1
  583. package/dist/components/radio/radio-group.js +26 -33
  584. package/dist/components/radio/radio.composition.d.ts +2 -2
  585. package/dist/components/radio/radio.composition.d.ts.map +1 -1
  586. package/dist/components/radio/radio.js +53 -49
  587. package/dist/components/radio-card/radio-card-group.d.ts +1 -1
  588. package/dist/components/radio-card/radio-card-group.d.ts.map +1 -1
  589. package/dist/components/radio-card/radio-card-group.js +23 -31
  590. package/dist/components/radio-card/radio-card.composition.d.ts +4 -4
  591. package/dist/components/radio-card/radio-card.composition.d.ts.map +1 -1
  592. package/dist/components/radio-card/radio-card.js +64 -81
  593. package/dist/components/rich-text-editor/boolean-control.d.ts +1 -1
  594. package/dist/components/rich-text-editor/boolean-control.d.ts.map +1 -1
  595. package/dist/components/rich-text-editor/boolean-control.js +50 -30
  596. package/dist/components/rich-text-editor/extensions.js +15 -17
  597. package/dist/components/rich-text-editor/rich-text-editor-control.d.ts +10 -10
  598. package/dist/components/rich-text-editor/rich-text-editor-control.d.ts.map +1 -1
  599. package/dist/components/rich-text-editor/rich-text-editor-control.js +273 -166
  600. package/dist/components/rich-text-editor/rich-text-editor-recipe.js +36 -10
  601. package/dist/components/rich-text-editor/rich-text-editor.composition.d.ts +4 -4
  602. package/dist/components/rich-text-editor/rich-text-editor.composition.d.ts.map +1 -1
  603. package/dist/components/rich-text-editor/rich-text-editor.d.ts +4 -4
  604. package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
  605. package/dist/components/rich-text-editor/rich-text-editor.js +68 -54
  606. package/dist/components/rich-text-editor/rich-text-renderer.d.ts +1 -1
  607. package/dist/components/rich-text-editor/rich-text-renderer.d.ts.map +1 -1
  608. package/dist/components/rich-text-editor/rich-text-renderer.js +30 -17
  609. package/dist/components/rich-text-editor/use-rich-text-editor.js +27 -14
  610. package/dist/components/segmented-control/segmented-control-item.d.ts +1 -1
  611. package/dist/components/segmented-control/segmented-control-item.d.ts.map +1 -1
  612. package/dist/components/segmented-control/segmented-control-item.js +23 -25
  613. package/dist/components/segmented-control/segmented-control.composition.d.ts +5 -5
  614. package/dist/components/segmented-control/segmented-control.composition.d.ts.map +1 -1
  615. package/dist/components/segmented-control/segmented-control.d.ts +1 -1
  616. package/dist/components/segmented-control/segmented-control.d.ts.map +1 -1
  617. package/dist/components/segmented-control/segmented-control.js +38 -38
  618. package/dist/components/segmented-control/types.d.ts +2 -1
  619. package/dist/components/segmented-control/types.d.ts.map +1 -1
  620. package/dist/components/select/select.composition.d.ts +3 -3
  621. package/dist/components/select/select.composition.d.ts.map +1 -1
  622. package/dist/components/select/select.js +27 -12
  623. package/dist/components/skeleton/skeleton-text.d.ts +1 -1
  624. package/dist/components/skeleton/skeleton-text.d.ts.map +1 -1
  625. package/dist/components/skeleton/skeleton-text.js +17 -12
  626. package/dist/components/skeleton/skeleton.composition.d.ts +2 -2
  627. package/dist/components/skeleton/skeleton.composition.d.ts.map +1 -1
  628. package/dist/components/skeleton/skeleton.d.ts +1 -1
  629. package/dist/components/skeleton/skeleton.d.ts.map +1 -1
  630. package/dist/components/skeleton/skeleton.js +18 -13
  631. package/dist/components/spinner/spinner.composition.d.ts +2 -2
  632. package/dist/components/spinner/spinner.composition.d.ts.map +1 -1
  633. package/dist/components/spinner/spinner.d.ts +1 -1
  634. package/dist/components/spinner/spinner.d.ts.map +1 -1
  635. package/dist/components/spinner/spinner.js +26 -49
  636. package/dist/components/stack/stack.composition.d.ts +3 -3
  637. package/dist/components/stack/stack.composition.d.ts.map +1 -1
  638. package/dist/components/stack/stack.js +17 -7
  639. package/dist/components/stepper/check-icon.js +1 -6
  640. package/dist/components/stepper/step-context.d.ts +2 -1
  641. package/dist/components/stepper/step-context.d.ts.map +1 -1
  642. package/dist/components/stepper/step.d.ts +1 -1
  643. package/dist/components/stepper/step.d.ts.map +1 -1
  644. package/dist/components/stepper/step.js +89 -69
  645. package/dist/components/stepper/stepper.composition.d.ts +6 -6
  646. package/dist/components/stepper/stepper.composition.d.ts.map +1 -1
  647. package/dist/components/stepper/stepper.d.ts +1 -1
  648. package/dist/components/stepper/stepper.d.ts.map +1 -1
  649. package/dist/components/stepper/stepper.js +41 -21
  650. package/dist/components/stepper/times-icon.js +1 -6
  651. package/dist/components/stepper/types.d.ts +2 -1
  652. package/dist/components/stepper/types.d.ts.map +1 -1
  653. package/dist/components/switch/switch.composition.d.ts +2 -2
  654. package/dist/components/switch/switch.composition.d.ts.map +1 -1
  655. package/dist/components/switch/switch.js +29 -33
  656. package/dist/components/table/table-cell.d.ts +1 -1
  657. package/dist/components/table/table-cell.d.ts.map +1 -1
  658. package/dist/components/table/table-cell.js +67 -92
  659. package/dist/components/table/table-content.d.ts +1 -1
  660. package/dist/components/table/table-content.d.ts.map +1 -1
  661. package/dist/components/table/table-content.js +26 -76
  662. package/dist/components/table/table-context-provider.d.ts +1 -1
  663. package/dist/components/table/table-context-provider.d.ts.map +1 -1
  664. package/dist/components/table/table-context-provider.js +28 -49
  665. package/dist/components/table/table-context.d.ts.map +1 -1
  666. package/dist/components/table/table-filter.d.ts +1 -1
  667. package/dist/components/table/table-filter.d.ts.map +1 -1
  668. package/dist/components/table/table-filter.js +68 -96
  669. package/dist/components/table/table-header-dropdown.d.ts +1 -1
  670. package/dist/components/table/table-header-dropdown.d.ts.map +1 -1
  671. package/dist/components/table/table-header-dropdown.js +65 -113
  672. package/dist/components/table/table-header-row.d.ts +1 -1
  673. package/dist/components/table/table-header-row.d.ts.map +1 -1
  674. package/dist/components/table/table-header-row.js +53 -106
  675. package/dist/components/table/table-recipe.js +6 -2
  676. package/dist/components/table/table-row-expand-toggle-button.d.ts +1 -1
  677. package/dist/components/table/table-row-expand-toggle-button.d.ts.map +1 -1
  678. package/dist/components/table/table-row-expand-toggle-button.js +26 -23
  679. package/dist/components/table/table-row.d.ts +1 -1
  680. package/dist/components/table/table-row.d.ts.map +1 -1
  681. package/dist/components/table/table-row.js +8 -26
  682. package/dist/components/table/table-toolbar-actions.d.ts +1 -1
  683. package/dist/components/table/table-toolbar-actions.d.ts.map +1 -1
  684. package/dist/components/table/table-toolbar-actions.js +4 -10
  685. package/dist/components/table/table-toolbar-add-button.d.ts +1 -1
  686. package/dist/components/table/table-toolbar-add-button.d.ts.map +1 -1
  687. package/dist/components/table/table-toolbar-search.d.ts +1 -1
  688. package/dist/components/table/table-toolbar-search.d.ts.map +1 -1
  689. package/dist/components/table/table-toolbar-search.js +6 -11
  690. package/dist/components/table/table-toolbar-settings.d.ts +1 -1
  691. package/dist/components/table/table-toolbar-settings.d.ts.map +1 -1
  692. package/dist/components/table/table-toolbar-settings.js +75 -144
  693. package/dist/components/table/table-toolbar.d.ts +1 -1
  694. package/dist/components/table/table-toolbar.d.ts.map +1 -1
  695. package/dist/components/table/table-toolbar.js +28 -34
  696. package/dist/components/table/table.composition.d.ts +5 -4
  697. package/dist/components/table/table.composition.d.ts.map +1 -1
  698. package/dist/components/table/table.d.ts +1 -1
  699. package/dist/components/table/table.d.ts.map +1 -1
  700. package/dist/components/table/table.js +1 -34
  701. package/dist/components/tabs/tab-list.d.ts +1 -1
  702. package/dist/components/tabs/tab-list.d.ts.map +1 -1
  703. package/dist/components/tabs/tab-list.js +15 -5
  704. package/dist/components/tabs/tab-panel.d.ts +1 -1
  705. package/dist/components/tabs/tab-panel.d.ts.map +1 -1
  706. package/dist/components/tabs/tab-panel.js +13 -5
  707. package/dist/components/tabs/tab-panels.d.ts +1 -1
  708. package/dist/components/tabs/tab-panels.d.ts.map +1 -1
  709. package/dist/components/tabs/tab-panels.js +12 -4
  710. package/dist/components/tabs/tab-with-image.d.ts +1 -1
  711. package/dist/components/tabs/tab-with-image.d.ts.map +1 -1
  712. package/dist/components/tabs/tab-with-image.js +51 -32
  713. package/dist/components/tabs/tab.d.ts +1 -1
  714. package/dist/components/tabs/tab.d.ts.map +1 -1
  715. package/dist/components/tabs/tab.js +21 -16
  716. package/dist/components/tabs/tabs-recipe.js +3 -1
  717. package/dist/components/tabs/tabs.composition.d.ts +6 -6
  718. package/dist/components/tabs/tabs.composition.d.ts.map +1 -1
  719. package/dist/components/tabs/tabs.d.ts +1 -1
  720. package/dist/components/tabs/tabs.d.ts.map +1 -1
  721. package/dist/components/tabs/tabs.js +22 -16
  722. package/dist/components/tag/tag-recipe.js +6 -1
  723. package/dist/components/tag/tag.composition.d.ts +4 -4
  724. package/dist/components/tag/tag.composition.d.ts.map +1 -1
  725. package/dist/components/tag/tag.d.ts +20 -20
  726. package/dist/components/tag/tag.d.ts.map +1 -1
  727. package/dist/components/tag/tag.js +41 -35
  728. package/dist/components/tag/types.d.ts +3 -2
  729. package/dist/components/tag/types.d.ts.map +1 -1
  730. package/dist/components/text/text.composition.d.ts +4 -4
  731. package/dist/components/text/text.composition.d.ts.map +1 -1
  732. package/dist/components/text/text.d.ts +1 -1
  733. package/dist/components/text/text.d.ts.map +1 -1
  734. package/dist/components/text/text.js +25 -35
  735. package/dist/components/textarea/textarea.composition.d.ts +3 -3
  736. package/dist/components/textarea/textarea.composition.d.ts.map +1 -1
  737. package/dist/components/textarea/textarea.js +16 -16
  738. package/dist/components/toaster/toast-store.d.ts +2 -1
  739. package/dist/components/toaster/toast-store.d.ts.map +1 -1
  740. package/dist/components/toaster/toast-store.js +19 -12
  741. package/dist/components/toaster/toaster.composition.d.ts +6 -6
  742. package/dist/components/toaster/toaster.composition.d.ts.map +1 -1
  743. package/dist/components/toaster/toaster.d.ts +1 -1
  744. package/dist/components/toaster/toaster.d.ts.map +1 -1
  745. package/dist/components/toaster/toaster.js +33 -18
  746. package/dist/components/toggle-button/toggle-button.composition.d.ts +2 -2
  747. package/dist/components/toggle-button/toggle-button.composition.d.ts.map +1 -1
  748. package/dist/components/toggle-button/toggle-button.d.ts +1 -1
  749. package/dist/components/toggle-button/toggle-button.d.ts.map +1 -1
  750. package/dist/components/toggle-button/toggle-button.js +23 -17
  751. package/dist/components/toggle-button/use-button-children.js +33 -24
  752. package/dist/components/tooltip/tooltip.composition.d.ts +4 -4
  753. package/dist/components/tooltip/tooltip.composition.d.ts.map +1 -1
  754. package/dist/components/tooltip/tooltip.d.ts +1 -1
  755. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  756. package/dist/components/tooltip/tooltip.js +44 -32
  757. package/dist/hooks/use-color-mode.js +20 -11
  758. package/dist/hooks/use-disclosure.js +8 -2
  759. package/dist/hooks/use-remove-attributes.js +20 -12
  760. package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +21 -0
  761. package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +14 -0
  762. package/dist/node_modules/react/compiler-runtime.js +10 -0
  763. package/dist/theme/theme-provider-context.composition.d.ts +9 -9
  764. package/dist/theme/theme-provider-context.composition.d.ts.map +1 -1
  765. package/dist/theme/theme-provider.d.ts +1 -1
  766. package/dist/theme/theme-provider.d.ts.map +1 -1
  767. package/dist/theme/theme-provider.js +32 -28
  768. package/dist/theme/theme.js +6 -2
  769. package/package.json +7 -6
@@ -1,38 +1,44 @@
1
- import { jsx as i, jsxs as u, Fragment as l } from "react/jsx-runtime";
2
- import { Tag as k, TagLabel as d } from "@chakra-ui/react";
3
- import { CloseIcon as f } from "../icon/icons/close-icon.js";
4
- function a({
5
- children: r,
6
- icon: s,
7
- onClose: e,
8
- ariaLabel: v,
9
- prepend: n,
10
- size: m = "xs",
11
- variant: t = "neutral",
12
- solid: g,
13
- isDisabled: p,
14
- append: c,
15
- ...P
16
- }) {
17
- const o = s, y = g ? `${t}Solid` : t;
18
- return /* @__PURE__ */ u(k.Root, { size: m, variant: y, ...P, children: [
19
- o && /* @__PURE__ */ i(o, { className: "tag-icon" }),
20
- n && /* @__PURE__ */ i(l, { children: n }),
21
- /* @__PURE__ */ i(d, { display: "flex", alignContent: "center", children: r }),
22
- c && /* @__PURE__ */ i(l, { children: c }),
23
- e && /* @__PURE__ */ i(
24
- k.CloseTrigger,
25
- {
26
- "aria-label": v,
27
- disabled: p,
28
- color: "inherit",
29
- onClick: e,
30
- children: /* @__PURE__ */ i(f, {})
31
- }
32
- )
33
- ] });
1
+ import { jsx as i, jsxs as F, Fragment as S } from "react/jsx-runtime";
2
+ import { c as j } from "../../_virtual/compiler-runtime.js";
3
+ import { Tag as T, TagLabel as B } from "@chakra-ui/react";
4
+ import { CloseIcon as I } from "../icon/icons/close-icon.js";
5
+ function a(r) {
6
+ const e = j.c(33);
7
+ let t, o, c, u, s, n, l, p, y, f, P;
8
+ e[0] !== r ? ({
9
+ children: c,
10
+ icon: u,
11
+ onClose: n,
12
+ ariaLabel: o,
13
+ prepend: l,
14
+ size: f,
15
+ variant: P,
16
+ solid: y,
17
+ isDisabled: s,
18
+ append: t,
19
+ ...p
20
+ } = r, e[0] = r, e[1] = t, e[2] = o, e[3] = c, e[4] = u, e[5] = s, e[6] = n, e[7] = l, e[8] = p, e[9] = y, e[10] = f, e[11] = P) : (t = e[1], o = e[2], c = e[3], u = e[4], s = e[5], n = e[6], l = e[7], p = e[8], y = e[9], f = e[10], P = e[11]);
21
+ const h = f === void 0 ? "xs" : f, L = P === void 0 ? "neutral" : P, C = u, x = y ? `${L}Solid` : L;
22
+ let v;
23
+ e[12] !== C ? (v = C && /* @__PURE__ */ i(C, { className: "tag-icon" }), e[12] = C, e[13] = v) : v = e[13];
24
+ let m;
25
+ e[14] !== l ? (m = l && /* @__PURE__ */ i(S, { children: l }), e[14] = l, e[15] = m) : m = e[15];
26
+ let k;
27
+ e[16] !== c ? (k = /* @__PURE__ */ i(B, { display: "flex", alignContent: "center", children: c }), e[16] = c, e[17] = k) : k = e[17];
28
+ let d;
29
+ e[18] !== t ? (d = t && /* @__PURE__ */ i(S, { children: t }), e[18] = t, e[19] = d) : d = e[19];
30
+ let g;
31
+ e[20] !== o || e[21] !== s || e[22] !== n ? (g = n && /* @__PURE__ */ i(T.CloseTrigger, { "aria-label": o, disabled: s, color: "inherit", onClick: n, children: /* @__PURE__ */ i(I, {}) }), e[20] = o, e[21] = s, e[22] = n, e[23] = g) : g = e[23];
32
+ let b;
33
+ return e[24] !== p || e[25] !== x || e[26] !== h || e[27] !== v || e[28] !== m || e[29] !== k || e[30] !== d || e[31] !== g ? (b = /* @__PURE__ */ F(T.Root, { size: h, variant: x, ...p, children: [
34
+ v,
35
+ m,
36
+ k,
37
+ d,
38
+ g
39
+ ] }), e[24] = p, e[25] = x, e[26] = h, e[27] = v, e[28] = m, e[29] = k, e[30] = d, e[31] = g, e[32] = b) : b = e[32], b;
34
40
  }
35
- const h = Object.assign(a, {
41
+ const H = Object.assign(a, {
36
42
  Neutral: (r) => /* @__PURE__ */ i(a, { ...r, variant: "neutral" }),
37
43
  Primary: (r) => /* @__PURE__ */ i(a, { ...r, variant: "primary" }),
38
44
  Secondary: (r) => /* @__PURE__ */ i(a, { ...r, variant: "secondary" }),
@@ -54,5 +60,5 @@ const h = Object.assign(a, {
54
60
  PickerSky: (r) => /* @__PURE__ */ i(a, { ...r, variant: "pickerSky" })
55
61
  });
56
62
  export {
57
- h as Tag
63
+ H as Tag
58
64
  };
@@ -1,6 +1,7 @@
1
1
  import { CasperIconComponent } from '../icon/index.js';
2
2
  import { MarginProps } from '../../theme/index.js';
3
3
  import { TagRootProps as ChakraTagRootProps, ConditionalValue } from '@chakra-ui/react';
4
+ import { ReactNode } from 'react';
4
5
  type CustomChakraTagProperties = Pick<ChakraTagRootProps, "children">;
5
6
  export type TagVariant = "neutral" | "primary" | "secondary" | "success" | "error" | "warning" | "info" | "muted" | "strong" | "pickerBerry" | "pickerCoral" | "pickerFlamingo" | "pickerFog" | "pickerHoney" | "pickerLemon" | "pickerLime" | "pickerOlive" | "pickerPlum" | "pickerSky";
6
7
  export type TagPropsBase = {
@@ -23,11 +24,11 @@ export type TagPropsBase = {
23
24
  /**
24
25
  * Element to prepend to the tag. Use if you need to display a custom element to the left of the label.
25
26
  */
26
- prepend?: JSX.Element | null;
27
+ prepend?: ReactNode;
27
28
  /**
28
29
  * Element to append to the tag. Use if you need to display a custom element to the right of the label.
29
30
  */
30
- append?: JSX.Element | null;
31
+ append?: ReactNode;
31
32
  /**
32
33
  * Disables the close button of the tag.
33
34
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/components/tag/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,IAAI,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE7F,KAAK,yBAAyB,GAAG,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAC;AAEtE,MAAM,MAAM,UAAU,GACnB,SAAS,GACT,SAAS,GACT,WAAW,GACX,SAAS,GACT,OAAO,GACP,SAAS,GACT,MAAM,GACN,OAAO,GACP,QAAQ,GACR,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,WAAW,GACX,aAAa,GACb,aAAa,GACb,YAAY,GACZ,aAAa,GACb,YAAY,GACZ,WAAW,CAAC;AAEf,MAAM,MAAM,YAAY,GAAG;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC;CAC5C,GAAG,yBAAyB,GAC5B,WAAW,CAAC;AAEb,KAAK,mBAAmB,GAAG,YAAY,GAAG;IACzC;;OAEG;IACH,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAC3C;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CAClB,CAAC;AAIF,KAAK,sBAAsB,GAAG,YAAY,GAAG;IAC5C,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,UAAU,CAAC,EAAE,KAAK,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,mBAAmB,GAAG,sBAAsB,CAAC;AAEpE,yFAAyF;AACzF,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG,IAAI,CAAC,sBAAsB,EAAE,SAAS,CAAC,CAAC;AAI7G,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,GAAG,UAAU,OAAO,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/components/tag/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,IAAI,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAC7F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,yBAAyB,GAAG,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAC;AAEtE,MAAM,MAAM,UAAU,GACnB,SAAS,GACT,SAAS,GACT,WAAW,GACX,SAAS,GACT,OAAO,GACP,SAAS,GACT,MAAM,GACN,OAAO,GACP,QAAQ,GACR,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,WAAW,GACX,aAAa,GACb,aAAa,GACb,YAAY,GACZ,aAAa,GACb,YAAY,GACZ,WAAW,CAAC;AAEf,MAAM,MAAM,YAAY,GAAG;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC;CAC5C,GAAG,yBAAyB,GAC5B,WAAW,CAAC;AAEb,KAAK,mBAAmB,GAAG,YAAY,GAAG;IACzC;;OAEG;IACH,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAC3C;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CAClB,CAAC;AAIF,KAAK,sBAAsB,GAAG,YAAY,GAAG;IAC5C,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,UAAU,CAAC,EAAE,KAAK,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,mBAAmB,GAAG,sBAAsB,CAAC;AAEpE,yFAAyF;AACzF,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG,IAAI,CAAC,sBAAsB,EAAE,SAAS,CAAC,CAAC;AAI7G,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,GAAG,UAAU,OAAO,CAAC"}
@@ -1,5 +1,5 @@
1
- export declare const FontVariants: () => import("react/jsx-runtime").JSX.Element;
2
- export declare const FontWeights: () => import("react/jsx-runtime").JSX.Element;
3
- export declare const FontSizes: () => import("react/jsx-runtime").JSX.Element;
4
- export declare const Truncated: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const FontVariants: () => import("react").JSX.Element;
2
+ export declare const FontWeights: () => import("react").JSX.Element;
3
+ export declare const FontSizes: () => import("react").JSX.Element;
4
+ export declare const Truncated: () => import("react").JSX.Element;
5
5
  //# sourceMappingURL=text.composition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/text/text.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,+CAKxB,CAAC;AAEF,eAAO,MAAM,WAAW,+CAMvB,CAAC;AAEF,eAAO,MAAM,SAAS,+CASrB,CAAC;AAEF,eAAO,MAAM,SAAS,+CAIrB,CAAC"}
1
+ {"version":3,"file":"text.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/text/text.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,mCAKxB,CAAC;AAEF,eAAO,MAAM,WAAW,mCAMvB,CAAC;AAEF,eAAO,MAAM,SAAS,mCASrB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAIrB,CAAC"}
@@ -16,6 +16,6 @@ export type TextProps = ThemeStyleProps & ChakraTextProperties & CustomPropertie
16
16
  *
17
17
  * @see Docs https://caspeco.github.io/casper-ui-library/components/text
18
18
  */
19
- export declare function Text({ as, fontFamily, fontSize, fontWeight, color, children, decoration, noOfLines, align, casing, isTruncated, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function Text({ as, fontFamily, fontSize, fontWeight, color, children, decoration, noOfLines, align, casing, isTruncated, ...props }: TextProps): import("react").JSX.Element;
20
20
  export {};
21
21
  //# sourceMappingURL=text.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../lib/components/text/text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4C,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AACzF,OAAO,EAAsB,KAAK,SAAS,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEzF,KAAK,gBAAgB,GAAG;IACvB,gEAAgE;IAChE,EAAE,CAAC,EAAE,GAAG,GAAG,MAAM,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAG3C,UAAU,CAAC,EAAE,eAAe,CAAC,gBAAgB,CAAC,CAAC;IAC/C,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACzC,KAAK,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACrC,MAAM,CAAC,EAAE,eAAe,CAAC,eAAe,CAAC,CAAC;IAC1C,WAAW,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;CAC1C,CAAC;AAEF,KAAK,oBAAoB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAE9D,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG,oBAAoB,GAAG,gBAAgB,CAAC;AAElF;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,EACpB,EAAQ,EACR,UAAmC,EACnC,QAAuC,EACvC,UAAqB,EACrB,KAAK,EACL,QAAQ,EACR,UAAU,EACV,SAAS,EACT,KAAK,EACL,MAAM,EACN,WAAW,EACX,GAAG,KAAK,EACR,EAAE,SAAS,2CAkBX"}
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../lib/components/text/text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4C,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AACzF,OAAO,EAAsB,KAAK,SAAS,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEzF,KAAK,gBAAgB,GAAG;IACvB,gEAAgE;IAChE,EAAE,CAAC,EAAE,GAAG,GAAG,MAAM,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAG3C,UAAU,CAAC,EAAE,eAAe,CAAC,gBAAgB,CAAC,CAAC;IAC/C,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACzC,KAAK,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACrC,MAAM,CAAC,EAAE,eAAe,CAAC,eAAe,CAAC,CAAC;IAC1C,WAAW,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;CAC1C,CAAC;AAEF,KAAK,oBAAoB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAE9D,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG,oBAAoB,GAAG,gBAAgB,CAAC;AAElF;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,EACpB,EAAQ,EACR,UAAmC,EACnC,QAAuC,EACvC,UAAqB,EACrB,KAAK,EACL,QAAQ,EACR,UAAU,EACV,SAAS,EACT,KAAK,EACL,MAAM,EACN,WAAW,EACX,GAAG,KAAK,EACR,EAAE,SAAS,+BAkBX"}
@@ -1,38 +1,28 @@
1
- import { jsx as f } from "react/jsx-runtime";
2
- import { Text as u } from "@chakra-ui/react";
3
- import { ThemeFontSizeVariable as c, ThemeFontVariable as s } from "../../theme/theme-types.js";
4
- function F({
5
- as: t = "p",
6
- fontFamily: e = s.Body,
7
- fontSize: r = c.Medium,
8
- fontWeight: o = "normal",
9
- color: m,
10
- children: i,
11
- decoration: n,
12
- noOfLines: a,
13
- align: x,
14
- casing: l,
15
- isTruncated: p,
16
- ...T
17
- }) {
18
- return /* @__PURE__ */ f(
19
- u,
20
- {
21
- as: t,
22
- fontFamily: e,
23
- fontSize: r,
24
- color: m,
25
- fontWeight: o,
26
- textDecoration: n,
27
- lineClamp: a,
28
- textAlign: x,
29
- textTransform: l,
30
- truncate: p,
31
- ...T,
32
- children: i
33
- }
34
- );
1
+ import { jsx as v } from "react/jsx-runtime";
2
+ import { c as F } from "../../_virtual/compiler-runtime.js";
3
+ import { Text as y } from "@chakra-ui/react";
4
+ import { ThemeFontVariable as z, ThemeFontSizeVariable as S } from "../../theme/theme-types.js";
5
+ function j(x) {
6
+ const t = F.c(26);
7
+ let e, o, i, n, l, r, a, m, s, c, f, p;
8
+ t[0] !== x ? ({
9
+ as: s,
10
+ fontFamily: c,
11
+ fontSize: f,
12
+ fontWeight: p,
13
+ color: n,
14
+ children: i,
15
+ decoration: l,
16
+ noOfLines: a,
17
+ align: e,
18
+ casing: o,
19
+ isTruncated: r,
20
+ ...m
21
+ } = x, t[0] = x, t[1] = e, t[2] = o, t[3] = i, t[4] = n, t[5] = l, t[6] = r, t[7] = a, t[8] = m, t[9] = s, t[10] = c, t[11] = f, t[12] = p) : (e = t[1], o = t[2], i = t[3], n = t[4], l = t[5], r = t[6], a = t[7], m = t[8], s = t[9], c = t[10], f = t[11], p = t[12]);
22
+ const T = s === void 0 ? "p" : s, u = c === void 0 ? z.Body : c, g = f === void 0 ? S.Medium : f, h = p === void 0 ? "normal" : p;
23
+ let d;
24
+ return t[13] !== e || t[14] !== T || t[15] !== o || t[16] !== i || t[17] !== n || t[18] !== l || t[19] !== u || t[20] !== g || t[21] !== h || t[22] !== r || t[23] !== a || t[24] !== m ? (d = /* @__PURE__ */ v(y, { as: T, fontFamily: u, fontSize: g, color: n, fontWeight: h, textDecoration: l, lineClamp: a, textAlign: e, textTransform: o, truncate: r, ...m, children: i }), t[13] = e, t[14] = T, t[15] = o, t[16] = i, t[17] = n, t[18] = l, t[19] = u, t[20] = g, t[21] = h, t[22] = r, t[23] = a, t[24] = m, t[25] = d) : d = t[25], d;
35
25
  }
36
26
  export {
37
- F as Text
27
+ j as Text
38
28
  };
@@ -1,4 +1,4 @@
1
- export declare const BasicTextarea: () => import("react/jsx-runtime").JSX.Element;
2
- export declare const HorisontalResize: () => import("react/jsx-runtime").JSX.Element;
3
- export declare const TextareaDisabled: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const BasicTextarea: () => import("react").JSX.Element;
2
+ export declare const HorisontalResize: () => import("react").JSX.Element;
3
+ export declare const TextareaDisabled: () => import("react").JSX.Element;
4
4
  //# sourceMappingURL=textarea.composition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/textarea/textarea.composition.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,+CAEzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,+CAE5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,+CAE5B,CAAC"}
1
+ {"version":3,"file":"textarea.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/textarea/textarea.composition.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,mCAEzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,mCAE5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,mCAE5B,CAAC"}
@@ -1,20 +1,20 @@
1
1
  import { jsx as d } from "react/jsx-runtime";
2
- import { Textarea as f } from "@chakra-ui/react";
3
- import m from "react";
4
- const p = m.forwardRef((e, r) => {
5
- const { isDisabled: a, isReadOnly: t, isRequired: i, resize: s, ...o } = e;
6
- return /* @__PURE__ */ d(
7
- f,
8
- {
9
- resize: s,
10
- ref: r,
11
- disabled: a,
12
- readOnly: t,
13
- required: i,
14
- ...o
15
- }
16
- );
2
+ import { c as f } from "../../_virtual/compiler-runtime.js";
3
+ import { Textarea as c } from "@chakra-ui/react";
4
+ import n from "react";
5
+ const T = n.forwardRef((o, m) => {
6
+ const e = f.c(13);
7
+ let t, r, i, a, l;
8
+ e[0] !== o ? ({
9
+ isDisabled: t,
10
+ isReadOnly: r,
11
+ isRequired: i,
12
+ resize: a,
13
+ ...l
14
+ } = o, e[0] = o, e[1] = t, e[2] = r, e[3] = i, e[4] = a, e[5] = l) : (t = e[1], r = e[2], i = e[3], a = e[4], l = e[5]);
15
+ let s;
16
+ return e[6] !== t || e[7] !== r || e[8] !== i || e[9] !== m || e[10] !== a || e[11] !== l ? (s = /* @__PURE__ */ d(c, { resize: a, ref: m, disabled: t, readOnly: r, required: i, ...l }), e[6] = t, e[7] = r, e[8] = i, e[9] = m, e[10] = a, e[11] = l, e[12] = s) : s = e[12], s;
17
17
  });
18
18
  export {
19
- p as Textarea
19
+ T as Textarea
20
20
  };
@@ -1,9 +1,10 @@
1
1
  import { AlertType } from '../alert/index.js';
2
2
  import { ThemeSpaceVariable } from '../../theme/index.js';
3
3
  import { ConditionalValue } from '@chakra-ui/react';
4
+ import { ReactNode } from 'react';
4
5
  export type ShowToastOptions = {
5
6
  /** Main text content to display in Toast. Required. */
6
- description: string | JSX.Element;
7
+ description: ReactNode;
7
8
  /** Optional title for Toast. */
8
9
  title?: string;
9
10
  /** Type of status the toast indicates. Defined by AlertType
@@ -1 +1 @@
1
- {"version":3,"file":"toast-store.d.ts","sourceRoot":"","sources":["../../../lib/components/toaster/toast-store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAwC,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE/F,MAAM,MAAM,gBAAgB,GAAG;IAC9B,uDAAuD;IACvD,WAAW,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;IAClC,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;kEAC8D;IAC9D,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,kBAAkB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,CAAC;IAExE,sGAAsG;IACtG,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,gBAAgB,EAAE,QAAQ,EAAE,EAAE,gBAAgB,QAYnG;AAGD,eAAO,MAAM,UAAU,oCASrB,CAAC"}
1
+ {"version":3,"file":"toast-store.d.ts","sourceRoot":"","sources":["../../../lib/components/toaster/toast-store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAwC,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAC/F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,gBAAgB,GAAG;IAC9B,uDAAuD;IACvD,WAAW,EAAE,SAAS,CAAC;IACvB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;kEAC8D;IAC9D,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,kBAAkB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,CAAC;IAExE,sGAAsG;IACtG,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,gBAAgB,EAAE,QAAQ,EAAE,EAAE,gBAAgB,QAgBnG;AAGD,eAAO,MAAM,UAAU,oCASrB,CAAC"}
@@ -1,17 +1,24 @@
1
- import { createToaster as m } from "@chakra-ui/react";
2
- function c({ title: o, description: e, type: r, distanceToBottom: a, duration: t }) {
3
- const p = t === null ? Number.MAX_SAFE_INTEGER : t;
4
- n.create({
5
- type: r,
6
- duration: p,
7
- title: o,
8
- description: e,
1
+ import { createToaster as s } from "@chakra-ui/react";
2
+ function f({
3
+ title: e,
4
+ description: a,
5
+ type: t,
6
+ distanceToBottom: r,
7
+ duration: o
8
+ }) {
9
+ const n = o === null ? Number.MAX_SAFE_INTEGER : o, p = t === "neutral" ? "info" : t;
10
+ m.create({
11
+ type: p,
12
+ duration: n,
13
+ title: e,
14
+ description: a,
9
15
  meta: {
10
- distanceToBottom: a
16
+ distanceToBottom: r,
17
+ alertType: t
11
18
  }
12
19
  });
13
20
  }
14
- const n = m({
21
+ const m = s({
15
22
  placement: "bottom",
16
23
  duration: 3e3,
17
24
  offsets: {
@@ -22,6 +29,6 @@ const n = m({
22
29
  }
23
30
  });
24
31
  export {
25
- c as showToast,
26
- n as toastStore
32
+ f as showToast,
33
+ m as toastStore
27
34
  };
@@ -1,7 +1,7 @@
1
- export declare const ErrorToast: () => import("react/jsx-runtime").JSX.Element;
2
- export declare const InfoToast: () => import("react/jsx-runtime").JSX.Element;
3
- export declare const WarningToast: () => import("react/jsx-runtime").JSX.Element;
4
- export declare const SuccessToast: () => import("react/jsx-runtime").JSX.Element;
5
- export declare const NeutralToast: () => import("react/jsx-runtime").JSX.Element;
6
- export declare const CustomDistanceToBottomToast: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const ErrorToast: () => import("react").JSX.Element;
2
+ export declare const InfoToast: () => import("react").JSX.Element;
3
+ export declare const WarningToast: () => import("react").JSX.Element;
4
+ export declare const SuccessToast: () => import("react").JSX.Element;
5
+ export declare const NeutralToast: () => import("react").JSX.Element;
6
+ export declare const CustomDistanceToBottomToast: () => import("react").JSX.Element;
7
7
  //# sourceMappingURL=toaster.composition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toaster.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/toaster/toaster.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,+CAkBtB,CAAC;AAEF,eAAO,MAAM,SAAS,+CAkBrB,CAAC;AAEF,eAAO,MAAM,YAAY,+CAkBxB,CAAC;AAEF,eAAO,MAAM,YAAY,+CAkBxB,CAAC;AAEF,eAAO,MAAM,YAAY,+CAkBxB,CAAC;AAEF,eAAO,MAAM,2BAA2B,+CAmBvC,CAAC"}
1
+ {"version":3,"file":"toaster.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/toaster/toaster.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,mCAkBtB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAkBrB,CAAC;AAEF,eAAO,MAAM,YAAY,mCAkBxB,CAAC;AAEF,eAAO,MAAM,YAAY,mCAkBxB,CAAC;AAEF,eAAO,MAAM,YAAY,mCAkBxB,CAAC;AAEF,eAAO,MAAM,2BAA2B,mCAmBvC,CAAC"}
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * @see Docs https://caspeco.github.io/casper-ui-library/components/toast
5
5
  */
6
- export declare const Toaster: () => import("react/jsx-runtime").JSX.Element;
6
+ export declare const Toaster: () => import("react").JSX.Element;
7
7
  //# sourceMappingURL=toaster.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toaster.d.ts","sourceRoot":"","sources":["../../../lib/components/toaster/toaster.tsx"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,eAAO,MAAM,OAAO,+CAwBnB,CAAC"}
1
+ {"version":3,"file":"toaster.d.ts","sourceRoot":"","sources":["../../../lib/components/toaster/toaster.tsx"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,eAAO,MAAM,OAAO,mCAwBnB,CAAC"}
@@ -1,21 +1,36 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { Portal as p, Toaster as h, Toast as e } from "@chakra-ui/react";
3
- import { toastStore as a } from "./toast-store.js";
4
- import { Alert as S } from "../alert/alert.js";
5
- import { ThemeSpaceVariable as t, ThemeShadowVariable as T } from "../../theme/theme-types.js";
6
- const w = () => {
7
- const m = { base: "100%", md: "560px" }, i = (r) => r?.distanceToBottom ?? { base: t.XSmall, md: t.XLarge };
8
- return /* @__PURE__ */ o(p, { children: /* @__PURE__ */ o(h, { toaster: a, children: ({ id: r, title: d, description: l, type: s, closable: n = !0, meta: c }) => /* @__PURE__ */ o(e.Root, { width: m, padding: t.Small, pb: i(c), children: /* @__PURE__ */ o(
9
- S,
10
- {
11
- title: d,
12
- type: s,
13
- onClose: n ? () => a.remove(r) : void 0,
14
- boxShadow: T.Small,
15
- children: /* @__PURE__ */ o(e.Description, { children: l })
16
- }
17
- ) }) }) });
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { c as T } from "../../_virtual/compiler-runtime.js";
3
+ import { Portal as u, Toaster as _, Toast as l } from "@chakra-ui/react";
4
+ import { toastStore as s } from "./toast-store.js";
5
+ import { Alert as x } from "../alert/alert.js";
6
+ import { ThemeSpaceVariable as a, ThemeShadowVariable as y } from "../../theme/theme-types.js";
7
+ const X = () => {
8
+ const e = T.c(2);
9
+ let o;
10
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = {
11
+ base: "100%",
12
+ md: "560px"
13
+ }, e[0] = o) : o = e[0];
14
+ const c = o, n = g;
15
+ let r;
16
+ return e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ t(u, { children: /* @__PURE__ */ t(_, { toaster: s, children: (d) => {
17
+ const {
18
+ id: p,
19
+ title: h,
20
+ description: f,
21
+ type: b,
22
+ closable: m,
23
+ meta: i
24
+ } = d, S = m === void 0 ? !0 : m;
25
+ return /* @__PURE__ */ t(l.Root, { width: c, padding: a.Small, pb: n(i), children: /* @__PURE__ */ t(x, { title: h, type: i?.alertType ?? b, onClose: S ? () => s.remove(p) : void 0, boxShadow: y.Small, children: /* @__PURE__ */ t(l.Description, { children: f }) }) });
26
+ } }) }), e[1] = r) : r = e[1], r;
18
27
  };
28
+ function g(e) {
29
+ return e?.distanceToBottom ?? {
30
+ base: a.XSmall,
31
+ md: a.XLarge
32
+ };
33
+ }
19
34
  export {
20
- w as Toaster
35
+ X as Toaster
21
36
  };
@@ -1,3 +1,3 @@
1
- export declare const Pressed: () => import("react/jsx-runtime").JSX.Element;
2
- export declare const NotPressed: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const Pressed: () => import("react").JSX.Element;
2
+ export declare const NotPressed: () => import("react").JSX.Element;
3
3
  //# sourceMappingURL=toggle-button.composition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-button.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/toggle-button/toggle-button.composition.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,+CASnB,CAAC;AAEF,eAAO,MAAM,UAAU,+CAStB,CAAC"}
1
+ {"version":3,"file":"toggle-button.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/toggle-button/toggle-button.composition.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,mCASnB,CAAC;AAEF,eAAO,MAAM,UAAU,mCAStB,CAAC"}
@@ -5,5 +5,5 @@ import { ToggleButtonProps } from './types.js';
5
5
  * @see Toggle button role on MDN: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/button_role#toggle_buttons
6
6
  * @see Docs https://caspeco.github.io/casper-ui-library/components/toggle-button
7
7
  */
8
- export declare function ToggleButton(props: ToggleButtonProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function ToggleButton(props: ToggleButtonProps): import("react").JSX.Element;
9
9
  //# sourceMappingURL=toggle-button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-button.d.ts","sourceRoot":"","sources":["../../../lib/components/toggle-button/toggle-button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAGjD;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,2CAiBpD"}
1
+ {"version":3,"file":"toggle-button.d.ts","sourceRoot":"","sources":["../../../lib/components/toggle-button/toggle-button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAGjD;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BAiBpD"}
@@ -1,20 +1,26 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import { Button as a } from "@chakra-ui/react";
3
- import { useButtonChildren as l } from "./use-button-children.js";
4
- function b(t) {
5
- const { isPressed: r = !1, isDisabled: o, variant: e = "outline", subText: u, children: d, ...n } = t, i = l(t);
6
- return /* @__PURE__ */ s(
7
- a,
8
- {
9
- "aria-pressed": r,
10
- type: "button",
11
- variant: e === "ghost" ? "toggleGhost" : "toggle",
12
- disabled: o,
13
- ...n,
14
- children: i
15
- }
16
- );
1
+ import { jsx as h } from "react/jsx-runtime";
2
+ import { c as b } from "../../_virtual/compiler-runtime.js";
3
+ import { Button as v } from "@chakra-ui/react";
4
+ import { useButtonChildren as p } from "./use-button-children.js";
5
+ function j(r) {
6
+ const t = b.c(11);
7
+ let e, o, i, s;
8
+ if (t[0] !== r) {
9
+ const {
10
+ isPressed: u,
11
+ isDisabled: m,
12
+ variant: f,
13
+ subText: x,
14
+ children: B,
15
+ ...g
16
+ } = r;
17
+ i = u, e = m, s = f, o = g, t[0] = r, t[1] = e, t[2] = o, t[3] = i, t[4] = s;
18
+ } else
19
+ e = t[1], o = t[2], i = t[3], s = t[4];
20
+ const l = i === void 0 ? !1 : i, d = s === void 0 ? "outline" : s, a = p(r), c = d === "ghost" ? "toggleGhost" : "toggle";
21
+ let n;
22
+ return t[5] !== a || t[6] !== c || t[7] !== e || t[8] !== l || t[9] !== o ? (n = /* @__PURE__ */ h(v, { "aria-pressed": l, type: "button", variant: c, disabled: e, ...o, children: a }), t[5] = a, t[6] = c, t[7] = e, t[8] = l, t[9] = o, t[10] = n) : n = t[10], n;
17
23
  }
18
24
  export {
19
- b as ToggleButton
25
+ j as ToggleButton
20
26
  };
@@ -1,27 +1,36 @@
1
- import { jsxs as a, jsx as o } from "react/jsx-runtime";
2
- import { useBreakpointValue as u, Flex as d, Text as r } from "@chakra-ui/react";
3
- import { ThemeFontSizeVariable as f } from "../../theme/theme-types.js";
4
- const m = ["md", "lg"];
5
- function T(s) {
6
- const { size: l, children: t, subText: n } = s, e = l ?? "md", i = u(
7
- typeof e == "string" || e === void 0 ? { base: e } : e,
8
- { ssr: !1 }
9
- ), c = i && m.includes(i);
10
- return n && c ? /* @__PURE__ */ a(d, { "aria-hidden": "true", flexDirection: "column", alignItems: "center", overflow: "hidden", children: [
11
- /* @__PURE__ */ o(r, { children: t }),
12
- /* @__PURE__ */ o(
13
- r,
14
- {
15
- fontSize: f.XSmall,
16
- textOverflow: "ellipsis",
17
- whiteSpace: "nowrap",
18
- overflow: "hidden",
19
- width: "100%",
20
- children: n
21
- }
22
- )
23
- ] }) : t;
1
+ import { jsx as f, jsxs as p } from "react/jsx-runtime";
2
+ import { c as x } from "../../_virtual/compiler-runtime.js";
3
+ import { useBreakpointValue as h, Text as m, Flex as T } from "@chakra-ui/react";
4
+ import { ThemeFontSizeVariable as b } from "../../theme/theme-types.js";
5
+ const w = ["md", "lg"];
6
+ function B(u) {
7
+ const e = x.c(10), {
8
+ size: d,
9
+ children: l,
10
+ subText: n
11
+ } = u, t = d ?? "md";
12
+ let r;
13
+ e[0] !== t ? (r = typeof t == "string" || t === void 0 ? {
14
+ base: t
15
+ } : t, e[0] = t, e[1] = r) : r = e[1];
16
+ let s;
17
+ e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = {
18
+ ssr: !1
19
+ }, e[2] = s) : s = e[2];
20
+ const a = h(r, s), S = a && w.includes(a);
21
+ if (n && S) {
22
+ let i;
23
+ e[3] !== l ? (i = /* @__PURE__ */ f(m, { children: l }), e[3] = l, e[4] = i) : i = e[4];
24
+ let o;
25
+ e[5] !== n ? (o = /* @__PURE__ */ f(m, { fontSize: b.XSmall, textOverflow: "ellipsis", whiteSpace: "nowrap", overflow: "hidden", width: "100%", children: n }), e[5] = n, e[6] = o) : o = e[6];
26
+ let c;
27
+ return e[7] !== i || e[8] !== o ? (c = /* @__PURE__ */ p(T, { "aria-hidden": "true", flexDirection: "column", alignItems: "center", overflow: "hidden", children: [
28
+ i,
29
+ o
30
+ ] }), e[7] = i, e[8] = o, e[9] = c) : c = e[9], c;
31
+ }
32
+ return l;
24
33
  }
25
34
  export {
26
- T as useButtonChildren
35
+ B as useButtonChildren
27
36
  };
@@ -1,5 +1,5 @@
1
- export declare const PositionTop: () => import("react/jsx-runtime").JSX.Element;
2
- export declare const PositionRight: () => import("react/jsx-runtime").JSX.Element;
3
- export declare const PositionBottom: () => import("react/jsx-runtime").JSX.Element;
4
- export declare const PositionLeft: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const PositionTop: () => import("react").JSX.Element;
2
+ export declare const PositionRight: () => import("react").JSX.Element;
3
+ export declare const PositionBottom: () => import("react").JSX.Element;
4
+ export declare const PositionLeft: () => import("react").JSX.Element;
5
5
  //# sourceMappingURL=tooltip.composition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/tooltip/tooltip.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,+CAMvB,CAAC;AAEF,eAAO,MAAM,aAAa,+CAMzB,CAAC;AAEF,eAAO,MAAM,cAAc,+CAM1B,CAAC;AAEF,eAAO,MAAM,YAAY,+CAMxB,CAAC"}
1
+ {"version":3,"file":"tooltip.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/tooltip/tooltip.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,mCAMvB,CAAC;AAEF,eAAO,MAAM,aAAa,mCAMzB,CAAC;AAEF,eAAO,MAAM,cAAc,mCAM1B,CAAC;AAEF,eAAO,MAAM,YAAY,mCAMxB,CAAC"}
@@ -12,6 +12,6 @@ export type TooltipProps = Pick<ChakraTooltip.RootProps, "children" | "disabled"
12
12
  * @see Docs https://caspeco.github.io/casper-ui-library/components/tooltip
13
13
  * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/
14
14
  */
15
- export declare function Tooltip(props: TooltipProps): string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | null | undefined;
15
+ export declare function Tooltip(props: TooltipProps): string | number | bigint | boolean | import("react").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
16
16
  export {};
17
17
  //# sourceMappingURL=tooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../lib/components/tooltip/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAMN,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,OAAO,IAAI,aAAa,EAAU,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACpF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,WAAW,GAAG,WAAW,CAAC,aAAa,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC;AAEvE,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,aAAa,CAAC,SAAS,EAAE,UAAU,GAAG,UAAU,CAAC,GAChF,oBAAoB,GACpB,YAAY,GACZ,WAAW,GACX,WAAW,GACX,SAAS,GACT,eAAe,GAAG;IAEjB,SAAS,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IACrC,KAAK,CAAC,EAAE,SAAS,CAAC;CAClB,CAAC;AAEH;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,gHAwC1C"}
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../lib/components/tooltip/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAMN,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,OAAO,IAAI,aAAa,EAAU,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACpF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,WAAW,GAAG,WAAW,CAAC,aAAa,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC;AAEvE,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,aAAa,CAAC,SAAS,EAAE,UAAU,GAAG,UAAU,CAAC,GAChF,oBAAoB,GACpB,YAAY,GACZ,WAAW,GACX,WAAW,GACX,SAAS,GACT,eAAe,GAAG;IAEjB,SAAS,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IACrC,KAAK,CAAC,EAAE,SAAS,CAAC;CAClB,CAAC;AAEH;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,+TAwC1C"}