@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
@@ -36417,6 +36417,10 @@ var script = defineComponent({
36417
36417
  markdownFormat: {
36418
36418
  type: Boolean,
36419
36419
  default: true
36420
+ },
36421
+ fullHeight: {
36422
+ type: Boolean,
36423
+ default: false
36420
36424
  }
36421
36425
  },
36422
36426
  emits: ['update:modelValue', 'input'],
@@ -36647,10 +36651,10 @@ var script = defineComponent({
36647
36651
  // Styles
36648
36652
  const classAttribute = useClassAttribute();
36649
36653
  const rootStyles = computed(() => {
36650
- return ['or-rich-text-editor', classAttribute.value];
36654
+ return ['or-rich-text-editor', classAttribute.value, ...(props.fullHeight ? ['h-full'] : [])];
36651
36655
  });
36652
36656
  const containerStyles = computed(() => {
36653
- return [...EditorContainer];
36657
+ return [...EditorContainer, ...(props.fullHeight ? ['h-full'] : [])];
36654
36658
  });
36655
36659
  const toolbarContainerStyles = computed(() => {
36656
36660
  return [...ToolbarContainer];
@@ -36659,7 +36663,7 @@ var script = defineComponent({
36659
36663
  return [...Toolbar];
36660
36664
  });
36661
36665
  const editorInputStyles = computed(() => {
36662
- return ['tiptap-editor', ...EditorInput];
36666
+ return ['tiptap-editor', ...(props.fullHeight ? ['h-full'] : []), ...EditorInput];
36663
36667
  });
36664
36668
  const toolbarButtonStyles = item => {
36665
36669
  return [
@@ -36834,7 +36838,7 @@ var __vue_staticRenderFns__ = [];
36834
36838
  /* style */
36835
36839
  const __vue_inject_styles__ = function (inject) {
36836
36840
  if (!inject) return;
36837
- inject("data-v-7aa450ad_0", {
36841
+ inject("data-v-450d44c8_0", {
36838
36842
  source: ".tiptap-editor ol{margin:0 24px;list-style:decimal}.tiptap-editor ul{margin:0 24px;list-style:initial}.tiptap-editor pre{background-color:rgba(186,209,236,.3);padding:4px 8px;margin:4px 0;width:100%;border-radius:4px}.tiptap-editor blockquote{margin:8px 24px;padding:0 24px;border-left:4px solid #bad1ec}.tiptap-editor .is-editor-empty::before{content:attr(data-placeholder);height:0;pointer-events:none;float:left}",
36839
36843
  map: undefined,
36840
36844
  media: undefined
@@ -95,7 +95,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-3a3d
95
95
  export { O as OrTooltip } from '../OrTooltip-dfea7af2.js';
96
96
  export { O as OrTooltipContent } from '../OrTooltipContent-f0fd5f75.js';
97
97
  export { O as OrTooltipV3 } from '../OrTooltip-d1764f37.js';
98
- export { _ as OrRichTextEditorV3 } from '../OrRichTextEditor-1b29b6a2.js';
98
+ export { _ as OrRichTextEditorV3 } from '../OrRichTextEditor-eae5df51.js';
99
99
  import '../index-fa6eb4ca.js';
100
100
  import 'vue';
101
101
  import '@vue/composition-api/dist/vue-composition-api.mjs';
@@ -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 { _ as OrRichTextEditorV3 } from '../../OrRichTextEditor-1b29b6a2.js';
1
+ export { _ as OrRichTextEditorV3 } from '../../OrRichTextEditor-eae5df51.js';
2
2
  import '../../index-fa6eb4ca.js';
3
3
  import 'vue';
4
4
  import '@vue/composition-api/dist/vue-composition-api.mjs';