@onereach/ui-components 2.68.0-beta.2003.0 → 2.68.0-beta.2008.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/{OrCode-edc7a1f5.js → OrCode-b9332066.js} +2 -115
- package/dist/bundled/v2/{OrConfirm-56d01cff.js → OrConfirm-19758dae.js} +1 -1
- package/dist/bundled/v2/OrModal-71d33219.js +202 -0
- package/dist/bundled/v2/OrRichTextEditor-4a41e294.js +36832 -0
- package/dist/bundled/v2/components/index.d.ts +1 -0
- package/dist/bundled/v2/components/index.js +7 -3
- package/dist/bundled/v2/components/or-code/index.js +4 -2
- package/dist/bundled/v2/components/or-confirm/index.js +3 -2
- package/dist/bundled/v2/components/or-modal/index.js +2 -1
- package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +12 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +149 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/index.d.ts +1 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/index.js +25 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/styles.d.ts +6 -0
- package/dist/bundled/v2/index.es-3f39f316.js +115 -0
- package/dist/bundled/v2/index.js +8 -4
- package/dist/bundled/{v3/OrModal.vue_vue_type_script_lang-a1ed2ebb.js → v2/useFocusTrap-d744652a.js} +4 -126
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-ef5e7f04.js → OrCode.vue_vue_type_script_lang-5fe573eb.js} +3 -116
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-0f16fc67.js → OrConfirm.vue_vue_type_script_lang-4451e782.js} +2 -2
- package/dist/bundled/v3/OrMenu-08aa60de.js +29 -0
- package/dist/bundled/v3/{OrModal-868160ef.js → OrModal-bbabef06.js} +1 -1
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-a599dfe7.js +128 -0
- package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-f5d3e39b.js +36712 -0
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-ca57f9d9.js → OrTabs.vue_vue_type_script_lang-2fdbd2f2.js} +10 -36
- package/dist/bundled/v3/components/index.d.ts +1 -0
- package/dist/bundled/v3/components/index.js +10 -5
- package/dist/bundled/v3/components/or-code/index.js +5 -3
- package/dist/bundled/v3/components/or-confirm/index.js +4 -3
- package/dist/bundled/v3/components/or-modal/index.js +2 -1
- package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +12 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +149 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/index.d.ts +1 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/index.js +26 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/styles.d.ts +6 -0
- package/dist/bundled/v3/components/or-tabs-v3/index.js +2 -1
- package/dist/bundled/v3/index.es-3f39f316.js +115 -0
- package/dist/bundled/v3/index.js +278 -182
- package/dist/bundled/{v2/OrModal-a5411b0d.js → v3/useFocusTrap-d21726e3.js} +3 -200
- package/dist/esm/v2/OrRichTextEditor-11967cd9.js +520 -0
- package/dist/esm/v2/components/index.d.ts +1 -0
- package/dist/esm/v2/components/index.js +19 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +12 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +149 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.d.ts +1 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +39 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/styles.d.ts +6 -0
- package/dist/esm/v2/index.js +19 -0
- package/dist/esm/v3/OrRichTextEditor-ad5f24ba.js +490 -0
- package/dist/esm/v3/components/index.d.ts +1 -0
- package/dist/esm/v3/components/index.js +19 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +12 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +149 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.d.ts +1 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +38 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/styles.d.ts +6 -0
- package/dist/esm/v3/index.js +19 -0
- package/package.json +19 -1
- package/src/components/index.ts +1 -0
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.docs.mdx +16 -0
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +62 -0
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +526 -0
- package/src/components/or-rich-text-editor-v3/index.ts +1 -0
- package/src/components/or-rich-text-editor-v3/styles.ts +65 -0
- package/dist/bundled/v2/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +0 -39
- package/dist/bundled/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +0 -109
- package/dist/bundled/v2/components/or-empty-state-v3/index.d.ts +0 -2
- package/dist/bundled/v2/components/or-empty-state-v3/index.js +0 -131
- package/dist/bundled/v2/components/or-empty-state-v3/types.d.ts +0 -2
- package/dist/bundled/v3/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +0 -39
- package/dist/bundled/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +0 -109
- package/dist/bundled/v3/components/or-empty-state-v3/index.d.ts +0 -2
- package/dist/bundled/v3/components/or-empty-state-v3/index.js +0 -111
- package/dist/bundled/v3/components/or-empty-state-v3/types.d.ts +0 -2
- package/dist/esm/v2/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +0 -39
- package/dist/esm/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +0 -109
- package/dist/esm/v2/components/or-empty-state-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-empty-state-v3/index.js +0 -129
- package/dist/esm/v2/components/or-empty-state-v3/types.d.ts +0 -2
- package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +0 -39
- package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +0 -109
- package/dist/esm/v3/components/or-empty-state-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-empty-state-v3/index.js +0 -111
- package/dist/esm/v3/components/or-empty-state-v3/types.d.ts +0 -2
- package/src/components/or-empty-state-v3/OrEmptyState.stories3.ts +0 -203
- package/src/components/or-empty-state-v3/OrEmptyState.vue +0 -101
- package/src/components/or-empty-state-v3/index.ts +0 -2
- package/src/components/or-empty-state-v3/types.ts +0 -3
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { Editor } from '@tiptap/core';
|
|
2
|
+
import { Level } from '@tiptap/extension-heading';
|
|
3
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
|
+
editor: Editor | null;
|
|
5
|
+
editorRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
6
|
+
containerRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
7
|
+
toolbarButtonRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
8
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
9
|
+
} | string[], {} & {}, {
|
|
10
|
+
[x: number]: string;
|
|
11
|
+
} | {}, true> | undefined>;
|
|
12
|
+
menuRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
13
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
14
|
+
} | string[], {} & {}, {
|
|
15
|
+
[x: number]: string;
|
|
16
|
+
} | {}, true> | undefined>;
|
|
17
|
+
iconsEnum: import("@vue/composition-api").Ref<{
|
|
18
|
+
[x: string]: string;
|
|
19
|
+
}>;
|
|
20
|
+
handleToolbarClick: (item: string, level?: number | undefined) => void;
|
|
21
|
+
handleEditorClick: () => void;
|
|
22
|
+
isActive: import("@vue/composition-api").Ref<{
|
|
23
|
+
[x: string]: boolean;
|
|
24
|
+
}>;
|
|
25
|
+
iconTooltipsEnum: import("@vue/composition-api").Ref<{
|
|
26
|
+
[x: string]: string;
|
|
27
|
+
}>;
|
|
28
|
+
containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
29
|
+
toolbarContainerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
30
|
+
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
31
|
+
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
32
|
+
toolbarButtonStyles: (item: string) => string[];
|
|
33
|
+
editorInputStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
34
|
+
getIndexOfHeading: import("@vue/composition-api").ComputedRef<number>;
|
|
35
|
+
headingLevels: Level[];
|
|
36
|
+
headingIcon: import("@vue/composition-api").ComputedRef<string>;
|
|
37
|
+
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
38
|
+
modelValue: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
required: false;
|
|
42
|
+
};
|
|
43
|
+
toolbar: {
|
|
44
|
+
type: ArrayConstructor;
|
|
45
|
+
default: () => string[][];
|
|
46
|
+
};
|
|
47
|
+
description: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
placeholder: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
autofocus: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
markdownFormat: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
64
|
+
modelValue: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
required: false;
|
|
68
|
+
};
|
|
69
|
+
toolbar: {
|
|
70
|
+
type: ArrayConstructor;
|
|
71
|
+
default: () => string[][];
|
|
72
|
+
};
|
|
73
|
+
description: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
placeholder: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
autofocus: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
markdownFormat: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
90
|
+
modelValue: string;
|
|
91
|
+
toolbar: unknown[];
|
|
92
|
+
description: string;
|
|
93
|
+
placeholder: string;
|
|
94
|
+
autofocus: boolean;
|
|
95
|
+
markdownFormat: boolean;
|
|
96
|
+
} & {} & {
|
|
97
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
98
|
+
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
99
|
+
editor: Editor | null;
|
|
100
|
+
editorRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
101
|
+
containerRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
102
|
+
toolbarButtonRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
103
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
104
|
+
} | string[], {} & {}, {
|
|
105
|
+
[x: number]: string;
|
|
106
|
+
} | {}, true> | undefined>;
|
|
107
|
+
menuRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
108
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
109
|
+
} | string[], {} & {}, {
|
|
110
|
+
[x: number]: string;
|
|
111
|
+
} | {}, true> | undefined>;
|
|
112
|
+
iconsEnum: import("@vue/composition-api").Ref<{
|
|
113
|
+
[x: string]: string;
|
|
114
|
+
}>;
|
|
115
|
+
handleToolbarClick: (item: string, level?: number | undefined) => void;
|
|
116
|
+
handleEditorClick: () => void;
|
|
117
|
+
isActive: import("@vue/composition-api").Ref<{
|
|
118
|
+
[x: string]: boolean;
|
|
119
|
+
}>;
|
|
120
|
+
iconTooltipsEnum: import("@vue/composition-api").Ref<{
|
|
121
|
+
[x: string]: string;
|
|
122
|
+
}>;
|
|
123
|
+
containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
124
|
+
toolbarContainerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
125
|
+
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
126
|
+
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
127
|
+
toolbarButtonStyles: (item: string) => string[];
|
|
128
|
+
editorInputStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
129
|
+
getIndexOfHeading: import("@vue/composition-api").ComputedRef<number>;
|
|
130
|
+
headingLevels: Level[];
|
|
131
|
+
headingIcon: import("@vue/composition-api").ComputedRef<string>;
|
|
132
|
+
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
133
|
+
modelValue: string;
|
|
134
|
+
toolbar: unknown[];
|
|
135
|
+
description: string;
|
|
136
|
+
placeholder: string;
|
|
137
|
+
autofocus: boolean;
|
|
138
|
+
markdownFormat: boolean;
|
|
139
|
+
} & {} & {
|
|
140
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
141
|
+
}, {
|
|
142
|
+
modelValue: string;
|
|
143
|
+
toolbar: unknown[];
|
|
144
|
+
description: string;
|
|
145
|
+
placeholder: string;
|
|
146
|
+
autofocus: boolean;
|
|
147
|
+
markdownFormat: boolean;
|
|
148
|
+
}, true>);
|
|
149
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OrRichTextEditorV3 } from './OrRichTextEditor.vue';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export { _ as OrRichTextEditorV3 } from '../../OrRichTextEditor-11967cd9.js';
|
|
2
|
+
import 'vue-demi';
|
|
3
|
+
import '../../useClassAttribute-47fdb016.js';
|
|
4
|
+
import '@vueuse/core';
|
|
5
|
+
import '@vueuse/integrations/useFocusTrap';
|
|
6
|
+
import 'prosemirror-markdown';
|
|
7
|
+
import 'prosemirror-model';
|
|
8
|
+
import 'marked';
|
|
9
|
+
import '../../OrIconButton-a7764de4.js';
|
|
10
|
+
import '../../OrIcon-05689298.js';
|
|
11
|
+
import '../../normalize-component-6e8e3d80.js';
|
|
12
|
+
import '../../OrTooltip-3454c2e6.js';
|
|
13
|
+
import '../../OrPopover-ef8c91f1.js';
|
|
14
|
+
import '@floating-ui/dom';
|
|
15
|
+
import '../../useElevation-31bfe1f6.js';
|
|
16
|
+
import '../../useResponsive-a02e95b7.js';
|
|
17
|
+
import '../../OrBottomSheet-5acd034f.js';
|
|
18
|
+
import '../../OrOverlay-18ba2dc6.js';
|
|
19
|
+
import '../../OrTeleport.vue2-fb92f29f.js';
|
|
20
|
+
import 'portal-vue';
|
|
21
|
+
import '../../OrLabel-5670468e.js';
|
|
22
|
+
import '../../OrMenu-e7210edc.js';
|
|
23
|
+
import '../../OrMenuItem-038641b7.js';
|
|
24
|
+
import '@tiptap/core';
|
|
25
|
+
import '@tiptap/starter-kit';
|
|
26
|
+
import '@tiptap/extension-underline';
|
|
27
|
+
import '@tiptap/extension-link';
|
|
28
|
+
import '@tiptap/extension-highlight';
|
|
29
|
+
import '@tiptap/extension-heading';
|
|
30
|
+
import '@tiptap/extension-placeholder';
|
|
31
|
+
import '@tiptap/extension-paragraph';
|
|
32
|
+
import '@tiptap/extension-bullet-list';
|
|
33
|
+
import '@tiptap/extension-list-item';
|
|
34
|
+
import '@tiptap/extension-ordered-list';
|
|
35
|
+
import '@tiptap/extension-strike';
|
|
36
|
+
import '@tiptap/extension-italic';
|
|
37
|
+
import '@tiptap/extension-hard-break';
|
|
38
|
+
import '@tiptap/extension-bold';
|
|
39
|
+
import '../../browser-82dea9ed.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const EditorContainer: string[];
|
|
2
|
+
export declare const ToolbarContainer: string[];
|
|
3
|
+
export declare const Toolbar: string[];
|
|
4
|
+
export declare const ToolbarButton: string[];
|
|
5
|
+
export declare const ToolbarButtonActive: string[];
|
|
6
|
+
export declare const EditorInput: string[];
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -95,6 +95,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-06654
|
|
|
95
95
|
export { _ as OrTooltip } from './OrTooltip-614b016d.js';
|
|
96
96
|
export { _ as OrTooltipContent } from './OrTooltip.vue_rollup-plugin-vue_script-63559536.js';
|
|
97
97
|
export { _ as OrTooltipV3 } from './OrTooltip-3454c2e6.js';
|
|
98
|
+
export { _ as OrRichTextEditorV3 } from './OrRichTextEditor-11967cd9.js';
|
|
98
99
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
99
100
|
export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
100
101
|
export { u as useElevation } from './useElevation-31bfe1f6.js';
|
|
@@ -124,6 +125,24 @@ import 'sortablejs';
|
|
|
124
125
|
import '@vueuse/integrations/useFocusTrap';
|
|
125
126
|
import 'portal-vue/dist/portal-vue.esm.js';
|
|
126
127
|
import 'portal-vue';
|
|
128
|
+
import 'prosemirror-markdown';
|
|
129
|
+
import 'prosemirror-model';
|
|
130
|
+
import 'marked';
|
|
131
|
+
import '@tiptap/core';
|
|
132
|
+
import '@tiptap/starter-kit';
|
|
133
|
+
import '@tiptap/extension-underline';
|
|
134
|
+
import '@tiptap/extension-link';
|
|
135
|
+
import '@tiptap/extension-highlight';
|
|
136
|
+
import '@tiptap/extension-heading';
|
|
137
|
+
import '@tiptap/extension-placeholder';
|
|
138
|
+
import '@tiptap/extension-paragraph';
|
|
139
|
+
import '@tiptap/extension-bullet-list';
|
|
140
|
+
import '@tiptap/extension-list-item';
|
|
141
|
+
import '@tiptap/extension-ordered-list';
|
|
142
|
+
import '@tiptap/extension-strike';
|
|
143
|
+
import '@tiptap/extension-italic';
|
|
144
|
+
import '@tiptap/extension-hard-break';
|
|
145
|
+
import '@tiptap/extension-bold';
|
|
127
146
|
|
|
128
147
|
function getAbbreviation(text, limit) {
|
|
129
148
|
var _a;
|