@vkzstudio/muza-ui 1.0.48 → 1.2.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 (716) hide show
  1. package/README.md +173 -171
  2. package/dist/Muza_BP_logo.svg +26 -26
  3. package/dist/components/Alert/Alert.d.ts +3 -1
  4. package/dist/components/Alert/Alert.d.ts.map +1 -1
  5. package/dist/components/Alert/Alert.js +28 -24
  6. package/dist/components/Button/Button.stories.d.ts.map +1 -1
  7. package/dist/components/Calendar/Calendar.js +10 -11
  8. package/dist/components/Card/Card.stories.d.ts.map +1 -1
  9. package/dist/components/Carousel/Carousel.d.ts +30 -3
  10. package/dist/components/Carousel/Carousel.d.ts.map +1 -1
  11. package/dist/components/Carousel/Carousel.js +112 -92
  12. package/dist/components/Carousel/Carousel.stories.d.ts.map +1 -1
  13. package/dist/components/DataTable/DataTable.stories.d.ts.map +1 -1
  14. package/dist/components/DatePicker/DatePicker.stories.d.ts +1 -0
  15. package/dist/components/DatePicker/DatePicker.stories.d.ts.map +1 -1
  16. package/dist/components/DatePickerButton/DatePickerButton.stories.d.ts.map +1 -1
  17. package/dist/components/Dialog/Dialog.stories.d.ts +1 -0
  18. package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -1
  19. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +1 -0
  20. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
  21. package/dist/components/Icons/CustomBadges.d.ts +5 -0
  22. package/dist/components/Icons/CustomBadges.d.ts.map +1 -1
  23. package/dist/components/Icons/CustomBadges.js +216 -13
  24. package/dist/components/Input/Input.js +22 -32
  25. package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts +1 -0
  26. package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts.map +1 -1
  27. package/dist/components/Lightbox/Lightbox.d.ts.map +1 -1
  28. package/dist/components/Lightbox/Lightbox.js +70 -54
  29. package/dist/components/Lightbox/Lightbox.stories.d.ts +1 -0
  30. package/dist/components/Lightbox/Lightbox.stories.d.ts.map +1 -1
  31. package/dist/components/Lightbox/LightboxOverrides.css +5 -5
  32. package/dist/components/LoginScreen/LoginScreen.d.ts +11 -1
  33. package/dist/components/LoginScreen/LoginScreen.d.ts.map +1 -1
  34. package/dist/components/LoginScreen/LoginScreen.js +27 -27
  35. package/dist/components/LoginScreen/LoginScreen.stories.d.ts +2 -2
  36. package/dist/components/LoginScreen/LoginScreen.stories.d.ts.map +1 -1
  37. package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DModel.js +10 -9
  38. package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DScene.js +21 -22
  39. package/dist/components/LoginScreen/LoginScreenItem.js +1 -1
  40. package/dist/components/MultiSelect/MultiSelect.stories.d.ts +1 -0
  41. package/dist/components/MultiSelect/MultiSelect.stories.d.ts.map +1 -1
  42. package/dist/components/Pagination/Pagination.stories.d.ts.map +1 -1
  43. package/dist/components/Popover/Popover.stories.d.ts +1 -0
  44. package/dist/components/Popover/Popover.stories.d.ts.map +1 -1
  45. package/dist/components/Reorderable/Reorderable.js +74 -78
  46. package/dist/components/Reorderable/Reorderable.stories.d.ts.map +1 -1
  47. package/dist/components/ReorderableTable/ReorderableTable.js +1 -1
  48. package/dist/components/Select/Select.stories.d.ts +1 -0
  49. package/dist/components/Select/Select.stories.d.ts.map +1 -1
  50. package/dist/components/Sheet/Sheet.stories.d.ts +1 -0
  51. package/dist/components/Sheet/Sheet.stories.d.ts.map +1 -1
  52. package/dist/components/SwipeButton/SwipeButton.js +37 -42
  53. package/dist/components/Tag/Tag.js +1 -1
  54. package/dist/components/TextEditor/LinkBubbleMenu.js +2 -2
  55. package/dist/components/TextEditor/TextEditor.js +5 -5
  56. package/dist/components/Toast/Toast.stories.d.ts +1 -0
  57. package/dist/components/Toast/Toast.stories.d.ts.map +1 -1
  58. package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -0
  59. package/dist/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
  60. package/dist/components/TypographyLink/TypographyLink.stories.d.ts.map +1 -1
  61. package/dist/fonts/Objectivity/OFL.txt +92 -92
  62. package/dist/globals.css +12 -12
  63. package/dist/index.js +194 -193
  64. package/dist/muza-ui.css +1 -1
  65. package/dist/styles/3rd-parties.css +5 -5
  66. package/dist/styles/animations.css +21 -21
  67. package/dist/styles/breakpoints.css +4 -4
  68. package/dist/styles/primitives.css +163 -163
  69. package/dist/styles/token-colors.css +1445 -1445
  70. package/dist/styles/token-sizes.css +1553 -1553
  71. package/dist/styles/typography.css +113 -113
  72. package/dist/styles/utilities.css +66 -66
  73. package/dist/styles/white-label.css +26 -26
  74. package/dist/translations/TranslationContext.js +22 -24
  75. package/dist/translations/locales/cs.d.ts.map +1 -1
  76. package/dist/translations/locales/cs.js +3 -0
  77. package/dist/translations/locales/en.d.ts.map +1 -1
  78. package/dist/translations/locales/en.js +3 -0
  79. package/dist/translations/locales/sk.d.ts.map +1 -1
  80. package/dist/translations/locales/sk.js +3 -0
  81. package/dist/translations/types.d.ts +8 -0
  82. package/dist/translations/types.d.ts.map +1 -1
  83. package/llms-full.md +584 -584
  84. package/llms.txt +37 -37
  85. package/package.json +165 -171
  86. package/dist/_virtual/_commonjsHelpers.js +0 -6
  87. package/dist/_virtual/constants.js +0 -5
  88. package/dist/_virtual/constants2.js +0 -4
  89. package/dist/_virtual/index.js +0 -7
  90. package/dist/_virtual/index2.js +0 -4
  91. package/dist/_virtual/index3.js +0 -4
  92. package/dist/_virtual/index4.js +0 -7
  93. package/dist/_virtual/index5.js +0 -5
  94. package/dist/_virtual/index6.js +0 -4
  95. package/dist/_virtual/index7.js +0 -4
  96. package/dist/_virtual/react-dom-server-legacy.browser.development.js +0 -4
  97. package/dist/_virtual/react-dom-server-legacy.browser.production.min.js +0 -4
  98. package/dist/_virtual/react-dom-server.browser.development.js +0 -4
  99. package/dist/_virtual/react-dom-server.browser.production.min.js +0 -4
  100. package/dist/_virtual/react-is.development.js +0 -4
  101. package/dist/_virtual/react-is.production.min.js +0 -4
  102. package/dist/_virtual/react-reconciler-constants.development.js +0 -4
  103. package/dist/_virtual/react-reconciler-constants.production.min.js +0 -4
  104. package/dist/_virtual/react-reconciler.development.js +0 -4
  105. package/dist/_virtual/scheduler.development.js +0 -4
  106. package/dist/_virtual/scheduler.production.min.js +0 -4
  107. package/dist/_virtual/server.browser.js +0 -5
  108. package/dist/_virtual/server.browser2.js +0 -4
  109. package/dist/node_modules/@date-fns/tz/date/index.js +0 -61
  110. package/dist/node_modules/@date-fns/tz/date/mini.js +0 -69
  111. package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -11
  112. package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -22
  113. package/dist/node_modules/@popperjs/core/lib/createPopper.js +0 -122
  114. package/dist/node_modules/@popperjs/core/lib/dom-utils/contains.js +0 -18
  115. package/dist/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js +0 -23
  116. package/dist/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js +0 -37
  117. package/dist/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js +0 -32
  118. package/dist/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js +0 -7
  119. package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js +0 -10
  120. package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js +0 -17
  121. package/dist/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js +0 -9
  122. package/dist/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js +0 -13
  123. package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js +0 -6
  124. package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js +0 -10
  125. package/dist/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js +0 -35
  126. package/dist/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js +0 -18
  127. package/dist/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js +0 -10
  128. package/dist/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js +0 -21
  129. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindow.js +0 -12
  130. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js +0 -11
  131. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js +0 -9
  132. package/dist/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js +0 -20
  133. package/dist/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js +0 -7
  134. package/dist/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js +0 -8
  135. package/dist/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js +0 -7
  136. package/dist/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js +0 -16
  137. package/dist/node_modules/@popperjs/core/lib/enums.js +0 -31
  138. package/dist/node_modules/@popperjs/core/lib/modifiers/applyStyles.js +0 -47
  139. package/dist/node_modules/@popperjs/core/lib/modifiers/arrow.js +0 -37
  140. package/dist/node_modules/@popperjs/core/lib/modifiers/computeStyles.js +0 -99
  141. package/dist/node_modules/@popperjs/core/lib/modifiers/eventListeners.js +0 -26
  142. package/dist/node_modules/@popperjs/core/lib/modifiers/flip.js +0 -74
  143. package/dist/node_modules/@popperjs/core/lib/modifiers/hide.js +0 -44
  144. package/dist/node_modules/@popperjs/core/lib/modifiers/offset.js +0 -31
  145. package/dist/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +0 -19
  146. package/dist/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js +0 -54
  147. package/dist/node_modules/@popperjs/core/lib/popper.js +0 -27
  148. package/dist/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js +0 -27
  149. package/dist/node_modules/@popperjs/core/lib/utils/computeOffsets.js +0 -54
  150. package/dist/node_modules/@popperjs/core/lib/utils/debounce.js +0 -13
  151. package/dist/node_modules/@popperjs/core/lib/utils/detectOverflow.js +0 -33
  152. package/dist/node_modules/@popperjs/core/lib/utils/expandToHashMap.js +0 -8
  153. package/dist/node_modules/@popperjs/core/lib/utils/getAltAxis.js +0 -6
  154. package/dist/node_modules/@popperjs/core/lib/utils/getBasePlacement.js +0 -6
  155. package/dist/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js +0 -11
  156. package/dist/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js +0 -6
  157. package/dist/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js +0 -14
  158. package/dist/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js +0 -12
  159. package/dist/node_modules/@popperjs/core/lib/utils/getVariation.js +0 -6
  160. package/dist/node_modules/@popperjs/core/lib/utils/math.js +0 -6
  161. package/dist/node_modules/@popperjs/core/lib/utils/mergeByName.js +0 -15
  162. package/dist/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js +0 -7
  163. package/dist/node_modules/@popperjs/core/lib/utils/orderModifiers.js +0 -31
  164. package/dist/node_modules/@popperjs/core/lib/utils/rectToClientRect.js +0 -11
  165. package/dist/node_modules/@popperjs/core/lib/utils/userAgent.js +0 -9
  166. package/dist/node_modules/@popperjs/core/lib/utils/within.js +0 -12
  167. package/dist/node_modules/@react-three/drei/core/useAnimations.js +0 -34
  168. package/dist/node_modules/@react-three/drei/core/useGLTF.js +0 -18
  169. package/dist/node_modules/@react-three/fiber/dist/events-776716bd.esm.js +0 -1311
  170. package/dist/node_modules/@react-three/fiber/dist/react-three-fiber.esm.js +0 -145
  171. package/dist/node_modules/@react-three/fiber/node_modules/suspend-react/index.js +0 -47
  172. package/dist/node_modules/@tiptap/core/dist/index.js +0 -2857
  173. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +0 -45
  174. package/dist/node_modules/@tiptap/extension-bold/dist/index.js +0 -76
  175. package/dist/node_modules/@tiptap/extension-bubble-menu/dist/index.js +0 -129
  176. package/dist/node_modules/@tiptap/extension-bullet-list/dist/index.js +0 -55
  177. package/dist/node_modules/@tiptap/extension-character-count/dist/index.js +0 -73
  178. package/dist/node_modules/@tiptap/extension-code/dist/index.js +0 -54
  179. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +0 -136
  180. package/dist/node_modules/@tiptap/extension-document/dist/index.js +0 -10
  181. package/dist/node_modules/@tiptap/extension-dropcursor/dist/index.js +0 -21
  182. package/dist/node_modules/@tiptap/extension-gapcursor/dist/index.js +0 -25
  183. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +0 -56
  184. package/dist/node_modules/@tiptap/extension-heading/dist/index.js +0 -55
  185. package/dist/node_modules/@tiptap/extension-history/dist/index.js +0 -36
  186. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +0 -59
  187. package/dist/node_modules/@tiptap/extension-italic/dist/index.js +0 -75
  188. package/dist/node_modules/@tiptap/extension-link/dist/index.js +0 -272
  189. package/dist/node_modules/@tiptap/extension-list-item/dist/index.js +0 -34
  190. package/dist/node_modules/@tiptap/extension-ordered-list/dist/index.js +0 -73
  191. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +0 -34
  192. package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +0 -53
  193. package/dist/node_modules/@tiptap/extension-strike/dist/index.js +0 -64
  194. package/dist/node_modules/@tiptap/extension-text/dist/index.js +0 -9
  195. package/dist/node_modules/@tiptap/react/dist/index.js +0 -709
  196. package/dist/node_modules/@tiptap/starter-kit/dist/index.js +0 -30
  197. package/dist/node_modules/color/index.js +0 -262
  198. package/dist/node_modules/color/node_modules/color-convert/conversions.js +0 -421
  199. package/dist/node_modules/color/node_modules/color-convert/index.js +0 -35
  200. package/dist/node_modules/color/node_modules/color-convert/route.js +0 -46
  201. package/dist/node_modules/color/node_modules/color-name/index.js +0 -153
  202. package/dist/node_modules/color-string/index.js +0 -105
  203. package/dist/node_modules/color-string/node_modules/color-name/index.js +0 -153
  204. package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
  205. package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
  206. package/dist/node_modules/date-fns/constants.js +0 -4
  207. package/dist/node_modules/date-fns/constructFrom.js +0 -8
  208. package/dist/node_modules/date-fns/isSameWeek.js +0 -14
  209. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -9
  210. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -18
  211. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -31
  212. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -15
  213. package/dist/node_modules/date-fns/locale/cs/_lib/formatDistance.js +0 -275
  214. package/dist/node_modules/date-fns/locale/cs/_lib/formatLong.js +0 -33
  215. package/dist/node_modules/date-fns/locale/cs/_lib/formatRelative.js +0 -25
  216. package/dist/node_modules/date-fns/locale/cs/_lib/localize.js +0 -167
  217. package/dist/node_modules/date-fns/locale/cs/_lib/match.js +0 -109
  218. package/dist/node_modules/date-fns/locale/cs.js +0 -21
  219. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -70
  220. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -33
  221. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
  222. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -155
  223. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -110
  224. package/dist/node_modules/date-fns/locale/en-US.js +0 -21
  225. package/dist/node_modules/date-fns/locale/sk/_lib/formatDistance.js +0 -158
  226. package/dist/node_modules/date-fns/locale/sk/_lib/formatLong.js +0 -33
  227. package/dist/node_modules/date-fns/locale/sk/_lib/formatRelative.js +0 -60
  228. package/dist/node_modules/date-fns/locale/sk/_lib/localize.js +0 -175
  229. package/dist/node_modules/date-fns/locale/sk/_lib/match.js +0 -111
  230. package/dist/node_modules/date-fns/locale/sk.js +0 -21
  231. package/dist/node_modules/date-fns/startOfWeek.js +0 -11
  232. package/dist/node_modules/date-fns/toDate.js +0 -8
  233. package/dist/node_modules/framer-motion/dist/es/animation/animate/index.js +0 -25
  234. package/dist/node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.js +0 -8
  235. package/dist/node_modules/framer-motion/dist/es/animation/animate/sequence.js +0 -12
  236. package/dist/node_modules/framer-motion/dist/es/animation/animate/subject.js +0 -32
  237. package/dist/node_modules/framer-motion/dist/es/animation/sequence/create.js +0 -128
  238. package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.js +0 -6
  239. package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.js +0 -6
  240. package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/edit.js +0 -22
  241. package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.js +0 -7
  242. package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/sort.js +0 -6
  243. package/dist/node_modules/framer-motion/dist/es/animation/utils/create-visual-element.js +0 -40
  244. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.js +0 -6
  245. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -59
  246. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -34
  247. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -47
  248. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
  249. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -12
  250. package/dist/node_modules/framer-motion/dist/es/components/Reorder/Group.js +0 -46
  251. package/dist/node_modules/framer-motion/dist/es/components/Reorder/Item.js +0 -34
  252. package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/auto-scroll.js +0 -64
  253. package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/check-reorder.js +0 -17
  254. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -5
  255. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -5
  256. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -9
  257. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -13
  258. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -5
  259. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -15
  260. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -5
  261. package/dist/node_modules/framer-motion/dist/es/context/ReorderContext.js +0 -5
  262. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -5
  263. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -8
  264. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -14
  265. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -277
  266. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -22
  267. package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.js +0 -70
  268. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -67
  269. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -28
  270. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -21
  271. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -131
  272. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -43
  273. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -23
  274. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -27
  275. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -34
  276. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -13
  277. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -39
  278. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
  279. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -21
  280. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -60
  281. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
  282. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -14
  283. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -44
  284. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -21
  285. package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -63
  286. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -4
  287. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -22
  288. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
  289. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -52
  290. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -38
  291. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
  292. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -13
  293. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -7
  294. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -10
  295. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -16
  296. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -20
  297. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -24
  298. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -10
  299. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -27
  300. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -9
  301. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -30
  302. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -22
  303. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -10
  304. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -8
  305. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -9
  306. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -4
  307. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -4
  308. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -6
  309. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +0 -28
  310. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -8
  311. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -6
  312. package/dist/node_modules/framer-motion/dist/es/utils/use-motion-value-event.js +0 -7
  313. package/dist/node_modules/framer-motion/dist/es/value/use-combine-values.js +0 -15
  314. package/dist/node_modules/framer-motion/dist/es/value/use-computed.js +0 -10
  315. package/dist/node_modules/framer-motion/dist/es/value/use-motion-value.js +0 -15
  316. package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +0 -31
  317. package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +0 -34
  318. package/dist/node_modules/imask/esm/controls/html-input-mask-element.js +0 -31
  319. package/dist/node_modules/imask/esm/controls/html-mask-element.js +0 -48
  320. package/dist/node_modules/imask/esm/controls/input-history.js +0 -30
  321. package/dist/node_modules/imask/esm/controls/input.js +0 -222
  322. package/dist/node_modules/imask/esm/controls/mask-element.js +0 -43
  323. package/dist/node_modules/imask/esm/core/action-details.js +0 -51
  324. package/dist/node_modules/imask/esm/core/change-details.js +0 -36
  325. package/dist/node_modules/imask/esm/core/continuous-tail-details.js +0 -42
  326. package/dist/node_modules/imask/esm/core/holder.js +0 -6
  327. package/dist/node_modules/imask/esm/core/utils.js +0 -67
  328. package/dist/node_modules/imask/esm/index.js +0 -50
  329. package/dist/node_modules/imask/esm/masked/base.js +0 -252
  330. package/dist/node_modules/imask/esm/masked/date.js +0 -117
  331. package/dist/node_modules/imask/esm/masked/dynamic.js +0 -222
  332. package/dist/node_modules/imask/esm/masked/enum.js +0 -69
  333. package/dist/node_modules/imask/esm/masked/factory.js +0 -46
  334. package/dist/node_modules/imask/esm/masked/function.js +0 -23
  335. package/dist/node_modules/imask/esm/masked/number.js +0 -212
  336. package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +0 -103
  337. package/dist/node_modules/imask/esm/masked/pattern/cursor.js +0 -100
  338. package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js +0 -102
  339. package/dist/node_modules/imask/esm/masked/pattern/input-definition.js +0 -133
  340. package/dist/node_modules/imask/esm/masked/pattern.js +0 -322
  341. package/dist/node_modules/imask/esm/masked/pipe.js +0 -23
  342. package/dist/node_modules/imask/esm/masked/range.js +0 -78
  343. package/dist/node_modules/imask/esm/masked/regexp.js +0 -21
  344. package/dist/node_modules/imask/esm/masked/repeat.js +0 -104
  345. package/dist/node_modules/its-fine/dist/index.js +0 -116
  346. package/dist/node_modules/linkifyjs/dist/linkify.js +0 -707
  347. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -106
  348. package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimation.js +0 -76
  349. package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.js +0 -10
  350. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -133
  351. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -108
  352. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -37
  353. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -10
  354. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -17
  355. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -37
  356. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -30
  357. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.js +0 -32
  358. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.js +0 -52
  359. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.js +0 -98
  360. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -13
  361. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -13
  362. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -6
  363. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -9
  364. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -46
  365. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -46
  366. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -30
  367. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -22
  368. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -69
  369. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -75
  370. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -8
  371. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -8
  372. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -12
  373. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -6
  374. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -7
  375. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -7
  376. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -16
  377. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -31
  378. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -6
  379. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -7
  380. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -27
  381. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -7
  382. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -23
  383. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -31
  384. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -22
  385. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-final-keyframe.js +0 -8
  386. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -6
  387. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -7
  388. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -9
  389. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -6
  390. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -6
  391. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -16
  392. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -4
  393. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -12
  394. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -15
  395. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -21
  396. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -24
  397. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -8
  398. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -10
  399. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -17
  400. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -6
  401. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -27
  402. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -9
  403. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -5
  404. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -21
  405. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -41
  406. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -15
  407. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -11
  408. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -11
  409. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -24
  410. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -33
  411. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -13
  412. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -27
  413. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -4
  414. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -4
  415. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -4
  416. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -12
  417. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -27
  418. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -25
  419. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -14
  420. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -52
  421. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -36
  422. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -25
  423. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -18
  424. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -34
  425. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -16
  426. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -25
  427. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -623
  428. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -15
  429. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -60
  430. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -21
  431. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -16
  432. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -21
  433. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -13
  434. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -4
  435. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -6
  436. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -19
  437. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -20
  438. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -13
  439. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -10
  440. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -247
  441. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -28
  442. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -4
  443. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -65
  444. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -7
  445. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -6
  446. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -38
  447. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -29
  448. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -37
  449. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -12
  450. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -14
  451. package/dist/node_modules/motion-dom/dist/es/render/object/ObjectVisualElement.js +0 -37
  452. package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -4
  453. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -40
  454. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -32
  455. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -28
  456. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -4
  457. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -15
  458. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -11
  459. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -15
  460. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -141
  461. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -20
  462. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -6
  463. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -13
  464. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -9
  465. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -4
  466. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -6
  467. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -13
  468. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -23
  469. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -25
  470. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -15
  471. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -5
  472. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -8
  473. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -20
  474. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -21
  475. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -14
  476. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -13
  477. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -12
  478. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -42
  479. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -7
  480. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -7
  481. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -7
  482. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -29
  483. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -51
  484. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -6
  485. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -8
  486. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -4
  487. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -8
  488. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -15
  489. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -4
  490. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -12
  491. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -9
  492. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -5
  493. package/dist/node_modules/motion-dom/dist/es/utils/transform.js +0 -8
  494. package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -218
  495. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -7
  496. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -19
  497. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -22
  498. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -12
  499. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -15
  500. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -16
  501. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -18
  502. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -24
  503. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -49
  504. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -9
  505. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -8
  506. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -24
  507. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -70
  508. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -31
  509. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -17
  510. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -17
  511. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -4
  512. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -10
  513. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -4
  514. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -8
  515. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -4
  516. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -4
  517. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -6
  518. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -4
  519. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -4
  520. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -4
  521. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -7
  522. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -14
  523. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -7
  524. package/dist/node_modules/motion-utils/dist/es/array.js +0 -20
  525. package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -4
  526. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -5
  527. package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -9
  528. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -8
  529. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -18
  530. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -7
  531. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -4
  532. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -4
  533. package/dist/node_modules/motion-utils/dist/es/easing/utils/get-easing-for-segment.js +0 -8
  534. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -4
  535. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -4
  536. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -32
  537. package/dist/node_modules/motion-utils/dist/es/errors.js +0 -15
  538. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -6
  539. package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -4
  540. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -4
  541. package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -6
  542. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -4
  543. package/dist/node_modules/motion-utils/dist/es/memo.js +0 -8
  544. package/dist/node_modules/motion-utils/dist/es/noop.js +0 -4
  545. package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -4
  546. package/dist/node_modules/motion-utils/dist/es/progress.js +0 -7
  547. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -29
  548. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -5
  549. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -6
  550. package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -8
  551. package/dist/node_modules/motion-utils/dist/es/wrap.js +0 -7
  552. package/dist/node_modules/object-assign/index.js +0 -54
  553. package/dist/node_modules/orderedmap/dist/index.js +0 -103
  554. package/dist/node_modules/photoswipe/dist/photoswipe.esm.js +0 -2956
  555. package/dist/node_modules/prop-types/checkPropTypes.js +0 -54
  556. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
  557. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
  558. package/dist/node_modules/prop-types/index.js +0 -17
  559. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
  560. package/dist/node_modules/prop-types/lib/has.js +0 -7
  561. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -95
  562. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -78
  563. package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -10
  564. package/dist/node_modules/prosemirror-commands/dist/index.js +0 -388
  565. package/dist/node_modules/prosemirror-dropcursor/dist/index.js +0 -86
  566. package/dist/node_modules/prosemirror-gapcursor/dist/index.js +0 -204
  567. package/dist/node_modules/prosemirror-history/dist/index.js +0 -248
  568. package/dist/node_modules/prosemirror-keymap/dist/index.js +0 -62
  569. package/dist/node_modules/prosemirror-model/dist/index.js +0 -2733
  570. package/dist/node_modules/prosemirror-schema-list/dist/index.js +0 -88
  571. package/dist/node_modules/prosemirror-state/dist/index.js +0 -822
  572. package/dist/node_modules/prosemirror-transform/dist/index.js +0 -1520
  573. package/dist/node_modules/prosemirror-view/dist/index.js +0 -3794
  574. package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -229
  575. package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -22
  576. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -19
  577. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -8
  578. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -8
  579. package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -222
  580. package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -7
  581. package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -7
  582. package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
  583. package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -8
  584. package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -11
  585. package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -19
  586. package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -7
  587. package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -7
  588. package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -8
  589. package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -8
  590. package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -7
  591. package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -7
  592. package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -9
  593. package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -27
  594. package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -9
  595. package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -7
  596. package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -9
  597. package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -8
  598. package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -7
  599. package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -8
  600. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -8
  601. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -7
  602. package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -7
  603. package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -11
  604. package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -7
  605. package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -9
  606. package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -54
  607. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -9
  608. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -7
  609. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -7
  610. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -7
  611. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -6
  612. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -7
  613. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -9
  614. package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -18
  615. package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -19
  616. package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -42
  617. package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -9
  618. package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -7
  619. package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -7
  620. package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -10
  621. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -16
  622. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -21
  623. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -10
  624. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -16
  625. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -13
  626. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -15
  627. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -10
  628. package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -13
  629. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -13
  630. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -24
  631. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -13
  632. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -12
  633. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -12
  634. package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -12
  635. package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -13
  636. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -11
  637. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -7
  638. package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -16
  639. package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -7
  640. package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -8
  641. package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -26
  642. package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -10
  643. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -9
  644. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -8
  645. package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -6
  646. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -6
  647. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -6
  648. package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -6
  649. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -6
  650. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -6
  651. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -7
  652. package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -6
  653. package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -21
  654. package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -18
  655. package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -15
  656. package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -56
  657. package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -44
  658. package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -12
  659. package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -23
  660. package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -19
  661. package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -32
  662. package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -26
  663. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -15
  664. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -28
  665. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -9
  666. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -8
  667. package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -26
  668. package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +0 -3621
  669. package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +0 -1234
  670. package/dist/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -3600
  671. package/dist/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +0 -1255
  672. package/dist/node_modules/react-dom/server.browser.js +0 -15
  673. package/dist/node_modules/react-imask/esm/hook.js +0 -75
  674. package/dist/node_modules/react-imask/esm/input.js +0 -23
  675. package/dist/node_modules/react-imask/esm/mixin.js +0 -131
  676. package/dist/node_modules/react-photoswipe-gallery/dist/context.js +0 -17
  677. package/dist/node_modules/react-photoswipe-gallery/dist/gallery.js +0 -216
  678. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/ensure-ref-passed.js +0 -10
  679. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/entry-item-ref-is-element.js +0 -4
  680. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-base-url.js +0 -6
  681. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-value.js +0 -6
  682. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-without-gid-and-pid.js +0 -9
  683. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-initial-active-slide-index.js +0 -6
  684. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-data-source.js +0 -39
  685. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-items-refs.js +0 -31
  686. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-includes-navigation-query-params.js +0 -8
  687. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-to-object.js +0 -9
  688. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/item-to-slide.js +0 -37
  689. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/object-to-hash.js +0 -6
  690. package/dist/node_modules/react-photoswipe-gallery/dist/helpers/sort-nodes.js +0 -6
  691. package/dist/node_modules/react-photoswipe-gallery/dist/hooks.js +0 -22
  692. package/dist/node_modules/react-photoswipe-gallery/dist/item.js +0 -54
  693. package/dist/node_modules/react-photoswipe-gallery/dist/lightbox-stub.js +0 -8
  694. package/dist/node_modules/react-photoswipe-gallery/dist/no-ref-error.js +0 -14
  695. package/dist/node_modules/react-photoswipe-gallery/dist/no-source-id-error.js +0 -18
  696. package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js +0 -32
  697. package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.production.min.js +0 -17
  698. package/dist/node_modules/react-reconciler/cjs/react-reconciler.development.js +0 -9139
  699. package/dist/node_modules/react-reconciler/cjs/react-reconciler.production.min.js +0 -3778
  700. package/dist/node_modules/react-reconciler/constants.js +0 -10
  701. package/dist/node_modules/react-reconciler/index.js +0 -10
  702. package/dist/node_modules/react-use-measure/dist/index.js +0 -60
  703. package/dist/node_modules/rope-sequence/dist/index.js +0 -100
  704. package/dist/node_modules/scheduler/cjs/scheduler.development.js +0 -277
  705. package/dist/node_modules/scheduler/cjs/scheduler.production.min.js +0 -213
  706. package/dist/node_modules/scheduler/index.js +0 -10
  707. package/dist/node_modules/three/build/three.module.js +0 -20599
  708. package/dist/node_modules/three-stdlib/_polyfill/LoaderUtils.js +0 -15
  709. package/dist/node_modules/three-stdlib/_polyfill/constants.js +0 -5
  710. package/dist/node_modules/three-stdlib/libs/MeshoptDecoder.js +0 -201
  711. package/dist/node_modules/three-stdlib/loaders/DRACOLoader.js +0 -246
  712. package/dist/node_modules/three-stdlib/loaders/GLTFLoader.js +0 -1670
  713. package/dist/node_modules/three-stdlib/utils/BufferGeometryUtils.js +0 -34
  714. package/dist/node_modules/tippy.js/dist/tippy.esm.js +0 -813
  715. package/dist/node_modules/w3c-keyname/index.js +0 -93
  716. package/dist/node_modules/zustand/esm/index.js +0 -61
@@ -1,30 +0,0 @@
1
- import { Extension as i } from "../../core/dist/index.js";
2
- import { Blockquote as t } from "../../extension-blockquote/dist/index.js";
3
- import { Bold as s } from "../../extension-bold/dist/index.js";
4
- import { BulletList as r } from "../../extension-bullet-list/dist/index.js";
5
- import { Code as e } from "../../extension-code/dist/index.js";
6
- import { CodeBlock as p } from "../../extension-code-block/dist/index.js";
7
- import { Document as f } from "../../extension-document/dist/index.js";
8
- import { Dropcursor as n } from "../../extension-dropcursor/dist/index.js";
9
- import { Gapcursor as h } from "../../extension-gapcursor/dist/index.js";
10
- import { HardBreak as u } from "../../extension-hard-break/dist/index.js";
11
- import { Heading as a } from "../../extension-heading/dist/index.js";
12
- import { History as l } from "../../extension-history/dist/index.js";
13
- import { HorizontalRule as m } from "../../extension-horizontal-rule/dist/index.js";
14
- import { Italic as c } from "../../extension-italic/dist/index.js";
15
- import { ListItem as d } from "../../extension-list-item/dist/index.js";
16
- import { OrderedList as g } from "../../extension-ordered-list/dist/index.js";
17
- import { Paragraph as k } from "../../extension-paragraph/dist/index.js";
18
- import { Strike as B } from "../../extension-strike/dist/index.js";
19
- import { Text as x } from "../../extension-text/dist/index.js";
20
- const w = i.create({
21
- name: "starterKit",
22
- addExtensions() {
23
- const o = [];
24
- return this.options.bold !== !1 && o.push(s.configure(this.options.bold)), this.options.blockquote !== !1 && o.push(t.configure(this.options.blockquote)), this.options.bulletList !== !1 && o.push(r.configure(this.options.bulletList)), this.options.code !== !1 && o.push(e.configure(this.options.code)), this.options.codeBlock !== !1 && o.push(p.configure(this.options.codeBlock)), this.options.document !== !1 && o.push(f.configure(this.options.document)), this.options.dropcursor !== !1 && o.push(n.configure(this.options.dropcursor)), this.options.gapcursor !== !1 && o.push(h.configure(this.options.gapcursor)), this.options.hardBreak !== !1 && o.push(u.configure(this.options.hardBreak)), this.options.heading !== !1 && o.push(a.configure(this.options.heading)), this.options.history !== !1 && o.push(l.configure(this.options.history)), this.options.horizontalRule !== !1 && o.push(m.configure(this.options.horizontalRule)), this.options.italic !== !1 && o.push(c.configure(this.options.italic)), this.options.listItem !== !1 && o.push(d.configure(this.options.listItem)), this.options.orderedList !== !1 && o.push(g.configure(this.options.orderedList)), this.options.paragraph !== !1 && o.push(k.configure(this.options.paragraph)), this.options.strike !== !1 && o.push(B.configure(this.options.strike)), this.options.text !== !1 && o.push(x.configure(this.options.text)), o;
25
- }
26
- });
27
- export {
28
- w as StarterKit,
29
- w as default
30
- };
@@ -1,262 +0,0 @@
1
- import f from "../color-string/index.js";
2
- import l from "./node_modules/color-convert/index.js";
3
- const d = [
4
- // To be honest, I don't really feel like keyword belongs in color convert, but eh.
5
- "keyword",
6
- // Gray conflicts with some method names, and has its own method defined.
7
- "gray",
8
- // Shouldn't really be in color-convert either...
9
- "hex"
10
- ], b = {};
11
- for (const t of Object.keys(l))
12
- b[[...l[t].labels].sort().join("")] = t;
13
- const p = {};
14
- function i(t, r) {
15
- if (!(this instanceof i))
16
- return new i(t, r);
17
- if (r && r in d && (r = null), r && !(r in l))
18
- throw new Error("Unknown model: " + r);
19
- let o, n;
20
- if (t == null)
21
- this.model = "rgb", this.color = [0, 0, 0], this.valpha = 1;
22
- else if (t instanceof i)
23
- this.model = t.model, this.color = [...t.color], this.valpha = t.valpha;
24
- else if (typeof t == "string") {
25
- const s = f.get(t);
26
- if (s === null)
27
- throw new Error("Unable to parse color from string: " + t);
28
- this.model = s.model, n = l[this.model].channels, this.color = s.value.slice(0, n), this.valpha = typeof s.value[n] == "number" ? s.value[n] : 1;
29
- } else if (t.length > 0) {
30
- this.model = r || "rgb", n = l[this.model].channels;
31
- const s = Array.prototype.slice.call(t, 0, n);
32
- this.color = y(s, n), this.valpha = typeof t[n] == "number" ? t[n] : 1;
33
- } else if (typeof t == "number")
34
- this.model = "rgb", this.color = [
35
- t >> 16 & 255,
36
- t >> 8 & 255,
37
- t & 255
38
- ], this.valpha = 1;
39
- else {
40
- this.valpha = 1;
41
- const s = Object.keys(t);
42
- "alpha" in t && (s.splice(s.indexOf("alpha"), 1), this.valpha = typeof t.alpha == "number" ? t.alpha : 0);
43
- const a = s.sort().join("");
44
- if (!(a in b))
45
- throw new Error("Unable to parse color from object: " + JSON.stringify(t));
46
- this.model = b[a];
47
- const { labels: u } = l[this.model], c = [];
48
- for (o = 0; o < u.length; o++)
49
- c.push(t[u[o]]);
50
- this.color = y(c);
51
- }
52
- if (p[this.model])
53
- for (n = l[this.model].channels, o = 0; o < n; o++) {
54
- const s = p[this.model][o];
55
- s && (this.color[o] = s(this.color[o]));
56
- }
57
- this.valpha = Math.max(0, Math.min(1, this.valpha)), Object.freeze && Object.freeze(this);
58
- }
59
- i.prototype = {
60
- toString() {
61
- return this.string();
62
- },
63
- toJSON() {
64
- return this[this.model]();
65
- },
66
- string(t) {
67
- let r = this.model in f.to ? this : this.rgb();
68
- r = r.round(typeof t == "number" ? t : 1);
69
- const o = r.valpha === 1 ? r.color : [...r.color, this.valpha];
70
- return f.to[r.model](...o);
71
- },
72
- percentString(t) {
73
- const r = this.rgb().round(typeof t == "number" ? t : 1), o = r.valpha === 1 ? r.color : [...r.color, this.valpha];
74
- return f.to.rgb.percent(...o);
75
- },
76
- array() {
77
- return this.valpha === 1 ? [...this.color] : [...this.color, this.valpha];
78
- },
79
- object() {
80
- const t = {}, { channels: r } = l[this.model], { labels: o } = l[this.model];
81
- for (let n = 0; n < r; n++)
82
- t[o[n]] = this.color[n];
83
- return this.valpha !== 1 && (t.alpha = this.valpha), t;
84
- },
85
- unitArray() {
86
- const t = this.rgb().color;
87
- return t[0] /= 255, t[1] /= 255, t[2] /= 255, this.valpha !== 1 && t.push(this.valpha), t;
88
- },
89
- unitObject() {
90
- const t = this.rgb().object();
91
- return t.r /= 255, t.g /= 255, t.b /= 255, this.valpha !== 1 && (t.alpha = this.valpha), t;
92
- },
93
- round(t) {
94
- return t = Math.max(t || 0, 0), new i([...this.color.map(w(t)), this.valpha], this.model);
95
- },
96
- alpha(t) {
97
- return t !== void 0 ? new i([...this.color, Math.max(0, Math.min(1, t))], this.model) : this.valpha;
98
- },
99
- // Rgb
100
- red: e("rgb", 0, h(255)),
101
- green: e("rgb", 1, h(255)),
102
- blue: e("rgb", 2, h(255)),
103
- hue: e(["hsl", "hsv", "hsl", "hwb", "hcg"], 0, (t) => (t % 360 + 360) % 360),
104
- saturationl: e("hsl", 1, h(100)),
105
- lightness: e("hsl", 2, h(100)),
106
- saturationv: e("hsv", 1, h(100)),
107
- value: e("hsv", 2, h(100)),
108
- chroma: e("hcg", 1, h(100)),
109
- gray: e("hcg", 2, h(100)),
110
- white: e("hwb", 1, h(100)),
111
- wblack: e("hwb", 2, h(100)),
112
- cyan: e("cmyk", 0, h(100)),
113
- magenta: e("cmyk", 1, h(100)),
114
- yellow: e("cmyk", 2, h(100)),
115
- black: e("cmyk", 3, h(100)),
116
- x: e("xyz", 0, h(95.047)),
117
- y: e("xyz", 1, h(100)),
118
- z: e("xyz", 2, h(108.833)),
119
- l: e("lab", 0, h(100)),
120
- a: e("lab", 1),
121
- b: e("lab", 2),
122
- keyword(t) {
123
- return t !== void 0 ? new i(t) : l[this.model].keyword(this.color);
124
- },
125
- hex(t) {
126
- return t !== void 0 ? new i(t) : f.to.hex(...this.rgb().round().color);
127
- },
128
- hexa(t) {
129
- if (t !== void 0)
130
- return new i(t);
131
- const r = this.rgb().round().color;
132
- let o = Math.round(this.valpha * 255).toString(16).toUpperCase();
133
- return o.length === 1 && (o = "0" + o), f.to.hex(...r) + o;
134
- },
135
- rgbNumber() {
136
- const t = this.rgb().color;
137
- return (t[0] & 255) << 16 | (t[1] & 255) << 8 | t[2] & 255;
138
- },
139
- luminosity() {
140
- const t = this.rgb().color, r = [];
141
- for (const [o, n] of t.entries()) {
142
- const s = n / 255;
143
- r[o] = s <= 0.04045 ? s / 12.92 : ((s + 0.055) / 1.055) ** 2.4;
144
- }
145
- return 0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2];
146
- },
147
- contrast(t) {
148
- const r = this.luminosity(), o = t.luminosity();
149
- return r > o ? (r + 0.05) / (o + 0.05) : (o + 0.05) / (r + 0.05);
150
- },
151
- level(t) {
152
- const r = this.contrast(t);
153
- return r >= 7 ? "AAA" : r >= 4.5 ? "AA" : "";
154
- },
155
- isDark() {
156
- const t = this.rgb().color;
157
- return (t[0] * 2126 + t[1] * 7152 + t[2] * 722) / 1e4 < 128;
158
- },
159
- isLight() {
160
- return !this.isDark();
161
- },
162
- negate() {
163
- const t = this.rgb();
164
- for (let r = 0; r < 3; r++)
165
- t.color[r] = 255 - t.color[r];
166
- return t;
167
- },
168
- lighten(t) {
169
- const r = this.hsl();
170
- return r.color[2] += r.color[2] * t, r;
171
- },
172
- darken(t) {
173
- const r = this.hsl();
174
- return r.color[2] -= r.color[2] * t, r;
175
- },
176
- saturate(t) {
177
- const r = this.hsl();
178
- return r.color[1] += r.color[1] * t, r;
179
- },
180
- desaturate(t) {
181
- const r = this.hsl();
182
- return r.color[1] -= r.color[1] * t, r;
183
- },
184
- whiten(t) {
185
- const r = this.hwb();
186
- return r.color[1] += r.color[1] * t, r;
187
- },
188
- blacken(t) {
189
- const r = this.hwb();
190
- return r.color[2] += r.color[2] * t, r;
191
- },
192
- grayscale() {
193
- const t = this.rgb().color, r = t[0] * 0.3 + t[1] * 0.59 + t[2] * 0.11;
194
- return i.rgb(r, r, r);
195
- },
196
- fade(t) {
197
- return this.alpha(this.valpha - this.valpha * t);
198
- },
199
- opaquer(t) {
200
- return this.alpha(this.valpha + this.valpha * t);
201
- },
202
- rotate(t) {
203
- const r = this.hsl();
204
- let o = r.color[0];
205
- return o = (o + t) % 360, o = o < 0 ? 360 + o : o, r.color[0] = o, r;
206
- },
207
- mix(t, r) {
208
- if (!t || !t.rgb)
209
- throw new Error('Argument to "mix" was not a Color instance, but rather an instance of ' + typeof t);
210
- const o = t.rgb(), n = this.rgb(), s = r === void 0 ? 0.5 : r, a = 2 * s - 1, u = o.alpha() - n.alpha(), c = ((a * u === -1 ? a : (a + u) / (1 + a * u)) + 1) / 2, g = 1 - c;
211
- return i.rgb(
212
- c * o.red() + g * n.red(),
213
- c * o.green() + g * n.green(),
214
- c * o.blue() + g * n.blue(),
215
- o.alpha() * s + n.alpha() * (1 - s)
216
- );
217
- }
218
- };
219
- for (const t of Object.keys(l)) {
220
- if (d.includes(t))
221
- continue;
222
- const { channels: r } = l[t];
223
- i.prototype[t] = function(...o) {
224
- return this.model === t ? new i(this) : o.length > 0 ? new i(o, t) : new i([...v(l[this.model][t].raw(this.color)), this.valpha], t);
225
- }, i[t] = function(...o) {
226
- let n = o[0];
227
- return typeof n == "number" && (n = y(o, r)), new i(n, t);
228
- };
229
- }
230
- function m(t, r) {
231
- return Number(t.toFixed(r));
232
- }
233
- function w(t) {
234
- return function(r) {
235
- return m(r, t);
236
- };
237
- }
238
- function e(t, r, o) {
239
- t = Array.isArray(t) ? t : [t];
240
- for (const n of t)
241
- (p[n] || (p[n] = []))[r] = o;
242
- return t = t[0], function(n) {
243
- let s;
244
- return n !== void 0 ? (o && (n = o(n)), s = this[t](), s.color[r] = n, s) : (s = this[t]().color[r], o && (s = o(s)), s);
245
- };
246
- }
247
- function h(t) {
248
- return function(r) {
249
- return Math.max(0, Math.min(t, r));
250
- };
251
- }
252
- function v(t) {
253
- return Array.isArray(t) ? t : [t];
254
- }
255
- function y(t, r) {
256
- for (let o = 0; o < r; o++)
257
- typeof t[o] != "number" && (t[o] = 0);
258
- return t;
259
- }
260
- export {
261
- i as default
262
- };