@scalar/components 0.13.0 → 0.13.1
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/components/ScalarButton/ScalarButton.test.d.ts +2 -0
- package/dist/components/ScalarButton/ScalarButton.test.d.ts.map +1 -0
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.test.d.ts +2 -0
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.test.d.ts.map +1 -0
- package/dist/components/ScalarCombobox/ScalarCombobox.test.d.ts +2 -0
- package/dist/components/ScalarCombobox/ScalarCombobox.test.d.ts.map +1 -0
- package/dist/components/ScalarContextMenu/ScalarContextMenu.test.d.ts +2 -0
- package/dist/components/ScalarContextMenu/ScalarContextMenu.test.d.ts.map +1 -0
- package/dist/components/ScalarDropdown/ScalarDropdown.test.d.ts +2 -0
- package/dist/components/ScalarDropdown/ScalarDropdown.test.d.ts.map +1 -0
- package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.test.d.ts +2 -0
- package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.test.d.ts.map +1 -0
- package/dist/components/ScalarFloating/ScalarFloating.test.d.ts +2 -0
- package/dist/components/ScalarFloating/ScalarFloating.test.d.ts.map +1 -0
- package/dist/components/ScalarFloating/useResizeWithTarget.test.d.ts +2 -0
- package/dist/components/ScalarFloating/useResizeWithTarget.test.d.ts.map +1 -0
- package/dist/components/ScalarHeaderButton/ScalarHeaderButton.test.d.ts +2 -0
- package/dist/components/ScalarHeaderButton/ScalarHeaderButton.test.d.ts.map +1 -0
- package/dist/components/ScalarIcon/ScalarIcon.stories.d.ts +8 -8
- package/dist/components/ScalarIcon/ScalarIcon.test.d.ts +2 -0
- package/dist/components/ScalarIcon/ScalarIcon.test.d.ts.map +1 -0
- package/dist/components/ScalarIcon/ScalarIcon.vue.d.ts +1 -1
- package/dist/components/ScalarIcon/icons/Add.svg.js +2 -2
- package/dist/components/ScalarIcon/icons/ChevronDown.svg.js +1 -1
- package/dist/components/ScalarIcon/icons/ChevronRight.svg.js +1 -1
- package/dist/components/ScalarIcon/icons/ChevronUp.svg.js +1 -1
- package/dist/components/ScalarIconButton/ScalarIconButton.stories.d.ts +3 -3
- package/dist/components/ScalarIconButton/ScalarIconButton.test.d.ts +2 -0
- package/dist/components/ScalarIconButton/ScalarIconButton.test.d.ts.map +1 -0
- package/dist/components/ScalarIconButton/ScalarIconButton.vue.d.ts +2 -2
- package/dist/components/ScalarListbox/ScalarListbox.test.d.ts +2 -0
- package/dist/components/ScalarListbox/ScalarListbox.test.d.ts.map +1 -0
- package/dist/components/ScalarLoading/ScalarLoading.stories.d.ts +8 -8
- package/dist/components/ScalarLoading/ScalarLoading.test.d.ts +2 -0
- package/dist/components/ScalarLoading/ScalarLoading.test.d.ts.map +1 -0
- package/dist/components/ScalarLoading/ScalarLoading.vue.d.ts +2 -2
- package/dist/components/ScalarMenu/ScalarMenu.test.d.ts +2 -0
- package/dist/components/ScalarMenu/ScalarMenu.test.d.ts.map +1 -0
- package/dist/components/ScalarMenu/ScalarMenuButton.vue.d.ts.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuButton.vue.js +3 -4
- package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue.d.ts.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue.js +19 -20
- package/dist/components/ScalarModal/ScalarModal.stories.d.ts +6 -6
- package/dist/components/ScalarModal/ScalarModal.test.d.ts +2 -0
- package/dist/components/ScalarModal/ScalarModal.test.d.ts.map +1 -0
- package/dist/components/ScalarModal/ScalarModal.vue.d.ts +3 -3
- package/dist/components/ScalarPopover/ScalarPopover.test.d.ts +2 -0
- package/dist/components/ScalarPopover/ScalarPopover.test.d.ts.map +1 -0
- package/dist/components/ScalarSearchInput/ScalarSearchInput.test.d.ts +2 -0
- package/dist/components/ScalarSearchInput/ScalarSearchInput.test.d.ts.map +1 -0
- package/dist/components/ScalarSearchResults/ScalarSearchResults.test.d.ts +2 -0
- package/dist/components/ScalarSearchResults/ScalarSearchResults.test.d.ts.map +1 -0
- package/dist/components/ScalarTextField/ScalarTextField.test.d.ts +2 -0
- package/dist/components/ScalarTextField/ScalarTextField.test.d.ts.map +1 -0
- package/dist/components/ScalarToggle/ScalarToggle.test.d.ts +2 -0
- package/dist/components/ScalarToggle/ScalarToggle.test.d.ts.map +1 -0
- package/dist/components/ScalarTooltip/ScalarTooltip.test.d.ts +2 -0
- package/dist/components/ScalarTooltip/ScalarTooltip.test.d.ts.map +1 -0
- package/dist/components/ScalarVirtualText/ScalarVirtualText.test.d.ts +2 -0
- package/dist/components/ScalarVirtualText/ScalarVirtualText.test.d.ts.map +1 -0
- package/dist/cva.js +7 -7
- package/dist/cva.test.d.ts +2 -0
- package/dist/cva.test.d.ts.map +1 -0
- package/dist/hooks/useBindCx.d.ts.map +1 -1
- package/dist/hooks/useBindCx.js +8 -8
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +83 -78
- package/dist/style.css +1 -1
- package/package.json +6 -6
- package/dist/components/ScalarButton/ScalarButton.spec.d.ts +0 -2
- package/dist/components/ScalarButton/ScalarButton.spec.d.ts.map +0 -1
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.spec.d.ts +0 -2
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.spec.d.ts.map +0 -1
- package/dist/components/ScalarCombobox/ScalarCombobox.spec.d.ts +0 -2
- package/dist/components/ScalarCombobox/ScalarCombobox.spec.d.ts.map +0 -1
- package/dist/components/ScalarContextMenu/ScalarContextMenu.spec.d.ts +0 -2
- package/dist/components/ScalarContextMenu/ScalarContextMenu.spec.d.ts.map +0 -1
- package/dist/components/ScalarDropdown/ScalarDropdown.spec.d.ts +0 -2
- package/dist/components/ScalarDropdown/ScalarDropdown.spec.d.ts.map +0 -1
- package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.spec.d.ts +0 -2
- package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.spec.d.ts.map +0 -1
- package/dist/components/ScalarFloating/ScalarFloating.spec.d.ts +0 -2
- package/dist/components/ScalarFloating/ScalarFloating.spec.d.ts.map +0 -1
- package/dist/components/ScalarFloating/useResizeWithTarget.spec.d.ts +0 -2
- package/dist/components/ScalarFloating/useResizeWithTarget.spec.d.ts.map +0 -1
- package/dist/components/ScalarHeaderButton/ScalarHeaderButton.spec.d.ts +0 -2
- package/dist/components/ScalarHeaderButton/ScalarHeaderButton.spec.d.ts.map +0 -1
- package/dist/components/ScalarIcon/ScalarIcon.spec.d.ts +0 -2
- package/dist/components/ScalarIcon/ScalarIcon.spec.d.ts.map +0 -1
- package/dist/components/ScalarIconButton/ScalarIconButton.spec.d.ts +0 -2
- package/dist/components/ScalarIconButton/ScalarIconButton.spec.d.ts.map +0 -1
- package/dist/components/ScalarListbox/ScalarListbox.spec.d.ts +0 -2
- package/dist/components/ScalarListbox/ScalarListbox.spec.d.ts.map +0 -1
- package/dist/components/ScalarLoading/ScalarLoading.spec.d.ts +0 -2
- package/dist/components/ScalarLoading/ScalarLoading.spec.d.ts.map +0 -1
- package/dist/components/ScalarMenu/ScalarMenu.spec.d.ts +0 -2
- package/dist/components/ScalarMenu/ScalarMenu.spec.d.ts.map +0 -1
- package/dist/components/ScalarModal/ScalarModal.spec.d.ts +0 -2
- package/dist/components/ScalarModal/ScalarModal.spec.d.ts.map +0 -1
- package/dist/components/ScalarPopover/ScalarPopover.spec.d.ts +0 -2
- package/dist/components/ScalarPopover/ScalarPopover.spec.d.ts.map +0 -1
- package/dist/components/ScalarSearchInput/ScalarSearchInput.spec.d.ts +0 -2
- package/dist/components/ScalarSearchInput/ScalarSearchInput.spec.d.ts.map +0 -1
- package/dist/components/ScalarSearchResults/ScalarSearchResults.spec.d.ts +0 -2
- package/dist/components/ScalarSearchResults/ScalarSearchResults.spec.d.ts.map +0 -1
- package/dist/components/ScalarTextField/ScalarTextField.spec.d.ts +0 -2
- package/dist/components/ScalarTextField/ScalarTextField.spec.d.ts.map +0 -1
- package/dist/components/ScalarToggle/ScalarToggle.spec.d.ts +0 -2
- package/dist/components/ScalarToggle/ScalarToggle.spec.d.ts.map +0 -1
- package/dist/components/ScalarTooltip/ScalarTooltip.spec.d.ts +0 -2
- package/dist/components/ScalarTooltip/ScalarTooltip.spec.d.ts.map +0 -1
- package/dist/components/ScalarVirtualText/ScalarVirtualText.spec.d.ts +0 -2
- package/dist/components/ScalarVirtualText/ScalarVirtualText.spec.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarButton.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarButton/ScalarButton.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarCodeBlock.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarCodeBlock/ScalarCodeBlock.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarCombobox.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarCombobox/ScalarCombobox.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarContextMenu.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarContextMenu/ScalarContextMenu.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarDropdown.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdown.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarErrorBoundary.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarErrorBoundary/ScalarErrorBoundary.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarFloating.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFloating/ScalarFloating.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useResizeWithTarget.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFloating/useResizeWithTarget.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarHeaderButton.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarHeaderButton/ScalarHeaderButton.test.ts"],"names":[],"mappings":""}
|
|
@@ -3,13 +3,13 @@ declare const meta: {
|
|
|
3
3
|
component: import("vue").DefineComponent<{
|
|
4
4
|
icon?: import("./index.js").Icon;
|
|
5
5
|
logo?: import("./utils/index.js").Logo;
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
7
7
|
thickness?: string;
|
|
8
8
|
label?: string;
|
|
9
9
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
10
10
|
icon?: import("./index.js").Icon;
|
|
11
11
|
logo?: import("./utils/index.js").Logo;
|
|
12
|
-
size?: "
|
|
12
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
13
13
|
thickness?: string;
|
|
14
14
|
label?: string;
|
|
15
15
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -48,13 +48,13 @@ declare const meta: {
|
|
|
48
48
|
render: (args: import("@storybook/vue3").ComponentPropsAndSlots<import("vue").DefineComponent<{
|
|
49
49
|
icon?: import("./index.js").Icon;
|
|
50
50
|
logo?: import("./utils/index.js").Logo;
|
|
51
|
-
size?: "
|
|
51
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
52
52
|
thickness?: string;
|
|
53
53
|
label?: string;
|
|
54
54
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
55
55
|
icon?: import("./index.js").Icon;
|
|
56
56
|
logo?: import("./utils/index.js").Logo;
|
|
57
|
-
size?: "
|
|
57
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
58
58
|
thickness?: string;
|
|
59
59
|
label?: string;
|
|
60
60
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>>) => {
|
|
@@ -62,13 +62,13 @@ declare const meta: {
|
|
|
62
62
|
ScalarIcon: import("vue").DefineComponent<{
|
|
63
63
|
icon?: import("./index.js").Icon;
|
|
64
64
|
logo?: import("./utils/index.js").Logo;
|
|
65
|
-
size?: "
|
|
65
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
66
66
|
thickness?: string;
|
|
67
67
|
label?: string;
|
|
68
68
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
69
69
|
icon?: import("./index.js").Icon;
|
|
70
70
|
logo?: import("./utils/index.js").Logo;
|
|
71
|
-
size?: "
|
|
71
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
72
72
|
thickness?: string;
|
|
73
73
|
label?: string;
|
|
74
74
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -77,13 +77,13 @@ declare const meta: {
|
|
|
77
77
|
args: import("@storybook/vue3").ComponentPropsAndSlots<import("vue").DefineComponent<{
|
|
78
78
|
icon?: import("./index.js").Icon;
|
|
79
79
|
logo?: import("./utils/index.js").Logo;
|
|
80
|
-
size?: "
|
|
80
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
81
81
|
thickness?: string;
|
|
82
82
|
label?: string;
|
|
83
83
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
84
84
|
icon?: import("./index.js").Icon;
|
|
85
85
|
logo?: import("./utils/index.js").Logo;
|
|
86
|
-
size?: "
|
|
86
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
87
87
|
thickness?: string;
|
|
88
88
|
label?: string;
|
|
89
89
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarIcon.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarIcon/ScalarIcon.test.ts"],"names":[],"mappings":""}
|
|
@@ -12,7 +12,7 @@ type __VLS_Props = {
|
|
|
12
12
|
label?: string;
|
|
13
13
|
};
|
|
14
14
|
declare const iconProps: (props?: ({
|
|
15
|
-
size?: "
|
|
15
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
16
16
|
} & ({
|
|
17
17
|
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
18
18
|
[x: string]: any;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { openBlock as o, createElementBlock as n, createElementVNode as r } from "vue";
|
|
2
2
|
const t = {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
4
5
|
viewBox: "0 0 24 24"
|
|
5
6
|
};
|
|
6
7
|
function l(d, e) {
|
|
7
8
|
return o(), n("svg", t, e[0] || (e[0] = [
|
|
8
9
|
r("path", {
|
|
9
|
-
fill: "none",
|
|
10
10
|
stroke: "currentColor",
|
|
11
11
|
"stroke-linecap": "round",
|
|
12
12
|
"stroke-linejoin": "round",
|
|
13
|
-
d: "
|
|
13
|
+
d: "M5 11.988h14M12.006 5v14"
|
|
14
14
|
}, null, -1)
|
|
15
15
|
]));
|
|
16
16
|
}
|
|
@@ -8,17 +8,17 @@ declare const meta: {
|
|
|
8
8
|
icon: import("../ScalarIcon").Icon;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
variant?: string | undefined;
|
|
11
|
-
size?: "
|
|
11
|
+
size?: "sm" | "xs" | "md" | "full" | "xxs" | undefined;
|
|
12
12
|
thickness?: string;
|
|
13
13
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
14
14
|
label: string;
|
|
15
15
|
icon: import("../ScalarIcon").Icon;
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
variant?: string | undefined;
|
|
18
|
-
size?: "
|
|
18
|
+
size?: "sm" | "xs" | "md" | "full" | "xxs" | undefined;
|
|
19
19
|
thickness?: string;
|
|
20
20
|
}> & Readonly<{}>, {
|
|
21
|
-
size: "
|
|
21
|
+
size: "sm" | "xs" | "md" | "full" | "xxs";
|
|
22
22
|
variant: string;
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
tags: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarIconButton.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarIconButton/ScalarIconButton.test.ts"],"names":[],"mappings":""}
|
|
@@ -10,7 +10,7 @@ type __VLS_Props = {
|
|
|
10
10
|
thickness?: string;
|
|
11
11
|
};
|
|
12
12
|
declare const variants: (props?: ({
|
|
13
|
-
size?: "
|
|
13
|
+
size?: "sm" | "xs" | "md" | "full" | "xxs" | undefined;
|
|
14
14
|
disabled?: boolean | undefined;
|
|
15
15
|
variant?: string | undefined;
|
|
16
16
|
} & ({
|
|
@@ -69,7 +69,7 @@ declare const variants: (props?: ({
|
|
|
69
69
|
} | null | undefined;
|
|
70
70
|
})) | undefined) => string;
|
|
71
71
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
72
|
-
size: "
|
|
72
|
+
size: "sm" | "xs" | "md" | "full" | "xxs";
|
|
73
73
|
variant: string;
|
|
74
74
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
75
75
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarListbox.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarListbox/ScalarListbox.test.ts"],"names":[],"mappings":""}
|
|
@@ -5,10 +5,10 @@ import type { StoryObj } from '@storybook/vue3';
|
|
|
5
5
|
declare const meta: {
|
|
6
6
|
component: import("vue").DefineComponent<{
|
|
7
7
|
loadingState?: import("./ScalarLoading.vue.js").LoadingState;
|
|
8
|
-
size?: "
|
|
8
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
9
9
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
10
10
|
loadingState?: import("./ScalarLoading.vue.js").LoadingState;
|
|
11
|
-
size?: "
|
|
11
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
12
12
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
tags: string[];
|
|
14
14
|
argTypes: {
|
|
@@ -22,10 +22,10 @@ declare const meta: {
|
|
|
22
22
|
};
|
|
23
23
|
render: (args: import("@storybook/vue3").ComponentPropsAndSlots<import("vue").DefineComponent<{
|
|
24
24
|
loadingState?: import("./ScalarLoading.vue.js").LoadingState;
|
|
25
|
-
size?: "
|
|
25
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
26
26
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
27
27
|
loadingState?: import("./ScalarLoading.vue.js").LoadingState;
|
|
28
|
-
size?: "
|
|
28
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
29
29
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>>) => {
|
|
30
30
|
components: {
|
|
31
31
|
ScalarButton: {
|
|
@@ -85,19 +85,19 @@ declare const meta: {
|
|
|
85
85
|
});
|
|
86
86
|
ScalarLoading: import("vue").DefineComponent<{
|
|
87
87
|
loadingState?: import("./ScalarLoading.vue.js").LoadingState;
|
|
88
|
-
size?: "
|
|
88
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
89
89
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
90
90
|
loadingState?: import("./ScalarLoading.vue.js").LoadingState;
|
|
91
|
-
size?: "
|
|
91
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
92
92
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
93
93
|
};
|
|
94
94
|
setup(this: void): {
|
|
95
95
|
args: import("@storybook/vue3").ComponentPropsAndSlots<import("vue").DefineComponent<{
|
|
96
96
|
loadingState?: import("./ScalarLoading.vue.js").LoadingState;
|
|
97
|
-
size?: "
|
|
97
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
98
98
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
99
99
|
loadingState?: import("./ScalarLoading.vue.js").LoadingState;
|
|
100
|
-
size?: "
|
|
100
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
101
101
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>>;
|
|
102
102
|
loadingState: {
|
|
103
103
|
isValid: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarLoading.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarLoading/ScalarLoading.test.ts"],"names":[],"mappings":""}
|
|
@@ -16,10 +16,10 @@ export declare function useLoadingState(): {
|
|
|
16
16
|
};
|
|
17
17
|
declare const _default: import("vue").DefineComponent<{
|
|
18
18
|
loadingState?: LoadingState;
|
|
19
|
-
size?: "
|
|
19
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
20
20
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
21
21
|
loadingState?: LoadingState;
|
|
22
|
-
size?: "
|
|
22
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
|
|
23
23
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
export default _default;
|
|
25
25
|
//# sourceMappingURL=ScalarLoading.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarMenu.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenu.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarMenuButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarMenuButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuButton.vue"],"names":[],"mappings":"AAuCA,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;AAWF,iBAAS,cAAc;WA6DT,OAAO,IAA6B;;yBATrB,GAAG;uBACL,GAAG;;;;EAa7B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, openBlock as
|
|
1
|
+
import { defineComponent as p, openBlock as l, createElementBlock as c, mergeProps as u, unref as o, createElementVNode as t, renderSlot as n, createVNode as r, createTextVNode as i, toDisplayString as m } from "vue";
|
|
2
2
|
import { useBindCx as d } from "../../hooks/useBindCx.js";
|
|
3
3
|
import s from "../ScalarIcon/ScalarIcon.vue.js";
|
|
4
4
|
const f = { class: "h-5 w-auto" }, h = { class: "sr-only" }, y = /* @__PURE__ */ p({
|
|
@@ -9,7 +9,7 @@ const f = { class: "h-5 w-auto" }, h = { class: "sr-only" }, y = /* @__PURE__ */
|
|
|
9
9
|
},
|
|
10
10
|
setup(b) {
|
|
11
11
|
const { cx: a } = d();
|
|
12
|
-
return (e, g) => (
|
|
12
|
+
return (e, g) => (l(), c("button", u(
|
|
13
13
|
{
|
|
14
14
|
class: "",
|
|
15
15
|
type: "button"
|
|
@@ -31,8 +31,7 @@ const f = { class: "h-5 w-auto" }, h = { class: "sr-only" }, y = /* @__PURE__ */
|
|
|
31
31
|
r(o(s), {
|
|
32
32
|
class: "text-c-3 group-hover/button:text-c-1",
|
|
33
33
|
icon: e.open ? "ChevronUp" : "ChevronDown",
|
|
34
|
-
size: "sm"
|
|
35
|
-
thickness: "2.5"
|
|
34
|
+
size: "sm"
|
|
36
35
|
}, null, 8, ["icon"])
|
|
37
36
|
], 16));
|
|
38
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarMenuTeamPicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuTeamPicker.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarMenuTeamPicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuTeamPicker.vue"],"names":[],"mappings":"AAmDA,OAAO,EAIL,KAAK,mBAAmB,EACzB,MAAM,OAAO,CAAA;AAKd,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAA;IACtC,KAAK,EAAE,mBAAmB,EAAE,CAAA;CAC7B,CAAC;;;;;;AAwGF,wBAOG"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as d, computed as u, openBlock as f, createElementBlock as x, normalizeProps as _, guardReactiveProps as v, unref as o, createVNode as a, withCtx as
|
|
2
|
-
import { useBindCx as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { defineComponent as d, computed as u, openBlock as f, createElementBlock as x, normalizeProps as _, guardReactiveProps as v, unref as o, createVNode as a, withCtx as r, createTextVNode as V, toDisplayString as g } from "vue";
|
|
2
|
+
import { useBindCx as h } from "../../hooks/useBindCx.js";
|
|
3
|
+
import C from "../ScalarListbox/ScalarListbox.vue.js";
|
|
4
|
+
import b from "../ScalarButton/ScalarButton.vue.js";
|
|
5
|
+
import k from "../ScalarIcon/ScalarIcon.vue.js";
|
|
6
6
|
const y = /* @__PURE__ */ d({
|
|
7
7
|
inheritAttrs: !1,
|
|
8
8
|
__name: "ScalarMenuTeamPicker",
|
|
@@ -11,33 +11,32 @@ const y = /* @__PURE__ */ d({
|
|
|
11
11
|
teams: {}
|
|
12
12
|
},
|
|
13
13
|
emits: ["update:team"],
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
16
|
-
get: () =>
|
|
14
|
+
setup(s, { emit: l }) {
|
|
15
|
+
const i = s, p = l, m = u({
|
|
16
|
+
get: () => i.team,
|
|
17
17
|
set: (e) => p("update:team", e)
|
|
18
|
-
}), { cx: c } =
|
|
19
|
-
return (e,
|
|
20
|
-
a(o(
|
|
21
|
-
modelValue:
|
|
22
|
-
"onUpdate:modelValue":
|
|
18
|
+
}), { cx: c } = h();
|
|
19
|
+
return (e, n) => (f(), x("div", _(v(o(c)("flex flex-col pb-px"))), [
|
|
20
|
+
a(o(C), {
|
|
21
|
+
modelValue: m.value,
|
|
22
|
+
"onUpdate:modelValue": n[0] || (n[0] = (t) => m.value = t),
|
|
23
23
|
options: e.teams,
|
|
24
24
|
placement: "bottom-end",
|
|
25
25
|
resize: ""
|
|
26
26
|
}, {
|
|
27
|
-
default:
|
|
28
|
-
a(o(
|
|
27
|
+
default: r(() => [
|
|
28
|
+
a(o(b), {
|
|
29
29
|
class: "h-auto px-2.5 py-1 text-xs leading shadow-none",
|
|
30
30
|
variant: "outlined"
|
|
31
31
|
}, {
|
|
32
|
-
default:
|
|
32
|
+
default: r(() => {
|
|
33
33
|
var t;
|
|
34
34
|
return [
|
|
35
|
-
|
|
36
|
-
a(o(
|
|
35
|
+
V(g((t = e.team) == null ? void 0 : t.label) + " ", 1),
|
|
36
|
+
a(o(k), {
|
|
37
37
|
class: "ml-auto text-c-2",
|
|
38
38
|
icon: "ChevronDown",
|
|
39
|
-
size: "
|
|
40
|
-
thickness: "2.5"
|
|
39
|
+
size: "sm"
|
|
41
40
|
})
|
|
42
41
|
];
|
|
43
42
|
}),
|
|
@@ -10,10 +10,10 @@ declare const meta: {
|
|
|
10
10
|
title?: string;
|
|
11
11
|
bodyClass?: string;
|
|
12
12
|
maxWidth?: string;
|
|
13
|
-
size?: "
|
|
13
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs" | undefined;
|
|
14
14
|
variant?: "form" | "search" | "error" | "history" | undefined;
|
|
15
15
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
16
|
-
size: "
|
|
16
|
+
size: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs";
|
|
17
17
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
18
18
|
P: {};
|
|
19
19
|
B: {};
|
|
@@ -26,10 +26,10 @@ declare const meta: {
|
|
|
26
26
|
title?: string;
|
|
27
27
|
bodyClass?: string;
|
|
28
28
|
maxWidth?: string;
|
|
29
|
-
size?: "
|
|
29
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs" | undefined;
|
|
30
30
|
variant?: "form" | "search" | "error" | "history" | undefined;
|
|
31
31
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
32
|
-
size: "
|
|
32
|
+
size: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs";
|
|
33
33
|
}>;
|
|
34
34
|
__isFragment?: never;
|
|
35
35
|
__isTeleport?: never;
|
|
@@ -39,10 +39,10 @@ declare const meta: {
|
|
|
39
39
|
title?: string;
|
|
40
40
|
bodyClass?: string;
|
|
41
41
|
maxWidth?: string;
|
|
42
|
-
size?: "
|
|
42
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs" | undefined;
|
|
43
43
|
variant?: "form" | "search" | "error" | "history" | undefined;
|
|
44
44
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
45
|
-
size: "
|
|
45
|
+
size: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs";
|
|
46
46
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
47
47
|
$slots: {
|
|
48
48
|
default?(_: {}): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarModal.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarModal/ScalarModal.test.ts"],"names":[],"mappings":""}
|
|
@@ -9,17 +9,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
9
9
|
title?: string;
|
|
10
10
|
bodyClass?: string;
|
|
11
11
|
maxWidth?: string;
|
|
12
|
-
size?: "
|
|
12
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs" | undefined;
|
|
13
13
|
variant?: "form" | "search" | "error" | "history" | undefined;
|
|
14
14
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
15
15
|
state: ReturnType<typeof useModal>;
|
|
16
16
|
title?: string;
|
|
17
17
|
bodyClass?: string;
|
|
18
18
|
maxWidth?: string;
|
|
19
|
-
size?: "
|
|
19
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs" | undefined;
|
|
20
20
|
variant?: "form" | "search" | "error" | "history" | undefined;
|
|
21
21
|
}> & Readonly<{}>, {
|
|
22
|
-
size: "
|
|
22
|
+
size: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs";
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
24
24
|
default?(_: {}): any;
|
|
25
25
|
default?(_: {}): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarPopover.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarPopover/ScalarPopover.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarSearchInput.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchInput/ScalarSearchInput.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarSearchResults.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchResults/ScalarSearchResults.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarTextField.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarTextField/ScalarTextField.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarToggle.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarToggle/ScalarToggle.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarTooltip.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarTooltip/ScalarTooltip.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarVirtualText.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarVirtualText/ScalarVirtualText.test.ts"],"names":[],"mappings":""}
|