@robuust-digital/vue-components 2.6.1 → 2.6.2
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/CHANGELOG.md +10 -0
- package/dist/combobox.d.ts +0 -131
- package/dist/core/accordion.css +55 -21
- package/dist/core.d.ts +0 -698
- package/dist/dialogs.d.ts +0 -298
- package/dist/dropdown.d.ts +0 -144
- package/dist/index.d.ts +0 -1445
- package/dist/lightswitch.d.ts +0 -38
- package/dist/rich-text-editor.d.ts +0 -88
- package/dist/toast.d.ts +0 -65
- package/dist/tooltip.d.ts +0 -60
- package/package.json +6 -6
package/dist/lightswitch.d.ts
CHANGED
|
@@ -1,39 +1 @@
|
|
|
1
|
-
import { ComponentOptionsMixin } from 'vue';
|
|
2
|
-
import { ComponentProvideOptions } from 'vue';
|
|
3
|
-
import { DefineComponent } from 'vue';
|
|
4
|
-
import { PublicProps } from 'vue';
|
|
5
|
-
|
|
6
|
-
declare const __VLS_component: DefineComponent<LightswitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
7
|
-
"update:modelValue": (value: boolean) => any;
|
|
8
|
-
}, string, PublicProps, Readonly<LightswitchProps> & Readonly<{
|
|
9
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
10
|
-
}>, {
|
|
11
|
-
modelValue: boolean;
|
|
12
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
13
|
-
|
|
14
|
-
declare function __VLS_template(): {
|
|
15
|
-
attrs: Partial<{}>;
|
|
16
|
-
slots: {
|
|
17
|
-
default?(_: {}): any;
|
|
18
|
-
};
|
|
19
|
-
refs: {};
|
|
20
|
-
rootEl: any;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
-
|
|
25
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
-
new (): {
|
|
27
|
-
$slots: S;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
|
-
export { _default as Lightswitch }
|
|
33
|
-
export default _default;
|
|
34
|
-
|
|
35
|
-
declare interface LightswitchProps {
|
|
36
|
-
modelValue?: boolean;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
1
|
export { }
|
|
@@ -1,89 +1 @@
|
|
|
1
|
-
import { ComponentOptionsMixin } from 'vue';
|
|
2
|
-
import { ComponentProvideOptions } from 'vue';
|
|
3
|
-
import { DefineComponent } from 'vue';
|
|
4
|
-
import { Editor } from '@tiptap/vue-3';
|
|
5
|
-
import { Extension } from '@tiptap/core';
|
|
6
|
-
import { FunctionalComponent } from 'vue';
|
|
7
|
-
import { HTMLAttributes } from 'vue';
|
|
8
|
-
import { PublicProps } from 'vue';
|
|
9
|
-
import { VNodeProps } from 'vue';
|
|
10
|
-
|
|
11
|
-
declare const __VLS_component: DefineComponent<RichTextEditorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
|
-
"update:modelValue": (value: string) => any;
|
|
13
|
-
"tiptap:onCreate": (editor: any) => any;
|
|
14
|
-
}, string, PublicProps, Readonly<RichTextEditorProps> & Readonly<{
|
|
15
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
16
|
-
"onTiptap:onCreate"?: ((editor: any) => any) | undefined;
|
|
17
|
-
}>, {
|
|
18
|
-
modelValue: string;
|
|
19
|
-
rootClass: string;
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
config: RichTextConfig;
|
|
22
|
-
customExtensions: Extension[];
|
|
23
|
-
customCommands: CustomCommand[];
|
|
24
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
25
|
-
|
|
26
|
-
declare function __VLS_template(): {
|
|
27
|
-
attrs: Partial<{}>;
|
|
28
|
-
slots: {
|
|
29
|
-
default?(_: {}): any;
|
|
30
|
-
toolbar?(_: {
|
|
31
|
-
commands: ({
|
|
32
|
-
name: string;
|
|
33
|
-
icon: FunctionalComponent<HTMLAttributes & VNodeProps, {}, any, {}>;
|
|
34
|
-
title: string;
|
|
35
|
-
isVisible: boolean;
|
|
36
|
-
isActive: () => boolean;
|
|
37
|
-
action: () => boolean | undefined;
|
|
38
|
-
disabled?: undefined;
|
|
39
|
-
} | {
|
|
40
|
-
isVisible: boolean | ((editor: Editor) => boolean);
|
|
41
|
-
disabled: boolean;
|
|
42
|
-
isActive: () => boolean;
|
|
43
|
-
action: () => void | undefined;
|
|
44
|
-
name: string;
|
|
45
|
-
icon?: any;
|
|
46
|
-
title: string;
|
|
47
|
-
})[];
|
|
48
|
-
tiptap: Editor;
|
|
49
|
-
}): any;
|
|
50
|
-
};
|
|
51
|
-
refs: {};
|
|
52
|
-
rootEl: any;
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
56
|
-
|
|
57
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
58
|
-
new (): {
|
|
59
|
-
$slots: S;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
declare interface CustomCommand {
|
|
64
|
-
name: string;
|
|
65
|
-
icon?: any;
|
|
66
|
-
title: string;
|
|
67
|
-
isVisible?: boolean | ((editor: Editor) => boolean);
|
|
68
|
-
disabled?: boolean | ((editor: Editor) => boolean);
|
|
69
|
-
isActive?: (editor: Editor) => boolean;
|
|
70
|
-
action: (editor: Editor) => void;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
74
|
-
export { _default as RichTextEditor }
|
|
75
|
-
export default _default;
|
|
76
|
-
|
|
77
|
-
declare type RichTextConfig = 'default' | 'simple';
|
|
78
|
-
|
|
79
|
-
declare interface RichTextEditorProps {
|
|
80
|
-
id: string;
|
|
81
|
-
modelValue?: string;
|
|
82
|
-
rootClass?: string;
|
|
83
|
-
config?: RichTextConfig;
|
|
84
|
-
customExtensions?: Extension[];
|
|
85
|
-
customCommands?: CustomCommand[];
|
|
86
|
-
disabled?: boolean;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
1
|
export { }
|
package/dist/toast.d.ts
CHANGED
|
@@ -1,66 +1 @@
|
|
|
1
|
-
import { ComponentOptionsMixin } from 'vue';
|
|
2
|
-
import { ComponentProvideOptions } from 'vue';
|
|
3
|
-
import { DefineComponent } from 'vue';
|
|
4
|
-
import { FunctionalComponent } from 'vue';
|
|
5
|
-
import { HTMLAttributes } from 'vue';
|
|
6
|
-
import { PublicProps } from 'vue';
|
|
7
|
-
import { SVGAttributes } from 'vue';
|
|
8
|
-
import { VNodeProps } from 'vue';
|
|
9
|
-
|
|
10
|
-
declare const __VLS_component: DefineComponent<ToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
11
|
-
"toast:close": () => any;
|
|
12
|
-
}, string, PublicProps, Readonly<ToastProps> & Readonly<{
|
|
13
|
-
"onToast:close"?: (() => any) | undefined;
|
|
14
|
-
}>, {
|
|
15
|
-
title: string | null;
|
|
16
|
-
as: string;
|
|
17
|
-
icon: Icon | null;
|
|
18
|
-
type: ToastType | null;
|
|
19
|
-
showClose: boolean;
|
|
20
|
-
show: boolean;
|
|
21
|
-
position: ToastPosition;
|
|
22
|
-
timeout: number | boolean;
|
|
23
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
24
|
-
|
|
25
|
-
declare function __VLS_template(): {
|
|
26
|
-
attrs: Partial<{}>;
|
|
27
|
-
slots: {
|
|
28
|
-
icon?(_: {}): any;
|
|
29
|
-
title?(_: {}): any;
|
|
30
|
-
default?(_: {}): any;
|
|
31
|
-
close?(_: {}): any;
|
|
32
|
-
};
|
|
33
|
-
refs: {};
|
|
34
|
-
rootEl: any;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
38
|
-
|
|
39
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
-
new (): {
|
|
41
|
-
$slots: S;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
46
|
-
export { _default as Toast }
|
|
47
|
-
export default _default;
|
|
48
|
-
|
|
49
|
-
declare type Icon = FunctionalComponent<SVGAttributes & HTMLAttributes & VNodeProps>;
|
|
50
|
-
|
|
51
|
-
declare type ToastPosition = 'top' | 'bottom';
|
|
52
|
-
|
|
53
|
-
declare interface ToastProps {
|
|
54
|
-
show?: boolean;
|
|
55
|
-
as?: string;
|
|
56
|
-
title?: string | undefined | null;
|
|
57
|
-
icon?: Icon | null;
|
|
58
|
-
timeout?: number | boolean;
|
|
59
|
-
position?: ToastPosition;
|
|
60
|
-
type?: ToastType | undefined | null;
|
|
61
|
-
showClose?: boolean;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
declare type ToastType = 'success' | 'warning' | 'danger' | 'info';
|
|
65
|
-
|
|
66
1
|
export { }
|
package/dist/tooltip.d.ts
CHANGED
|
@@ -1,61 +1 @@
|
|
|
1
|
-
import { AlignedPlacement } from '@floating-ui/vue';
|
|
2
|
-
import { ComponentOptionsMixin } from 'vue';
|
|
3
|
-
import { ComponentProvideOptions } from 'vue';
|
|
4
|
-
import { DefineComponent } from 'vue';
|
|
5
|
-
import { PublicProps } from 'vue';
|
|
6
|
-
import { Side } from '@floating-ui/vue';
|
|
7
|
-
|
|
8
|
-
declare const __VLS_component: DefineComponent<TooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
|
|
9
|
-
blur: boolean;
|
|
10
|
-
size: TooltipSize;
|
|
11
|
-
maxWidth: number | null;
|
|
12
|
-
tooltipClass: string;
|
|
13
|
-
placement: TooltipPlacement;
|
|
14
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
15
|
-
wrapperRef: HTMLDivElement;
|
|
16
|
-
tooltipRef: HTMLDivElement;
|
|
17
|
-
arrowRef: HTMLDivElement;
|
|
18
|
-
}, HTMLDivElement>;
|
|
19
|
-
|
|
20
|
-
declare function __VLS_template(): {
|
|
21
|
-
attrs: Partial<{}>;
|
|
22
|
-
slots: {
|
|
23
|
-
default?(_: {}): any;
|
|
24
|
-
content?(_: {
|
|
25
|
-
content: string;
|
|
26
|
-
}): any;
|
|
27
|
-
};
|
|
28
|
-
refs: {
|
|
29
|
-
wrapperRef: HTMLDivElement;
|
|
30
|
-
tooltipRef: HTMLDivElement;
|
|
31
|
-
arrowRef: HTMLDivElement;
|
|
32
|
-
};
|
|
33
|
-
rootEl: HTMLDivElement;
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
37
|
-
|
|
38
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
-
new (): {
|
|
40
|
-
$slots: S;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
45
|
-
export { _default as Tooltip }
|
|
46
|
-
export default _default;
|
|
47
|
-
|
|
48
|
-
declare type TooltipPlacement = AlignedPlacement | Side;
|
|
49
|
-
|
|
50
|
-
declare interface TooltipProps {
|
|
51
|
-
content: string;
|
|
52
|
-
blur?: boolean;
|
|
53
|
-
maxWidth?: number | null;
|
|
54
|
-
tooltipClass?: string;
|
|
55
|
-
placement?: TooltipPlacement;
|
|
56
|
-
size?: TooltipSize;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
declare type TooltipSize = 'sm' | 'base';
|
|
60
|
-
|
|
61
1
|
export { }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@robuust-digital/vue-components",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"mcp:serve": "node mcp/server.mjs",
|
|
83
83
|
"test:unit": "vitest run",
|
|
84
84
|
"lint": "eslint .",
|
|
85
|
-
"lint:style": "stylelint 'src/**/*.{vue,css}'",
|
|
85
|
+
"lint:style": "node ./node_modules/stylelint/bin/stylelint.mjs 'src/**/*.{vue,css}'",
|
|
86
86
|
"type-check": "npx vue-tsc --noEmit --project tsconfig.json --project tests/tsconfig.json"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"@vue/test-utils": "^2.4.6",
|
|
134
134
|
"eslint": "^8.57.1",
|
|
135
135
|
"eslint-plugin-vue": "^9.33.0",
|
|
136
|
-
"jsdom": "^
|
|
136
|
+
"jsdom": "^29.0.2",
|
|
137
137
|
"postcss": "^8.5.6",
|
|
138
138
|
"postcss-html": "^1.8.0",
|
|
139
139
|
"postcss-scss": "^4.0.9",
|
|
@@ -141,13 +141,13 @@
|
|
|
141
141
|
"stylelint-config-property-sort-order-smacss": "^11.1.0",
|
|
142
142
|
"stylelint-config-standard": "^40.0.0",
|
|
143
143
|
"tailwindcss": "^4.1.17",
|
|
144
|
-
"typescript": "^
|
|
144
|
+
"typescript": "^6.0.2",
|
|
145
145
|
"vite": "^7.2.2",
|
|
146
146
|
"vite-plugin-dts": "^4.5.4",
|
|
147
|
-
"vite-plugin-static-copy": "
|
|
147
|
+
"vite-plugin-static-copy": "3.1.4",
|
|
148
148
|
"vite-plugin-vue-devtools": "^8.0.3",
|
|
149
149
|
"vite-svg-loader": "^5.1.0",
|
|
150
|
-
"vitepress": "
|
|
150
|
+
"vitepress": "2.0.0-alpha.16",
|
|
151
151
|
"vitest": "^3.2.4",
|
|
152
152
|
"zod": "^4.3.6"
|
|
153
153
|
},
|