@vkzstudio/muza-ui 1.0.47 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (778) hide show
  1. package/README.md +173 -171
  2. package/dist/Muza_BP_logo.svg +26 -26
  3. package/dist/components/Accordion/Accordion.d.ts +112 -18
  4. package/dist/components/Accordion/Accordion.d.ts.map +1 -1
  5. package/dist/components/Accordion/Accordion.js +208 -110
  6. package/dist/components/Accordion/Accordion.stories.d.ts +3 -0
  7. package/dist/components/Accordion/Accordion.stories.d.ts.map +1 -1
  8. package/dist/components/Alert/Alert.d.ts +3 -1
  9. package/dist/components/Alert/Alert.d.ts.map +1 -1
  10. package/dist/components/Alert/Alert.js +28 -24
  11. package/dist/components/Button/Button.stories.d.ts.map +1 -1
  12. package/dist/components/ButtonArrow/ButtonArrow.stories.d.ts.map +1 -1
  13. package/dist/components/Calendar/Calendar.js +10 -11
  14. package/dist/components/Card/Card.stories.d.ts.map +1 -1
  15. package/dist/components/CardCheckboxAmount/CardCheckboxAmount.d.ts +111 -0
  16. package/dist/components/CardCheckboxAmount/CardCheckboxAmount.d.ts.map +1 -0
  17. package/dist/components/CardCheckboxAmount/CardCheckboxAmount.js +115 -0
  18. package/dist/components/CardCheckboxAmount/CardCheckboxAmount.stories.d.ts +13 -0
  19. package/dist/components/CardCheckboxAmount/CardCheckboxAmount.stories.d.ts.map +1 -0
  20. package/dist/components/CardCheckboxAmount/index.d.ts +2 -0
  21. package/dist/components/CardCheckboxAmount/index.d.ts.map +1 -0
  22. package/dist/components/Carousel/Carousel.d.ts +30 -3
  23. package/dist/components/Carousel/Carousel.d.ts.map +1 -1
  24. package/dist/components/Carousel/Carousel.js +112 -92
  25. package/dist/components/Carousel/Carousel.stories.d.ts.map +1 -1
  26. package/dist/components/Chip/Chip.d.ts.map +1 -1
  27. package/dist/components/Chip/Chip.js +6 -2
  28. package/dist/components/Chip/Chip.stories.d.ts.map +1 -1
  29. package/dist/components/DataTable/DataTable.stories.d.ts.map +1 -1
  30. package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
  31. package/dist/components/DatePicker/DatePicker.js +10 -2
  32. package/dist/components/DatePicker/DatePicker.stories.d.ts +1 -0
  33. package/dist/components/DatePicker/DatePicker.stories.d.ts.map +1 -1
  34. package/dist/components/DatePickerButton/DatePickerButton.d.ts +97 -0
  35. package/dist/components/DatePickerButton/DatePickerButton.d.ts.map +1 -0
  36. package/dist/components/DatePickerButton/DatePickerButton.js +329 -0
  37. package/dist/components/DatePickerButton/DatePickerButton.stories.d.ts +15 -0
  38. package/dist/components/DatePickerButton/DatePickerButton.stories.d.ts.map +1 -0
  39. package/dist/components/DatePickerButton/index.d.ts +2 -0
  40. package/dist/components/DatePickerButton/index.d.ts.map +1 -0
  41. package/dist/components/Dialog/Dialog.js +1 -1
  42. package/dist/components/Dialog/Dialog.stories.d.ts +1 -0
  43. package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -1
  44. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +1 -0
  45. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
  46. package/dist/components/Icons/CustomBadges.d.ts +5 -0
  47. package/dist/components/Icons/CustomBadges.d.ts.map +1 -1
  48. package/dist/components/Icons/CustomBadges.js +216 -13
  49. package/dist/components/Icons/CustomLogos.d.ts +18 -2
  50. package/dist/components/Icons/CustomLogos.d.ts.map +1 -1
  51. package/dist/components/Icons/CustomLogos.js +103 -97
  52. package/dist/components/Icons/LogosAndBadges.stories.d.ts +1 -0
  53. package/dist/components/Icons/LogosAndBadges.stories.d.ts.map +1 -1
  54. package/dist/components/Input/Input.js +22 -32
  55. package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts +26 -1
  56. package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts.map +1 -1
  57. package/dist/components/LanguageSwitcher/LanguageSwitcher.js +86 -44
  58. package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts +2 -0
  59. package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts.map +1 -1
  60. package/dist/components/Lightbox/Lightbox.d.ts.map +1 -1
  61. package/dist/components/Lightbox/Lightbox.js +70 -54
  62. package/dist/components/Lightbox/Lightbox.stories.d.ts +1 -0
  63. package/dist/components/Lightbox/Lightbox.stories.d.ts.map +1 -1
  64. package/dist/components/Lightbox/LightboxOverrides.css +5 -5
  65. package/dist/components/LoginScreen/LoginScreen.js +8 -8
  66. package/dist/components/LoginScreen/LoginScreen.stories.d.ts.map +1 -1
  67. package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DModel.js +10 -9
  68. package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DScene.js +21 -22
  69. package/dist/components/LoginScreen/LoginScreenItem.js +1 -1
  70. package/dist/components/MultiSelect/MultiSelect.stories.d.ts +1 -0
  71. package/dist/components/MultiSelect/MultiSelect.stories.d.ts.map +1 -1
  72. package/dist/components/Pagination/Pagination.stories.d.ts.map +1 -1
  73. package/dist/components/Popover/Popover.d.ts +8 -1
  74. package/dist/components/Popover/Popover.d.ts.map +1 -1
  75. package/dist/components/Popover/Popover.js +7 -6
  76. package/dist/components/Popover/Popover.stories.d.ts +1 -0
  77. package/dist/components/Popover/Popover.stories.d.ts.map +1 -1
  78. package/dist/components/Reorderable/Reorderable.js +74 -78
  79. package/dist/components/Reorderable/Reorderable.stories.d.ts.map +1 -1
  80. package/dist/components/ReorderableTable/ReorderableTable.js +1 -1
  81. package/dist/components/SegmentedControl/SegmentedControl.stories.d.ts.map +1 -1
  82. package/dist/components/SegmentedIconControl/SegmentedIconControl.stories.d.ts.map +1 -1
  83. package/dist/components/Select/Select.stories.d.ts +1 -0
  84. package/dist/components/Select/Select.stories.d.ts.map +1 -1
  85. package/dist/components/Sheet/Sheet.stories.d.ts +1 -0
  86. package/dist/components/Sheet/Sheet.stories.d.ts.map +1 -1
  87. package/dist/components/SwipeButton/SwipeButton.js +37 -42
  88. package/dist/components/Tag/Tag.js +1 -1
  89. package/dist/components/TextEditor/LinkBubbleMenu.js +2 -2
  90. package/dist/components/TextEditor/TextEditor.d.ts.map +1 -1
  91. package/dist/components/TextEditor/TextEditor.js +17 -14
  92. package/dist/components/TextEditor/TextEditor.stories.d.ts.map +1 -1
  93. package/dist/components/Toast/Toast.stories.d.ts +1 -0
  94. package/dist/components/Toast/Toast.stories.d.ts.map +1 -1
  95. package/dist/components/Toggle/Toggle.stories.d.ts.map +1 -1
  96. package/dist/components/ToggleCheckButton/ToggleCheckButton.stories.d.ts.map +1 -1
  97. package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts.map +1 -1
  98. package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -0
  99. package/dist/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
  100. package/dist/components/Typography/Typography.d.ts +10 -1
  101. package/dist/components/Typography/Typography.d.ts.map +1 -1
  102. package/dist/components/Typography/Typography.js +82 -67
  103. package/dist/components/Typography/Typography.stories.d.ts +1 -0
  104. package/dist/components/Typography/Typography.stories.d.ts.map +1 -1
  105. package/dist/components/TypographyLink/TypographyLink.d.ts +72 -0
  106. package/dist/components/TypographyLink/TypographyLink.d.ts.map +1 -0
  107. package/dist/components/TypographyLink/TypographyLink.js +103 -0
  108. package/dist/components/TypographyLink/TypographyLink.stories.d.ts +12 -0
  109. package/dist/components/TypographyLink/TypographyLink.stories.d.ts.map +1 -0
  110. package/dist/components/TypographyLink/index.d.ts +2 -0
  111. package/dist/components/TypographyLink/index.d.ts.map +1 -0
  112. package/dist/components/UniversalFooter/UniversalFooter.d.ts +198 -0
  113. package/dist/components/UniversalFooter/UniversalFooter.d.ts.map +1 -0
  114. package/dist/components/UniversalFooter/UniversalFooter.js +401 -0
  115. package/dist/components/UniversalFooter/UniversalFooter.stories.d.ts +19 -0
  116. package/dist/components/UniversalFooter/UniversalFooter.stories.d.ts.map +1 -0
  117. package/dist/components/UniversalFooter/index.d.ts +2 -0
  118. package/dist/components/UniversalFooter/index.d.ts.map +1 -0
  119. package/dist/components/index.d.ts +4 -0
  120. package/dist/components/index.d.ts.map +1 -1
  121. package/dist/fonts/Objectivity/OFL.txt +92 -92
  122. package/dist/globals.css +12 -12
  123. package/dist/index.js +354 -322
  124. package/dist/muza-ui.css +1 -1
  125. package/dist/styles/3rd-parties.css +5 -5
  126. package/dist/styles/animations.css +21 -21
  127. package/dist/styles/breakpoints.css +4 -4
  128. package/dist/styles/primitives.css +163 -161
  129. package/dist/styles/token-colors.css +1445 -1437
  130. package/dist/styles/token-sizes.css +1553 -1513
  131. package/dist/styles/typography.css +113 -113
  132. package/dist/styles/utilities.css +66 -66
  133. package/dist/styles/white-label.css +26 -26
  134. package/dist/translations/TranslationContext.js +22 -24
  135. package/dist/translations/index.d.ts +1 -1
  136. package/dist/translations/index.d.ts.map +1 -1
  137. package/dist/translations/locales/cs.d.ts.map +1 -1
  138. package/dist/translations/locales/cs.js +9 -1
  139. package/dist/translations/locales/en.d.ts.map +1 -1
  140. package/dist/translations/locales/en.js +9 -1
  141. package/dist/translations/locales/sk.d.ts.map +1 -1
  142. package/dist/translations/locales/sk.js +9 -1
  143. package/dist/translations/types.d.ts +20 -0
  144. package/dist/translations/types.d.ts.map +1 -1
  145. package/llms-full.md +584 -584
  146. package/llms.txt +37 -37
  147. package/package.json +20 -24
  148. package/dist/_virtual/_commonjsHelpers.js +0 -6
  149. package/dist/_virtual/constants.js +0 -5
  150. package/dist/_virtual/constants2.js +0 -4
  151. package/dist/_virtual/index.js +0 -7
  152. package/dist/_virtual/index2.js +0 -4
  153. package/dist/_virtual/index3.js +0 -4
  154. package/dist/_virtual/index4.js +0 -7
  155. package/dist/_virtual/index5.js +0 -5
  156. package/dist/_virtual/index6.js +0 -4
  157. package/dist/_virtual/index7.js +0 -4
  158. package/dist/_virtual/react-dom-server-legacy.browser.development.js +0 -4
  159. package/dist/_virtual/react-dom-server-legacy.browser.production.min.js +0 -4
  160. package/dist/_virtual/react-dom-server.browser.development.js +0 -4
  161. package/dist/_virtual/react-dom-server.browser.production.min.js +0 -4
  162. package/dist/_virtual/react-is.development.js +0 -4
  163. package/dist/_virtual/react-is.production.min.js +0 -4
  164. package/dist/_virtual/react-reconciler-constants.development.js +0 -4
  165. package/dist/_virtual/react-reconciler-constants.production.min.js +0 -4
  166. package/dist/_virtual/react-reconciler.development.js +0 -4
  167. package/dist/_virtual/scheduler.development.js +0 -4
  168. package/dist/_virtual/scheduler.production.min.js +0 -4
  169. package/dist/_virtual/server.browser.js +0 -5
  170. package/dist/_virtual/server.browser2.js +0 -4
  171. package/dist/node_modules/@date-fns/tz/date/index.js +0 -61
  172. package/dist/node_modules/@date-fns/tz/date/mini.js +0 -69
  173. package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -11
  174. package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -22
  175. package/dist/node_modules/@popperjs/core/lib/createPopper.js +0 -122
  176. package/dist/node_modules/@popperjs/core/lib/dom-utils/contains.js +0 -18
  177. package/dist/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js +0 -23
  178. package/dist/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js +0 -37
  179. package/dist/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js +0 -32
  180. package/dist/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js +0 -7
  181. package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js +0 -10
  182. package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js +0 -17
  183. package/dist/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js +0 -9
  184. package/dist/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js +0 -13
  185. package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js +0 -6
  186. package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js +0 -10
  187. package/dist/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js +0 -35
  188. package/dist/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js +0 -18
  189. package/dist/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js +0 -10
  190. package/dist/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js +0 -21
  191. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindow.js +0 -12
  192. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js +0 -11
  193. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js +0 -9
  194. package/dist/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js +0 -20
  195. package/dist/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js +0 -7
  196. package/dist/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js +0 -8
  197. package/dist/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js +0 -7
  198. package/dist/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js +0 -16
  199. package/dist/node_modules/@popperjs/core/lib/enums.js +0 -31
  200. package/dist/node_modules/@popperjs/core/lib/modifiers/applyStyles.js +0 -47
  201. package/dist/node_modules/@popperjs/core/lib/modifiers/arrow.js +0 -37
  202. package/dist/node_modules/@popperjs/core/lib/modifiers/computeStyles.js +0 -99
  203. package/dist/node_modules/@popperjs/core/lib/modifiers/eventListeners.js +0 -26
  204. package/dist/node_modules/@popperjs/core/lib/modifiers/flip.js +0 -74
  205. package/dist/node_modules/@popperjs/core/lib/modifiers/hide.js +0 -44
  206. package/dist/node_modules/@popperjs/core/lib/modifiers/offset.js +0 -31
  207. package/dist/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +0 -19
  208. package/dist/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js +0 -54
  209. package/dist/node_modules/@popperjs/core/lib/popper.js +0 -27
  210. package/dist/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js +0 -27
  211. package/dist/node_modules/@popperjs/core/lib/utils/computeOffsets.js +0 -54
  212. package/dist/node_modules/@popperjs/core/lib/utils/debounce.js +0 -13
  213. package/dist/node_modules/@popperjs/core/lib/utils/detectOverflow.js +0 -33
  214. package/dist/node_modules/@popperjs/core/lib/utils/expandToHashMap.js +0 -8
  215. package/dist/node_modules/@popperjs/core/lib/utils/getAltAxis.js +0 -6
  216. package/dist/node_modules/@popperjs/core/lib/utils/getBasePlacement.js +0 -6
  217. package/dist/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js +0 -11
  218. package/dist/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js +0 -6
  219. package/dist/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js +0 -14
  220. package/dist/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js +0 -12
  221. package/dist/node_modules/@popperjs/core/lib/utils/getVariation.js +0 -6
  222. package/dist/node_modules/@popperjs/core/lib/utils/math.js +0 -6
  223. package/dist/node_modules/@popperjs/core/lib/utils/mergeByName.js +0 -15
  224. package/dist/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js +0 -7
  225. package/dist/node_modules/@popperjs/core/lib/utils/orderModifiers.js +0 -31
  226. package/dist/node_modules/@popperjs/core/lib/utils/rectToClientRect.js +0 -11
  227. package/dist/node_modules/@popperjs/core/lib/utils/userAgent.js +0 -9
  228. package/dist/node_modules/@popperjs/core/lib/utils/within.js +0 -12
  229. package/dist/node_modules/@react-three/drei/core/useAnimations.js +0 -34
  230. package/dist/node_modules/@react-three/drei/core/useGLTF.js +0 -18
  231. package/dist/node_modules/@react-three/fiber/dist/events-776716bd.esm.js +0 -1311
  232. package/dist/node_modules/@react-three/fiber/dist/react-three-fiber.esm.js +0 -145
  233. package/dist/node_modules/@react-three/fiber/node_modules/suspend-react/index.js +0 -47
  234. package/dist/node_modules/@tiptap/core/dist/index.js +0 -2857
  235. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +0 -45
  236. package/dist/node_modules/@tiptap/extension-bold/dist/index.js +0 -76
  237. package/dist/node_modules/@tiptap/extension-bubble-menu/dist/index.js +0 -129
  238. package/dist/node_modules/@tiptap/extension-bullet-list/dist/index.js +0 -55
  239. package/dist/node_modules/@tiptap/extension-character-count/dist/index.js +0 -73
  240. package/dist/node_modules/@tiptap/extension-code/dist/index.js +0 -54
  241. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +0 -136
  242. package/dist/node_modules/@tiptap/extension-document/dist/index.js +0 -10
  243. package/dist/node_modules/@tiptap/extension-dropcursor/dist/index.js +0 -21
  244. package/dist/node_modules/@tiptap/extension-gapcursor/dist/index.js +0 -25
  245. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +0 -56
  246. package/dist/node_modules/@tiptap/extension-heading/dist/index.js +0 -55
  247. package/dist/node_modules/@tiptap/extension-history/dist/index.js +0 -36
  248. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +0 -59
  249. package/dist/node_modules/@tiptap/extension-italic/dist/index.js +0 -75
  250. package/dist/node_modules/@tiptap/extension-link/dist/index.js +0 -272
  251. package/dist/node_modules/@tiptap/extension-list-item/dist/index.js +0 -34
  252. package/dist/node_modules/@tiptap/extension-ordered-list/dist/index.js +0 -73
  253. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +0 -34
  254. package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +0 -53
  255. package/dist/node_modules/@tiptap/extension-strike/dist/index.js +0 -64
  256. package/dist/node_modules/@tiptap/extension-text/dist/index.js +0 -9
  257. package/dist/node_modules/@tiptap/react/dist/index.js +0 -709
  258. package/dist/node_modules/@tiptap/starter-kit/dist/index.js +0 -30
  259. package/dist/node_modules/color/index.js +0 -262
  260. package/dist/node_modules/color/node_modules/color-convert/conversions.js +0 -421
  261. package/dist/node_modules/color/node_modules/color-convert/index.js +0 -35
  262. package/dist/node_modules/color/node_modules/color-convert/route.js +0 -46
  263. package/dist/node_modules/color/node_modules/color-name/index.js +0 -153
  264. package/dist/node_modules/color-string/index.js +0 -105
  265. package/dist/node_modules/color-string/node_modules/color-name/index.js +0 -153
  266. package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
  267. package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
  268. package/dist/node_modules/date-fns/constants.js +0 -4
  269. package/dist/node_modules/date-fns/constructFrom.js +0 -8
  270. package/dist/node_modules/date-fns/isSameWeek.js +0 -14
  271. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -9
  272. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -18
  273. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -31
  274. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -15
  275. package/dist/node_modules/date-fns/locale/cs/_lib/formatDistance.js +0 -275
  276. package/dist/node_modules/date-fns/locale/cs/_lib/formatLong.js +0 -33
  277. package/dist/node_modules/date-fns/locale/cs/_lib/formatRelative.js +0 -25
  278. package/dist/node_modules/date-fns/locale/cs/_lib/localize.js +0 -167
  279. package/dist/node_modules/date-fns/locale/cs/_lib/match.js +0 -109
  280. package/dist/node_modules/date-fns/locale/cs.js +0 -21
  281. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -70
  282. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -33
  283. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
  284. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -155
  285. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -110
  286. package/dist/node_modules/date-fns/locale/en-US.js +0 -21
  287. package/dist/node_modules/date-fns/locale/sk/_lib/formatDistance.js +0 -158
  288. package/dist/node_modules/date-fns/locale/sk/_lib/formatLong.js +0 -33
  289. package/dist/node_modules/date-fns/locale/sk/_lib/formatRelative.js +0 -60
  290. package/dist/node_modules/date-fns/locale/sk/_lib/localize.js +0 -175
  291. package/dist/node_modules/date-fns/locale/sk/_lib/match.js +0 -111
  292. package/dist/node_modules/date-fns/locale/sk.js +0 -21
  293. package/dist/node_modules/date-fns/startOfWeek.js +0 -11
  294. package/dist/node_modules/date-fns/toDate.js +0 -8
  295. package/dist/node_modules/framer-motion/dist/es/animation/animate/index.js +0 -25
  296. package/dist/node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.js +0 -8
  297. package/dist/node_modules/framer-motion/dist/es/animation/animate/sequence.js +0 -12
  298. package/dist/node_modules/framer-motion/dist/es/animation/animate/subject.js +0 -32
  299. package/dist/node_modules/framer-motion/dist/es/animation/sequence/create.js +0 -128
  300. package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.js +0 -6
  301. package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.js +0 -6
  302. package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/edit.js +0 -22
  303. package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.js +0 -7
  304. package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/sort.js +0 -6
  305. package/dist/node_modules/framer-motion/dist/es/animation/utils/create-visual-element.js +0 -40
  306. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.js +0 -6
  307. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -59
  308. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -34
  309. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -47
  310. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
  311. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -12
  312. package/dist/node_modules/framer-motion/dist/es/components/Reorder/Group.js +0 -46
  313. package/dist/node_modules/framer-motion/dist/es/components/Reorder/Item.js +0 -34
  314. package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/auto-scroll.js +0 -64
  315. package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/check-reorder.js +0 -17
  316. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -5
  317. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -5
  318. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -9
  319. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -13
  320. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -5
  321. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -15
  322. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -5
  323. package/dist/node_modules/framer-motion/dist/es/context/ReorderContext.js +0 -5
  324. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -5
  325. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -8
  326. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -14
  327. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -277
  328. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -22
  329. package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.js +0 -70
  330. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -67
  331. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -28
  332. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -21
  333. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -131
  334. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -43
  335. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -23
  336. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -27
  337. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -34
  338. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -13
  339. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -39
  340. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
  341. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -21
  342. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -60
  343. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
  344. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -14
  345. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -44
  346. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -21
  347. package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -63
  348. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -4
  349. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -22
  350. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
  351. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -52
  352. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -38
  353. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
  354. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -13
  355. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -7
  356. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -10
  357. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -16
  358. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -20
  359. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -24
  360. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -10
  361. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -27
  362. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -9
  363. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -30
  364. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -22
  365. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -10
  366. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -8
  367. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -9
  368. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -4
  369. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -4
  370. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -6
  371. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +0 -28
  372. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -8
  373. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -6
  374. package/dist/node_modules/framer-motion/dist/es/utils/use-motion-value-event.js +0 -7
  375. package/dist/node_modules/framer-motion/dist/es/value/use-combine-values.js +0 -15
  376. package/dist/node_modules/framer-motion/dist/es/value/use-computed.js +0 -10
  377. package/dist/node_modules/framer-motion/dist/es/value/use-motion-value.js +0 -15
  378. package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +0 -31
  379. package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +0 -34
  380. package/dist/node_modules/imask/esm/controls/html-input-mask-element.js +0 -31
  381. package/dist/node_modules/imask/esm/controls/html-mask-element.js +0 -48
  382. package/dist/node_modules/imask/esm/controls/input-history.js +0 -30
  383. package/dist/node_modules/imask/esm/controls/input.js +0 -222
  384. package/dist/node_modules/imask/esm/controls/mask-element.js +0 -43
  385. package/dist/node_modules/imask/esm/core/action-details.js +0 -51
  386. package/dist/node_modules/imask/esm/core/change-details.js +0 -36
  387. package/dist/node_modules/imask/esm/core/continuous-tail-details.js +0 -42
  388. package/dist/node_modules/imask/esm/core/holder.js +0 -6
  389. package/dist/node_modules/imask/esm/core/utils.js +0 -67
  390. package/dist/node_modules/imask/esm/index.js +0 -50
  391. package/dist/node_modules/imask/esm/masked/base.js +0 -252
  392. package/dist/node_modules/imask/esm/masked/date.js +0 -117
  393. package/dist/node_modules/imask/esm/masked/dynamic.js +0 -222
  394. package/dist/node_modules/imask/esm/masked/enum.js +0 -69
  395. package/dist/node_modules/imask/esm/masked/factory.js +0 -46
  396. package/dist/node_modules/imask/esm/masked/function.js +0 -23
  397. package/dist/node_modules/imask/esm/masked/number.js +0 -212
  398. package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +0 -103
  399. package/dist/node_modules/imask/esm/masked/pattern/cursor.js +0 -100
  400. package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js +0 -102
  401. package/dist/node_modules/imask/esm/masked/pattern/input-definition.js +0 -133
  402. package/dist/node_modules/imask/esm/masked/pattern.js +0 -322
  403. package/dist/node_modules/imask/esm/masked/pipe.js +0 -23
  404. package/dist/node_modules/imask/esm/masked/range.js +0 -78
  405. package/dist/node_modules/imask/esm/masked/regexp.js +0 -21
  406. package/dist/node_modules/imask/esm/masked/repeat.js +0 -104
  407. package/dist/node_modules/its-fine/dist/index.js +0 -116
  408. package/dist/node_modules/linkifyjs/dist/linkify.js +0 -707
  409. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -106
  410. package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimation.js +0 -76
  411. package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.js +0 -10
  412. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -133
  413. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -108
  414. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -37
  415. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -10
  416. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -17
  417. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -37
  418. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -30
  419. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.js +0 -32
  420. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.js +0 -52
  421. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.js +0 -98
  422. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -13
  423. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -13
  424. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -6
  425. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -9
  426. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -46
  427. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -46
  428. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -30
  429. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -22
  430. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -69
  431. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -75
  432. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -8
  433. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -8
  434. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -12
  435. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -6
  436. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -7
  437. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -7
  438. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -16
  439. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -31
  440. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -6
  441. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -7
  442. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -27
  443. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -7
  444. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -23
  445. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -31
  446. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -22
  447. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-final-keyframe.js +0 -8
  448. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -6
  449. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -7
  450. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -9
  451. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -6
  452. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -6
  453. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -16
  454. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -4
  455. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -12
  456. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -15
  457. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -21
  458. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -24
  459. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -8
  460. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -10
  461. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -17
  462. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -6
  463. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -27
  464. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -9
  465. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -5
  466. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -21
  467. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -41
  468. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -15
  469. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -11
  470. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -11
  471. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -24
  472. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -33
  473. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -13
  474. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -27
  475. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -4
  476. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -4
  477. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -4
  478. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -12
  479. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -27
  480. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -25
  481. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -14
  482. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -52
  483. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -36
  484. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -25
  485. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -18
  486. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -34
  487. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -16
  488. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -25
  489. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -623
  490. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -15
  491. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -60
  492. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -21
  493. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -16
  494. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -21
  495. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -13
  496. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -4
  497. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -6
  498. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -19
  499. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -20
  500. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -13
  501. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -10
  502. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -247
  503. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -28
  504. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -4
  505. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -65
  506. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -7
  507. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -6
  508. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -38
  509. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -29
  510. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -37
  511. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -12
  512. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -14
  513. package/dist/node_modules/motion-dom/dist/es/render/object/ObjectVisualElement.js +0 -37
  514. package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -4
  515. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -40
  516. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -32
  517. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -28
  518. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -4
  519. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -15
  520. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -11
  521. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -15
  522. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -141
  523. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -20
  524. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -6
  525. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -13
  526. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -9
  527. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -4
  528. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -6
  529. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -13
  530. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -23
  531. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -25
  532. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -15
  533. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -5
  534. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -8
  535. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -20
  536. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -21
  537. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -14
  538. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -13
  539. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -12
  540. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -42
  541. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -7
  542. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -7
  543. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -7
  544. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -29
  545. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -51
  546. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -6
  547. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -8
  548. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -4
  549. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -8
  550. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -15
  551. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -4
  552. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -12
  553. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -9
  554. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -5
  555. package/dist/node_modules/motion-dom/dist/es/utils/transform.js +0 -8
  556. package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -218
  557. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -7
  558. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -19
  559. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -22
  560. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -12
  561. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -15
  562. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -16
  563. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -18
  564. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -24
  565. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -49
  566. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -9
  567. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -8
  568. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -24
  569. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -70
  570. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -31
  571. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -17
  572. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -17
  573. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -4
  574. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -10
  575. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -4
  576. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -8
  577. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -4
  578. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -4
  579. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -6
  580. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -4
  581. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -4
  582. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -4
  583. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -7
  584. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -14
  585. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -7
  586. package/dist/node_modules/motion-utils/dist/es/array.js +0 -20
  587. package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -4
  588. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -5
  589. package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -9
  590. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -8
  591. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -18
  592. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -7
  593. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -4
  594. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -4
  595. package/dist/node_modules/motion-utils/dist/es/easing/utils/get-easing-for-segment.js +0 -8
  596. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -4
  597. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -4
  598. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -32
  599. package/dist/node_modules/motion-utils/dist/es/errors.js +0 -15
  600. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -6
  601. package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -4
  602. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -4
  603. package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -6
  604. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -4
  605. package/dist/node_modules/motion-utils/dist/es/memo.js +0 -8
  606. package/dist/node_modules/motion-utils/dist/es/noop.js +0 -4
  607. package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -4
  608. package/dist/node_modules/motion-utils/dist/es/progress.js +0 -7
  609. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -29
  610. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -5
  611. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -6
  612. package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -8
  613. package/dist/node_modules/motion-utils/dist/es/wrap.js +0 -7
  614. package/dist/node_modules/object-assign/index.js +0 -54
  615. package/dist/node_modules/orderedmap/dist/index.js +0 -103
  616. package/dist/node_modules/photoswipe/dist/photoswipe.esm.js +0 -2956
  617. package/dist/node_modules/prop-types/checkPropTypes.js +0 -54
  618. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
  619. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
  620. package/dist/node_modules/prop-types/index.js +0 -17
  621. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
  622. package/dist/node_modules/prop-types/lib/has.js +0 -7
  623. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -95
  624. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -78
  625. package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -10
  626. package/dist/node_modules/prosemirror-commands/dist/index.js +0 -388
  627. package/dist/node_modules/prosemirror-dropcursor/dist/index.js +0 -86
  628. package/dist/node_modules/prosemirror-gapcursor/dist/index.js +0 -204
  629. package/dist/node_modules/prosemirror-history/dist/index.js +0 -248
  630. package/dist/node_modules/prosemirror-keymap/dist/index.js +0 -62
  631. package/dist/node_modules/prosemirror-model/dist/index.js +0 -2733
  632. package/dist/node_modules/prosemirror-schema-list/dist/index.js +0 -88
  633. package/dist/node_modules/prosemirror-state/dist/index.js +0 -822
  634. package/dist/node_modules/prosemirror-transform/dist/index.js +0 -1520
  635. package/dist/node_modules/prosemirror-view/dist/index.js +0 -3794
  636. package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -229
  637. package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -22
  638. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -19
  639. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -8
  640. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -8
  641. package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -222
  642. package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -7
  643. package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -7
  644. package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
  645. package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -8
  646. package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -11
  647. package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -19
  648. package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -7
  649. package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -7
  650. package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -8
  651. package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -8
  652. package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -7
  653. package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -7
  654. package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -9
  655. package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -27
  656. package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -9
  657. package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -7
  658. package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -9
  659. package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -8
  660. package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -7
  661. package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -8
  662. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -8
  663. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -7
  664. package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -7
  665. package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -11
  666. package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -7
  667. package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -9
  668. package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -54
  669. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -9
  670. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -7
  671. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -7
  672. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -7
  673. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -6
  674. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -7
  675. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -9
  676. package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -18
  677. package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -19
  678. package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -42
  679. package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -9
  680. package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -7
  681. package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -7
  682. package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -10
  683. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -16
  684. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -21
  685. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -10
  686. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -16
  687. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -13
  688. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -15
  689. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -10
  690. package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -13
  691. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -13
  692. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -24
  693. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -13
  694. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -12
  695. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -12
  696. package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -12
  697. package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -13
  698. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -11
  699. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -7
  700. package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -16
  701. package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -7
  702. package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -8
  703. package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -26
  704. package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -10
  705. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -9
  706. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -8
  707. package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -6
  708. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -6
  709. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -6
  710. package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -6
  711. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -6
  712. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -6
  713. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -7
  714. package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -6
  715. package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -21
  716. package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -18
  717. package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -15
  718. package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -56
  719. package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -44
  720. package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -12
  721. package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -23
  722. package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -19
  723. package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -32
  724. package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -26
  725. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -15
  726. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -28
  727. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -9
  728. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -8
  729. package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -26
  730. package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +0 -3621
  731. package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +0 -1234
  732. package/dist/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -3600
  733. package/dist/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +0 -1255
  734. package/dist/node_modules/react-dom/server.browser.js +0 -15
  735. package/dist/node_modules/react-imask/esm/hook.js +0 -75
  736. package/dist/node_modules/react-imask/esm/input.js +0 -23
  737. package/dist/node_modules/react-imask/esm/mixin.js +0 -131
  738. package/dist/node_modules/react-photoswipe-gallery/dist/context.js +0 -17
  739. package/dist/node_modules/react-photoswipe-gallery/dist/gallery.js +0 -216
  740. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/ensure-ref-passed.js +0 -10
  741. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/entry-item-ref-is-element.js +0 -4
  742. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-base-url.js +0 -6
  743. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-value.js +0 -6
  744. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-without-gid-and-pid.js +0 -9
  745. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-initial-active-slide-index.js +0 -6
  746. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-data-source.js +0 -39
  747. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-items-refs.js +0 -31
  748. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-includes-navigation-query-params.js +0 -8
  749. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-to-object.js +0 -9
  750. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/item-to-slide.js +0 -37
  751. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/object-to-hash.js +0 -6
  752. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/sort-nodes.js +0 -6
  753. package/dist/node_modules/react-photoswipe-gallery/dist/hooks.js +0 -22
  754. package/dist/node_modules/react-photoswipe-gallery/dist/item.js +0 -54
  755. package/dist/node_modules/react-photoswipe-gallery/dist/lightbox-stub.js +0 -8
  756. package/dist/node_modules/react-photoswipe-gallery/dist/no-ref-error.js +0 -14
  757. package/dist/node_modules/react-photoswipe-gallery/dist/no-source-id-error.js +0 -18
  758. package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js +0 -32
  759. package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.production.min.js +0 -17
  760. package/dist/node_modules/react-reconciler/cjs/react-reconciler.development.js +0 -9139
  761. package/dist/node_modules/react-reconciler/cjs/react-reconciler.production.min.js +0 -3778
  762. package/dist/node_modules/react-reconciler/constants.js +0 -10
  763. package/dist/node_modules/react-reconciler/index.js +0 -10
  764. package/dist/node_modules/react-use-measure/dist/index.js +0 -60
  765. package/dist/node_modules/rope-sequence/dist/index.js +0 -100
  766. package/dist/node_modules/scheduler/cjs/scheduler.development.js +0 -277
  767. package/dist/node_modules/scheduler/cjs/scheduler.production.min.js +0 -213
  768. package/dist/node_modules/scheduler/index.js +0 -10
  769. package/dist/node_modules/three/build/three.module.js +0 -20599
  770. package/dist/node_modules/three-stdlib/_polyfill/LoaderUtils.js +0 -15
  771. package/dist/node_modules/three-stdlib/_polyfill/constants.js +0 -5
  772. package/dist/node_modules/three-stdlib/libs/MeshoptDecoder.js +0 -201
  773. package/dist/node_modules/three-stdlib/loaders/DRACOLoader.js +0 -246
  774. package/dist/node_modules/three-stdlib/loaders/GLTFLoader.js +0 -1670
  775. package/dist/node_modules/three-stdlib/utils/BufferGeometryUtils.js +0 -34
  776. package/dist/node_modules/tippy.js/dist/tippy.esm.js +0 -813
  777. package/dist/node_modules/w3c-keyname/index.js +0 -93
  778. package/dist/node_modules/zustand/esm/index.js +0 -61
@@ -0,0 +1,111 @@
1
+ import { CheckboxProps } from '../Checkbox';
2
+ import { StepperProps } from '../Stepper';
3
+ import * as React from 'react';
4
+ /** Props for the {@link CardCheckboxAmount} component. */
5
+ export interface CardCheckboxAmountProps extends Omit<React.HTMLAttributes<HTMLElement>, 'onChange' | 'title' | 'defaultChecked'> {
6
+ /** Primary label rendered next to the checkbox. */
7
+ title: React.ReactNode;
8
+ /**
9
+ * Secondary line rendered below the title in muted color. Constrained to
10
+ * `string` because the underlying Checkbox's `secondaryLabel` is a string.
11
+ */
12
+ description?: string;
13
+ /** Controlled checked state of the underlying checkbox. */
14
+ checked?: boolean;
15
+ /**
16
+ * Initial checked state for uncontrolled usage.
17
+ * @default false
18
+ */
19
+ defaultChecked?: boolean;
20
+ /** Fires when the user toggles the checkbox. */
21
+ onCheckedChange?: (checked: boolean) => void;
22
+ /** Controlled amount value of the embedded stepper (only visible while checked). */
23
+ amount?: number;
24
+ /**
25
+ * Initial amount for uncontrolled usage.
26
+ * @default 1
27
+ */
28
+ defaultAmount?: number;
29
+ /** Fires when the user increments/decrements the amount. */
30
+ onAmountChange?: (amount: number) => void;
31
+ /**
32
+ * Minimum allowed amount; the decrement button is disabled at this value.
33
+ * @default 1
34
+ */
35
+ min?: number;
36
+ /** Maximum allowed amount; the increment button is disabled at this value. */
37
+ max?: number;
38
+ /**
39
+ * Marks the card as unavailable: disables the checkbox, hides the stepper,
40
+ * mutes the content, and shows {@link unavailableMessage}. The internal
41
+ * `checked` / `amount` state is preserved while unavailable — flipping the
42
+ * flag back to `false` restores the previous selection.
43
+ * @default false
44
+ */
45
+ unavailable?: boolean;
46
+ /**
47
+ * Message displayed when {@link unavailable} is true.
48
+ * @default translations.cardCheckboxAmount.unavailableMessage
49
+ */
50
+ unavailableMessage?: React.ReactNode;
51
+ /**
52
+ * Helper message displayed below the stepper once the amount reaches `max`.
53
+ * @default translations.cardCheckboxAmount.maxAmountMessage
54
+ */
55
+ maxAmountMessage?: React.ReactNode;
56
+ /** Custom ID for the underlying checkbox input. Auto-generated if omitted. */
57
+ id?: string;
58
+ /** Name attribute forwarded to the underlying checkbox for form submission. */
59
+ name?: string;
60
+ /** Value attribute forwarded to the underlying checkbox for form submission. */
61
+ value?: string;
62
+ /**
63
+ * Accessible label for the stepper's increment button.
64
+ * @default translations.stepper.incrementAriaLabel
65
+ */
66
+ incrementAriaLabel?: StepperProps['incrementAriaLabel'];
67
+ /**
68
+ * Accessible label for the stepper's decrement button.
69
+ * @default translations.stepper.decrementAriaLabel
70
+ */
71
+ decrementAriaLabel?: StepperProps['decrementAriaLabel'];
72
+ /** Escape hatch for advanced Checkbox wiring (`required`, `error`, etc.). */
73
+ checkboxProps?: Omit<CheckboxProps, 'checked' | 'defaultChecked' | 'onCheckedChange' | 'disabled' | 'label' | 'secondaryLabel' | 'id' | 'name' | 'value'>;
74
+ }
75
+ /**
76
+ * Selectable card that combines a checkbox with a quantity stepper for picking
77
+ * a single item and the amount of it (e.g. choosing a credit/voucher).
78
+ *
79
+ * Composed from `Card` (checkout variant), `Checkbox`, and `Stepper`. Toggling
80
+ * the checkbox reveals the stepper, which is bounded by `min` / `max`. Once
81
+ * `amount` reaches `max`, a helper message appears below the stepper. Marking
82
+ * the card `unavailable` disables interaction and surfaces a red explanatory
83
+ * message instead of the stepper. Supports both controlled and uncontrolled
84
+ * usage of the checked + amount state.
85
+ *
86
+ * @example
87
+ * // Uncontrolled
88
+ * <CardCheckboxAmount
89
+ * title="Kredit v hodnotě 500 Kč"
90
+ * description="500 Kč (-10%)"
91
+ * max={10}
92
+ * />
93
+ *
94
+ * @example
95
+ * // Controlled — parent owns both checked and amount
96
+ * const [checked, setChecked] = useState(false)
97
+ * const [amount, setAmount] = useState(1)
98
+ *
99
+ * <CardCheckboxAmount
100
+ * title="Kredit v hodnotě 500 Kč"
101
+ * description="500 Kč (-10%)"
102
+ * checked={checked}
103
+ * onCheckedChange={setChecked}
104
+ * amount={amount}
105
+ * onAmountChange={setAmount}
106
+ * max={10}
107
+ * />
108
+ */
109
+ declare const CardCheckboxAmount: React.ForwardRefExoticComponent<CardCheckboxAmountProps & React.RefAttributes<HTMLElement>>;
110
+ export { CardCheckboxAmount };
111
+ //# sourceMappingURL=CardCheckboxAmount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardCheckboxAmount.d.ts","sourceRoot":"","sources":["../../../src/components/CardCheckboxAmount/CardCheckboxAmount.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAA;AAC1D,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,YAAY,CAAA;AAGvD,0DAA0D;AAC1D,MAAM,WAAW,uBACf,SAAQ,IAAI,CACV,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EACjC,UAAU,GAAG,OAAO,GAAG,gBAAgB,CACxC;IACD,mDAAmD;IACnD,KAAK,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,gDAAgD;IAChD,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IAC5C,oFAAoF;IACpF,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,4DAA4D;IAC5D,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,8EAA8E;IAC9E,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACpC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAClC,8EAA8E;IAC9E,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,+EAA+E;IAC/E,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,gFAAgF;IAChF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;OAGG;IACH,kBAAkB,CAAC,EAAE,YAAY,CAAC,oBAAoB,CAAC,CAAA;IACvD;;;OAGG;IACH,kBAAkB,CAAC,EAAE,YAAY,CAAC,oBAAoB,CAAC,CAAA;IACvD,6EAA6E;IAC7E,aAAa,CAAC,EAAE,IAAI,CAClB,aAAa,EACX,SAAS,GACT,gBAAgB,GAChB,iBAAiB,GACjB,UAAU,GACV,OAAO,GACP,gBAAgB,GAChB,IAAI,GACJ,MAAM,GACN,OAAO,CACV,CAAA;CACF;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,QAAA,MAAM,kBAAkB,6FA6IvB,CAAA;AAGD,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
@@ -0,0 +1,115 @@
1
+ import { jsxs as v, jsx as r } from "react/jsx-runtime";
2
+ import * as i from "react";
3
+ import { useMuzaTranslations as O } from "../../translations/TranslationContext.js";
4
+ import { Card as Q } from "../Card/Card.js";
5
+ import { Checkbox as V } from "../Checkbox/Checkbox.js";
6
+ import { Stepper as W } from "../Stepper/Stepper.js";
7
+ import { cn as X } from "../../utils/cn.js";
8
+ import { Typography as y } from "../Typography/Typography.js";
9
+ const Y = i.forwardRef(
10
+ ({
11
+ className: C,
12
+ title: M,
13
+ description: A,
14
+ checked: m,
15
+ defaultChecked: N,
16
+ onCheckedChange: n,
17
+ amount: c,
18
+ defaultAmount: b = 1,
19
+ onAmountChange: o,
20
+ min: D = 1,
21
+ max: d,
22
+ unavailable: a = !1,
23
+ unavailableMessage: S,
24
+ maxAmountMessage: k,
25
+ id: z,
26
+ name: K,
27
+ value: j,
28
+ incrementAriaLabel: I,
29
+ decrementAriaLabel: R,
30
+ checkboxProps: t,
31
+ ...T
32
+ }, B) => {
33
+ const f = O(), p = m !== void 0, [E, L] = i.useState(
34
+ N ?? !1
35
+ ), l = p ? m : E, u = c !== void 0, [U, q] = i.useState(b), x = u ? c : U, w = (e) => {
36
+ const s = e === !0;
37
+ p || L(s), n == null || n(s);
38
+ }, F = (e) => {
39
+ u || q(e), o == null || o(e);
40
+ }, G = (e) => {
41
+ var s;
42
+ (s = t == null ? void 0 : t.onKeyDown) == null || s.call(t, e), !(e.defaultPrevented || a) && e.key === "Enter" && (e.preventDefault(), w(!l));
43
+ }, H = l && !a, J = d !== void 0 && x >= d, h = S ?? f.cardCheckboxAmount.unavailableMessage, g = k ?? f.cardCheckboxAmount.maxAmountMessage;
44
+ return /* @__PURE__ */ v(
45
+ Q,
46
+ {
47
+ ref: B,
48
+ variant: "checkout",
49
+ direction: "column",
50
+ className: X(
51
+ "items-start gap-md md:flex-row md:items-center md:gap-lg",
52
+ a && "border-stroke-base-disabled",
53
+ C
54
+ ),
55
+ ...T,
56
+ children: [
57
+ /* @__PURE__ */ r("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ r(
58
+ V,
59
+ {
60
+ ...t,
61
+ id: z,
62
+ name: K,
63
+ value: j,
64
+ checked: l,
65
+ onCheckedChange: w,
66
+ onKeyDown: G,
67
+ disabled: a,
68
+ label: M,
69
+ secondaryLabel: A
70
+ }
71
+ ) }),
72
+ a && h && /* @__PURE__ */ r(
73
+ y,
74
+ {
75
+ variant: "body",
76
+ size: "base",
77
+ weight: "regular",
78
+ component: "span",
79
+ className: "pl-2-5-xl text-text-state-error-def md:pl-0 md:text-right md:whitespace-nowrap",
80
+ children: h
81
+ }
82
+ ),
83
+ H && /* @__PURE__ */ v("div", { className: "flex flex-col items-start gap-2xs pl-2-5-xl md:items-end md:pl-0", children: [
84
+ /* @__PURE__ */ r(
85
+ W,
86
+ {
87
+ value: x,
88
+ onChange: F,
89
+ min: D,
90
+ max: d,
91
+ incrementAriaLabel: I,
92
+ decrementAriaLabel: R
93
+ }
94
+ ),
95
+ J && g && /* @__PURE__ */ r(
96
+ y,
97
+ {
98
+ variant: "body",
99
+ size: "sm",
100
+ weight: "regular",
101
+ component: "span",
102
+ className: "text-text-dark-secondary md:text-right md:whitespace-nowrap",
103
+ children: g
104
+ }
105
+ )
106
+ ] })
107
+ ]
108
+ }
109
+ );
110
+ }
111
+ );
112
+ Y.displayName = "CardCheckboxAmount";
113
+ export {
114
+ Y as CardCheckboxAmount
115
+ };
@@ -0,0 +1,13 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { CardCheckboxAmount } from './CardCheckboxAmount';
3
+ declare const meta: Meta<typeof CardCheckboxAmount>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof CardCheckboxAmount>;
6
+ export declare const Default: Story;
7
+ export declare const Selected: Story;
8
+ export declare const MaxAmount: Story;
9
+ export declare const Unavailable: Story;
10
+ export declare const CustomMessages: Story;
11
+ export declare const Controlled: Story;
12
+ export declare const AllStates: Story;
13
+ //# sourceMappingURL=CardCheckboxAmount.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardCheckboxAmount.stories.d.ts","sourceRoot":"","sources":["../../../src/components/CardCheckboxAmount/CardCheckboxAmount.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAEzD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,kBAAkB,CA2DzC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEhD,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KActB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAcvB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAYzB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAgB5B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KA0BxB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAoCvB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './CardCheckboxAmount';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CardCheckboxAmount/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
@@ -40,12 +40,28 @@ export interface CarouselProps {
40
40
  * Embla configuration forwarded as the first argument to `useEmblaCarousel`.
41
41
  * Controls behaviour like looping, alignment, or drag thresholds.
42
42
  *
43
+ * Defaults to `{ skipSnaps: true }` so a longer drag can cross several
44
+ * slides before snapping; anything you pass here is merged over that and
45
+ * wins (e.g. `options={{ skipSnaps: false }}` to clamp drags to one slide).
46
+ *
43
47
  * @example
44
- * <Carousel opts={{ loop: true, align: 'start' }}>...</Carousel>
48
+ * <Carousel options={{ loop: true }}>...</Carousel>
45
49
  *
46
50
  * @see CarouselOptions
47
51
  */
48
- opts?: CarouselOptions;
52
+ options?: CarouselOptions;
53
+ /**
54
+ * Slide alignment within the viewport — a shorthand for Embla's `align`
55
+ * option so it can be set without an `options` object. An `align` set in
56
+ * `options` takes precedence over this prop. When neither is set, Embla's
57
+ * default (`'center'`) applies.
58
+ *
59
+ * @example
60
+ * <Carousel align="start">...</Carousel>
61
+ *
62
+ * @see CarouselOptions
63
+ */
64
+ align?: NonNullable<CarouselOptions>['align'];
49
65
  /**
50
66
  * Embla plugins forwarded as the second argument to `useEmblaCarousel`
51
67
  * (autoplay, classnames, fade, etc.).
@@ -83,7 +99,18 @@ declare const Carousel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTM
83
99
  *
84
100
  * Accepts all standard `<div>` attributes.
85
101
  */
86
- export type CarouselContentProps = React.HTMLAttributes<HTMLDivElement>;
102
+ export interface CarouselContentProps extends React.HTMLAttributes<HTMLDivElement> {
103
+ /**
104
+ * Lets slides spill past the viewport edges instead of being clipped. By
105
+ * default the viewport uses `overflow: hidden`, so off-screen slides are
106
+ * hidden. Set to `true` when neighbouring slides should remain visible
107
+ * beyond the container (e.g. a peeking "bleed" layout, or to avoid clipping
108
+ * slide shadows). Dragging/snapping still works either way.
109
+ *
110
+ * @default false
111
+ */
112
+ overflowVisible?: boolean;
113
+ }
87
114
  declare const CarouselContent: React.ForwardRefExoticComponent<CarouselContentProps & React.RefAttributes<HTMLDivElement>>;
88
115
  /**
89
116
  * Props for the CarouselItem component. Renders a single slide that occupies
@@ -1 +1 @@
1
- {"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,gBAAgB,EAAE,EACvB,KAAK,oBAAoB,EAC1B,MAAM,sBAAsB,CAAA;AAG7B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAI5C;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,WAAW,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAAA;AAEjD,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEhE;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAA;AAEtD;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAA;AAErD;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IACvC;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,IAAI,CAAA;CACpC;AAwBD,QAAA,MAAM,QAAQ,6HAmIb,CAAA;AAGD;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAA;AAEvE,QAAA,MAAM,eAAe,6FAkBpB,CAAA;AAGD;;;;;;;;;GASG;AACH,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAA;AAEpE,QAAA,MAAM,YAAY,0FAoBjB,CAAA;AAGD;;;;;;;GAOG;AACH,MAAM,WAAW,sBACf,SAAQ,IAAI,CACV,KAAK,CAAC,wBAAwB,CAAC,OAAO,WAAW,CAAC,EAClD,WAAW,GAAG,YAAY,CAC3B;IACD;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,QAAA,MAAM,gBAAgB,kGA+CrB,CAAA;AAGD,QAAA,MAAM,YAAY,kGA+CjB,CAAA;AAGD;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAChC,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAuB7C,CAAA;AAED,OAAO,EACL,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,YAAY,GACb,CAAA"}
1
+ {"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,gBAAgB,EAAE,EACvB,KAAK,oBAAoB,EAC1B,MAAM,sBAAsB,CAAA;AAG7B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAI5C;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,WAAW,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAAA;AAEjD,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEhE;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAA;AAEtD;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAA;AAErD;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB;;;;;;;;;;OAUG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,CAAA;IAC7C;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IACvC;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,IAAI,CAAA;CACpC;AAwBD,QAAA,MAAM,QAAQ,6HA2Ib,CAAA;AAGD;;;;;GAKG;AACH,MAAM,WAAW,oBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5C;;;;;;;;OAQG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,QAAA,MAAM,eAAe,6FA4BpB,CAAA;AAGD;;;;;;;;;GASG;AACH,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAA;AAEpE,QAAA,MAAM,YAAY,0FAoBjB,CAAA;AAGD;;;;;;;GAOG;AACH,MAAM,WAAW,sBACf,SAAQ,IAAI,CACV,KAAK,CAAC,wBAAwB,CAAC,OAAO,WAAW,CAAC,EAClD,WAAW,GAAG,YAAY,CAC3B;IACD;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,QAAA,MAAM,gBAAgB,kGA+CrB,CAAA;AAGD,QAAA,MAAM,YAAY,kGA+CjB,CAAA;AAGD;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAChC,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAuB7C,CAAA;AAED,OAAO,EACL,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,YAAY,GACb,CAAA"}
@@ -1,92 +1,100 @@
1
- import { jsx as m, jsxs as H } from "react/jsx-runtime";
2
- import * as o from "react";
3
- import j from "embla-carousel-react";
1
+ import { jsx as m, jsxs as j } from "react/jsx-runtime";
2
+ import * as e from "react";
3
+ import _ from "embla-carousel-react";
4
4
  import { Flex as B } from "../Flex/Flex.js";
5
5
  import { useMuzaTranslations as y } from "../../translations/TranslationContext.js";
6
- import { ButtonArrow as z } from "../ButtonArrow/ButtonArrow.js";
6
+ import { ButtonArrow as I } from "../ButtonArrow/ButtonArrow.js";
7
7
  import { SliderIndicators as F } from "../SliderIndicators/SliderIndicators.js";
8
- import { cn as b } from "../../utils/cn.js";
9
- const P = o.createContext(null), x = () => {
10
- const t = o.useContext(P);
8
+ import { cn as p } from "../../utils/cn.js";
9
+ const P = e.createContext(null), x = () => {
10
+ const t = e.useContext(P);
11
11
  if (!t)
12
12
  throw new Error("useCarousel must be used within a <Carousel />");
13
13
  return t;
14
- }, M = o.forwardRef(
14
+ }, M = e.forwardRef(
15
15
  ({
16
16
  orientation: t = "horizontal",
17
- opts: l,
18
- setApi: n,
19
- plugins: a,
20
- className: u,
17
+ options: l,
18
+ align: n,
19
+ setApi: a,
20
+ plugins: u,
21
+ className: f,
21
22
  children: c,
22
- ...f
23
- }, p) => {
24
- const [C, e] = j(
23
+ ...h
24
+ }, C) => {
25
+ const [w, o] = _(
25
26
  {
27
+ // `skipSnaps: true` lets a longer drag/flick cross several slides
28
+ // before snapping, instead of Embla's default of clamping every drag
29
+ // to the adjacent slide. Override with `options={{ skipSnaps: false }}`
30
+ // (e.g. single-slide galleries that should advance one at a time).
31
+ skipSnaps: !0,
32
+ // `align` prop is a baseline; an explicit `options.align` overrides it.
33
+ ...n !== void 0 && { align: n },
26
34
  ...l,
27
35
  axis: t === "horizontal" ? "x" : "y"
28
36
  },
29
- a
30
- ), [h, s] = o.useState(!1), [i, w] = o.useState(!1), [R, D] = o.useState(0), [E, L] = o.useState(0), d = o.useCallback((r) => {
31
- r && (D(r.selectedScrollSnap()), s(r.canScrollPrev()), w(r.canScrollNext()));
32
- }, []), v = o.useCallback((r) => {
37
+ u
38
+ ), [s, i] = e.useState(!1), [b, R] = e.useState(!1), [D, E] = e.useState(0), [k, L] = e.useState(0), d = e.useCallback((r) => {
39
+ r && (E(r.selectedScrollSnap()), i(r.canScrollPrev()), R(r.canScrollNext()));
40
+ }, []), v = e.useCallback((r) => {
33
41
  r && L(r.scrollSnapList().length);
34
- }, []), S = o.useCallback(() => {
35
- e == null || e.scrollPrev();
36
- }, [e]), N = o.useCallback(() => {
37
- e == null || e.scrollNext();
38
- }, [e]), A = o.useCallback(
42
+ }, []), S = e.useCallback(() => {
43
+ o == null || o.scrollPrev();
44
+ }, [o]), N = e.useCallback(() => {
45
+ o == null || o.scrollNext();
46
+ }, [o]), A = e.useCallback(
39
47
  (r) => {
40
- e == null || e.scrollTo(r);
48
+ o == null || o.scrollTo(r);
41
49
  },
42
- [e]
43
- ), k = o.useCallback(
50
+ [o]
51
+ ), K = e.useCallback(
44
52
  (r) => {
45
- const K = t === "horizontal" ? "ArrowLeft" : "ArrowUp", T = t === "horizontal" ? "ArrowRight" : "ArrowDown";
46
- r.key === K ? (r.preventDefault(), S()) : r.key === T && (r.preventDefault(), N());
53
+ const T = t === "horizontal" ? "ArrowLeft" : "ArrowUp", H = t === "horizontal" ? "ArrowRight" : "ArrowDown";
54
+ r.key === T ? (r.preventDefault(), S()) : r.key === H && (r.preventDefault(), N());
47
55
  },
48
56
  [t, S, N]
49
57
  );
50
- o.useEffect(() => {
51
- !e || !n || n(e);
52
- }, [e, n]), o.useEffect(() => {
53
- if (e)
54
- return L(e.scrollSnapList().length), d(e), e.on("select", d), e.on("reInit", d), e.on("reInit", v), () => {
55
- e.off("select", d), e.off("reInit", d), e.off("reInit", v);
58
+ e.useEffect(() => {
59
+ !o || !a || a(o);
60
+ }, [o, a]), e.useEffect(() => {
61
+ if (o)
62
+ return L(o.scrollSnapList().length), d(o), o.on("select", d), o.on("reInit", d), o.on("reInit", v), () => {
63
+ o.off("select", d), o.off("reInit", d), o.off("reInit", v);
56
64
  };
57
- }, [e, d, v]);
58
- const g = [], I = [];
59
- return o.Children.forEach(c, (r) => {
60
- o.isValidElement(r) && r.type === J ? g.push(r) : I.push(r);
65
+ }, [o, d, v]);
66
+ const z = [], g = [];
67
+ return e.Children.forEach(c, (r) => {
68
+ e.isValidElement(r) && r.type === J ? z.push(r) : g.push(r);
61
69
  }), /* @__PURE__ */ m(
62
70
  P.Provider,
63
71
  {
64
72
  value: {
65
- carouselRef: C,
66
- api: e,
67
- opts: l,
73
+ carouselRef: w,
74
+ api: o,
75
+ options: l,
68
76
  orientation: t,
69
- plugins: a,
77
+ plugins: u,
70
78
  scrollPrev: S,
71
79
  scrollNext: N,
72
- canScrollPrev: h,
73
- canScrollNext: i,
74
- selectedIndex: R,
80
+ canScrollPrev: s,
81
+ canScrollNext: b,
82
+ selectedIndex: D,
75
83
  scrollTo: A,
76
- slidesCount: E
84
+ slidesCount: k
77
85
  },
78
- children: /* @__PURE__ */ H(
86
+ children: /* @__PURE__ */ j(
79
87
  "div",
80
88
  {
81
- ref: p,
82
- onKeyDownCapture: k,
83
- className: u,
89
+ ref: C,
90
+ onKeyDownCapture: K,
91
+ className: f,
84
92
  role: "region",
85
93
  "aria-roledescription": "carousel",
86
- ...f,
94
+ ...h,
87
95
  children: [
88
- /* @__PURE__ */ m("div", { className: "relative", children: I }),
89
- g
96
+ /* @__PURE__ */ m("div", { className: "relative", children: g }),
97
+ z
90
98
  ]
91
99
  }
92
100
  )
@@ -95,25 +103,37 @@ const P = o.createContext(null), x = () => {
95
103
  }
96
104
  );
97
105
  M.displayName = "Carousel";
98
- const U = o.forwardRef(
99
- ({ className: t, ...l }, n) => {
100
- const { carouselRef: a, orientation: u } = x(), c = u === "horizontal";
101
- return /* @__PURE__ */ m("div", { ref: a, className: "overflow-hidden", children: /* @__PURE__ */ m(
102
- B,
106
+ const U = e.forwardRef(
107
+ ({ className: t, overflowVisible: l = !1, ...n }, a) => {
108
+ const { carouselRef: u, orientation: f } = x(), c = f === "horizontal";
109
+ return /* @__PURE__ */ m(
110
+ "div",
103
111
  {
104
- ref: n,
105
- direction: c ? "row" : "column",
106
- className: b(
107
- c ? "-ml-comp-carousel-gap" : "-mt-comp-carousel-gap",
108
- t
112
+ ref: u,
113
+ className: p(
114
+ // touch-action: keeps cross-axis native scroll while same-axis swipes go to Embla
115
+ "select-none",
116
+ l ? "overflow-visible" : "overflow-hidden",
117
+ c ? "[touch-action:pan-y_pinch-zoom]" : "[touch-action:pan-x_pinch-zoom]"
109
118
  ),
110
- ...l
119
+ children: /* @__PURE__ */ m(
120
+ B,
121
+ {
122
+ ref: a,
123
+ direction: c ? "row" : "column",
124
+ className: p(
125
+ c ? "-ml-comp-carousel-gap" : "-mt-comp-carousel-gap",
126
+ t
127
+ ),
128
+ ...n
129
+ }
130
+ )
111
131
  }
112
- ) });
132
+ );
113
133
  }
114
134
  );
115
135
  U.displayName = "CarouselContent";
116
- const V = o.forwardRef(
136
+ const V = e.forwardRef(
117
137
  ({ className: t, ...l }, n) => {
118
138
  const { orientation: a } = x();
119
139
  return /* @__PURE__ */ m(
@@ -122,7 +142,7 @@ const V = o.forwardRef(
122
142
  ref: n,
123
143
  role: "group",
124
144
  "aria-roledescription": "slide",
125
- className: b(
145
+ className: p(
126
146
  "min-w-0 shrink-0 grow-0 basis-full",
127
147
  {
128
148
  "pl-comp-carousel-gap": a === "horizontal",
@@ -136,27 +156,27 @@ const V = o.forwardRef(
136
156
  }
137
157
  );
138
158
  V.displayName = "CarouselItem";
139
- const q = o.forwardRef(
159
+ const q = e.forwardRef(
140
160
  ({
141
161
  className: t,
142
162
  size: l = "default",
143
163
  ariaLabel: n,
144
164
  onClick: a,
145
165
  ...u
146
- }, c) => {
147
- const { orientation: f, scrollPrev: p, canScrollPrev: C } = x(), e = y(), h = n ?? e.carousel.previousAriaLabel, s = f === "horizontal", i = l === "sm";
166
+ }, f) => {
167
+ const { orientation: c, scrollPrev: h, canScrollPrev: C } = x(), w = y(), o = n ?? w.carousel.previousAriaLabel, s = c === "horizontal", i = l === "sm";
148
168
  return /* @__PURE__ */ m(
149
- z,
169
+ I,
150
170
  {
151
- ref: c,
171
+ ref: f,
152
172
  direction: "left",
153
173
  size: l,
154
174
  disabled: !C,
155
- "aria-label": h,
156
- onClick: (w) => {
157
- p(), a == null || a(w);
175
+ "aria-label": o,
176
+ onClick: (b) => {
177
+ h(), a == null || a(b);
158
178
  },
159
- className: b(
179
+ className: p(
160
180
  "absolute",
161
181
  {
162
182
  "top-1/2 -translate-y-1/2": s,
@@ -174,27 +194,27 @@ const q = o.forwardRef(
174
194
  }
175
195
  );
176
196
  q.displayName = "CarouselPrevious";
177
- const G = o.forwardRef(
197
+ const G = e.forwardRef(
178
198
  ({
179
199
  className: t,
180
200
  size: l = "default",
181
201
  ariaLabel: n,
182
202
  onClick: a,
183
203
  ...u
184
- }, c) => {
185
- const { orientation: f, scrollNext: p, canScrollNext: C } = x(), e = y(), h = n ?? e.carousel.nextAriaLabel, s = f === "horizontal", i = l === "sm";
204
+ }, f) => {
205
+ const { orientation: c, scrollNext: h, canScrollNext: C } = x(), w = y(), o = n ?? w.carousel.nextAriaLabel, s = c === "horizontal", i = l === "sm";
186
206
  return /* @__PURE__ */ m(
187
- z,
207
+ I,
188
208
  {
189
- ref: c,
209
+ ref: f,
190
210
  direction: "right",
191
211
  size: l,
192
212
  disabled: !C,
193
- "aria-label": h,
194
- onClick: (w) => {
195
- p(), a == null || a(w);
213
+ "aria-label": o,
214
+ onClick: (b) => {
215
+ h(), a == null || a(b);
196
216
  },
197
- className: b(
217
+ className: p(
198
218
  "absolute",
199
219
  {
200
220
  "top-1/2 -translate-y-1/2": s,
@@ -217,17 +237,17 @@ const J = ({
217
237
  ariaLabel: l,
218
238
  buttonAriaLabel: n
219
239
  }) => {
220
- const { selectedIndex: a, scrollTo: u, slidesCount: c } = x(), f = y();
221
- return c <= 1 ? null : /* @__PURE__ */ m(
240
+ const { selectedIndex: a, scrollTo: u, slidesCount: f } = x(), c = y();
241
+ return f <= 1 ? null : /* @__PURE__ */ m(
222
242
  F,
223
243
  {
224
- count: c,
244
+ count: f,
225
245
  activeIndex: a,
226
246
  onDotClick: u,
227
247
  interactive: !0,
228
- className: b("mt-comp-carousel-dots-gap", t),
229
- ariaLabel: l ?? f.carousel.dotsAriaLabel,
230
- buttonAriaLabel: n ?? f.carousel.dotAriaLabel
248
+ className: p("mt-comp-carousel-dots-gap", t),
249
+ ariaLabel: l ?? c.carousel.dotsAriaLabel,
250
+ buttonAriaLabel: n ?? c.carousel.dotAriaLabel
231
251
  }
232
252
  );
233
253
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Carousel.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,OAAO,EACL,QAAQ,EAMT,MAAM,YAAY,CAAA;AAEnB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAuC/B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAA;AAiCtC,eAAO,MAAM,OAAO,EAAE,KA4BrB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAiCtB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KA4B7B,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAyCvB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KA8BrB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KA6BzB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KA2BpB,CAAA"}
1
+ {"version":3,"file":"Carousel.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,OAAO,EACL,QAAQ,EAMT,MAAM,YAAY,CAAA;AAEnB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CA2C/B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAA;AAiCtC,eAAO,MAAM,OAAO,EAAE,KA4BrB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAiCtB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KA4B7B,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAyCvB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KA8BrB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KA6BzB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KA2BpB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,QAAA,MAAM,YAAY;;;8EA0CjB,CAAA;AAED;;;GAGG;AACH,MAAM,WAAW,SACf,SAAQ,IAAI,CACV,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,UAAU,GAAG,UAAU,CACxB;IACD;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IAC3C;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,IAAI,qFA6CT,CAAA;AAGD,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,QAAA,MAAM,YAAY;;;8EA8CjB,CAAA;AAED;;;GAGG;AACH,MAAM,WAAW,SACf,SAAQ,IAAI,CACV,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,UAAU,GAAG,UAAU,CACxB;IACD;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IAC3C;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,IAAI,qFA6CT,CAAA;AAGD,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,CAAA"}