@onereach/ui-components 4.8.0-beta.2860.0 → 4.8.0-beta.2864.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.
@@ -1647,7 +1647,27 @@ var script = defineComponent({
1647
1647
  enablePasteRules: true,
1648
1648
  extensions: [codemirrorNode, StarterKit.configure({
1649
1649
  heading: false,
1650
- codeBlock: false
1650
+ codeBlock: false,
1651
+ paragraph: false,
1652
+ bulletList: false,
1653
+ orderedList: false,
1654
+ blockquote: false
1655
+ }), Paragraph.configure({
1656
+ HTMLAttributes: {
1657
+ class: 'my-xs'
1658
+ }
1659
+ }), BulletList.configure({
1660
+ HTMLAttributes: {
1661
+ class: 'mx-lg my-xs list-disc'
1662
+ }
1663
+ }), OrderedList.configure({
1664
+ HTMLAttributes: {
1665
+ class: 'mx-lg my-xs list-decimal'
1666
+ }
1667
+ }), Blockquote.configure({
1668
+ HTMLAttributes: {
1669
+ class: 'my-sm mx-lg px-lg border-l-2 border-primary-opacity-0-16'
1670
+ }
1651
1671
  }), Heading.configure({
1652
1672
  levels: headingLevels
1653
1673
  }).extend({
@@ -1658,7 +1678,7 @@ var script = defineComponent({
1658
1678
  HTMLAttributes
1659
1679
  } = _ref3;
1660
1680
  return ['h' + node.attrs.level, mergeAttributes(HTMLAttributes, {
1661
- class: `typography-headline-${node.attrs.level}`
1681
+ class: `typography-headline-${node.attrs.level} my-xs`
1662
1682
  }), 0];
1663
1683
  }
1664
1684
  }), Underline, Link.configure({
@@ -1934,7 +1954,7 @@ var script = defineComponent({
1934
1954
  }
1935
1955
  });
1936
1956
 
1937
- var css_248z = ".tiptap-editor-v3 ol{margin-left:24px;margin-right:24px;list-style:decimal}.tiptap-editor-v3 .ProseMirror h1, .tiptap-editor-v3 .ProseMirror h2, .tiptap-editor-v3 .ProseMirror h3, .tiptap-editor-v3 .ProseMirror h4, .tiptap-editor-v3 .ProseMirror h5, .tiptap-editor-v3 .ProseMirror h6, .tiptap-editor-v3 .ProseMirror p{margin:4px}.tiptap-editor-v3 ul{margin-left:24px;margin-right:24px;list-style:disc outside none;list-style:initial}.tiptap-editor-v3 blockquote{margin-left:24px;margin-right:24px;margin-top:8px;margin-bottom:8px;padding-left:24px;padding-right:24px;border-left:4px solid rgba(0, 95, 177, 0.16)}.tiptap-editor-v3 .is-editor-empty::before{content:attr(data-placeholder);height:0;pointer-events:none;float:left}.tiptap-editor-v3 .cm-editor{border:none;border-radius:4px;}.tiptap-editor-v3 .cm-editor .cm-scroller{border-radius:4px}.tiptap-editor-v3 .cm-editor.cm-focused{outline:0}.tiptap-editor-v3 .cm-editor .cm-gutters{background-color:rgba(0, 95, 177, 0.12);border:none}.tiptap-editor-v3 .cm-editor .cm-gutters .cm-gutterElement{padding-left:11px;padding-right:11px}.tiptap-editor-v3 .cm-editor .cm-gutters .cm-gutterElement.cm-activeLineGutter{background-color:rgba(0, 95, 177, 0.16)}";
1957
+ var css_248z = ".tiptap-editor-v3 .is-editor-empty::before{content:attr(data-placeholder);height:0;pointer-events:none;float:left}.tiptap-editor-v3 .cm-editor{border:none;border-radius:4px;}.tiptap-editor-v3 .cm-editor .cm-scroller{border-radius:4px}.tiptap-editor-v3 .cm-editor.cm-focused{outline:0}.tiptap-editor-v3 .cm-editor .cm-gutters{background-color:rgba(0, 95, 177, 0.12);border:none}.tiptap-editor-v3 .cm-editor .cm-gutters .cm-gutterElement{padding-left:11px;padding-right:11px}.tiptap-editor-v3 .cm-editor .cm-gutters .cm-gutterElement.cm-activeLineGutter{background-color:rgba(0, 95, 177, 0.16)}";
1938
1958
  styleInject(css_248z);
1939
1959
 
1940
1960
  /* script */
@@ -2077,7 +2097,7 @@ var __vue_render__ = function () {
2077
2097
  "placement": "top-end"
2078
2098
  }
2079
2099
  }, [_c('div', {
2080
- staticClass: "flex p-sm gap-md"
2100
+ staticClass: "flex p-sm gap-md bg-on-primary"
2081
2101
  }, _vm._l(_vm.notVisibleTools, function (item) {
2082
2102
  return _c('or-icon-button', {
2083
2103
  key: item,
@@ -2101,6 +2121,7 @@ var __vue_render__ = function () {
2101
2121
  });
2102
2122
  }), 1)]) : _vm._e(), _vm._v(" "), _vm.toolbarButtonRef ? _c('or-menu', {
2103
2123
  ref: "menuRef",
2124
+ staticClass: "bg-on-primary",
2104
2125
  attrs: {
2105
2126
  "trigger": _vm.toolbarButtonRef[_vm.getIndexOfHeading].root,
2106
2127
  "placement": "bottom-start"