@scalar/components 0.14.13 → 0.14.14

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 (58) 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/variants.d.ts +7 -2
  4. package/dist/components/ScalarButton/variants.d.ts.map +1 -1
  5. package/dist/components/ScalarCodeBlock/ScalarCodeBlock.vue.d.ts.map +1 -1
  6. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.d.ts +6 -2
  7. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.d.ts.map +1 -1
  8. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.js +58 -52
  9. package/dist/components/ScalarCombobox/ScalarComboboxPopover.vue.d.ts.map +1 -1
  10. package/dist/components/ScalarCombobox/ScalarComboboxPopover.vue.js +0 -1
  11. package/dist/components/ScalarContextMenu/ScalarContextMenu.stories.d.ts +3 -3
  12. package/dist/components/ScalarDropdown/ScalarDropdown.stories.d.ts +3 -3
  13. package/dist/components/ScalarIcon/ScalarIconLegacyAdapter.vue.d.ts +3 -4
  14. package/dist/components/ScalarIcon/ScalarIconLegacyAdapter.vue.d.ts.map +1 -1
  15. package/dist/components/ScalarIcon/utils/index.d.ts +2 -0
  16. package/dist/components/ScalarIcon/utils/index.d.ts.map +1 -1
  17. package/dist/components/ScalarIconButton/ScalarIconButton.stories.d.ts +8 -20
  18. package/dist/components/ScalarIconButton/ScalarIconButton.stories.d.ts.map +1 -1
  19. package/dist/components/ScalarIconButton/ScalarIconButton.vue.d.ts +17 -77
  20. package/dist/components/ScalarIconButton/ScalarIconButton.vue.d.ts.map +1 -1
  21. package/dist/components/ScalarIconButton/ScalarIconButton.vue.js +30 -31
  22. package/dist/components/ScalarIconButton/types.d.ts +50 -0
  23. package/dist/components/ScalarIconButton/types.d.ts.map +1 -0
  24. package/dist/components/ScalarIconButton/variants.d.ts +62 -0
  25. package/dist/components/ScalarIconButton/variants.d.ts.map +1 -0
  26. package/dist/components/ScalarIconButton/variants.js +32 -0
  27. package/dist/components/ScalarLoading/ScalarLoading.stories.d.ts +3 -3
  28. package/dist/components/ScalarMenu/ScalarMenuLink.vue.d.ts +2 -1
  29. package/dist/components/ScalarMenu/ScalarMenuLink.vue.d.ts.map +1 -1
  30. package/dist/components/ScalarMenu/ScalarMenuProduct.vue.d.ts +2 -1
  31. package/dist/components/ScalarMenu/ScalarMenuProduct.vue.d.ts.map +1 -1
  32. package/dist/components/ScalarPopover/ScalarPopover.stories.d.ts +3 -3
  33. package/dist/components/ScalarSearchResults/ScalarSearchResultItem.vue.d.ts +2 -2
  34. package/dist/components/ScalarSearchResults/ScalarSearchResultItem.vue.d.ts.map +1 -1
  35. package/dist/components/ScalarSearchResults/ScalarSearchResults.stories.d.ts +3 -3
  36. package/dist/components/ScalarSidebar/ScalarSidebarGroupToggle.vue.d.ts +3 -2
  37. package/dist/components/ScalarSidebar/ScalarSidebarGroupToggle.vue.d.ts.map +1 -1
  38. package/dist/components/ScalarSidebar/ScalarSidebarSearchButton.vue.d.ts.map +1 -1
  39. package/dist/components/ScalarSidebar/types.d.ts +2 -1
  40. package/dist/components/ScalarSidebar/types.d.ts.map +1 -1
  41. package/dist/components/ScalarTooltip/ScalarTooltip.stories.d.ts +15 -15
  42. package/dist/components/ScalarTooltip/ScalarTooltip.vue.d.ts +21 -17
  43. package/dist/components/ScalarTooltip/ScalarTooltip.vue.d.ts.map +1 -1
  44. package/dist/components/ScalarTooltip/ScalarTooltip.vue.js +13 -11
  45. package/dist/components/ScalarTooltip/constants.d.ts +2 -0
  46. package/dist/components/ScalarTooltip/constants.d.ts.map +1 -1
  47. package/dist/components/ScalarTooltip/constants.js +5 -4
  48. package/dist/components/ScalarTooltip/index.d.ts +2 -0
  49. package/dist/components/ScalarTooltip/index.d.ts.map +1 -1
  50. package/dist/components/ScalarTooltip/types.d.ts +3 -2
  51. package/dist/components/ScalarTooltip/types.d.ts.map +1 -1
  52. package/dist/components/ScalarTooltip/useTooltip.js +17 -17
  53. package/dist/components/ScalarTooltip/useTooltip.test.d.ts.map +1 -0
  54. package/dist/index.js +23 -21
  55. package/dist/style.css +1 -1
  56. package/package.json +6 -6
  57. package/dist/components/ScalarTooltip/__tests__/useTooltip.test.d.ts.map +0 -1
  58. /package/dist/components/ScalarTooltip/{__tests__/useTooltip.test.d.ts → useTooltip.test.d.ts} +0 -0
@@ -1,79 +1,19 @@
1
- import type { ScalarIconWeight } from '@scalar/icons/types';
2
- import type { VariantProps } from 'cva';
3
- import type { Component } from 'vue';
4
- import { type Icon } from '../ScalarIcon';
5
- type Variants = VariantProps<typeof variants>;
6
- type __VLS_Props = {
7
- label: string;
8
- icon: Icon | Component;
9
- disabled?: boolean;
10
- variant?: Variants['variant'];
11
- size?: Variants['size'];
12
- thickness?: string;
13
- weight?: ScalarIconWeight;
14
- };
15
- declare const variants: (props?: ({
16
- size?: "xs" | "sm" | "md" | "full" | "xxs" | undefined;
17
- disabled?: boolean | undefined;
18
- variant?: string | undefined;
19
- } & ({
20
- 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 | {
21
- [x: string]: any;
22
- } | null | undefined)[] | {
23
- [x: string]: any;
24
- } | null | undefined)[] | {
25
- [x: string]: any;
26
- } | null | undefined)[] | {
27
- [x: string]: any;
28
- } | null | undefined)[] | {
29
- [x: string]: any;
30
- } | null | undefined)[] | {
31
- [x: string]: any;
32
- } | null | undefined)[] | {
33
- [x: string]: any;
34
- } | null | undefined)[] | {
35
- [x: string]: any;
36
- } | null | undefined)[] | {
37
- [x: string]: any;
38
- } | null | undefined)[] | {
39
- [x: string]: any;
40
- } | null | undefined)[] | {
41
- [x: string]: any;
42
- } | null | undefined)[] | {
43
- [x: string]: any;
44
- } | null | undefined;
45
- className?: never;
46
- } | {
47
- class?: never;
48
- className?: 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 | {
49
- [x: string]: any;
50
- } | null | undefined)[] | {
51
- [x: string]: any;
52
- } | null | undefined)[] | {
53
- [x: string]: any;
54
- } | null | undefined)[] | {
55
- [x: string]: any;
56
- } | null | undefined)[] | {
57
- [x: string]: any;
58
- } | null | undefined)[] | {
59
- [x: string]: any;
60
- } | null | undefined)[] | {
61
- [x: string]: any;
62
- } | null | undefined)[] | {
63
- [x: string]: any;
64
- } | null | undefined)[] | {
65
- [x: string]: any;
66
- } | null | undefined)[] | {
67
- [x: string]: any;
68
- } | null | undefined)[] | {
69
- [x: string]: any;
70
- } | null | undefined)[] | {
71
- [x: string]: any;
72
- } | null | undefined;
73
- })) | undefined) => string;
74
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
75
- size: "xs" | "sm" | "md" | "full" | "xxs";
76
- variant: string;
77
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1
+ import type { ScalarIconButtonProps } from './types';
2
+ /**
3
+ * Scalar icon button component
4
+ *
5
+ * Should be used in conjunction with an icon from `@scalar/icons`
6
+ *
7
+ * @example
8
+ * import { ScalarIconAcorn } from '@scalar/icons'
9
+ * ...
10
+ * <ScalarIconButton
11
+ * :icon="ScalarIconAcorn"
12
+ * label="It's an acorn"
13
+ * />
14
+ */
15
+ declare const _default: import("vue").DefineComponent<ScalarIconButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ScalarIconButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
16
+ ref: HTMLButtonElement;
17
+ }, any>;
78
18
  export default _default;
79
19
  //# sourceMappingURL=ScalarIconButton.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarIconButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarIconButton/ScalarIconButton.vue"],"names":[],"mappings":"AA8DA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAG3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAGpC,OAAO,EAAE,KAAK,IAAI,EAA2B,MAAM,eAAe,CAAA;AAIlE,KAAK,QAAQ,GAAG,YAAY,CAAC,OAAO,QAAQ,CAAC,CAAA;AAE7C,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,IAAI,GAAG,SAAS,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAA;IAC7B,IAAI,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,gBAAgB,CAAA;CAC1B,CAAC;AAYJ,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAeZ,CACD;;;;;AAoED,wBAOG"}
1
+ {"version":3,"file":"ScalarIconButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarIconButton/ScalarIconButton.vue"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAKpD;;;;;;;;;;;;GAYG;;;;AACH,wBAoGC"}
@@ -1,8 +1,13 @@
1
- import { defineComponent as a, createElementBlock as o, openBlock as n, mergeProps as r, unref as s, createVNode as l, createElementVNode as d, toDisplayString as c } from "vue";
2
- import { useBindCx as p, cva as u } from "@scalar/use-hooks/useBindCx";
3
- import { styles as m } from "../ScalarButton/variants.js";
4
- import f from "../ScalarIcon/ScalarIconLegacyAdapter.vue.js";
5
- const h = ["ariaDisabled"], b = { class: "sr-only" }, y = /* @__PURE__ */ a({
1
+ import { defineComponent as r, useTemplateRef as d, computed as o, createElementBlock as n, openBlock as a, mergeProps as c, unref as i, createVNode as f, createCommentVNode as m, toDisplayString as p } from "vue";
2
+ import { useBindCx as u } from "@scalar/use-hooks/useBindCx";
3
+ import { variants as h } from "./variants.js";
4
+ import { useTooltip as b } from "../ScalarTooltip/useTooltip.js";
5
+ import g from "../ScalarIcon/ScalarIconLegacyAdapter.vue.js";
6
+ const v = ["aria-disabled"], k = {
7
+ key: 0,
8
+ class: "sr-only"
9
+ }, y = {}, S = /* @__PURE__ */ r({
10
+ ...y,
6
11
  inheritAttrs: !1,
7
12
  __name: "ScalarIconButton",
8
13
  props: {
@@ -10,40 +15,34 @@ const h = ["ariaDisabled"], b = { class: "sr-only" }, y = /* @__PURE__ */ a({
10
15
  icon: {},
11
16
  disabled: { type: Boolean },
12
17
  variant: { default: "ghost" },
13
- size: { default: "md" },
18
+ size: {},
14
19
  thickness: {},
15
- weight: {}
20
+ weight: {},
21
+ tooltip: { type: Boolean }
16
22
  },
17
- setup(g) {
18
- const { cx: i } = p(), t = u({
19
- base: "scalar-icon-button grid aspect-square cursor-pointer rounded",
20
- variants: {
21
- size: {
22
- xxs: "size-3.5 p-0.5",
23
- xs: "size-5 p-1",
24
- sm: "size-6 p-1",
25
- md: "size-10 p-3",
26
- full: "h-full w-full"
27
- },
28
- disabled: {
29
- true: "cursor-not-allowed shadow-none"
30
- },
31
- variant: m
32
- }
33
- });
34
- return (e, v) => (n(), o("button", r({
35
- ariaDisabled: e.disabled || void 0,
23
+ setup(t) {
24
+ const { cx: s } = u(), l = d("ref");
25
+ return b({
26
+ content: o(() => t.label),
27
+ offset: o(() => t.variant === "ghost" ? 0 : 4),
28
+ placement: o(
29
+ () => typeof t.tooltip == "boolean" ? void 0 : t.tooltip
30
+ ),
31
+ targetRef: o(() => t.tooltip ? l.value : void 0)
32
+ }), (e, B) => (a(), n("button", c({
33
+ ref: "ref",
34
+ "aria-disabled": e.disabled,
36
35
  type: "button"
37
- }, s(i)(s(t)({ size: e.size, variant: e.variant, disabled: e.disabled }))), [
38
- l(s(f), {
36
+ }, i(s)(i(h)({ size: e.size, variant: e.variant, disabled: e.disabled }))), [
37
+ f(i(g), {
39
38
  icon: e.icon,
40
39
  thickness: e.thickness,
41
40
  weight: e.weight
42
41
  }, null, 8, ["icon", "thickness", "weight"]),
43
- d("span", b, c(e.label), 1)
44
- ], 16, h));
42
+ e.tooltip ? m("", !0) : (a(), n("span", k, p(e.label), 1))
43
+ ], 16, v));
45
44
  }
46
45
  });
47
46
  export {
48
- y as default
47
+ S as default
49
48
  };
@@ -0,0 +1,50 @@
1
+ import type { ScalarIconComponent, ScalarIconWeight } from '@scalar/icons/types';
2
+ import type { Variants } from './variants.js';
3
+ import type { Icon } from '../ScalarIcon';
4
+ import type { ScalarTooltipPlacement } from '../../components/ScalarTooltip';
5
+ export type ScalarIconButtonProps = {
6
+ /**
7
+ * An accessible label for the icon button
8
+ *
9
+ * If `tooltip` is true, this will be used as the tooltip content
10
+ */
11
+ label: string;
12
+ /**
13
+ * The icon to display in the icon button
14
+ *
15
+ * Use a component from the `@scalar/icons` package to display
16
+ * an icon. String values are deprecated.
17
+ */
18
+ icon: Icon | ScalarIconComponent;
19
+ /** Whether the icon button is disabled */
20
+ disabled?: boolean;
21
+ /**
22
+ * The variant of the icon button
23
+ *
24
+ * @default 'ghost'
25
+ * @see <ScalarButton>
26
+ */
27
+ variant?: Variants['variant'];
28
+ /**
29
+ * The size of the icon button
30
+ *
31
+ * @default 'md'
32
+ */
33
+ size?: Variants['size'];
34
+ /**
35
+ * The thickness of the icon
36
+ *
37
+ * @deprecated Use the `weight` prop instead
38
+ */
39
+ thickness?: string;
40
+ /** The weight of the icon. */
41
+ weight?: ScalarIconWeight;
42
+ /**
43
+ * Whether to display a tooltip when hovering over the icon button
44
+ *
45
+ * If `true`, the `label` will be displayed when hovering over the
46
+ * icon button. Can also be a specific placement for the tooltip.
47
+ */
48
+ tooltip?: boolean | ScalarTooltipPlacement;
49
+ };
50
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarIconButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAEhF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAC1C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AAExE,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;;OAKG;IACH,IAAI,EAAE,IAAI,GAAG,mBAAmB,CAAA;IAChC,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAA;IAC7B;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,8BAA8B;IAC9B,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,sBAAsB,CAAA;CAC3C,CAAA"}
@@ -0,0 +1,62 @@
1
+ import type { VariantProps } from 'cva';
2
+ export declare const variants: (props?: ({
3
+ size?: "xs" | "sm" | "md" | "full" | "xxs" | undefined;
4
+ disabled?: boolean | undefined;
5
+ variant?: "solid" | "outlined" | "ghost" | "danger" | undefined;
6
+ } & ({
7
+ 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 | {
8
+ [x: string]: any;
9
+ } | null | undefined)[] | {
10
+ [x: string]: any;
11
+ } | null | undefined)[] | {
12
+ [x: string]: any;
13
+ } | null | undefined)[] | {
14
+ [x: string]: any;
15
+ } | null | undefined)[] | {
16
+ [x: string]: any;
17
+ } | null | undefined)[] | {
18
+ [x: string]: any;
19
+ } | null | undefined)[] | {
20
+ [x: string]: any;
21
+ } | null | undefined)[] | {
22
+ [x: string]: any;
23
+ } | null | undefined)[] | {
24
+ [x: string]: any;
25
+ } | null | undefined)[] | {
26
+ [x: string]: any;
27
+ } | null | undefined)[] | {
28
+ [x: string]: any;
29
+ } | null | undefined)[] | {
30
+ [x: string]: any;
31
+ } | null | undefined;
32
+ className?: never;
33
+ } | {
34
+ class?: never;
35
+ className?: 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 | {
36
+ [x: string]: any;
37
+ } | null | undefined)[] | {
38
+ [x: string]: any;
39
+ } | null | undefined)[] | {
40
+ [x: string]: any;
41
+ } | null | undefined)[] | {
42
+ [x: string]: any;
43
+ } | null | undefined)[] | {
44
+ [x: string]: any;
45
+ } | null | undefined)[] | {
46
+ [x: string]: any;
47
+ } | null | undefined)[] | {
48
+ [x: string]: any;
49
+ } | null | undefined)[] | {
50
+ [x: string]: any;
51
+ } | null | undefined)[] | {
52
+ [x: string]: any;
53
+ } | null | undefined)[] | {
54
+ [x: string]: any;
55
+ } | null | undefined)[] | {
56
+ [x: string]: any;
57
+ } | null | undefined)[] | {
58
+ [x: string]: any;
59
+ } | null | undefined;
60
+ })) | undefined) => string;
61
+ export type Variants = VariantProps<typeof variants>;
62
+ //# sourceMappingURL=variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarIconButton/variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AAEvC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BA0BnB,CAAA;AAEF,MAAM,MAAM,QAAQ,GAAG,YAAY,CAAC,OAAO,QAAQ,CAAC,CAAA"}
@@ -0,0 +1,32 @@
1
+ import { cva as s } from "@scalar/use-hooks/useBindCx";
2
+ import { styles as a } from "../ScalarButton/variants.js";
3
+ const o = s({
4
+ base: "scalar-icon-button grid aspect-square cursor-pointer rounded",
5
+ variants: {
6
+ size: {
7
+ xxs: "size-3.5 p-0.5",
8
+ xs: "size-5 p-1",
9
+ sm: "size-6 p-1",
10
+ md: "size-10 p-3",
11
+ full: "size-full"
12
+ },
13
+ disabled: {
14
+ true: "cursor-not-allowed shadow-none"
15
+ },
16
+ variant: a
17
+ },
18
+ compoundVariants: [
19
+ {
20
+ size: "md",
21
+ variant: "ghost",
22
+ class: "size-8 p-2 m-1 -outline-offset-2 rounded-lg"
23
+ }
24
+ ],
25
+ defaultVariants: {
26
+ size: "md",
27
+ variant: "ghost"
28
+ }
29
+ });
30
+ export {
31
+ o as variants
32
+ };
@@ -38,7 +38,7 @@ declare const meta: {
38
38
  type?: "button" | "submit" | "reset";
39
39
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
40
40
  size: "sm" | "md";
41
- variant: string;
41
+ variant: "solid" | "outlined" | "ghost" | "danger";
42
42
  fullWidth: boolean;
43
43
  type: "button" | "submit" | "reset";
44
44
  }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
@@ -57,7 +57,7 @@ declare const meta: {
57
57
  type?: "button" | "submit" | "reset";
58
58
  }> & Readonly<{}>, {}, {}, {}, {}, {
59
59
  size: "sm" | "md";
60
- variant: string;
60
+ variant: "solid" | "outlined" | "ghost" | "danger";
61
61
  fullWidth: boolean;
62
62
  type: "button" | "submit" | "reset";
63
63
  }>;
@@ -73,7 +73,7 @@ declare const meta: {
73
73
  type?: "button" | "submit" | "reset";
74
74
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
75
75
  size: "sm" | "md";
76
- variant: string;
76
+ variant: "solid" | "outlined" | "ghost" | "danger";
77
77
  fullWidth: boolean;
78
78
  type: "button" | "submit" | "reset";
79
79
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -1,8 +1,9 @@
1
+ import type { ScalarIconComponent } from '@scalar/icons/types';
1
2
  import type { Component } from 'vue';
2
3
  import { type Icon } from '../ScalarIcon';
3
4
  type __VLS_Props = {
4
5
  is?: string | Component;
5
- icon?: Icon | Component;
6
+ icon?: Icon | ScalarIconComponent;
6
7
  strong?: boolean;
7
8
  };
8
9
  declare function __VLS_template(): {
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarMenuLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuLink.vue"],"names":[],"mappings":"AAuCA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAGpC,OAAO,EAAE,KAAK,IAAI,EAA2B,MAAM,eAAe,CAAA;AAIlE,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvB,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAA;IACvB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AASF,iBAAS,cAAc;WAgET,OAAO,IAA6B;;yBARpB,GAAG;;;;EAahC;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,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":"ScalarMenuLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuLink.vue"],"names":[],"mappings":"AAuCA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAGpC,OAAO,EAAE,KAAK,IAAI,EAA2B,MAAM,eAAe,CAAA;AAIlE,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvB,IAAI,CAAC,EAAE,IAAI,GAAG,mBAAmB,CAAA;IACjC,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AASF,iBAAS,cAAc;WAgET,OAAO,IAA6B;;yBARpB,GAAG;;;;EAahC;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,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,9 +1,10 @@
1
+ import type { ScalarIconComponent } from '@scalar/icons/types';
1
2
  import type { Component } from 'vue';
2
3
  import type { Icon } from '../../index.js';
3
4
  type __VLS_Props = {
4
5
  is?: string | Component;
5
6
  selected?: boolean;
6
- icon: Icon | Component;
7
+ icon: Icon | ScalarIconComponent;
7
8
  };
8
9
  declare function __VLS_template(): {
9
10
  attrs: Partial<{}>;
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarMenuProduct.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuProduct.vue"],"names":[],"mappings":"AAyCA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAKlC,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,IAAI,GAAG,SAAS,CAAA;CACvB,CAAC;AAsBF,iBAAS,cAAc;WAyCT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAWD,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
+ {"version":3,"file":"ScalarMenuProduct.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuProduct.vue"],"names":[],"mappings":"AAwCA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAG9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAKlC,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,IAAI,GAAG,mBAAmB,CAAA;CACjC,CAAC;AAsBF,iBAAS,cAAc;WAyCT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAWD,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"}
@@ -87,7 +87,7 @@ declare const meta: {
87
87
  type?: "button" | "submit" | "reset";
88
88
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
89
89
  size: "sm" | "md";
90
- variant: string;
90
+ variant: "solid" | "outlined" | "ghost" | "danger";
91
91
  fullWidth: boolean;
92
92
  type: "button" | "submit" | "reset";
93
93
  }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
@@ -106,7 +106,7 @@ declare const meta: {
106
106
  type?: "button" | "submit" | "reset";
107
107
  }> & Readonly<{}>, {}, {}, {}, {}, {
108
108
  size: "sm" | "md";
109
- variant: string;
109
+ variant: "solid" | "outlined" | "ghost" | "danger";
110
110
  fullWidth: boolean;
111
111
  type: "button" | "submit" | "reset";
112
112
  }>;
@@ -122,7 +122,7 @@ declare const meta: {
122
122
  type?: "button" | "submit" | "reset";
123
123
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
124
124
  size: "sm" | "md";
125
- variant: string;
125
+ variant: "solid" | "outlined" | "ghost" | "danger";
126
126
  fullWidth: boolean;
127
127
  type: "button" | "submit" | "reset";
128
128
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -1,7 +1,7 @@
1
- import type { Component } from 'vue';
1
+ import type { ScalarIconComponent } from '@scalar/icons/types';
2
2
  import { type Icon } from '../ScalarIcon';
3
3
  type __VLS_Props = {
4
- icon?: Icon | Component;
4
+ icon?: Icon | ScalarIconComponent;
5
5
  selected?: boolean;
6
6
  };
7
7
  declare function __VLS_template(): {
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarSearchResultItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchResults/ScalarSearchResultItem.vue"],"names":[],"mappings":"AA8DA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,OAAO,EAAE,KAAK,IAAI,EAA2B,MAAM,eAAe,CAAA;AAIlE,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAWF,iBAAS,cAAc;WAiGT,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
+ {"version":3,"file":"ScalarSearchResultItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchResults/ScalarSearchResultItem.vue"],"names":[],"mappings":"AA6DA,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;WAiGT,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"}
@@ -77,7 +77,7 @@ declare const meta: {
77
77
  });
78
78
  ScalarSearchResultItem: {
79
79
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
80
- icon?: import("../ScalarIcon/index.js").Icon | import("vue").Component;
80
+ icon?: import("../ScalarIcon/index.js").Icon | import("@scalar/icons/types").ScalarIconComponent;
81
81
  selected?: boolean;
82
82
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
83
83
  P: {};
@@ -87,14 +87,14 @@ declare const meta: {
87
87
  M: {};
88
88
  Defaults: {};
89
89
  }, Readonly<{
90
- icon?: import("../ScalarIcon/index.js").Icon | import("vue").Component;
90
+ icon?: import("../ScalarIcon/index.js").Icon | import("@scalar/icons/types").ScalarIconComponent;
91
91
  selected?: boolean;
92
92
  }> & Readonly<{}>, {}, {}, {}, {}, {}>;
93
93
  __isFragment?: never;
94
94
  __isTeleport?: never;
95
95
  __isSuspense?: never;
96
96
  } & import("vue").ComponentOptionsBase<Readonly<{
97
- icon?: import("../ScalarIcon/index.js").Icon | import("vue").Component;
97
+ icon?: import("../ScalarIcon/index.js").Icon | import("@scalar/icons/types").ScalarIconComponent;
98
98
  selected?: boolean;
99
99
  }> & 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 () => {
100
100
  $slots: {
@@ -1,3 +1,4 @@
1
+ import type { ScalarIconComponent } from '@scalar/icons/types';
1
2
  import type { Component } from 'vue';
2
3
  import { type Icon } from '../ScalarIcon';
3
4
  /**
@@ -14,14 +15,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
14
15
  /** Whether or not the toggle is open */
15
16
  open?: boolean;
16
17
  /** Overrides the icon */
17
- icon?: Icon | Component;
18
+ icon?: Icon | ScalarIconComponent;
18
19
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
19
20
  /** Override the element tag */
20
21
  is?: Component | string;
21
22
  /** Whether or not the toggle is open */
22
23
  open?: boolean;
23
24
  /** Overrides the icon */
24
- icon?: Icon | Component;
25
+ icon?: Icon | ScalarIconComponent;
25
26
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
26
27
  /** Override the toggle icon */
27
28
  default?: (props: {
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarSidebarGroupToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarGroupToggle.vue"],"names":[],"mappings":"AAuEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,OAAO,EAAE,KAAK,IAAI,EAA2B,MAAM,eAAe,CAAA;AAIlE;;;;;;;GAOG;;IAID,+BAA+B;SAC1B,SAAS,GAAG,MAAM;IACvB,wCAAwC;WACjC,OAAO;IACd,yBAAyB;WAClB,IAAI,GAAG,SAAS;;IALvB,+BAA+B;SAC1B,SAAS,GAAG,MAAM;IACvB,wCAAwC;WACjC,OAAO;IACd,yBAAyB;WAClB,IAAI,GAAG,SAAS;;IAUvB,+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"}
1
+ {"version":3,"file":"ScalarSidebarGroupToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarGroupToggle.vue"],"names":[],"mappings":"AAsEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAG9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,OAAO,EAAE,KAAK,IAAI,EAA2B,MAAM,eAAe,CAAA;AAIlE;;;;;;;GAOG;;IAID,+BAA+B;SAC1B,SAAS,GAAG,MAAM;IACvB,wCAAwC;WACjC,OAAO;IACd,yBAAyB;WAClB,IAAI,GAAG,mBAAmB;;IALjC,+BAA+B;SAC1B,SAAS,GAAG,MAAM;IACvB,wCAAwC;WACjC,OAAO;IACd,yBAAyB;WAClB,IAAI,GAAG,mBAAmB;;IAUjC,+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"}
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarSidebarSearchButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarSearchButton.vue"],"names":[],"mappings":"AA0CA,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC;AAYF,iBAAS,cAAc;WAkET,OAAO,IAA6B;;yBATrB,GAAG;0BACF,GAAG;;;;EAahC;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
+ {"version":3,"file":"ScalarSidebarSearchButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarSearchButton.vue"],"names":[],"mappings":"AA0CA,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC;AAWF,iBAAS,cAAc;WAkET,OAAO,IAA6B;;yBATrB,GAAG;0BACF,GAAG;;;;EAahC;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,12 +1,13 @@
1
1
  import type { Component } from 'vue';
2
2
  import type { Icon } from '../ScalarIcon';
3
3
  import type { SidebarGroupLevel } from './useSidebarGroups.js';
4
+ import type { ScalarIconComponent } from '@scalar/icons/types';
4
5
  /** Scalar Sidebar Item Props */
5
6
  export type ScalarSidebarItemProps = {
6
7
  /** Overrides the rendered element */
7
8
  is?: Component | string;
8
9
  /** Sets the icon for the item */
9
- icon?: Icon | Component;
10
+ icon?: Icon | ScalarIconComponent;
10
11
  /** Wether or not the item is selected */
11
12
  selected?: boolean;
12
13
  disabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAE3D,gCAAgC;AAChC,MAAM,MAAM,sBAAsB,GAAG;IACnC,qCAAqC;IACrC,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IACvB,iCAAiC;IACjC,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAA;IACvB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,qCAAqC;IACrC,MAAM,CAAC,EAAE,iBAAiB,CAAA;CAC3B,CAAA;AAED,gCAAgC;AAChC,MAAM,MAAM,sBAAsB,GAAG;IACnC,0CAA0C;IAC1C,OAAO,CAAC,EAAE,MAAM,GAAG,CAAA;IACnB,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,CAAA;IAChB,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,GAAG,CAAA;IACjB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,MAAM,GAAG,CAAA;CACnB,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,gCAAgC;AAChC,MAAM,MAAM,sBAAsB,GAAG;IACnC,qCAAqC;IACrC,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IACvB,iCAAiC;IACjC,IAAI,CAAC,EAAE,IAAI,GAAG,mBAAmB,CAAA;IACjC,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,qCAAqC;IACrC,MAAM,CAAC,EAAE,iBAAiB,CAAA;CAC3B,CAAA;AAED,gCAAgC;AAChC,MAAM,MAAM,sBAAsB,GAAG;IACnC,0CAA0C;IAC1C,OAAO,CAAC,EAAE,MAAM,GAAG,CAAA;IACnB,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,CAAA;IAChB,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,GAAG,CAAA;IACjB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,MAAM,GAAG,CAAA;CACnB,CAAA"}