@vkzstudio/muza-ui 1.0.8 → 1.0.10

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 (275) hide show
  1. package/dist/components/Button/Button.js +19 -19
  2. package/dist/components/Button/ButtonLoader.d.ts +7 -0
  3. package/dist/components/Button/ButtonLoader.d.ts.map +1 -0
  4. package/dist/components/Button/ButtonLoader.js +40 -0
  5. package/dist/components/Button/buttonVariants.d.ts.map +1 -1
  6. package/dist/components/Button/buttonVariants.js +0 -1
  7. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
  8. package/dist/components/Icons/CustomIcons.d.ts +1 -0
  9. package/dist/components/Icons/CustomIcons.d.ts.map +1 -1
  10. package/dist/components/Icons/CustomIcons.js +39 -28
  11. package/dist/components/ReorderableTable/ReorderableTable.js +1 -1
  12. package/dist/components/SwipeButton/SwipeButton.js +1 -1
  13. package/dist/components/TextEditor/EditorToolbar.d.ts +18 -0
  14. package/dist/components/TextEditor/EditorToolbar.d.ts.map +1 -0
  15. package/dist/components/TextEditor/EditorToolbar.js +175 -0
  16. package/dist/components/TextEditor/LinkBubbleMenu.d.ts +52 -0
  17. package/dist/components/TextEditor/LinkBubbleMenu.d.ts.map +1 -0
  18. package/dist/components/TextEditor/LinkBubbleMenu.js +97 -0
  19. package/dist/components/TextEditor/TextEditor.d.ts +134 -0
  20. package/dist/components/TextEditor/TextEditor.d.ts.map +1 -0
  21. package/dist/components/TextEditor/TextEditor.js +240 -0
  22. package/dist/components/TextEditor/TextEditor.stories.d.ts +51 -0
  23. package/dist/components/TextEditor/TextEditor.stories.d.ts.map +1 -0
  24. package/dist/components/TextEditor/ToolbarButton.d.ts +38 -0
  25. package/dist/components/TextEditor/ToolbarButton.d.ts.map +1 -0
  26. package/dist/components/TextEditor/ToolbarButton.js +68 -0
  27. package/dist/components/TextEditor/ToolbarSeparator.d.ts +22 -0
  28. package/dist/components/TextEditor/ToolbarSeparator.d.ts.map +1 -0
  29. package/dist/components/TextEditor/ToolbarSeparator.js +23 -0
  30. package/dist/components/TextEditor/index.d.ts +4 -0
  31. package/dist/components/TextEditor/index.d.ts.map +1 -0
  32. package/dist/components/TextEditor/useLinkEditor.d.ts +37 -0
  33. package/dist/components/TextEditor/useLinkEditor.d.ts.map +1 -0
  34. package/dist/components/TextEditor/useLinkEditor.js +32 -0
  35. package/dist/components/index.d.ts +1 -0
  36. package/dist/components/index.d.ts.map +1 -1
  37. package/dist/index.js +140 -132
  38. package/dist/muza-ui.css +1 -1
  39. package/dist/node_modules/@popperjs/core/lib/createPopper.js +122 -0
  40. package/dist/node_modules/@popperjs/core/lib/dom-utils/contains.js +18 -0
  41. package/dist/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js +23 -0
  42. package/dist/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js +37 -0
  43. package/dist/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js +32 -0
  44. package/dist/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js +7 -0
  45. package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js +10 -0
  46. package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js +17 -0
  47. package/dist/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js +9 -0
  48. package/dist/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js +13 -0
  49. package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js +6 -0
  50. package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js +10 -0
  51. package/dist/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js +35 -0
  52. package/dist/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js +18 -0
  53. package/dist/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js +10 -0
  54. package/dist/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js +21 -0
  55. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindow.js +12 -0
  56. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js +11 -0
  57. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js +9 -0
  58. package/dist/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js +20 -0
  59. package/dist/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js +7 -0
  60. package/dist/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js +8 -0
  61. package/dist/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js +7 -0
  62. package/dist/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js +16 -0
  63. package/dist/node_modules/@popperjs/core/lib/enums.js +31 -0
  64. package/dist/node_modules/@popperjs/core/lib/modifiers/applyStyles.js +47 -0
  65. package/dist/node_modules/@popperjs/core/lib/modifiers/arrow.js +37 -0
  66. package/dist/node_modules/@popperjs/core/lib/modifiers/computeStyles.js +99 -0
  67. package/dist/node_modules/@popperjs/core/lib/modifiers/eventListeners.js +26 -0
  68. package/dist/node_modules/@popperjs/core/lib/modifiers/flip.js +74 -0
  69. package/dist/node_modules/@popperjs/core/lib/modifiers/hide.js +44 -0
  70. package/dist/node_modules/@popperjs/core/lib/modifiers/offset.js +31 -0
  71. package/dist/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +19 -0
  72. package/dist/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js +54 -0
  73. package/dist/node_modules/@popperjs/core/lib/popper.js +27 -0
  74. package/dist/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js +27 -0
  75. package/dist/node_modules/@popperjs/core/lib/utils/computeOffsets.js +54 -0
  76. package/dist/node_modules/@popperjs/core/lib/utils/debounce.js +13 -0
  77. package/dist/node_modules/@popperjs/core/lib/utils/detectOverflow.js +33 -0
  78. package/dist/node_modules/@popperjs/core/lib/utils/expandToHashMap.js +8 -0
  79. package/dist/node_modules/@popperjs/core/lib/utils/getAltAxis.js +6 -0
  80. package/dist/node_modules/@popperjs/core/lib/utils/getBasePlacement.js +6 -0
  81. package/dist/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js +11 -0
  82. package/dist/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js +6 -0
  83. package/dist/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js +14 -0
  84. package/dist/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js +12 -0
  85. package/dist/node_modules/@popperjs/core/lib/utils/getVariation.js +6 -0
  86. package/dist/node_modules/@popperjs/core/lib/utils/math.js +6 -0
  87. package/dist/node_modules/@popperjs/core/lib/utils/mergeByName.js +15 -0
  88. package/dist/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js +7 -0
  89. package/dist/node_modules/@popperjs/core/lib/utils/orderModifiers.js +31 -0
  90. package/dist/node_modules/@popperjs/core/lib/utils/rectToClientRect.js +11 -0
  91. package/dist/node_modules/@popperjs/core/lib/utils/userAgent.js +9 -0
  92. package/dist/node_modules/@popperjs/core/lib/utils/within.js +12 -0
  93. package/dist/node_modules/@tiptap/core/dist/index.js +2857 -0
  94. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +45 -0
  95. package/dist/node_modules/@tiptap/extension-bold/dist/index.js +76 -0
  96. package/dist/node_modules/@tiptap/extension-bubble-menu/dist/index.js +129 -0
  97. package/dist/node_modules/@tiptap/extension-bullet-list/dist/index.js +55 -0
  98. package/dist/node_modules/@tiptap/extension-code/dist/index.js +54 -0
  99. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +136 -0
  100. package/dist/node_modules/@tiptap/extension-document/dist/index.js +10 -0
  101. package/dist/node_modules/@tiptap/extension-dropcursor/dist/index.js +21 -0
  102. package/dist/node_modules/@tiptap/extension-gapcursor/dist/index.js +25 -0
  103. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +56 -0
  104. package/dist/node_modules/@tiptap/extension-heading/dist/index.js +55 -0
  105. package/dist/node_modules/@tiptap/extension-history/dist/index.js +36 -0
  106. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +59 -0
  107. package/dist/node_modules/@tiptap/extension-italic/dist/index.js +75 -0
  108. package/dist/node_modules/@tiptap/extension-link/dist/index.js +272 -0
  109. package/dist/node_modules/@tiptap/extension-list-item/dist/index.js +34 -0
  110. package/dist/node_modules/@tiptap/extension-ordered-list/dist/index.js +73 -0
  111. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +34 -0
  112. package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +53 -0
  113. package/dist/node_modules/@tiptap/extension-strike/dist/index.js +64 -0
  114. package/dist/node_modules/@tiptap/extension-text/dist/index.js +9 -0
  115. package/dist/node_modules/@tiptap/react/dist/index.js +709 -0
  116. package/dist/node_modules/@tiptap/starter-kit/dist/index.js +30 -0
  117. package/dist/node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.js +4 -4
  118. package/dist/node_modules/framer-motion/dist/es/animation/animate/subject.js +24 -24
  119. package/dist/node_modules/framer-motion/dist/es/animation/sequence/create.js +61 -56
  120. package/dist/node_modules/framer-motion/dist/es/animation/utils/create-visual-element.js +8 -8
  121. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +32 -30
  122. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +22 -22
  123. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +34 -32
  124. package/dist/node_modules/framer-motion/dist/es/components/Reorder/Group.js +34 -26
  125. package/dist/node_modules/framer-motion/dist/es/components/Reorder/Item.js +30 -25
  126. package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/auto-scroll.js +64 -0
  127. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +2 -2
  128. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +3 -3
  129. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +100 -89
  130. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +11 -7
  131. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +4 -4
  132. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +2 -2
  133. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +1 -1
  134. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +106 -59
  135. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +6 -6
  136. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +1 -1
  137. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +1 -1
  138. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +5 -5
  139. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +18 -6
  140. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +1 -1
  141. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +27 -42
  142. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +4 -4
  143. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +10 -7
  144. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +4 -4
  145. package/dist/node_modules/framer-motion/dist/es/motion/index.js +49 -49
  146. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +18 -13
  147. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +41 -40
  148. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +13 -13
  149. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +6 -6
  150. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +12 -12
  151. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +3 -3
  152. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +7 -7
  153. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +5 -5
  154. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +1 -1
  155. package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +26 -18
  156. package/dist/node_modules/linkifyjs/dist/linkify.js +707 -0
  157. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +33 -30
  158. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +17 -17
  159. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +20 -19
  160. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +10 -0
  161. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/motion-value.js +13 -13
  162. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/visual-element-target.js +11 -11
  163. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +24 -20
  164. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/utils/default-transitions.js +1 -1
  165. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +7 -3
  166. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +1 -1
  167. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/animation/mix-values.js +2 -2
  168. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/delta-apply.js +4 -4
  169. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/delta-calc.js +1 -1
  170. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/delta-remove.js +6 -6
  171. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/DocumentProjectionNode.js +7 -4
  172. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/create-projection-node.js +149 -149
  173. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +60 -0
  174. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/styles/scale-border-radius.js +1 -1
  175. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/styles/scale-box-shadow.js +2 -2
  176. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +21 -0
  177. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/VisualElement.js +58 -50
  178. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/dom/DOMVisualElement.js +7 -6
  179. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +6 -0
  180. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +38 -0
  181. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +29 -0
  182. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +37 -0
  183. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +14 -0
  184. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +40 -0
  185. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +32 -0
  186. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +15 -0
  187. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
  188. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/animation-state.js +31 -31
  189. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/is-controlling-variants.js +1 -1
  190. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +9 -0
  191. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/motion-values.js +6 -6
  192. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +15 -0
  193. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/setters.js +4 -4
  194. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/utils/delay.js +2 -2
  195. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +8 -6
  196. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +62 -42
  197. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +7 -0
  198. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +7 -0
  199. package/dist/node_modules/motion-utils/dist/es/errors.js +10 -9
  200. package/dist/node_modules/orderedmap/dist/index.js +103 -0
  201. package/dist/node_modules/prosemirror-commands/dist/index.js +388 -0
  202. package/dist/node_modules/prosemirror-dropcursor/dist/index.js +86 -0
  203. package/dist/node_modules/prosemirror-gapcursor/dist/index.js +204 -0
  204. package/dist/node_modules/prosemirror-history/dist/index.js +248 -0
  205. package/dist/node_modules/prosemirror-keymap/dist/index.js +62 -0
  206. package/dist/node_modules/prosemirror-model/dist/index.js +2733 -0
  207. package/dist/node_modules/prosemirror-schema-list/dist/index.js +88 -0
  208. package/dist/node_modules/prosemirror-state/dist/index.js +822 -0
  209. package/dist/node_modules/prosemirror-transform/dist/index.js +1520 -0
  210. package/dist/node_modules/prosemirror-view/dist/index.js +3794 -0
  211. package/dist/node_modules/rope-sequence/dist/index.js +100 -0
  212. package/dist/node_modules/tippy.js/dist/tippy.esm.js +813 -0
  213. package/dist/node_modules/w3c-keyname/index.js +93 -0
  214. package/dist/translations/locales/cs.d.ts.map +1 -1
  215. package/dist/translations/locales/cs.js +18 -0
  216. package/dist/translations/locales/en.d.ts.map +1 -1
  217. package/dist/translations/locales/en.js +18 -0
  218. package/dist/translations/locales/sk.d.ts.map +1 -1
  219. package/dist/translations/locales/sk.js +18 -0
  220. package/dist/translations/types.d.ts +22 -0
  221. package/dist/translations/types.d.ts.map +1 -1
  222. package/package.json +17 -1
  223. package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -10
  224. package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -8
  225. package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -58
  226. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -10
  227. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -4
  228. package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -38
  229. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -29
  230. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -31
  231. package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -12
  232. package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -40
  233. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -23
  234. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -18
  235. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -15
  236. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -13
  237. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -7
  238. package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -7
  239. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/visual-element-variant.js +0 -0
  240. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/visual-element.js +0 -0
  241. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/optimized-appear/data-id.js +0 -0
  242. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/optimized-appear/get-appear-id.js +0 -0
  243. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/utils/calc-child-stagger.js +0 -0
  244. /package/dist/node_modules/{framer-motion/dist/es/animation/animators/waapi → motion-dom/dist/es/animation}/utils/get-final-keyframe.js +0 -0
  245. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/utils/is-transition-defined.js +0 -0
  246. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/events/add-dom-event.js +0 -0
  247. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/conversion.js +0 -0
  248. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/copy.js +0 -0
  249. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/models.js +0 -0
  250. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/utils.js +0 -0
  251. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/HTMLProjectionNode.js +0 -0
  252. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/state.js +0 -0
  253. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/styles/transform.js +0 -0
  254. /package/dist/node_modules/{framer-motion/dist/es/render → motion-dom/dist/es/projection}/utils/compare-by-depth.js +0 -0
  255. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/each-axis.js +0 -0
  256. /package/dist/node_modules/{framer-motion/dist/es/render → motion-dom/dist/es/projection}/utils/flat-tree.js +0 -0
  257. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/has-transform.js +0 -0
  258. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/measure.js +0 -0
  259. /package/dist/node_modules/{framer-motion/dist/es/motion/features → motion-dom/dist/es/render}/Feature.js +0 -0
  260. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/html/utils/render.js +0 -0
  261. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/object/ObjectVisualElement.js +0 -0
  262. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/store.js +0 -0
  263. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/camel-case-attrs.js +0 -0
  264. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/is-svg-tag.js +0 -0
  265. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/render.js +0 -0
  266. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/get-variant-context.js +0 -0
  267. /package/dist/node_modules/{framer-motion/dist/es/animation → motion-dom/dist/es/render}/utils/is-animation-controls.js +0 -0
  268. /package/dist/node_modules/{framer-motion/dist/es/animation → motion-dom/dist/es/render}/utils/is-keyframes-target.js +0 -0
  269. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/is-variant-label.js +0 -0
  270. /package/dist/node_modules/{framer-motion/dist/es → motion-dom/dist/es/render}/utils/reduced-motion/state.js +0 -0
  271. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-dynamic-variants.js +0 -0
  272. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-variants.js +0 -0
  273. /package/dist/node_modules/{framer-motion/dist/es → motion-dom/dist/es/render}/utils/shallow-compare.js +0 -0
  274. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/variant-props.js +0 -0
  275. /package/dist/node_modules/{framer-motion/dist/es/value/use-will-change → motion-dom/dist/es/value/will-change}/add-will-change.js +0 -0
@@ -0,0 +1,93 @@
1
+ var t = {
2
+ 8: "Backspace",
3
+ 9: "Tab",
4
+ 10: "Enter",
5
+ 12: "NumLock",
6
+ 13: "Enter",
7
+ 16: "Shift",
8
+ 17: "Control",
9
+ 18: "Alt",
10
+ 20: "CapsLock",
11
+ 27: "Escape",
12
+ 32: " ",
13
+ 33: "PageUp",
14
+ 34: "PageDown",
15
+ 35: "End",
16
+ 36: "Home",
17
+ 37: "ArrowLeft",
18
+ 38: "ArrowUp",
19
+ 39: "ArrowRight",
20
+ 40: "ArrowDown",
21
+ 44: "PrintScreen",
22
+ 45: "Insert",
23
+ 46: "Delete",
24
+ 59: ";",
25
+ 61: "=",
26
+ 91: "Meta",
27
+ 92: "Meta",
28
+ 106: "*",
29
+ 107: "+",
30
+ 108: ",",
31
+ 109: "-",
32
+ 110: ".",
33
+ 111: "/",
34
+ 144: "NumLock",
35
+ 145: "ScrollLock",
36
+ 160: "Shift",
37
+ 161: "Shift",
38
+ 162: "Control",
39
+ 163: "Control",
40
+ 164: "Alt",
41
+ 165: "Alt",
42
+ 173: "-",
43
+ 186: ";",
44
+ 187: "=",
45
+ 188: ",",
46
+ 189: "-",
47
+ 190: ".",
48
+ 191: "/",
49
+ 192: "`",
50
+ 219: "[",
51
+ 220: "\\",
52
+ 221: "]",
53
+ 222: "'"
54
+ }, a = {
55
+ 48: ")",
56
+ 49: "!",
57
+ 50: "@",
58
+ 51: "#",
59
+ 52: "$",
60
+ 53: "%",
61
+ 54: "^",
62
+ 55: "&",
63
+ 56: "*",
64
+ 57: "(",
65
+ 59: ":",
66
+ 61: "+",
67
+ 173: "_",
68
+ 186: ":",
69
+ 187: "+",
70
+ 188: "<",
71
+ 189: "_",
72
+ 190: ">",
73
+ 191: "?",
74
+ 192: "~",
75
+ 219: "{",
76
+ 220: "|",
77
+ 221: "}",
78
+ 222: '"'
79
+ }, n = typeof navigator < "u" && /Mac/.test(navigator.platform), y = typeof navigator < "u" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
80
+ for (var r = 0; r < 10; r++) t[48 + r] = t[96 + r] = String(r);
81
+ for (var r = 1; r <= 24; r++) t[r + 111] = "F" + r;
82
+ for (var r = 65; r <= 90; r++)
83
+ t[r] = String.fromCharCode(r + 32), a[r] = String.fromCharCode(r);
84
+ for (var i in t) a.hasOwnProperty(i) || (a[i] = t[i]);
85
+ function g(o) {
86
+ var f = n && o.metaKey && o.shiftKey && !o.ctrlKey && !o.altKey || y && o.shiftKey && o.key && o.key.length == 1 || o.key == "Unidentified", e = !f && o.key || (o.shiftKey ? a : t)[o.keyCode] || o.key || "Unidentified";
87
+ return e == "Esc" && (e = "Escape"), e == "Del" && (e = "Delete"), e == "Left" && (e = "ArrowLeft"), e == "Up" && (e = "ArrowUp"), e == "Right" && (e = "ArrowRight"), e == "Down" && (e = "ArrowDown"), e;
88
+ }
89
+ export {
90
+ t as base,
91
+ g as keyName,
92
+ a as shift
93
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"cs.d.ts","sourceRoot":"","sources":["../../../src/translations/locales/cs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD,eAAO,MAAM,cAAc,EAAE,gBAoD5B,CAAA"}
1
+ {"version":3,"file":"cs.d.ts","sourceRoot":"","sources":["../../../src/translations/locales/cs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD,eAAO,MAAM,cAAc,EAAE,gBAsE5B,CAAA"}
@@ -46,6 +46,24 @@ const e = {
46
46
  clearButtonAriaLabel: "Vymazat hledání",
47
47
  searchButtonAriaLabel: "Hledat"
48
48
  },
49
+ textEditor: {
50
+ saveButton: "Uložit",
51
+ cancelButton: "Zrušit",
52
+ editButton: "Upravit",
53
+ removeButton: "Odstranit",
54
+ undo: "Zpět",
55
+ redo: "Vpřed",
56
+ heading1: "Nadpis 1",
57
+ heading2: "Nadpis 2",
58
+ heading3: "Nadpis 3",
59
+ bold: "Tučné",
60
+ italic: "Kurzíva",
61
+ strikethrough: "Přeškrtnuté",
62
+ bulletList: "Odrážkový seznam",
63
+ orderedList: "Číslovaný seznam",
64
+ insertLink: "Vložit odkaz",
65
+ clearFormatting: "Vymazat formátování"
66
+ },
49
67
  reorderableTable: {
50
68
  dragHandleAriaLabel: "Přetáhněte pro změnu pořadí",
51
69
  listAriaLabel: "Seznam s možností změny pořadí"
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/translations/locales/en.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD,eAAO,MAAM,cAAc,EAAE,gBAoD5B,CAAA"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/translations/locales/en.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD,eAAO,MAAM,cAAc,EAAE,gBAsE5B,CAAA"}
@@ -46,6 +46,24 @@ const e = {
46
46
  clearButtonAriaLabel: "Clear search",
47
47
  searchButtonAriaLabel: "Search"
48
48
  },
49
+ textEditor: {
50
+ saveButton: "Save",
51
+ cancelButton: "Cancel",
52
+ editButton: "Edit",
53
+ removeButton: "Remove",
54
+ undo: "Undo",
55
+ redo: "Redo",
56
+ heading1: "Heading 1",
57
+ heading2: "Heading 2",
58
+ heading3: "Heading 3",
59
+ bold: "Bold",
60
+ italic: "Italic",
61
+ strikethrough: "Strikethrough",
62
+ bulletList: "Bullet List",
63
+ orderedList: "Ordered List",
64
+ insertLink: "Insert Link",
65
+ clearFormatting: "Clear Formatting"
66
+ },
49
67
  reorderableTable: {
50
68
  dragHandleAriaLabel: "Drag to reorder",
51
69
  listAriaLabel: "Reorderable list"
@@ -1 +1 @@
1
- {"version":3,"file":"sk.d.ts","sourceRoot":"","sources":["../../../src/translations/locales/sk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD,eAAO,MAAM,cAAc,EAAE,gBAoD5B,CAAA"}
1
+ {"version":3,"file":"sk.d.ts","sourceRoot":"","sources":["../../../src/translations/locales/sk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD,eAAO,MAAM,cAAc,EAAE,gBAsE5B,CAAA"}
@@ -46,6 +46,24 @@ const e = {
46
46
  clearButtonAriaLabel: "Vymazať hľadanie",
47
47
  searchButtonAriaLabel: "Hľadať"
48
48
  },
49
+ textEditor: {
50
+ saveButton: "Uložiť",
51
+ cancelButton: "Zrušiť",
52
+ editButton: "Upraviť",
53
+ removeButton: "Odstrániť",
54
+ undo: "Späť",
55
+ redo: "Vpred",
56
+ heading1: "Nadpis 1",
57
+ heading2: "Nadpis 2",
58
+ heading3: "Nadpis 3",
59
+ bold: "Tučné",
60
+ italic: "Kurzíva",
61
+ strikethrough: "Prečiarknuté",
62
+ bulletList: "Odrážkový zoznam",
63
+ orderedList: "Číslovaný zoznam",
64
+ insertLink: "Vložiť odkaz",
65
+ clearFormatting: "Vymazať formátovanie"
66
+ },
49
67
  reorderableTable: {
50
68
  dragHandleAriaLabel: "Potiahnite pre zmenu poradia",
51
69
  listAriaLabel: "Zoznam s možnosťou zmeny poradia"
@@ -76,6 +76,27 @@ export interface SearchbarTranslations {
76
76
  clearButtonAriaLabel: string;
77
77
  searchButtonAriaLabel: string;
78
78
  }
79
+ /**
80
+ * TextEditor component translations
81
+ */
82
+ export interface TextEditorTranslations {
83
+ saveButton: string;
84
+ cancelButton: string;
85
+ editButton: string;
86
+ removeButton: string;
87
+ undo: string;
88
+ redo: string;
89
+ heading1: string;
90
+ heading2: string;
91
+ heading3: string;
92
+ bold: string;
93
+ italic: string;
94
+ strikethrough: string;
95
+ bulletList: string;
96
+ orderedList: string;
97
+ insertLink: string;
98
+ clearFormatting: string;
99
+ }
79
100
  /**
80
101
  * ReorderableTable component translations
81
102
  */
@@ -95,6 +116,7 @@ export interface MuzaTranslations {
95
116
  swipeButton: SwipeButtonTranslations;
96
117
  select: SelectTranslations;
97
118
  searchbar: SearchbarTranslations;
119
+ textEditor: TextEditorTranslations;
98
120
  reorderableTable: ReorderableTableTranslations;
99
121
  }
100
122
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/translations/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEtC;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAEhD;;GAEG;AACH,MAAM,MAAM,UAAU,GAClB,OAAO,GACP,WAAW,GACX,WAAW,GACX,WAAW,GACX,aAAa,GACb,cAAc,GACd,cAAc,GACd,cAAc,GACd,WAAW,GACX,WAAW,CAAA;AAEf;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,UAAU,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,iBAAiB,EAAE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AY,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAA;IAC5C,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAA;IAClD,2DAA2D;IAC3D,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC9B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkzstudio/muza-ui",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "React component library built with Vite, shadcn/ui, and Tailwind CSS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -71,6 +71,13 @@
71
71
  "@react-three/fiber": "^8.18.0",
72
72
  "@solar-icons/react-perf": "^1.0.0",
73
73
  "@storybook/addon-designs": "^10.0.2",
74
+ "@tiptap/extension-link": "^2.22.0",
75
+ "@tiptap/extension-mention": "^2.22.0",
76
+ "@tiptap/extension-placeholder": "^2.22.0",
77
+ "@tiptap/pm": "^2.22.0",
78
+ "@tiptap/react": "^2.22.0",
79
+ "@tiptap/starter-kit": "^2.22.0",
80
+ "@tiptap/suggestion": "^2.22.0",
74
81
  "class-variance-authority": "^0.7.0",
75
82
  "clsx": "^2.1.0",
76
83
  "color": "^5.0.2",
@@ -91,6 +98,12 @@
91
98
  "peerDependenciesMeta": {
92
99
  "next-themes": {
93
100
  "optional": true
101
+ },
102
+ "@tiptap/extension-mention": {
103
+ "optional": true
104
+ },
105
+ "@tiptap/suggestion": {
106
+ "optional": true
94
107
  }
95
108
  },
96
109
  "devDependencies": {
@@ -101,6 +114,8 @@
101
114
  "@storybook/react-vite": "^9.1.8",
102
115
  "@storybook/testing-library": "^0.2.2",
103
116
  "@tailwindcss/vite": "^4.1.11",
117
+ "@tiptap/extension-mention": "^2.27.2",
118
+ "@tiptap/suggestion": "^2.27.2",
104
119
  "@trivago/prettier-plugin-sort-imports": "^5.2.2",
105
120
  "@types/react": "^18.3.23",
106
121
  "@types/react-dom": "^18.3.7",
@@ -121,6 +136,7 @@
121
136
  "react-imask": "^7.6.1",
122
137
  "storybook": "^9.1.8",
123
138
  "tailwindcss": "^4.1.11",
139
+ "tippy.js": "^6.3.7",
124
140
  "typescript": "^5.2.2",
125
141
  "typescript-eslint": "^8.39.1",
126
142
  "vite": "^6.3.5",
@@ -1,10 +0,0 @@
1
- import { animateMotionValue as m } from "../interfaces/motion-value.js";
2
- import { isMotionValue as a } from "../../../../../motion-dom/dist/es/value/utils/is-motion-value.js";
3
- import { motionValue as r } from "../../../../../motion-dom/dist/es/value/index.js";
4
- function f(o, i, n) {
5
- const t = a(o) ? o : r(o);
6
- return t.start(m("", t, i, n)), t.animation;
7
- }
8
- export {
9
- f as animateSingleValue
10
- };
@@ -1,8 +0,0 @@
1
- import { scaleCorrectors as i } from "../../projection/styles/scale-correction.js";
2
- import { transformProps as n } from "../../../../../motion-dom/dist/es/render/utils/keys-transform.js";
3
- function c(r, { layout: o, layoutId: t }) {
4
- return n.has(r) || r.startsWith("origin") || (o || t !== void 0) && (!!i[r] || r === "opacity");
5
- }
6
- export {
7
- c as isForcedMotionValue
8
- };
@@ -1,58 +0,0 @@
1
- import { addUniqueItem as a, removeItem as o } from "../../../../../motion-utils/dist/es/array.js";
2
- class n {
3
- constructor() {
4
- this.members = [];
5
- }
6
- add(e) {
7
- a(this.members, e), e.scheduleRender();
8
- }
9
- remove(e) {
10
- if (o(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
11
- const t = this.members[this.members.length - 1];
12
- t && this.promote(t);
13
- }
14
- }
15
- relegate(e) {
16
- const t = this.members.findIndex((i) => e === i);
17
- if (t === 0)
18
- return !1;
19
- let s;
20
- for (let i = t; i >= 0; i--) {
21
- const r = this.members[i];
22
- if (r.isPresent !== !1) {
23
- s = r;
24
- break;
25
- }
26
- }
27
- return s ? (this.promote(s), !0) : !1;
28
- }
29
- promote(e, t) {
30
- const s = this.lead;
31
- if (e !== s && (this.prevLead = s, this.lead = e, e.show(), s)) {
32
- s.instance && s.scheduleRender(), e.scheduleRender(), e.resumeFrom = s, t && (e.resumeFrom.preserveOpacity = !0), s.snapshot && (e.snapshot = s.snapshot, e.snapshot.latestValues = s.animationValues || s.latestValues), e.root && e.root.isUpdating && (e.isLayoutDirty = !0);
33
- const { crossfade: i } = e.options;
34
- i === !1 && s.hide();
35
- }
36
- }
37
- exitAnimationComplete() {
38
- this.members.forEach((e) => {
39
- const { options: t, resumingFrom: s } = e;
40
- t.onExitComplete && t.onExitComplete(), s && s.options.onExitComplete && s.options.onExitComplete();
41
- });
42
- }
43
- scheduleRender() {
44
- this.members.forEach((e) => {
45
- e.instance && e.scheduleRender(!1);
46
- });
47
- }
48
- /**
49
- * Clear any leads that have been removed this render to prevent them from being
50
- * used in future animations and to prevent memory leaks
51
- */
52
- removeLeadSnapshot() {
53
- this.lead && this.lead.snapshot && (this.lead.snapshot = void 0);
54
- }
55
- }
56
- export {
57
- n as NodeStack
58
- };
@@ -1,10 +0,0 @@
1
- import { isCSSVariableName as a } from "../../../../../motion-dom/dist/es/animation/utils/is-css-variable.js";
2
- const o = {};
3
- function t(e) {
4
- for (const r in e)
5
- o[r] = e[r], a(r) && (o[r].isCSSVariable = !0);
6
- }
7
- export {
8
- t as addScaleCorrector,
9
- o as scaleCorrectors
10
- };
@@ -1,4 +0,0 @@
1
- const a = (e) => e.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase();
2
- export {
3
- a as camelToDash
4
- };
@@ -1,38 +0,0 @@
1
- import { measureViewportBox as n } from "../../projection/utils/measure.js";
2
- import { DOMVisualElement as a } from "../dom/DOMVisualElement.js";
3
- import { buildHTMLStyles as i } from "./utils/build-styles.js";
4
- import { renderHTML as u } from "./utils/render.js";
5
- import { scrapeMotionValuesFromProps as p } from "./utils/scrape-motion-values.js";
6
- import { transformProps as l } from "../../../../../motion-dom/dist/es/render/utils/keys-transform.js";
7
- import { defaultTransformValue as f, readTransformValue as c } from "../../../../../motion-dom/dist/es/render/dom/parse-transform.js";
8
- import { isCSSVariableName as d } from "../../../../../motion-dom/dist/es/animation/utils/is-css-variable.js";
9
- function V(m) {
10
- return window.getComputedStyle(m);
11
- }
12
- class b extends a {
13
- constructor() {
14
- super(...arguments), this.type = "html", this.renderInstance = u;
15
- }
16
- readValueFromInstance(e, r) {
17
- var t;
18
- if (l.has(r))
19
- return (t = this.projection) != null && t.isProjecting ? f(r) : c(e, r);
20
- {
21
- const s = V(e), o = (d(r) ? s.getPropertyValue(r) : s[r]) || 0;
22
- return typeof o == "string" ? o.trim() : o;
23
- }
24
- }
25
- measureInstanceViewportBox(e, { transformPagePoint: r }) {
26
- return n(e, r);
27
- }
28
- build(e, r, t) {
29
- i(e, r, t.transformTemplate);
30
- }
31
- scrapeMotionValuesFromProps(e, r, t) {
32
- return p(e, r, t);
33
- }
34
- }
35
- export {
36
- b as HTMLVisualElement,
37
- V as getComputedStyle
38
- };
@@ -1,29 +0,0 @@
1
- import { buildTransform as p } from "./build-transform.js";
2
- import { transformProps as u } from "../../../../../../motion-dom/dist/es/render/utils/keys-transform.js";
3
- import { isCSSVariableName as c } from "../../../../../../motion-dom/dist/es/animation/utils/is-css-variable.js";
4
- import { getValueAsType as g } from "../../../../../../motion-dom/dist/es/value/types/utils/get-as-type.js";
5
- import { numberValueTypes as y } from "../../../../../../motion-dom/dist/es/value/types/maps/number.js";
6
- function S(f, i, e) {
7
- const { style: o, vars: l, transformOrigin: t } = f;
8
- let m = !1, a = !1;
9
- for (const r in i) {
10
- const n = i[r];
11
- if (u.has(r)) {
12
- m = !0;
13
- continue;
14
- } else if (c(r)) {
15
- l[r] = n;
16
- continue;
17
- } else {
18
- const s = g(n, y[r]);
19
- r.startsWith("origin") ? (a = !0, t[r] = s) : o[r] = s;
20
- }
21
- }
22
- if (i.transform || (m || e ? o.transform = p(i, f.transform, e) : o.transform && (o.transform = "none")), a) {
23
- const { originX: r = "50%", originY: n = "50%", originZ: s = 0 } = t;
24
- o.transformOrigin = `${r} ${n} ${s}`;
25
- }
26
- }
27
- export {
28
- S as buildHTMLStyles
29
- };
@@ -1,31 +0,0 @@
1
- import { transformPropOrder as l } from "../../../../../../motion-dom/dist/es/render/utils/keys-transform.js";
2
- import { getValueAsType as m } from "../../../../../../motion-dom/dist/es/value/types/utils/get-as-type.js";
3
- import { numberValueTypes as p } from "../../../../../../motion-dom/dist/es/value/types/maps/number.js";
4
- const y = {
5
- x: "translateX",
6
- y: "translateY",
7
- z: "translateZ",
8
- transformPerspective: "perspective"
9
- }, v = l.length;
10
- function A(u, i, s) {
11
- let e = "", o = !0;
12
- for (let a = 0; a < v; a++) {
13
- const t = l[a], r = u[t];
14
- if (r === void 0)
15
- continue;
16
- let n = !0;
17
- if (typeof r == "number" ? n = r === (t.startsWith("scale") ? 1 : 0) : n = parseFloat(r) === 0, !n || s) {
18
- const f = m(r, p[t]);
19
- if (!n) {
20
- o = !1;
21
- const c = y[t] || t;
22
- e += `${c}(${f}) `;
23
- }
24
- s && (i[t] = f);
25
- }
26
- }
27
- return e = e.trim(), s ? e = s(i, o ? "" : e) : o && (e = "none"), e;
28
- }
29
- export {
30
- A as buildTransform
31
- };
@@ -1,12 +0,0 @@
1
- import { isForcedMotionValue as s } from "../../../motion/utils/is-forced-motion-value.js";
2
- import { isMotionValue as f } from "../../../../../../motion-dom/dist/es/value/utils/is-motion-value.js";
3
- function u(n, r, t) {
4
- var c;
5
- const { style: e } = n, i = {};
6
- for (const o in e)
7
- (f(e[o]) || r.style && f(r.style[o]) || s(o, n) || ((c = t == null ? void 0 : t.getValue(o)) == null ? void 0 : c.liveStyle) !== void 0) && (i[o] = e[o]);
8
- return i;
9
- }
10
- export {
11
- u as scrapeMotionValuesFromProps
12
- };
@@ -1,40 +0,0 @@
1
- import { createBox as s } from "../../projection/geometry/models.js";
2
- import { DOMVisualElement as a } from "../dom/DOMVisualElement.js";
3
- import { camelToDash as m } from "../dom/utils/camel-to-dash.js";
4
- import { buildSVGAttrs as i } from "./utils/build-attrs.js";
5
- import { camelCaseAttributes as u } from "./utils/camel-case-attrs.js";
6
- import { isSVGTag as n } from "./utils/is-svg-tag.js";
7
- import { renderSVG as p } from "./utils/render.js";
8
- import { scrapeMotionValuesFromProps as l } from "./utils/scrape-motion-values.js";
9
- import { transformProps as f } from "../../../../../motion-dom/dist/es/render/utils/keys-transform.js";
10
- import { getDefaultValueType as V } from "../../../../../motion-dom/dist/es/value/types/maps/defaults.js";
11
- class A extends a {
12
- constructor() {
13
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = s;
14
- }
15
- getBaseTargetFromProps(t, r) {
16
- return t[r];
17
- }
18
- readValueFromInstance(t, r) {
19
- if (f.has(r)) {
20
- const e = V(r);
21
- return e && e.default || 0;
22
- }
23
- return r = u.has(r) ? r : m(r), t.getAttribute(r);
24
- }
25
- scrapeMotionValuesFromProps(t, r, e) {
26
- return l(t, r, e);
27
- }
28
- build(t, r, e) {
29
- i(t, r, this.isSVGTag, e.transformTemplate, e.style);
30
- }
31
- renderInstance(t, r, e, o) {
32
- p(t, r, e, o);
33
- }
34
- mount(t) {
35
- this.isSVGTag = n(t.tagName), super.mount(t);
36
- }
37
- }
38
- export {
39
- A as SVGVisualElement
40
- };
@@ -1,23 +0,0 @@
1
- import { buildHTMLStyles as a } from "../../html/utils/build-styles.js";
2
- import { buildSVGPath as B } from "./path.js";
3
- function g(f, {
4
- attrX: o,
5
- attrY: e,
6
- attrScale: m,
7
- pathLength: s,
8
- pathSpacing: d = 1,
9
- pathOffset: l = 0,
10
- // This is object creation, which we try to avoid per-frame.
11
- ...t
12
- }, u, x, n) {
13
- if (a(f, t, x), u) {
14
- f.style.viewBox && (f.attrs.viewBox = f.style.viewBox);
15
- return;
16
- }
17
- f.attrs = f.style, f.style = {};
18
- const { attrs: r, style: i } = f;
19
- r.transform && (i.transform = r.transform, delete r.transform), (i.transform || r.transformOrigin) && (i.transformOrigin = r.transformOrigin ?? "50% 50%", delete r.transformOrigin), i.transform && (i.transformBox = (n == null ? void 0 : n.transformBox) ?? "fill-box", delete r.transformBox), o !== void 0 && (r.x = o), e !== void 0 && (r.y = e), m !== void 0 && (r.scale = m), s !== void 0 && B(r, s, d, l, !1);
20
- }
21
- export {
22
- g as buildSVGAttrs
23
- };
@@ -1,18 +0,0 @@
1
- import { px as t } from "../../../../../../motion-dom/dist/es/value/types/numbers/units.js";
2
- const c = {
3
- offset: "stroke-dashoffset",
4
- array: "stroke-dasharray"
5
- }, y = {
6
- offset: "strokeDashoffset",
7
- array: "strokeDasharray"
8
- };
9
- function m(s, r, o = 1, e = 0, f = !0) {
10
- s.pathLength = 1;
11
- const a = f ? c : y;
12
- s[a.offset] = t.transform(-e);
13
- const n = t.transform(r), h = t.transform(o);
14
- s[a.array] = `${n} ${h}`;
15
- }
16
- export {
17
- m as buildSVGPath
18
- };
@@ -1,15 +0,0 @@
1
- import { scrapeMotionValuesFromProps as i } from "../../html/utils/scrape-motion-values.js";
2
- import { isMotionValue as n } from "../../../../../../motion-dom/dist/es/value/utils/is-motion-value.js";
3
- import { transformPropOrder as m } from "../../../../../../motion-dom/dist/es/render/utils/keys-transform.js";
4
- function l(r, t, s) {
5
- const e = i(r, t, s);
6
- for (const o in r)
7
- if (n(r[o]) || n(t[o])) {
8
- const a = m.indexOf(o) !== -1 ? "attr" + o.charAt(0).toUpperCase() + o.substring(1) : o;
9
- e[a] = r[o];
10
- }
11
- return e;
12
- }
13
- export {
14
- l as scrapeMotionValuesFromProps
15
- };
@@ -1,13 +0,0 @@
1
- import { isBrowser as o } from "../is-browser.js";
2
- import { hasReducedMotionListener as n, prefersReducedMotion as t } from "./state.js";
3
- function c() {
4
- if (n.current = !0, !!o)
5
- if (window.matchMedia) {
6
- const e = window.matchMedia("(prefers-reduced-motion)"), r = () => t.current = e.matches;
7
- e.addEventListener("change", r), r();
8
- } else
9
- t.current = !1;
10
- }
11
- export {
12
- c as initPrefersReducedMotion
13
- };
@@ -1,7 +0,0 @@
1
- import { isMotionValue as i } from "../../../../../motion-dom/dist/es/value/utils/is-motion-value.js";
2
- function t(o) {
3
- return !!(i(o) && o.add);
4
- }
5
- export {
6
- t as isWillChangeMotionValue
7
- };
@@ -1,7 +0,0 @@
1
- import { isMotionValue as t } from "../../../../../motion-dom/dist/es/value/utils/is-motion-value.js";
2
- function e(o) {
3
- return t(o) ? o.get() : o;
4
- }
5
- export {
6
- e as resolveMotionValue
7
- };