@scalar/components 0.13.20 → 0.13.23

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.
Files changed (84) hide show
  1. package/dist/components/ScalarButton/ScalarButton.stories.d.ts +12 -12
  2. package/dist/components/ScalarButton/ScalarButton.vue.d.ts +1 -1
  3. package/dist/components/ScalarButton/ScalarButton.vue.d.ts.map +1 -1
  4. package/dist/components/ScalarCombobox/ScalarCombobox.stories.d.ts +5 -4
  5. package/dist/components/ScalarCombobox/ScalarCombobox.stories.d.ts.map +1 -1
  6. package/dist/components/ScalarCombobox/ScalarCombobox.vue.d.ts +4 -4
  7. package/dist/components/ScalarCombobox/ScalarCombobox.vue.d.ts.map +1 -1
  8. package/dist/components/ScalarCombobox/ScalarCombobox.vue.js +14 -13
  9. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue.d.ts +2 -5
  10. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue.d.ts.map +1 -1
  11. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue.js +37 -26
  12. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.d.ts +2 -14
  13. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.d.ts.map +1 -1
  14. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.js +76 -65
  15. package/dist/components/ScalarCombobox/ScalarComboboxPopover.vue.d.ts.map +1 -1
  16. package/dist/components/ScalarCombobox/ScalarComboboxPopover.vue.js +34 -30
  17. package/dist/components/ScalarCombobox/types.d.ts +9 -0
  18. package/dist/components/ScalarCombobox/types.d.ts.map +1 -1
  19. package/dist/components/ScalarContextMenu/ScalarContextMenu.stories.d.ts +3 -3
  20. package/dist/components/ScalarDropdown/ScalarDropdown.stories.d.ts +3 -3
  21. package/dist/components/ScalarFileUpload/ScalarFileUpload.stories.d.ts +364 -0
  22. package/dist/components/ScalarFileUpload/ScalarFileUpload.stories.d.ts.map +1 -0
  23. package/dist/components/ScalarFileUpload/ScalarFileUpload.test.d.ts +2 -0
  24. package/dist/components/ScalarFileUpload/ScalarFileUpload.test.d.ts.map +1 -0
  25. package/dist/components/ScalarFileUpload/ScalarFileUpload.vue.d.ts +86 -0
  26. package/dist/components/ScalarFileUpload/ScalarFileUpload.vue.d.ts.map +1 -0
  27. package/dist/components/ScalarFileUpload/ScalarFileUploadDropTarget.vue.d.ts +19 -0
  28. package/dist/components/ScalarFileUpload/ScalarFileUploadDropTarget.vue.d.ts.map +1 -0
  29. package/dist/components/ScalarFileUpload/ScalarFileUploadError.vue.d.ts +20 -0
  30. package/dist/components/ScalarFileUpload/ScalarFileUploadError.vue.d.ts.map +1 -0
  31. package/dist/components/ScalarFileUpload/ScalarFileUploadFileList.vue.d.ts +22 -0
  32. package/dist/components/ScalarFileUpload/ScalarFileUploadFileList.vue.d.ts.map +1 -0
  33. package/dist/components/ScalarFileUpload/ScalarFileUploadInput.vue.d.ts +21 -0
  34. package/dist/components/ScalarFileUpload/ScalarFileUploadInput.vue.d.ts.map +1 -0
  35. package/dist/components/ScalarFileUpload/ScalarFileUploadInputCompact.vue.d.ts +21 -0
  36. package/dist/components/ScalarFileUpload/ScalarFileUploadInputCompact.vue.d.ts.map +1 -0
  37. package/dist/components/ScalarFileUpload/ScalarFileUploadLoading.vue.d.ts +16 -0
  38. package/dist/components/ScalarFileUpload/ScalarFileUploadLoading.vue.d.ts.map +1 -0
  39. package/dist/components/ScalarFileUpload/index.d.ts +8 -0
  40. package/dist/components/ScalarFileUpload/index.d.ts.map +1 -0
  41. package/dist/components/ScalarFileUpload/types.d.ts +32 -0
  42. package/dist/components/ScalarFileUpload/types.d.ts.map +1 -0
  43. package/dist/components/ScalarListbox/ScalarListbox.stories.d.ts +9 -9
  44. package/dist/components/ScalarListbox/ScalarListbox.vue.d.ts +3 -3
  45. package/dist/components/ScalarListbox/ScalarListbox.vue.d.ts.map +1 -1
  46. package/dist/components/ScalarLoading/ScalarLoading.stories.d.ts +3 -3
  47. package/dist/components/ScalarPopover/ScalarPopover.stories.d.ts +3 -3
  48. package/dist/components/ScalarSidebar/ScalarSidebar.stories.d.ts +3 -2
  49. package/dist/components/ScalarSidebar/ScalarSidebar.stories.d.ts.map +1 -1
  50. package/dist/components/ScalarSidebar/ScalarSidebarButton.vue.d.ts +31 -0
  51. package/dist/components/ScalarSidebar/ScalarSidebarButton.vue.d.ts.map +1 -0
  52. package/dist/components/ScalarSidebar/ScalarSidebarButton.vue.js +63 -0
  53. package/dist/components/ScalarSidebar/ScalarSidebarButton.vue2.js +4 -0
  54. package/dist/components/ScalarSidebar/ScalarSidebarGroup.test.d.ts +2 -0
  55. package/dist/components/ScalarSidebar/ScalarSidebarGroup.test.d.ts.map +1 -0
  56. package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue.d.ts +50 -0
  57. package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue.d.ts.map +1 -0
  58. package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue.js +47 -0
  59. package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue2.js +4 -0
  60. package/dist/components/ScalarSidebar/ScalarSidebarGroupToggle.vue.d.ts +50 -0
  61. package/dist/components/ScalarSidebar/ScalarSidebarGroupToggle.vue.d.ts.map +1 -0
  62. package/dist/components/ScalarSidebar/ScalarSidebarGroupToggle.vue.js +39 -0
  63. package/dist/components/ScalarSidebar/ScalarSidebarGroupToggle.vue2.js +4 -0
  64. package/dist/components/ScalarSidebar/ScalarSidebarItem.vue.d.ts +27 -0
  65. package/dist/components/ScalarSidebar/ScalarSidebarItem.vue.d.ts.map +1 -0
  66. package/dist/components/ScalarSidebar/ScalarSidebarItem.vue.js +34 -0
  67. package/dist/components/ScalarSidebar/ScalarSidebarItem.vue2.js +4 -0
  68. package/dist/components/ScalarSidebar/ScalarSidebarItems.vue.d.ts +28 -0
  69. package/dist/components/ScalarSidebar/ScalarSidebarItems.vue.d.ts.map +1 -0
  70. package/dist/components/ScalarSidebar/ScalarSidebarItems.vue.js +22 -0
  71. package/dist/components/ScalarSidebar/ScalarSidebarItems.vue2.js +4 -0
  72. package/dist/components/ScalarSidebar/index.d.ts +5 -0
  73. package/dist/components/ScalarSidebar/index.d.ts.map +1 -1
  74. package/dist/components/ScalarSidebar/types.d.ts +25 -0
  75. package/dist/components/ScalarSidebar/types.d.ts.map +1 -0
  76. package/dist/components/ScalarSidebar/useSidebarGroups.d.ts +25 -0
  77. package/dist/components/ScalarSidebar/useSidebarGroups.d.ts.map +1 -0
  78. package/dist/components/ScalarSidebar/useSidebarGroups.js +11 -0
  79. package/dist/components/ScalarSidebar/useSidebarGroups.test.d.ts +2 -0
  80. package/dist/components/ScalarSidebar/useSidebarGroups.test.d.ts.map +1 -0
  81. package/dist/components/ScalarTooltip/ScalarTooltip.stories.d.ts +3 -3
  82. package/dist/index.js +95 -85
  83. package/dist/style.css +1 -1
  84. package/package.json +5 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarFileUploadDropTarget.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadDropTarget.vue"],"names":[],"mappings":"AA0CA;;;;;;;;GAQG;;qBA4D0B,GAAG;;AA3DhC,wBA0FC;AAKD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Scalar File Upload Error
3
+ *
4
+ * Displays an error message
5
+ *
6
+ * @example
7
+ * <ScalarFileUploadError>
8
+ * <!-- Error message -->
9
+ * </ScalarFileUploadError>
10
+ */
11
+ 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>, {
12
+ default?(_: {}): any;
13
+ }>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
20
+ //# sourceMappingURL=ScalarFileUploadError.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarFileUploadError.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadError.vue"],"names":[],"mappings":"AAqCA;;;;;;;;;GASG;;qBA2C0B,GAAG;;AA1ChC,wBAyEC;AAKD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Scalar File Upload File List
3
+ *
4
+ * Displays a list of files
5
+ *
6
+ * @example
7
+ * <ScalarFileUploadFileList :files="files" />
8
+ */
9
+ declare const _default: import("vue").DefineComponent<{
10
+ modelValue?: File[];
11
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "update:modelValue": (value: File[]) => any;
13
+ } & {
14
+ upload: () => any;
15
+ }, string, import("vue").PublicProps, Readonly<{
16
+ modelValue?: File[];
17
+ }> & Readonly<{
18
+ "onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
19
+ onUpload?: (() => any) | undefined;
20
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ export default _default;
22
+ //# sourceMappingURL=ScalarFileUploadFileList.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarFileUploadFileList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadFileList.vue"],"names":[],"mappings":"AAoEA;;;;;;;GAOG;;iBAuBU,IAAI,EAAE;;;;;;iBAAN,IAAI,EAAE;;;;;AAtBnB,wBAmKC"}
@@ -0,0 +1,21 @@
1
+ import type { FileUploadInputProps, FileUploadInputSlots } from './types';
2
+ /**
3
+ * Scalar File Upload Input
4
+ *
5
+ * Displays a label and button for file uploads
6
+ *
7
+ * @example
8
+ * <ScalarFileUploadInput />
9
+ */
10
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<FileUploadInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
+ click: (event: MouseEvent) => any;
12
+ }, string, import("vue").PublicProps, Readonly<FileUploadInputProps> & Readonly<{
13
+ onClick?: ((event: MouseEvent) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<FileUploadInputSlots> & FileUploadInputSlots>;
15
+ export default _default;
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
21
+ //# sourceMappingURL=ScalarFileUploadInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarFileUploadInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadInput.vue"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAEV,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,SAAS,CAAA;AAIhB;;;;;;;GAOG;;;;;;AACH,wBAuHC;AAWD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { FileUploadInputProps, FileUploadInputSlots } from './types';
2
+ /**
3
+ * Scalar File Upload Input
4
+ *
5
+ * Displays a label and button for file uploads
6
+ *
7
+ * @example
8
+ * <ScalarFileUploadInput />
9
+ */
10
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<FileUploadInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
+ click: (event: MouseEvent) => any;
12
+ }, string, import("vue").PublicProps, Readonly<FileUploadInputProps> & Readonly<{
13
+ onClick?: ((event: MouseEvent) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<FileUploadInputSlots> & FileUploadInputSlots>;
15
+ export default _default;
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
21
+ //# sourceMappingURL=ScalarFileUploadInputCompact.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarFileUploadInputCompact.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadInputCompact.vue"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAEV,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,SAAS,CAAA;AAKhB;;;;;;;GAOG;;;;;;AACH,wBAuGC;AAWD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { type LoadingState } from '../ScalarLoading';
2
+ /**
3
+ * Scalar File Upload Loading
4
+ *
5
+ * Displays a loading state for file uploads
6
+ *
7
+ * @example
8
+ * <ScalarFileUploadLoading :loader="loader" />
9
+ */
10
+ declare const _default: import("vue").DefineComponent<{
11
+ loader: LoadingState;
12
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
13
+ loader: LoadingState;
14
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
16
+ //# sourceMappingURL=ScalarFileUploadLoading.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarFileUploadLoading.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadLoading.vue"],"names":[],"mappings":"AAqCA,OAAO,EAAiB,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAInE;;;;;;;GAOG;;YAIO,YAAY;;YAAZ,YAAY;;AAHtB,wBAgFC"}
@@ -0,0 +1,8 @@
1
+ export { default as ScalarFileUpload } from './ScalarFileUpload.vue';
2
+ export { default as ScalarFileUploadInput } from './ScalarFileUploadInput.vue';
3
+ export { default as ScalarFileUploadInputCompact } from './ScalarFileUploadInputCompact.vue';
4
+ export { default as ScalarFileUploadDropTarget } from './ScalarFileUploadDropTarget.vue';
5
+ export { default as ScalarFileUploadLoading } from './ScalarFileUploadLoading.vue';
6
+ export { default as ScalarFileUploadError } from './ScalarFileUploadError.vue';
7
+ export { default as ScalarFileUploadFileList } from './ScalarFileUploadFileList.vue';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAC9E,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,oCAAoC,CAAA;AAC5F,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,kCAAkC,CAAA;AACxF,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAClF,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAC9E,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,gCAAgC,CAAA"}
@@ -0,0 +1,32 @@
1
+ export type FileExtension = `.${string}`;
2
+ export type ExtensionList = FileExtension[];
3
+ /**
4
+ * Type guard to check if a value is an ExtensionList
5
+ */
6
+ export declare function isExtensionList(value: ExtensionList | string): value is ExtensionList;
7
+ /**
8
+ * Props for both the default and compact variants of the FileUploadInput
9
+ */
10
+ export type FileUploadInputProps = {
11
+ /** Whether multiple files can be uploaded */
12
+ multiple?: boolean;
13
+ /** A list of extensions that are supported */
14
+ extensions?: ExtensionList;
15
+ };
16
+ /**
17
+ * Emits for both the default and compact variants of the FileUploadInput
18
+ */
19
+ export type FileUploadInputEmits = {
20
+ /** Emitted when the user clicks the browse button */
21
+ (e: 'click', event: MouseEvent): void;
22
+ };
23
+ /**
24
+ * Slots for both the default and compact variants of the FileUploadInput
25
+ */
26
+ export type FileUploadInputSlots = {
27
+ /** The default label slot */
28
+ default: () => any;
29
+ /** The sublabel or error slot */
30
+ sublabel: () => any;
31
+ };
32
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,IAAI,MAAM,EAAE,CAAA;AAExC,MAAM,MAAM,aAAa,GAAG,aAAa,EAAE,CAAA;AAE3C;;GAEG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,aAAa,GAAG,MAAM,GAC5B,KAAK,IAAI,aAAa,CAExB;AAED;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,8CAA8C;IAC9C,UAAU,CAAC,EAAE,aAAa,CAAA;CAC3B,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,qDAAqD;IACrD,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI,CAAA;CACtC,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,6BAA6B;IAC7B,OAAO,EAAE,MAAM,GAAG,CAAA;IAClB,iCAAiC;IACjC,QAAQ,EAAE,MAAM,GAAG,CAAA;CACpB,CAAA"}
@@ -7,15 +7,15 @@ declare const meta: {
7
7
  id?: string;
8
8
  label?: string;
9
9
  } & {
10
- multiple?: false;
11
- modelValue?: Option;
10
+ multiple?: false | undefined;
11
+ modelValue?: Option | undefined;
12
12
  } & import("../ScalarFloating").ScalarFloatingOptions) | ({
13
13
  options: Option[];
14
14
  id?: string;
15
15
  label?: string;
16
16
  } & {
17
17
  multiple: true;
18
- modelValue?: Option[];
18
+ modelValue?: Option[] | undefined;
19
19
  } & import("../ScalarFloating").ScalarFloatingOptions)> & Readonly<{
20
20
  "onUpdate:modelValue"?: ((v: Option) => any) | undefined;
21
21
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
@@ -32,15 +32,15 @@ declare const meta: {
32
32
  id?: string;
33
33
  label?: string;
34
34
  } & {
35
- multiple?: false;
36
- modelValue?: Option;
35
+ multiple?: false | undefined;
36
+ modelValue?: Option | undefined;
37
37
  } & import("../ScalarFloating").ScalarFloatingOptions) | ({
38
38
  options: Option[];
39
39
  id?: string;
40
40
  label?: string;
41
41
  } & {
42
42
  multiple: true;
43
- modelValue?: Option[];
43
+ modelValue?: Option[] | undefined;
44
44
  } & import("../ScalarFloating").ScalarFloatingOptions)> & Readonly<{
45
45
  "onUpdate:modelValue"?: ((v: Option) => any) | undefined;
46
46
  }>), {}, {}, {}, {}, {}>;
@@ -52,15 +52,15 @@ declare const meta: {
52
52
  id?: string;
53
53
  label?: string;
54
54
  } & {
55
- multiple?: false;
56
- modelValue?: Option;
55
+ multiple?: false | undefined;
56
+ modelValue?: Option | undefined;
57
57
  } & import("../ScalarFloating").ScalarFloatingOptions) | ({
58
58
  options: Option[];
59
59
  id?: string;
60
60
  label?: string;
61
61
  } & {
62
62
  multiple: true;
63
- modelValue?: Option[];
63
+ modelValue?: Option[] | undefined;
64
64
  } & import("../ScalarFloating").ScalarFloatingOptions)> & Readonly<{
65
65
  "onUpdate:modelValue"?: ((v: Option) => any) | undefined;
66
66
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
@@ -1,12 +1,12 @@
1
1
  import { type ScalarFloatingOptions } from '../ScalarFloating';
2
2
  import type { Option } from './types';
3
3
  type SingleSelectListboxProps = {
4
- multiple?: false;
5
- modelValue?: Option;
4
+ multiple?: false | undefined;
5
+ modelValue?: Option | undefined;
6
6
  };
7
7
  type MultipleSelectListboxProps = {
8
8
  multiple: true;
9
- modelValue?: Option[];
9
+ modelValue?: Option[] | undefined;
10
10
  };
11
11
  declare function __VLS_template(): {
12
12
  attrs: Partial<{}>;
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarListbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarListbox/ScalarListbox.vue"],"names":[],"mappings":"AAwGA,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAIrC,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,KAAK,0BAA0B,GAAG;IAChC,QAAQ,EAAE,IAAI,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB,CAAA;AAkCD,iBAAS,cAAc;WA6HT,OAAO,IAA6B;;QA7IhD,4CAA4C;uBAC7B;YACb,yCAAyC;YACzC,IAAI,EAAE,OAAO,CAAA;SACd,GAAG,GAAG;;QAJP,4CAA4C;uBAC7B;YACb,yCAAyC;YACzC,IAAI,EAAE,OAAO,CAAA;SACd,GAAG,GAAG;;;;EA8IR;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;aAnLR,MAAM,EAAE;SACZ,MAAM;YACH,MAAM;;aAFL,MAAM,EAAE;SACZ,MAAM;YACH,MAAM;;;;aAFL,MAAM,EAAE;SACZ,MAAM;YACH,MAAM;;aAFL,MAAM,EAAE;SACZ,MAAM;YACH,MAAM;;;kFAwLhB,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
+ {"version":3,"file":"ScalarListbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarListbox/ScalarListbox.vue"],"names":[],"mappings":"AAwGA,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAIrC,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,CAAC,EAAE,KAAK,GAAG,SAAS,CAAA;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAChC,CAAA;AAED,KAAK,0BAA0B,GAAG;IAChC,QAAQ,EAAE,IAAI,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;CAClC,CAAA;AAkCD,iBAAS,cAAc;WA6HT,OAAO,IAA6B;;QA7IhD,4CAA4C;uBAC7B;YACb,yCAAyC;YACzC,IAAI,EAAE,OAAO,CAAA;SACd,GAAG,GAAG;;QAJP,4CAA4C;uBAC7B;YACb,yCAAyC;YACzC,IAAI,EAAE,OAAO,CAAA;SACd,GAAG,GAAG;;;;EA8IR;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;aAnLR,MAAM,EAAE;SACZ,MAAM;YACH,MAAM;;aAFL,MAAM,EAAE;SACZ,MAAM;YACH,MAAM;;;;aAFL,MAAM,EAAE;SACZ,MAAM;YACH,MAAM;;aAFL,MAAM,EAAE;SACZ,MAAM;YACH,MAAM;;;kFAwLhB,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"}
@@ -32,7 +32,7 @@ declare const meta: {
32
32
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
33
33
  disabled?: boolean;
34
34
  fullWidth?: boolean;
35
- loading?: import("./ScalarLoading.vue.js").LoadingState;
35
+ loading?: import("./ScalarLoading.vue.js").LoadingState | undefined;
36
36
  size?: import("../ScalarButton/variants.js").Variants["size"];
37
37
  variant?: import("../ScalarButton/variants.js").Variants["variant"];
38
38
  type?: "button" | "submit" | "reset";
@@ -51,7 +51,7 @@ declare const meta: {
51
51
  }, Readonly<{
52
52
  disabled?: boolean;
53
53
  fullWidth?: boolean;
54
- loading?: import("./ScalarLoading.vue.js").LoadingState;
54
+ loading?: import("./ScalarLoading.vue.js").LoadingState | undefined;
55
55
  size?: import("../ScalarButton/variants.js").Variants["size"];
56
56
  variant?: import("../ScalarButton/variants.js").Variants["variant"];
57
57
  type?: "button" | "submit" | "reset";
@@ -67,7 +67,7 @@ declare const meta: {
67
67
  } & import("vue").ComponentOptionsBase<Readonly<{
68
68
  disabled?: boolean;
69
69
  fullWidth?: boolean;
70
- loading?: import("./ScalarLoading.vue.js").LoadingState;
70
+ loading?: import("./ScalarLoading.vue.js").LoadingState | undefined;
71
71
  size?: import("../ScalarButton/variants.js").Variants["size"];
72
72
  variant?: import("../ScalarButton/variants.js").Variants["variant"];
73
73
  type?: "button" | "submit" | "reset";
@@ -63,7 +63,7 @@ declare const meta: {
63
63
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
64
64
  disabled?: boolean;
65
65
  fullWidth?: boolean;
66
- loading?: import("../ScalarLoading").LoadingState;
66
+ loading?: import("../ScalarLoading").LoadingState | undefined;
67
67
  size?: import("../ScalarButton/variants.js").Variants["size"];
68
68
  variant?: import("../ScalarButton/variants.js").Variants["variant"];
69
69
  type?: "button" | "submit" | "reset";
@@ -82,7 +82,7 @@ declare const meta: {
82
82
  }, Readonly<{
83
83
  disabled?: boolean;
84
84
  fullWidth?: boolean;
85
- loading?: import("../ScalarLoading").LoadingState;
85
+ loading?: import("../ScalarLoading").LoadingState | undefined;
86
86
  size?: import("../ScalarButton/variants.js").Variants["size"];
87
87
  variant?: import("../ScalarButton/variants.js").Variants["variant"];
88
88
  type?: "button" | "submit" | "reset";
@@ -98,7 +98,7 @@ declare const meta: {
98
98
  } & import("vue").ComponentOptionsBase<Readonly<{
99
99
  disabled?: boolean;
100
100
  fullWidth?: boolean;
101
- loading?: import("../ScalarLoading").LoadingState;
101
+ loading?: import("../ScalarLoading").LoadingState | undefined;
102
102
  size?: import("../ScalarButton/variants.js").Variants["size"];
103
103
  variant?: import("../ScalarButton/variants.js").Variants["variant"];
104
104
  type?: "button" | "submit" | "reset";
@@ -1,8 +1,9 @@
1
1
  import type { Meta, StoryObj } from '@storybook/vue3';
2
- import ScalarSidebar from './ScalarSidebar.vue.js';
3
- declare const meta: Meta<typeof ScalarSidebar>;
2
+ declare const meta: Meta;
4
3
  export default meta;
5
4
  type Story = StoryObj<typeof meta>;
6
5
  export declare const Base: Story;
6
+ export declare const WithNavItems: Story;
7
+ export declare const WithNestedGroups: Story;
7
8
  export declare const WithFooter: Story;
8
9
  //# 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;AAErD,OAAO,aAAa,MAAM,qBAAqB,CAAA;AAG/C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CAqBpC,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,UAAU,EAAE,KAkBxB,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;AAUrD,QAAA,MAAM,IAAI,EAAE,IAwBX,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,YAAY,EAAE,KAqC1B,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KA6D9B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAkBxB,CAAA"}
@@ -0,0 +1,31 @@
1
+ import type { ScalarSidebarItemProps, ScalarSidebarItemSlots } from './types';
2
+ /**
3
+ * Scalar Sidebar Button component
4
+ *
5
+ * Provide a styled link for the ScalarSidebar or similar, supports
6
+ * the same props and slots as ScalarSidebarItem
7
+ *
8
+ * This is used internally by the ScalarSidebarItem component
9
+ *
10
+ * If you're looking to create items in ScalarSidebarItems
11
+ * you probably want the ScalarSidebarItem component
12
+ *
13
+ * @example
14
+ * <ScalarSidebarButton>
15
+ * <template #icon>
16
+ * <!-- Overrides the icon slot -->
17
+ * </template>
18
+ * <!-- Button text -->
19
+ * <template #aside>
20
+ * <!-- After the button text -->
21
+ * </template>
22
+ * </ScalarSidebarButton>
23
+ */
24
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<ScalarSidebarItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ScalarSidebarItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<ScalarSidebarItemSlots> & ScalarSidebarItemSlots>;
25
+ export default _default;
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
31
+ //# sourceMappingURL=ScalarSidebarButton.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarSidebarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarButton.vue"],"names":[],"mappings":"AAoFA,OAAO,KAAK,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAI7E;;;;;;;;;;;;;;;;;;;;;GAqBG;;AACH,wBAyHC;AAWD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,63 @@
1
+ import { defineComponent as d, openBlock as t, createBlock as r, resolveDynamicComponent as p, mergeProps as c, unref as o, withCtx as u, createElementVNode as f, createElementBlock as n, renderSlot as s, createVNode as m, createCommentVNode as l } from "vue";
2
+ import { cva as b } from "../../cva.js";
3
+ import { useBindCx as v } from "../../hooks/useBindCx.js";
4
+ import h from "../ScalarIcon/ScalarIcon.vue.js";
5
+ const y = { class: "flex items-center gap-1 flex-1" }, B = {
6
+ key: 0,
7
+ class: "size-3.5"
8
+ }, _ = { key: 0 }, k = {}, N = /* @__PURE__ */ d({
9
+ ...k,
10
+ inheritAttrs: !1,
11
+ __name: "ScalarSidebarButton",
12
+ props: {
13
+ is: { default: "a" },
14
+ icon: {},
15
+ selected: { type: Boolean },
16
+ disabled: { type: Boolean },
17
+ indent: { default: 0 }
18
+ },
19
+ setup(C) {
20
+ const a = b({
21
+ base: ["rounded p-1.5 font-medium text-c-2 no-underline"],
22
+ variants: {
23
+ selected: { true: "cursor-auto bg-b-2 text-c-1" },
24
+ disabled: { true: "cursor-auto" },
25
+ indent: {
26
+ 0: "pl-[6px]",
27
+ 1: "pl-[24px]",
28
+ 2: "pl-[42px]",
29
+ 3: "pl-[60px]",
30
+ 4: "pl-[78px]",
31
+ 5: "pl-[96px]",
32
+ 6: "pl-[114px]"
33
+ }
34
+ },
35
+ compoundVariants: [
36
+ { selected: !1, disabled: !1, class: "hover:bg-b-2" }
37
+ ],
38
+ defaultVariants: { selected: !1, disabled: !1, indent: 0 }
39
+ }), { cx: i } = v();
40
+ return (e, V) => (t(), r(p(e.is), c({
41
+ "aria-level": e.indent,
42
+ type: e.is === "button" ? "button" : void 0
43
+ }, o(i)(o(a)({ selected: e.selected, disabled: e.disabled, indent: e.indent }))), {
44
+ default: u(() => [
45
+ f("div", y, [
46
+ e.icon || e.$slots.icon ? (t(), n("div", B, [
47
+ s(e.$slots, "icon", {}, () => [
48
+ m(o(h), { icon: e.icon }, null, 8, ["icon"])
49
+ ])
50
+ ])) : l("", !0),
51
+ s(e.$slots, "default")
52
+ ]),
53
+ e.$slots.aside ? (t(), n("div", _, [
54
+ s(e.$slots, "aside")
55
+ ])) : l("", !0)
56
+ ]),
57
+ _: 3
58
+ }, 16, ["aria-level", "type"]));
59
+ }
60
+ });
61
+ export {
62
+ N as default
63
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./ScalarSidebarButton.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarSidebarGroup.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarSidebarGroup.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarGroup.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,50 @@
1
+ import type { Component } from 'vue';
2
+ /**
3
+ * Scalar Sidebar Group component
4
+ *
5
+ * A collapsible ScalarSidebarItem that can contain subitems
6
+ *
7
+ * @example
8
+ * <ScalarSidebarGroup v-model="open">
9
+ * <!-- Group toggle text -->
10
+ * <template #items>
11
+ * <ScalarSidebarItem>...</ScalarSidebarItem>
12
+ * <ScalarSidebarItem>...</ScalarSidebarItem>
13
+ * <ScalarSidebarItem>...</ScalarSidebarItem>
14
+ * </template>
15
+ * </ScalarSidebarGroup>
16
+ */
17
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
18
+ modelValue?: boolean;
19
+ } & {
20
+ is?: Component | string;
21
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ "update:modelValue": (value: boolean) => any;
23
+ }, string, import("vue").PublicProps, Readonly<{
24
+ modelValue?: boolean;
25
+ } & {
26
+ is?: Component | string;
27
+ }> & Readonly<{
28
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
29
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
30
+ /** The text content of the toggle */
31
+ default?: () => any;
32
+ /** Override the entire toggle button */
33
+ button?: () => any;
34
+ /** The list of sidebar subitems */
35
+ items?: () => any;
36
+ }> & {
37
+ /** The text content of the toggle */
38
+ default?: () => any;
39
+ /** Override the entire toggle button */
40
+ button?: () => any;
41
+ /** The list of sidebar subitems */
42
+ items?: () => any;
43
+ }>;
44
+ export default _default;
45
+ type __VLS_WithTemplateSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
50
+ //# sourceMappingURL=ScalarSidebarGroup.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarSidebarGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarGroup.vue"],"names":[],"mappings":"AA0EA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AASpC;;;;;;;;;;;;;;GAcG;;iBAiCU,OAAO;;SA7Bb,SAAS,GAAG,MAAM;;;;iBA6BZ,OAAO;;SA7Bb,SAAS,GAAG,MAAM;;;;IAQvB,qCAAqC;cAC3B,MAAM,GAAG;IACnB,wCAAwC;aAC/B,MAAM,GAAG;IAClB,mCAAmC;YAC3B,MAAM,GAAG;;IALjB,qCAAqC;cAC3B,MAAM,GAAG;IACnB,wCAAwC;aAC/B,MAAM,GAAG;IAClB,mCAAmC;YAC3B,MAAM,GAAG;;AAhBnB,wBAiJC;AAWD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,47 @@
1
+ import { defineComponent as d, mergeModels as p, useModel as c, openBlock as r, createElementBlock as f, renderSlot as t, createVNode as a, unref as s, withCtx as n, createBlock as _, resolveDynamicComponent as v, normalizeProps as C, mergeProps as $, createCommentVNode as k } from "vue";
2
+ import { useBindCx as x } from "../../hooks/useBindCx.js";
3
+ import B from "./ScalarSidebarButton.vue.js";
4
+ import V from "./ScalarSidebarGroupToggle.vue.js";
5
+ import { useSidebarGroups as b } from "./useSidebarGroups.js";
6
+ const S = { class: "contents" }, y = {}, w = /* @__PURE__ */ d({
7
+ ...y,
8
+ inheritAttrs: !1,
9
+ __name: "ScalarSidebarGroup",
10
+ props: /* @__PURE__ */ p({
11
+ is: { default: "ul" }
12
+ }, {
13
+ modelValue: { type: Boolean },
14
+ modelModifiers: {}
15
+ }),
16
+ emits: ["update:modelValue"],
17
+ setup(i) {
18
+ const e = c(i, "modelValue"), { level: u } = b({ increment: !0 }), { cx: m } = x();
19
+ return (o, l) => (r(), f("li", S, [
20
+ t(o.$slots, "button", { open: e.value }, () => [
21
+ a(B, {
22
+ is: "button",
23
+ "aria-expanded": e.value,
24
+ indent: s(u),
25
+ onClick: l[0] || (l[0] = (M) => e.value = !e.value)
26
+ }, {
27
+ icon: n(() => [
28
+ a(V, { open: e.value }, null, 8, ["open"])
29
+ ]),
30
+ default: n(() => [
31
+ t(o.$slots, "default", { open: e.value })
32
+ ]),
33
+ _: 3
34
+ }, 8, ["aria-expanded", "indent"])
35
+ ]),
36
+ e.value ? (r(), _(v(o.is), C($({ key: 0 }, s(m)("flex flex-col"))), {
37
+ default: n(() => [
38
+ t(o.$slots, "items", { open: e.value })
39
+ ]),
40
+ _: 3
41
+ }, 16)) : k("", !0)
42
+ ]));
43
+ }
44
+ });
45
+ export {
46
+ w as default
47
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./ScalarSidebarGroup.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,50 @@
1
+ import type { Component } from 'vue';
2
+ import { type Icon } from '../ScalarIcon';
3
+ /**
4
+ * Scalar Sidebar Group toggle component
5
+ *
6
+ * Provides the toggle icon for a ScalarSidebarGroup
7
+ *
8
+ * @example
9
+ * <ScalarSidebarGroupToggle :open="..." />
10
+ */
11
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
12
+ /** Override the element tag */
13
+ is?: Component | string;
14
+ /** Whether or not the toggle is open */
15
+ open?: boolean;
16
+ /** Overrides the icon */
17
+ icon?: Icon;
18
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
19
+ /** Override the element tag */
20
+ is?: Component | string;
21
+ /** Whether or not the toggle is open */
22
+ open?: boolean;
23
+ /** Overrides the icon */
24
+ icon?: Icon;
25
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
26
+ /** Override the toggle icon */
27
+ default?: (props: {
28
+ open: boolean;
29
+ }) => any;
30
+ /** Override the screen reader label */
31
+ label?: (props: {
32
+ open: boolean;
33
+ }) => any;
34
+ }> & {
35
+ /** Override the toggle icon */
36
+ default?: (props: {
37
+ open: boolean;
38
+ }) => any;
39
+ /** Override the screen reader label */
40
+ label?: (props: {
41
+ open: boolean;
42
+ }) => any;
43
+ }>;
44
+ export default _default;
45
+ type __VLS_WithTemplateSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
50
+ //# sourceMappingURL=ScalarSidebarGroupToggle.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarSidebarGroupToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarGroupToggle.vue"],"names":[],"mappings":"AAiEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAIpC,OAAO,EAAE,KAAK,IAAI,EAAc,MAAM,eAAe,CAAA;AAIrD;;;;;;;GAOG;;IAID,+BAA+B;SAC1B,SAAS,GAAG,MAAM;IACvB,wCAAwC;WACjC,OAAO;IACd,yBAAyB;WAClB,IAAI;;IALX,+BAA+B;SAC1B,SAAS,GAAG,MAAM;IACvB,wCAAwC;WACjC,OAAO;IACd,yBAAyB;WAClB,IAAI;;IAUX,+BAA+B;cACrB,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,GAAG;IAC3C,uCAAuC;YAC/B,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,GAAG;;IAHzC,+BAA+B;cACrB,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,GAAG;IAC3C,uCAAuC;YAC/B,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,GAAG;;AArB3C,wBAgHC;AAWD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}