@onereach/ui-components 2.68.0-beta.2062.0 → 2.68.0-beta.2063.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-eae5df51.js} +8 -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-7df5d895.js} +7 -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-8db8c12d.js} +8 -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-2ba236c0.js} +7 -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 +7 -0
@@ -36418,6 +36418,10 @@ var script = defineComponent({
36418
36418
  markdownFormat: {
36419
36419
  type: Boolean,
36420
36420
  default: true
36421
+ },
36422
+ fullHeight: {
36423
+ type: Boolean,
36424
+ default: false
36421
36425
  }
36422
36426
  },
36423
36427
  emits: ['update:modelValue', 'input'],
@@ -36648,10 +36652,10 @@ var script = defineComponent({
36648
36652
  // Styles
36649
36653
  const classAttribute = useClassAttribute();
36650
36654
  const rootStyles = computed(() => {
36651
- return ['or-rich-text-editor', classAttribute.value];
36655
+ return ['or-rich-text-editor', classAttribute.value, ...(props.fullHeight ? ['h-full'] : [])];
36652
36656
  });
36653
36657
  const containerStyles = computed(() => {
36654
- return [...EditorContainer];
36658
+ return [...EditorContainer, ...(props.fullHeight ? ['h-full'] : [])];
36655
36659
  });
36656
36660
  const toolbarContainerStyles = computed(() => {
36657
36661
  return [...ToolbarContainer];
@@ -36660,7 +36664,7 @@ var script = defineComponent({
36660
36664
  return [...Toolbar];
36661
36665
  });
36662
36666
  const editorInputStyles = computed(() => {
36663
- return ['tiptap-editor', ...EditorInput];
36667
+ return ['tiptap-editor', ...(props.fullHeight ? ['h-full'] : []), ...EditorInput];
36664
36668
  });
36665
36669
  const toolbarButtonStyles = item => {
36666
36670
  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-7df5d895.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-7df5d895.js';
2
2
  import 'vue';
3
3
  import '../../useFocusTrap-d21726e3.js';
4
4
  import '@vueuse/core';