@scalar/components 0.12.68 → 0.12.70

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 (37) hide show
  1. package/dist/components/ScalarCodeBlock/ScalarCodeBlock.vue.js +1 -1
  2. package/dist/components/ScalarListbox/ScalarListbox.stories.d.ts +0 -3
  3. package/dist/components/ScalarListbox/ScalarListbox.stories.d.ts.map +1 -1
  4. package/dist/components/ScalarListbox/ScalarListbox.vue.d.ts +0 -1
  5. package/dist/components/ScalarListbox/ScalarListbox.vue.d.ts.map +1 -1
  6. package/dist/components/ScalarListbox/ScalarListbox.vue.js +22 -25
  7. package/dist/components/ScalarMenu/ScalarMenu.stories.d.ts +66 -12
  8. package/dist/components/ScalarMenu/ScalarMenu.stories.d.ts.map +1 -1
  9. package/dist/components/ScalarMenu/ScalarMenu.vue.d.ts +7 -1
  10. package/dist/components/ScalarMenu/ScalarMenu.vue.d.ts.map +1 -1
  11. package/dist/components/ScalarMenu/ScalarMenu.vue.js +40 -33
  12. package/dist/components/ScalarMenu/ScalarMenuButton.vue.d.ts +22 -0
  13. package/dist/components/ScalarMenu/ScalarMenuButton.vue.d.ts.map +1 -0
  14. package/dist/components/ScalarMenu/ScalarMenuButton.vue.js +34 -0
  15. package/dist/components/ScalarMenu/ScalarMenuButton.vue2.js +4 -0
  16. package/dist/components/ScalarMenu/ScalarMenuProduct.vue.d.ts.map +1 -1
  17. package/dist/components/ScalarMenu/ScalarMenuProduct.vue.js +8 -9
  18. package/dist/components/ScalarMenu/ScalarMenuProducts.vue.d.ts.map +1 -1
  19. package/dist/components/ScalarMenu/ScalarMenuProducts.vue.js +1 -1
  20. package/dist/components/ScalarMenu/{ScalarMenuProfile.vue.d.ts → ScalarMenuTeamPicker.vue.d.ts} +1 -1
  21. package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue.d.ts.map +1 -0
  22. package/dist/components/ScalarMenu/{ScalarMenuProfile.vue.js → ScalarMenuTeamPicker.vue.js} +14 -15
  23. package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue2.js +4 -0
  24. package/dist/components/ScalarMenu/index.d.ts +1 -1
  25. package/dist/components/ScalarMenu/index.d.ts.map +1 -1
  26. package/dist/components/ScalarModal/ScalarModal.stories.d.ts +3 -3
  27. package/dist/components/ScalarModal/ScalarModal.vue.d.ts +2 -2
  28. package/dist/index.d.ts +20 -21
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.js +68 -66
  31. package/dist/style.css +1 -1
  32. package/package.json +3 -2
  33. package/dist/components/ScalarCodeBlock/useClipboard.d.ts +0 -4
  34. package/dist/components/ScalarCodeBlock/useClipboard.d.ts.map +0 -1
  35. package/dist/components/ScalarCodeBlock/useClipboard.js +0 -14
  36. package/dist/components/ScalarMenu/ScalarMenuProfile.vue.d.ts.map +0 -1
  37. package/dist/components/ScalarMenu/ScalarMenuProfile.vue2.js +0 -4
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as y, computed as s, openBlock as o, createElementBlock as n, unref as l, createElementVNode as a, createVNode as f, createCommentVNode as c } from "vue";
2
2
  import { syntaxHighlight as C, standardLanguages as b } from "@scalar/code-highlight";
3
+ import { useClipboard as g } from "@scalar/use-hooks/useClipboard";
3
4
  import { prettyPrintJson as i } from "../../helpers/oas-utils.js";
4
- import { useClipboard as g } from "./useClipboard.js";
5
5
  import h from "../ScalarIcon/ScalarIcon.vue.js";
6
6
  const k = { class: "scalar-code-block custom-scroll min-h-12" }, N = {
7
7
  key: 0,
@@ -6,7 +6,6 @@ declare const meta: {
6
6
  multiple?: boolean;
7
7
  options: Option[];
8
8
  modelValue?: Option | Option[];
9
- fullWidth?: boolean;
10
9
  id?: string;
11
10
  label?: string;
12
11
  } & Omit<import("../ScalarFloating").FloatingOptions, "targetRef" | "middleware" | "offset">> & Readonly<{
@@ -26,7 +25,6 @@ declare const meta: {
26
25
  multiple?: boolean;
27
26
  options: Option[];
28
27
  modelValue?: Option | Option[];
29
- fullWidth?: boolean;
30
28
  id?: string;
31
29
  label?: string;
32
30
  } & Omit<import("../ScalarFloating").FloatingOptions, "targetRef" | "middleware" | "offset">> & Readonly<{
@@ -41,7 +39,6 @@ declare const meta: {
41
39
  multiple?: boolean;
42
40
  options: Option[];
43
41
  modelValue?: Option | Option[];
44
- fullWidth?: boolean;
45
42
  id?: string;
46
43
  label?: string;
47
44
  } & Omit<import("../ScalarFloating").FloatingOptions, "targetRef" | "middleware" | "offset">> & Readonly<{
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO4B,CAAA;AAEtC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAkClB,CAAA"}
@@ -9,7 +9,6 @@ type __VLS_Props = {
9
9
  multiple?: boolean;
10
10
  options: Option[];
11
11
  modelValue?: Option | Option[];
12
- fullWidth?: boolean;
13
12
  id?: string;
14
13
  label?: string;
15
14
  } & Omit<FloatingOptions, 'middleware' | 'offset' | 'targetRef'>;
@@ -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;;;;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
+ {"version":3,"file":"ScalarListbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarListbox/ScalarListbox.vue"],"names":[],"mappings":"AA6IA,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,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;WA2KT,OAAO,IAA6B;;;;YARpB,GAAG;;;;EAahC;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;cAjPJ,OAAO;6EAyPtB,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,16 +1,15 @@
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
- import { Listbox as z, ListboxLabel as L, ListboxOptions as w, ListboxOption as O, ListboxButton as C } from "@headlessui/vue";
1
+ import { defineComponent as x, openBlock as i, createBlock as d, unref as t, withCtx as s, createTextVNode as v, toDisplayString as m, createCommentVNode as g, createVNode as n, createElementVNode as a, mergeProps as y, createElementBlock as V, Fragment as h, renderList as k, normalizeClass as p, renderSlot as z } from "vue";
2
+ import { Listbox as B, 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";
5
5
  import j from "../ScalarIcon/ScalarIcon.vue.js";
6
- const E = { class: "custom-scroll min-h-0 flex-1" }, T = /* @__PURE__ */ v({
6
+ const E = { class: "custom-scroll min-h-0 flex-1" }, U = /* @__PURE__ */ x({
7
7
  inheritAttrs: !1,
8
8
  __name: "ScalarListbox",
9
9
  props: {
10
10
  multiple: { type: Boolean, default: !1 },
11
11
  options: {},
12
12
  modelValue: {},
13
- fullWidth: { type: Boolean },
14
13
  id: {},
15
14
  label: {},
16
15
  placement: {},
@@ -19,7 +18,7 @@ const E = { class: "custom-scroll min-h-0 flex-1" }, T = /* @__PURE__ */ v({
19
18
  teleport: { type: [Boolean, String] }
20
19
  },
21
20
  emits: ["update:modelValue"],
22
- setup(W) {
21
+ setup(A) {
23
22
  const c = S({
24
23
  base: [
25
24
  // Layout
@@ -37,24 +36,22 @@ const E = { class: "custom-scroll min-h-0 flex-1" }, T = /* @__PURE__ */ v({
37
36
  disabled: { true: "pointer-events-none opacity-50" }
38
37
  }
39
38
  });
40
- return (e, o) => (i(), u(t(z), {
41
- as: "div",
42
- class: n([{ "w-full": e.fullWidth }, "text-sm"]),
39
+ return (e, o) => (i(), d(t(B), {
43
40
  modelValue: e.modelValue,
44
41
  multiple: e.multiple,
45
42
  "onUpdate:modelValue": o[0] || (o[0] = (r) => e.$emit("update:modelValue", r))
46
43
  }, {
47
44
  default: s(({ open: r }) => [
48
- e.label ? (i(), u(t(L), {
45
+ e.label ? (i(), d(t(L), {
49
46
  key: 0,
50
47
  class: "sr-only"
51
48
  }, {
52
49
  default: s(() => [
53
- x(m(e.label), 1)
50
+ v(m(e.label), 1)
54
51
  ]),
55
52
  _: 1
56
53
  })) : g("", !0),
57
- d(t($), {
54
+ n(t($), {
58
55
  isOpen: r ?? e.isOpen,
59
56
  placement: e.placement ?? "bottom-start",
60
57
  resize: e.resize,
@@ -62,40 +59,40 @@ const E = { class: "custom-scroll min-h-0 flex-1" }, T = /* @__PURE__ */ v({
62
59
  }, {
63
60
  floating: s(({ width: f }) => [
64
61
  a("div", y(e.$attrs, {
65
- class: "relative flex max-h-[inherit] w-40 rounded border",
62
+ class: "relative flex max-h-[inherit] w-40 rounded border text-sm",
66
63
  style: { width: f }
67
64
  }), [
68
65
  a("div", E, [
69
- d(t(w), { class: "flex flex-col p-0.75" }, {
66
+ n(t(w), { class: "flex flex-col p-0.75" }, {
70
67
  default: s(() => [
71
- (i(!0), h(V, null, k(e.options, (l) => (i(), u(t(O), {
68
+ (i(!0), V(h, null, k(e.options, (l) => (i(), d(t(O), {
72
69
  key: l.id,
73
70
  as: "template",
74
71
  disabled: l.disabled,
75
72
  value: l
76
73
  }, {
77
- default: s(({ active: b, selected: p }) => [
74
+ default: s(({ active: b, selected: u }) => [
78
75
  a("li", {
79
- class: n(
76
+ class: p(
80
77
  t(N)(
81
- t(c)({ active: b, selected: p, disabled: l.disabled })
78
+ t(c)({ active: b, selected: u, disabled: l.disabled })
82
79
  )
83
80
  )
84
81
  }, [
85
82
  a("div", {
86
- class: n([
83
+ class: p([
87
84
  "flex size-4 items-center justify-center rounded-full p-[3px]",
88
- p ? "bg-c-accent text-b-1" : "text-transparent group-hover/listbox:shadow-border"
85
+ u ? "bg-c-accent text-b-1" : "text-transparent group-hover/listbox:shadow-border"
89
86
  ])
90
87
  }, [
91
- d(t(j), {
88
+ n(t(j), {
92
89
  class: "relative top-[0.5px] size-2.5",
93
90
  icon: "Checkmark",
94
91
  thickness: "2.5"
95
92
  })
96
93
  ], 2),
97
94
  a("span", {
98
- class: n(["inline-block min-w-0 flex-1 truncate", l.color ? l.color : "text-c-1"])
95
+ class: p(["inline-block min-w-0 flex-1 truncate", l.color ? l.color : "text-c-1"])
99
96
  }, m(l.label), 3)
100
97
  ], 2)
101
98
  ]),
@@ -109,13 +106,13 @@ const E = { class: "custom-scroll min-h-0 flex-1" }, T = /* @__PURE__ */ v({
109
106
  ], 16)
110
107
  ]),
111
108
  default: s(() => [
112
- d(t(C), {
109
+ n(t(C), {
113
110
  id: e.id,
114
111
  as: "template",
115
112
  class: "justify-start focus:outline-none focus-visible:ring-1 focus-visible:ring-c-accent"
116
113
  }, {
117
114
  default: s(() => [
118
- B(e.$slots, "default", { open: r })
115
+ z(e.$slots, "default", { open: r })
119
116
  ]),
120
117
  _: 2
121
118
  }, 1032, ["id"])
@@ -124,9 +121,9 @@ const E = { class: "custom-scroll min-h-0 flex-1" }, T = /* @__PURE__ */ v({
124
121
  }, 1032, ["isOpen", "placement", "resize", "teleport"])
125
122
  ]),
126
123
  _: 3
127
- }, 8, ["class", "modelValue", "multiple"]));
124
+ }, 8, ["modelValue", "multiple"]));
128
125
  }
129
126
  });
130
127
  export {
131
- T as default
128
+ U as default
132
129
  };
@@ -1,20 +1,33 @@
1
1
  import type { StoryObj } from '@storybook/vue3';
2
2
  declare const meta: {
3
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, {
4
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
5
+ placement?: import("@floating-ui/vue").Placement | undefined;
6
+ teleport?: (boolean | string) | undefined;
7
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
5
8
  P: {};
6
9
  B: {};
7
10
  D: {};
8
11
  C: {};
9
12
  M: {};
10
13
  Defaults: {};
11
- }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
14
+ }, Readonly<{
15
+ placement?: import("@floating-ui/vue").Placement | undefined;
16
+ teleport?: (boolean | string) | undefined;
17
+ }> & Readonly<{}>, {}, {}, {}, {}, {}>;
12
18
  __isFragment?: never;
13
19
  __isTeleport?: never;
14
20
  __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 () => {
21
+ } & import("vue").ComponentOptionsBase<Readonly<{
22
+ placement?: import("@floating-ui/vue").Placement | undefined;
23
+ teleport?: (boolean | string) | undefined;
24
+ }> & 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
25
  $slots: {
26
+ button?(_: {
27
+ open: any;
28
+ }): any;
17
29
  logo?(_: {}): any;
30
+ label?(_: {}): any;
18
31
  products?(_: {
19
32
  close: () => any;
20
33
  }): any;
@@ -29,20 +42,33 @@ declare const meta: {
29
42
  tags: string[];
30
43
  argTypes: {};
31
44
  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, {
45
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
46
+ placement?: import("@floating-ui/vue").Placement | undefined;
47
+ teleport?: (boolean | string) | undefined;
48
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
33
49
  P: {};
34
50
  B: {};
35
51
  D: {};
36
52
  C: {};
37
53
  M: {};
38
54
  Defaults: {};
39
- }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
55
+ }, Readonly<{
56
+ placement?: import("@floating-ui/vue").Placement | undefined;
57
+ teleport?: (boolean | string) | undefined;
58
+ }> & Readonly<{}>, {}, {}, {}, {}, {}>;
40
59
  __isFragment?: never;
41
60
  __isTeleport?: never;
42
61
  __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 () => {
62
+ } & import("vue").ComponentOptionsBase<Readonly<{
63
+ placement?: import("@floating-ui/vue").Placement | undefined;
64
+ teleport?: (boolean | string) | undefined;
65
+ }> & 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
66
  $slots: {
67
+ button?(_: {
68
+ open: any;
69
+ }): any;
45
70
  logo?(_: {}): any;
71
+ label?(_: {}): any;
46
72
  products?(_: {
47
73
  close: () => any;
48
74
  }): any;
@@ -56,20 +82,33 @@ declare const meta: {
56
82
  })>) => {
57
83
  components: {
58
84
  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, {
85
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
86
+ placement?: import("@floating-ui/vue").Placement | undefined;
87
+ teleport?: (boolean | string) | undefined;
88
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
60
89
  P: {};
61
90
  B: {};
62
91
  D: {};
63
92
  C: {};
64
93
  M: {};
65
94
  Defaults: {};
66
- }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
95
+ }, Readonly<{
96
+ placement?: import("@floating-ui/vue").Placement | undefined;
97
+ teleport?: (boolean | string) | undefined;
98
+ }> & Readonly<{}>, {}, {}, {}, {}, {}>;
67
99
  __isFragment?: never;
68
100
  __isTeleport?: never;
69
101
  __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 () => {
102
+ } & import("vue").ComponentOptionsBase<Readonly<{
103
+ placement?: import("@floating-ui/vue").Placement | undefined;
104
+ teleport?: (boolean | string) | undefined;
105
+ }> & 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
106
  $slots: {
107
+ button?(_: {
108
+ open: any;
109
+ }): any;
72
110
  logo?(_: {}): any;
111
+ label?(_: {}): any;
73
112
  products?(_: {
74
113
  close: () => any;
75
114
  }): any;
@@ -84,20 +123,33 @@ declare const meta: {
84
123
  };
85
124
  setup(this: void): {
86
125
  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, {
126
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
127
+ placement?: import("@floating-ui/vue").Placement | undefined;
128
+ teleport?: (boolean | string) | undefined;
129
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
88
130
  P: {};
89
131
  B: {};
90
132
  D: {};
91
133
  C: {};
92
134
  M: {};
93
135
  Defaults: {};
94
- }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
136
+ }, Readonly<{
137
+ placement?: import("@floating-ui/vue").Placement | undefined;
138
+ teleport?: (boolean | string) | undefined;
139
+ }> & Readonly<{}>, {}, {}, {}, {}, {}>;
95
140
  __isFragment?: never;
96
141
  __isTeleport?: never;
97
142
  __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 () => {
143
+ } & import("vue").ComponentOptionsBase<Readonly<{
144
+ placement?: import("@floating-ui/vue").Placement | undefined;
145
+ teleport?: (boolean | string) | undefined;
146
+ }> & 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
147
  $slots: {
148
+ button?(_: {
149
+ open: any;
150
+ }): any;
100
151
  logo?(_: {}): any;
152
+ label?(_: {}): any;
101
153
  products?(_: {
102
154
  close: () => any;
103
155
  }): any;
@@ -116,4 +168,6 @@ declare const meta: {
116
168
  export default meta;
117
169
  type Story = StoryObj<typeof meta>;
118
170
  export declare const Base: Story;
171
+ export declare const TeamPicker: Story;
172
+ export declare const CustomButton: Story;
119
173
  //# sourceMappingURL=ScalarMenu.stories.d.ts.map
@@ -1 +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"}
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;AAarD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWyB,CAAA;AAEnC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAAU,CAAA;AAE7B,eAAO,MAAM,UAAU,EAAE,KA8BxB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAqB1B,CAAA"}
@@ -1,7 +1,13 @@
1
+ import { type FloatingOptions } from '../../index.js';
2
+ type __VLS_Props = Pick<FloatingOptions, 'placement' | 'teleport'>;
1
3
  declare function __VLS_template(): {
2
4
  attrs: Partial<{}>;
3
5
  slots: {
6
+ button?(_: {
7
+ open: any;
8
+ }): any;
4
9
  logo?(_: {}): any;
10
+ label?(_: {}): any;
5
11
  products?(_: {
6
12
  close: () => any;
7
13
  }): any;
@@ -16,7 +22,7 @@ declare function __VLS_template(): {
16
22
  rootEl: any;
17
23
  };
18
24
  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>;
25
+ 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>;
20
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
27
  export default _default;
22
28
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +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"}
1
+ {"version":3,"file":"ScalarMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenu.vue"],"names":[],"mappings":"AAqDA,OAAO,EAAE,KAAK,eAAe,EAAiB,MAAM,QAAQ,CAAA;AAO5D,KAAK,WAAW,GAAG,IAAI,CAAC,eAAe,EAAE,WAAW,GAAG,UAAU,CAAC,CAAC;AAQnE,iBAAS,cAAc;WA2GT,OAAO,IAA6B;;;;YAbtB,GAAG;sBACJ,GAAG;uBACF,GAAG;;;YACA,GAAG;;;YACJ,GAAG;;;YACF,GAAG;;;;EAajC;AAYD,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,44 +1,51 @@
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({
1
+ import { defineComponent as s, openBlock as a, createBlock as m, unref as n, withCtx as l, renderSlot as t, createVNode as r, createSlots as p, createCommentVNode as i, createElementVNode as f } from "vue";
2
+ import c from "./ScalarMenuButton.vue.js";
3
+ import d from "./ScalarMenuProducts.vue.js";
4
+ import u from "./ScalarMenuResources.vue.js";
5
+ import $ from "../ScalarPopover/ScalarPopover.vue.js";
6
+ const _ = { class: "custom-scroll flex flex-col gap-3 p-3 sm:gap-5 sm:p-4" }, y = /* @__PURE__ */ s({
11
7
  __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"])
8
+ props: {
9
+ placement: {},
10
+ teleport: { type: [Boolean, String] }
11
+ },
12
+ setup(h) {
13
+ return (e, b) => (a(), m(n($), {
14
+ class: "max-h-[inherit] w-[420px] max-w-[inherit]",
15
+ placement: e.placement ?? "bottom-start",
16
+ teleport: e.teleport
17
+ }, {
18
+ default: l(({ open: o }) => [
19
+ t(e.$slots, "button", { open: o }, () => [
20
+ r(c, { open: o }, p({
21
+ default: l(() => [
22
+ e.$slots.logo ? t(e.$slots, "logo", { key: 0 }) : i("", !0)
23
+ ]),
24
+ _: 2
25
+ }, [
26
+ e.$slots.label ? {
27
+ name: "label",
28
+ fn: l(() => [
29
+ t(e.$slots, "label")
30
+ ]),
31
+ key: "0"
32
+ } : void 0
33
+ ]), 1032, ["open"])
27
34
  ])
28
35
  ]),
29
- popover: c(({ close: o }) => [
30
- n("div", h, [
31
- e(t.$slots, "products", { close: o }, () => [
32
- s(m)
36
+ popover: l(({ close: o }) => [
37
+ f("div", _, [
38
+ t(e.$slots, "products", { close: o }, () => [
39
+ r(d)
33
40
  ]),
34
- e(t.$slots, "profile", { close: o }),
35
- e(t.$slots, "sections", { close: o }, () => [
36
- s(f)
41
+ t(e.$slots, "profile", { close: o }),
42
+ t(e.$slots, "sections", { close: o }, () => [
43
+ r(u)
37
44
  ])
38
45
  ])
39
46
  ]),
40
47
  _: 3
41
- }));
48
+ }, 8, ["placement", "teleport"]));
42
49
  }
43
50
  });
44
51
  export {
@@ -0,0 +1,22 @@
1
+ type __VLS_Props = {
2
+ open?: boolean;
3
+ };
4
+ declare function __VLS_template(): {
5
+ attrs: Partial<{}>;
6
+ slots: {
7
+ default?(_: {}): any;
8
+ label?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLButtonElement;
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, {}, HTMLButtonElement>;
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=ScalarMenuButton.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarMenuButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuButton.vue"],"names":[],"mappings":"AA8BA,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;AAQF,iBAAS,cAAc;WAiET,OAAO,IAA6B;;yBATrB,GAAG;uBACL,GAAG;;;;EAa7B;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"}
@@ -0,0 +1,34 @@
1
+ import { defineComponent as a, openBlock as p, createElementBlock as c, createElementVNode as o, renderSlot as t, createVNode as n, unref as s, createTextVNode as l, toDisplayString as u } from "vue";
2
+ import r from "../ScalarIcon/ScalarIcon.vue.js";
3
+ const i = {
4
+ class: "group/button -m-1 flex items-center gap-1 rounded bg-transparent px-2.5 py-2 hover:bg-b-2",
5
+ type: "button"
6
+ }, d = { class: "size-5" }, m = { class: "sr-only" }, g = /* @__PURE__ */ a({
7
+ __name: "ScalarMenuButton",
8
+ props: {
9
+ open: { type: Boolean }
10
+ },
11
+ setup(_) {
12
+ return (e, h) => (p(), c("button", i, [
13
+ o("div", d, [
14
+ t(e.$slots, "default", {}, () => [
15
+ n(s(r), { icon: "Logo" })
16
+ ])
17
+ ]),
18
+ o("span", m, [
19
+ t(e.$slots, "label", {}, () => [
20
+ l(u(e.open ? "Close Menu" : "Open Menu"), 1)
21
+ ])
22
+ ]),
23
+ n(s(r), {
24
+ class: "text-c-3 group-hover/button:text-c-1",
25
+ icon: e.open ? "ChevronUp" : "ChevronDown",
26
+ size: "sm",
27
+ thickness: "2.5"
28
+ }, null, 8, ["icon"])
29
+ ]));
30
+ }
31
+ });
32
+ export {
33
+ g as default
34
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./ScalarMenuButton.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1 +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"}
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;WA6DT,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"}
@@ -1,31 +1,30 @@
1
- import { defineComponent as o, openBlock as n, createElementBlock as r, normalizeClass as t, createVNode as s, unref as l, createElementVNode as a, renderSlot as c } from "vue";
2
- /* empty css */
1
+ import { defineComponent as o, openBlock as n, createElementBlock as r, normalizeClass as t, createVNode as l, unref as s, createElementVNode as c, renderSlot as a } from "vue";
3
2
  import i from "../ScalarIcon/ScalarIcon.vue.js";
4
- const d = { class: "font-bold" }, _ = /* @__PURE__ */ o({
3
+ const d = { class: "font-bold" }, b = /* @__PURE__ */ o({
5
4
  __name: "ScalarMenuProduct",
6
5
  props: {
7
6
  selected: { type: Boolean },
8
7
  icon: {}
9
8
  },
10
9
  setup(p) {
11
- return (e, u) => (n(), r("a", {
10
+ return (e, f) => (n(), r("a", {
12
11
  class: t([
13
- "relative flex flex-1 items-center justify-center gap-1 rounded border p-3 leading no-underline",
12
+ "relative flex min-w-0 flex-1 flex-col items-center justify-center gap-1 overflow-hidden rounded border p-3 leading no-underline xs:flex-row",
14
13
  e.selected ? "pointer-events-none border-c-1 bg-b-2" : "cursor-pointer bg-b-1 hover:bg-b-2"
15
14
  ]),
16
15
  target: "_blank"
17
16
  }, [
18
- s(l(i), {
17
+ l(s(i), {
19
18
  icon: e.icon,
20
19
  size: "xs",
21
20
  thickness: "2.5"
22
21
  }, null, 8, ["icon"]),
23
- a("span", d, [
24
- c(e.$slots, "default")
22
+ c("span", d, [
23
+ a(e.$slots, "default")
25
24
  ])
26
25
  ], 2));
27
26
  }
28
27
  });
29
28
  export {
30
- _ as default
29
+ b as default
31
30
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarMenuProducts.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuProducts.vue"],"names":[],"mappings":"AA6CA,KAAK,OAAO,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAA;AAE9C,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,CAAA;CAChC,CAAC;;;;;;AAqIF,wBAQG"}
1
+ {"version":3,"file":"ScalarMenuProducts.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuProducts.vue"],"names":[],"mappings":"AA6CA,KAAK,OAAO,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAA;AAE9C,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,CAAA;CAChC,CAAC;;;;;;AAsIF,wBAQG"}
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, openBlock as p, createElementBlock as m, createVNode as t, withCtx as r, createTextVNode as d } from "vue";
2
2
  import l from "./ScalarMenuProduct.vue.js";
3
- const c = { class: "flex gap-3" }, C = /* @__PURE__ */ f({
3
+ const c = { class: "flex gap-2 sm:gap-3" }, C = /* @__PURE__ */ f({
4
4
  __name: "ScalarMenuProducts",
5
5
  props: {
6
6
  selected: {},
@@ -9,4 +9,4 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
9
9
  "onUpdate:team"?: ((value: ScalarListboxOption | undefined) => any) | undefined;
10
10
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
11
11
  export default _default;
12
- //# sourceMappingURL=ScalarMenuProfile.vue.d.ts.map
12
+ //# sourceMappingURL=ScalarMenuTeamPicker.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarMenuTeamPicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuTeamPicker.vue"],"names":[],"mappings":"AAgDA,OAAO,EAIL,KAAK,mBAAmB,EACzB,MAAM,OAAO,CAAA;AAId,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAA;IACtC,KAAK,EAAE,mBAAmB,EAAE,CAAA;CAC7B,CAAC;;;;;;AAuGF,wBAQG"}