@scalar/components 0.13.0 → 0.13.1

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 (114) hide show
  1. package/dist/components/ScalarButton/ScalarButton.test.d.ts +2 -0
  2. package/dist/components/ScalarButton/ScalarButton.test.d.ts.map +1 -0
  3. package/dist/components/ScalarCodeBlock/ScalarCodeBlock.test.d.ts +2 -0
  4. package/dist/components/ScalarCodeBlock/ScalarCodeBlock.test.d.ts.map +1 -0
  5. package/dist/components/ScalarCombobox/ScalarCombobox.test.d.ts +2 -0
  6. package/dist/components/ScalarCombobox/ScalarCombobox.test.d.ts.map +1 -0
  7. package/dist/components/ScalarContextMenu/ScalarContextMenu.test.d.ts +2 -0
  8. package/dist/components/ScalarContextMenu/ScalarContextMenu.test.d.ts.map +1 -0
  9. package/dist/components/ScalarDropdown/ScalarDropdown.test.d.ts +2 -0
  10. package/dist/components/ScalarDropdown/ScalarDropdown.test.d.ts.map +1 -0
  11. package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.test.d.ts +2 -0
  12. package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.test.d.ts.map +1 -0
  13. package/dist/components/ScalarFloating/ScalarFloating.test.d.ts +2 -0
  14. package/dist/components/ScalarFloating/ScalarFloating.test.d.ts.map +1 -0
  15. package/dist/components/ScalarFloating/useResizeWithTarget.test.d.ts +2 -0
  16. package/dist/components/ScalarFloating/useResizeWithTarget.test.d.ts.map +1 -0
  17. package/dist/components/ScalarHeaderButton/ScalarHeaderButton.test.d.ts +2 -0
  18. package/dist/components/ScalarHeaderButton/ScalarHeaderButton.test.d.ts.map +1 -0
  19. package/dist/components/ScalarIcon/ScalarIcon.stories.d.ts +8 -8
  20. package/dist/components/ScalarIcon/ScalarIcon.test.d.ts +2 -0
  21. package/dist/components/ScalarIcon/ScalarIcon.test.d.ts.map +1 -0
  22. package/dist/components/ScalarIcon/ScalarIcon.vue.d.ts +1 -1
  23. package/dist/components/ScalarIcon/icons/Add.svg.js +2 -2
  24. package/dist/components/ScalarIcon/icons/ChevronDown.svg.js +1 -1
  25. package/dist/components/ScalarIcon/icons/ChevronRight.svg.js +1 -1
  26. package/dist/components/ScalarIcon/icons/ChevronUp.svg.js +1 -1
  27. package/dist/components/ScalarIconButton/ScalarIconButton.stories.d.ts +3 -3
  28. package/dist/components/ScalarIconButton/ScalarIconButton.test.d.ts +2 -0
  29. package/dist/components/ScalarIconButton/ScalarIconButton.test.d.ts.map +1 -0
  30. package/dist/components/ScalarIconButton/ScalarIconButton.vue.d.ts +2 -2
  31. package/dist/components/ScalarListbox/ScalarListbox.test.d.ts +2 -0
  32. package/dist/components/ScalarListbox/ScalarListbox.test.d.ts.map +1 -0
  33. package/dist/components/ScalarLoading/ScalarLoading.stories.d.ts +8 -8
  34. package/dist/components/ScalarLoading/ScalarLoading.test.d.ts +2 -0
  35. package/dist/components/ScalarLoading/ScalarLoading.test.d.ts.map +1 -0
  36. package/dist/components/ScalarLoading/ScalarLoading.vue.d.ts +2 -2
  37. package/dist/components/ScalarMenu/ScalarMenu.test.d.ts +2 -0
  38. package/dist/components/ScalarMenu/ScalarMenu.test.d.ts.map +1 -0
  39. package/dist/components/ScalarMenu/ScalarMenuButton.vue.d.ts.map +1 -1
  40. package/dist/components/ScalarMenu/ScalarMenuButton.vue.js +3 -4
  41. package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue.d.ts.map +1 -1
  42. package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue.js +19 -20
  43. package/dist/components/ScalarModal/ScalarModal.stories.d.ts +6 -6
  44. package/dist/components/ScalarModal/ScalarModal.test.d.ts +2 -0
  45. package/dist/components/ScalarModal/ScalarModal.test.d.ts.map +1 -0
  46. package/dist/components/ScalarModal/ScalarModal.vue.d.ts +3 -3
  47. package/dist/components/ScalarPopover/ScalarPopover.test.d.ts +2 -0
  48. package/dist/components/ScalarPopover/ScalarPopover.test.d.ts.map +1 -0
  49. package/dist/components/ScalarSearchInput/ScalarSearchInput.test.d.ts +2 -0
  50. package/dist/components/ScalarSearchInput/ScalarSearchInput.test.d.ts.map +1 -0
  51. package/dist/components/ScalarSearchResults/ScalarSearchResults.test.d.ts +2 -0
  52. package/dist/components/ScalarSearchResults/ScalarSearchResults.test.d.ts.map +1 -0
  53. package/dist/components/ScalarTextField/ScalarTextField.test.d.ts +2 -0
  54. package/dist/components/ScalarTextField/ScalarTextField.test.d.ts.map +1 -0
  55. package/dist/components/ScalarToggle/ScalarToggle.test.d.ts +2 -0
  56. package/dist/components/ScalarToggle/ScalarToggle.test.d.ts.map +1 -0
  57. package/dist/components/ScalarTooltip/ScalarTooltip.test.d.ts +2 -0
  58. package/dist/components/ScalarTooltip/ScalarTooltip.test.d.ts.map +1 -0
  59. package/dist/components/ScalarVirtualText/ScalarVirtualText.test.d.ts +2 -0
  60. package/dist/components/ScalarVirtualText/ScalarVirtualText.test.d.ts.map +1 -0
  61. package/dist/cva.js +7 -7
  62. package/dist/cva.test.d.ts +2 -0
  63. package/dist/cva.test.d.ts.map +1 -0
  64. package/dist/hooks/useBindCx.d.ts.map +1 -1
  65. package/dist/hooks/useBindCx.js +8 -8
  66. package/dist/index.d.ts +1 -0
  67. package/dist/index.d.ts.map +1 -1
  68. package/dist/index.js +83 -78
  69. package/dist/style.css +1 -1
  70. package/package.json +6 -6
  71. package/dist/components/ScalarButton/ScalarButton.spec.d.ts +0 -2
  72. package/dist/components/ScalarButton/ScalarButton.spec.d.ts.map +0 -1
  73. package/dist/components/ScalarCodeBlock/ScalarCodeBlock.spec.d.ts +0 -2
  74. package/dist/components/ScalarCodeBlock/ScalarCodeBlock.spec.d.ts.map +0 -1
  75. package/dist/components/ScalarCombobox/ScalarCombobox.spec.d.ts +0 -2
  76. package/dist/components/ScalarCombobox/ScalarCombobox.spec.d.ts.map +0 -1
  77. package/dist/components/ScalarContextMenu/ScalarContextMenu.spec.d.ts +0 -2
  78. package/dist/components/ScalarContextMenu/ScalarContextMenu.spec.d.ts.map +0 -1
  79. package/dist/components/ScalarDropdown/ScalarDropdown.spec.d.ts +0 -2
  80. package/dist/components/ScalarDropdown/ScalarDropdown.spec.d.ts.map +0 -1
  81. package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.spec.d.ts +0 -2
  82. package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.spec.d.ts.map +0 -1
  83. package/dist/components/ScalarFloating/ScalarFloating.spec.d.ts +0 -2
  84. package/dist/components/ScalarFloating/ScalarFloating.spec.d.ts.map +0 -1
  85. package/dist/components/ScalarFloating/useResizeWithTarget.spec.d.ts +0 -2
  86. package/dist/components/ScalarFloating/useResizeWithTarget.spec.d.ts.map +0 -1
  87. package/dist/components/ScalarHeaderButton/ScalarHeaderButton.spec.d.ts +0 -2
  88. package/dist/components/ScalarHeaderButton/ScalarHeaderButton.spec.d.ts.map +0 -1
  89. package/dist/components/ScalarIcon/ScalarIcon.spec.d.ts +0 -2
  90. package/dist/components/ScalarIcon/ScalarIcon.spec.d.ts.map +0 -1
  91. package/dist/components/ScalarIconButton/ScalarIconButton.spec.d.ts +0 -2
  92. package/dist/components/ScalarIconButton/ScalarIconButton.spec.d.ts.map +0 -1
  93. package/dist/components/ScalarListbox/ScalarListbox.spec.d.ts +0 -2
  94. package/dist/components/ScalarListbox/ScalarListbox.spec.d.ts.map +0 -1
  95. package/dist/components/ScalarLoading/ScalarLoading.spec.d.ts +0 -2
  96. package/dist/components/ScalarLoading/ScalarLoading.spec.d.ts.map +0 -1
  97. package/dist/components/ScalarMenu/ScalarMenu.spec.d.ts +0 -2
  98. package/dist/components/ScalarMenu/ScalarMenu.spec.d.ts.map +0 -1
  99. package/dist/components/ScalarModal/ScalarModal.spec.d.ts +0 -2
  100. package/dist/components/ScalarModal/ScalarModal.spec.d.ts.map +0 -1
  101. package/dist/components/ScalarPopover/ScalarPopover.spec.d.ts +0 -2
  102. package/dist/components/ScalarPopover/ScalarPopover.spec.d.ts.map +0 -1
  103. package/dist/components/ScalarSearchInput/ScalarSearchInput.spec.d.ts +0 -2
  104. package/dist/components/ScalarSearchInput/ScalarSearchInput.spec.d.ts.map +0 -1
  105. package/dist/components/ScalarSearchResults/ScalarSearchResults.spec.d.ts +0 -2
  106. package/dist/components/ScalarSearchResults/ScalarSearchResults.spec.d.ts.map +0 -1
  107. package/dist/components/ScalarTextField/ScalarTextField.spec.d.ts +0 -2
  108. package/dist/components/ScalarTextField/ScalarTextField.spec.d.ts.map +0 -1
  109. package/dist/components/ScalarToggle/ScalarToggle.spec.d.ts +0 -2
  110. package/dist/components/ScalarToggle/ScalarToggle.spec.d.ts.map +0 -1
  111. package/dist/components/ScalarTooltip/ScalarTooltip.spec.d.ts +0 -2
  112. package/dist/components/ScalarTooltip/ScalarTooltip.spec.d.ts.map +0 -1
  113. package/dist/components/ScalarVirtualText/ScalarVirtualText.spec.d.ts +0 -2
  114. package/dist/components/ScalarVirtualText/ScalarVirtualText.spec.d.ts.map +0 -1
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarButton.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarButton.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarButton/ScalarButton.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarCodeBlock.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarCodeBlock.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarCodeBlock/ScalarCodeBlock.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarCombobox.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarCombobox.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarCombobox/ScalarCombobox.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarContextMenu.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarContextMenu.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarContextMenu/ScalarContextMenu.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarDropdown.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarDropdown.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdown.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarErrorBoundary.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarErrorBoundary.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarErrorBoundary/ScalarErrorBoundary.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarFloating.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarFloating.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFloating/ScalarFloating.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=useResizeWithTarget.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useResizeWithTarget.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFloating/useResizeWithTarget.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarHeaderButton.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarHeaderButton.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarHeaderButton/ScalarHeaderButton.test.ts"],"names":[],"mappings":""}
@@ -3,13 +3,13 @@ declare const meta: {
3
3
  component: import("vue").DefineComponent<{
4
4
  icon?: import("./index.js").Icon;
5
5
  logo?: import("./utils/index.js").Logo;
6
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
6
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
7
7
  thickness?: string;
8
8
  label?: string;
9
9
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
10
10
  icon?: import("./index.js").Icon;
11
11
  logo?: import("./utils/index.js").Logo;
12
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
12
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
13
13
  thickness?: string;
14
14
  label?: string;
15
15
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -48,13 +48,13 @@ declare const meta: {
48
48
  render: (args: import("@storybook/vue3").ComponentPropsAndSlots<import("vue").DefineComponent<{
49
49
  icon?: import("./index.js").Icon;
50
50
  logo?: import("./utils/index.js").Logo;
51
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
51
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
52
52
  thickness?: string;
53
53
  label?: string;
54
54
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
55
55
  icon?: import("./index.js").Icon;
56
56
  logo?: import("./utils/index.js").Logo;
57
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
57
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
58
58
  thickness?: string;
59
59
  label?: string;
60
60
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>>) => {
@@ -62,13 +62,13 @@ declare const meta: {
62
62
  ScalarIcon: import("vue").DefineComponent<{
63
63
  icon?: import("./index.js").Icon;
64
64
  logo?: import("./utils/index.js").Logo;
65
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
65
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
66
66
  thickness?: string;
67
67
  label?: string;
68
68
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
69
69
  icon?: import("./index.js").Icon;
70
70
  logo?: import("./utils/index.js").Logo;
71
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
71
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
72
72
  thickness?: string;
73
73
  label?: string;
74
74
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -77,13 +77,13 @@ declare const meta: {
77
77
  args: import("@storybook/vue3").ComponentPropsAndSlots<import("vue").DefineComponent<{
78
78
  icon?: import("./index.js").Icon;
79
79
  logo?: import("./utils/index.js").Logo;
80
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
80
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
81
81
  thickness?: string;
82
82
  label?: string;
83
83
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
84
84
  icon?: import("./index.js").Icon;
85
85
  logo?: import("./utils/index.js").Logo;
86
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
86
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
87
87
  thickness?: string;
88
88
  label?: string;
89
89
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarIcon.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarIcon.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarIcon/ScalarIcon.test.ts"],"names":[],"mappings":""}
@@ -12,7 +12,7 @@ type __VLS_Props = {
12
12
  label?: string;
13
13
  };
14
14
  declare const iconProps: (props?: ({
15
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
15
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
16
16
  } & ({
17
17
  class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
18
18
  [x: string]: any;
@@ -1,16 +1,16 @@
1
1
  import { openBlock as o, createElementBlock as n, createElementVNode as r } from "vue";
2
2
  const t = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
4
5
  viewBox: "0 0 24 24"
5
6
  };
6
7
  function l(d, e) {
7
8
  return o(), n("svg", t, e[0] || (e[0] = [
8
9
  r("path", {
9
- fill: "none",
10
10
  stroke: "currentColor",
11
11
  "stroke-linecap": "round",
12
12
  "stroke-linejoin": "round",
13
- d: "M2 12h20M12 2v20"
13
+ d: "M5 11.988h14M12.006 5v14"
14
14
  }, null, -1)
15
15
  ]));
16
16
  }
@@ -10,7 +10,7 @@ function l(s, e) {
10
10
  stroke: "currentColor",
11
11
  "stroke-linecap": "round",
12
12
  "stroke-linejoin": "round",
13
- d: "m4.5 8.25 7.5 7.5 7.5-7.5"
13
+ d: "m18 10-6 6-6-6"
14
14
  }, null, -1)
15
15
  ]));
16
16
  }
@@ -10,7 +10,7 @@ function l(s, e) {
10
10
  stroke: "currentColor",
11
11
  "stroke-linecap": "round",
12
12
  "stroke-linejoin": "round",
13
- d: "m8.25 19.5 7.5-7.5-7.5-7.5"
13
+ d: "m9 18 6-6-6-6"
14
14
  }, null, -1)
15
15
  ]));
16
16
  }
@@ -10,7 +10,7 @@ function l(s, e) {
10
10
  stroke: "currentColor",
11
11
  "stroke-linecap": "round",
12
12
  "stroke-linejoin": "round",
13
- d: "M19.5 15.75 12 8.25l-7.5 7.5"
13
+ d: "m18 15-6-6-6 6"
14
14
  }, null, -1)
15
15
  ]));
16
16
  }
@@ -8,17 +8,17 @@ declare const meta: {
8
8
  icon: import("../ScalarIcon").Icon;
9
9
  disabled?: boolean;
10
10
  variant?: string | undefined;
11
- size?: "xs" | "sm" | "md" | "full" | "xxs" | undefined;
11
+ size?: "sm" | "xs" | "md" | "full" | "xxs" | undefined;
12
12
  thickness?: string;
13
13
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
14
14
  label: string;
15
15
  icon: import("../ScalarIcon").Icon;
16
16
  disabled?: boolean;
17
17
  variant?: string | undefined;
18
- size?: "xs" | "sm" | "md" | "full" | "xxs" | undefined;
18
+ size?: "sm" | "xs" | "md" | "full" | "xxs" | undefined;
19
19
  thickness?: string;
20
20
  }> & Readonly<{}>, {
21
- size: "xs" | "sm" | "md" | "full" | "xxs";
21
+ size: "sm" | "xs" | "md" | "full" | "xxs";
22
22
  variant: string;
23
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
24
  tags: string[];
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarIconButton.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarIconButton.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarIconButton/ScalarIconButton.test.ts"],"names":[],"mappings":""}
@@ -10,7 +10,7 @@ type __VLS_Props = {
10
10
  thickness?: string;
11
11
  };
12
12
  declare const variants: (props?: ({
13
- size?: "xs" | "sm" | "md" | "full" | "xxs" | undefined;
13
+ size?: "sm" | "xs" | "md" | "full" | "xxs" | undefined;
14
14
  disabled?: boolean | undefined;
15
15
  variant?: string | undefined;
16
16
  } & ({
@@ -69,7 +69,7 @@ declare const variants: (props?: ({
69
69
  } | null | undefined;
70
70
  })) | undefined) => string;
71
71
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
72
- size: "xs" | "sm" | "md" | "full" | "xxs";
72
+ size: "sm" | "xs" | "md" | "full" | "xxs";
73
73
  variant: string;
74
74
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
75
75
  export default _default;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarListbox.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarListbox.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarListbox/ScalarListbox.test.ts"],"names":[],"mappings":""}
@@ -5,10 +5,10 @@ import type { StoryObj } from '@storybook/vue3';
5
5
  declare const meta: {
6
6
  component: import("vue").DefineComponent<{
7
7
  loadingState?: import("./ScalarLoading.vue.js").LoadingState;
8
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
8
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
9
9
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
10
10
  loadingState?: import("./ScalarLoading.vue.js").LoadingState;
11
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
11
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
12
12
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
13
  tags: string[];
14
14
  argTypes: {
@@ -22,10 +22,10 @@ declare const meta: {
22
22
  };
23
23
  render: (args: import("@storybook/vue3").ComponentPropsAndSlots<import("vue").DefineComponent<{
24
24
  loadingState?: import("./ScalarLoading.vue.js").LoadingState;
25
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
25
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
26
26
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
27
27
  loadingState?: import("./ScalarLoading.vue.js").LoadingState;
28
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
28
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
29
29
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>>) => {
30
30
  components: {
31
31
  ScalarButton: {
@@ -85,19 +85,19 @@ declare const meta: {
85
85
  });
86
86
  ScalarLoading: import("vue").DefineComponent<{
87
87
  loadingState?: import("./ScalarLoading.vue.js").LoadingState;
88
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
88
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
89
89
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
90
90
  loadingState?: import("./ScalarLoading.vue.js").LoadingState;
91
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
91
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
92
92
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
93
93
  };
94
94
  setup(this: void): {
95
95
  args: import("@storybook/vue3").ComponentPropsAndSlots<import("vue").DefineComponent<{
96
96
  loadingState?: import("./ScalarLoading.vue.js").LoadingState;
97
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
97
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
98
98
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
99
99
  loadingState?: import("./ScalarLoading.vue.js").LoadingState;
100
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
100
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
101
101
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>>;
102
102
  loadingState: {
103
103
  isValid: boolean;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarLoading.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarLoading.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarLoading/ScalarLoading.test.ts"],"names":[],"mappings":""}
@@ -16,10 +16,10 @@ export declare function useLoadingState(): {
16
16
  };
17
17
  declare const _default: import("vue").DefineComponent<{
18
18
  loadingState?: LoadingState;
19
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
19
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
20
20
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
21
21
  loadingState?: LoadingState;
22
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | undefined;
22
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "full" | undefined;
23
23
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
24
  export default _default;
25
25
  //# sourceMappingURL=ScalarLoading.vue.d.ts.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarMenu.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarMenu.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenu.test.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarMenuButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuButton.vue"],"names":[],"mappings":"AAwCA,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;AAWF,iBAAS,cAAc;WA6DT,OAAO,IAA6B;;yBATrB,GAAG;uBACL,GAAG;;;;EAa7B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ScalarMenuButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuButton.vue"],"names":[],"mappings":"AAuCA,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;AAWF,iBAAS,cAAc;WA6DT,OAAO,IAA6B;;yBATrB,GAAG;uBACL,GAAG;;;;EAa7B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, openBlock as c, createElementBlock as l, mergeProps as u, unref as o, createElementVNode as t, renderSlot as n, createVNode as r, createTextVNode as i, toDisplayString as m } from "vue";
1
+ import { defineComponent as p, openBlock as l, createElementBlock as c, mergeProps as u, unref as o, createElementVNode as t, renderSlot as n, createVNode as r, createTextVNode as i, toDisplayString as m } from "vue";
2
2
  import { useBindCx as d } from "../../hooks/useBindCx.js";
3
3
  import s from "../ScalarIcon/ScalarIcon.vue.js";
4
4
  const f = { class: "h-5 w-auto" }, h = { class: "sr-only" }, y = /* @__PURE__ */ p({
@@ -9,7 +9,7 @@ const f = { class: "h-5 w-auto" }, h = { class: "sr-only" }, y = /* @__PURE__ */
9
9
  },
10
10
  setup(b) {
11
11
  const { cx: a } = d();
12
- return (e, g) => (c(), l("button", u(
12
+ return (e, g) => (l(), c("button", u(
13
13
  {
14
14
  class: "",
15
15
  type: "button"
@@ -31,8 +31,7 @@ const f = { class: "h-5 w-auto" }, h = { class: "sr-only" }, y = /* @__PURE__ */
31
31
  r(o(s), {
32
32
  class: "text-c-3 group-hover/button:text-c-1",
33
33
  icon: e.open ? "ChevronUp" : "ChevronDown",
34
- size: "sm",
35
- thickness: "2.5"
34
+ size: "sm"
36
35
  }, null, 8, ["icon"])
37
36
  ], 16));
38
37
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarMenuTeamPicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuTeamPicker.vue"],"names":[],"mappings":"AAoDA,OAAO,EAIL,KAAK,mBAAmB,EACzB,MAAM,OAAO,CAAA;AAKd,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAA;IACtC,KAAK,EAAE,mBAAmB,EAAE,CAAA;CAC7B,CAAC;;;;;;AAwGF,wBAOG"}
1
+ {"version":3,"file":"ScalarMenuTeamPicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuTeamPicker.vue"],"names":[],"mappings":"AAmDA,OAAO,EAIL,KAAK,mBAAmB,EACzB,MAAM,OAAO,CAAA;AAKd,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAA;IACtC,KAAK,EAAE,mBAAmB,EAAE,CAAA;CAC7B,CAAC;;;;;;AAwGF,wBAOG"}
@@ -1,8 +1,8 @@
1
- import { defineComponent as d, computed as u, openBlock as f, createElementBlock as x, normalizeProps as _, guardReactiveProps as v, unref as o, createVNode as a, withCtx as s, createTextVNode as h, toDisplayString as V } from "vue";
2
- import { useBindCx as g } from "../../hooks/useBindCx.js";
3
- import k from "../ScalarListbox/ScalarListbox.vue.js";
4
- import C from "../ScalarButton/ScalarButton.vue.js";
5
- import b from "../ScalarIcon/ScalarIcon.vue.js";
1
+ import { defineComponent as d, computed as u, openBlock as f, createElementBlock as x, normalizeProps as _, guardReactiveProps as v, unref as o, createVNode as a, withCtx as r, createTextVNode as V, toDisplayString as g } from "vue";
2
+ import { useBindCx as h } from "../../hooks/useBindCx.js";
3
+ import C from "../ScalarListbox/ScalarListbox.vue.js";
4
+ import b from "../ScalarButton/ScalarButton.vue.js";
5
+ import k from "../ScalarIcon/ScalarIcon.vue.js";
6
6
  const y = /* @__PURE__ */ d({
7
7
  inheritAttrs: !1,
8
8
  __name: "ScalarMenuTeamPicker",
@@ -11,33 +11,32 @@ const y = /* @__PURE__ */ d({
11
11
  teams: {}
12
12
  },
13
13
  emits: ["update:team"],
14
- setup(r, { emit: i }) {
15
- const l = r, p = i, n = u({
16
- get: () => l.team,
14
+ setup(s, { emit: l }) {
15
+ const i = s, p = l, m = u({
16
+ get: () => i.team,
17
17
  set: (e) => p("update:team", e)
18
- }), { cx: c } = g();
19
- return (e, m) => (f(), x("div", _(v(o(c)("flex flex-col pb-px"))), [
20
- a(o(k), {
21
- modelValue: n.value,
22
- "onUpdate:modelValue": m[0] || (m[0] = (t) => n.value = t),
18
+ }), { cx: c } = h();
19
+ return (e, n) => (f(), x("div", _(v(o(c)("flex flex-col pb-px"))), [
20
+ a(o(C), {
21
+ modelValue: m.value,
22
+ "onUpdate:modelValue": n[0] || (n[0] = (t) => m.value = t),
23
23
  options: e.teams,
24
24
  placement: "bottom-end",
25
25
  resize: ""
26
26
  }, {
27
- default: s(() => [
28
- a(o(C), {
27
+ default: r(() => [
28
+ a(o(b), {
29
29
  class: "h-auto px-2.5 py-1 text-xs leading shadow-none",
30
30
  variant: "outlined"
31
31
  }, {
32
- default: s(() => {
32
+ default: r(() => {
33
33
  var t;
34
34
  return [
35
- h(V((t = e.team) == null ? void 0 : t.label) + " ", 1),
36
- a(o(b), {
35
+ V(g((t = e.team) == null ? void 0 : t.label) + " ", 1),
36
+ a(o(k), {
37
37
  class: "ml-auto text-c-2",
38
38
  icon: "ChevronDown",
39
- size: "xs",
40
- thickness: "2.5"
39
+ size: "sm"
41
40
  })
42
41
  ];
43
42
  }),
@@ -10,10 +10,10 @@ declare const meta: {
10
10
  title?: string;
11
11
  bodyClass?: string;
12
12
  maxWidth?: string;
13
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs" | undefined;
13
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs" | undefined;
14
14
  variant?: "form" | "search" | "error" | "history" | undefined;
15
15
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
16
- size: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs";
16
+ size: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs";
17
17
  }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
18
18
  P: {};
19
19
  B: {};
@@ -26,10 +26,10 @@ declare const meta: {
26
26
  title?: string;
27
27
  bodyClass?: string;
28
28
  maxWidth?: string;
29
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs" | undefined;
29
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs" | undefined;
30
30
  variant?: "form" | "search" | "error" | "history" | undefined;
31
31
  }> & Readonly<{}>, {}, {}, {}, {}, {
32
- size: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs";
32
+ size: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs";
33
33
  }>;
34
34
  __isFragment?: never;
35
35
  __isTeleport?: never;
@@ -39,10 +39,10 @@ declare const meta: {
39
39
  title?: string;
40
40
  bodyClass?: string;
41
41
  maxWidth?: string;
42
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs" | undefined;
42
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs" | undefined;
43
43
  variant?: "form" | "search" | "error" | "history" | undefined;
44
44
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
45
- size: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs";
45
+ size: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs";
46
46
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
47
47
  $slots: {
48
48
  default?(_: {}): any;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarModal.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarModal.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarModal/ScalarModal.test.ts"],"names":[],"mappings":""}
@@ -9,17 +9,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
9
9
  title?: string;
10
10
  bodyClass?: string;
11
11
  maxWidth?: string;
12
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs" | undefined;
12
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs" | undefined;
13
13
  variant?: "form" | "search" | "error" | "history" | undefined;
14
14
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
15
15
  state: ReturnType<typeof useModal>;
16
16
  title?: string;
17
17
  bodyClass?: string;
18
18
  maxWidth?: string;
19
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs" | undefined;
19
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs" | undefined;
20
20
  variant?: "form" | "search" | "error" | "history" | undefined;
21
21
  }> & Readonly<{}>, {
22
- size: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs";
22
+ size: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs";
23
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
24
24
  default?(_: {}): any;
25
25
  default?(_: {}): any;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarPopover.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarPopover.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarPopover/ScalarPopover.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarSearchInput.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarSearchInput.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchInput/ScalarSearchInput.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarSearchResults.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarSearchResults.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchResults/ScalarSearchResults.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarTextField.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarTextField.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarTextField/ScalarTextField.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarToggle.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarToggle.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarToggle/ScalarToggle.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarTooltip.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarTooltip.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarTooltip/ScalarTooltip.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarVirtualText.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarVirtualText.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarVirtualText/ScalarVirtualText.test.ts"],"names":[],"mappings":""}