@scalar/components 0.14.21 → 0.14.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/components/ScalarCombobox/ScalarCombobox.stories.d.ts +29 -60
  2. package/dist/components/ScalarCombobox/ScalarCombobox.stories.d.ts.map +1 -1
  3. package/dist/components/ScalarCombobox/ScalarCombobox.vue.d.ts +21 -41
  4. package/dist/components/ScalarCombobox/ScalarCombobox.vue.d.ts.map +1 -1
  5. package/dist/components/ScalarCombobox/ScalarCombobox.vue.js +40 -27
  6. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.test.d.ts +2 -0
  7. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.test.d.ts.map +1 -0
  8. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue.d.ts +252 -438
  9. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue.d.ts.map +1 -1
  10. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue.js +45 -32
  11. package/dist/components/ScalarCombobox/ScalarComboboxOption.test.d.ts +2 -0
  12. package/dist/components/ScalarCombobox/ScalarComboboxOption.test.d.ts.map +1 -0
  13. package/dist/components/ScalarCombobox/ScalarComboboxOption.vue.d.ts +5 -9
  14. package/dist/components/ScalarCombobox/ScalarComboboxOption.vue.d.ts.map +1 -1
  15. package/dist/components/ScalarCombobox/ScalarComboboxOption.vue.js +14 -28
  16. package/dist/components/ScalarCombobox/ScalarComboboxOptionGroup.test.d.ts +2 -0
  17. package/dist/components/ScalarCombobox/ScalarComboboxOptionGroup.test.d.ts.map +1 -0
  18. package/dist/components/ScalarCombobox/ScalarComboboxOptionGroup.vue.d.ts.map +1 -1
  19. package/dist/components/ScalarCombobox/ScalarComboboxOptionGroup.vue.js +5 -5
  20. package/dist/components/ScalarCombobox/ScalarComboboxOptions.test.d.ts +2 -0
  21. package/dist/components/ScalarCombobox/ScalarComboboxOptions.test.d.ts.map +1 -0
  22. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.d.ts +22 -29
  23. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.d.ts.map +1 -1
  24. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.js +2 -2
  25. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue2.js +112 -92
  26. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue3.js +2 -2
  27. package/dist/components/ScalarCombobox/ScalarComboboxPopover.test.d.ts +2 -0
  28. package/dist/components/ScalarCombobox/ScalarComboboxPopover.test.d.ts.map +1 -0
  29. package/dist/components/ScalarCombobox/types.d.ts +17 -6
  30. package/dist/components/ScalarCombobox/types.d.ts.map +1 -1
  31. package/dist/components/ScalarCombobox/types.js +3 -3
  32. package/dist/components/ScalarListbox/ScalarListbox.vue.js +25 -25
  33. package/dist/components/ScalarListbox/ScalarListboxCheckbox.vue.d.ts +1 -2
  34. package/dist/components/ScalarListbox/ScalarListboxCheckbox.vue.d.ts.map +1 -1
  35. package/dist/components/ScalarListbox/ScalarListboxCheckbox.vue.js +7 -7
  36. package/dist/components/ScalarListbox/ScalarListboxItem.vue.d.ts +2 -2
  37. package/dist/components/ScalarListbox/ScalarListboxItem.vue.d.ts.map +1 -1
  38. package/dist/components/ScalarListbox/ScalarListboxItem.vue.js +17 -17
  39. package/dist/components/ScalarListbox/index.d.ts +1 -1
  40. package/dist/components/ScalarListbox/index.d.ts.map +1 -1
  41. package/dist/components/ScalarListbox/types.d.ts +0 -1
  42. package/dist/components/ScalarListbox/types.d.ts.map +1 -1
  43. package/dist/style.css +1 -1
  44. package/package.json +6 -5
@@ -1,4 +1,4 @@
1
- const e = "";
1
+ const _ = "";
2
2
  export {
3
- e as default
3
+ _ as default
4
4
  };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarComboboxPopover.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarComboboxPopover.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarCombobox/ScalarComboboxPopover.test.ts"],"names":[],"mappings":""}
@@ -1,21 +1,32 @@
1
1
  export type Option = {
2
2
  id: string;
3
3
  label: string;
4
- isDeletable?: boolean;
5
- [x: string]: any;
6
4
  };
7
- export type OptionGroup = {
5
+ export type OptionGroup<O extends Option = Option> = {
8
6
  label: string;
9
- options: Option[];
7
+ options: O[];
10
8
  };
9
+ export type OptionsOrGroups<O extends Option = Option, G extends OptionGroup<O> = OptionGroup<O>> = O[] | G[];
11
10
  /** Type guard to check if an option is a group */
12
11
  export declare function isGroup(option: Option | OptionGroup | undefined): option is OptionGroup;
13
12
  /** Type guard to check if an array of options is an array of groups */
14
13
  export declare function isGroups(options: Option[] | OptionGroup[]): options is OptionGroup[];
15
14
  /** Available slots for the combobox */
16
- export type ComboboxSlots = {
15
+ export type ComboboxSlots<O extends Option = Option, G extends OptionGroup<O> = OptionGroup<O>> = {
17
16
  /** The reference element / trigger for the combobox */
18
- default(): unknown;
17
+ default(props: {
18
+ open: boolean;
19
+ }): unknown;
20
+ /** A template to override the option label */
21
+ option?(props: {
22
+ option: O;
23
+ active: boolean;
24
+ selected: boolean;
25
+ }): unknown;
26
+ /** A template to override the group label */
27
+ group?(props: {
28
+ group: G;
29
+ }): unknown;
19
30
  /** A slot for contents before the combobox options */
20
31
  before?(): unknown;
21
32
  /** A slot for contents after the combobox options */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarCombobox/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GAAG;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAA;AAED,kDAAkD;AAClD,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,GAAG,MAAM,IAAI,WAAW,CAEvF;AAED,uEAAuE;AACvE,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,WAAW,EAAE,GAAG,OAAO,IAAI,WAAW,EAAE,CAEpF;AAED,uCAAuC;AACvC,MAAM,MAAM,aAAa,GAAG;IAC1B,uDAAuD;IACvD,OAAO,IAAI,OAAO,CAAA;IAClB,sDAAsD;IACtD,MAAM,CAAC,IAAI,OAAO,CAAA;IAClB,qDAAqD;IACrD,KAAK,CAAC,IAAI,OAAO,CAAA;CAClB,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarCombobox/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GAAG;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI;IACnD,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,CAAC,EAAE,CAAA;CACb,CAAA;AAED,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,CAAC,SAAS,WAAW,CAAC,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,EAAE,CAAA;AAE7G,kDAAkD;AAClD,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,GAAG,MAAM,IAAI,WAAW,CAEvF;AAED,uEAAuE;AACvE,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,WAAW,EAAE,GAAG,OAAO,IAAI,WAAW,EAAE,CAKpF;AAED,uCAAuC;AACvC,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,CAAC,SAAS,WAAW,CAAC,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,IAAI;IAChG,uDAAuD;IACvD,OAAO,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAA;IAC1C,8CAA8C;IAC9C,MAAM,CAAC,CAAC,KAAK,EAAE;QAAE,MAAM,EAAE,CAAC,CAAC;QAAC,MAAM,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAA;IAC1E,6CAA6C;IAC7C,KAAK,CAAC,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,CAAC,CAAA;KAAE,GAAG,OAAO,CAAA;IACpC,sDAAsD;IACtD,MAAM,CAAC,IAAI,OAAO,CAAA;IAClB,qDAAqD;IACrD,KAAK,CAAC,IAAI,OAAO,CAAA;CAClB,CAAA"}
@@ -1,10 +1,10 @@
1
1
  function u(r) {
2
2
  return (r == null ? void 0 : r.options) !== void 0;
3
3
  }
4
- function s(r) {
5
- return u(r[0]);
4
+ function e(r) {
5
+ return r[0] ? u(r[0]) : !1;
6
6
  }
7
7
  export {
8
8
  u as isGroup,
9
- s as isGroups
9
+ e as isGroups
10
10
  };
@@ -1,10 +1,10 @@
1
- import { defineComponent as c, createBlock as i, openBlock as o, unref as t, withCtx as l, createCommentVNode as s, createVNode as r, createTextVNode as b, toDisplayString as y, mergeProps as p, renderSlot as V, createElementBlock as d, createElementVNode as B, Fragment as _, renderList as g, normalizeStyle as k } from "vue";
2
- import { Listbox as x, ListboxLabel as L, ListboxButton as h, ListboxOptions as $ } from "@headlessui/vue";
3
- import { useBindCx as N } from "@scalar/use-hooks/useBindCx";
4
- import S from "./ScalarListboxItem.vue.js";
1
+ import { defineComponent as c, createBlock as i, openBlock as o, unref as t, withCtx as l, createCommentVNode as n, createVNode as r, createTextVNode as b, toDisplayString as V, mergeProps as p, renderSlot as y, createElementBlock as u, createElementVNode as B, Fragment as _, renderList as g } from "vue";
2
+ import { Listbox as L, ListboxLabel as k, ListboxButton as x, ListboxOptions as $ } from "@headlessui/vue";
3
+ import { useBindCx as h } from "@scalar/use-hooks/useBindCx";
4
+ import N from "./ScalarListboxItem.vue.js";
5
5
  import C from "../ScalarFloating/ScalarFloating.vue.js";
6
- import v from "../ScalarFloating/ScalarFloatingBackdrop.vue.js";
7
- const w = { class: "custom-scroll min-h-0 flex-1" }, P = /* @__PURE__ */ c({
6
+ import S from "../ScalarFloating/ScalarFloatingBackdrop.vue.js";
7
+ const v = { class: "custom-scroll min-h-0 flex-1" }, D = /* @__PURE__ */ c({
8
8
  inheritAttrs: !1,
9
9
  __name: "ScalarListbox",
10
10
  props: {
@@ -21,53 +21,53 @@ const w = { class: "custom-scroll min-h-0 flex-1" }, P = /* @__PURE__ */ c({
21
21
  teleport: { type: [Boolean, String] }
22
22
  },
23
23
  emits: ["update:modelValue"],
24
- setup(z) {
25
- const { cx: u } = N();
26
- return (e, m) => (o(), i(t(x), {
24
+ setup(w) {
25
+ const { cx: d } = h();
26
+ return (e, m) => (o(), i(t(L), {
27
27
  modelValue: e.modelValue,
28
28
  multiple: e.multiple,
29
29
  "onUpdate:modelValue": m[0] || (m[0] = (a) => e.$emit("update:modelValue", a))
30
30
  }, {
31
31
  default: l(({ open: a }) => [
32
- e.label ? (o(), i(t(L), {
32
+ e.label ? (o(), i(t(k), {
33
33
  key: 0,
34
34
  class: "sr-only"
35
35
  }, {
36
36
  default: l(() => [
37
- b(y(e.label), 1)
37
+ b(V(e.label), 1)
38
38
  ]),
39
39
  _: 1
40
- })) : s("", !0),
40
+ })) : n("", !0),
41
41
  r(t(C), p(e.$props, {
42
42
  placement: e.placement ?? "bottom-start"
43
43
  }), {
44
44
  floating: l(({ width: f }) => [
45
- a ? (o(), d("div", p({
45
+ a ? (o(), u("div", p({
46
46
  key: 0,
47
47
  style: { width: f }
48
- }, t(u)("relative flex max-h-[inherit] w-40 rounded text-sm")), [
49
- B("div", w, [
48
+ }, t(d)("relative flex max-h-[inherit] w-40 rounded text-sm")), [
49
+ B("div", v, [
50
50
  r(t($), { class: "flex flex-col gap-0.75 p-0.75 -outline-offset-1" }, {
51
51
  default: l(() => [
52
- (o(!0), d(_, null, g(e.options, (n) => (o(), i(S, {
53
- key: n.id,
54
- option: n,
55
- style: k(e.multiple ? "checkbox" : "radio")
56
- }, null, 8, ["option", "style"]))), 128))
52
+ (o(!0), u(_, null, g(e.options, (s) => (o(), i(N, {
53
+ key: s.id,
54
+ option: s,
55
+ multiselect: e.multiple
56
+ }, null, 8, ["option", "multiselect"]))), 128))
57
57
  ]),
58
58
  _: 1
59
59
  })
60
60
  ]),
61
- r(t(v))
62
- ], 16)) : s("", !0)
61
+ r(t(S))
62
+ ], 16)) : n("", !0)
63
63
  ]),
64
64
  default: l(() => [
65
- r(t(h), {
65
+ r(t(x), {
66
66
  id: e.id,
67
67
  as: "template"
68
68
  }, {
69
69
  default: l(() => [
70
- V(e.$slots, "default", { open: a })
70
+ y(e.$slots, "default", { open: a })
71
71
  ]),
72
72
  _: 2
73
73
  }, 1032, ["id"])
@@ -80,5 +80,5 @@ const w = { class: "custom-scroll min-h-0 flex-1" }, P = /* @__PURE__ */ c({
80
80
  }
81
81
  });
82
82
  export {
83
- P as default
83
+ D as default
84
84
  };
@@ -1,7 +1,6 @@
1
- import type { OptionStyle } from './types';
2
1
  type __VLS_Props = {
3
2
  selected?: boolean;
4
- style?: OptionStyle;
3
+ multiselect?: boolean;
5
4
  };
6
5
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
7
6
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarListboxCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarListbox/ScalarListboxCheckbox.vue"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAI1C,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,WAAW,CAAA;CACpB,CAAC;;AAuEF,wBAOG"}
1
+ {"version":3,"file":"ScalarListboxCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarListbox/ScalarListboxCheckbox.vue"],"names":[],"mappings":"AA2BA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;AAuEF,wBAOG"}
@@ -1,23 +1,23 @@
1
- import { defineComponent as o, createElementBlock as r, openBlock as t, normalizeClass as c, createBlock as s, createCommentVNode as n, unref as a } from "vue";
2
- import { ScalarIconCheck as l } from "@scalar/icons";
1
+ import { defineComponent as o, createElementBlock as r, openBlock as t, normalizeClass as c, createBlock as l, createCommentVNode as s, unref as n } from "vue";
2
+ import { ScalarIconCheck as a } from "@scalar/icons";
3
3
  const u = /* @__PURE__ */ o({
4
4
  __name: "ScalarListboxCheckbox",
5
5
  props: {
6
6
  selected: { type: Boolean },
7
- style: {}
7
+ multiselect: { type: Boolean }
8
8
  },
9
9
  setup(d) {
10
- return (e, p) => (t(), r("div", {
10
+ return (e, i) => (t(), r("div", {
11
11
  class: c(["flex size-4 items-center justify-center p-0.75", [
12
12
  e.selected ? "bg-c-accent text-b-1" : "text-transparent shadow-border",
13
- e.style === "checkbox" ? "rounded" : "rounded-full"
13
+ e.multiselect ? "rounded" : "rounded-full"
14
14
  ]])
15
15
  }, [
16
- e.selected ? (t(), s(a(l), {
16
+ e.selected ? (t(), l(n(a), {
17
17
  key: 0,
18
18
  class: "size-3",
19
19
  weight: "bold"
20
- })) : n("", !0)
20
+ })) : s("", !0)
21
21
  ], 2));
22
22
  }
23
23
  });
@@ -1,7 +1,7 @@
1
- import type { Option, OptionStyle } from './types';
1
+ import type { Option } from './types';
2
2
  type __VLS_Props = {
3
3
  option: Option;
4
- style?: OptionStyle;
4
+ multiselect?: boolean;
5
5
  };
6
6
  declare const _default: 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>;
7
7
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarListboxItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarListbox/ScalarListboxItem.vue"],"names":[],"mappings":"AAqDA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAIlD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,WAAW,CAAA;CACpB,CAAC;;AAmGF,wBAOG"}
1
+ {"version":3,"file":"ScalarListboxItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarListbox/ScalarListboxItem.vue"],"names":[],"mappings":"AAqDA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAIrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;AAmGF,wBAOG"}
@@ -1,15 +1,15 @@
1
- import { defineComponent as l, createBlock as s, openBlock as p, unref as t, withCtx as c, createElementVNode as a, normalizeClass as n, createVNode as m, normalizeStyle as d, toDisplayString as u } from "vue";
2
- import { ListboxOption as b } from "@headlessui/vue";
3
- import { cva as f, cx as v } from "@scalar/use-hooks/useBindCx";
4
- import y from "./ScalarListboxCheckbox.vue.js";
5
- const C = /* @__PURE__ */ l({
1
+ import { defineComponent as r, createBlock as s, openBlock as p, unref as t, withCtx as c, createElementVNode as i, normalizeClass as a, createVNode as m, toDisplayString as u } from "vue";
2
+ import { ListboxOption as d } from "@headlessui/vue";
3
+ import { cva as b, cx as f } from "@scalar/use-hooks/useBindCx";
4
+ import v from "./ScalarListboxCheckbox.vue.js";
5
+ const w = /* @__PURE__ */ r({
6
6
  __name: "ScalarListboxItem",
7
7
  props: {
8
8
  option: {},
9
- style: {}
9
+ multiselect: { type: Boolean }
10
10
  },
11
11
  setup(g) {
12
- const r = f({
12
+ const n = b({
13
13
  base: [
14
14
  // Layout
15
15
  "group/item",
@@ -25,21 +25,21 @@ const C = /* @__PURE__ */ l({
25
25
  disabled: { true: "pointer-events-none opacity-50" }
26
26
  }
27
27
  });
28
- return (e, x) => (p(), s(t(b), {
28
+ return (e, x) => (p(), s(t(d), {
29
29
  as: "template",
30
30
  disabled: e.option.disabled,
31
31
  value: e.option
32
32
  }, {
33
- default: c(({ active: i, selected: o }) => [
34
- a("li", {
35
- class: n(t(v)(t(r)({ active: i, selected: o, disabled: e.option.disabled })))
33
+ default: c(({ active: l, selected: o }) => [
34
+ i("li", {
35
+ class: a(t(f)(t(n)({ active: l, selected: o, disabled: e.option.disabled })))
36
36
  }, [
37
- m(y, {
37
+ m(v, {
38
38
  selected: o,
39
- style: d(e.style)
40
- }, null, 8, ["selected", "style"]),
41
- a("span", {
42
- class: n(["inline-block min-w-0 flex-1 truncate", e.option.color ? e.option.color : "text-c-1"])
39
+ multiselect: e.multiselect
40
+ }, null, 8, ["selected", "multiselect"]),
41
+ i("span", {
42
+ class: a(["inline-block min-w-0 flex-1 truncate", e.option.color ? e.option.color : "text-c-1"])
43
43
  }, u(e.option.label), 3)
44
44
  ], 2)
45
45
  ]),
@@ -48,5 +48,5 @@ const C = /* @__PURE__ */ l({
48
48
  }
49
49
  });
50
50
  export {
51
- C as default
51
+ w as default
52
52
  };
@@ -1,5 +1,5 @@
1
1
  export { default as ScalarListbox } from './ScalarListbox.vue.js';
2
2
  export { default as ScalarListboxItem } from './ScalarListboxItem.vue.js';
3
3
  export { default as ScalarListboxCheckbox } from './ScalarListboxCheckbox.vue.js';
4
- export type { Option as ScalarListboxOption, OptionStyle as ScalarListboxOptionStyle, } from './types';
4
+ export type { Option as ScalarListboxOption } from './types';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarListbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAE9E,YAAY,EACV,MAAM,IAAI,mBAAmB,EAC7B,WAAW,IAAI,wBAAwB,GACxC,MAAM,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarListbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAE9E,YAAY,EAAE,MAAM,IAAI,mBAAmB,EAAE,MAAM,SAAS,CAAA"}
@@ -4,5 +4,4 @@ export type Option = {
4
4
  disabled?: boolean;
5
5
  [x: string]: any;
6
6
  };
7
- export type OptionStyle = 'radio' | 'checkbox';
8
7
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarListbox/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GAAG;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,UAAU,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarListbox/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GAAG;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CACjB,CAAA"}