@scalar/components 0.14.14 → 0.14.17
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/ScalarCombobox/ScalarCombobox.stories.d.ts +6 -6
- package/dist/components/ScalarCombobox/ScalarCombobox.vue.d.ts +6 -7
- package/dist/components/ScalarCombobox/ScalarCombobox.vue.d.ts.map +1 -1
- package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.d.ts +1 -3
- package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.d.ts.map +1 -1
- package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.js +53 -53
- package/dist/components/ScalarCombobox/types.d.ts +3 -3
- package/dist/components/ScalarCombobox/types.d.ts.map +1 -1
- package/dist/components/ScalarDropdown/ScalarDropdown.stories.d.ts +16 -16
- package/dist/components/ScalarDropdown/ScalarDropdown.vue.d.ts +4 -4
- package/dist/components/ScalarDropdown/ScalarDropdown.vue.d.ts.map +1 -1
- package/dist/components/ScalarDropdown/ScalarDropdownMenu.vue.d.ts +4 -4
- package/dist/components/ScalarDropdown/ScalarDropdownMenu.vue.d.ts.map +1 -1
- package/dist/components/ScalarFileUpload/ScalarFileUpload.stories.d.ts +40 -40
- package/dist/components/ScalarFileUpload/ScalarFileUpload.vue.d.ts +10 -10
- package/dist/components/ScalarFileUpload/ScalarFileUpload.vue.d.ts.map +1 -1
- package/dist/components/ScalarFileUpload/types.d.ts +2 -2
- package/dist/components/ScalarFileUpload/types.d.ts.map +1 -1
- package/dist/components/ScalarFloating/ScalarFloating.vue.d.ts +4 -5
- package/dist/components/ScalarFloating/ScalarFloating.vue.d.ts.map +1 -1
- package/dist/components/ScalarHeader/ScalarHeader.stories.d.ts +26 -26
- package/dist/components/ScalarHeader/ScalarHeader.vue.d.ts +6 -6
- package/dist/components/ScalarHeader/ScalarHeader.vue.d.ts.map +1 -1
- package/dist/components/ScalarHeader/ScalarHeaderButton.vue.d.ts +2 -2
- package/dist/components/ScalarHeader/ScalarHeaderButton.vue.d.ts.map +1 -1
- package/dist/components/ScalarIcon/ScalarIcon.stories.d.ts +1 -1
- package/dist/components/ScalarIcon/icons/index.d.ts +1 -1
- package/dist/components/ScalarIcon/icons/index.d.ts.map +1 -1
- package/dist/components/ScalarIcon/icons/programming-language-rust.svg.js +19 -0
- package/dist/components/ScalarIcon/utils/index.js +68 -66
- package/dist/components/ScalarIconButton/ScalarIconButton.stories.d.ts +1 -1
- package/dist/components/ScalarListbox/ScalarListbox.stories.d.ts +2 -2
- package/dist/components/ScalarListbox/ScalarListbox.vue.d.ts +2 -2
- package/dist/components/ScalarListbox/ScalarListbox.vue.d.ts.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenu.stories.d.ts +32 -32
- package/dist/components/ScalarMenu/ScalarMenu.vue.d.ts +8 -8
- package/dist/components/ScalarMenu/ScalarMenu.vue.d.ts.map +1 -1
- package/dist/components/ScalarMenu/types.d.ts +2 -2
- package/dist/components/ScalarMenu/types.d.ts.map +1 -1
- package/dist/components/ScalarPopover/types.d.ts +3 -3
- package/dist/components/ScalarPopover/types.d.ts.map +1 -1
- package/dist/components/ScalarSearchInput/ScalarSearchInput.vue.d.ts.map +1 -1
- package/dist/components/ScalarSearchInput/ScalarSearchInput.vue.js +27 -27
- package/dist/components/ScalarSearchResults/ScalarSearchResultItem.vue.d.ts.map +1 -1
- package/dist/components/ScalarSearchResults/ScalarSearchResultItem.vue.js +13 -14
- package/dist/components/ScalarSearchResults/ScalarSearchResultList.vue.d.ts.map +1 -1
- package/dist/components/ScalarSearchResults/ScalarSearchResultList.vue.js +11 -12
- package/dist/components/ScalarSidebar/ScalarSidebar.stories.d.ts +2 -1
- package/dist/components/ScalarSidebar/ScalarSidebar.stories.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarButton.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarButton.vue.js +26 -20
- package/dist/components/ScalarSidebar/ScalarSidebarFooter.vue.d.ts +6 -6
- package/dist/components/ScalarSidebar/ScalarSidebarFooter.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue.d.ts +12 -12
- package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue.js +11 -11
- package/dist/components/ScalarSidebar/ScalarSidebarGroupToggle.vue.d.ts +8 -8
- package/dist/components/ScalarSidebar/ScalarSidebarGroupToggle.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarGroupToggle.vue.js +12 -15
- package/dist/components/ScalarSidebar/ScalarSidebarIndent.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarIndent.vue.js +4 -4
- package/dist/components/ScalarSidebar/ScalarSidebarIndent.vue2.js +2 -2
- package/dist/components/ScalarSidebar/ScalarSidebarItems.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarItems.vue.js +16 -10
- package/dist/components/ScalarSidebar/ScalarSidebarItems.vue3.js +5 -0
- package/dist/components/ScalarSidebar/ScalarSidebarNestedItems.vue.d.ts +65 -0
- package/dist/components/ScalarSidebar/ScalarSidebarNestedItems.vue.d.ts.map +1 -0
- package/dist/components/ScalarSidebar/ScalarSidebarPlayground.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarSection.vue.d.ts +4 -4
- package/dist/components/ScalarSidebar/ScalarSidebarSection.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarSpacer.vue.d.ts +2 -2
- package/dist/components/ScalarSidebar/ScalarSidebarSpacer.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/findScrollContainer.d.ts +5 -0
- package/dist/components/ScalarSidebar/findScrollContainer.d.ts.map +1 -0
- package/dist/components/ScalarSidebar/findScrollContainer.test.d.ts +2 -0
- package/dist/components/ScalarSidebar/findScrollContainer.test.d.ts.map +1 -0
- package/dist/components/ScalarSidebar/types.d.ts +4 -4
- package/dist/components/ScalarSidebar/types.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/useSidebarGroups.d.ts +10 -5
- package/dist/components/ScalarSidebar/useSidebarGroups.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/useSidebarGroups.js +6 -8
- package/dist/components/ScalarSidebar/useSidebarNestedItems.d.ts +19 -0
- package/dist/components/ScalarSidebar/useSidebarNestedItems.d.ts.map +1 -0
- package/dist/components/ScalarSidebar/useSidebarNestedItems.js +12 -0
- package/dist/components/ScalarSidebar/useSidebarNestedItems.test.d.ts +2 -0
- package/dist/components/ScalarSidebar/useSidebarNestedItems.test.d.ts.map +1 -0
- package/dist/components/ScalarTeleport/ScalarTeleport.vue.d.ts +2 -2
- package/dist/components/ScalarTeleport/ScalarTeleport.vue.d.ts.map +1 -1
- package/dist/components/ScalarTeleport/ScalarTeleportRoot.vue.d.ts +2 -2
- package/dist/components/ScalarTeleport/ScalarTeleportRoot.vue.d.ts.map +1 -1
- package/dist/components/ScalarToggle/ScalarToggle.vue.js +2 -2
- package/dist/components/ScalarTooltip/useTooltip.d.ts.map +1 -1
- package/dist/components/ScalarTooltip/useTooltip.js +16 -16
- package/dist/index.js +155 -154
- package/dist/style.css +1 -1
- package/package.json +8 -8
- package/dist/components/ScalarSidebar/ScalarSidebarItems.vue2.js +0 -4
|
@@ -14,15 +14,15 @@ declare const meta: {
|
|
|
14
14
|
__isSuspense?: never;
|
|
15
15
|
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
16
16
|
$slots: Readonly<{
|
|
17
|
-
button
|
|
18
|
-
products
|
|
19
|
-
profile
|
|
20
|
-
sections
|
|
17
|
+
button?(p: import("./types").ScalarMenuButtonProps): unknown;
|
|
18
|
+
products?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
19
|
+
profile?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
20
|
+
sections?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
21
21
|
} & import("./types").ScalarMenuButtonSlots> & {
|
|
22
|
-
button
|
|
23
|
-
products
|
|
24
|
-
profile
|
|
25
|
-
sections
|
|
22
|
+
button?(p: import("./types").ScalarMenuButtonProps): unknown;
|
|
23
|
+
products?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
24
|
+
profile?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
25
|
+
sections?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
26
26
|
} & import("./types").ScalarMenuButtonSlots;
|
|
27
27
|
});
|
|
28
28
|
tags: string[];
|
|
@@ -52,15 +52,15 @@ declare const meta: {
|
|
|
52
52
|
__isSuspense?: never;
|
|
53
53
|
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
54
54
|
$slots: Readonly<{
|
|
55
|
-
button
|
|
56
|
-
products
|
|
57
|
-
profile
|
|
58
|
-
sections
|
|
55
|
+
button?(p: import("./types").ScalarMenuButtonProps): unknown;
|
|
56
|
+
products?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
57
|
+
profile?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
58
|
+
sections?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
59
59
|
} & import("./types").ScalarMenuButtonSlots> & {
|
|
60
|
-
button
|
|
61
|
-
products
|
|
62
|
-
profile
|
|
63
|
-
sections
|
|
60
|
+
button?(p: import("./types").ScalarMenuButtonProps): unknown;
|
|
61
|
+
products?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
62
|
+
profile?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
63
|
+
sections?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
64
64
|
} & import("./types").ScalarMenuButtonSlots;
|
|
65
65
|
})>) => {
|
|
66
66
|
components: {
|
|
@@ -78,15 +78,15 @@ declare const meta: {
|
|
|
78
78
|
__isSuspense?: never;
|
|
79
79
|
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
80
80
|
$slots: Readonly<{
|
|
81
|
-
button
|
|
82
|
-
products
|
|
83
|
-
profile
|
|
84
|
-
sections
|
|
81
|
+
button?(p: import("./types").ScalarMenuButtonProps): unknown;
|
|
82
|
+
products?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
83
|
+
profile?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
84
|
+
sections?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
85
85
|
} & import("./types").ScalarMenuButtonSlots> & {
|
|
86
|
-
button
|
|
87
|
-
products
|
|
88
|
-
profile
|
|
89
|
-
sections
|
|
86
|
+
button?(p: import("./types").ScalarMenuButtonProps): unknown;
|
|
87
|
+
products?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
88
|
+
profile?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
89
|
+
sections?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
90
90
|
} & import("./types").ScalarMenuButtonSlots;
|
|
91
91
|
});
|
|
92
92
|
};
|
|
@@ -105,15 +105,15 @@ declare const meta: {
|
|
|
105
105
|
__isSuspense?: never;
|
|
106
106
|
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
107
107
|
$slots: Readonly<{
|
|
108
|
-
button
|
|
109
|
-
products
|
|
110
|
-
profile
|
|
111
|
-
sections
|
|
108
|
+
button?(p: import("./types").ScalarMenuButtonProps): unknown;
|
|
109
|
+
products?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
110
|
+
profile?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
111
|
+
sections?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
112
112
|
} & import("./types").ScalarMenuButtonSlots> & {
|
|
113
|
-
button
|
|
114
|
-
products
|
|
115
|
-
profile
|
|
116
|
-
sections
|
|
113
|
+
button?(p: import("./types").ScalarMenuButtonProps): unknown;
|
|
114
|
+
products?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
115
|
+
profile?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
116
|
+
sections?(p: import("./types").ScalarMenuSlotProps): unknown;
|
|
117
117
|
} & import("./types").ScalarMenuButtonSlots;
|
|
118
118
|
})>;
|
|
119
119
|
};
|
|
@@ -3,22 +3,22 @@ declare function __VLS_template(): {
|
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: Readonly<{
|
|
5
5
|
/** Overrides the entire menu button */
|
|
6
|
-
button
|
|
6
|
+
button?(p: ScalarMenuButtonProps): unknown;
|
|
7
7
|
/** Overrides the products list */
|
|
8
|
-
products
|
|
8
|
+
products?(p: ScalarMenuSlotProps): unknown;
|
|
9
9
|
/** Adds items the profile section (e.g. a team picker) */
|
|
10
|
-
profile
|
|
10
|
+
profile?(p: ScalarMenuSlotProps): unknown;
|
|
11
11
|
/** Overrides the resources section */
|
|
12
|
-
sections
|
|
12
|
+
sections?(p: ScalarMenuSlotProps): unknown;
|
|
13
13
|
} & ScalarMenuButtonSlots> & {
|
|
14
14
|
/** Overrides the entire menu button */
|
|
15
|
-
button
|
|
15
|
+
button?(p: ScalarMenuButtonProps): unknown;
|
|
16
16
|
/** Overrides the products list */
|
|
17
|
-
products
|
|
17
|
+
products?(p: ScalarMenuSlotProps): unknown;
|
|
18
18
|
/** Adds items the profile section (e.g. a team picker) */
|
|
19
|
-
profile
|
|
19
|
+
profile?(p: ScalarMenuSlotProps): unknown;
|
|
20
20
|
/** Overrides the resources section */
|
|
21
|
-
sections
|
|
21
|
+
sections?(p: ScalarMenuSlotProps): unknown;
|
|
22
22
|
} & ScalarMenuButtonSlots;
|
|
23
23
|
refs: {};
|
|
24
24
|
rootEl: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenu.vue"],"names":[],"mappings":"AA6FA,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACpB,MAAM,SAAS,CAAA;AAgChB,iBAAS,cAAc;WA+FT,OAAO,IAA6B;;QAzH9C,uCAAuC;
|
|
1
|
+
{"version":3,"file":"ScalarMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenu.vue"],"names":[],"mappings":"AA6FA,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACpB,MAAM,SAAS,CAAA;AAgChB,iBAAS,cAAc;WA+FT,OAAO,IAA6B;;QAzH9C,uCAAuC;mBAC5B,qBAAqB,GAAG,OAAO;QAC1C,kCAAkC;qBACrB,mBAAmB,GAAG,OAAO;QAC1C,0DAA0D;oBAC9C,mBAAmB,GAAG,OAAO;QACzC,sCAAsC;qBACzB,mBAAmB,GAAG,OAAO;;QAP1C,uCAAuC;mBAC5B,qBAAqB,GAAG,OAAO;QAC1C,kCAAkC;qBACrB,mBAAmB,GAAG,OAAO;QAC1C,0DAA0D;oBAC9C,mBAAmB,GAAG,OAAO;QACzC,sCAAsC;qBACzB,mBAAmB,GAAG,OAAO;;;;EAuH7C;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -17,12 +17,12 @@ export type ScalarMenuButtonSlots = {
|
|
|
17
17
|
* @default The Scalar logo
|
|
18
18
|
* @example <img class="h-full aspect-square bg-b-3 rounded" :src="..." />
|
|
19
19
|
*/
|
|
20
|
-
logo
|
|
20
|
+
logo?(): unknown;
|
|
21
21
|
/**
|
|
22
22
|
* Overrides the screen reader label in the menu button
|
|
23
23
|
* @default open ? 'Close Menu' : 'Open Menu'
|
|
24
24
|
*/
|
|
25
|
-
label
|
|
25
|
+
label?(): unknown;
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* Props for the ScalarMenuButton component and the ScalarMenu button slot
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAA;AAEhD;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,mBAAmB,GAAG;IACvD,+BAA+B;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;OAIG;IACH,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAA;AAEhD;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,mBAAmB,GAAG;IACvD,+BAA+B;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;OAIG;IACH,IAAI,CAAC,IAAI,OAAO,CAAA;IAChB;;;OAGG;IACH,KAAK,CAAC,IAAI,OAAO,CAAA;CAClB,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,+BAA+B;IAC/B,IAAI,EAAE,OAAO,CAAA;CACd,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,mCAAmC;IACnC,KAAK,EAAE,MAAM,IAAI,CAAA;CAClB,CAAA"}
|
|
@@ -2,18 +2,18 @@ export type Slots = {
|
|
|
2
2
|
default(props: {
|
|
3
3
|
/** Whether or not the popover is open */
|
|
4
4
|
open: boolean;
|
|
5
|
-
}):
|
|
5
|
+
}): unknown;
|
|
6
6
|
/** The popover contents */
|
|
7
7
|
popover(props: {
|
|
8
8
|
/** Whether or not the popover is open */
|
|
9
9
|
open: boolean;
|
|
10
10
|
/** A callback to close the popover */
|
|
11
11
|
close: () => void;
|
|
12
|
-
}):
|
|
12
|
+
}): unknown;
|
|
13
13
|
/** Overrides the popover backdrop */
|
|
14
14
|
backdrop?(props: {
|
|
15
15
|
/** Whether or not the popover is open */
|
|
16
16
|
open: boolean;
|
|
17
|
-
}):
|
|
17
|
+
}): unknown;
|
|
18
18
|
};
|
|
19
19
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarPopover/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG;IAClB,OAAO,CAAC,KAAK,EAAE;QACb,yCAAyC;QACzC,IAAI,EAAE,OAAO,CAAA;KACd,GAAG,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarPopover/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG;IAClB,OAAO,CAAC,KAAK,EAAE;QACb,yCAAyC;QACzC,IAAI,EAAE,OAAO,CAAA;KACd,GAAG,OAAO,CAAA;IACX,2BAA2B;IAC3B,OAAO,CAAC,KAAK,EAAE;QACb,yCAAyC;QACzC,IAAI,EAAE,OAAO,CAAA;QACb,sCAAsC;QACtC,KAAK,EAAE,MAAM,IAAI,CAAA;KAClB,GAAG,OAAO,CAAA;IACX,qCAAqC;IACrC,QAAQ,CAAC,CAAC,KAAK,EAAE;QACf,yCAAyC;QACzC,IAAI,EAAE,OAAO,CAAA;KACd,GAAG,OAAO,CAAA;CACZ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSearchInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchInput/ScalarSearchInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSearchInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchInput/ScalarSearchInput.vue"],"names":[],"mappings":"AAkFA,OAAO,EAAE,KAAK,YAAY,EAAiB,MAAM,kBAAkB,CAAA;AAInE;;;;;;;;;;;GAWG;;iBAgCU,MAAM;;cA5BP,YAAY;YACd,MAAM;;;;iBA2BH,MAAM;;cA5BP,YAAY;YACd,MAAM;;;;AAJhB,wBA2JC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { defineComponent as f, mergeModels as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { defineComponent as f, mergeModels as p, useModel as m, ref as g, createElementBlock as h, openBlock as t, normalizeProps as v, guardReactiveProps as b, unref as e, createVNode as k, withDirectives as _, createBlock as n, createCommentVNode as C, createElementVNode as S, mergeProps as V, vModelText as y, withModifiers as M } from "vue";
|
|
2
|
+
import { ScalarIconMagnifyingGlass as x } from "@scalar/icons";
|
|
3
|
+
import { useBindCx as z } from "@scalar/use-hooks/useBindCx";
|
|
4
|
+
import B from "../ScalarLoading/ScalarLoading.vue.js";
|
|
5
|
+
import E from "../ScalarIconButton/ScalarIconButton.vue.js";
|
|
6
|
+
const N = ["aria-label"], P = {}, q = /* @__PURE__ */ f({
|
|
7
|
+
...P,
|
|
7
8
|
inheritAttrs: !1,
|
|
8
9
|
__name: "ScalarSearchInput",
|
|
9
|
-
props: /* @__PURE__ */
|
|
10
|
+
props: /* @__PURE__ */ p({
|
|
10
11
|
loading: {},
|
|
11
12
|
label: {}
|
|
12
13
|
}, {
|
|
@@ -15,20 +16,19 @@ const B = ["aria-label"], E = {}, L = /* @__PURE__ */ f({
|
|
|
15
16
|
}),
|
|
16
17
|
emits: ["update:modelValue"],
|
|
17
18
|
setup(s) {
|
|
18
|
-
const
|
|
19
|
+
const a = m(s, "modelValue"), o = g(null);
|
|
19
20
|
function i() {
|
|
20
|
-
|
|
21
|
+
a.value = "", o.value && o.value.focus();
|
|
21
22
|
}
|
|
22
|
-
const { classCx:
|
|
23
|
-
return (
|
|
24
|
-
|
|
25
|
-
"flex items-center rounded border text-sm font-medium has-[:focus-visible]:bg-b-1 bg-b-1.5 has-[:focus-visible]:outline h-10 p-3"
|
|
26
|
-
)
|
|
23
|
+
const { classCx: c, otherAttrs: d } = z();
|
|
24
|
+
return (l, r) => (t(), h("label", v(b(
|
|
25
|
+
e(c)("flex items-center text-lg font-medium h-10 p-3 pr-1 h-14 gap-2")
|
|
27
26
|
)), [
|
|
28
|
-
k(
|
|
27
|
+
k(e(x), { class: "text-sidebar-c-search size-4" }),
|
|
28
|
+
_(S("input", V({
|
|
29
29
|
ref_key: "inputRef",
|
|
30
|
-
ref:
|
|
31
|
-
"aria-label":
|
|
30
|
+
ref: o,
|
|
31
|
+
"aria-label": l.label ?? "Enter search query",
|
|
32
32
|
autocapitalize: "off",
|
|
33
33
|
autocomplete: "off",
|
|
34
34
|
autocorrect: "off",
|
|
@@ -36,27 +36,27 @@ const B = ["aria-label"], E = {}, L = /* @__PURE__ */ f({
|
|
|
36
36
|
placeholder: "Search...",
|
|
37
37
|
spellcheck: "false",
|
|
38
38
|
type: "search"
|
|
39
|
-
},
|
|
40
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
41
|
-
}), null, 16,
|
|
42
|
-
[
|
|
39
|
+
}, e(d), {
|
|
40
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => a.value = u)
|
|
41
|
+
}), null, 16, N), [
|
|
42
|
+
[y, a.value]
|
|
43
43
|
]),
|
|
44
|
-
|
|
44
|
+
l.loading && l.loading.isLoading ? (t(), n(e(B), {
|
|
45
45
|
key: 0,
|
|
46
46
|
class: "self-center",
|
|
47
|
-
loadingState:
|
|
47
|
+
loadingState: l.loading,
|
|
48
48
|
size: "md"
|
|
49
|
-
}, null, 8, ["loadingState"])) :
|
|
49
|
+
}, null, 8, ["loadingState"])) : a.value ? (t(), n(e(E), {
|
|
50
50
|
key: 1,
|
|
51
51
|
class: "p-0 size-5",
|
|
52
52
|
icon: "Close",
|
|
53
53
|
label: "Clear Search",
|
|
54
54
|
thickness: "1.5",
|
|
55
|
-
onClick:
|
|
56
|
-
})) :
|
|
55
|
+
onClick: M(i, ["stop", "prevent"])
|
|
56
|
+
})) : C("", !0)
|
|
57
57
|
], 16));
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
export {
|
|
61
|
-
|
|
61
|
+
q as default
|
|
62
62
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSearchResultItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchResults/ScalarSearchResultItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSearchResultItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchResults/ScalarSearchResultItem.vue"],"names":[],"mappings":"AA4DA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAG9D,OAAO,EAAE,KAAK,IAAI,EAA2B,MAAM,eAAe,CAAA;AAIlE,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,mBAAmB,CAAA;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAWF,iBAAS,cAAc;WAkGT,OAAO,IAA6B;;sBAXxB,GAAG;yBACA,GAAG;uBACL,GAAG;6BACG,GAAG;;;;EAanC;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,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as c, createElementBlock as o, openBlock as t, mergeProps as
|
|
1
|
+
import { defineComponent as c, createElementBlock as o, openBlock as t, mergeProps as d, unref as l, createCommentVNode as s, createElementVNode as n, renderSlot as r, createBlock as m } from "vue";
|
|
2
2
|
import { useBindCx as p } from "@scalar/use-hooks/useBindCx";
|
|
3
3
|
import u from "../ScalarIcon/ScalarIconLegacyAdapter.vue.js";
|
|
4
4
|
const f = ["aria-selected"], h = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex h-fit items-center text-sm font-medium text-c-3 group-hover:text-c-1"
|
|
7
|
-
}, _ = { class: "flex min-w-0 flex-1 flex-col gap-0.75" },
|
|
7
|
+
}, _ = { class: "flex min-w-0 flex-1 flex-col gap-0.75" }, b = { class: "flex items-center gap-1" }, x = { class: "flex-1 truncate zoomed:!whitespace-normal break-words text-base font-medium" }, k = {
|
|
8
8
|
key: 0,
|
|
9
|
-
class: "text-
|
|
10
|
-
},
|
|
9
|
+
class: "text-base text-c-2"
|
|
10
|
+
}, g = {
|
|
11
11
|
key: 0,
|
|
12
|
-
class: "truncate zoomed:!whitespace-normal break-words text-
|
|
12
|
+
class: "truncate zoomed:!whitespace-normal break-words text-base text-c-2"
|
|
13
13
|
}, B = /* @__PURE__ */ c({
|
|
14
14
|
inheritAttrs: !1,
|
|
15
15
|
__name: "ScalarSearchResultItem",
|
|
@@ -18,15 +18,15 @@ const f = ["aria-selected"], h = {
|
|
|
18
18
|
selected: { type: Boolean }
|
|
19
19
|
},
|
|
20
20
|
setup(v) {
|
|
21
|
-
const { cx:
|
|
22
|
-
return (e, i) => (t(), o("a",
|
|
21
|
+
const { cx: a } = p();
|
|
22
|
+
return (e, i) => (t(), o("a", d(
|
|
23
23
|
{
|
|
24
24
|
"aria-selected": e.selected,
|
|
25
25
|
role: "option",
|
|
26
26
|
tabindex: "-1"
|
|
27
27
|
},
|
|
28
|
-
l(
|
|
29
|
-
"group flex cursor-pointer gap-2
|
|
28
|
+
l(a)(
|
|
29
|
+
"group flex cursor-pointer gap-2 rounded px-2 py-1.5 no-underline hover:bg-b-2",
|
|
30
30
|
{ "bg-b-2": e.selected }
|
|
31
31
|
)
|
|
32
32
|
), [
|
|
@@ -35,22 +35,21 @@ const f = ["aria-selected"], h = {
|
|
|
35
35
|
e.icon ? (t(), m(l(u), {
|
|
36
36
|
key: 0,
|
|
37
37
|
icon: e.icon,
|
|
38
|
-
|
|
39
|
-
weight: "bold"
|
|
38
|
+
class: "size-4"
|
|
40
39
|
}, null, 8, ["icon"])) : s("", !0)
|
|
41
40
|
]),
|
|
42
41
|
i[0] || (i[0] = n("span", null, " ", -1))
|
|
43
42
|
])) : s("", !0),
|
|
44
43
|
n("div", _, [
|
|
45
|
-
n("div",
|
|
46
|
-
n("div",
|
|
44
|
+
n("div", b, [
|
|
45
|
+
n("div", x, [
|
|
47
46
|
r(e.$slots, "default")
|
|
48
47
|
]),
|
|
49
48
|
e.$slots.addon ? (t(), o("div", k, [
|
|
50
49
|
r(e.$slots, "addon")
|
|
51
50
|
])) : s("", !0)
|
|
52
51
|
]),
|
|
53
|
-
e.$slots.description ? (t(), o("div",
|
|
52
|
+
e.$slots.description ? (t(), o("div", g, [
|
|
54
53
|
r(e.$slots, "description")
|
|
55
54
|
])) : s("", !0)
|
|
56
55
|
])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSearchResultList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchResults/ScalarSearchResultList.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSearchResultList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchResults/ScalarSearchResultList.vue"],"names":[],"mappings":"AAkCA,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AAWF,iBAAS,cAAc;WAkDT,OAAO,IAA6B;;2BATnB,GAAG;yBACL,GAAG;;;;EAa/B;AASD,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,24 +1,23 @@
|
|
|
1
|
-
import { defineComponent as r, createElementBlock as n, openBlock as a, mergeProps as m, unref as
|
|
2
|
-
import { useBindCx as
|
|
1
|
+
import { defineComponent as r, createElementBlock as n, openBlock as a, mergeProps as m, unref as p, renderSlot as o, createCommentVNode as u, createElementVNode as s } from "vue";
|
|
2
|
+
import { useBindCx as f } from "@scalar/use-hooks/useBindCx";
|
|
3
3
|
const x = /* @__PURE__ */ r({
|
|
4
4
|
inheritAttrs: !1,
|
|
5
5
|
__name: "ScalarSearchResultList",
|
|
6
6
|
props: {
|
|
7
7
|
noResults: { type: Boolean }
|
|
8
8
|
},
|
|
9
|
-
setup(
|
|
10
|
-
const { cx: l } =
|
|
11
|
-
return (e,
|
|
12
|
-
e.noResults ?
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
class: "text-sm font-medium text-c-2",
|
|
9
|
+
setup(i) {
|
|
10
|
+
const { cx: l } = f();
|
|
11
|
+
return (e, t) => (a(), n("div", m({ role: "listbox" }, p(l)("flex flex-col")), [
|
|
12
|
+
e.noResults ? o(e.$slots, "noResults", { key: 0 }, () => [
|
|
13
|
+
t[0] || (t[0] = s("div", { class: "flex flex-col items-center gap-2 px-3 py-4" }, [
|
|
14
|
+
s("div", {
|
|
15
|
+
class: "text-base font-medium text-c-2",
|
|
17
16
|
role: "alert"
|
|
18
17
|
}, " No results found ")
|
|
19
18
|
], -1))
|
|
20
|
-
]) :
|
|
21
|
-
|
|
19
|
+
]) : u("", !0),
|
|
20
|
+
o(e.$slots, "default")
|
|
22
21
|
], 16));
|
|
23
22
|
}
|
|
24
23
|
});
|
|
@@ -4,7 +4,8 @@ export default meta;
|
|
|
4
4
|
type Story = StoryObj<typeof meta>;
|
|
5
5
|
export declare const Base: Story;
|
|
6
6
|
export declare const WithNestedGroups: Story;
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const WithNestedSidebars: Story;
|
|
8
8
|
export declare const WithFooterContent: Story;
|
|
9
|
+
export declare const WithSections: Story;
|
|
9
10
|
export declare const WithSearchButton: Story;
|
|
10
11
|
//# sourceMappingURL=ScalarSidebar.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSidebar.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebar.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"ScalarSidebar.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebar.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AA4DrD,QAAA,MAAM,IAAI,EAAE,IA0BX,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAAU,CAAA;AAE7B,eAAO,MAAM,gBAAgB,EAAE,KAuB9B,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KAgEhC,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAgB/B,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAqD1B,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAoB9B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSidebarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSidebarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarButton.vue"],"names":[],"mappings":"AA6FA,OAAO,KAAK,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAI7E;;;;;;;;;;;;;;;;;;;;;GAqBG;;AACH,wBAqIC;AAWD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { defineComponent as r, createBlock as
|
|
2
|
-
import { cva as
|
|
1
|
+
import { defineComponent as r, createBlock as a, openBlock as t, resolveDynamicComponent as c, mergeProps as u, unref as o, withCtx as f, renderSlot as s, createElementVNode as p, createElementBlock as d, createCommentVNode as n, createVNode as m } from "vue";
|
|
2
|
+
import { cva as b, useBindCx as v } from "@scalar/use-hooks/useBindCx";
|
|
3
3
|
import y from "./ScalarSidebarIndent.vue.js";
|
|
4
4
|
import h from "../ScalarIcon/ScalarIconLegacyAdapter.vue.js";
|
|
5
|
-
const
|
|
5
|
+
const g = { class: "flex items-center gap-1 flex-1 py-2 leading-5" }, B = {
|
|
6
6
|
key: 0,
|
|
7
|
-
class: "size-
|
|
8
|
-
},
|
|
7
|
+
class: "size-4"
|
|
8
|
+
}, $ = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "flex items-center"
|
|
11
|
+
}, k = {}, w = /* @__PURE__ */ r({
|
|
9
12
|
...k,
|
|
10
13
|
inheritAttrs: !1,
|
|
11
14
|
__name: "ScalarSidebarButton",
|
|
@@ -17,10 +20,14 @@ const B = { class: "flex items-center gap-1 flex-1 py-2 leading-5" }, $ = {
|
|
|
17
20
|
indent: { default: 0 }
|
|
18
21
|
},
|
|
19
22
|
setup(C) {
|
|
20
|
-
const l =
|
|
21
|
-
base: [
|
|
23
|
+
const l = b({
|
|
24
|
+
base: [
|
|
25
|
+
"group/button flex items-stretch rounded px-2 font-sidebar text-c-2 no-underline"
|
|
26
|
+
],
|
|
22
27
|
variants: {
|
|
23
|
-
selected: {
|
|
28
|
+
selected: {
|
|
29
|
+
true: "group/button-selected cursor-auto bg-b-2 text-c-1 font-sidebar-active"
|
|
30
|
+
},
|
|
24
31
|
disabled: { true: "cursor-auto" }
|
|
25
32
|
},
|
|
26
33
|
compoundVariants: [
|
|
@@ -28,36 +35,35 @@ const B = { class: "flex items-center gap-1 flex-1 py-2 leading-5" }, $ = {
|
|
|
28
35
|
],
|
|
29
36
|
defaultVariants: { selected: !1, disabled: !1 }
|
|
30
37
|
}), { cx: i } = v();
|
|
31
|
-
return (e, S) => (t(),
|
|
32
|
-
"aria-level": e.indent,
|
|
38
|
+
return (e, S) => (t(), a(c(e.is), u({
|
|
33
39
|
"aria-selected": e.selected,
|
|
34
40
|
type: e.is === "button" ? "button" : void 0
|
|
35
|
-
},
|
|
41
|
+
}, o(i)(o(l)({ selected: e.selected, disabled: e.disabled }))), {
|
|
36
42
|
default: f(() => [
|
|
37
43
|
s(e.$slots, "indent", {}, () => [
|
|
38
|
-
|
|
44
|
+
m(y, {
|
|
39
45
|
indent: e.indent,
|
|
40
46
|
selected: e.selected,
|
|
41
47
|
disabled: e.disabled
|
|
42
48
|
}, null, 8, ["indent", "selected", "disabled"])
|
|
43
49
|
]),
|
|
44
|
-
p("div",
|
|
45
|
-
e.icon || e.$slots.icon ? (t(), d("div",
|
|
50
|
+
p("div", g, [
|
|
51
|
+
e.icon || e.$slots.icon ? (t(), d("div", B, [
|
|
46
52
|
s(e.$slots, "icon", {}, () => [
|
|
47
|
-
e.icon ? (t(),
|
|
53
|
+
e.icon ? (t(), a(o(h), {
|
|
48
54
|
key: 0,
|
|
49
55
|
icon: e.icon
|
|
50
|
-
}, null, 8, ["icon"])) :
|
|
56
|
+
}, null, 8, ["icon"])) : n("", !0)
|
|
51
57
|
])
|
|
52
|
-
])) :
|
|
58
|
+
])) : n("", !0),
|
|
53
59
|
s(e.$slots, "default")
|
|
54
60
|
]),
|
|
55
|
-
e.$slots.aside ? (t(), d("div",
|
|
61
|
+
e.$slots.aside ? (t(), d("div", $, [
|
|
56
62
|
s(e.$slots, "aside")
|
|
57
|
-
])) :
|
|
63
|
+
])) : n("", !0)
|
|
58
64
|
]),
|
|
59
65
|
_: 3
|
|
60
|
-
}, 16, ["aria-
|
|
66
|
+
}, 16, ["aria-selected", "type"]));
|
|
61
67
|
}
|
|
62
68
|
});
|
|
63
69
|
export {
|
|
@@ -17,18 +17,18 @@
|
|
|
17
17
|
*/
|
|
18
18
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
19
19
|
/** Footer content at the top of the footer */
|
|
20
|
-
default
|
|
20
|
+
default?(): unknown;
|
|
21
21
|
/** Replaces the Powered by Scalar link */
|
|
22
|
-
description
|
|
22
|
+
description?(): unknown;
|
|
23
23
|
/** Replaces the color mode toggle */
|
|
24
|
-
toggle
|
|
24
|
+
toggle?(): unknown;
|
|
25
25
|
}> & {
|
|
26
26
|
/** Footer content at the top of the footer */
|
|
27
|
-
default
|
|
27
|
+
default?(): unknown;
|
|
28
28
|
/** Replaces the Powered by Scalar link */
|
|
29
|
-
description
|
|
29
|
+
description?(): unknown;
|
|
30
30
|
/** Replaces the color mode toggle */
|
|
31
|
-
toggle
|
|
31
|
+
toggle?(): unknown;
|
|
32
32
|
}>;
|
|
33
33
|
export default _default;
|
|
34
34
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSidebarFooter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarFooter.vue"],"names":[],"mappings":"AAiEA;;;;;;;;;;;;;;;;GAgBG;;IAID,8CAA8C;
|
|
1
|
+
{"version":3,"file":"ScalarSidebarFooter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarFooter.vue"],"names":[],"mappings":"AAiEA;;;;;;;;;;;;;;;;GAgBG;;IAID,8CAA8C;gBAClC,OAAO;IACnB,0CAA0C;oBAC1B,OAAO;IACvB,qCAAqC;eAC1B,OAAO;;IALlB,8CAA8C;gBAClC,OAAO;IACnB,0CAA0C;oBAC1B,OAAO;IACvB,qCAAqC;eAC1B,OAAO;;AARpB,wBAgGC;AAKD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -25,32 +25,32 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
25
25
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
26
26
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
|
|
27
27
|
/** The text content of the toggle */
|
|
28
|
-
default
|
|
28
|
+
default?(props: {
|
|
29
29
|
open: boolean;
|
|
30
|
-
})
|
|
30
|
+
}): unknown;
|
|
31
31
|
/** Override the entire toggle button */
|
|
32
|
-
button
|
|
32
|
+
button?(props: {
|
|
33
33
|
open: boolean;
|
|
34
34
|
level: SidebarGroupLevel;
|
|
35
|
-
})
|
|
35
|
+
}): unknown;
|
|
36
36
|
/** The list of sidebar subitems */
|
|
37
|
-
items
|
|
37
|
+
items?(props: {
|
|
38
38
|
open: boolean;
|
|
39
|
-
})
|
|
39
|
+
}): unknown;
|
|
40
40
|
}> & {
|
|
41
41
|
/** The text content of the toggle */
|
|
42
|
-
default
|
|
42
|
+
default?(props: {
|
|
43
43
|
open: boolean;
|
|
44
|
-
})
|
|
44
|
+
}): unknown;
|
|
45
45
|
/** Override the entire toggle button */
|
|
46
|
-
button
|
|
46
|
+
button?(props: {
|
|
47
47
|
open: boolean;
|
|
48
48
|
level: SidebarGroupLevel;
|
|
49
|
-
})
|
|
49
|
+
}): unknown;
|
|
50
50
|
/** The list of sidebar subitems */
|
|
51
|
-
items
|
|
51
|
+
items?(props: {
|
|
52
52
|
open: boolean;
|
|
53
|
-
})
|
|
53
|
+
}): unknown;
|
|
54
54
|
}>;
|
|
55
55
|
export default _default;
|
|
56
56
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSidebarGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSidebarGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarGroup.vue"],"names":[],"mappings":"AA6FA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAA;AAM9E,OAAO,EAAE,KAAK,iBAAiB,EAAoB,MAAM,oBAAoB,CAAA;AAI7E;;;;;;;;;;;;;;GAcG;;iBAgCU,OAAO;;;;iBAAP,OAAO;;;;IAtBlB,qCAAqC;oBACrB;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO;IAC3C,wCAAwC;mBACzB;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,iBAAiB,CAAA;KAAE,GAAG,OAAO;IACpE,mCAAmC;kBACrB;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO;;IALzC,qCAAqC;oBACrB;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO;IAC3C,wCAAwC;mBACzB;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,iBAAiB,CAAA;KAAE,GAAG,OAAO;IACpE,mCAAmC;kBACrB;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO;;AAd3C,wBAiKC;AAWD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|