@vkzstudio/muza-ui 1.0.9 → 1.0.11

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 (148) hide show
  1. package/dist/components/Button/Button.d.ts +2 -1
  2. package/dist/components/Button/Button.d.ts.map +1 -1
  3. package/dist/components/Button/Button.js +58 -55
  4. package/dist/components/Button/Button.stories.d.ts +2 -1
  5. package/dist/components/Button/Button.stories.d.ts.map +1 -1
  6. package/dist/components/Button/buttonVariants.d.ts +1 -1
  7. package/dist/components/Button/buttonVariants.d.ts.map +1 -1
  8. package/dist/components/Button/buttonVariants.js +6 -2
  9. package/dist/components/DataTable/DataTable.d.ts.map +1 -1
  10. package/dist/components/DataTable/DataTable.js +5 -4
  11. package/dist/components/DataTable/DataTable.stories.d.ts.map +1 -1
  12. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
  13. package/dist/components/Icons/CustomIcons.d.ts +1 -0
  14. package/dist/components/Icons/CustomIcons.d.ts.map +1 -1
  15. package/dist/components/Icons/CustomIcons.js +38 -27
  16. package/dist/components/Reorderable/Reorderable.d.ts +2 -0
  17. package/dist/components/Reorderable/Reorderable.d.ts.map +1 -1
  18. package/dist/components/Reorderable/Reorderable.js +80 -78
  19. package/dist/components/ReorderableTable/ReorderableTable.d.ts.map +1 -1
  20. package/dist/components/ReorderableTable/ReorderableTable.stories.d.ts.map +1 -1
  21. package/dist/components/TextEditor/EditorToolbar.d.ts +18 -0
  22. package/dist/components/TextEditor/EditorToolbar.d.ts.map +1 -0
  23. package/dist/components/TextEditor/EditorToolbar.js +175 -0
  24. package/dist/components/TextEditor/LinkBubbleMenu.d.ts +52 -0
  25. package/dist/components/TextEditor/LinkBubbleMenu.d.ts.map +1 -0
  26. package/dist/components/TextEditor/LinkBubbleMenu.js +97 -0
  27. package/dist/components/TextEditor/TextEditor.d.ts +134 -0
  28. package/dist/components/TextEditor/TextEditor.d.ts.map +1 -0
  29. package/dist/components/TextEditor/TextEditor.js +240 -0
  30. package/dist/components/TextEditor/TextEditor.stories.d.ts +51 -0
  31. package/dist/components/TextEditor/TextEditor.stories.d.ts.map +1 -0
  32. package/dist/components/TextEditor/ToolbarButton.d.ts +38 -0
  33. package/dist/components/TextEditor/ToolbarButton.d.ts.map +1 -0
  34. package/dist/components/TextEditor/ToolbarButton.js +68 -0
  35. package/dist/components/TextEditor/ToolbarSeparator.d.ts +22 -0
  36. package/dist/components/TextEditor/ToolbarSeparator.d.ts.map +1 -0
  37. package/dist/components/TextEditor/ToolbarSeparator.js +23 -0
  38. package/dist/components/TextEditor/index.d.ts +4 -0
  39. package/dist/components/TextEditor/index.d.ts.map +1 -0
  40. package/dist/components/TextEditor/useLinkEditor.d.ts +37 -0
  41. package/dist/components/TextEditor/useLinkEditor.d.ts.map +1 -0
  42. package/dist/components/TextEditor/useLinkEditor.js +32 -0
  43. package/dist/components/index.d.ts +1 -0
  44. package/dist/components/index.d.ts.map +1 -1
  45. package/dist/index.js +140 -132
  46. package/dist/muza-ui.css +1 -1
  47. package/dist/node_modules/@popperjs/core/lib/createPopper.js +122 -0
  48. package/dist/node_modules/@popperjs/core/lib/dom-utils/contains.js +18 -0
  49. package/dist/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js +23 -0
  50. package/dist/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js +37 -0
  51. package/dist/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js +32 -0
  52. package/dist/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js +7 -0
  53. package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js +10 -0
  54. package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js +17 -0
  55. package/dist/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js +9 -0
  56. package/dist/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js +13 -0
  57. package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js +6 -0
  58. package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js +10 -0
  59. package/dist/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js +35 -0
  60. package/dist/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js +18 -0
  61. package/dist/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js +10 -0
  62. package/dist/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js +21 -0
  63. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindow.js +12 -0
  64. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js +11 -0
  65. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js +9 -0
  66. package/dist/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js +20 -0
  67. package/dist/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js +7 -0
  68. package/dist/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js +8 -0
  69. package/dist/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js +7 -0
  70. package/dist/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js +16 -0
  71. package/dist/node_modules/@popperjs/core/lib/enums.js +31 -0
  72. package/dist/node_modules/@popperjs/core/lib/modifiers/applyStyles.js +47 -0
  73. package/dist/node_modules/@popperjs/core/lib/modifiers/arrow.js +37 -0
  74. package/dist/node_modules/@popperjs/core/lib/modifiers/computeStyles.js +99 -0
  75. package/dist/node_modules/@popperjs/core/lib/modifiers/eventListeners.js +26 -0
  76. package/dist/node_modules/@popperjs/core/lib/modifiers/flip.js +74 -0
  77. package/dist/node_modules/@popperjs/core/lib/modifiers/hide.js +44 -0
  78. package/dist/node_modules/@popperjs/core/lib/modifiers/offset.js +31 -0
  79. package/dist/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +19 -0
  80. package/dist/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js +54 -0
  81. package/dist/node_modules/@popperjs/core/lib/popper.js +27 -0
  82. package/dist/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js +27 -0
  83. package/dist/node_modules/@popperjs/core/lib/utils/computeOffsets.js +54 -0
  84. package/dist/node_modules/@popperjs/core/lib/utils/debounce.js +13 -0
  85. package/dist/node_modules/@popperjs/core/lib/utils/detectOverflow.js +33 -0
  86. package/dist/node_modules/@popperjs/core/lib/utils/expandToHashMap.js +8 -0
  87. package/dist/node_modules/@popperjs/core/lib/utils/getAltAxis.js +6 -0
  88. package/dist/node_modules/@popperjs/core/lib/utils/getBasePlacement.js +6 -0
  89. package/dist/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js +11 -0
  90. package/dist/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js +6 -0
  91. package/dist/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js +14 -0
  92. package/dist/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js +12 -0
  93. package/dist/node_modules/@popperjs/core/lib/utils/getVariation.js +6 -0
  94. package/dist/node_modules/@popperjs/core/lib/utils/math.js +6 -0
  95. package/dist/node_modules/@popperjs/core/lib/utils/mergeByName.js +15 -0
  96. package/dist/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js +7 -0
  97. package/dist/node_modules/@popperjs/core/lib/utils/orderModifiers.js +31 -0
  98. package/dist/node_modules/@popperjs/core/lib/utils/rectToClientRect.js +11 -0
  99. package/dist/node_modules/@popperjs/core/lib/utils/userAgent.js +9 -0
  100. package/dist/node_modules/@popperjs/core/lib/utils/within.js +12 -0
  101. package/dist/node_modules/@tiptap/core/dist/index.js +2857 -0
  102. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +45 -0
  103. package/dist/node_modules/@tiptap/extension-bold/dist/index.js +76 -0
  104. package/dist/node_modules/@tiptap/extension-bubble-menu/dist/index.js +129 -0
  105. package/dist/node_modules/@tiptap/extension-bullet-list/dist/index.js +55 -0
  106. package/dist/node_modules/@tiptap/extension-code/dist/index.js +54 -0
  107. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +136 -0
  108. package/dist/node_modules/@tiptap/extension-document/dist/index.js +10 -0
  109. package/dist/node_modules/@tiptap/extension-dropcursor/dist/index.js +21 -0
  110. package/dist/node_modules/@tiptap/extension-gapcursor/dist/index.js +25 -0
  111. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +56 -0
  112. package/dist/node_modules/@tiptap/extension-heading/dist/index.js +55 -0
  113. package/dist/node_modules/@tiptap/extension-history/dist/index.js +36 -0
  114. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +59 -0
  115. package/dist/node_modules/@tiptap/extension-italic/dist/index.js +75 -0
  116. package/dist/node_modules/@tiptap/extension-link/dist/index.js +272 -0
  117. package/dist/node_modules/@tiptap/extension-list-item/dist/index.js +34 -0
  118. package/dist/node_modules/@tiptap/extension-ordered-list/dist/index.js +73 -0
  119. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +34 -0
  120. package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +53 -0
  121. package/dist/node_modules/@tiptap/extension-strike/dist/index.js +64 -0
  122. package/dist/node_modules/@tiptap/extension-text/dist/index.js +9 -0
  123. package/dist/node_modules/@tiptap/react/dist/index.js +709 -0
  124. package/dist/node_modules/@tiptap/starter-kit/dist/index.js +30 -0
  125. package/dist/node_modules/linkifyjs/dist/linkify.js +707 -0
  126. package/dist/node_modules/orderedmap/dist/index.js +103 -0
  127. package/dist/node_modules/prosemirror-commands/dist/index.js +388 -0
  128. package/dist/node_modules/prosemirror-dropcursor/dist/index.js +86 -0
  129. package/dist/node_modules/prosemirror-gapcursor/dist/index.js +204 -0
  130. package/dist/node_modules/prosemirror-history/dist/index.js +248 -0
  131. package/dist/node_modules/prosemirror-keymap/dist/index.js +62 -0
  132. package/dist/node_modules/prosemirror-model/dist/index.js +2733 -0
  133. package/dist/node_modules/prosemirror-schema-list/dist/index.js +88 -0
  134. package/dist/node_modules/prosemirror-state/dist/index.js +822 -0
  135. package/dist/node_modules/prosemirror-transform/dist/index.js +1520 -0
  136. package/dist/node_modules/prosemirror-view/dist/index.js +3794 -0
  137. package/dist/node_modules/rope-sequence/dist/index.js +100 -0
  138. package/dist/node_modules/tippy.js/dist/tippy.esm.js +813 -0
  139. package/dist/node_modules/w3c-keyname/index.js +93 -0
  140. package/dist/translations/locales/cs.d.ts.map +1 -1
  141. package/dist/translations/locales/cs.js +18 -0
  142. package/dist/translations/locales/en.d.ts.map +1 -1
  143. package/dist/translations/locales/en.js +18 -0
  144. package/dist/translations/locales/sk.d.ts.map +1 -1
  145. package/dist/translations/locales/sk.js +18 -0
  146. package/dist/translations/types.d.ts +22 -0
  147. package/dist/translations/types.d.ts.map +1 -1
  148. package/package.json +17 -1
@@ -0,0 +1,30 @@
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
+ };