@scalar/components 0.14.12 → 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 (81) 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/ScalarListbox/ScalarListbox.vue.d.ts.map +1 -1
  28. package/dist/components/ScalarListbox/ScalarListbox.vue.js +25 -26
  29. package/dist/components/ScalarLoading/ScalarLoading.stories.d.ts +3 -3
  30. package/dist/components/ScalarMenu/ScalarMenuLink.vue.d.ts +2 -1
  31. package/dist/components/ScalarMenu/ScalarMenuLink.vue.d.ts.map +1 -1
  32. package/dist/components/ScalarMenu/ScalarMenuProduct.vue.d.ts +2 -1
  33. package/dist/components/ScalarMenu/ScalarMenuProduct.vue.d.ts.map +1 -1
  34. package/dist/components/ScalarPopover/ScalarPopover.stories.d.ts +3 -3
  35. package/dist/components/ScalarSearchResults/ScalarSearchResultItem.vue.d.ts +2 -2
  36. package/dist/components/ScalarSearchResults/ScalarSearchResultItem.vue.d.ts.map +1 -1
  37. package/dist/components/ScalarSearchResults/ScalarSearchResults.stories.d.ts +3 -3
  38. package/dist/components/ScalarSidebar/ScalarSidebar.stories.d.ts +2 -3
  39. package/dist/components/ScalarSidebar/ScalarSidebar.stories.d.ts.map +1 -1
  40. package/dist/components/ScalarSidebar/ScalarSidebarButton.vue.d.ts.map +1 -1
  41. package/dist/components/ScalarSidebar/ScalarSidebarButton.vue.js +22 -22
  42. package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue.d.ts +3 -9
  43. package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue.d.ts.map +1 -1
  44. package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue.js +33 -26
  45. package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue3.js +5 -0
  46. package/dist/components/ScalarSidebar/ScalarSidebarGroupToggle.vue.d.ts +3 -2
  47. package/dist/components/ScalarSidebar/ScalarSidebarGroupToggle.vue.d.ts.map +1 -1
  48. package/dist/components/ScalarSidebar/ScalarSidebarIndent.vue.d.ts +4 -0
  49. package/dist/components/ScalarSidebar/ScalarSidebarIndent.vue.d.ts.map +1 -1
  50. package/dist/components/ScalarSidebar/ScalarSidebarIndent.vue.js +2 -2
  51. package/dist/components/ScalarSidebar/ScalarSidebarIndent.vue2.js +12 -11
  52. package/dist/components/ScalarSidebar/ScalarSidebarItems.vue.js +2 -2
  53. package/dist/components/ScalarSidebar/ScalarSidebarPlayground.vue.d.ts +30 -0
  54. package/dist/components/ScalarSidebar/ScalarSidebarPlayground.vue.d.ts.map +1 -0
  55. package/dist/components/ScalarSidebar/ScalarSidebarSearchButton.vue.d.ts.map +1 -1
  56. package/dist/components/ScalarSidebar/ScalarSidebarSearchButton.vue.js +6 -6
  57. package/dist/components/ScalarSidebar/ScalarSidebarSection.vue.d.ts +37 -0
  58. package/dist/components/ScalarSidebar/ScalarSidebarSection.vue.d.ts.map +1 -0
  59. package/dist/components/ScalarSidebar/ScalarSidebarSpacer.vue.d.ts +18 -0
  60. package/dist/components/ScalarSidebar/ScalarSidebarSpacer.vue.d.ts.map +1 -0
  61. package/dist/components/ScalarSidebar/types.d.ts +2 -1
  62. package/dist/components/ScalarSidebar/types.d.ts.map +1 -1
  63. package/dist/components/ScalarTooltip/ScalarTooltip.stories.d.ts +15 -15
  64. package/dist/components/ScalarTooltip/ScalarTooltip.vue.d.ts +21 -17
  65. package/dist/components/ScalarTooltip/ScalarTooltip.vue.d.ts.map +1 -1
  66. package/dist/components/ScalarTooltip/ScalarTooltip.vue.js +13 -11
  67. package/dist/components/ScalarTooltip/constants.d.ts +2 -0
  68. package/dist/components/ScalarTooltip/constants.d.ts.map +1 -1
  69. package/dist/components/ScalarTooltip/constants.js +5 -4
  70. package/dist/components/ScalarTooltip/index.d.ts +2 -0
  71. package/dist/components/ScalarTooltip/index.d.ts.map +1 -1
  72. package/dist/components/ScalarTooltip/types.d.ts +3 -2
  73. package/dist/components/ScalarTooltip/types.d.ts.map +1 -1
  74. package/dist/components/ScalarTooltip/useTooltip.js +17 -17
  75. package/dist/components/ScalarTooltip/useTooltip.test.d.ts.map +1 -0
  76. package/dist/index.js +155 -152
  77. package/dist/style.css +1 -1
  78. package/package.json +8 -8
  79. package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue2.js +0 -4
  80. package/dist/components/ScalarTooltip/__tests__/useTooltip.test.d.ts.map +0 -1
  81. /package/dist/components/ScalarTooltip/{__tests__/useTooltip.test.d.ts → useTooltip.test.d.ts} +0 -0
@@ -1,11 +1,11 @@
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 m, createElementBlock as l, createCommentVNode as n, createVNode as p } from "vue";
2
- import { cva as b, useBindCx as v } from "@scalar/use-hooks/useBindCx";
1
+ import { defineComponent as r, createBlock as n, openBlock as t, resolveDynamicComponent as c, mergeProps as u, unref as a, withCtx as f, renderSlot as s, createElementVNode as p, createElementBlock as d, createCommentVNode as o, createVNode as b } from "vue";
2
+ import { cva as m, 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 g = { class: "flex items-center gap-1 flex-1 py-2 leading-5" }, B = {
5
+ const B = { class: "flex items-center gap-1 flex-1 py-2 leading-5" }, $ = {
6
6
  key: 0,
7
7
  class: "size-3.5"
8
- }, $ = { key: 0 }, k = {}, E = /* @__PURE__ */ r({
8
+ }, g = { key: 0 }, k = {}, w = /* @__PURE__ */ r({
9
9
  ...k,
10
10
  inheritAttrs: !1,
11
11
  __name: "ScalarSidebarButton",
@@ -17,10 +17,10 @@ const g = { class: "flex items-center gap-1 flex-1 py-2 leading-5" }, B = {
17
17
  indent: { default: 0 }
18
18
  },
19
19
  setup(C) {
20
- const d = b({
21
- base: ["group/button flex rounded px-1.5 font-medium text-c-2 no-underline"],
20
+ const l = m({
21
+ base: ["group/button flex rounded px-2 font-sidebar text-c-2 no-underline"],
22
22
  variants: {
23
- selected: { true: "cursor-auto bg-b-2 text-c-1" },
23
+ selected: { true: "cursor-auto bg-b-2 text-c-1 font-sidebar-active" },
24
24
  disabled: { true: "cursor-auto" }
25
25
  },
26
26
  compoundVariants: [
@@ -28,38 +28,38 @@ const g = { class: "flex items-center gap-1 flex-1 py-2 leading-5" }, B = {
28
28
  ],
29
29
  defaultVariants: { selected: !1, disabled: !1 }
30
30
  }), { cx: i } = v();
31
- return (e, S) => (t(), a(c(e.is), u({
31
+ return (e, S) => (t(), n(c(e.is), u({
32
32
  "aria-level": e.indent,
33
33
  "aria-selected": e.selected,
34
34
  type: e.is === "button" ? "button" : void 0
35
- }, o(i)(o(d)({ selected: e.selected, disabled: e.disabled }))), {
35
+ }, a(i)(a(l)({ selected: e.selected, disabled: e.disabled }))), {
36
36
  default: f(() => [
37
37
  s(e.$slots, "indent", {}, () => [
38
- p(y, {
38
+ b(y, {
39
39
  indent: e.indent,
40
- selected: e.selected
41
- }, null, 8, ["indent", "selected"])
40
+ selected: e.selected,
41
+ disabled: e.disabled
42
+ }, null, 8, ["indent", "selected", "disabled"])
42
43
  ]),
43
- m("div", g, [
44
- e.icon || e.$slots.icon ? (t(), l("div", B, [
44
+ p("div", B, [
45
+ e.icon || e.$slots.icon ? (t(), d("div", $, [
45
46
  s(e.$slots, "icon", {}, () => [
46
- e.icon ? (t(), a(o(h), {
47
+ e.icon ? (t(), n(a(h), {
47
48
  key: 0,
48
- icon: e.icon,
49
- weight: "bold"
50
- }, null, 8, ["icon"])) : n("", !0)
49
+ icon: e.icon
50
+ }, null, 8, ["icon"])) : o("", !0)
51
51
  ])
52
- ])) : n("", !0),
52
+ ])) : o("", !0),
53
53
  s(e.$slots, "default")
54
54
  ]),
55
- e.$slots.aside ? (t(), l("div", $, [
55
+ e.$slots.aside ? (t(), d("div", g, [
56
56
  s(e.$slots, "aside")
57
- ])) : n("", !0)
57
+ ])) : o("", !0)
58
58
  ]),
59
59
  _: 3
60
60
  }, 16, ["aria-level", "aria-selected", "type"]));
61
61
  }
62
62
  });
63
63
  export {
64
- E as default
64
+ w as default
65
65
  };
@@ -1,4 +1,4 @@
1
- import type { Component } from 'vue';
1
+ import type { ScalarSidebarItemProps } from '../../components/ScalarSidebar/types';
2
2
  import { type SidebarGroupLevel } from './useSidebarGroups.js';
3
3
  /**
4
4
  * Scalar Sidebar Group component
@@ -17,17 +17,11 @@ import { type SidebarGroupLevel } from './useSidebarGroups.js';
17
17
  */
18
18
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
19
19
  modelValue?: boolean;
20
- } & {
21
- /** Override the element tag */
22
- is?: Component | string;
23
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ } & ScalarSidebarItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
21
  "update:modelValue": (value: boolean) => any;
25
22
  }, string, import("vue").PublicProps, Readonly<{
26
23
  modelValue?: boolean;
27
- } & {
28
- /** Override the element tag */
29
- is?: Component | string;
30
- }> & Readonly<{
24
+ } & ScalarSidebarItemProps> & Readonly<{
31
25
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
32
26
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
33
27
  /** The text content of the toggle */
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarSidebarGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarGroup.vue"],"names":[],"mappings":"AAsFA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAKpC,OAAO,EAAE,KAAK,iBAAiB,EAAoB,MAAM,oBAAoB,CAAA;AAI7E;;;;;;;;;;;;;;GAcG;;iBAkCU,OAAO;;IA9BlB,+BAA+B;SAC1B,SAAS,GAAG,MAAM;;;;iBA6BZ,OAAO;;IA9BlB,+BAA+B;SAC1B,SAAS,GAAG,MAAM;;;;IAQvB,qCAAqC;cAC3B,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,GAAG;IAC3C,wCAAwC;aAC/B,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,iBAAiB,CAAA;KAAE,KAAK,GAAG;IACpE,mCAAmC;YAC3B,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,GAAG;;IALzC,qCAAqC;cAC3B,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,GAAG;IAC3C,wCAAwC;aAC/B,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,iBAAiB,CAAA;KAAE,KAAK,GAAG;IACpE,mCAAmC;YAC3B,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,GAAG;;AAjB3C,wBAkKC;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":"ScalarSidebarGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarGroup.vue"],"names":[],"mappings":"AA8FA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAA;AAO9E,OAAO,EAAE,KAAK,iBAAiB,EAAoB,MAAM,oBAAoB,CAAA;AAI7E;;;;;;;;;;;;;;GAcG;;iBA+BU,OAAO;;;;iBAAP,OAAO;;;;IArBlB,qCAAqC;cAC3B,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,GAAG;IAC3C,wCAAwC;aAC/B,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,iBAAiB,CAAA;KAAE,KAAK,GAAG;IACpE,mCAAmC;YAC3B,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,GAAG;;IALzC,qCAAqC;cAC3B,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,GAAG;IAC3C,wCAAwC;aAC/B,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,iBAAiB,CAAA;KAAE,KAAK,GAAG;IACpE,mCAAmC;YAC3B,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,GAAG;;AAd3C,wBAgKC;AAWD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,62 +1,69 @@
1
- import { defineComponent as d, mergeModels as p, useModel as c, createElementBlock as f, openBlock as i, renderSlot as a, createBlock as v, createCommentVNode as _, unref as t, createVNode as r, withCtx as n, resolveDynamicComponent as x, normalizeProps as b, mergeProps as C } from "vue";
2
- import { useBindCx as S } from "@scalar/use-hooks/useBindCx";
3
- import $ from "./ScalarSidebarButton.vue.js";
4
- import g from "./ScalarSidebarGroupToggle.vue.js";
1
+ import { defineComponent as m, mergeModels as p, useModel as c, createElementBlock as f, openBlock as i, renderSlot as a, createBlock as v, createCommentVNode as b, unref as n, createVNode as s, withCtx as t, resolveDynamicComponent as _, normalizeProps as B, mergeProps as g } from "vue";
2
+ import { useBindCx as C } from "@scalar/use-hooks/useBindCx";
3
+ import S from "./ScalarSidebarButton.vue.js";
4
+ import $ from "./ScalarSidebarGroupToggle.vue.js";
5
5
  import k from "./ScalarSidebarIndent.vue.js";
6
- import { useSidebarGroups as B } from "./useSidebarGroups.js";
7
- const V = { class: "group/item contents" }, y = {}, A = /* @__PURE__ */ d({
8
- ...y,
6
+ import { useSidebarGroups as y } from "./useSidebarGroups.js";
7
+ const V = { class: "group/item contents" }, x = {}, A = /* @__PURE__ */ m({
8
+ ...x,
9
9
  inheritAttrs: !1,
10
10
  __name: "ScalarSidebarGroup",
11
11
  props: /* @__PURE__ */ p({
12
- is: { default: "ul" }
12
+ is: { default: "ul" },
13
+ icon: {},
14
+ selected: { type: Boolean },
15
+ disabled: { type: Boolean },
16
+ indent: {}
13
17
  }, {
14
18
  modelValue: { type: Boolean },
15
19
  modelModifiers: {}
16
20
  }),
17
21
  emits: ["update:modelValue"],
18
- setup(u) {
19
- const e = c(u, "modelValue"), { level: l } = B({ increment: !0 }), { cx: m } = S();
20
- return (o, s) => (i(), f("li", V, [
22
+ setup(d) {
23
+ const e = c(d, "modelValue"), { level: l } = y({ increment: !0 }), { cx: u } = C();
24
+ return (o, r) => (i(), f("li", V, [
21
25
  a(o.$slots, "button", {
22
- level: t(l),
26
+ level: n(l),
23
27
  open: !!e.value
24
28
  }, () => [
25
- r($, {
29
+ s(S, {
26
30
  is: "button",
31
+ class: "group/group-button",
27
32
  "aria-expanded": e.value,
28
- class: "text-c-1 bg-b-1",
29
- indent: t(l),
30
- onClick: s[0] || (s[0] = (M) => e.value = !e.value)
33
+ indent: n(l),
34
+ selected: o.selected,
35
+ disabled: o.disabled,
36
+ icon: o.icon,
37
+ onClick: r[0] || (r[0] = (M) => e.value = !e.value)
31
38
  }, {
32
- indent: n(() => [
33
- r(k, {
39
+ indent: t(() => [
40
+ s(k, {
34
41
  class: "mr-0",
35
- indent: t(l)
42
+ indent: n(l)
36
43
  }, null, 8, ["indent"])
37
44
  ]),
38
- icon: n(() => [
39
- r(g, {
45
+ icon: t(() => [
46
+ s($, {
40
47
  class: "text-c-3",
41
48
  open: e.value
42
49
  }, null, 8, ["open"])
43
50
  ]),
44
- default: n(() => [
51
+ default: t(() => [
45
52
  a(o.$slots, "default", {
46
53
  open: !!e.value
47
54
  })
48
55
  ]),
49
56
  _: 3
50
- }, 8, ["aria-expanded", "indent"])
57
+ }, 8, ["aria-expanded", "indent", "selected", "disabled", "icon"])
51
58
  ]),
52
- e.value ? (i(), v(x(o.is), b(C({ key: 0 }, t(m)("flex flex-col gap-px"))), {
53
- default: n(() => [
59
+ e.value ? (i(), v(_(o.is), B(g({ key: 0 }, n(u)("flex flex-col gap-px"))), {
60
+ default: t(() => [
54
61
  a(o.$slots, "items", {
55
62
  open: !!e.value
56
63
  })
57
64
  ]),
58
65
  _: 3
59
- }, 16)) : _("", !0)
66
+ }, 16)) : b("", !0)
60
67
  ]));
61
68
  }
62
69
  });
@@ -0,0 +1,5 @@
1
+ import o from "./ScalarSidebarGroup.vue.js";
2
+ /* empty css */
3
+ export {
4
+ o as default
5
+ };
@@ -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"}
@@ -10,11 +10,15 @@ declare const _default: import("vue").DefineComponent<{
10
10
  indent?: SidebarGroupLevel;
11
11
  /** Whether the indent is selected @default false */
12
12
  selected?: boolean;
13
+ /** Whether the indent hover is disabled @default false */
14
+ disabled?: boolean;
13
15
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
14
16
  /** The number of indents to render @default 0 */
15
17
  indent?: SidebarGroupLevel;
16
18
  /** Whether the indent is selected @default false */
17
19
  selected?: boolean;
20
+ /** Whether the indent hover is disabled @default false */
21
+ disabled?: boolean;
18
22
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
23
  export default _default;
20
24
  //# sourceMappingURL=ScalarSidebarIndent.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarSidebarIndent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarIndent.vue"],"names":[],"mappings":"AAmFA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAI3D;;;;;GAKG;;IAID,iDAAiD;aACxC,iBAAiB;IAC1B,oDAAoD;eACzC,OAAO;;IAHlB,iDAAiD;aACxC,iBAAiB;IAC1B,oDAAoD;eACzC,OAAO;;AANpB,wBAkHC"}
1
+ {"version":3,"file":"ScalarSidebarIndent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarIndent.vue"],"names":[],"mappings":"AAuFA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAI3D;;;;;GAKG;;IAID,iDAAiD;aACxC,iBAAiB;IAC1B,oDAAoD;eACzC,OAAO;IAClB,0DAA0D;eAC/C,OAAO;;IALlB,iDAAiD;aACxC,iBAAiB;IAC1B,oDAAoD;eACzC,OAAO;IAClB,0DAA0D;eAC/C,OAAO;;AARpB,wBAsHC"}
@@ -1,7 +1,7 @@
1
1
  import a from "./ScalarSidebarIndent.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ o(a, [["__scopeId", "data-v-88b1a676"]]);
4
+ const e = /* @__PURE__ */ o(a, [["__scopeId", "data-v-0ac3341b"]]);
5
5
  export {
6
- m as default
6
+ e as default
7
7
  };
@@ -1,18 +1,19 @@
1
1
  import { defineComponent as o, computed as c, createElementBlock as t, openBlock as n, normalizeProps as u, guardReactiveProps as b, unref as m, Fragment as f, renderList as p, createElementVNode as v, createCommentVNode as g, normalizeClass as y } from "vue";
2
- import { useBindCx as _ } from "@scalar/use-hooks/useBindCx";
3
- const h = {}, C = /* @__PURE__ */ o({
4
- ...h,
2
+ import { useBindCx as B } from "@scalar/use-hooks/useBindCx";
3
+ const _ = {}, C = /* @__PURE__ */ o({
4
+ ..._,
5
5
  inheritAttrs: !1,
6
6
  __name: "ScalarSidebarIndent",
7
7
  props: {
8
8
  indent: { default: 0 },
9
- selected: { type: Boolean, default: !1 }
9
+ selected: { type: Boolean, default: !1 },
10
+ disabled: { type: Boolean }
10
11
  },
11
- setup(s) {
12
- const a = c(() => Array.from({ length: s.indent }, (e, r) => r)), { cx: d } = _();
12
+ setup(d) {
13
+ const a = c(() => Array.from({ length: d.indent }, (e, r) => r)), { cx: s } = B();
13
14
  return (e, r) => (n(), t("div", u(b(
14
- m(d)("scalar-sidebar-indent flex justify-center", {
15
- "mr-[calc(18px-var(--scalar-sidebar-indent))]": e.indent > 0,
15
+ m(s)("scalar-sidebar-indent flex justify-center", {
16
+ "mr-[calc(20px-var(--scalar-sidebar-indent))]": e.indent > 0,
16
17
  "scalar-sidebar-indent-selected": e.selected
17
18
  })
18
19
  )), [
@@ -20,12 +21,12 @@ const h = {}, C = /* @__PURE__ */ o({
20
21
  key: l,
21
22
  class: "relative w-[var(--scalar-sidebar-indent)]"
22
23
  }, [
23
- r[0] || (r[0] = v("div", { class: "scalar-sidebar-indent-border absolute left-1.75 inset-y-0 w-border bg-sidebar-indent-border" }, null, -1)),
24
+ r[0] || (r[0] = v("div", { class: "scalar-sidebar-indent-border absolute left-1.5 inset-y-0 w-border bg-sidebar-indent-border" }, null, -1)),
24
25
  i === a.value.length - 1 ? (n(), t("div", {
25
26
  key: 0,
26
27
  class: y([
27
- "absolute left-1.75 inset-y-0 w-border",
28
- e.selected ? "bg-sidebar-indent-active" : "group-hover/button:bg-sidebar-indent-hover"
28
+ "absolute left-1.5 inset-y-0 w-border",
29
+ e.disabled ? "" : e.selected ? "bg-sidebar-indent-border-active" : "group-hover/button:bg-sidebar-indent-border-hover"
29
30
  ])
30
31
  }, null, 2)) : g("", !0)
31
32
  ]))), 128))
@@ -1,4 +1,4 @@
1
- import { defineComponent as o, createBlock as r, openBlock as a, resolveDynamicComponent as n, normalizeProps as s, guardReactiveProps as l, unref as p, withCtx as i, renderSlot as c } from "vue";
1
+ import { defineComponent as o, createBlock as r, openBlock as a, resolveDynamicComponent as s, normalizeProps as n, guardReactiveProps as l, unref as p, withCtx as i, renderSlot as c } from "vue";
2
2
  import { useBindCx as f } from "@scalar/use-hooks/useBindCx";
3
3
  const u = {}, C = /* @__PURE__ */ o({
4
4
  ...u,
@@ -9,7 +9,7 @@ const u = {}, C = /* @__PURE__ */ o({
9
9
  },
10
10
  setup(m) {
11
11
  const { cx: t } = f();
12
- return (e, _) => (a(), r(n(e.is), s(l(p(t)("flex flex-col p-3 gap-px"))), {
12
+ return (e, _) => (a(), r(s(e.is), n(l(p(t)("flex flex-col text-base p-3 gap-px"))), {
13
13
  default: i(() => [
14
14
  c(e.$slots, "default")
15
15
  ]),
@@ -0,0 +1,30 @@
1
+ type __VLS_Props = {
2
+ indent: number;
3
+ };
4
+ type __VLS_PublicProps = {
5
+ 'selected'?: string;
6
+ } & __VLS_Props;
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: {
10
+ search?(_: {}): any;
11
+ default?(_: {}): any;
12
+ footer?(_: {}): any;
13
+ };
14
+ refs: {};
15
+ rootEl: HTMLDivElement;
16
+ };
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ "update:selected": (value: string) => any;
20
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
+ "onUpdate:selected"?: ((value: string) => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
+ export default _default;
25
+ type __VLS_WithTemplateSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
30
+ //# sourceMappingURL=ScalarSidebarPlayground.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarSidebarPlayground.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarPlayground.vue"],"names":[],"mappings":"AAkDA,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAA;CACf,CAAC;AAaF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAwGT,OAAO,IAA6B;;wBAVtB,GAAG;yBACD,GAAG;wBACJ,GAAG;;;;EAa/B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;6FAQnB,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 +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;WAiET,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,9 +1,9 @@
1
- import { defineComponent as d, createElementBlock as s, openBlock as o, mergeProps as c, unref as a, createVNode as p, createElementVNode as t, createCommentVNode as i, renderSlot as n, createTextVNode as u } from "vue";
1
+ import { defineComponent as d, createElementBlock as s, openBlock as o, mergeProps as c, unref as n, createVNode as p, createElementVNode as t, createCommentVNode as i, renderSlot as a, createTextVNode as u } from "vue";
2
2
  import { ScalarIconMagnifyingGlass as b } from "@scalar/icons";
3
3
  import { useBindCx as m } from "@scalar/use-hooks/useBindCx";
4
4
  const f = { class: "flex-1 text-left leading-none" }, h = {
5
5
  key: 0,
6
- class: "uppercase text-sidebar-c-2 bg-b-2 py-0.75 px-1.25 rounded"
6
+ class: "uppercase text-sidebar-c-2 bg-b-2 leading-none py-1 px-1.25 rounded"
7
7
  }, _ = /* @__PURE__ */ d({
8
8
  inheritAttrs: !1,
9
9
  __name: "ScalarSidebarSearchButton",
@@ -17,21 +17,21 @@ const f = { class: "flex-1 text-left leading-none" }, h = {
17
17
  type: "button",
18
18
  role: "search"
19
19
  },
20
- a(l)(
20
+ n(l)(
21
21
  "flex items-center rounded border text-base h-8 gap-1 pl-2 pr-1",
22
22
  "bg-sidebar-b-search border-sidebar-border-search text-sidebar-c-search"
23
23
  )
24
24
  ), [
25
- p(a(b), { class: "size-4" }),
25
+ p(n(b), { class: "size-4" }),
26
26
  t("span", f, [
27
- n(r.$slots, "default", {}, () => [
27
+ a(r.$slots, "default", {}, () => [
28
28
  e[0] || (e[0] = u("Search..."))
29
29
  ])
30
30
  ]),
31
31
  r.$slots.shortcut ? (o(), s("span", h, [
32
32
  e[1] || (e[1] = t("span", { class: "sr-only" }, "Keyboard Shortcut:", -1)),
33
33
  t("kbd", null, [
34
- n(r.$slots, "shortcut")
34
+ a(r.$slots, "shortcut")
35
35
  ])
36
36
  ])) : i("", !0)
37
37
  ], 16));
@@ -0,0 +1,37 @@
1
+ import type { ScalarSidebarItemProps } from './types';
2
+ /**
3
+ * Scalar Sidebar Section component
4
+ *
5
+ * A section of the sidebar that can contain subitems
6
+ *
7
+ * @example
8
+ * <ScalarSidebarSection>
9
+ * <!-- Section title -->
10
+ * <template #title>
11
+ * My Section
12
+ * </template>
13
+ * <!-- Section items -->
14
+ * <template #items>
15
+ * <ScalarSidebarItem>...</ScalarSidebarItem>
16
+ * <ScalarSidebarItem>...</ScalarSidebarItem>
17
+ * </template>
18
+ * </ScalarSidebarSection>
19
+ */
20
+ 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<{
21
+ /** The text content of the toggle */
22
+ default?: () => any;
23
+ /** The list of sidebar subitems */
24
+ items?: () => any;
25
+ }> & {
26
+ /** The text content of the toggle */
27
+ default?: () => any;
28
+ /** The list of sidebar subitems */
29
+ items?: () => any;
30
+ }>;
31
+ export default _default;
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
37
+ //# sourceMappingURL=ScalarSidebarSection.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarSidebarSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarSection.vue"],"names":[],"mappings":"AA0FA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAKrD;;;;;;;;;;;;;;;;;GAiBG;;IAQD,qCAAqC;cAC3B,MAAM,GAAG;IACnB,mCAAmC;YAC3B,MAAM,GAAG;;IAHjB,qCAAqC;cAC3B,MAAM,GAAG;IACnB,mCAAmC;YAC3B,MAAM,GAAG;;AAVnB,wBAsHC;AAWD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { SidebarGroupLevel } from './useSidebarGroups.js';
2
+ /**
3
+ * Scalar Sidebar Spacer component
4
+ *
5
+ * Provide a styled spacer for the ScalarSidebar, handles the indent lines for nested groups
6
+ *
7
+ *
8
+ *
9
+ * @example
10
+ * <ScalarSidebarSpacer />
11
+ */
12
+ declare const _default: import("vue").DefineComponent<{
13
+ indent: SidebarGroupLevel;
14
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
15
+ indent: SidebarGroupLevel;
16
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ export default _default;
18
+ //# sourceMappingURL=ScalarSidebarSpacer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarSidebarSpacer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarSpacer.vue"],"names":[],"mappings":"AAkCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAI3D;;;;;;;;;GASG;;YAG0B,iBAAiB;;YAAjB,iBAAiB;;AAF9C,wBA2EC"}
@@ -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"}