@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
@@ -1,248 +0,0 @@
1
- import P from "../../rope-sequence/dist/index.js";
2
- import { Mapping as k } from "../../prosemirror-transform/dist/index.js";
3
- import { Plugin as H, PluginKey as O } from "../../prosemirror-state/dist/index.js";
4
- const D = 500;
5
- class c {
6
- constructor(t, e) {
7
- this.items = t, this.eventCount = e;
8
- }
9
- // Pop the latest event off the branch's history and apply it
10
- // to a document transform.
11
- popEvent(t, e) {
12
- if (this.eventCount == 0)
13
- return null;
14
- let i = this.items.length;
15
- for (; ; i--)
16
- if (this.items.get(i - 1).selection) {
17
- --i;
18
- break;
19
- }
20
- let s, p;
21
- e && (s = this.remapping(i, this.items.length), p = s.maps.length);
22
- let l = t.tr, r, m, u = [], f = [];
23
- return this.items.forEach((a, o) => {
24
- if (!a.step) {
25
- s || (s = this.remapping(i, o + 1), p = s.maps.length), p--, f.push(a);
26
- return;
27
- }
28
- if (s) {
29
- f.push(new g(a.map));
30
- let d = a.step.map(s.slice(p)), v;
31
- d && l.maybeStep(d).doc && (v = l.mapping.maps[l.mapping.maps.length - 1], u.push(new g(v, void 0, void 0, u.length + f.length))), p--, v && s.appendMap(v, p);
32
- } else
33
- l.maybeStep(a.step);
34
- if (a.selection)
35
- return r = s ? a.selection.map(s.slice(p)) : a.selection, m = new c(this.items.slice(0, i).append(f.reverse().concat(u)), this.eventCount - 1), !1;
36
- }, this.items.length, 0), { remaining: m, transform: l, selection: r };
37
- }
38
- // Create a new branch with the given transform added.
39
- addTransform(t, e, i, s) {
40
- let p = [], l = this.eventCount, r = this.items, m = !s && r.length ? r.get(r.length - 1) : null;
41
- for (let f = 0; f < t.steps.length; f++) {
42
- let a = t.steps[f].invert(t.docs[f]), o = new g(t.mapping.maps[f], a, e), d;
43
- (d = m && m.merge(o)) && (o = d, f ? p.pop() : r = r.slice(0, r.length - 1)), p.push(o), e && (l++, e = void 0), s || (m = o);
44
- }
45
- let u = l - i.depth;
46
- return u > y && (r = x(r, u), l -= u), new c(r.append(p), l);
47
- }
48
- remapping(t, e) {
49
- let i = new k();
50
- return this.items.forEach((s, p) => {
51
- let l = s.mirrorOffset != null && p - s.mirrorOffset >= t ? i.maps.length - s.mirrorOffset : void 0;
52
- i.appendMap(s.map, l);
53
- }, t, e), i;
54
- }
55
- addMaps(t) {
56
- return this.eventCount == 0 ? this : new c(this.items.append(t.map((e) => new g(e))), this.eventCount);
57
- }
58
- // When the collab module receives remote changes, the history has
59
- // to know about those, so that it can adjust the steps that were
60
- // rebased on top of the remote changes, and include the position
61
- // maps for the remote changes in its array of items.
62
- rebased(t, e) {
63
- if (!this.eventCount)
64
- return this;
65
- let i = [], s = Math.max(0, this.items.length - e), p = t.mapping, l = t.steps.length, r = this.eventCount;
66
- this.items.forEach((o) => {
67
- o.selection && r--;
68
- }, s);
69
- let m = e;
70
- this.items.forEach((o) => {
71
- let d = p.getMirror(--m);
72
- if (d == null)
73
- return;
74
- l = Math.min(l, d);
75
- let v = p.maps[d];
76
- if (o.step) {
77
- let S = t.steps[d].invert(t.docs[d]), E = o.selection && o.selection.map(p.slice(m + 1, d));
78
- E && r++, i.push(new g(v, S, E));
79
- } else
80
- i.push(new g(v));
81
- }, s);
82
- let u = [];
83
- for (let o = e; o < l; o++)
84
- u.push(new g(p.maps[o]));
85
- let f = this.items.slice(0, s).append(u).append(i), a = new c(f, r);
86
- return a.emptyItemCount() > D && (a = a.compress(this.items.length - i.length)), a;
87
- }
88
- emptyItemCount() {
89
- let t = 0;
90
- return this.items.forEach((e) => {
91
- e.step || t++;
92
- }), t;
93
- }
94
- // Compressing a branch means rewriting it to push the air (map-only
95
- // items) out. During collaboration, these naturally accumulate
96
- // because each remote change adds one. The `upto` argument is used
97
- // to ensure that only the items below a given level are compressed,
98
- // because `rebased` relies on a clean, untouched set of items in
99
- // order to associate old items with rebased steps.
100
- compress(t = this.items.length) {
101
- let e = this.remapping(0, t), i = e.maps.length, s = [], p = 0;
102
- return this.items.forEach((l, r) => {
103
- if (r >= t)
104
- s.push(l), l.selection && p++;
105
- else if (l.step) {
106
- let m = l.step.map(e.slice(i)), u = m && m.getMap();
107
- if (i--, u && e.appendMap(u, i), m) {
108
- let f = l.selection && l.selection.map(e.slice(i));
109
- f && p++;
110
- let a = new g(u.invert(), m, f), o, d = s.length - 1;
111
- (o = s.length && s[d].merge(a)) ? s[d] = o : s.push(a);
112
- }
113
- } else l.map && i--;
114
- }, this.items.length, 0), new c(P.from(s.reverse()), p);
115
- }
116
- }
117
- c.empty = new c(P.empty, 0);
118
- function x(n, t) {
119
- let e;
120
- return n.forEach((i, s) => {
121
- if (i.selection && t-- == 0)
122
- return e = s, !1;
123
- }), n.slice(e);
124
- }
125
- class g {
126
- constructor(t, e, i, s) {
127
- this.map = t, this.step = e, this.selection = i, this.mirrorOffset = s;
128
- }
129
- merge(t) {
130
- if (this.step && t.step && !t.selection) {
131
- let e = t.step.merge(this.step);
132
- if (e)
133
- return new g(e.getMap().invert(), e, this.selection);
134
- }
135
- }
136
- }
137
- class h {
138
- constructor(t, e, i, s, p) {
139
- this.done = t, this.undone = e, this.prevRanges = i, this.prevTime = s, this.prevComposition = p;
140
- }
141
- }
142
- const y = 20;
143
- function F(n, t, e, i) {
144
- let s = e.getMeta(w), p;
145
- if (s)
146
- return s.historyState;
147
- e.getMeta(j) && (n = new h(n.done, n.undone, null, 0, -1));
148
- let l = e.getMeta("appendedTransaction");
149
- if (e.steps.length == 0)
150
- return n;
151
- if (l && l.getMeta(w))
152
- return l.getMeta(w).redo ? new h(n.done.addTransform(e, void 0, i, M(t)), n.undone, I(e.mapping.maps), n.prevTime, n.prevComposition) : new h(n.done, n.undone.addTransform(e, void 0, i, M(t)), null, n.prevTime, n.prevComposition);
153
- if (e.getMeta("addToHistory") !== !1 && !(l && l.getMeta("addToHistory") === !1)) {
154
- let r = e.getMeta("composition"), m = n.prevTime == 0 || !l && n.prevComposition != r && (n.prevTime < (e.time || 0) - i.newGroupDelay || !G(e, n.prevRanges)), u = l ? C(n.prevRanges, e.mapping) : I(e.mapping.maps);
155
- return new h(n.done.addTransform(e, m ? t.selection.getBookmark() : void 0, i, M(t)), c.empty, u, e.time, r ?? n.prevComposition);
156
- } else return (p = e.getMeta("rebased")) ? new h(n.done.rebased(e, p), n.undone.rebased(e, p), C(n.prevRanges, e.mapping), n.prevTime, n.prevComposition) : new h(n.done.addMaps(e.mapping.maps), n.undone.addMaps(e.mapping.maps), C(n.prevRanges, e.mapping), n.prevTime, n.prevComposition);
157
- }
158
- function G(n, t) {
159
- if (!t)
160
- return !1;
161
- if (!n.docChanged)
162
- return !0;
163
- let e = !1;
164
- return n.mapping.maps[0].forEach((i, s) => {
165
- for (let p = 0; p < t.length; p += 2)
166
- i <= t[p + 1] && s >= t[p] && (e = !0);
167
- }), e;
168
- }
169
- function I(n) {
170
- let t = [];
171
- for (let e = n.length - 1; e >= 0 && t.length == 0; e--)
172
- n[e].forEach((i, s, p, l) => t.push(p, l));
173
- return t;
174
- }
175
- function C(n, t) {
176
- if (!n)
177
- return null;
178
- let e = [];
179
- for (let i = 0; i < n.length; i += 2) {
180
- let s = t.map(n[i], 1), p = t.map(n[i + 1], -1);
181
- s <= p && e.push(s, p);
182
- }
183
- return e;
184
- }
185
- function K(n, t, e) {
186
- let i = M(t), s = w.get(t).spec.config, p = (e ? n.undone : n.done).popEvent(t, i);
187
- if (!p)
188
- return null;
189
- let l = p.selection.resolve(p.transform.doc), r = (e ? n.done : n.undone).addTransform(p.transform, t.selection.getBookmark(), s, i), m = new h(e ? r : p.remaining, e ? p.remaining : r, null, 0, -1);
190
- return p.transform.setSelection(l).setMeta(w, { redo: e, historyState: m });
191
- }
192
- let T = !1, b = null;
193
- function M(n) {
194
- let t = n.plugins;
195
- if (b != t) {
196
- T = !1, b = t;
197
- for (let e = 0; e < t.length; e++)
198
- if (t[e].spec.historyPreserveItems) {
199
- T = !0;
200
- break;
201
- }
202
- }
203
- return T;
204
- }
205
- const w = new O("history"), j = new O("closeHistory");
206
- function W(n = {}) {
207
- return n = {
208
- depth: n.depth || 100,
209
- newGroupDelay: n.newGroupDelay || 500
210
- }, new H({
211
- key: w,
212
- state: {
213
- init() {
214
- return new h(c.empty, c.empty, null, 0, -1);
215
- },
216
- apply(t, e, i) {
217
- return F(e, i, t, n);
218
- }
219
- },
220
- config: n,
221
- props: {
222
- handleDOMEvents: {
223
- beforeinput(t, e) {
224
- let i = e.inputType, s = i == "historyUndo" ? A : i == "historyRedo" ? U : null;
225
- return !s || !t.editable ? !1 : (e.preventDefault(), s(t.state, t.dispatch));
226
- }
227
- }
228
- }
229
- });
230
- }
231
- function R(n, t) {
232
- return (e, i) => {
233
- let s = w.getState(e);
234
- if (!s || (n ? s.undone : s.done).eventCount == 0)
235
- return !1;
236
- if (i) {
237
- let p = K(s, e, n);
238
- p && i(t ? p.scrollIntoView() : p);
239
- }
240
- return !0;
241
- };
242
- }
243
- const A = R(!1, !0), U = R(!0, !0);
244
- export {
245
- W as history,
246
- U as redo,
247
- A as undo
248
- };
@@ -1,62 +0,0 @@
1
- import { keyName as u, base as c } from "../../w3c-keyname/index.js";
2
- import { Plugin as d } from "../../prosemirror-state/dist/index.js";
3
- const p = typeof navigator < "u" && /Mac|iP(hone|[oa]d)/.test(navigator.platform), y = typeof navigator < "u" && /Win/.test(navigator.platform);
4
- function m(e) {
5
- let r = e.split(/-(?!$)/), t = r[r.length - 1];
6
- t == "Space" && (t = " ");
7
- let i, f, o, a;
8
- for (let l = 0; l < r.length - 1; l++) {
9
- let s = r[l];
10
- if (/^(cmd|meta|m)$/i.test(s))
11
- a = !0;
12
- else if (/^a(lt)?$/i.test(s))
13
- i = !0;
14
- else if (/^(c|ctrl|control)$/i.test(s))
15
- f = !0;
16
- else if (/^s(hift)?$/i.test(s))
17
- o = !0;
18
- else if (/^mod$/i.test(s))
19
- p ? a = !0 : f = !0;
20
- else
21
- throw new Error("Unrecognized modifier name: " + s);
22
- }
23
- return i && (t = "Alt-" + t), f && (t = "Ctrl-" + t), a && (t = "Meta-" + t), o && (t = "Shift-" + t), t;
24
- }
25
- function h(e) {
26
- let r = /* @__PURE__ */ Object.create(null);
27
- for (let t in e)
28
- r[m(t)] = e[t];
29
- return r;
30
- }
31
- function n(e, r, t = !0) {
32
- return r.altKey && (e = "Alt-" + e), r.ctrlKey && (e = "Ctrl-" + e), r.metaKey && (e = "Meta-" + e), t && r.shiftKey && (e = "Shift-" + e), e;
33
- }
34
- function k(e) {
35
- return new d({ props: { handleKeyDown: K(e) } });
36
- }
37
- function K(e) {
38
- let r = h(e);
39
- return function(t, i) {
40
- let f = u(i), o, a = r[n(f, i)];
41
- if (a && a(t.state, t.dispatch, t))
42
- return !0;
43
- if (f.length == 1 && f != " ") {
44
- if (i.shiftKey) {
45
- let l = r[n(f, i, !1)];
46
- if (l && l(t.state, t.dispatch, t))
47
- return !0;
48
- }
49
- if ((i.altKey || i.metaKey || i.ctrlKey) && // Ctrl-Alt may be used for AltGr on Windows
50
- !(y && i.ctrlKey && i.altKey) && (o = c[i.keyCode]) && o != f) {
51
- let l = r[n(o, i)];
52
- if (l && l(t.state, t.dispatch, t))
53
- return !0;
54
- }
55
- }
56
- return !1;
57
- };
58
- }
59
- export {
60
- K as keydownHandler,
61
- k as keymap
62
- };