@onereach/ui-components 2.68.0-beta.2062.0 → 2.68.0-beta.2064.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.
Files changed (23) hide show
  1. package/dist/bundled/v2/{OrRichTextEditor-1b29b6a2.js → OrRichTextEditor-467ac046.js} +12 -4
  2. package/dist/bundled/v2/components/index.js +1 -1
  3. package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +11 -0
  4. package/dist/bundled/v2/components/or-rich-text-editor-v3/index.js +1 -1
  5. package/dist/bundled/v2/index.js +2 -2
  6. package/dist/bundled/v3/{OrRichTextEditor.vue_vue_type_script_lang-4a06e9f2.js → OrRichTextEditor.vue_vue_type_script_lang-ee577206.js} +11 -3
  7. package/dist/bundled/v3/components/index.js +1 -1
  8. package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +11 -0
  9. package/dist/bundled/v3/components/or-rich-text-editor-v3/index.js +1 -1
  10. package/dist/bundled/v3/index.js +3 -3
  11. package/dist/esm/v2/{OrRichTextEditor-9567f61e.js → OrRichTextEditor-8469dac4.js} +12 -4
  12. package/dist/esm/v2/components/index.js +1 -1
  13. package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +11 -0
  14. package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +1 -1
  15. package/dist/esm/v2/index.js +1 -1
  16. package/dist/esm/v3/{OrRichTextEditor-e84dbfe6.js → OrRichTextEditor-7528eb87.js} +11 -3
  17. package/dist/esm/v3/components/index.js +1 -1
  18. package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +11 -0
  19. package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +1 -1
  20. package/dist/esm/v3/index.js +1 -1
  21. package/package.json +1 -1
  22. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +4 -1
  23. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +12 -0
@@ -36389,6 +36389,10 @@ var script = defineComponent({
36389
36389
  OrMenu: script$4
36390
36390
  },
36391
36391
  inheritAttrs: false,
36392
+ model: {
36393
+ prop: 'modelValue',
36394
+ event: 'update:modelValue'
36395
+ },
36392
36396
  props: {
36393
36397
  modelValue: {
36394
36398
  type: String,
@@ -36418,6 +36422,10 @@ var script = defineComponent({
36418
36422
  markdownFormat: {
36419
36423
  type: Boolean,
36420
36424
  default: true
36425
+ },
36426
+ fullHeight: {
36427
+ type: Boolean,
36428
+ default: false
36421
36429
  }
36422
36430
  },
36423
36431
  emits: ['update:modelValue', 'input'],
@@ -36648,10 +36656,10 @@ var script = defineComponent({
36648
36656
  // Styles
36649
36657
  const classAttribute = useClassAttribute();
36650
36658
  const rootStyles = computed(() => {
36651
- return ['or-rich-text-editor', classAttribute.value];
36659
+ return ['or-rich-text-editor', classAttribute.value, ...(props.fullHeight ? ['h-full'] : [])];
36652
36660
  });
36653
36661
  const containerStyles = computed(() => {
36654
- return [...EditorContainer];
36662
+ return [...EditorContainer, ...(props.fullHeight ? ['h-full'] : [])];
36655
36663
  });
36656
36664
  const toolbarContainerStyles = computed(() => {
36657
36665
  return [...ToolbarContainer];
@@ -36660,7 +36668,7 @@ var script = defineComponent({
36660
36668
  return [...Toolbar];
36661
36669
  });
36662
36670
  const editorInputStyles = computed(() => {
36663
- return ['tiptap-editor', ...EditorInput];
36671
+ return ['tiptap-editor', ...(props.fullHeight ? ['h-full'] : []), ...EditorInput];
36664
36672
  });
36665
36673
  const toolbarButtonStyles = item => {
36666
36674
  return [
@@ -95,7 +95,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-4d43
95
95
  export { s as OrTooltip } from '../OrTooltip.vue_vue_type_script_lang-fa52d391.js';
96
96
  export { s as OrTooltipContent } from '../OrTooltipContent-b0dcb862.js';
97
97
  export { s as OrTooltipV3 } from '../OrTooltip.vue_vue_type_script_lang-a4168546.js';
98
- export { s as OrRichTextEditorV3 } from '../OrRichTextEditor.vue_vue_type_script_lang-4a06e9f2.js';
98
+ export { s as OrRichTextEditorV3 } from '../OrRichTextEditor.vue_vue_type_script_lang-ee577206.js';
99
99
  import 'vue';
100
100
  import 'lodash';
101
101
  import '../OrIcon-1cae8a64.js';
@@ -64,6 +64,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
64
64
  type: BooleanConstructor;
65
65
  default: boolean;
66
66
  };
67
+ fullHeight: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
67
71
  }, import("@vue/composition-api").ExtractPropTypes<{
68
72
  modelValue: {
69
73
  type: StringConstructor;
@@ -94,6 +98,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
94
98
  type: BooleanConstructor;
95
99
  default: boolean;
96
100
  };
101
+ fullHeight: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
97
105
  }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
98
106
  modelValue: string;
99
107
  value: string;
@@ -102,6 +110,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
102
110
  placeholder: string;
103
111
  autofocus: boolean;
104
112
  markdownFormat: boolean;
113
+ fullHeight: boolean;
105
114
  } & {} & {
106
115
  [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
107
116
  }, import("@vue/composition-api").ShallowUnwrapRef<{
@@ -146,6 +155,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
146
155
  placeholder: string;
147
156
  autofocus: boolean;
148
157
  markdownFormat: boolean;
158
+ fullHeight: boolean;
149
159
  } & {} & {
150
160
  [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
151
161
  }, {
@@ -156,5 +166,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
156
166
  placeholder: string;
157
167
  autofocus: boolean;
158
168
  markdownFormat: boolean;
169
+ fullHeight: boolean;
159
170
  }, true>);
160
171
  export default _default;
@@ -1,4 +1,4 @@
1
- export { s as OrRichTextEditorV3 } from '../../OrRichTextEditor.vue_vue_type_script_lang-4a06e9f2.js';
1
+ export { s as OrRichTextEditorV3 } from '../../OrRichTextEditor.vue_vue_type_script_lang-ee577206.js';
2
2
  import 'vue';
3
3
  import '../../useFocusTrap-d21726e3.js';
4
4
  import '@vueuse/core';