@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.
@@ -1720,7 +1720,7 @@ var script = defineComponent({
1720
1720
  return [...Toolbar, ...(isFocused.value ? ToolbarButtonFocused : ToolbarButton)];
1721
1721
  });
1722
1722
  const editorInputStyles = computed(() => {
1723
- return ['tiptap-editor', ...(props.fullHeight ? ['h-full'] : []), ...EditorInput];
1723
+ return ['tiptap-editor', ...(props.fullHeight ? ['h-full overflow-y-auto'] : []), ...EditorInput];
1724
1724
  });
1725
1725
  //Effects
1726
1726
  watch(proxyModelValue, value => {
@@ -1,5 +1,5 @@
1
- import { s as script } from '../../OrRichTextEditor.vue_vue_type_script_lang-2bb9d87f.js';
2
- export { s as default } from '../../OrRichTextEditor.vue_vue_type_script_lang-2bb9d87f.js';
1
+ import { s as script } from '../../OrRichTextEditor.vue_vue_type_script_lang-fec87993.js';
2
+ export { s as default } from '../../OrRichTextEditor.vue_vue_type_script_lang-fec87993.js';
3
3
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode, Fragment, renderList, createBlock, renderSlot, createCommentVNode } from 'vue';
4
4
  import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
5
5
  import 'vue-demi';
@@ -84,17 +84,14 @@ import '../../OrButton.vue_vue_type_script_lang-5650b394.js';
84
84
  import '../OrButtonV3/props.js';
85
85
  import '../OrButtonV3/styles.js';
86
86
 
87
- const _hoisted_1 = {
88
- class: "p-sm"
89
- };
90
- const _hoisted_2 = /*#__PURE__*/createElementVNode("p", {
87
+ const _hoisted_1 = /*#__PURE__*/createElementVNode("p", {
91
88
  class: "text-headline-2"
92
89
  }, " Add Link ", -1 /* HOISTED */);
93
- const _hoisted_3 = {
90
+ const _hoisted_2 = {
94
91
  class: "flex ml-auto gap-md"
95
92
  };
96
- const _hoisted_4 = /*#__PURE__*/createElementVNode("p", null, "Cancel", -1 /* HOISTED */);
97
- const _hoisted_5 = /*#__PURE__*/createElementVNode("p", null, "Save", -1 /* HOISTED */);
93
+ const _hoisted_3 = /*#__PURE__*/createElementVNode("p", null, "Cancel", -1 /* HOISTED */);
94
+ const _hoisted_4 = /*#__PURE__*/createElementVNode("p", null, "Save", -1 /* HOISTED */);
98
95
 
99
96
  function render(_ctx, _cache, $props, $setup, $data, $options) {
100
97
  const _component_or_label = resolveComponent("or-label");
@@ -157,10 +154,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
157
154
  onClick: $event => _ctx.handleToolbarClick(item)
158
155
  }, null, 8 /* PROPS */, ["tooltip", "selected", "disabled", "icon", "onClick"]))]);
159
156
  }), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */);
160
- }), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */), createElementVNode("div", _hoisted_1, [createElementVNode("div", {
157
+ }), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */), createElementVNode("div", {
158
+ class: normalizeClass(['p-sm', {
159
+ 'h-[87%]': _ctx.fullHeight
160
+ }])
161
+ }, [createElementVNode("div", {
161
162
  ref: "editorRef",
162
163
  class: normalizeClass(_ctx.editorInputStyles)
163
- }, null, 2 /* CLASS */), renderSlot(_ctx.$slots, "files")])], 2 /* CLASS */), _ctx.toolbarButtonRef ? (openBlock(), createBlock(_component_or_menu, {
164
+ }, null, 2 /* CLASS */), renderSlot(_ctx.$slots, "files")], 2 /* CLASS */)], 2 /* CLASS */), _ctx.toolbarButtonRef ? (openBlock(), createBlock(_component_or_menu, {
164
165
  key: 0,
165
166
  ref: "menuRef",
166
167
  trigger: _ctx.toolbarButtonRef[_ctx.getIndexOfHeading].root,
@@ -187,17 +188,17 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
187
188
  "is-open": _ctx.isOpenLinkModal,
188
189
  size: "s"
189
190
  }, {
190
- header: withCtx(() => [_hoisted_2]),
191
- footer: withCtx(() => [createElementVNode("div", _hoisted_3, [createVNode(_component_or_button, {
191
+ header: withCtx(() => [_hoisted_1]),
192
+ footer: withCtx(() => [createElementVNode("div", _hoisted_2, [createVNode(_component_or_button, {
192
193
  variant: "outlined",
193
194
  onClick: _ctx.discardLink
194
195
  }, {
195
- default: withCtx(() => [_hoisted_4]),
196
+ default: withCtx(() => [_hoisted_3]),
196
197
  _: 1 /* STABLE */
197
198
  }, 8 /* PROPS */, ["onClick"]), createVNode(_component_or_button, {
198
199
  onClick: _ctx.attachLink
199
200
  }, {
200
- default: withCtx(() => [_hoisted_5]),
201
+ default: withCtx(() => [_hoisted_4]),
201
202
  _: 1 /* STABLE */
202
203
  }, 8 /* PROPS */, ["onClick"])])]),
203
204
  default: withCtx(() => [createElementVNode("div", null, [createVNode(_component_or_label, null, {
@@ -1,4 +1,4 @@
1
- export { s as OrRichTextEditorV3 } from '../../OrRichTextEditor.vue_vue_type_script_lang-2bb9d87f.js';
1
+ export { s as OrRichTextEditorV3 } from '../../OrRichTextEditor.vue_vue_type_script_lang-fec87993.js';
2
2
  import 'vue-demi';
3
3
  import '../../useFocusTrap-9567b3c8.js';
4
4
  import '@vueuse/core';
@@ -151,7 +151,7 @@ export { default as useQueueV3 } from './OrToastV3/composable/useQueue.js';
151
151
  export { s as OrTooltip } from '../OrTooltip.vue_vue_type_script_lang-b8594f7e.js';
152
152
  export { s as OrTooltipContent } from '../OrTooltipContent.vue_vue_type_script_lang-969c20ed.js';
153
153
  export { s as OrTooltipV3 } from '../OrTooltip.vue_vue_type_script_lang-b35199da.js';
154
- export { s as OrRichTextEditorV3 } from '../OrRichTextEditor.vue_vue_type_script_lang-2bb9d87f.js';
154
+ export { s as OrRichTextEditorV3 } from '../OrRichTextEditor.vue_vue_type_script_lang-fec87993.js';
155
155
  import 'vue-demi';
156
156
  import 'lodash';
157
157
  import './OrIcon/OrIcon.js';