@onereach/ui-components 4.2.0-beta.2545.0 → 4.2.0-beta.2546.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.
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +4 -2
- package/dist/bundled/v2/index.js +1 -1
- package/dist/bundled/v3/{OrRichTextEditor.vue_vue_type_script_lang-2bb9d87f.js → OrRichTextEditor.vue_vue_type_script_lang-fec87993.js} +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +16 -15
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +1 -1
- package/dist/bundled/v3/components/index.js +1 -1
- package/dist/bundled/v3/index.js +2 -2
- package/dist/esm/v2/{OrRichTextEditor-dfddef2b.js → OrRichTextEditor-1807042a.js} +4 -2
- package/dist/esm/v2/components/index.js +1 -1
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +1 -1
- package/dist/esm/v2/index.js +1 -1
- package/dist/esm/v3/{OrRichTextEditor-f4ce18ef.js → OrRichTextEditor-da724bf1.js} +15 -14
- package/dist/esm/v3/components/index.js +1 -1
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +1 -1
- package/dist/esm/v3/index.js +1 -1
- package/package.json +2 -2
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +1 -2
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +2 -2
|
@@ -499,7 +499,7 @@ var script = defineComponent({
|
|
|
499
499
|
return [...Toolbar, ...(isFocused.value ? ToolbarButtonFocused : ToolbarButton)];
|
|
500
500
|
});
|
|
501
501
|
const editorInputStyles = computed(() => {
|
|
502
|
-
return ['tiptap-editor', ...(props.fullHeight ? ['h-full'] : []), ...EditorInput];
|
|
502
|
+
return ['tiptap-editor', ...(props.fullHeight ? ['h-full overflow-y-auto'] : []), ...EditorInput];
|
|
503
503
|
});
|
|
504
504
|
//Effects
|
|
505
505
|
watch(proxyModelValue, value => {
|
|
@@ -615,7 +615,9 @@ var __vue_render__ = function () {
|
|
|
615
615
|
})], 1);
|
|
616
616
|
}), 0);
|
|
617
617
|
}), 0), _vm._v(" "), _c('div', {
|
|
618
|
-
|
|
618
|
+
class: ['p-sm', {
|
|
619
|
+
'h-[87%]': _vm.fullHeight
|
|
620
|
+
}]
|
|
619
621
|
}, [_c('div', {
|
|
620
622
|
ref: "editorRef",
|
|
621
623
|
class: _vm.editorInputStyles
|
|
@@ -107,7 +107,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-0665
|
|
|
107
107
|
export { _ as OrTooltip } from '../OrTooltip-cfb56e8f.js';
|
|
108
108
|
export { _ as OrTooltipContent } from '../OrTooltipContent-c9540548.js';
|
|
109
109
|
export { _ as OrTooltipV3 } from '../OrTooltip-82c59279.js';
|
|
110
|
-
export { _ as OrRichTextEditorV3 } from '../OrRichTextEditor-
|
|
110
|
+
export { _ as OrRichTextEditorV3 } from '../OrRichTextEditor-1807042a.js';
|
|
111
111
|
import 'vue-demi';
|
|
112
112
|
import 'lodash';
|
|
113
113
|
import '../style-inject.es-4c6f2515.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -107,7 +107,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-06654
|
|
|
107
107
|
export { _ as OrTooltip } from './OrTooltip-cfb56e8f.js';
|
|
108
108
|
export { _ as OrTooltipContent } from './OrTooltipContent-c9540548.js';
|
|
109
109
|
export { _ as OrTooltipV3 } from './OrTooltip-82c59279.js';
|
|
110
|
-
export { _ as OrRichTextEditorV3 } from './OrRichTextEditor-
|
|
110
|
+
export { _ as OrRichTextEditorV3 } from './OrRichTextEditor-1807042a.js';
|
|
111
111
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
112
112
|
export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-859439f0.js';
|
|
113
113
|
export { u as useElevation } from './useElevation-df91fa50.js';
|
|
@@ -499,7 +499,7 @@ var script = defineComponent({
|
|
|
499
499
|
return [...Toolbar, ...(isFocused.value ? ToolbarButtonFocused : ToolbarButton)];
|
|
500
500
|
});
|
|
501
501
|
const editorInputStyles = computed(() => {
|
|
502
|
-
return ['tiptap-editor', ...(props.fullHeight ? ['h-full'] : []), ...EditorInput];
|
|
502
|
+
return ['tiptap-editor', ...(props.fullHeight ? ['h-full overflow-y-auto'] : []), ...EditorInput];
|
|
503
503
|
});
|
|
504
504
|
//Effects
|
|
505
505
|
watch(proxyModelValue, value => {
|
|
@@ -541,17 +541,14 @@ var script = defineComponent({
|
|
|
541
541
|
}
|
|
542
542
|
});
|
|
543
543
|
|
|
544
|
-
const _hoisted_1 = {
|
|
545
|
-
class: "p-sm"
|
|
546
|
-
};
|
|
547
|
-
const _hoisted_2 = /*#__PURE__*/createElementVNode("p", {
|
|
544
|
+
const _hoisted_1 = /*#__PURE__*/createElementVNode("p", {
|
|
548
545
|
class: "text-headline-2"
|
|
549
546
|
}, " Add Link ", -1 /* HOISTED */);
|
|
550
|
-
const
|
|
547
|
+
const _hoisted_2 = {
|
|
551
548
|
class: "flex ml-auto gap-md"
|
|
552
549
|
};
|
|
553
|
-
const
|
|
554
|
-
const
|
|
550
|
+
const _hoisted_3 = /*#__PURE__*/createElementVNode("p", null, "Cancel", -1 /* HOISTED */);
|
|
551
|
+
const _hoisted_4 = /*#__PURE__*/createElementVNode("p", null, "Save", -1 /* HOISTED */);
|
|
555
552
|
|
|
556
553
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
557
554
|
const _component_or_label = resolveComponent("or-label");
|
|
@@ -614,10 +611,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
614
611
|
onClick: $event => _ctx.handleToolbarClick(item)
|
|
615
612
|
}, null, 8 /* PROPS */, ["tooltip", "selected", "disabled", "icon", "onClick"]))]);
|
|
616
613
|
}), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */);
|
|
617
|
-
}), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */), createElementVNode("div",
|
|
614
|
+
}), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */), createElementVNode("div", {
|
|
615
|
+
class: normalizeClass(['p-sm', {
|
|
616
|
+
'h-[87%]': _ctx.fullHeight
|
|
617
|
+
}])
|
|
618
|
+
}, [createElementVNode("div", {
|
|
618
619
|
ref: "editorRef",
|
|
619
620
|
class: normalizeClass(_ctx.editorInputStyles)
|
|
620
|
-
}, null, 2 /* CLASS */), renderSlot(_ctx.$slots, "files")])], 2 /* CLASS */), _ctx.toolbarButtonRef ? (openBlock(), createBlock(_component_or_menu, {
|
|
621
|
+
}, null, 2 /* CLASS */), renderSlot(_ctx.$slots, "files")], 2 /* CLASS */)], 2 /* CLASS */), _ctx.toolbarButtonRef ? (openBlock(), createBlock(_component_or_menu, {
|
|
621
622
|
key: 0,
|
|
622
623
|
ref: "menuRef",
|
|
623
624
|
trigger: _ctx.toolbarButtonRef[_ctx.getIndexOfHeading].root,
|
|
@@ -644,17 +645,17 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
644
645
|
"is-open": _ctx.isOpenLinkModal,
|
|
645
646
|
size: "s"
|
|
646
647
|
}, {
|
|
647
|
-
header: withCtx(() => [
|
|
648
|
-
footer: withCtx(() => [createElementVNode("div",
|
|
648
|
+
header: withCtx(() => [_hoisted_1]),
|
|
649
|
+
footer: withCtx(() => [createElementVNode("div", _hoisted_2, [createVNode(_component_or_button, {
|
|
649
650
|
variant: "outlined",
|
|
650
651
|
onClick: _ctx.discardLink
|
|
651
652
|
}, {
|
|
652
|
-
default: withCtx(() => [
|
|
653
|
+
default: withCtx(() => [_hoisted_3]),
|
|
653
654
|
_: 1 /* STABLE */
|
|
654
655
|
}, 8 /* PROPS */, ["onClick"]), createVNode(_component_or_button, {
|
|
655
656
|
onClick: _ctx.attachLink
|
|
656
657
|
}, {
|
|
657
|
-
default: withCtx(() => [
|
|
658
|
+
default: withCtx(() => [_hoisted_4]),
|
|
658
659
|
_: 1 /* STABLE */
|
|
659
660
|
}, 8 /* PROPS */, ["onClick"])])]),
|
|
660
661
|
default: withCtx(() => [createElementVNode("div", null, [createVNode(_component_or_label, null, {
|
|
@@ -105,7 +105,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-0665
|
|
|
105
105
|
export { s as OrTooltip } from '../OrTooltip-be7209e5.js';
|
|
106
106
|
export { s as OrTooltipContent } from '../OrTooltipContent-68c34911.js';
|
|
107
107
|
export { s as OrTooltipV3 } from '../OrTooltip-56ed42c7.js';
|
|
108
|
-
export { s as OrRichTextEditorV3 } from '../OrRichTextEditor-
|
|
108
|
+
export { s as OrRichTextEditorV3 } from '../OrRichTextEditor-da724bf1.js';
|
|
109
109
|
import 'vue-demi';
|
|
110
110
|
import 'lodash';
|
|
111
111
|
import 'vue';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -105,7 +105,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-06654
|
|
|
105
105
|
export { s as OrTooltip } from './OrTooltip-be7209e5.js';
|
|
106
106
|
export { s as OrTooltipContent } from './OrTooltipContent-68c34911.js';
|
|
107
107
|
export { s as OrTooltipV3 } from './OrTooltip-56ed42c7.js';
|
|
108
|
-
export { s as OrRichTextEditorV3 } from './OrRichTextEditor-
|
|
108
|
+
export { s as OrRichTextEditorV3 } from './OrRichTextEditor-da724bf1.js';
|
|
109
109
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
110
110
|
export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-859439f0.js';
|
|
111
111
|
export { u as useElevation } from './useElevation-df91fa50.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "4.2.0-beta.
|
|
3
|
+
"version": "4.2.0-beta.2546.0",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@codemirror/lang-json": "6.0.0",
|
|
39
39
|
"@codemirror/lang-markdown": "6.0.1",
|
|
40
40
|
"@floating-ui/dom": "0.3.1",
|
|
41
|
-
"@onereach/styles": "^2.37.4-beta.
|
|
41
|
+
"@onereach/styles": "^2.37.4-beta.2546.0",
|
|
42
42
|
"@splidejs/splide": "4.0.6",
|
|
43
43
|
"@tiptap/core": "2.0.0-beta.209",
|
|
44
44
|
"@tiptap/extension-blockquote": "2.0.0-beta.209",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
</div>
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|
|
45
|
-
<div class="p-sm">
|
|
45
|
+
<div :class="['p-sm', { 'h-[87%]': fullHeight }]">
|
|
46
46
|
<div
|
|
47
47
|
ref="editorRef"
|
|
48
48
|
:class="editorInputStyles"
|
|
@@ -515,7 +515,7 @@ export default defineComponent({
|
|
|
515
515
|
const editorInputStyles = computed(() => {
|
|
516
516
|
return [
|
|
517
517
|
'tiptap-editor',
|
|
518
|
-
...props.fullHeight ? ['h-full'] : [],
|
|
518
|
+
...props.fullHeight ? ['h-full overflow-y-auto'] : [],
|
|
519
519
|
...EditorInput,
|
|
520
520
|
];
|
|
521
521
|
});
|