@commercetools/nimbus 2.0.1-rc2 → 2.0.1-rc4

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 (627) hide show
  1. package/dist/chunks/{DateField-B-4ymU5i.es.js → DateField-DmPAxSnT.es.js} +8 -8
  2. package/dist/chunks/{DateField-B-4ymU5i.es.js.map → DateField-DmPAxSnT.es.js.map} +1 -1
  3. package/dist/chunks/{DatePicker-ByxT1sNF.es.js → DatePicker-D8m8YbnD.es.js} +6 -6
  4. package/dist/chunks/{DatePicker-ByxT1sNF.es.js.map → DatePicker-D8m8YbnD.es.js.map} +1 -1
  5. package/dist/chunks/{Heading-DFiVmZUR.es.js → Heading-lYSFVV4F.es.js} +2 -2
  6. package/dist/chunks/{Heading-DFiVmZUR.es.js.map → Heading-lYSFVV4F.es.js.map} +1 -1
  7. package/dist/chunks/accordion-B2FLWAh5.cjs.js.map +1 -1
  8. package/dist/chunks/accordion-CKDnNkVv.es.js.map +1 -1
  9. package/dist/chunks/{calendar-lD6G93R9.es.js → calendar-BkGJAIae.es.js} +3 -3
  10. package/dist/chunks/calendar-BkGJAIae.es.js.map +1 -0
  11. package/dist/chunks/calendar-V0KeNCQ3.cjs.js.map +1 -1
  12. package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js.map +1 -1
  13. package/dist/chunks/collapsible-motion-CSrKjF8X.es.js.map +1 -1
  14. package/dist/chunks/combobox-B5UxZWSX.cjs.js.map +1 -1
  15. package/dist/chunks/combobox-D_7gr3DY.es.js.map +1 -1
  16. package/dist/chunks/{date-input-Do1wXp3t.es.js → date-input-B_EuP5sc.es.js} +2 -2
  17. package/dist/chunks/{date-input-Do1wXp3t.es.js.map → date-input-B_EuP5sc.es.js.map} +1 -1
  18. package/dist/chunks/{date-picker-ClYge74a.es.js → date-picker-DFpgLG1U.es.js} +6 -6
  19. package/dist/chunks/{date-picker-ClYge74a.es.js.map → date-picker-DFpgLG1U.es.js.map} +1 -1
  20. package/dist/chunks/{date-range-picker-KRcGUZW-.es.js → date-range-picker-DVuIeQQd.es.js} +6 -6
  21. package/dist/chunks/{date-range-picker-KRcGUZW-.es.js.map → date-range-picker-DVuIeQQd.es.js.map} +1 -1
  22. package/dist/chunks/group-BqUFlw5R.cjs.js.map +1 -1
  23. package/dist/chunks/group-CWADf2vF.es.js.map +1 -1
  24. package/dist/chunks/icon-CenxuChf.es.js.map +1 -1
  25. package/dist/chunks/icon-D39U--jA.cjs.js.map +1 -1
  26. package/dist/chunks/kbd-BaeV_DL-.cjs.js.map +1 -1
  27. package/dist/chunks/kbd-CH9rYghB.es.js.map +1 -1
  28. package/dist/chunks/menu-D-vE6ZpM.es.js.map +1 -1
  29. package/dist/chunks/menu-DIepV2KZ.cjs.js.map +1 -1
  30. package/dist/chunks/popover-CfEq5G5-.cjs.js.map +1 -1
  31. package/dist/chunks/popover-DNaC7CwB.es.js.map +1 -1
  32. package/dist/chunks/{range-calendar-DBpl6y5i.es.js → range-calendar-D55DTDbA.es.js} +3 -3
  33. package/dist/chunks/range-calendar-D55DTDbA.es.js.map +1 -0
  34. package/dist/chunks/range-calendar-_dZfAsdG.cjs.js.map +1 -1
  35. package/dist/chunks/rich-text-input-BC8CBVio.es.js.map +1 -1
  36. package/dist/chunks/rich-text-input-Da5WFZ3l.cjs.js.map +1 -1
  37. package/dist/chunks/separator-CvRn_J0r.cjs.js.map +1 -1
  38. package/dist/chunks/separator-DJGUFG-o.es.js.map +1 -1
  39. package/dist/chunks/split-button-BO52sL7h.cjs.js.map +1 -1
  40. package/dist/chunks/split-button-BxyZmuNi.es.js.map +1 -1
  41. package/dist/chunks/switch-01hEhL9A.es.js.map +1 -1
  42. package/dist/chunks/switch-CdLhBEPq.cjs.js.map +1 -1
  43. package/dist/chunks/tabs-CJ0OAUSR.cjs.js.map +1 -1
  44. package/dist/chunks/tabs-Dhte-RCe.es.js.map +1 -1
  45. package/dist/chunks/tag-group-Btt0egzG.cjs.js.map +1 -1
  46. package/dist/chunks/tag-group-D2dgXSsV.es.js.map +1 -1
  47. package/dist/chunks/{time-input-DDrB_c0M.es.js → time-input-CUEnTp-4.es.js} +2 -2
  48. package/dist/chunks/{time-input-DDrB_c0M.es.js.map → time-input-CUEnTp-4.es.js.map} +1 -1
  49. package/dist/chunks/tooltip-BPTOkK7W.cjs.js.map +1 -1
  50. package/dist/chunks/tooltip-sgakxhiy.es.js.map +1 -1
  51. package/dist/chunks/{useDateFormatter-C4zVAL_K.es.js → useDateFormatter-4Wq50fMI.es.js} +3 -3
  52. package/dist/chunks/{useDateFormatter-C4zVAL_K.es.js.map → useDateFormatter-4Wq50fMI.es.js.map} +1 -1
  53. package/dist/components/accordion/accordion.d.ts +13 -0
  54. package/dist/components/accordion/accordion.recipe.d.ts +36 -0
  55. package/dist/components/accordion/accordion.slots.d.ts +8 -0
  56. package/dist/components/accordion/accordion.types.d.ts +48 -0
  57. package/dist/components/accordion/components/accordion-content.d.ts +2 -0
  58. package/dist/components/accordion/components/accordion-header.d.ts +2 -0
  59. package/dist/components/accordion/components/accordion-item.d.ts +2 -0
  60. package/dist/components/accordion/components/accordion-root.d.ts +9 -0
  61. package/dist/components/accordion/index.d.ts +2 -0
  62. package/dist/components/alert/alert.d.ts +30 -0
  63. package/dist/components/alert/alert.i18n.d.ts +7 -0
  64. package/dist/components/alert/alert.recipe.d.ts +40 -0
  65. package/dist/components/alert/alert.slots.d.ts +16 -0
  66. package/dist/components/alert/alert.types.d.ts +48 -0
  67. package/dist/components/alert/components/alert.actions.d.ts +5 -0
  68. package/dist/components/alert/components/alert.description.d.ts +5 -0
  69. package/dist/components/alert/components/alert.dismiss-button.d.ts +5 -0
  70. package/dist/components/alert/components/alert.root.d.ts +18 -0
  71. package/dist/components/alert/components/alert.title.d.ts +5 -0
  72. package/dist/components/alert/index.d.ts +2 -0
  73. package/dist/components/avatar/avatar.d.ts +5 -0
  74. package/dist/components/avatar/avatar.recipe.d.ts +19 -0
  75. package/dist/components/avatar/avatar.slots.d.ts +3 -0
  76. package/dist/{avatar.d.ts → components/avatar/avatar.types.d.ts} +42 -63
  77. package/dist/components/avatar/index.d.ts +2 -0
  78. package/dist/components/badge/badge.d.ts +12 -0
  79. package/dist/components/badge/badge.recipe.d.ts +41 -0
  80. package/dist/components/badge/badge.slots.d.ts +3 -0
  81. package/dist/components/badge/badge.types.d.ts +24 -0
  82. package/dist/components/badge/index.d.ts +2 -0
  83. package/dist/{box.d.ts → components/box/box.d.ts} +16 -30
  84. package/dist/components/box/index.d.ts +1 -0
  85. package/dist/components/button/button.d.ts +12 -0
  86. package/dist/components/button/button.recipe.d.ts +107 -0
  87. package/dist/components/button/button.slots.d.ts +11 -0
  88. package/dist/components/button/button.types.d.ts +36 -0
  89. package/dist/components/button/index.d.ts +2 -0
  90. package/dist/components/calendar/calendar.d.ts +10 -0
  91. package/dist/components/calendar/calendar.recipe.d.ts +1 -0
  92. package/dist/components/calendar/calendar.slots.d.ts +11 -0
  93. package/dist/components/calendar/calendar.types.d.ts +16 -0
  94. package/dist/components/calendar/components/calendar.custom-context.d.ts +3 -0
  95. package/dist/components/calendar/components/calendar.grids.d.ts +1 -0
  96. package/dist/components/calendar/components/calendar.header.d.ts +1 -0
  97. package/dist/components/calendar/index.d.ts +2 -0
  98. package/dist/components/calendar.es.js +1 -1
  99. package/dist/components/card/card.d.ts +18 -0
  100. package/dist/components/card/card.recipe.d.ts +52 -0
  101. package/dist/components/card/card.slots.d.ts +12 -0
  102. package/dist/components/card/card.types.d.ts +28 -0
  103. package/dist/components/card/components/card.content.d.ts +5 -0
  104. package/dist/components/card/components/card.header.d.ts +5 -0
  105. package/dist/components/card/components/card.root.d.ts +18 -0
  106. package/dist/components/card/index.d.ts +2 -0
  107. package/dist/components/checkbox/checkbox.d.ts +12 -0
  108. package/dist/components/checkbox/checkbox.recipe.d.ts +27 -0
  109. package/dist/components/checkbox/checkbox.slots.d.ts +5 -0
  110. package/dist/components/checkbox/checkbox.types.d.ts +24 -0
  111. package/dist/components/checkbox/index.d.ts +2 -0
  112. package/dist/components/code/code.d.ts +10 -0
  113. package/dist/components/code/code.recipe.d.ts +48 -0
  114. package/dist/components/code/index.d.ts +1 -0
  115. package/dist/components/collapsible-motion/collapsible-motion.d.ts +10 -0
  116. package/dist/components/collapsible-motion/collapsible-motion.recipe.d.ts +1 -0
  117. package/dist/components/collapsible-motion/collapsible-motion.slots.d.ts +5 -0
  118. package/dist/components/collapsible-motion/collapsible-motion.types.d.ts +59 -0
  119. package/dist/components/collapsible-motion/components/collapsible-motion-content.d.ts +9 -0
  120. package/dist/components/collapsible-motion/components/collapsible-motion-context.d.ts +9 -0
  121. package/dist/components/collapsible-motion/components/collapsible-motion-root.d.ts +8 -0
  122. package/dist/components/collapsible-motion/components/collapsible-motion-trigger.d.ts +10 -0
  123. package/dist/components/collapsible-motion/index.d.ts +2 -0
  124. package/dist/components/combobox/combobox.d.ts +18 -0
  125. package/dist/components/combobox/combobox.recipe.d.ts +96 -0
  126. package/dist/components/combobox/combobox.slots.d.ts +27 -0
  127. package/dist/components/combobox/combobox.types.d.ts +152 -0
  128. package/dist/components/combobox/components/combobox.leading-element.d.ts +11 -0
  129. package/dist/components/combobox/components/combobox.multi-select-button-group.d.ts +2 -0
  130. package/dist/components/combobox/components/combobox.multi-select-root.d.ts +2 -0
  131. package/dist/components/combobox/components/combobox.multi-select-tag-group.d.ts +2 -0
  132. package/dist/components/combobox/components/combobox.option-group.d.ts +6 -0
  133. package/dist/components/combobox/components/combobox.option.d.ts +5 -0
  134. package/dist/components/combobox/components/combobox.options.d.ts +5 -0
  135. package/dist/components/combobox/components/combobox.root.d.ts +12 -0
  136. package/dist/components/combobox/components/combobox.single-select-button-group.d.ts +2 -0
  137. package/dist/components/combobox/components/combobox.single-select-input.d.ts +2 -0
  138. package/dist/components/combobox/components/combobox.single-select-root.d.ts +2 -0
  139. package/dist/components/combobox/index.d.ts +2 -0
  140. package/dist/components/data-table/components/data-table.body.d.ts +5 -0
  141. package/dist/components/data-table/components/data-table.cell.d.ts +2 -0
  142. package/dist/components/data-table/components/data-table.column.d.ts +2 -0
  143. package/dist/components/data-table/components/data-table.context.d.ts +3 -0
  144. package/dist/components/data-table/components/data-table.footer.d.ts +11 -0
  145. package/dist/components/data-table/components/data-table.header.d.ts +5 -0
  146. package/dist/components/data-table/components/data-table.root.d.ts +5 -0
  147. package/dist/components/data-table/components/data-table.row.d.ts +5 -0
  148. package/dist/components/data-table/components/data-table.table.d.ts +5 -0
  149. package/dist/components/data-table/data-table.d.ts +52 -0
  150. package/dist/components/data-table/data-table.recipe.d.ts +32 -0
  151. package/dist/components/data-table/data-table.slots.d.ts +21 -0
  152. package/dist/components/data-table/data-table.types.d.ts +154 -0
  153. package/dist/components/data-table/index.d.ts +2 -0
  154. package/dist/components/data-table/test-data.d.ts +58 -0
  155. package/dist/components/data-table/utils/rows.utils.d.ts +4 -0
  156. package/dist/components/date-input/date-input.d.ts +12 -0
  157. package/dist/components/date-input/date-input.recipe.d.ts +71 -0
  158. package/dist/components/date-input/date-input.slots.d.ts +18 -0
  159. package/dist/components/date-input/date-input.types.d.ts +20 -0
  160. package/dist/components/date-input/index.d.ts +2 -0
  161. package/dist/components/date-input.es.js +1 -1
  162. package/dist/components/date-picker/components/date-picker.custom-context.d.ts +3 -0
  163. package/dist/components/date-picker/components/date-picker.time-input.d.ts +2 -0
  164. package/dist/components/date-picker/date-picker.d.ts +12 -0
  165. package/dist/components/date-picker/date-picker.i18n.d.ts +33 -0
  166. package/dist/components/date-picker/date-picker.recipe.d.ts +14 -0
  167. package/dist/components/date-picker/date-picker.slots.d.ts +30 -0
  168. package/dist/components/date-picker/date-picker.types.d.ts +43 -0
  169. package/dist/components/date-picker/index.d.ts +2 -0
  170. package/dist/components/date-picker.es.js +1 -1
  171. package/dist/components/date-range-picker/components/date-range-picker.custom-context.d.ts +4 -0
  172. package/dist/components/date-range-picker/components/date-range-picker.time-input.d.ts +2 -0
  173. package/dist/components/date-range-picker/date-range-picker.d.ts +11 -0
  174. package/dist/components/date-range-picker/date-range-picker.recipe.d.ts +34 -0
  175. package/dist/components/date-range-picker/date-range-picker.slots.d.ts +36 -0
  176. package/dist/components/date-range-picker/date-range-picker.types.d.ts +44 -0
  177. package/dist/components/date-range-picker/index.d.ts +2 -0
  178. package/dist/components/date-range-picker.es.js +1 -1
  179. package/dist/components/dialog/components/dialog.body.d.ts +5 -0
  180. package/dist/components/dialog/components/dialog.close-trigger.d.ts +5 -0
  181. package/dist/components/dialog/components/dialog.content.d.ts +5 -0
  182. package/dist/components/dialog/components/dialog.context.d.ts +19 -0
  183. package/dist/components/dialog/components/dialog.footer.d.ts +5 -0
  184. package/dist/components/dialog/components/dialog.header.d.ts +5 -0
  185. package/dist/components/dialog/components/dialog.root.d.ts +5 -0
  186. package/dist/components/dialog/components/dialog.title.d.ts +5 -0
  187. package/dist/components/dialog/components/dialog.trigger.d.ts +5 -0
  188. package/dist/components/dialog/components/index.d.ts +8 -0
  189. package/dist/components/dialog/dialog.d.ts +229 -0
  190. package/dist/components/dialog/dialog.i18n.d.ts +7 -0
  191. package/dist/components/dialog/dialog.recipe.d.ts +54 -0
  192. package/dist/components/dialog/dialog.slots.d.ts +28 -0
  193. package/dist/components/dialog/dialog.types.d.ts +189 -0
  194. package/dist/components/dialog/index.d.ts +2 -0
  195. package/dist/components/draggable-list/components/draggable-list.field.d.ts +2 -0
  196. package/dist/components/draggable-list/components/draggable-list.item.d.ts +2 -0
  197. package/dist/components/draggable-list/components/draggable-list.root.d.ts +2 -0
  198. package/dist/components/draggable-list/draggable-list.d.ts +107 -0
  199. package/dist/components/draggable-list/draggable-list.i18n.d.ts +12 -0
  200. package/dist/components/draggable-list/draggable-list.recipe.d.ts +14 -0
  201. package/dist/components/draggable-list/draggable-list.slots.d.ts +6 -0
  202. package/dist/components/draggable-list/draggable-list.types.d.ts +141 -0
  203. package/dist/components/draggable-list/index.d.ts +2 -0
  204. package/dist/components/draggable-list/utils/draggable-list.test-data.d.ts +3 -0
  205. package/dist/components/draggable-list/utils/draggable-list.test-utils.d.ts +1 -0
  206. package/dist/components/drawer/components/drawer.body.d.ts +5 -0
  207. package/dist/components/drawer/components/drawer.close-trigger.d.ts +5 -0
  208. package/dist/components/drawer/components/drawer.content.d.ts +5 -0
  209. package/dist/components/drawer/components/drawer.context.d.ts +19 -0
  210. package/dist/components/drawer/components/drawer.footer.d.ts +5 -0
  211. package/dist/components/drawer/components/drawer.header.d.ts +5 -0
  212. package/dist/components/drawer/components/drawer.root.d.ts +5 -0
  213. package/dist/components/drawer/components/drawer.title.d.ts +5 -0
  214. package/dist/components/drawer/components/drawer.trigger.d.ts +5 -0
  215. package/dist/components/drawer/components/index.d.ts +8 -0
  216. package/dist/components/drawer/drawer.d.ts +228 -0
  217. package/dist/components/drawer/drawer.i18n.d.ts +7 -0
  218. package/dist/components/drawer/drawer.recipe.d.ts +98 -0
  219. package/dist/components/drawer/drawer.slots.d.ts +21 -0
  220. package/dist/components/drawer/drawer.types.d.ts +175 -0
  221. package/dist/components/drawer/index.d.ts +3 -0
  222. package/dist/components/field-errors/field-errors.d.ts +34 -0
  223. package/dist/components/field-errors/field-errors.i18n.d.ts +77 -0
  224. package/dist/components/field-errors/field-errors.recipe.d.ts +1 -0
  225. package/dist/components/field-errors/field-errors.slots.d.ts +6 -0
  226. package/dist/{field-errors.d.ts → components/field-errors/field-errors.types.d.ts} +95 -144
  227. package/dist/components/field-errors/index.d.ts +3 -0
  228. package/dist/components/flex/flex.d.ts +8 -0
  229. package/dist/components/flex/index.d.ts +1 -0
  230. package/dist/components/form-field/components/form-field.context.d.ts +22 -0
  231. package/dist/components/form-field/components/form-field.description.d.ts +2 -0
  232. package/dist/components/form-field/components/form-field.error.d.ts +2 -0
  233. package/dist/components/form-field/components/form-field.info-box.d.ts +9 -0
  234. package/dist/components/form-field/components/form-field.input.d.ts +2 -0
  235. package/dist/components/form-field/components/form-field.label.d.ts +2 -0
  236. package/dist/components/form-field/components/form-field.root.d.ts +9 -0
  237. package/dist/components/form-field/form-field.d.ts +17 -0
  238. package/dist/components/form-field/form-field.recipe.d.ts +49 -0
  239. package/dist/components/form-field/form-field.slots.d.ts +15 -0
  240. package/dist/components/form-field/form-field.types.d.ts +54 -0
  241. package/dist/components/form-field/index.d.ts +2 -0
  242. package/dist/components/grid/grid.d.ts +18 -0
  243. package/dist/components/grid/index.d.ts +1 -0
  244. package/dist/components/group/group.d.ts +2 -0
  245. package/dist/components/group/group.recipe.d.ts +5 -0
  246. package/dist/components/group/group.slots.d.ts +8 -0
  247. package/dist/components/group/group.types.d.ts +17 -0
  248. package/dist/components/group/index.d.ts +2 -0
  249. package/dist/{heading.d.ts → components/heading/heading.d.ts} +41 -55
  250. package/dist/components/heading/heading.recipe.d.ts +37 -0
  251. package/dist/components/heading/index.d.ts +1 -0
  252. package/dist/components/icon/icon.d.ts +12 -0
  253. package/dist/components/icon/icon.recipe.d.ts +29 -0
  254. package/dist/components/icon/icon.slots.d.ts +7 -0
  255. package/dist/components/icon/icon.types.d.ts +29 -0
  256. package/dist/components/icon/index.d.ts +2 -0
  257. package/dist/components/icon-button/icon-button.d.ts +12 -0
  258. package/dist/components/icon-button/icon-button.types.d.ts +11 -0
  259. package/dist/components/icon-button/index.d.ts +2 -0
  260. package/dist/components/icon-toggle-button/icon-toggle-button.d.ts +12 -0
  261. package/dist/components/icon-toggle-button/icon-toggle-button.types.d.ts +11 -0
  262. package/dist/components/icon-toggle-button/index.d.ts +2 -0
  263. package/dist/components/image/image.d.ts +13 -0
  264. package/dist/components/image/index.d.ts +1 -0
  265. package/dist/components/index.d.ts +65 -0
  266. package/dist/components/inline-svg/constants/index.d.ts +1 -0
  267. package/dist/{constants.d.ts → components/inline-svg/constants/sanitization.constants.d.ts} +8 -20
  268. package/dist/components/inline-svg/hooks/index.d.ts +1 -0
  269. package/dist/{hooks.d.ts → components/inline-svg/hooks/use-inline-svg.d.ts} +10 -21
  270. package/dist/components/inline-svg/index.d.ts +2 -0
  271. package/dist/components/inline-svg/inline-svg.d.ts +23 -0
  272. package/dist/components/inline-svg/inline-svg.slots.d.ts +22 -0
  273. package/dist/components/inline-svg/inline-svg.types.d.ts +12 -0
  274. package/dist/components/inline-svg/utils/index.d.ts +1 -0
  275. package/dist/{utils.d.ts → components/inline-svg/utils/sanitize-svg.d.ts} +32 -44
  276. package/dist/components/kbd/index.d.ts +1 -0
  277. package/dist/components/kbd/kbd.d.ts +15 -0
  278. package/dist/components/kbd/kbd.recipe.d.ts +1 -0
  279. package/dist/components/kbd/kbd.slots.d.ts +19 -0
  280. package/dist/components/link/index.d.ts +2 -0
  281. package/dist/components/link/link.d.ts +12 -0
  282. package/dist/components/link/link.recipe.d.ts +28 -0
  283. package/dist/components/link/link.slots.d.ts +8 -0
  284. package/dist/components/link/link.types.d.ts +27 -0
  285. package/dist/components/list/index.d.ts +1 -0
  286. package/dist/components/list/list.d.ts +18 -0
  287. package/dist/components/list/list.recipe.d.ts +38 -0
  288. package/dist/components/loading-spinner/index.d.ts +2 -0
  289. package/dist/components/loading-spinner/loading-spinner.d.ts +12 -0
  290. package/dist/components/loading-spinner/loading-spinner.i18n.d.ts +8 -0
  291. package/dist/components/loading-spinner/loading-spinner.recipe.d.ts +36 -0
  292. package/dist/components/loading-spinner/loading-spinner.slots.d.ts +6 -0
  293. package/dist/components/loading-spinner/loading-spinner.types.d.ts +24 -0
  294. package/dist/components/localized-field/components/localized-field.locale-field.d.ts +2 -0
  295. package/dist/components/localized-field/components/localized-field.root.d.ts +2 -0
  296. package/dist/components/localized-field/index.d.ts +2 -0
  297. package/dist/components/localized-field/localized-field.d.ts +17 -0
  298. package/dist/components/localized-field/localized-field.i18n.d.ts +33 -0
  299. package/dist/components/localized-field/localized-field.recipe.d.ts +22 -0
  300. package/dist/components/localized-field/localized-field.slots.d.ts +19 -0
  301. package/dist/components/localized-field/localized-field.types.d.ts +188 -0
  302. package/dist/components/localized-field/utils/localized-field.story-component.d.ts +39 -0
  303. package/dist/components/localized-field/utils/localized-field.utils.d.ts +34 -0
  304. package/dist/components/localized-field/utils/test-data.d.ts +340 -0
  305. package/dist/components/localized-field/utils/test-utils.d.ts +22 -0
  306. package/dist/components/menu/components/menu.content.d.ts +5 -0
  307. package/dist/components/menu/components/menu.context.d.ts +5 -0
  308. package/dist/components/menu/components/menu.item.d.ts +5 -0
  309. package/dist/components/menu/components/menu.root.d.ts +5 -0
  310. package/dist/components/menu/components/menu.section-context.d.ts +5 -0
  311. package/dist/components/menu/components/menu.section-label.d.ts +8 -0
  312. package/dist/components/menu/components/menu.section.d.ts +5 -0
  313. package/dist/components/menu/components/menu.submenu-trigger.d.ts +5 -0
  314. package/dist/components/menu/components/menu.submenu.d.ts +5 -0
  315. package/dist/components/menu/components/menu.trigger.d.ts +5 -0
  316. package/dist/components/menu/index.d.ts +2 -0
  317. package/dist/components/menu/menu.d.ts +39 -0
  318. package/dist/components/menu/menu.recipe.d.ts +5 -0
  319. package/dist/components/menu/menu.slots.d.ts +10 -0
  320. package/dist/components/menu/menu.types.d.ts +62 -0
  321. package/dist/components/money-input/index.d.ts +2 -0
  322. package/dist/components/money-input/money-input.d.ts +77 -0
  323. package/dist/components/money-input/money-input.i18n.d.ts +18 -0
  324. package/dist/components/money-input/money-input.recipe.d.ts +40 -0
  325. package/dist/components/money-input/money-input.slots.d.ts +8 -0
  326. package/dist/components/money-input/money-input.types.d.ts +102 -0
  327. package/dist/{money-input.d.ts → components/money-input/utils/currencies.d.ts} +666 -879
  328. package/dist/components/money-input/utils/index.d.ts +2 -0
  329. package/dist/components/money-input/utils/parsing-utilities.d.ts +22 -0
  330. package/dist/components/money-input/utils/static-methods.d.ts +6 -0
  331. package/dist/components/multiline-text-input/hooks/index.d.ts +1 -0
  332. package/dist/components/multiline-text-input/hooks/use-autogrow.d.ts +16 -0
  333. package/dist/components/multiline-text-input/index.d.ts +2 -0
  334. package/dist/components/multiline-text-input/multiline-text-input.d.ts +12 -0
  335. package/dist/components/multiline-text-input/multiline-text-input.recipe.d.ts +64 -0
  336. package/dist/components/multiline-text-input/multiline-text-input.slots.d.ts +16 -0
  337. package/dist/components/multiline-text-input/multiline-text-input.types.d.ts +42 -0
  338. package/dist/components/nimbus-provider/components/nimbus-provider.color-mode-provider.d.ts +2 -0
  339. package/dist/components/nimbus-provider/index.d.ts +2 -0
  340. package/dist/components/nimbus-provider/nimbus-provider.d.ts +9 -0
  341. package/dist/{nimbus-provider.d.ts → components/nimbus-provider/nimbus-provider.types.d.ts} +92 -119
  342. package/dist/components/number-input/index.d.ts +2 -0
  343. package/dist/components/number-input/number-input.d.ts +11 -0
  344. package/dist/components/number-input/number-input.i18n.d.ts +13 -0
  345. package/dist/components/number-input/number-input.recipe.d.ts +113 -0
  346. package/dist/components/number-input/number-input.slots.d.ts +42 -0
  347. package/dist/components/number-input/number-input.types.d.ts +40 -0
  348. package/dist/components/pagination/hooks/use-pagination.d.ts +72 -0
  349. package/dist/components/pagination/index.d.ts +2 -0
  350. package/dist/components/pagination/pagination.d.ts +13 -0
  351. package/dist/{pagination.d.ts → components/pagination/pagination.types.d.ts} +44 -70
  352. package/dist/components/password-input/index.d.ts +2 -0
  353. package/dist/components/password-input/password-input.d.ts +12 -0
  354. package/dist/components/password-input/password-input.i18n.d.ts +13 -0
  355. package/dist/components/password-input/password-input.types.d.ts +2 -0
  356. package/dist/components/popover/index.d.ts +2 -0
  357. package/dist/components/popover/popover.d.ts +12 -0
  358. package/dist/components/popover/popover.recipe.d.ts +5 -0
  359. package/dist/components/popover/popover.slots.d.ts +4 -0
  360. package/dist/components/popover/popover.types.d.ts +6 -0
  361. package/dist/components/progress-bar/index.d.ts +2 -0
  362. package/dist/components/progress-bar/progress-bar.d.ts +22 -0
  363. package/dist/components/progress-bar/progress-bar.recipe.d.ts +91 -0
  364. package/dist/components/progress-bar/progress-bar.slots.d.ts +20 -0
  365. package/dist/components/progress-bar/progress-bar.types.d.ts +53 -0
  366. package/dist/components/radio-input/components/radio-input.option.d.ts +5 -0
  367. package/dist/components/radio-input/components/radio-input.root.d.ts +12 -0
  368. package/dist/components/radio-input/index.d.ts +2 -0
  369. package/dist/components/radio-input/radio-input.d.ts +13 -0
  370. package/dist/components/radio-input/radio-input.recipe.d.ts +21 -0
  371. package/dist/components/radio-input/radio-input.slots.d.ts +6 -0
  372. package/dist/components/radio-input/radio-input.types.d.ts +18 -0
  373. package/dist/components/range-calendar/components/range-calendar.custom-context.d.ts +3 -0
  374. package/dist/components/range-calendar/components/range-calendar.grids.d.ts +1 -0
  375. package/dist/components/range-calendar/components/range-calendar.header.d.ts +1 -0
  376. package/dist/components/range-calendar/index.d.ts +2 -0
  377. package/dist/components/range-calendar/range-calendar.d.ts +3 -0
  378. package/dist/components/range-calendar/range-calendar.recipe.d.ts +1 -0
  379. package/dist/components/range-calendar/range-calendar.slots.d.ts +11 -0
  380. package/dist/components/range-calendar/range-calendar.types.d.ts +20 -0
  381. package/dist/components/range-calendar.es.js +1 -1
  382. package/dist/components/rich-text-input/components/formatting-menu.d.ts +4 -0
  383. package/dist/components/rich-text-input/components/rich-text-editor.d.ts +25 -0
  384. package/dist/components/rich-text-input/components/rich-text-toolbar.d.ts +7 -0
  385. package/dist/components/rich-text-input/constants/editor-constants.d.ts +65 -0
  386. package/dist/components/rich-text-input/constants/index.d.ts +2 -0
  387. package/dist/components/rich-text-input/constants/text-styles.d.ts +32 -0
  388. package/dist/components/rich-text-input/hooks/index.d.ts +4 -0
  389. package/dist/components/rich-text-input/hooks/use-formatting-state.d.ts +10 -0
  390. package/dist/components/rich-text-input/hooks/use-keyboard-shortcuts.d.ts +7 -0
  391. package/dist/components/rich-text-input/hooks/use-preserved-selection.d.ts +11 -0
  392. package/dist/components/rich-text-input/hooks/use-toolbar-state.d.ts +15 -0
  393. package/dist/components/rich-text-input/index.d.ts +2 -0
  394. package/dist/components/rich-text-input/rich-text-input.d.ts +8 -0
  395. package/dist/components/rich-text-input/rich-text-input.recipe.d.ts +1 -0
  396. package/dist/components/rich-text-input/rich-text-input.slots.d.ts +5 -0
  397. package/dist/components/rich-text-input/rich-text-input.types.d.ts +54 -0
  398. package/dist/components/rich-text-input/utils/html-serialization.d.ts +4 -0
  399. package/dist/components/rich-text-input/utils/index.d.ts +5 -0
  400. package/dist/components/rich-text-input/utils/is-empty.d.ts +4 -0
  401. package/dist/components/rich-text-input/utils/slate-helpers.d.ts +19 -0
  402. package/dist/components/rich-text-input/utils/text-style-utils.d.ts +33 -0
  403. package/dist/components/rich-text-input/utils/types.d.ts +28 -0
  404. package/dist/components/scoped-search-input/index.d.ts +2 -0
  405. package/dist/components/scoped-search-input/scoped-search-input.d.ts +6 -0
  406. package/dist/components/scoped-search-input/scoped-search-input.i18n.d.ts +23 -0
  407. package/dist/components/scoped-search-input/scoped-search-input.recipe.d.ts +6 -0
  408. package/dist/components/scoped-search-input/scoped-search-input.slots.d.ts +6 -0
  409. package/dist/{scoped-search-input.d.ts → components/scoped-search-input/scoped-search-input.types.d.ts} +72 -94
  410. package/dist/components/scoped-search-input/utils/helpers.d.ts +5 -0
  411. package/dist/components/search-input/index.d.ts +2 -0
  412. package/dist/components/search-input/search-input.d.ts +11 -0
  413. package/dist/components/search-input/search-input.i18n.d.ts +8 -0
  414. package/dist/components/search-input/search-input.recipe.d.ts +44 -0
  415. package/dist/components/search-input/search-input.slots.d.ts +12 -0
  416. package/dist/components/search-input/search-input.types.d.ts +28 -0
  417. package/dist/components/select/components/select.clear-button.d.ts +4 -0
  418. package/dist/components/select/components/select.option-group.d.ts +7 -0
  419. package/dist/components/select/components/select.option.d.ts +5 -0
  420. package/dist/components/select/components/select.options.d.ts +7 -0
  421. package/dist/components/select/components/select.root.d.ts +12 -0
  422. package/dist/components/select/index.d.ts +2 -0
  423. package/dist/components/select/select.d.ts +135 -0
  424. package/dist/components/select/select.i18n.d.ts +8 -0
  425. package/dist/components/select/select.recipe.d.ts +69 -0
  426. package/dist/components/select/select.slots.d.ts +16 -0
  427. package/dist/components/select/select.types.d.ts +59 -0
  428. package/dist/components/separator/index.d.ts +2 -0
  429. package/dist/components/separator/separator.d.ts +19 -0
  430. package/dist/components/separator/separator.recipe.d.ts +16 -0
  431. package/dist/components/separator/separator.slots.d.ts +3 -0
  432. package/dist/components/separator/separator.types.d.ts +14 -0
  433. package/dist/components/simple-grid/index.d.ts +1 -0
  434. package/dist/components/simple-grid/simple-grid.d.ts +18 -0
  435. package/dist/components/spacer/index.d.ts +2 -0
  436. package/dist/components/spacer/spacer.d.ts +17 -0
  437. package/dist/components/spacer/spacer.types.d.ts +11 -0
  438. package/dist/components/split-button/index.d.ts +2 -0
  439. package/dist/components/split-button/split-button.d.ts +18 -0
  440. package/dist/components/split-button/split-button.recipe.d.ts +21 -0
  441. package/dist/components/split-button/split-button.slots.d.ts +6 -0
  442. package/dist/components/split-button/split-button.types.d.ts +26 -0
  443. package/dist/components/stack/index.d.ts +1 -0
  444. package/dist/components/stack/stack.d.ts +16 -0
  445. package/dist/components/switch/index.d.ts +2 -0
  446. package/dist/components/switch/switch.d.ts +12 -0
  447. package/dist/components/switch/switch.recipe.d.ts +32 -0
  448. package/dist/components/switch/switch.slots.d.ts +6 -0
  449. package/dist/components/switch/switch.types.d.ts +19 -0
  450. package/dist/components/table/index.d.ts +1 -0
  451. package/dist/components/table/table.d.ts +8 -0
  452. package/dist/components/table/table.recipe.d.ts +121 -0
  453. package/dist/components/tabs/components/tabs.list.d.ts +10 -0
  454. package/dist/components/tabs/components/tabs.panel.d.ts +7 -0
  455. package/dist/components/tabs/components/tabs.panels.d.ts +10 -0
  456. package/dist/components/tabs/components/tabs.root.d.ts +12 -0
  457. package/dist/components/tabs/components/tabs.tab.d.ts +10 -0
  458. package/dist/components/tabs/index.d.ts +2 -0
  459. package/dist/components/tabs/tabs.d.ts +31 -0
  460. package/dist/components/tabs/tabs.recipe.d.ts +67 -0
  461. package/dist/components/tabs/tabs.slots.d.ts +58 -0
  462. package/dist/components/tabs/tabs.types.d.ts +112 -0
  463. package/dist/components/tag-group/components/tag-group.root.d.ts +9 -0
  464. package/dist/components/tag-group/components/tag-group.tag-list.d.ts +6 -0
  465. package/dist/components/tag-group/components/tag-group.tag.d.ts +2 -0
  466. package/dist/components/tag-group/index.d.ts +2 -0
  467. package/dist/components/tag-group/tag-group.d.ts +14 -0
  468. package/dist/components/tag-group/tag-group.recipe.d.ts +29 -0
  469. package/dist/components/tag-group/tag-group.slots.d.ts +7 -0
  470. package/dist/components/tag-group/tag-group.types.d.ts +27 -0
  471. package/dist/components/text/index.d.ts +1 -0
  472. package/dist/components/text/text.d.ts +16 -0
  473. package/dist/components/text-input/index.d.ts +2 -0
  474. package/dist/components/text-input/text-input.d.ts +12 -0
  475. package/dist/components/text-input/text-input.recipe.d.ts +54 -0
  476. package/dist/components/text-input/text-input.slots.d.ts +13 -0
  477. package/dist/components/text-input/text-input.types.d.ts +39 -0
  478. package/dist/components/time-input/index.d.ts +2 -0
  479. package/dist/components/time-input/time-input.d.ts +10 -0
  480. package/dist/components/time-input/time-input.recipe.d.ts +67 -0
  481. package/dist/components/time-input/time-input.slots.d.ts +24 -0
  482. package/dist/components/time-input/time-input.types.d.ts +21 -0
  483. package/dist/components/time-input.es.js +1 -1
  484. package/dist/components/toggle-button/index.d.ts +2 -0
  485. package/dist/components/toggle-button/toggle-button.d.ts +13 -0
  486. package/dist/components/toggle-button/toggle-button.recipe.d.ts +95 -0
  487. package/dist/components/toggle-button/toggle-button.slots.d.ts +17 -0
  488. package/dist/components/toggle-button/toggle-button.types.d.ts +28 -0
  489. package/dist/components/toggle-button-group/components/toggle-button-group.button.d.ts +2 -0
  490. package/dist/components/toggle-button-group/components/toggle-button-group.root.d.ts +9 -0
  491. package/dist/components/toggle-button-group/index.d.ts +2 -0
  492. package/dist/components/toggle-button-group/toggle-button-group.d.ts +12 -0
  493. package/dist/components/toggle-button-group/toggle-button-group.recipe.d.ts +54 -0
  494. package/dist/components/toggle-button-group/toggle-button-group.slots.d.ts +3 -0
  495. package/dist/components/toggle-button-group/toggle-button-group.types.d.ts +32 -0
  496. package/dist/components/toolbar/index.d.ts +2 -0
  497. package/dist/components/toolbar/toolbar.d.ts +2 -0
  498. package/dist/components/toolbar/toolbar.recipe.d.ts +34 -0
  499. package/dist/components/toolbar/toolbar.slots.d.ts +11 -0
  500. package/dist/components/toolbar/toolbar.types.d.ts +20 -0
  501. package/dist/components/tooltip/components/tooltip.content.d.ts +21 -0
  502. package/dist/components/tooltip/components/tooltip.root.d.ts +12 -0
  503. package/dist/components/tooltip/index.d.ts +3 -0
  504. package/dist/components/tooltip/make-element-focusable.d.ts +32 -0
  505. package/dist/components/tooltip/tooltip.d.ts +7 -0
  506. package/dist/components/tooltip/tooltip.recipe.d.ts +5 -0
  507. package/dist/components/tooltip/tooltip.slots.d.ts +7 -0
  508. package/dist/components/tooltip/tooltip.types.d.ts +9 -0
  509. package/dist/components/visually-hidden/index.d.ts +1 -0
  510. package/dist/components/visually-hidden/visually-hidden.d.ts +17 -0
  511. package/dist/hooks/index.d.ts +5 -0
  512. package/dist/hooks/use-color-mode/index.d.ts +1 -0
  513. package/dist/hooks/use-color-mode/use-color-mode.d.ts +31 -0
  514. package/dist/hooks/use-color-mode-value/index.d.ts +1 -0
  515. package/dist/hooks/use-color-mode-value/use-color-mode-value.d.ts +10 -0
  516. package/dist/hooks/use-color-scheme/index.d.ts +1 -0
  517. package/dist/hooks/use-color-scheme/use-color-scheme.d.ts +15 -0
  518. package/dist/hooks/use-copy-to-clipboard/index.d.ts +1 -0
  519. package/dist/hooks/use-copy-to-clipboard/use-copy-to-clipboard.d.ts +1 -0
  520. package/dist/hooks/use-hotkeys/index.d.ts +1 -0
  521. package/dist/hooks/use-hotkeys/use-hotkeys.d.ts +1 -0
  522. package/dist/index.cjs +1 -1
  523. package/dist/index.cjs.map +1 -1
  524. package/dist/index.d.ts +4 -347
  525. package/dist/index.es.js +196 -201
  526. package/dist/index.es.js.map +1 -1
  527. package/dist/theme/animation-styles.d.ts +4 -0
  528. package/dist/theme/breakpoints.d.ts +5 -0
  529. package/dist/theme/conditions.d.ts +16 -0
  530. package/dist/theme/global-css.d.ts +1 -0
  531. package/dist/theme/index.d.ts +1 -0
  532. package/dist/theme/keyframes.d.ts +207 -0
  533. package/dist/theme/layer-styles.d.ts +4 -0
  534. package/dist/theme/recipes/index.d.ts +490 -0
  535. package/dist/theme/semantic-tokens/colors.d.ts +12478 -0
  536. package/dist/theme/semantic-tokens/index.d.ts +6262 -0
  537. package/dist/theme/semantic-tokens/radii.d.ts +1 -0
  538. package/dist/theme/semantic-tokens/shadows.d.ts +20 -0
  539. package/dist/theme/slot-recipes/index.d.ts +1489 -0
  540. package/dist/theme/text-styles.d.ts +4 -0
  541. package/dist/theme/tokens/animations.d.ts +14 -0
  542. package/dist/theme/tokens/aspect-ratios.d.ts +20 -0
  543. package/dist/theme/tokens/blurs.d.ts +26 -0
  544. package/dist/theme/tokens/borders.d.ts +14 -0
  545. package/dist/theme/tokens/colors.d.ts +168 -0
  546. package/dist/theme/tokens/cursor.d.ts +26 -0
  547. package/dist/theme/tokens/durations.d.ts +29 -0
  548. package/dist/theme/tokens/easings.d.ts +17 -0
  549. package/dist/theme/tokens/font-sizes.d.ts +44 -0
  550. package/dist/theme/tokens/font-weights.d.ts +29 -0
  551. package/dist/theme/tokens/fonts.d.ts +11 -0
  552. package/dist/theme/tokens/index.d.ts +1642 -0
  553. package/dist/theme/tokens/letter-spacings.d.ts +3 -0
  554. package/dist/theme/tokens/line-heights.d.ts +80 -0
  555. package/dist/theme/tokens/radii.d.ts +29 -0
  556. package/dist/theme/tokens/sizes.d.ts +278 -0
  557. package/dist/theme/tokens/spacing.d.ts +74 -0
  558. package/dist/theme/tokens/z-index.d.ts +41 -0
  559. package/dist/type-utils/index.d.ts +2 -0
  560. package/dist/type-utils/omit-props.d.ts +29 -0
  561. package/dist/type-utils/slot-types.d.ts +22 -0
  562. package/dist/utils/extractStyleProps.d.ts +6 -0
  563. package/dist/utils/index.d.ts +2 -0
  564. package/dist/utils/noop.d.ts +12 -0
  565. package/package.json +1 -1
  566. package/dist/accordion.d.ts +0 -135
  567. package/dist/alert.d.ts +0 -172
  568. package/dist/badge.d.ts +0 -52
  569. package/dist/button.d.ts +0 -64
  570. package/dist/calendar.d.ts +0 -50
  571. package/dist/card.d.ts +0 -88
  572. package/dist/checkbox.d.ts +0 -54
  573. package/dist/chunks/calendar-lD6G93R9.es.js.map +0 -1
  574. package/dist/chunks/range-calendar-DBpl6y5i.es.js.map +0 -1
  575. package/dist/code.d.ts +0 -25
  576. package/dist/collapsible-motion.d.ts +0 -125
  577. package/dist/combobox.d.ts +0 -236
  578. package/dist/components.d.ts +0 -299
  579. package/dist/data-table.d.ts +0 -302
  580. package/dist/date-input.d.ts +0 -51
  581. package/dist/date-picker.d.ts +0 -92
  582. package/dist/date-range-picker.d.ts +0 -73
  583. package/dist/dialog.d.ts +0 -499
  584. package/dist/draggable-list.d.ts +0 -331
  585. package/dist/drawer.d.ts +0 -590
  586. package/dist/flex.d.ts +0 -14
  587. package/dist/form-field.d.ts +0 -118
  588. package/dist/grid.d.ts +0 -35
  589. package/dist/group.d.ts +0 -38
  590. package/dist/icon-button.d.ts +0 -75
  591. package/dist/icon-toggle-button.d.ts +0 -67
  592. package/dist/icon.d.ts +0 -58
  593. package/dist/image.d.ts +0 -28
  594. package/dist/inline-svg.d.ts +0 -81
  595. package/dist/kbd.d.ts +0 -29
  596. package/dist/link.d.ts +0 -56
  597. package/dist/list.d.ts +0 -35
  598. package/dist/loading-spinner.d.ts +0 -53
  599. package/dist/localized-field.d.ts +0 -935
  600. package/dist/multiline-text-input.d.ts +0 -73
  601. package/dist/number-input.d.ts +0 -63
  602. package/dist/password-input.d.ts +0 -65
  603. package/dist/popover.d.ts +0 -34
  604. package/dist/progress-bar.d.ts +0 -96
  605. package/dist/radio-input.d.ts +0 -67
  606. package/dist/range-calendar.d.ts +0 -47
  607. package/dist/rich-text-input.d.ts +0 -82
  608. package/dist/search-input.d.ts +0 -56
  609. package/dist/select.d.ts +0 -246
  610. package/dist/separator.d.ts +0 -49
  611. package/dist/setup-jsdom-polyfills.d.ts +0 -10
  612. package/dist/simple-grid.d.ts +0 -35
  613. package/dist/spacer.d.ts +0 -41
  614. package/dist/split-button.d.ts +0 -99
  615. package/dist/stack.d.ts +0 -30
  616. package/dist/switch.d.ts +0 -44
  617. package/dist/table.d.ts +0 -14
  618. package/dist/tabs.d.ts +0 -213
  619. package/dist/tag-group.d.ts +0 -75
  620. package/dist/text-input.d.ts +0 -69
  621. package/dist/text.d.ts +0 -31
  622. package/dist/time-input.d.ts +0 -51
  623. package/dist/toggle-button-group.d.ts +0 -76
  624. package/dist/toggle-button.d.ts +0 -57
  625. package/dist/toolbar.d.ts +0 -40
  626. package/dist/tooltip.d.ts +0 -131
  627. package/dist/visually-hidden.d.ts +0 -31
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../node_modules/.pnpm/react-hotkeys-hook@5.2.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-hotkeys-hook/packages/react-hotkeys-hook/dist/index.js","../../../node_modules/.pnpm/react-use@17.6.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-use/esm/useMountedState.js","../../../node_modules/.pnpm/react-use@17.6.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-use/esm/useSetState.js","../../../node_modules/.pnpm/toggle-selection@1.0.6/node_modules/toggle-selection/index.js","../../../node_modules/.pnpm/copy-to-clipboard@3.3.3/node_modules/copy-to-clipboard/index.js","../../../node_modules/.pnpm/react-use@17.6.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-use/esm/useCopyToClipboard.js","../src/hooks/use-color-scheme/use-color-scheme.ts","../src/hooks/use-color-mode/use-color-mode.ts","../src/hooks/use-color-mode-value/use-color-mode-value.ts","../src/utils/noop.ts"],"sourcesContent":["import { createContext as T, useContext as M, useState as A, useCallback as w, useRef as S, useLayoutEffect as z, useEffect as J } from \"react\";\nimport { jsx as b } from \"react/jsx-runtime\";\nconst j = [\"shift\", \"alt\", \"meta\", \"mod\", \"ctrl\", \"control\"], Q = {\n esc: \"escape\",\n return: \"enter\",\n left: \"arrowleft\",\n right: \"arrowright\",\n up: \"arrowup\",\n down: \"arrowdown\",\n ShiftLeft: \"shift\",\n ShiftRight: \"shift\",\n AltLeft: \"alt\",\n AltRight: \"alt\",\n MetaLeft: \"meta\",\n MetaRight: \"meta\",\n OSLeft: \"meta\",\n OSRight: \"meta\",\n ControlLeft: \"ctrl\",\n ControlRight: \"ctrl\"\n};\nfunction K(e) {\n return (Q[e.trim()] || e.trim()).toLowerCase().replace(/key|digit|numpad/, \"\");\n}\nfunction D(e) {\n return j.includes(e);\n}\nfunction H(e, r = \",\") {\n return e.toLowerCase().split(r);\n}\nfunction P(e, r = \"+\", o = \">\", i = !1, u) {\n let n = [], c = !1;\n e = e.trim(), e.includes(o) ? (c = !0, n = e.toLocaleLowerCase().split(o).map((f) => K(f))) : n = e.toLocaleLowerCase().split(r).map((f) => K(f));\n const y = {\n alt: n.includes(\"alt\"),\n ctrl: n.includes(\"ctrl\") || n.includes(\"control\"),\n shift: n.includes(\"shift\"),\n meta: n.includes(\"meta\"),\n mod: n.includes(\"mod\"),\n useKey: i\n }, d = n.filter((f) => !j.includes(f));\n return {\n ...y,\n keys: d,\n description: u,\n isSequence: c,\n hotkey: e\n };\n}\ntypeof document < \"u\" && (document.addEventListener(\"keydown\", (e) => {\n e.code !== void 0 && I([K(e.code)]);\n}), document.addEventListener(\"keyup\", (e) => {\n e.code !== void 0 && _([K(e.code)]);\n})), typeof window < \"u\" && (window.addEventListener(\"blur\", () => {\n L.clear();\n}), window.addEventListener(\"contextmenu\", () => {\n setTimeout(() => {\n L.clear();\n }, 0);\n}));\nconst L = /* @__PURE__ */ new Set();\nfunction R(e) {\n return Array.isArray(e);\n}\nfunction U(e, r = \",\") {\n return (R(e) ? e : e.split(r)).every((i) => L.has(i.trim().toLowerCase()));\n}\nfunction I(e) {\n const r = Array.isArray(e) ? e : [e];\n L.has(\"meta\") && L.forEach((o) => !D(o) && L.delete(o.toLowerCase())), r.forEach((o) => L.add(o.toLowerCase()));\n}\nfunction _(e) {\n const r = Array.isArray(e) ? e : [e];\n e === \"meta\" ? L.clear() : r.forEach((o) => L.delete(o.toLowerCase()));\n}\nfunction V(e, r, o) {\n (typeof o == \"function\" && o(e, r) || o === !0) && e.preventDefault();\n}\nfunction X(e, r, o) {\n return typeof o == \"function\" ? o(e, r) : o === !0 || o === void 0;\n}\nconst Y = [\n \"input\",\n \"textarea\",\n \"select\",\n \"searchbox\",\n \"slider\",\n \"spinbutton\",\n \"menuitem\",\n \"menuitemcheckbox\",\n \"menuitemradio\",\n \"option\",\n \"radio\",\n \"textbox\"\n];\nfunction Z(e) {\n return F(e, Y);\n}\nfunction F(e, r = !1) {\n const { target: o, composed: i } = e;\n let u, n;\n return ee(o) && i ? (u = e.composedPath()[0] && e.composedPath()[0].tagName, n = e.composedPath()[0] && e.composedPath()[0].role) : (u = o && o.tagName, n = o && o.role), R(r) ? !!(u && r && r.some((c) => c.toLowerCase() === u.toLowerCase() || c === n)) : !!(u && r && r);\n}\nfunction ee(e) {\n return !!e.tagName && !e.tagName.startsWith(\"-\") && e.tagName.includes(\"-\");\n}\nfunction te(e, r) {\n return e.length === 0 && r ? (console.warn(\n 'A hotkey has the \"scopes\" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'\n ), !0) : r ? e.some((o) => r.includes(o)) || e.includes(\"*\") : !0;\n}\nconst re = (e, r, o = !1) => {\n const { alt: i, meta: u, mod: n, shift: c, ctrl: y, keys: d, useKey: f } = r, { code: p, key: t, ctrlKey: a, metaKey: l, shiftKey: g, altKey: k } = e, m = K(p);\n if (f && d?.length === 1 && d.includes(t))\n return !0;\n if (!d?.includes(m) && ![\"ctrl\", \"control\", \"unknown\", \"meta\", \"alt\", \"shift\", \"os\"].includes(m))\n return !1;\n if (!o) {\n if (i !== k && m !== \"alt\" || c !== g && m !== \"shift\")\n return !1;\n if (n) {\n if (!l && !a)\n return !1;\n } else if (u !== l && m !== \"meta\" && m !== \"os\" || y !== a && m !== \"ctrl\" && m !== \"control\")\n return !1;\n }\n return d && d.length === 1 && d.includes(m) ? !0 : d ? U(d) : !d;\n}, $ = T(void 0), oe = () => M($);\nfunction ne({ addHotkey: e, removeHotkey: r, children: o }) {\n return /* @__PURE__ */ b($.Provider, { value: { addHotkey: e, removeHotkey: r }, children: o });\n}\nfunction x(e, r) {\n return e && r && typeof e == \"object\" && typeof r == \"object\" ? Object.keys(e).length === Object.keys(r).length && // @ts-expect-error TS7053\n Object.keys(e).reduce((o, i) => o && x(e[i], r[i]), !0) : e === r;\n}\nconst W = T({\n hotkeys: [],\n activeScopes: [],\n // This array has to be empty instead of containing '*' as default, to check if the provider is set or not\n toggleScope: () => {\n },\n enableScope: () => {\n },\n disableScope: () => {\n }\n}), se = () => M(W), de = ({ initiallyActiveScopes: e = [\"*\"], children: r }) => {\n const [o, i] = A(e), [u, n] = A([]), c = w((t) => {\n i((a) => a.includes(\"*\") ? [t] : Array.from(/* @__PURE__ */ new Set([...a, t])));\n }, []), y = w((t) => {\n i((a) => a.filter((l) => l !== t));\n }, []), d = w((t) => {\n i((a) => a.includes(t) ? a.filter((l) => l !== t) : a.includes(\"*\") ? [t] : Array.from(/* @__PURE__ */ new Set([...a, t])));\n }, []), f = w((t) => {\n n((a) => [...a, t]);\n }, []), p = w((t) => {\n n((a) => a.filter((l) => !x(l, t)));\n }, []);\n return /* @__PURE__ */ b(\n W.Provider,\n {\n value: { activeScopes: o, hotkeys: u, enableScope: c, disableScope: y, toggleScope: d },\n children: /* @__PURE__ */ b(ne, { addHotkey: f, removeHotkey: p, children: r })\n }\n );\n};\nfunction ie(e) {\n const r = S(void 0);\n return x(r.current, e) || (r.current = e), r.current;\n}\nconst N = (e) => {\n e.stopPropagation(), e.preventDefault(), e.stopImmediatePropagation();\n}, ue = typeof window < \"u\" ? z : J;\nfunction fe(e, r, o, i) {\n const u = S(null), n = S(!1), c = Array.isArray(o) ? Array.isArray(i) ? void 0 : i : o, y = R(e) ? e.join(c?.delimiter) : e, d = Array.isArray(o) ? o : Array.isArray(i) ? i : void 0, f = w(r, d ?? []), p = S(f);\n d ? p.current = f : p.current = r;\n const t = ie(c), { activeScopes: a } = se(), l = oe();\n return ue(() => {\n if (t?.enabled === !1 || !te(a, t?.scopes))\n return;\n let g = [], k;\n const m = (s, B = !1) => {\n if (!(Z(s) && !F(s, t?.enableOnFormTags))) {\n if (u.current !== null) {\n const v = u.current.getRootNode();\n if ((v instanceof Document || v instanceof ShadowRoot) && v.activeElement !== u.current && !u.current.contains(v.activeElement)) {\n N(s);\n return;\n }\n }\n s.target?.isContentEditable && !t?.enableOnContentEditable || H(y, t?.delimiter).forEach((v) => {\n if (v.includes(t?.splitKey ?? \"+\") && v.includes(t?.sequenceSplitKey ?? \">\")) {\n console.warn(\n `Hotkey ${v} contains both ${t?.splitKey ?? \"+\"} and ${t?.sequenceSplitKey ?? \">\"} which is not supported.`\n );\n return;\n }\n const h = P(\n v,\n t?.splitKey,\n t?.sequenceSplitKey,\n t?.useKey,\n t?.description\n );\n if (h.isSequence) {\n k = setTimeout(() => {\n g = [];\n }, t?.sequenceTimeoutMs ?? 1e3);\n const C = h.useKey ? s.key : K(s.code);\n if (D(C.toLowerCase()))\n return;\n g.push(C);\n const G = h.keys?.[g.length - 1];\n if (C !== G) {\n g = [], k && clearTimeout(k);\n return;\n }\n g.length === h.keys?.length && (p.current(s, h), k && clearTimeout(k), g = []);\n } else if (re(s, h, t?.ignoreModifiers) || h.keys?.includes(\"*\")) {\n if (t?.ignoreEventWhen?.(s) || B && n.current)\n return;\n if (V(s, h, t?.preventDefault), !X(s, h, t?.enabled)) {\n N(s);\n return;\n }\n p.current(s, h), B || (n.current = !0);\n }\n });\n }\n }, O = (s) => {\n s.code !== void 0 && (I(K(s.code)), (t?.keydown === void 0 && t?.keyup !== !0 || t?.keydown) && m(s));\n }, q = (s) => {\n s.code !== void 0 && (_(K(s.code)), n.current = !1, t?.keyup && m(s, !0));\n }, E = u.current || c?.document || document;\n return E.addEventListener(\"keyup\", q, c?.eventListenerOptions), E.addEventListener(\"keydown\", O, c?.eventListenerOptions), l && H(y, t?.delimiter).forEach(\n (s) => l.addHotkey(\n P(\n s,\n t?.splitKey,\n t?.sequenceSplitKey,\n t?.useKey,\n t?.description\n )\n )\n ), () => {\n E.removeEventListener(\"keyup\", q, c?.eventListenerOptions), E.removeEventListener(\"keydown\", O, c?.eventListenerOptions), l && H(y, t?.delimiter).forEach(\n (s) => l.removeHotkey(\n P(\n s,\n t?.splitKey,\n t?.sequenceSplitKey,\n t?.useKey,\n t?.description\n )\n )\n ), g = [], k && clearTimeout(k);\n };\n }, [y, t, a]), u;\n}\nfunction le(e = !1) {\n const [r, o] = A(/* @__PURE__ */ new Set()), [i, u] = A(!1), n = w(\n (f) => {\n f.code !== void 0 && (f.preventDefault(), f.stopPropagation(), o((p) => {\n const t = new Set(p);\n return t.add(K(e ? f.key : f.code)), t;\n }));\n },\n [e]\n ), c = w(() => {\n typeof document < \"u\" && (document.removeEventListener(\"keydown\", n), u(!1));\n }, [n]), y = w(() => {\n o(/* @__PURE__ */ new Set()), typeof document < \"u\" && (c(), document.addEventListener(\"keydown\", n), u(!0));\n }, [n, c]), d = w(() => {\n o(/* @__PURE__ */ new Set());\n }, []);\n return [r, { start: y, stop: c, resetKeys: d, isRecording: i }];\n}\nexport {\n de as HotkeysProvider,\n U as isHotkeyPressed,\n fe as useHotkeys,\n se as useHotkeysContext,\n le as useRecordHotkeys\n};\n","import { useCallback, useEffect, useRef } from 'react';\nexport default function useMountedState() {\n var mountedRef = useRef(false);\n var get = useCallback(function () { return mountedRef.current; }, []);\n useEffect(function () {\n mountedRef.current = true;\n return function () {\n mountedRef.current = false;\n };\n }, []);\n return get;\n}\n","import { useCallback, useState } from 'react';\nvar useSetState = function (initialState) {\n if (initialState === void 0) { initialState = {}; }\n var _a = useState(initialState), state = _a[0], set = _a[1];\n var setState = useCallback(function (patch) {\n set(function (prevState) {\n return Object.assign({}, prevState, patch instanceof Function ? patch(prevState) : patch);\n });\n }, []);\n return [state, setState];\n};\nexport default useSetState;\n","\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","import writeText from 'copy-to-clipboard';\nimport { useCallback } from 'react';\nimport useMountedState from './useMountedState';\nimport useSetState from './useSetState';\nvar useCopyToClipboard = function () {\n var isMounted = useMountedState();\n var _a = useSetState({\n value: undefined,\n error: undefined,\n noUserInteraction: true,\n }), state = _a[0], setState = _a[1];\n var copyToClipboard = useCallback(function (value) {\n if (!isMounted()) {\n return;\n }\n var noUserInteraction;\n var normalizedValue;\n try {\n // only strings and numbers casted to strings can be copied to clipboard\n if (typeof value !== 'string' && typeof value !== 'number') {\n var error = new Error(\"Cannot copy typeof \" + typeof value + \" to clipboard, must be a string\");\n if (process.env.NODE_ENV === 'development')\n console.error(error);\n setState({\n value: value,\n error: error,\n noUserInteraction: true,\n });\n return;\n }\n // empty strings are also considered invalid\n else if (value === '') {\n var error = new Error(\"Cannot copy empty string to clipboard.\");\n if (process.env.NODE_ENV === 'development')\n console.error(error);\n setState({\n value: value,\n error: error,\n noUserInteraction: true,\n });\n return;\n }\n normalizedValue = value.toString();\n noUserInteraction = writeText(normalizedValue);\n setState({\n value: normalizedValue,\n error: undefined,\n noUserInteraction: noUserInteraction,\n });\n }\n catch (error) {\n setState({\n value: normalizedValue,\n error: error,\n noUserInteraction: noUserInteraction,\n });\n }\n }, []);\n return [state, copyToClipboard];\n};\nexport default useCopyToClipboard;\n","import { useEffect, useState } from \"react\";\n\n/**\n * Hook that provides access to the current color scheme value.\n *\n * @experimental This hook is experimental and may change in future versions.\n *\n * This hook monitors the color-scheme CSS property on the document's HTML element\n * and returns the current value. It automatically updates when the color scheme changes,\n * either through direct style changes or theme updates stored in localStorage.\n *\n * The hook observes mutations to the HTML element's style attribute to detect\n * color scheme changes and re-renders the component when changes occur.\n *\n * @returns The current color scheme value as a string ('light', 'dark')\n */\nexport function useColorScheme() {\n const [colorScheme, setColorScheme] = useState(getCurrentColorScheme());\n\n // Helper function to get the current color-scheme from the <html> tag\n function getCurrentColorScheme() {\n return (\n document.documentElement.style.getPropertyValue(\"color-scheme\") ||\n localStorage.getItem(\"theme\") ||\n \"light\"\n );\n }\n\n useEffect(() => {\n const htmlElement = document.documentElement;\n\n const observer = new MutationObserver(() => {\n const newColorScheme = getCurrentColorScheme();\n setColorScheme(newColorScheme);\n });\n\n // Observe changes to the 'style' attribute of the <html> element\n observer.observe(htmlElement, {\n attributes: true,\n attributeFilter: [\"style\"],\n });\n\n return () => observer.disconnect();\n }, []);\n\n return colorScheme;\n}\n","\"use client\";\nimport { useTheme } from \"next-themes\";\n\n/**\n * Hook for managing color mode (light/dark theme) state.\n *\n * @experimental This hook is experimental and may change in future versions.\n *\n * This hook provides access to the current color mode and functions to change it.\n * It integrates with the next-themes library to handle theme persistence and system preference detection.\n *\n * @returns An object containing:\n * - `colorMode`: The current resolved theme ('light' | 'dark' | 'system' | undefined)\n * - `setColorMode`: Function to set a specific color mode\n * - `toggleColorMode`: Function to toggle between light and dark modes\n *\n * @example\n * ```tsx\n * function ThemeToggle() {\n * const { colorMode, toggleColorMode } = useColorMode();\n *\n * return (\n * <button onClick={toggleColorMode}>\n * Current mode: {colorMode}\n * </button>\n * );\n * }\n * ```\n */\n\nexport function useColorMode() {\n const { resolvedTheme, setTheme } = useTheme();\n const toggleColorMode = () => {\n setTheme(resolvedTheme === \"light\" ? \"dark\" : \"light\");\n };\n return {\n colorMode: resolvedTheme,\n setColorMode: setTheme,\n toggleColorMode,\n };\n}\n","import { useColorMode } from \"./../use-color-mode\";\n\n/**\n * Hook that returns a value based on the current color mode.\n *\n * @experimental This hook is experimental and may change in future versions.\n *\n * @param light - The value to return when the color mode is light\n * @param dark - The value to return when the color mode is dark\n * @returns The appropriate value based on the current color mode\n */\nexport function useColorModeValue<T>(light: T, dark: T) {\n const { colorMode } = useColorMode();\n return colorMode === \"light\" ? light : dark;\n}\n","/**\n * A no-operation function that does nothing.\n * Useful as a default callback or placeholder function.\n *\n * @example\n * ```tsx\n * const MyComponent = ({ onClick = noop }: { onClick?: () => void }) => (\n * <button onClick={onClick}>Click me</button>\n * );\n * ```\n */\nexport const noop = (): void => {\n // Intentionally empty\n};\n"],"names":["j","Q","K","D","H","r","c","f","y","d","L","R","U","i","I","_","V","X","Y","Z","F","ee","te","re","p","t","a","l","g","k","m","$","T","oe","M","x","W","se","ie","S","N","ue","z","J","fe","w","s","B","C","G","O","q","E","useMountedState","mountedRef","useRef","get","useCallback","useEffect","useSetState","initialState","_a","useState","state","set","setState","patch","prevState","toggleSelection","selection","active","ranges","range","deselectCurrent","require$$0","clipboardToIE11Formatting","defaultMessage","format","message","copyKey","copy","text","options","debug","reselectPrevious","mark","success","e","successful","err","copyToClipboard","useCopyToClipboard","isMounted","value","noUserInteraction","normalizedValue","error","writeText","useColorScheme","colorScheme","setColorScheme","getCurrentColorScheme","htmlElement","observer","newColorScheme","useColorMode","resolvedTheme","setTheme","useTheme","useColorModeValue","light","dark","colorMode","noop"],"mappings":"y0GAEMA,EAAI,CAAC,QAAS,MAAO,OAAQ,MAAO,OAAQ,SAAS,EAAGC,GAAI,CAChE,IAAK,SACL,OAAQ,QACR,KAAM,YACN,MAAO,aACP,GAAI,UACJ,KAAM,YACN,UAAW,QACX,WAAY,QACZ,QAAS,MACT,SAAU,MACV,SAAU,OACV,UAAW,OACX,OAAQ,OACR,QAAS,OACT,YAAa,OACb,aAAc,MAChB,EACA,SAASC,EAAE,EAAG,CACZ,OAAQD,GAAE,EAAE,KAAI,CAAE,GAAK,EAAE,KAAI,GAAI,YAAW,EAAG,QAAQ,mBAAoB,EAAE,CAC/E,CACA,SAASE,GAAE,EAAG,CACZ,OAAOH,EAAE,SAAS,CAAC,CACrB,CACA,SAASI,EAAE,EAAGC,EAAI,IAAK,CACrB,OAAO,EAAE,cAAc,MAAMA,CAAC,CAChC,CACA,SAAS,EAAE,EAAGA,EAAI,IAAK,EAAI,IAAK,EAAI,GAAI,EAAG,CACzC,IAAI,EAAI,GAAIC,EAAI,GAChB,EAAI,EAAE,KAAI,EAAI,EAAE,SAAS,CAAC,GAAKA,EAAI,GAAI,EAAI,EAAE,kBAAiB,EAAG,MAAM,CAAC,EAAE,IAAKC,GAAML,EAAEK,CAAC,CAAC,GAAK,EAAI,EAAE,kBAAiB,EAAG,MAAMF,CAAC,EAAE,IAAKE,GAAML,EAAEK,CAAC,CAAC,EAChJ,MAAMC,EAAI,CACR,IAAK,EAAE,SAAS,KAAK,EACrB,KAAM,EAAE,SAAS,MAAM,GAAK,EAAE,SAAS,SAAS,EAChD,MAAO,EAAE,SAAS,OAAO,EACzB,K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AAa,CACL,OACOE,EAAO,CACV/B,EAAS,CACL,MAAO8B,EACP,MAAOC,EACP,kBAAmBF,CACnC,CAAa,CACL,EACJ,EAAG,CAAA,CAAE,EACL,MAAO,CAAC/B,EAAO2B,CAAe,CAClC,EC3CO,SAASQ,IAAiB,CAC/B,KAAM,CAACC,EAAaC,CAAc,EAAItC,EAAAA,SAASuC,GAAuB,EAGtE,SAASA,GAAwB,CAC/B,OACE,SAAS,gBAAgB,MAAM,iBAAiB,cAAc,GAC9D,aAAa,QAAQ,OAAO,GAC5B,OAEJ,CAEA3C,OAAAA,EAAAA,UAAU,IAAM,CACd,MAAM4C,EAAc,SAAS,gBAEvBC,EAAW,IAAI,iBAAiB,IAAM,CAC1C,MAAMC,EAAiBH,EAAA,EACvBD,EAAeI,CAAc,CAC/B,CAAC,EAGD,OAAAD,EAAS,QAAQD,EAAa,CAC5B,WAAY,GACZ,gBAAiB,CAAC,OAAO,CAAA,CAC1B,EAEM,IAAMC,EAAS,WAAA,CACxB,EAAG,CAAA,CAAE,EAEEJ,CACT,CChBO,SAASM,IAAe,CAC7B,KAAM,CAAE,cAAAC,EAAe,SAAAC,CAAA,EAAaC,IAAA,EAIpC,MAAO,CACL,UAAWF,EACX,aAAcC,EACd,gBANsB,IAAM,CAC5BA,EAASD,IAAkB,QAAU,OAAS,OAAO,CACvD,CAIE,CAEJ,CC7BO,SAASG,GAAqBC,EAAUC,EAAS,CACtD,KAAM,CAAE,UAAAC,CAAA,EAAcP,GAAA,EACtB,OAAOO,IAAc,QAAUF,EAAQC,CACzC,CCHO,MAAME,GAAO,IAAY,CAEhC","x_google_ignoreList":[0,1,2,3,4,5]}
1
+ {"version":3,"file":"index.cjs","sources":["../../../node_modules/.pnpm/react-hotkeys-hook@5.2.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-hotkeys-hook/packages/react-hotkeys-hook/dist/index.js","../../../node_modules/.pnpm/react-use@17.6.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-use/esm/useMountedState.js","../../../node_modules/.pnpm/react-use@17.6.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-use/esm/useSetState.js","../../../node_modules/.pnpm/toggle-selection@1.0.6/node_modules/toggle-selection/index.js","../../../node_modules/.pnpm/copy-to-clipboard@3.3.3/node_modules/copy-to-clipboard/index.js","../../../node_modules/.pnpm/react-use@17.6.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-use/esm/useCopyToClipboard.js","../src/hooks/use-color-scheme/use-color-scheme.ts","../src/hooks/use-color-mode/use-color-mode.ts","../src/hooks/use-color-mode-value/use-color-mode-value.ts"],"sourcesContent":["import { createContext as T, useContext as M, useState as A, useCallback as w, useRef as S, useLayoutEffect as z, useEffect as J } from \"react\";\nimport { jsx as b } from \"react/jsx-runtime\";\nconst j = [\"shift\", \"alt\", \"meta\", \"mod\", \"ctrl\", \"control\"], Q = {\n esc: \"escape\",\n return: \"enter\",\n left: \"arrowleft\",\n right: \"arrowright\",\n up: \"arrowup\",\n down: \"arrowdown\",\n ShiftLeft: \"shift\",\n ShiftRight: \"shift\",\n AltLeft: \"alt\",\n AltRight: \"alt\",\n MetaLeft: \"meta\",\n MetaRight: \"meta\",\n OSLeft: \"meta\",\n OSRight: \"meta\",\n ControlLeft: \"ctrl\",\n ControlRight: \"ctrl\"\n};\nfunction K(e) {\n return (Q[e.trim()] || e.trim()).toLowerCase().replace(/key|digit|numpad/, \"\");\n}\nfunction D(e) {\n return j.includes(e);\n}\nfunction H(e, r = \",\") {\n return e.toLowerCase().split(r);\n}\nfunction P(e, r = \"+\", o = \">\", i = !1, u) {\n let n = [], c = !1;\n e = e.trim(), e.includes(o) ? (c = !0, n = e.toLocaleLowerCase().split(o).map((f) => K(f))) : n = e.toLocaleLowerCase().split(r).map((f) => K(f));\n const y = {\n alt: n.includes(\"alt\"),\n ctrl: n.includes(\"ctrl\") || n.includes(\"control\"),\n shift: n.includes(\"shift\"),\n meta: n.includes(\"meta\"),\n mod: n.includes(\"mod\"),\n useKey: i\n }, d = n.filter((f) => !j.includes(f));\n return {\n ...y,\n keys: d,\n description: u,\n isSequence: c,\n hotkey: e\n };\n}\ntypeof document < \"u\" && (document.addEventListener(\"keydown\", (e) => {\n e.code !== void 0 && I([K(e.code)]);\n}), document.addEventListener(\"keyup\", (e) => {\n e.code !== void 0 && _([K(e.code)]);\n})), typeof window < \"u\" && (window.addEventListener(\"blur\", () => {\n L.clear();\n}), window.addEventListener(\"contextmenu\", () => {\n setTimeout(() => {\n L.clear();\n }, 0);\n}));\nconst L = /* @__PURE__ */ new Set();\nfunction R(e) {\n return Array.isArray(e);\n}\nfunction U(e, r = \",\") {\n return (R(e) ? e : e.split(r)).every((i) => L.has(i.trim().toLowerCase()));\n}\nfunction I(e) {\n const r = Array.isArray(e) ? e : [e];\n L.has(\"meta\") && L.forEach((o) => !D(o) && L.delete(o.toLowerCase())), r.forEach((o) => L.add(o.toLowerCase()));\n}\nfunction _(e) {\n const r = Array.isArray(e) ? e : [e];\n e === \"meta\" ? L.clear() : r.forEach((o) => L.delete(o.toLowerCase()));\n}\nfunction V(e, r, o) {\n (typeof o == \"function\" && o(e, r) || o === !0) && e.preventDefault();\n}\nfunction X(e, r, o) {\n return typeof o == \"function\" ? o(e, r) : o === !0 || o === void 0;\n}\nconst Y = [\n \"input\",\n \"textarea\",\n \"select\",\n \"searchbox\",\n \"slider\",\n \"spinbutton\",\n \"menuitem\",\n \"menuitemcheckbox\",\n \"menuitemradio\",\n \"option\",\n \"radio\",\n \"textbox\"\n];\nfunction Z(e) {\n return F(e, Y);\n}\nfunction F(e, r = !1) {\n const { target: o, composed: i } = e;\n let u, n;\n return ee(o) && i ? (u = e.composedPath()[0] && e.composedPath()[0].tagName, n = e.composedPath()[0] && e.composedPath()[0].role) : (u = o && o.tagName, n = o && o.role), R(r) ? !!(u && r && r.some((c) => c.toLowerCase() === u.toLowerCase() || c === n)) : !!(u && r && r);\n}\nfunction ee(e) {\n return !!e.tagName && !e.tagName.startsWith(\"-\") && e.tagName.includes(\"-\");\n}\nfunction te(e, r) {\n return e.length === 0 && r ? (console.warn(\n 'A hotkey has the \"scopes\" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'\n ), !0) : r ? e.some((o) => r.includes(o)) || e.includes(\"*\") : !0;\n}\nconst re = (e, r, o = !1) => {\n const { alt: i, meta: u, mod: n, shift: c, ctrl: y, keys: d, useKey: f } = r, { code: p, key: t, ctrlKey: a, metaKey: l, shiftKey: g, altKey: k } = e, m = K(p);\n if (f && d?.length === 1 && d.includes(t))\n return !0;\n if (!d?.includes(m) && ![\"ctrl\", \"control\", \"unknown\", \"meta\", \"alt\", \"shift\", \"os\"].includes(m))\n return !1;\n if (!o) {\n if (i !== k && m !== \"alt\" || c !== g && m !== \"shift\")\n return !1;\n if (n) {\n if (!l && !a)\n return !1;\n } else if (u !== l && m !== \"meta\" && m !== \"os\" || y !== a && m !== \"ctrl\" && m !== \"control\")\n return !1;\n }\n return d && d.length === 1 && d.includes(m) ? !0 : d ? U(d) : !d;\n}, $ = T(void 0), oe = () => M($);\nfunction ne({ addHotkey: e, removeHotkey: r, children: o }) {\n return /* @__PURE__ */ b($.Provider, { value: { addHotkey: e, removeHotkey: r }, children: o });\n}\nfunction x(e, r) {\n return e && r && typeof e == \"object\" && typeof r == \"object\" ? Object.keys(e).length === Object.keys(r).length && // @ts-expect-error TS7053\n Object.keys(e).reduce((o, i) => o && x(e[i], r[i]), !0) : e === r;\n}\nconst W = T({\n hotkeys: [],\n activeScopes: [],\n // This array has to be empty instead of containing '*' as default, to check if the provider is set or not\n toggleScope: () => {\n },\n enableScope: () => {\n },\n disableScope: () => {\n }\n}), se = () => M(W), de = ({ initiallyActiveScopes: e = [\"*\"], children: r }) => {\n const [o, i] = A(e), [u, n] = A([]), c = w((t) => {\n i((a) => a.includes(\"*\") ? [t] : Array.from(/* @__PURE__ */ new Set([...a, t])));\n }, []), y = w((t) => {\n i((a) => a.filter((l) => l !== t));\n }, []), d = w((t) => {\n i((a) => a.includes(t) ? a.filter((l) => l !== t) : a.includes(\"*\") ? [t] : Array.from(/* @__PURE__ */ new Set([...a, t])));\n }, []), f = w((t) => {\n n((a) => [...a, t]);\n }, []), p = w((t) => {\n n((a) => a.filter((l) => !x(l, t)));\n }, []);\n return /* @__PURE__ */ b(\n W.Provider,\n {\n value: { activeScopes: o, hotkeys: u, enableScope: c, disableScope: y, toggleScope: d },\n children: /* @__PURE__ */ b(ne, { addHotkey: f, removeHotkey: p, children: r })\n }\n );\n};\nfunction ie(e) {\n const r = S(void 0);\n return x(r.current, e) || (r.current = e), r.current;\n}\nconst N = (e) => {\n e.stopPropagation(), e.preventDefault(), e.stopImmediatePropagation();\n}, ue = typeof window < \"u\" ? z : J;\nfunction fe(e, r, o, i) {\n const u = S(null), n = S(!1), c = Array.isArray(o) ? Array.isArray(i) ? void 0 : i : o, y = R(e) ? e.join(c?.delimiter) : e, d = Array.isArray(o) ? o : Array.isArray(i) ? i : void 0, f = w(r, d ?? []), p = S(f);\n d ? p.current = f : p.current = r;\n const t = ie(c), { activeScopes: a } = se(), l = oe();\n return ue(() => {\n if (t?.enabled === !1 || !te(a, t?.scopes))\n return;\n let g = [], k;\n const m = (s, B = !1) => {\n if (!(Z(s) && !F(s, t?.enableOnFormTags))) {\n if (u.current !== null) {\n const v = u.current.getRootNode();\n if ((v instanceof Document || v instanceof ShadowRoot) && v.activeElement !== u.current && !u.current.contains(v.activeElement)) {\n N(s);\n return;\n }\n }\n s.target?.isContentEditable && !t?.enableOnContentEditable || H(y, t?.delimiter).forEach((v) => {\n if (v.includes(t?.splitKey ?? \"+\") && v.includes(t?.sequenceSplitKey ?? \">\")) {\n console.warn(\n `Hotkey ${v} contains both ${t?.splitKey ?? \"+\"} and ${t?.sequenceSplitKey ?? \">\"} which is not supported.`\n );\n return;\n }\n const h = P(\n v,\n t?.splitKey,\n t?.sequenceSplitKey,\n t?.useKey,\n t?.description\n );\n if (h.isSequence) {\n k = setTimeout(() => {\n g = [];\n }, t?.sequenceTimeoutMs ?? 1e3);\n const C = h.useKey ? s.key : K(s.code);\n if (D(C.toLowerCase()))\n return;\n g.push(C);\n const G = h.keys?.[g.length - 1];\n if (C !== G) {\n g = [], k && clearTimeout(k);\n return;\n }\n g.length === h.keys?.length && (p.current(s, h), k && clearTimeout(k), g = []);\n } else if (re(s, h, t?.ignoreModifiers) || h.keys?.includes(\"*\")) {\n if (t?.ignoreEventWhen?.(s) || B && n.current)\n return;\n if (V(s, h, t?.preventDefault), !X(s, h, t?.enabled)) {\n N(s);\n return;\n }\n p.current(s, h), B || (n.current = !0);\n }\n });\n }\n }, O = (s) => {\n s.code !== void 0 && (I(K(s.code)), (t?.keydown === void 0 && t?.keyup !== !0 || t?.keydown) && m(s));\n }, q = (s) => {\n s.code !== void 0 && (_(K(s.code)), n.current = !1, t?.keyup && m(s, !0));\n }, E = u.current || c?.document || document;\n return E.addEventListener(\"keyup\", q, c?.eventListenerOptions), E.addEventListener(\"keydown\", O, c?.eventListenerOptions), l && H(y, t?.delimiter).forEach(\n (s) => l.addHotkey(\n P(\n s,\n t?.splitKey,\n t?.sequenceSplitKey,\n t?.useKey,\n t?.description\n )\n )\n ), () => {\n E.removeEventListener(\"keyup\", q, c?.eventListenerOptions), E.removeEventListener(\"keydown\", O, c?.eventListenerOptions), l && H(y, t?.delimiter).forEach(\n (s) => l.removeHotkey(\n P(\n s,\n t?.splitKey,\n t?.sequenceSplitKey,\n t?.useKey,\n t?.description\n )\n )\n ), g = [], k && clearTimeout(k);\n };\n }, [y, t, a]), u;\n}\nfunction le(e = !1) {\n const [r, o] = A(/* @__PURE__ */ new Set()), [i, u] = A(!1), n = w(\n (f) => {\n f.code !== void 0 && (f.preventDefault(), f.stopPropagation(), o((p) => {\n const t = new Set(p);\n return t.add(K(e ? f.key : f.code)), t;\n }));\n },\n [e]\n ), c = w(() => {\n typeof document < \"u\" && (document.removeEventListener(\"keydown\", n), u(!1));\n }, [n]), y = w(() => {\n o(/* @__PURE__ */ new Set()), typeof document < \"u\" && (c(), document.addEventListener(\"keydown\", n), u(!0));\n }, [n, c]), d = w(() => {\n o(/* @__PURE__ */ new Set());\n }, []);\n return [r, { start: y, stop: c, resetKeys: d, isRecording: i }];\n}\nexport {\n de as HotkeysProvider,\n U as isHotkeyPressed,\n fe as useHotkeys,\n se as useHotkeysContext,\n le as useRecordHotkeys\n};\n","import { useCallback, useEffect, useRef } from 'react';\nexport default function useMountedState() {\n var mountedRef = useRef(false);\n var get = useCallback(function () { return mountedRef.current; }, []);\n useEffect(function () {\n mountedRef.current = true;\n return function () {\n mountedRef.current = false;\n };\n }, []);\n return get;\n}\n","import { useCallback, useState } from 'react';\nvar useSetState = function (initialState) {\n if (initialState === void 0) { initialState = {}; }\n var _a = useState(initialState), state = _a[0], set = _a[1];\n var setState = useCallback(function (patch) {\n set(function (prevState) {\n return Object.assign({}, prevState, patch instanceof Function ? patch(prevState) : patch);\n });\n }, []);\n return [state, setState];\n};\nexport default useSetState;\n","\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","import writeText from 'copy-to-clipboard';\nimport { useCallback } from 'react';\nimport useMountedState from './useMountedState';\nimport useSetState from './useSetState';\nvar useCopyToClipboard = function () {\n var isMounted = useMountedState();\n var _a = useSetState({\n value: undefined,\n error: undefined,\n noUserInteraction: true,\n }), state = _a[0], setState = _a[1];\n var copyToClipboard = useCallback(function (value) {\n if (!isMounted()) {\n return;\n }\n var noUserInteraction;\n var normalizedValue;\n try {\n // only strings and numbers casted to strings can be copied to clipboard\n if (typeof value !== 'string' && typeof value !== 'number') {\n var error = new Error(\"Cannot copy typeof \" + typeof value + \" to clipboard, must be a string\");\n if (process.env.NODE_ENV === 'development')\n console.error(error);\n setState({\n value: value,\n error: error,\n noUserInteraction: true,\n });\n return;\n }\n // empty strings are also considered invalid\n else if (value === '') {\n var error = new Error(\"Cannot copy empty string to clipboard.\");\n if (process.env.NODE_ENV === 'development')\n console.error(error);\n setState({\n value: value,\n error: error,\n noUserInteraction: true,\n });\n return;\n }\n normalizedValue = value.toString();\n noUserInteraction = writeText(normalizedValue);\n setState({\n value: normalizedValue,\n error: undefined,\n noUserInteraction: noUserInteraction,\n });\n }\n catch (error) {\n setState({\n value: normalizedValue,\n error: error,\n noUserInteraction: noUserInteraction,\n });\n }\n }, []);\n return [state, copyToClipboard];\n};\nexport default useCopyToClipboard;\n","import { useEffect, useState } from \"react\";\n\n/**\n * Hook that provides access to the current color scheme value.\n *\n * @experimental This hook is experimental and may change in future versions.\n *\n * This hook monitors the color-scheme CSS property on the document's HTML element\n * and returns the current value. It automatically updates when the color scheme changes,\n * either through direct style changes or theme updates stored in localStorage.\n *\n * The hook observes mutations to the HTML element's style attribute to detect\n * color scheme changes and re-renders the component when changes occur.\n *\n * @returns The current color scheme value as a string ('light', 'dark')\n */\nexport function useColorScheme() {\n const [colorScheme, setColorScheme] = useState(getCurrentColorScheme());\n\n // Helper function to get the current color-scheme from the <html> tag\n function getCurrentColorScheme() {\n return (\n document.documentElement.style.getPropertyValue(\"color-scheme\") ||\n localStorage.getItem(\"theme\") ||\n \"light\"\n );\n }\n\n useEffect(() => {\n const htmlElement = document.documentElement;\n\n const observer = new MutationObserver(() => {\n const newColorScheme = getCurrentColorScheme();\n setColorScheme(newColorScheme);\n });\n\n // Observe changes to the 'style' attribute of the <html> element\n observer.observe(htmlElement, {\n attributes: true,\n attributeFilter: [\"style\"],\n });\n\n return () => observer.disconnect();\n }, []);\n\n return colorScheme;\n}\n","\"use client\";\nimport { useTheme } from \"next-themes\";\n\n/**\n * Hook for managing color mode (light/dark theme) state.\n *\n * @experimental This hook is experimental and may change in future versions.\n *\n * This hook provides access to the current color mode and functions to change it.\n * It integrates with the next-themes library to handle theme persistence and system preference detection.\n *\n * @returns An object containing:\n * - `colorMode`: The current resolved theme ('light' | 'dark' | 'system' | undefined)\n * - `setColorMode`: Function to set a specific color mode\n * - `toggleColorMode`: Function to toggle between light and dark modes\n *\n * @example\n * ```tsx\n * function ThemeToggle() {\n * const { colorMode, toggleColorMode } = useColorMode();\n *\n * return (\n * <button onClick={toggleColorMode}>\n * Current mode: {colorMode}\n * </button>\n * );\n * }\n * ```\n */\n\nexport function useColorMode() {\n const { resolvedTheme, setTheme } = useTheme();\n const toggleColorMode = () => {\n setTheme(resolvedTheme === \"light\" ? \"dark\" : \"light\");\n };\n return {\n colorMode: resolvedTheme,\n setColorMode: setTheme,\n toggleColorMode,\n };\n}\n","import { useColorMode } from \"./../use-color-mode\";\n\n/**\n * Hook that returns a value based on the current color mode.\n *\n * @experimental This hook is experimental and may change in future versions.\n *\n * @param light - The value to return when the color mode is light\n * @param dark - The value to return when the color mode is dark\n * @returns The appropriate value based on the current color mode\n */\nexport function useColorModeValue<T>(light: T, dark: T) {\n const { colorMode } = useColorMode();\n return colorMode === \"light\" ? light : dark;\n}\n"],"names":["j","Q","K","D","H","r","c","f","y","d","L","R","U","i","I","_","V","X","Y","Z","F","ee","te","re","p","t","a","l","g","k","m","$","T","oe","M","x","W","se","ie","S","N","ue","z","J","fe","w","s","B","C","G","O","q","E","useMountedState","mountedRef","useRef","get","useCallback","useEffect","useSetState","initialState","_a","useState","state","set","setState","patch","prevState","toggleSelection","selection","active","ranges","range","deselectCurrent","require$$0","clipboardToIE11Formatting","defaultMessage","format","message","copyKey","copy","text","options","debug","reselectPrevious","mark","success","e","successful","err","copyToClipboard","useCopyToClipboard","isMounted","value","noUserInteraction","normalizedValue","error","writeText","useColorScheme","colorScheme","setColorScheme","getCurrentColorScheme","htmlElement","observer","newColorScheme","useColorMode","resolvedTheme","setTheme","useTheme","useColorModeValue","light","dark","colorMode"],"mappings":"0wGAEA,MAAMA,EAAI,CAAC,QAAS,MAAO,OAAQ,MAAO,OAAQ,SAAS,EAAGC,GAAI,CAChE,IAAK,SACL,OAAQ,QACR,KAAM,YACN,MAAO,aACP,GAAI,UACJ,KAAM,YACN,UAAW,QACX,WAAY,QACZ,QAAS,MACT,SAAU,MACV,SAAU,OACV,UAAW,OACX,OAAQ,OACR,QAAS,OACT,YAAa,OACb,aAAc,MAChB,EACA,SAASC,EAAE,EAAG,CACZ,OAAQD,GAAE,EAAE,KAAI,CAAE,GAAK,EAAE,KAAI,GAAI,YAAW,EAAG,QAAQ,mBAAoB,EAAE,CAC/E,CACA,SAASE,GAAE,EAAG,CACZ,OAAOH,EAAE,SAAS,CAAC,CACrB,CACA,SAASI,EAAE,EAAGC,EAAI,IAAK,CACrB,OAAO,EAAE,cAAc,MAAMA,CAAC,CAChC,CACA,SAAS,EAAE,EAAGA,EAAI,IAAK,EAAI,IAAK,EAAI,GAAI,EAAG,CACzC,IAAI,EAAI,GA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SAASG,GAAqBC,EAAUC,EAAS,CACtD,KAAM,CAAE,UAAAC,CAAA,EAAcP,GAAA,EACtB,OAAOO,IAAc,QAAUF,EAAQC,CACzC","x_google_ignoreList":[0,1,2,3,4,5]}
package/dist/index.d.ts CHANGED
@@ -1,347 +1,4 @@
1
- import { AriaButtonProps } from 'react-aria';
2
- import { HTMLChakraProps } from '@chakra-ui/react';
3
- import { JSX } from 'react/jsx-runtime';
4
- import { ModalOverlayProps } from 'react-aria-components';
5
- import { RecipeProps } from '@chakra-ui/react';
6
- import { SlotRecipeProps } from '@chakra-ui/react';
7
- import { SystemContext } from '@chakra-ui/react';
8
- import { UnstyledProp } from '@chakra-ui/react';
9
-
10
- declare type ButtonProps = Omit<ButtonRootSlotProps, keyof AriaButtonProps> & AriaButtonProps & {
11
- /**
12
- * Data attributes for testing or custom metadata
13
- */
14
- [key: `data-${string}`]: unknown;
15
- /**
16
- * Slot name for React Aria Components composition
17
- */
18
- slot?: string | null | undefined;
19
- /**
20
- * Ref forwarding to the button element
21
- */
22
- ref?: React.Ref<HTMLButtonElement>;
23
- };
24
-
25
- declare type ButtonRecipeProps = {
26
- /**
27
- * Size variant of the button
28
- * @default "md"
29
- */
30
- size?: RecipeProps<"button">["size"];
31
- /**
32
- * Visual style variant of the button
33
- * @default "subtle"
34
- */
35
- variant?: RecipeProps<"button">["variant"];
36
- /**
37
- * Color tone palette for the button
38
- */
39
- tone?: RecipeProps<"button">["tone"];
40
- } & UnstyledProp;
41
-
42
- declare type ButtonRootSlotProps = Omit<HTMLChakraProps<"button", ButtonRecipeProps>, "slot"> & {
43
- slot?: string | null | undefined;
44
- };
45
-
46
- /**
47
- * Checks if we're in a browser environment
48
- */
49
- export declare function canUseDOM(): boolean;
50
-
51
- export declare const DialogBody: {
52
- (props: DialogBodyProps): JSX.Element;
53
- displayName: string;
54
- };
55
-
56
- /**
57
- * Props for the Dialog.Body component
58
- *
59
- * The main body content section of the dialog.
60
- */
61
- declare type DialogBodyProps = DialogBodySlotProps & {
62
- /**
63
- * The body content
64
- */
65
- children: React.ReactNode;
66
- /**
67
- * The ref to the dialog body
68
- */
69
- ref?: React.Ref<HTMLDivElement>;
70
- };
71
-
72
- declare type DialogBodySlotProps = HTMLChakraProps<"div">;
73
-
74
- export declare const DialogCloseTrigger: {
75
- (props: DialogCloseTriggerProps): JSX.Element;
76
- displayName: string;
77
- };
78
-
79
- /**
80
- * Props for the Dialog.CloseTrigger component
81
- *
82
- * A button that closes the dialog when activated.
83
- * Displays an IconButton with an X icon by default.
84
- */
85
- declare type DialogCloseTriggerProps = Omit<IconButtonProps, "aria-label"> & {
86
- /**
87
- * Accessible label for the close button
88
- * @default "Close dialog"
89
- */
90
- "aria-label"?: string;
91
- };
92
-
93
- export declare const DialogContent: {
94
- (props: DialogContentProps): JSX.Element;
95
- displayName: string;
96
- };
97
-
98
- /**
99
- * Props for the Dialog.Content component
100
- *
101
- * The main dialog content container that wraps the React Aria Dialog and Dialog.
102
- * Configuration (size, placement, etc.) is inherited from Dialog.Root via context.
103
- */
104
- declare type DialogContentProps = DialogModalOverlaySlotProps & {
105
- /**
106
- * The dialog content
107
- */
108
- children: React.ReactNode;
109
- /**
110
- * The ref to the dialog content
111
- */
112
- ref?: React.RefObject<HTMLDivElement>;
113
- };
114
-
115
- export declare const DialogFooter: {
116
- (props: DialogFooterProps): JSX.Element;
117
- displayName: string;
118
- };
119
-
120
- /**
121
- * Props for the Dialog.Footer component
122
- *
123
- * The footer section of the dialog, typically containing action buttons.
124
- */
125
- declare type DialogFooterProps = DialogFooterSlotProps & {
126
- /**
127
- * The footer content (usually buttons)
128
- */
129
- children: React.ReactNode;
130
- /**
131
- * The ref to the dialog footer
132
- */
133
- ref?: React.Ref<HTMLElement>;
134
- };
135
-
136
- declare type DialogFooterSlotProps = HTMLChakraProps<"footer">;
137
-
138
- export declare const DialogHeader: {
139
- (props: DialogHeaderProps): JSX.Element;
140
- displayName: string;
141
- };
142
-
143
- /**
144
- * Props for the Dialog.Header component
145
- *
146
- * The header section of the dialog content.
147
- */
148
- declare type DialogHeaderProps = DialogHeaderSlotProps & {
149
- /**
150
- * The header content
151
- */
152
- children: React.ReactNode;
153
- /**
154
- * The ref to the dialog header
155
- */
156
- ref?: React.Ref<HTMLElement>;
157
- };
158
-
159
- declare type DialogHeaderSlotProps = HTMLChakraProps<"header">;
160
-
161
- declare type DialogModalOverlaySlotProps = HTMLChakraProps<"div">;
162
-
163
- declare type DialogRecipeProps = {
164
- /** Placement of the dialog in the viewport */
165
- placement?: SlotRecipeProps<"dialog">["placement"];
166
- /** How scrolling behavior is handled when content overflows */
167
- scrollBehavior?: SlotRecipeProps<"dialog">["scrollBehavior"];
168
- };
169
-
170
- export declare const DialogRoot: {
171
- (props: DialogRootProps): JSX.Element;
172
- displayName: string;
173
- };
174
-
175
- /**
176
- * Props for the Dialog.Root component
177
- *
178
- * The root component that provides context and state management for the dialog.
179
- * Uses React Aria's DialogTrigger for accessibility and state management.
180
- *
181
- * This component handles configuration through recipe variants that are passed
182
- * down to child components via context.
183
- */
184
- declare type DialogRootProps = DialogRootSlotProps & {
185
- /**
186
- * The children components (Trigger, Content, etc.)
187
- */
188
- children: React.ReactNode;
189
- /**
190
- * Whether the dialog is open (controlled mode)
191
- */
192
- isOpen?: boolean;
193
- /**
194
- * Whether the dialog is open by default (uncontrolled mode)
195
- * @default false
196
- */
197
- defaultOpen?: boolean;
198
- /**
199
- * Whether the dialog can be dismissed by clicking the backdrop or pressing Escape.
200
- * If true, clicking outside the dialog or pressing Escape will close it.
201
- * @default true
202
- */
203
- isDismissable?: ModalOverlayProps["isDismissable"];
204
- /**
205
- * Whether keyboard dismissal (Escape key) is disabled.
206
- * If true, pressing Escape will NOT close the dialog.
207
- * @default false
208
- */
209
- isKeyboardDismissDisabled?: ModalOverlayProps["isKeyboardDismissDisabled"];
210
- /**
211
- * Function to determine whether the dialog should close when interacting outside.
212
- * Receives the event and returns true to allow closing, false to prevent.
213
- */
214
- shouldCloseOnInteractOutside?: ModalOverlayProps["shouldCloseOnInteractOutside"];
215
- /**
216
- * Callback fired when the dialog open state changes
217
- * @param isOpen - Whether the dialog is now open
218
- */
219
- onOpenChange?: (isOpen: boolean) => void;
220
- /** A Title for the dialog, optional, as long as the Dialog.Title component is user
221
- * or there is a Heading component used inside the Dialog with
222
- * a `slot`-property set to `title`.
223
- */
224
- "aria-label"?: string;
225
- };
226
-
227
- declare type DialogRootSlotProps = HTMLChakraProps<"div", DialogRecipeProps>;
228
-
229
- export declare const DialogTitle: {
230
- (props: DialogTitleProps): JSX.Element;
231
- displayName: string;
232
- };
233
-
234
- /**
235
- * Props for the Dialog.Title component
236
- *
237
- * The accessible title element for the dialog.
238
- */
239
- declare type DialogTitleProps = DialogTitleSlotProps & {
240
- /**
241
- * The title text
242
- */
243
- children: React.ReactNode;
244
- /**
245
- * The ref to the dialog title
246
- */
247
- ref?: React.Ref<HTMLHeadingElement>;
248
- };
249
-
250
- declare type DialogTitleSlotProps = HTMLChakraProps<"h2">;
251
-
252
- export declare const DialogTrigger: {
253
- ({ ref: forwardedRef, children, asChild, ...props }: DialogTriggerProps): JSX.Element;
254
- displayName: string;
255
- };
256
-
257
- /**
258
- * Props for the Dialog.Trigger component
259
- *
260
- * The trigger element that opens the dialog when activated.
261
- */
262
- declare type DialogTriggerProps = DialogTriggerSlotProps & {
263
- /**
264
- * The trigger content
265
- */
266
- children: React.ReactNode;
267
- /**
268
- * Whether to render as a child element (use children directly as the trigger)
269
- * @default false
270
- */
271
- asChild?: boolean;
272
- /**
273
- * Whether the trigger is disabled
274
- * @default false
275
- */
276
- isDisabled?: boolean;
277
- /**
278
- * The ref to the trigger html-button
279
- */
280
- ref?: React.RefObject<HTMLButtonElement>;
281
- };
282
-
283
- declare type DialogTriggerSlotProps = HTMLChakraProps<"button">;
284
-
285
- declare type IconButtonProps = ButtonProps & {
286
- /**
287
- * Required accessible label explaining the intended action
288
- */
289
- "aria-label": string;
290
- /**
291
- * Ref forwarding to the button element
292
- */
293
- ref?: React.Ref<HTMLButtonElement>;
294
- };
295
-
296
- /**
297
- * Configuration options for SVG sanitization
298
- */
299
- declare type SanitizationOptions = {
300
- /**
301
- * Whether to allow style attributes in SVG elements
302
- * @default false
303
- */
304
- allowStyles?: boolean;
305
- /**
306
- * Additional attributes to remove during sanitization beyond the default set
307
- * @default []
308
- */
309
- forbiddenAttributes?: string[];
310
- /**
311
- * Additional tags to remove during sanitization beyond the default set
312
- * @default []
313
- */
314
- forbiddenTags?: string[];
315
- };
316
-
317
- /**
318
- * Sanitizes SVG markup string to prevent XSS attacks
319
- * @param svgString - The SVG markup as a string
320
- * @param options - Optional sanitization configuration
321
- * @returns Sanitized SVG string or null if invalid
322
- */
323
- export declare function sanitizeSvg(svgString: string, options?: SanitizationOptions): string | null;
324
-
325
- export declare const system: SystemContext;
326
-
327
- /**
328
- * Hook for processing and sanitizing SVG data
329
- * @param data - Raw SVG markup as a string
330
- * @returns Processed SVG attributes, content, and sanitization status
331
- */
332
- export declare function useInlineSvg(data: string): {
333
- isValid: boolean;
334
- svgAttributes: Record<string, string>;
335
- innerSvgContent: string;
336
- };
337
-
338
- export { }
339
-
340
-
341
- declare module "slate" {
342
- interface CustomTypes {
343
- Editor: BaseEditor & ReactEditor & HistoryEditor;
344
- Element: CustomElement;
345
- Text: CustomText;
346
- }
347
- }
1
+ export * from './components';
2
+ export * from './hooks';
3
+ export * from './theme';
4
+ export * from './type-utils';