@scalar/components 0.12.66 → 0.12.68

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/ScalarCodeBlock/ScalarCodeBlock.vue.d.ts.map +1 -1
  2. package/dist/components/ScalarCodeBlock/ScalarCodeBlock.vue.js +1 -1
  3. package/dist/components/ScalarDropdown/ScalarDropdown.stories.d.ts +12 -4
  4. package/dist/components/ScalarDropdown/ScalarDropdown.stories.d.ts.map +1 -1
  5. package/dist/components/ScalarDropdown/ScalarDropdown.vue.d.ts +3 -1
  6. package/dist/components/ScalarDropdown/ScalarDropdown.vue.d.ts.map +1 -1
  7. package/dist/components/ScalarDropdown/ScalarDropdown.vue.js +14 -14
  8. package/dist/components/ScalarIcon/icons/House.svg.js +5 -5
  9. package/dist/components/ScalarListbox/ScalarListbox.stories.d.ts +3 -1
  10. package/dist/components/ScalarListbox/ScalarListbox.stories.d.ts.map +1 -1
  11. package/dist/components/ScalarListbox/ScalarListbox.vue.d.ts +3 -1
  12. package/dist/components/ScalarListbox/ScalarListbox.vue.d.ts.map +1 -1
  13. package/dist/components/ScalarListbox/ScalarListbox.vue.js +18 -18
  14. package/dist/components/ScalarMenu/ScalarMenu.spec.d.ts +2 -0
  15. package/dist/components/ScalarMenu/ScalarMenu.spec.d.ts.map +1 -0
  16. package/dist/components/ScalarMenu/ScalarMenu.stories.d.ts +119 -0
  17. package/dist/components/ScalarMenu/ScalarMenu.stories.d.ts.map +1 -0
  18. package/dist/components/ScalarMenu/ScalarMenu.vue.d.ts +27 -0
  19. package/dist/components/ScalarMenu/ScalarMenu.vue.d.ts.map +1 -0
  20. package/dist/components/ScalarMenu/ScalarMenu.vue.js +46 -0
  21. package/dist/components/ScalarMenu/ScalarMenu.vue2.js +4 -0
  22. package/dist/components/ScalarMenu/ScalarMenuLink.vue.d.ts +22 -0
  23. package/dist/components/ScalarMenu/ScalarMenuLink.vue.d.ts.map +1 -0
  24. package/dist/components/ScalarMenu/ScalarMenuLink.vue.js +21 -0
  25. package/dist/components/ScalarMenu/ScalarMenuLink.vue2.js +4 -0
  26. package/dist/components/ScalarMenu/ScalarMenuProduct.vue.d.ts +23 -0
  27. package/dist/components/ScalarMenu/ScalarMenuProduct.vue.d.ts.map +1 -0
  28. package/dist/components/ScalarMenu/ScalarMenuProduct.vue.js +31 -0
  29. package/dist/components/ScalarMenu/ScalarMenuProduct.vue2.js +4 -0
  30. package/dist/components/ScalarMenu/ScalarMenuProducts.vue.d.ts +12 -0
  31. package/dist/components/ScalarMenu/ScalarMenuProducts.vue.d.ts.map +1 -0
  32. package/dist/components/ScalarMenu/ScalarMenuProducts.vue.js +53 -0
  33. package/dist/components/ScalarMenu/ScalarMenuProducts.vue2.js +4 -0
  34. package/dist/components/ScalarMenu/ScalarMenuProfile.vue.d.ts +12 -0
  35. package/dist/components/ScalarMenu/ScalarMenuProfile.vue.d.ts.map +1 -0
  36. package/dist/components/ScalarMenu/ScalarMenuProfile.vue.js +53 -0
  37. package/dist/components/ScalarMenu/ScalarMenuProfile.vue2.js +4 -0
  38. package/dist/components/ScalarMenu/ScalarMenuResources.vue.d.ts +3 -0
  39. package/dist/components/ScalarMenu/ScalarMenuResources.vue.d.ts.map +1 -0
  40. package/dist/components/ScalarMenu/ScalarMenuResources.vue.js +40 -0
  41. package/dist/components/ScalarMenu/ScalarMenuResources.vue2.js +4 -0
  42. package/dist/components/ScalarMenu/ScalarMenuSection.vue.d.ts +19 -0
  43. package/dist/components/ScalarMenu/ScalarMenuSection.vue.d.ts.map +1 -0
  44. package/dist/components/ScalarMenu/ScalarMenuSection.vue.js +17 -0
  45. package/dist/components/ScalarMenu/index.d.ts +8 -0
  46. package/dist/components/ScalarMenu/index.d.ts.map +1 -0
  47. package/dist/components/ScalarModal/ScalarModal.vue.js +4 -4
  48. package/dist/components/ScalarModal/ScalarModal.vue2.js +15 -15
  49. package/dist/components/ScalarPopover/ScalarPopover.stories.d.ts +12 -4
  50. package/dist/components/ScalarPopover/ScalarPopover.stories.d.ts.map +1 -1
  51. package/dist/components/ScalarPopover/ScalarPopover.vue.d.ts +3 -1
  52. package/dist/components/ScalarPopover/ScalarPopover.vue.d.ts.map +1 -1
  53. package/dist/components/ScalarPopover/ScalarPopover.vue.js +7 -7
  54. package/dist/index.d.ts +2 -1
  55. package/dist/index.d.ts.map +1 -1
  56. package/dist/index.js +62 -48
  57. package/dist/style.css +1 -1
  58. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarCodeBlock.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarCodeBlock/ScalarCodeBlock.vue"],"names":[],"mappings":"AA8IA;;GAEG;AACH,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACnC,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;;UAJO,MAAM;iBACC,OAAO;UAEd,OAAO;;AAyHlB,wBAQG"}
1
+ {"version":3,"file":"ScalarCodeBlock.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarCodeBlock/ScalarCodeBlock.vue"],"names":[],"mappings":"AA+IA;;GAEG;AACH,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACnC,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;;UAJO,MAAM;iBACC,OAAO;UAEd,OAAO;;AA0HlB,wBAQG"}
@@ -3,7 +3,7 @@ import { syntaxHighlight as C, standardLanguages as b } from "@scalar/code-highl
3
3
  import { prettyPrintJson as i } from "../../helpers/oas-utils.js";
4
4
  import { useClipboard as g } from "./useClipboard.js";
5
5
  import h from "../ScalarIcon/ScalarIcon.vue.js";
6
- const k = { class: "scalar-code-block custom-scroll" }, N = {
6
+ const k = { class: "scalar-code-block custom-scroll min-h-12" }, N = {
7
7
  key: 0,
8
8
  class: "scalar-code-copy"
9
9
  }, _ = ["innerHTML"], T = /* @__PURE__ */ y({
@@ -32,7 +32,9 @@ declare const meta: {
32
32
  staticOpen: boolean;
33
33
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
34
34
  $slots: {
35
- default?(_: {}): any;
35
+ default?(_: {
36
+ open: any;
37
+ }): any;
36
38
  items?(_: {}): any;
37
39
  };
38
40
  });
@@ -78,7 +80,9 @@ declare const meta: {
78
80
  staticOpen: boolean;
79
81
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
80
82
  $slots: {
81
- default?(_: {}): any;
83
+ default?(_: {
84
+ open: any;
85
+ }): any;
82
86
  items?(_: {}): any;
83
87
  };
84
88
  })>) => {
@@ -115,7 +119,9 @@ declare const meta: {
115
119
  staticOpen: boolean;
116
120
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
117
121
  $slots: {
118
- default?(_: {}): any;
122
+ default?(_: {
123
+ open: any;
124
+ }): any;
119
125
  items?(_: {}): any;
120
126
  };
121
127
  });
@@ -242,7 +248,9 @@ declare const meta: {
242
248
  staticOpen: boolean;
243
249
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
244
250
  $slots: {
245
- default?(_: {}): any;
251
+ default?(_: {
252
+ open: any;
253
+ }): any;
246
254
  items?(_: {}): any;
247
255
  };
248
256
  })>;
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarDropdown.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdown.stories.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAOrD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC6B,CAAA;AAEvC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAAU,CAAA"}
1
+ {"version":3,"file":"ScalarDropdown.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdown.stories.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAOrD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC6B,CAAA;AAEvC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAAU,CAAA"}
@@ -6,7 +6,9 @@ type __VLS_Props = Omit<FloatingOptions, 'middleware'> & {
6
6
  declare function __VLS_template(): {
7
7
  attrs: Partial<{}>;
8
8
  slots: {
9
- default?(_: {}): any;
9
+ default?(_: {
10
+ open: any;
11
+ }): any;
10
12
  items?(_: {}): any;
11
13
  };
12
14
  refs: {};
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdown.vue"],"names":[],"mappings":"AAyDA,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,mBAAmB,CAAA;AAIxE,KAAK,WAAW,GAAG,IAAI,CAAC,eAAe,EAAE,YAAY,CAAC,GAAG;IACnD,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAC;AAgBN,iBAAS,cAAc;WAoGT,OAAO,IAA6B;;yBATpB,GAAG;uBACL,GAAG;;;;EAa9B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YAzIN,OAAO;gBACH,OAAO;6EA+IxB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ScalarDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdown.vue"],"names":[],"mappings":"AAyDA,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,mBAAmB,CAAA;AAIxE,KAAK,WAAW,GAAG,IAAI,CAAC,eAAe,EAAE,YAAY,CAAC,GAAG;IACnD,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAC;AAgBN,iBAAS,cAAc;WAoGT,OAAO,IAA6B;;;;YATpB,GAAG;uBACL,GAAG;;;;EAa9B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YAzIN,OAAO;gBACH,OAAO;6EA+IxB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, openBlock as r, createBlock as n, unref as l, withCtx as t, createVNode as i, mergeProps as d, createElementVNode as s, normalizeStyle as u, renderSlot as p, createCommentVNode as c } from "vue";
1
+ import { defineComponent as m, openBlock as n, createBlock as i, unref as l, withCtx as t, createVNode as p, mergeProps as d, createElementVNode as s, normalizeStyle as u, renderSlot as f, createCommentVNode as c } from "vue";
2
2
  import { Menu as g, MenuItems as y, MenuButton as B } from "@headlessui/vue";
3
3
  import b from "../ScalarFloating/ScalarFloating.vue.js";
4
4
  const h = { class: "custom-scroll min-h-0 flex-1" }, S = /* @__PURE__ */ m({
@@ -14,28 +14,28 @@ const h = { class: "custom-scroll min-h-0 flex-1" }, S = /* @__PURE__ */ m({
14
14
  staticOpen: { type: Boolean, default: !0 }
15
15
  },
16
16
  setup(z) {
17
- return (e, a) => (r(), n(l(g), null, {
18
- default: t(({ open: f }) => [
19
- i(l(b), {
20
- isOpen: e.static ? e.staticOpen : f ?? e.isOpen,
17
+ return (e, a) => (n(), i(l(g), null, {
18
+ default: t(({ open: o }) => [
19
+ p(l(b), {
20
+ isOpen: e.static ? e.staticOpen : o ?? e.isOpen,
21
21
  placement: e.placement ?? "bottom-start",
22
22
  resize: e.resize,
23
23
  targetRef: e.targetRef,
24
24
  teleport: e.teleport
25
25
  }, {
26
- floating: t(({ width: o }) => [
27
- i(l(y), d(e.$attrs, {
26
+ floating: t(({ width: r }) => [
27
+ p(l(y), d(e.$attrs, {
28
28
  class: "relative flex max-h-[inherit] w-56 rounded border",
29
29
  static: e.static,
30
- style: { width: o }
30
+ style: { width: r }
31
31
  }), {
32
32
  default: t(() => [
33
33
  s("div", h, [
34
34
  s("div", {
35
35
  class: "flex flex-col p-0.75",
36
- style: u({ width: o })
36
+ style: u({ width: r })
37
37
  }, [
38
- p(e.$slots, "items")
38
+ f(e.$slots, "items")
39
39
  ], 4),
40
40
  a[0] || (a[0] = s("div", { class: "absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted" }, null, -1))
41
41
  ])
@@ -44,15 +44,15 @@ const h = { class: "custom-scroll min-h-0 flex-1" }, S = /* @__PURE__ */ m({
44
44
  }, 1040, ["static", "style"])
45
45
  ]),
46
46
  default: t(() => [
47
- e.static ? c("", !0) : (r(), n(l(B), {
47
+ e.static ? c("", !0) : (n(), i(l(B), {
48
48
  key: 0,
49
49
  as: "template"
50
50
  }, {
51
51
  default: t(() => [
52
- p(e.$slots, "default")
52
+ f(e.$slots, "default", { open: o })
53
53
  ]),
54
- _: 3
55
- }))
54
+ _: 2
55
+ }, 1024))
56
56
  ]),
57
57
  _: 2
58
58
  }, 1032, ["isOpen", "placement", "resize", "targetRef", "teleport"])
@@ -7,13 +7,13 @@ const t = {
7
7
  "stroke-linejoin": "round",
8
8
  viewBox: "0 0 24 24"
9
9
  };
10
- function l(s, e) {
10
+ function c(l, e) {
11
11
  return o(), n("svg", t, e[0] || (e[0] = [
12
- r("path", { d: "M22.868 8.947 12 .747l-10.878 8.2a1.18 1.18 0 0 0-.377.8v12.522a.98.98 0 0 0 .978.978h6.522V18a3.75 3.75 0 0 1 7.5 0v5.25h6.521a.98.98 0 0 0 .979-.978V9.747a1.18 1.18 0 0 0-.377-.8" }, null, -1)
12
+ r("path", { d: "M22.1 9.2 12 1.5 1.8 9.2c-.2.2-.3.5-.4.7v11.7c0 .5.4.9.9.9h6.1v-4.9c0-1.9 1.6-3.5 3.5-3.5s3.5 1.6 3.5 3.5v4.9h6.1c.5 0 .9-.4.9-.9V9.9c0-.3-.1-.6-.4-.7z" }, null, -1)
13
13
  ]));
14
14
  }
15
- const c = { render: l };
15
+ const d = { render: c };
16
16
  export {
17
- c as default,
18
- l as render
17
+ d as default,
18
+ c as render
19
19
  };
@@ -52,7 +52,9 @@ declare const meta: {
52
52
  multiple: boolean;
53
53
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
54
54
  $slots: {
55
- default?(_: {}): any;
55
+ default?(_: {
56
+ open: any;
57
+ }): any;
56
58
  };
57
59
  });
58
60
  tags: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarListbox.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarListbox/ScalarListbox.stories.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAKrD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAErC,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAY4B,CAAA;AAEtC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAkClB,CAAA"}
1
+ {"version":3,"file":"ScalarListbox.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarListbox/ScalarListbox.stories.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAKrD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAErC,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAY4B,CAAA;AAEtC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAkClB,CAAA"}
@@ -16,7 +16,9 @@ type __VLS_Props = {
16
16
  declare function __VLS_template(): {
17
17
  attrs: Partial<{}>;
18
18
  slots: {
19
- default?(_: {}): any;
19
+ default?(_: {
20
+ open: any;
21
+ }): any;
20
22
  };
21
23
  refs: {};
22
24
  rootEl: any;
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarListbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarListbox/ScalarListbox.vue"],"names":[],"mappings":"AAgJA,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,mBAAmB,CAAA;AAExE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAIrC,KAAK,WAAW,GAAG;IACb;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,GAAG,IAAI,CAAC,eAAe,EAAE,YAAY,GAAG,QAAQ,GAAG,WAAW,CAAC,CAAC;AAwCrE,iBAAS,cAAc;WA4KT,OAAO,IAA6B;;yBARpB,GAAG;;;;EAahC;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;cAnPJ,OAAO;6EA2PtB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,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":"AAgJA,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,mBAAmB,CAAA;AAExE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAIrC,KAAK,WAAW,GAAG;IACb;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,GAAG,IAAI,CAAC,eAAe,EAAE,YAAY,GAAG,QAAQ,GAAG,WAAW,CAAC,CAAC;AAwCrE,iBAAS,cAAc;WA4KT,OAAO,IAA6B;;;;YARpB,GAAG;;;;EAahC;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;cAnPJ,OAAO;6EA2PtB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as v, openBlock as r, createBlock as u, unref as t, normalizeClass as i, withCtx as s, createTextVNode as x, toDisplayString as m, createCommentVNode as g, createVNode as n, createElementVNode as a, mergeProps as y, createElementBlock as h, Fragment as V, renderList as k, renderSlot as B } from "vue";
1
+ import { defineComponent as v, openBlock as i, createBlock as u, unref as t, normalizeClass as n, withCtx as s, createTextVNode as x, toDisplayString as m, createCommentVNode as g, createVNode as d, createElementVNode as a, mergeProps as y, createElementBlock as h, Fragment as V, renderList as k, renderSlot as B } from "vue";
2
2
  import { Listbox as z, ListboxLabel as L, ListboxOptions as w, ListboxOption as O, ListboxButton as C } from "@headlessui/vue";
3
3
  import { cva as S, cx as N } from "../../cva.js";
4
4
  import $ from "../ScalarFloating/ScalarFloating.vue.js";
@@ -37,15 +37,15 @@ const E = { class: "custom-scroll min-h-0 flex-1" }, T = /* @__PURE__ */ v({
37
37
  disabled: { true: "pointer-events-none opacity-50" }
38
38
  }
39
39
  });
40
- return (e, o) => (r(), u(t(z), {
40
+ return (e, o) => (i(), u(t(z), {
41
41
  as: "div",
42
- class: i([{ "w-full": e.fullWidth }, "text-sm"]),
42
+ class: n([{ "w-full": e.fullWidth }, "text-sm"]),
43
43
  modelValue: e.modelValue,
44
44
  multiple: e.multiple,
45
- "onUpdate:modelValue": o[0] || (o[0] = (d) => e.$emit("update:modelValue", d))
45
+ "onUpdate:modelValue": o[0] || (o[0] = (r) => e.$emit("update:modelValue", r))
46
46
  }, {
47
- default: s(({ open: d }) => [
48
- e.label ? (r(), u(t(L), {
47
+ default: s(({ open: r }) => [
48
+ e.label ? (i(), u(t(L), {
49
49
  key: 0,
50
50
  class: "sr-only"
51
51
  }, {
@@ -54,8 +54,8 @@ const E = { class: "custom-scroll min-h-0 flex-1" }, T = /* @__PURE__ */ v({
54
54
  ]),
55
55
  _: 1
56
56
  })) : g("", !0),
57
- n(t($), {
58
- isOpen: d ?? e.isOpen,
57
+ d(t($), {
58
+ isOpen: r ?? e.isOpen,
59
59
  placement: e.placement ?? "bottom-start",
60
60
  resize: e.resize,
61
61
  teleport: e.teleport
@@ -66,9 +66,9 @@ const E = { class: "custom-scroll min-h-0 flex-1" }, T = /* @__PURE__ */ v({
66
66
  style: { width: f }
67
67
  }), [
68
68
  a("div", E, [
69
- n(t(w), { class: "flex flex-col p-0.75" }, {
69
+ d(t(w), { class: "flex flex-col p-0.75" }, {
70
70
  default: s(() => [
71
- (r(!0), h(V, null, k(e.options, (l) => (r(), u(t(O), {
71
+ (i(!0), h(V, null, k(e.options, (l) => (i(), u(t(O), {
72
72
  key: l.id,
73
73
  as: "template",
74
74
  disabled: l.disabled,
@@ -76,26 +76,26 @@ const E = { class: "custom-scroll min-h-0 flex-1" }, T = /* @__PURE__ */ v({
76
76
  }, {
77
77
  default: s(({ active: b, selected: p }) => [
78
78
  a("li", {
79
- class: i(
79
+ class: n(
80
80
  t(N)(
81
81
  t(c)({ active: b, selected: p, disabled: l.disabled })
82
82
  )
83
83
  )
84
84
  }, [
85
85
  a("div", {
86
- class: i([
86
+ class: n([
87
87
  "flex size-4 items-center justify-center rounded-full p-[3px]",
88
88
  p ? "bg-c-accent text-b-1" : "text-transparent group-hover/listbox:shadow-border"
89
89
  ])
90
90
  }, [
91
- n(t(j), {
91
+ d(t(j), {
92
92
  class: "relative top-[0.5px] size-2.5",
93
93
  icon: "Checkmark",
94
94
  thickness: "2.5"
95
95
  })
96
96
  ], 2),
97
97
  a("span", {
98
- class: i(["inline-block min-w-0 flex-1 truncate", l.color ? l.color : "text-c-1"])
98
+ class: n(["inline-block min-w-0 flex-1 truncate", l.color ? l.color : "text-c-1"])
99
99
  }, m(l.label), 3)
100
100
  ], 2)
101
101
  ]),
@@ -109,16 +109,16 @@ const E = { class: "custom-scroll min-h-0 flex-1" }, T = /* @__PURE__ */ v({
109
109
  ], 16)
110
110
  ]),
111
111
  default: s(() => [
112
- n(t(C), {
112
+ d(t(C), {
113
113
  id: e.id,
114
114
  as: "template",
115
115
  class: "justify-start focus:outline-none focus-visible:ring-1 focus-visible:ring-c-accent"
116
116
  }, {
117
117
  default: s(() => [
118
- B(e.$slots, "default")
118
+ B(e.$slots, "default", { open: r })
119
119
  ]),
120
- _: 3
121
- }, 8, ["id"])
120
+ _: 2
121
+ }, 1032, ["id"])
122
122
  ]),
123
123
  _: 2
124
124
  }, 1032, ["isOpen", "placement", "resize", "teleport"])
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarMenu.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarMenu.spec.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenu.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,119 @@
1
+ import type { StoryObj } from '@storybook/vue3';
2
+ declare const meta: {
3
+ component: {
4
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
5
+ P: {};
6
+ B: {};
7
+ D: {};
8
+ C: {};
9
+ M: {};
10
+ Defaults: {};
11
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
12
+ __isFragment?: never;
13
+ __isTeleport?: never;
14
+ __isSuspense?: never;
15
+ } & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
16
+ $slots: {
17
+ logo?(_: {}): any;
18
+ products?(_: {
19
+ close: () => any;
20
+ }): any;
21
+ profile?(_: {
22
+ close: () => any;
23
+ }): any;
24
+ sections?(_: {
25
+ close: () => any;
26
+ }): any;
27
+ };
28
+ });
29
+ tags: string[];
30
+ argTypes: {};
31
+ render: (args: import("@storybook/vue3").ComponentPropsAndSlots<{
32
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
33
+ P: {};
34
+ B: {};
35
+ D: {};
36
+ C: {};
37
+ M: {};
38
+ Defaults: {};
39
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
40
+ __isFragment?: never;
41
+ __isTeleport?: never;
42
+ __isSuspense?: never;
43
+ } & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
+ $slots: {
45
+ logo?(_: {}): any;
46
+ products?(_: {
47
+ close: () => any;
48
+ }): any;
49
+ profile?(_: {
50
+ close: () => any;
51
+ }): any;
52
+ sections?(_: {
53
+ close: () => any;
54
+ }): any;
55
+ };
56
+ })>) => {
57
+ components: {
58
+ ScalarMenu: {
59
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
60
+ P: {};
61
+ B: {};
62
+ D: {};
63
+ C: {};
64
+ M: {};
65
+ Defaults: {};
66
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
67
+ __isFragment?: never;
68
+ __isTeleport?: never;
69
+ __isSuspense?: never;
70
+ } & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
71
+ $slots: {
72
+ logo?(_: {}): any;
73
+ products?(_: {
74
+ close: () => any;
75
+ }): any;
76
+ profile?(_: {
77
+ close: () => any;
78
+ }): any;
79
+ sections?(_: {
80
+ close: () => any;
81
+ }): any;
82
+ };
83
+ });
84
+ };
85
+ setup(this: void): {
86
+ args: import("@storybook/vue3").ComponentPropsAndSlots<{
87
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
88
+ P: {};
89
+ B: {};
90
+ D: {};
91
+ C: {};
92
+ M: {};
93
+ Defaults: {};
94
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
95
+ __isFragment?: never;
96
+ __isTeleport?: never;
97
+ __isSuspense?: never;
98
+ } & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
99
+ $slots: {
100
+ logo?(_: {}): any;
101
+ products?(_: {
102
+ close: () => any;
103
+ }): any;
104
+ profile?(_: {
105
+ close: () => any;
106
+ }): any;
107
+ sections?(_: {
108
+ close: () => any;
109
+ }): any;
110
+ };
111
+ })>;
112
+ };
113
+ template: string;
114
+ };
115
+ };
116
+ export default meta;
117
+ type Story = StoryObj<typeof meta>;
118
+ export declare const Base: Story;
119
+ //# sourceMappingURL=ScalarMenu.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarMenu.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenu.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAIrD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAayB,CAAA;AAEnC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAAU,CAAA"}
@@ -0,0 +1,27 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ logo?(_: {}): any;
5
+ products?(_: {
6
+ close: () => any;
7
+ }): any;
8
+ profile?(_: {
9
+ close: () => any;
10
+ }): any;
11
+ sections?(_: {
12
+ close: () => any;
13
+ }): any;
14
+ };
15
+ refs: {};
16
+ rootEl: any;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
+ export default _default;
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
27
+ //# sourceMappingURL=ScalarMenu.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenu.vue"],"names":[],"mappings":"AAyDA,iBAAS,cAAc;WA+GT,OAAO,IAA6B;;sBAXxB,GAAG;;;YACE,GAAG;;;YACJ,GAAG;;;YACF,GAAG;;;;EAajC;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+QAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,46 @@
1
+ import { defineComponent as a, openBlock as l, createBlock as i, unref as r, withCtx as c, createElementVNode as n, renderSlot as e, createVNode as s } from "vue";
2
+ /* empty css */
3
+ import m from "./ScalarMenuProducts.vue.js";
4
+ import f from "./ScalarMenuResources.vue.js";
5
+ import u from "../ScalarPopover/ScalarPopover.vue.js";
6
+ import p from "../ScalarIcon/ScalarIcon.vue.js";
7
+ const _ = {
8
+ class: "group/button -m-1 flex items-center gap-1 rounded bg-transparent px-2.5 py-2 hover:bg-b-2",
9
+ type: "button"
10
+ }, d = { class: "size-5" }, h = { class: "custom-scroll flex max-h-[calc(100svh-60px)] w-[420px] max-w-[calc(100svw-24px)] flex-col gap-5 px-4 py-4" }, y = /* @__PURE__ */ a({
11
+ __name: "ScalarMenu",
12
+ setup(x) {
13
+ return (t, v) => (l(), i(r(u), { placement: "bottom-start" }, {
14
+ default: c(({ open: o }) => [
15
+ n("button", _, [
16
+ n("div", d, [
17
+ e(t.$slots, "logo", {}, () => [
18
+ s(r(p), { icon: "Logo" })
19
+ ])
20
+ ]),
21
+ s(r(p), {
22
+ class: "text-c-3 group-hover/button:text-c-1",
23
+ icon: o ? "ChevronUp" : "ChevronDown",
24
+ size: "sm",
25
+ thickness: "2.5"
26
+ }, null, 8, ["icon"])
27
+ ])
28
+ ]),
29
+ popover: c(({ close: o }) => [
30
+ n("div", h, [
31
+ e(t.$slots, "products", { close: o }, () => [
32
+ s(m)
33
+ ]),
34
+ e(t.$slots, "profile", { close: o }),
35
+ e(t.$slots, "sections", { close: o }, () => [
36
+ s(f)
37
+ ])
38
+ ])
39
+ ]),
40
+ _: 3
41
+ }));
42
+ }
43
+ });
44
+ export {
45
+ y as default
46
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./ScalarMenu.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,22 @@
1
+ import type { Component } from 'vue';
2
+ type __VLS_Props = {
3
+ is?: string | Component;
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: any;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
22
+ //# sourceMappingURL=ScalarMenuLink.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarMenuLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuLink.vue"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAIpC,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACxB,CAAC;AAQF,iBAAS,cAAc;WAoDT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAQD,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"}
@@ -0,0 +1,21 @@
1
+ import { defineComponent as t, openBlock as o, createBlock as n, resolveDynamicComponent as r, withCtx as a, renderSlot as i } from "vue";
2
+ const u = /* @__PURE__ */ t({
3
+ __name: "ScalarMenuLink",
4
+ props: {
5
+ is: {}
6
+ },
7
+ setup(p) {
8
+ return (e, s) => (o(), n(r(e.is ?? "a"), {
9
+ class: "relative flex cursor-pointer rounded px-2.5 py-1 font-medium leading text-c-2 no-underline hover:bg-b-2 hover:text-c-1",
10
+ type: e.is === "button" ? "button" : void 0
11
+ }, {
12
+ default: a(() => [
13
+ i(e.$slots, "default")
14
+ ]),
15
+ _: 3
16
+ }, 8, ["type"]));
17
+ }
18
+ });
19
+ export {
20
+ u as default
21
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./ScalarMenuLink.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,23 @@
1
+ import { type Icon } from '../../index.js';
2
+ type __VLS_Props = {
3
+ selected?: boolean;
4
+ icon: Icon;
5
+ };
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: HTMLAnchorElement;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLAnchorElement>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
23
+ //# sourceMappingURL=ScalarMenuProduct.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarMenuProduct.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuProduct.vue"],"names":[],"mappings":"AA0BA,OAAO,EAAE,KAAK,IAAI,EAAc,MAAM,QAAQ,CAAA;AAI9C,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,IAAI,CAAA;CACX,CAAC;AAQF,iBAAS,cAAc;WAyDT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,gTAOnB,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"}