@onereach/ui-components 2.68.0-beta.2002.0 → 2.68.0-beta.2003.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-0cd991a1.js → OrCode-edc7a1f5.js} +114 -1
- package/dist/bundled/v2/components/index.d.ts +0 -1
- package/dist/bundled/v2/components/index.js +1 -4
- package/dist/bundled/v2/components/or-code/index.js +1 -2
- package/dist/bundled/v2/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +39 -0
- package/dist/bundled/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +109 -0
- package/dist/bundled/v2/components/or-empty-state-v3/index.d.ts +2 -0
- package/dist/bundled/v2/components/or-empty-state-v3/index.js +131 -0
- package/dist/bundled/v2/components/or-empty-state-v3/types.d.ts +2 -0
- package/dist/bundled/v2/index.js +2 -5
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-6c5f94a6.js → OrCode.vue_vue_type_script_lang-ef5e7f04.js} +114 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-2fdbd2f2.js → OrTabs.vue_vue_type_script_lang-ca57f9d9.js} +36 -10
- package/dist/bundled/v3/components/index.d.ts +0 -1
- package/dist/bundled/v3/components/index.js +2 -6
- package/dist/bundled/v3/components/or-code/index.js +1 -2
- package/dist/bundled/v3/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +39 -0
- package/dist/bundled/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +109 -0
- package/dist/bundled/v3/components/or-empty-state-v3/index.d.ts +2 -0
- package/dist/bundled/v3/components/or-empty-state-v3/index.js +111 -0
- package/dist/bundled/v3/components/or-empty-state-v3/types.d.ts +2 -0
- package/dist/bundled/v3/components/or-tabs-v3/index.js +1 -2
- package/dist/bundled/v3/index.js +178 -273
- package/dist/esm/v2/components/index.d.ts +0 -1
- package/dist/esm/v2/components/index.js +0 -19
- package/dist/esm/v2/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +39 -0
- package/dist/esm/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +109 -0
- package/dist/esm/v2/components/or-empty-state-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-empty-state-v3/index.js +129 -0
- package/dist/esm/v2/components/or-empty-state-v3/types.d.ts +2 -0
- package/dist/esm/v2/index.js +0 -19
- package/dist/esm/v3/components/index.d.ts +0 -1
- package/dist/esm/v3/components/index.js +0 -19
- package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +39 -0
- package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +109 -0
- package/dist/esm/v3/components/or-empty-state-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-empty-state-v3/index.js +111 -0
- package/dist/esm/v3/components/or-empty-state-v3/types.d.ts +2 -0
- package/dist/esm/v3/index.js +0 -19
- package/package.json +1 -19
- package/src/components/index.ts +0 -1
- package/src/components/or-empty-state-v3/OrEmptyState.stories3.ts +203 -0
- package/src/components/or-empty-state-v3/OrEmptyState.vue +101 -0
- package/src/components/or-empty-state-v3/index.ts +2 -0
- package/src/components/or-empty-state-v3/types.ts +3 -0
- package/dist/bundled/v2/OrRichTextEditor-898d67d5.js +0 -36828
- package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +0 -12
- package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -149
- package/dist/bundled/v2/components/or-rich-text-editor-v3/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-rich-text-editor-v3/index.js +0 -24
- package/dist/bundled/v2/components/or-rich-text-editor-v3/styles.d.ts +0 -6
- package/dist/bundled/v2/index.es-3f39f316.js +0 -115
- package/dist/bundled/v3/OrMenu-08aa60de.js +0 -29
- package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-2e607f79.js +0 -36708
- package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +0 -12
- package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -149
- package/dist/bundled/v3/components/or-rich-text-editor-v3/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-rich-text-editor-v3/index.js +0 -25
- package/dist/bundled/v3/components/or-rich-text-editor-v3/styles.d.ts +0 -6
- package/dist/bundled/v3/index.es-3f39f316.js +0 -115
- package/dist/esm/v2/OrRichTextEditor-6bc37dc4.js +0 -516
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +0 -12
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -149
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.d.ts +0 -1
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +0 -38
- package/dist/esm/v2/components/or-rich-text-editor-v3/styles.d.ts +0 -6
- package/dist/esm/v3/OrRichTextEditor-a5d38e89.js +0 -486
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +0 -12
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -149
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.d.ts +0 -1
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +0 -37
- package/dist/esm/v3/components/or-rich-text-editor-v3/styles.d.ts +0 -6
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.docs.mdx +0 -16
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +0 -62
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +0 -520
- package/src/components/or-rich-text-editor-v3/index.ts +0 -1
- package/src/components/or-rich-text-editor-v3/styles.ts +0 -65
|
@@ -1,149 +0,0 @@
|
|
|
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
|
-
markdown: {
|
|
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
|
-
markdown: {
|
|
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
|
-
markdown: 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
|
-
markdown: 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
|
-
markdown: boolean;
|
|
148
|
-
}, true>);
|
|
149
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as OrRichTextEditorV3 } from './OrRichTextEditor.vue';
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export { s as OrRichTextEditorV3 } from '../../OrRichTextEditor-a5d38e89.js';
|
|
2
|
-
import 'vue-demi';
|
|
3
|
-
import '../../useClassAttribute-47fdb016.js';
|
|
4
|
-
import '@vueuse/core';
|
|
5
|
-
import 'prosemirror-markdown';
|
|
6
|
-
import 'prosemirror-model';
|
|
7
|
-
import 'marked';
|
|
8
|
-
import '../../OrIconButton-85abafab.js';
|
|
9
|
-
import '../../OrIcon-e2fa4cf8.js';
|
|
10
|
-
import 'vue';
|
|
11
|
-
import '../../OrTooltip-1500a1cd.js';
|
|
12
|
-
import '../../OrPopover-94a8f21d.js';
|
|
13
|
-
import '@floating-ui/dom';
|
|
14
|
-
import '../../useElevation-31bfe1f6.js';
|
|
15
|
-
import '../../useResponsive-a02e95b7.js';
|
|
16
|
-
import '../../OrBottomSheet-0eb33b18.js';
|
|
17
|
-
import '../../OrOverlay-738a44d5.js';
|
|
18
|
-
import '../../OrTeleport.vue3-8099178c.js';
|
|
19
|
-
import '../../OrLabel-7d4fe80b.js';
|
|
20
|
-
import '../../OrMenu-d9e12030.js';
|
|
21
|
-
import '../../OrMenuItem-d001f0f6.js';
|
|
22
|
-
import '@tiptap/core';
|
|
23
|
-
import '@tiptap/starter-kit';
|
|
24
|
-
import '@tiptap/extension-underline';
|
|
25
|
-
import '@tiptap/extension-link';
|
|
26
|
-
import '@tiptap/extension-highlight';
|
|
27
|
-
import '@tiptap/extension-heading';
|
|
28
|
-
import '@tiptap/extension-placeholder';
|
|
29
|
-
import '@tiptap/extension-paragraph';
|
|
30
|
-
import '@tiptap/extension-bullet-list';
|
|
31
|
-
import '@tiptap/extension-list-item';
|
|
32
|
-
import '@tiptap/extension-ordered-list';
|
|
33
|
-
import '@tiptap/extension-strike';
|
|
34
|
-
import '@tiptap/extension-italic';
|
|
35
|
-
import '@tiptap/extension-hard-break';
|
|
36
|
-
import '@tiptap/extension-bold';
|
|
37
|
-
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -1,6 +0,0 @@
|
|
|
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[];
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Title,
|
|
3
|
-
Subtitle,
|
|
4
|
-
Description,
|
|
5
|
-
Primary,
|
|
6
|
-
ArgsTable,
|
|
7
|
-
Stories,
|
|
8
|
-
PRIMARY_STORY
|
|
9
|
-
} from '@storybook/addon-docs';
|
|
10
|
-
|
|
11
|
-
<Title />
|
|
12
|
-
<Subtitle />
|
|
13
|
-
<Description />
|
|
14
|
-
<Primary />
|
|
15
|
-
<ArgsTable story={PRIMARY_STORY} />
|
|
16
|
-
<Stories />
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
-
import { ref } from 'vue-demi';
|
|
3
|
-
import OrRichTextEditorDocs from './OrRichTextEditor.docs.mdx';
|
|
4
|
-
import OrRichTextEditor from './OrRichTextEditor.vue';
|
|
5
|
-
|
|
6
|
-
export default {
|
|
7
|
-
title: 'Experimental/OrRichTextEditor',
|
|
8
|
-
component: OrRichTextEditor,
|
|
9
|
-
|
|
10
|
-
argTypes: {
|
|
11
|
-
// Props
|
|
12
|
-
description: {
|
|
13
|
-
control: { type: 'text' },
|
|
14
|
-
},
|
|
15
|
-
placeholder: {
|
|
16
|
-
control: { type: 'text' },
|
|
17
|
-
},
|
|
18
|
-
modelValue: {
|
|
19
|
-
control: { type: 'text' },
|
|
20
|
-
},
|
|
21
|
-
markdown: {
|
|
22
|
-
control: { type: 'boolean' },
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
parameters: {
|
|
27
|
-
docs: {
|
|
28
|
-
page: OrRichTextEditorDocs,
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
design: {
|
|
32
|
-
type: 'figma',
|
|
33
|
-
url: 'https://www.figma.com/file/o7DdkaznUW2PtX4wiSuhhQ/Core?node-id=608%3A2926',
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
} as Meta<typeof OrRichTextEditor>;
|
|
37
|
-
|
|
38
|
-
const Template: StoryFn<typeof OrRichTextEditor> = (args) => ({
|
|
39
|
-
components: {
|
|
40
|
-
OrRichTextEditor,
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
setup() {
|
|
44
|
-
// Refs
|
|
45
|
-
const text = ref('');
|
|
46
|
-
return {
|
|
47
|
-
args,
|
|
48
|
-
text,
|
|
49
|
-
};
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
template: `
|
|
53
|
-
<div class="p-md">
|
|
54
|
-
<OrRichTextEditor
|
|
55
|
-
v-bind="args"
|
|
56
|
-
v-model="text"
|
|
57
|
-
/>
|
|
58
|
-
</div>
|
|
59
|
-
`,
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
export const RichTextEditor = Template.bind({});
|