@scalar/components 0.12.76 → 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 (256) hide show
  1. package/dist/components/ScalarButton/ScalarButton.stories.d.ts +3 -0
  2. package/dist/components/ScalarButton/ScalarButton.stories.d.ts.map +1 -1
  3. package/dist/components/ScalarButton/ScalarButton.test.d.ts +2 -0
  4. package/dist/components/ScalarButton/ScalarButton.test.d.ts.map +1 -0
  5. package/dist/components/ScalarButton/ScalarButton.vue.d.ts.map +1 -1
  6. package/dist/components/ScalarButton/ScalarButton.vue.js +29 -32
  7. package/dist/components/ScalarCodeBlock/ScalarCodeBlock.test.d.ts +2 -0
  8. package/dist/components/ScalarCodeBlock/ScalarCodeBlock.test.d.ts.map +1 -0
  9. package/dist/components/ScalarCombobox/ScalarCombobox.stories.d.ts +30 -5
  10. package/dist/components/ScalarCombobox/ScalarCombobox.stories.d.ts.map +1 -1
  11. package/dist/components/ScalarCombobox/ScalarCombobox.test.d.ts +2 -0
  12. package/dist/components/ScalarCombobox/ScalarCombobox.test.d.ts.map +1 -0
  13. package/dist/components/ScalarCombobox/ScalarCombobox.vue.d.ts +24 -7
  14. package/dist/components/ScalarCombobox/ScalarCombobox.vue.d.ts.map +1 -1
  15. package/dist/components/ScalarCombobox/ScalarCombobox.vue.js +34 -18
  16. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue.d.ts +16 -82
  17. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue.d.ts.map +1 -1
  18. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue.js +23 -22
  19. package/dist/components/ScalarCombobox/ScalarComboboxOption.vue.d.ts +7 -2
  20. package/dist/components/ScalarCombobox/ScalarComboboxOption.vue.d.ts.map +1 -1
  21. package/dist/components/ScalarCombobox/ScalarComboboxOption.vue.js +23 -28
  22. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.d.ts +25 -1
  23. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.d.ts.map +1 -1
  24. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.js +58 -56
  25. package/dist/components/ScalarCombobox/ScalarComboboxPopover.vue.d.ts +5 -11
  26. package/dist/components/ScalarCombobox/ScalarComboboxPopover.vue.d.ts.map +1 -1
  27. package/dist/components/ScalarCombobox/ScalarComboboxPopover.vue.js +43 -43
  28. package/dist/components/ScalarCombobox/types.d.ts +4 -2
  29. package/dist/components/ScalarCombobox/types.d.ts.map +1 -1
  30. package/dist/components/ScalarCombobox/types.js +8 -3
  31. package/dist/components/ScalarContextMenu/ScalarContextMenu.test.d.ts +2 -0
  32. package/dist/components/ScalarContextMenu/ScalarContextMenu.test.d.ts.map +1 -0
  33. package/dist/components/ScalarDropdown/ScalarDropdown.stories.d.ts +73 -105
  34. package/dist/components/ScalarDropdown/ScalarDropdown.stories.d.ts.map +1 -1
  35. package/dist/components/ScalarDropdown/ScalarDropdown.test.d.ts +2 -0
  36. package/dist/components/ScalarDropdown/ScalarDropdown.test.d.ts.map +1 -0
  37. package/dist/components/ScalarDropdown/ScalarDropdown.vue.d.ts +40 -22
  38. package/dist/components/ScalarDropdown/ScalarDropdown.vue.d.ts.map +1 -1
  39. package/dist/components/ScalarDropdown/ScalarDropdown.vue.js +32 -42
  40. package/dist/components/ScalarDropdown/ScalarDropdownButton.vue.d.ts +35 -0
  41. package/dist/components/ScalarDropdown/ScalarDropdownButton.vue.d.ts.map +1 -0
  42. package/dist/components/ScalarDropdown/ScalarDropdownButton.vue.js +7 -0
  43. package/dist/components/ScalarDropdown/ScalarDropdownButton.vue2.js +37 -0
  44. package/dist/components/ScalarDropdown/ScalarDropdownDivider.vue.d.ts +17 -1
  45. package/dist/components/ScalarDropdown/ScalarDropdownDivider.vue.d.ts.map +1 -1
  46. package/dist/components/ScalarDropdown/ScalarDropdownDivider.vue.js +7 -6
  47. package/dist/components/ScalarDropdown/ScalarDropdownDivider.vue2.js +4 -0
  48. package/dist/components/ScalarDropdown/ScalarDropdownItem.vue.d.ts +18 -15
  49. package/dist/components/ScalarDropdown/ScalarDropdownItem.vue.d.ts.map +1 -1
  50. package/dist/components/ScalarDropdown/ScalarDropdownItem.vue.js +2 -2
  51. package/dist/components/ScalarDropdown/ScalarDropdownItem.vue2.js +19 -29
  52. package/dist/components/ScalarDropdown/ScalarDropdownMenu.vue.d.ts +32 -0
  53. package/dist/components/ScalarDropdown/ScalarDropdownMenu.vue.d.ts.map +1 -0
  54. package/dist/components/ScalarDropdown/ScalarDropdownMenu.vue.js +28 -0
  55. package/dist/components/ScalarDropdown/ScalarDropdownMenu.vue2.js +4 -0
  56. package/dist/components/ScalarDropdown/index.d.ts +2 -0
  57. package/dist/components/ScalarDropdown/index.d.ts.map +1 -1
  58. package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.stories.d.ts +6 -0
  59. package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.stories.d.ts.map +1 -0
  60. package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.test.d.ts +2 -0
  61. package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.test.d.ts.map +1 -0
  62. package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.vue.d.ts +18 -0
  63. package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.vue.d.ts.map +1 -0
  64. package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.vue.js +23 -0
  65. package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.vue2.js +4 -0
  66. package/dist/components/ScalarErrorBoundary/index.d.ts +2 -0
  67. package/dist/components/ScalarErrorBoundary/index.d.ts.map +1 -0
  68. package/dist/components/ScalarFloating/ScalarFloating.stories.d.ts +4 -0
  69. package/dist/components/ScalarFloating/ScalarFloating.stories.d.ts.map +1 -1
  70. package/dist/components/ScalarFloating/ScalarFloating.test.d.ts +2 -0
  71. package/dist/components/ScalarFloating/ScalarFloating.test.d.ts.map +1 -0
  72. package/dist/components/ScalarFloating/ScalarFloating.vue.d.ts +5 -4
  73. package/dist/components/ScalarFloating/ScalarFloating.vue.d.ts.map +1 -1
  74. package/dist/components/ScalarFloating/ScalarFloating.vue.js +32 -29
  75. package/dist/components/ScalarFloating/index.d.ts +1 -1
  76. package/dist/components/ScalarFloating/index.d.ts.map +1 -1
  77. package/dist/components/ScalarFloating/types.d.ts +15 -7
  78. package/dist/components/ScalarFloating/types.d.ts.map +1 -1
  79. package/dist/components/ScalarFloating/useResizeWithTarget.d.ts +3 -0
  80. package/dist/components/ScalarFloating/useResizeWithTarget.d.ts.map +1 -1
  81. package/dist/components/ScalarFloating/useResizeWithTarget.test.d.ts +2 -0
  82. package/dist/components/ScalarFloating/useResizeWithTarget.test.d.ts.map +1 -0
  83. package/dist/components/ScalarHeaderButton/ScalarHeaderButton.test.d.ts +2 -0
  84. package/dist/components/ScalarHeaderButton/ScalarHeaderButton.test.d.ts.map +1 -0
  85. package/dist/components/ScalarIcon/ScalarIcon.stories.d.ts +9 -8
  86. package/dist/components/ScalarIcon/ScalarIcon.stories.d.ts.map +1 -1
  87. package/dist/components/ScalarIcon/ScalarIcon.test.d.ts +2 -0
  88. package/dist/components/ScalarIcon/ScalarIcon.test.d.ts.map +1 -0
  89. package/dist/components/ScalarIcon/ScalarIcon.vue.d.ts +1 -1
  90. package/dist/components/ScalarIcon/ScalarIcon.vue.d.ts.map +1 -1
  91. package/dist/components/ScalarIcon/ScalarIcon.vue.js +2 -2
  92. package/dist/components/ScalarIcon/ScalarIcon.vue2.js +18 -15
  93. package/dist/components/ScalarIcon/icons/Add.svg.js +2 -2
  94. package/dist/components/ScalarIcon/icons/ChevronDown.svg.js +1 -1
  95. package/dist/components/ScalarIcon/icons/ChevronRight.svg.js +1 -1
  96. package/dist/components/ScalarIcon/icons/ChevronUp.svg.js +1 -1
  97. package/dist/components/ScalarIcon/icons/Hide.svg.js +10 -9
  98. package/dist/components/ScalarIcon/icons/Show.svg.js +7 -8
  99. package/dist/components/ScalarIconButton/ScalarIconButton.stories.d.ts +13 -10
  100. package/dist/components/ScalarIconButton/ScalarIconButton.stories.d.ts.map +1 -1
  101. package/dist/components/ScalarIconButton/ScalarIconButton.test.d.ts +2 -0
  102. package/dist/components/ScalarIconButton/ScalarIconButton.test.d.ts.map +1 -0
  103. package/dist/components/ScalarIconButton/ScalarIconButton.vue.d.ts +3 -3
  104. package/dist/components/ScalarIconButton/ScalarIconButton.vue.d.ts.map +1 -1
  105. package/dist/components/ScalarIconButton/ScalarIconButton.vue.js +19 -21
  106. package/dist/components/ScalarListbox/ScalarListbox.stories.d.ts +52 -25
  107. package/dist/components/ScalarListbox/ScalarListbox.stories.d.ts.map +1 -1
  108. package/dist/components/ScalarListbox/ScalarListbox.test.d.ts +2 -0
  109. package/dist/components/ScalarListbox/ScalarListbox.test.d.ts.map +1 -0
  110. package/dist/components/ScalarListbox/ScalarListbox.vue.d.ts +41 -22
  111. package/dist/components/ScalarListbox/ScalarListbox.vue.d.ts.map +1 -1
  112. package/dist/components/ScalarListbox/ScalarListbox.vue.js +46 -85
  113. package/dist/components/ScalarListbox/ScalarListboxCheckbox.vue.d.ts +8 -0
  114. package/dist/components/ScalarListbox/ScalarListboxCheckbox.vue.d.ts.map +1 -0
  115. package/dist/components/ScalarListbox/ScalarListboxCheckbox.vue.js +26 -0
  116. package/dist/components/ScalarListbox/ScalarListboxCheckbox.vue2.js +4 -0
  117. package/dist/components/ScalarListbox/ScalarListboxItem.vue.d.ts +8 -0
  118. package/dist/components/ScalarListbox/ScalarListboxItem.vue.d.ts.map +1 -0
  119. package/dist/components/ScalarListbox/ScalarListboxItem.vue.js +53 -0
  120. package/dist/components/ScalarListbox/ScalarListboxItem.vue2.js +4 -0
  121. package/dist/components/ScalarListbox/index.d.ts +3 -1
  122. package/dist/components/ScalarListbox/index.d.ts.map +1 -1
  123. package/dist/components/ScalarListbox/types.d.ts +1 -0
  124. package/dist/components/ScalarListbox/types.d.ts.map +1 -1
  125. package/dist/components/ScalarLoading/ScalarLoading.stories.d.ts +32 -10
  126. package/dist/components/ScalarLoading/ScalarLoading.stories.d.ts.map +1 -1
  127. package/dist/components/ScalarLoading/ScalarLoading.test.d.ts +2 -0
  128. package/dist/components/ScalarLoading/ScalarLoading.test.d.ts.map +1 -0
  129. package/dist/components/ScalarLoading/ScalarLoading.vue.d.ts +4 -4
  130. package/dist/components/ScalarLoading/ScalarLoading.vue.d.ts.map +1 -1
  131. package/dist/components/ScalarLoading/ScalarLoading.vue.js +3 -3
  132. package/dist/components/ScalarLoading/ScalarLoading.vue2.js +29 -30
  133. package/dist/components/ScalarMenu/ScalarMenu.stories.d.ts +133 -108
  134. package/dist/components/ScalarMenu/ScalarMenu.stories.d.ts.map +1 -1
  135. package/dist/components/ScalarMenu/ScalarMenu.test.d.ts +2 -0
  136. package/dist/components/ScalarMenu/ScalarMenu.test.d.ts.map +1 -0
  137. package/dist/components/ScalarMenu/ScalarMenu.vue.d.ts +34 -18
  138. package/dist/components/ScalarMenu/ScalarMenu.vue.d.ts.map +1 -1
  139. package/dist/components/ScalarMenu/ScalarMenu.vue.js +22 -20
  140. package/dist/components/ScalarMenu/ScalarMenuButton.vue.d.ts +2 -2
  141. package/dist/components/ScalarMenu/ScalarMenuButton.vue.d.ts.map +1 -1
  142. package/dist/components/ScalarMenu/ScalarMenuButton.vue.js +26 -19
  143. package/dist/components/ScalarMenu/ScalarMenuLink.vue.d.ts.map +1 -1
  144. package/dist/components/ScalarMenu/ScalarMenuLink.vue.js +17 -10
  145. package/dist/components/ScalarMenu/ScalarMenuProduct.vue.d.ts +2 -2
  146. package/dist/components/ScalarMenu/ScalarMenuProduct.vue.d.ts.map +1 -1
  147. package/dist/components/ScalarMenu/ScalarMenuProduct.vue.js +22 -16
  148. package/dist/components/ScalarMenu/ScalarMenuProducts.vue.d.ts +1 -1
  149. package/dist/components/ScalarMenu/ScalarMenuProducts.vue.d.ts.map +1 -1
  150. package/dist/components/ScalarMenu/ScalarMenuProducts.vue.js +25 -22
  151. package/dist/components/ScalarMenu/ScalarMenuResources.vue.d.ts +1 -1
  152. package/dist/components/ScalarMenu/ScalarMenuResources.vue.js +3 -3
  153. package/dist/components/ScalarMenu/ScalarMenuSection.vue.d.ts +2 -2
  154. package/dist/components/ScalarMenu/ScalarMenuSection.vue.d.ts.map +1 -1
  155. package/dist/components/ScalarMenu/ScalarMenuSection.vue.js +18 -15
  156. package/dist/components/ScalarMenu/ScalarMenuSection.vue2.js +4 -0
  157. package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue.d.ts +1 -1
  158. package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue.d.ts.map +1 -1
  159. package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue.js +23 -22
  160. package/dist/components/ScalarModal/ScalarModal.stories.d.ts +9 -9
  161. package/dist/components/ScalarModal/ScalarModal.test.d.ts +2 -0
  162. package/dist/components/ScalarModal/ScalarModal.test.d.ts.map +1 -0
  163. package/dist/components/ScalarModal/ScalarModal.vue.d.ts +5 -5
  164. package/dist/components/ScalarPopover/ScalarPopover.stories.d.ts +20 -116
  165. package/dist/components/ScalarPopover/ScalarPopover.stories.d.ts.map +1 -1
  166. package/dist/components/ScalarPopover/ScalarPopover.test.d.ts +2 -0
  167. package/dist/components/ScalarPopover/ScalarPopover.test.d.ts.map +1 -0
  168. package/dist/components/ScalarPopover/ScalarPopover.vue.d.ts +4 -11
  169. package/dist/components/ScalarPopover/ScalarPopover.vue.d.ts.map +1 -1
  170. package/dist/components/ScalarPopover/ScalarPopover.vue.js +23 -24
  171. package/dist/components/ScalarPopover/index.d.ts +1 -0
  172. package/dist/components/ScalarPopover/index.d.ts.map +1 -1
  173. package/dist/components/ScalarPopover/types.d.ts +15 -0
  174. package/dist/components/ScalarPopover/types.d.ts.map +1 -0
  175. package/dist/components/ScalarSearchInput/ScalarSearchInput.stories.d.ts +6 -1
  176. package/dist/components/ScalarSearchInput/ScalarSearchInput.stories.d.ts.map +1 -1
  177. package/dist/components/ScalarSearchInput/ScalarSearchInput.test.d.ts +2 -0
  178. package/dist/components/ScalarSearchInput/ScalarSearchInput.test.d.ts.map +1 -0
  179. package/dist/components/ScalarSearchInput/ScalarSearchInput.vue.js +3 -3
  180. package/dist/components/ScalarSearchInput/ScalarSearchInput.vue2.js +10 -10
  181. package/dist/components/ScalarSearchResults/ScalarSearchResultItem.vue.d.ts.map +1 -1
  182. package/dist/components/ScalarSearchResults/ScalarSearchResultItem.vue.js +31 -35
  183. package/dist/components/ScalarSearchResults/ScalarSearchResultList.vue.d.ts.map +1 -1
  184. package/dist/components/ScalarSearchResults/ScalarSearchResultList.vue.js +12 -18
  185. package/dist/components/ScalarSearchResults/ScalarSearchResults.test.d.ts +2 -0
  186. package/dist/components/ScalarSearchResults/ScalarSearchResults.test.d.ts.map +1 -0
  187. package/dist/components/ScalarTextField/ScalarTextField.test.d.ts +2 -0
  188. package/dist/components/ScalarTextField/ScalarTextField.test.d.ts.map +1 -0
  189. package/dist/components/ScalarToggle/ScalarToggle.stories.d.ts +26 -39
  190. package/dist/components/ScalarToggle/ScalarToggle.stories.d.ts.map +1 -1
  191. package/dist/components/ScalarToggle/ScalarToggle.test.d.ts +2 -0
  192. package/dist/components/ScalarToggle/ScalarToggle.test.d.ts.map +1 -0
  193. package/dist/components/ScalarToggle/ScalarToggle.vue.d.ts +3 -5
  194. package/dist/components/ScalarToggle/ScalarToggle.vue.d.ts.map +1 -1
  195. package/dist/components/ScalarToggle/ScalarToggle.vue.js +24 -35
  196. package/dist/components/ScalarTooltip/ScalarTooltip.test.d.ts +2 -0
  197. package/dist/components/ScalarTooltip/ScalarTooltip.test.d.ts.map +1 -0
  198. package/dist/components/ScalarVirtualText/ScalarVirtualText.test.d.ts +2 -0
  199. package/dist/components/ScalarVirtualText/ScalarVirtualText.test.d.ts.map +1 -0
  200. package/dist/cva.js +7 -7
  201. package/dist/cva.test.d.ts +2 -0
  202. package/dist/cva.test.d.ts.map +1 -0
  203. package/dist/hooks/useBindCx.d.ts +51 -0
  204. package/dist/hooks/useBindCx.d.ts.map +1 -0
  205. package/dist/hooks/useBindCx.js +34 -0
  206. package/dist/hooks/useBindCx.stories.d.ts +430 -0
  207. package/dist/hooks/useBindCx.stories.d.ts.map +1 -0
  208. package/dist/hooks/useBindCx.test.d.ts +2 -0
  209. package/dist/hooks/useBindCx.test.d.ts.map +1 -0
  210. package/dist/index.d.ts +4 -1
  211. package/dist/index.d.ts.map +1 -1
  212. package/dist/index.js +85 -68
  213. package/dist/style.css +1 -1
  214. package/package.json +6 -6
  215. package/dist/components/ScalarButton/ScalarButton.spec.d.ts +0 -2
  216. package/dist/components/ScalarButton/ScalarButton.spec.d.ts.map +0 -1
  217. package/dist/components/ScalarCodeBlock/ScalarCodeBlock.spec.d.ts +0 -2
  218. package/dist/components/ScalarCodeBlock/ScalarCodeBlock.spec.d.ts.map +0 -1
  219. package/dist/components/ScalarCombobox/ScalarCombobox.spec.d.ts +0 -2
  220. package/dist/components/ScalarCombobox/ScalarCombobox.spec.d.ts.map +0 -1
  221. package/dist/components/ScalarContextMenu/ScalarContextMenu.spec.d.ts +0 -2
  222. package/dist/components/ScalarContextMenu/ScalarContextMenu.spec.d.ts.map +0 -1
  223. package/dist/components/ScalarDropdown/ScalarDropdown.spec.d.ts +0 -2
  224. package/dist/components/ScalarDropdown/ScalarDropdown.spec.d.ts.map +0 -1
  225. package/dist/components/ScalarFloating/ScalarFloating.spec.d.ts +0 -2
  226. package/dist/components/ScalarFloating/ScalarFloating.spec.d.ts.map +0 -1
  227. package/dist/components/ScalarFloating/useResizeWithTarget.spec.d.ts +0 -2
  228. package/dist/components/ScalarFloating/useResizeWithTarget.spec.d.ts.map +0 -1
  229. package/dist/components/ScalarHeaderButton/ScalarHeaderButton.spec.d.ts +0 -2
  230. package/dist/components/ScalarHeaderButton/ScalarHeaderButton.spec.d.ts.map +0 -1
  231. package/dist/components/ScalarIcon/ScalarIcon.spec.d.ts +0 -2
  232. package/dist/components/ScalarIcon/ScalarIcon.spec.d.ts.map +0 -1
  233. package/dist/components/ScalarIconButton/ScalarIconButton.spec.d.ts +0 -2
  234. package/dist/components/ScalarIconButton/ScalarIconButton.spec.d.ts.map +0 -1
  235. package/dist/components/ScalarListbox/ScalarListbox.spec.d.ts +0 -2
  236. package/dist/components/ScalarListbox/ScalarListbox.spec.d.ts.map +0 -1
  237. package/dist/components/ScalarLoading/ScalarLoading.spec.d.ts +0 -2
  238. package/dist/components/ScalarLoading/ScalarLoading.spec.d.ts.map +0 -1
  239. package/dist/components/ScalarMenu/ScalarMenu.spec.d.ts +0 -2
  240. package/dist/components/ScalarMenu/ScalarMenu.spec.d.ts.map +0 -1
  241. package/dist/components/ScalarModal/ScalarModal.spec.d.ts +0 -2
  242. package/dist/components/ScalarModal/ScalarModal.spec.d.ts.map +0 -1
  243. package/dist/components/ScalarPopover/ScalarPopover.spec.d.ts +0 -2
  244. package/dist/components/ScalarPopover/ScalarPopover.spec.d.ts.map +0 -1
  245. package/dist/components/ScalarSearchInput/ScalarSearchInput.spec.d.ts +0 -2
  246. package/dist/components/ScalarSearchInput/ScalarSearchInput.spec.d.ts.map +0 -1
  247. package/dist/components/ScalarSearchResults/ScalarSearchResults.spec.d.ts +0 -2
  248. package/dist/components/ScalarSearchResults/ScalarSearchResults.spec.d.ts.map +0 -1
  249. package/dist/components/ScalarTextField/ScalarTextField.spec.d.ts +0 -2
  250. package/dist/components/ScalarTextField/ScalarTextField.spec.d.ts.map +0 -1
  251. package/dist/components/ScalarToggle/ScalarToggle.spec.d.ts +0 -2
  252. package/dist/components/ScalarToggle/ScalarToggle.spec.d.ts.map +0 -1
  253. package/dist/components/ScalarTooltip/ScalarTooltip.spec.d.ts +0 -2
  254. package/dist/components/ScalarTooltip/ScalarTooltip.spec.d.ts.map +0 -1
  255. package/dist/components/ScalarVirtualText/ScalarVirtualText.spec.d.ts +0 -2
  256. package/dist/components/ScalarVirtualText/ScalarVirtualText.spec.d.ts.map +0 -1
@@ -1,30 +1,36 @@
1
- import { defineComponent as n, openBlock as o, createElementBlock as r, normalizeClass as t, createVNode as l, unref as s, createElementVNode as a, renderSlot as c } from "vue";
2
- import i from "../ScalarIcon/ScalarIcon.vue.js";
3
- const d = { class: "font-medium" }, _ = /* @__PURE__ */ n({
1
+ import { defineComponent as t, openBlock as s, createElementBlock as a, mergeProps as c, unref as n, createVNode as l, createElementVNode as i, renderSlot as d } from "vue";
2
+ import { cva as p } from "../../cva.js";
3
+ import { useBindCx as m } from "../../hooks/useBindCx.js";
4
+ import f from "../ScalarIcon/ScalarIcon.vue.js";
5
+ const u = { class: "font-medium" }, k = /* @__PURE__ */ t({
6
+ inheritAttrs: !1,
4
7
  __name: "ScalarMenuProduct",
5
8
  props: {
6
9
  selected: { type: Boolean },
7
10
  icon: {}
8
11
  },
9
- setup(p) {
10
- return (e, m) => (o(), r("a", {
11
- class: t([
12
- "relative flex min-w-0 flex-1 items-center gap-2 overflow-hidden rounded px-2 py-1.5 leading no-underline flex-row",
13
- e.selected ? "pointer-events-none bg-b-2" : "cursor-pointer bg-b-1 hover:bg-b-2"
14
- ]),
15
- target: "_blank"
16
- }, [
17
- l(s(i), {
12
+ setup(b) {
13
+ const { cx: o } = m(), r = p({
14
+ base: "relative flex min-w-0 flex-1 items-center gap-2 overflow-hidden rounded px-2 py-1.5 leading no-underline flex-row",
15
+ variants: {
16
+ selected: {
17
+ true: "pointer-events-none bg-b-2",
18
+ false: "cursor-pointer bg-b-1 hover:bg-b-2"
19
+ }
20
+ }
21
+ });
22
+ return (e, _) => (s(), a("a", c({ target: "_blank" }, n(o)(n(r)({ selected: e.selected }))), [
23
+ l(n(f), {
18
24
  icon: e.icon,
19
25
  size: "xs",
20
26
  thickness: "2.5"
21
27
  }, null, 8, ["icon"]),
22
- a("span", d, [
23
- c(e.$slots, "default")
28
+ i("span", u, [
29
+ d(e.$slots, "default")
24
30
  ])
25
- ], 2));
31
+ ], 16));
26
32
  }
27
33
  });
28
34
  export {
29
- _ as default
35
+ k as default
30
36
  };
@@ -7,6 +7,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
7
7
  open: (event: Event, product: Product) => any;
8
8
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
9
  onOpen?: ((event: Event, product: Product) => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  export default _default;
12
12
  //# sourceMappingURL=ScalarMenuProducts.vue.d.ts.map
@@ -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":"AAkDA,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;;;;;;AAuIF,wBAOG"}
@@ -1,53 +1,56 @@
1
- import { defineComponent as f, openBlock as p, createElementBlock as m, createVNode as t, withCtx as r, createTextVNode as l } from "vue";
1
+ import { defineComponent as p, openBlock as m, createElementBlock as c, normalizeProps as u, guardReactiveProps as h, unref as C, createVNode as r, withCtx as t, createTextVNode as l } from "vue";
2
+ import { useBindCx as k } from "../../hooks/useBindCx.js";
2
3
  import d from "./ScalarMenuProduct.vue.js";
3
- const c = { class: "flex flex-col" }, C = /* @__PURE__ */ f({
4
+ const g = /* @__PURE__ */ p({
5
+ inheritAttrs: !1,
4
6
  __name: "ScalarMenuProducts",
5
7
  props: {
6
8
  selected: {},
7
9
  hrefs: {}
8
10
  },
9
11
  emits: ["open"],
10
- setup(u) {
11
- return (s, e) => {
12
+ setup(b) {
13
+ const { cx: f } = k();
14
+ return (o, e) => {
12
15
  var n, i, a;
13
- return p(), m("div", c, [
14
- t(d, {
15
- href: ((n = s.hrefs) == null ? void 0 : n.dashboard) ?? "https://dashboard.scalar.com",
16
+ return m(), c("div", u(h(C(f)("flex flex-col"))), [
17
+ r(d, {
18
+ href: ((n = o.hrefs) == null ? void 0 : n.dashboard) ?? "https://dashboard.scalar.com",
16
19
  icon: "House",
17
- selected: s.selected === "dashboard",
18
- onClick: e[0] || (e[0] = (o) => s.$emit("open", o, "dashboard"))
20
+ selected: o.selected === "dashboard",
21
+ onClick: e[0] || (e[0] = (s) => o.$emit("open", s, "dashboard"))
19
22
  }, {
20
- default: r(() => e[3] || (e[3] = [
23
+ default: t(() => e[3] || (e[3] = [
21
24
  l(" Dashboard ")
22
25
  ])),
23
26
  _: 1
24
27
  }, 8, ["href", "selected"]),
25
- t(d, {
26
- href: ((i = s.hrefs) == null ? void 0 : i.docs) ?? "https://docs.scalar.com",
28
+ r(d, {
29
+ href: ((i = o.hrefs) == null ? void 0 : i.docs) ?? "https://docs.scalar.com",
27
30
  icon: "Page",
28
- selected: s.selected === "docs",
29
- onClick: e[1] || (e[1] = (o) => s.$emit("open", o, "docs"))
31
+ selected: o.selected === "docs",
32
+ onClick: e[1] || (e[1] = (s) => o.$emit("open", s, "docs"))
30
33
  }, {
31
- default: r(() => e[4] || (e[4] = [
34
+ default: t(() => e[4] || (e[4] = [
32
35
  l(" Docs ")
33
36
  ])),
34
37
  _: 1
35
38
  }, 8, ["href", "selected"]),
36
- t(d, {
37
- href: ((a = s.hrefs) == null ? void 0 : a.client) ?? "https://client.scalar.com",
39
+ r(d, {
40
+ href: ((a = o.hrefs) == null ? void 0 : a.client) ?? "https://client.scalar.com",
38
41
  icon: "ExternalLink",
39
- selected: s.selected === "client",
40
- onClick: e[2] || (e[2] = (o) => s.$emit("open", o, "client"))
42
+ selected: o.selected === "client",
43
+ onClick: e[2] || (e[2] = (s) => o.$emit("open", s, "client"))
41
44
  }, {
42
- default: r(() => e[5] || (e[5] = [
45
+ default: t(() => e[5] || (e[5] = [
43
46
  l(" Client ")
44
47
  ])),
45
48
  _: 1
46
49
  }, 8, ["href", "selected"])
47
- ]);
50
+ ], 16);
48
51
  };
49
52
  }
50
53
  });
51
54
  export {
52
- C as default
55
+ g as default
53
56
  };
@@ -1,3 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
3
3
  //# sourceMappingURL=ScalarMenuResources.vue.d.ts.map
@@ -1,10 +1,10 @@
1
- import { defineComponent as l, openBlock as n, createBlock as s, withCtx as r, createTextVNode as e, createVNode as o } from "vue";
1
+ import { defineComponent as s, openBlock as l, createBlock as n, withCtx as r, createTextVNode as e, createVNode as o } from "vue";
2
2
  import a from "./ScalarMenuLink.vue.js";
3
3
  import i from "./ScalarMenuSection.vue.js";
4
- const d = /* @__PURE__ */ l({
4
+ const d = /* @__PURE__ */ s({
5
5
  __name: "ScalarMenuResources",
6
6
  setup(m) {
7
- return (p, t) => (n(), s(i, null, {
7
+ return (f, t) => (l(), n(i, null, {
8
8
  title: r(() => t[0] || (t[0] = [
9
9
  e("Resources")
10
10
  ])),
@@ -5,10 +5,10 @@ declare function __VLS_template(): {
5
5
  default?(_: {}): any;
6
6
  };
7
7
  refs: {};
8
- rootEl: HTMLDivElement;
8
+ rootEl: any;
9
9
  };
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
11
+ 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>;
12
12
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
13
  export default _default;
14
14
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarMenuSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuSection.vue"],"names":[],"mappings":"AAoBA,iBAAS,cAAc;WAgDT,OAAO,IAA6B;;uBATvB,GAAG;yBACD,GAAG;;;;EAa/B;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0RAMnB,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":"ScalarMenuSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarMenu/ScalarMenuSection.vue"],"names":[],"mappings":"AA8BA,iBAAS,cAAc;WA6CT,OAAO,IAA6B;;uBATvB,GAAG;yBACD,GAAG;;;;EAa/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+QAKnB,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,17 +1,20 @@
1
- import { openBlock as c, createElementBlock as s, createElementVNode as t, renderSlot as o } from "vue";
2
- import l from "../../_virtual/_plugin-vue_export-helper.js";
3
- const n = {}, r = { class: "flex flex-col gap-1.5" }, a = { class: "px-2.5 font-medium leading text-c-3" }, d = { class: "flex flex-col" };
4
- function i(e, f) {
5
- return c(), s("div", r, [
6
- t("div", a, [
7
- o(e.$slots, "title")
8
- ]),
9
- t("div", d, [
10
- o(e.$slots, "default")
11
- ])
12
- ]);
13
- }
14
- const p = /* @__PURE__ */ l(n, [["render", i]]);
1
+ import { defineComponent as s, openBlock as l, createElementBlock as r, normalizeProps as c, guardReactiveProps as a, unref as i, createElementVNode as t, renderSlot as o } from "vue";
2
+ import { useBindCx as d } from "../../hooks/useBindCx.js";
3
+ const f = { class: "px-2.5 font-medium leading text-c-3" }, m = { class: "flex flex-col" }, h = /* @__PURE__ */ s({
4
+ inheritAttrs: !1,
5
+ __name: "ScalarMenuSection",
6
+ setup(p) {
7
+ const { cx: n } = d();
8
+ return (e, u) => (l(), r("div", c(a(i(n)("flex flex-col gap-1.5"))), [
9
+ t("div", f, [
10
+ o(e.$slots, "title")
11
+ ]),
12
+ t("div", m, [
13
+ o(e.$slots, "default")
14
+ ])
15
+ ], 16));
16
+ }
17
+ });
15
18
  export {
16
- p as default
19
+ h as default
17
20
  };
@@ -0,0 +1,4 @@
1
+ import f from "./ScalarMenuSection.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -7,6 +7,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
7
7
  "update:team": (value: ScalarListboxOption | undefined) => any;
8
8
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
9
  "onUpdate:team"?: ((value: ScalarListboxOption | undefined) => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  export default _default;
12
12
  //# sourceMappingURL=ScalarMenuTeamPicker.vue.d.ts.map
@@ -1 +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"}
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,41 +1,42 @@
1
- import { defineComponent as c, computed as d, openBlock as u, createElementBlock as f, createVNode as o, unref as a, withCtx as s, createTextVNode as x, toDisplayString as _ } from "vue";
2
- import h from "../ScalarListbox/ScalarListbox.vue.js";
3
- import v from "../ScalarButton/ScalarButton.vue.js";
4
- import V from "../ScalarIcon/ScalarIcon.vue.js";
5
- const k = { class: "flex flex-col pb-px" }, S = /* @__PURE__ */ c({
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
+ const y = /* @__PURE__ */ d({
7
+ inheritAttrs: !1,
6
8
  __name: "ScalarMenuTeamPicker",
7
9
  props: {
8
10
  team: {},
9
11
  teams: {}
10
12
  },
11
13
  emits: ["update:team"],
12
- setup(l, { emit: i }) {
13
- const r = l, p = i, n = d({
14
- get: () => r.team,
14
+ setup(s, { emit: l }) {
15
+ const i = s, p = l, m = u({
16
+ get: () => i.team,
15
17
  set: (e) => p("update:team", e)
16
- });
17
- return (e, m) => (u(), f("div", k, [
18
- o(a(h), {
19
- modelValue: n.value,
20
- "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),
21
23
  options: e.teams,
22
24
  placement: "bottom-end",
23
25
  resize: ""
24
26
  }, {
25
- default: s(() => [
26
- o(a(v), {
27
+ default: r(() => [
28
+ a(o(b), {
27
29
  class: "h-auto px-2.5 py-1 text-xs leading shadow-none",
28
30
  variant: "outlined"
29
31
  }, {
30
- default: s(() => {
32
+ default: r(() => {
31
33
  var t;
32
34
  return [
33
- x(_((t = e.team) == null ? void 0 : t.label) + " ", 1),
34
- o(a(V), {
35
+ V(g((t = e.team) == null ? void 0 : t.label) + " ", 1),
36
+ a(o(k), {
35
37
  class: "ml-auto text-c-2",
36
38
  icon: "ChevronDown",
37
- size: "xs",
38
- thickness: "2.5"
39
+ size: "sm"
39
40
  })
40
41
  ];
41
42
  }),
@@ -44,9 +45,9 @@ const k = { class: "flex flex-col pb-px" }, S = /* @__PURE__ */ c({
44
45
  ]),
45
46
  _: 1
46
47
  }, 8, ["modelValue", "options"])
47
- ]));
48
+ ], 16));
48
49
  }
49
50
  });
50
51
  export {
51
- S as default
52
+ y as default
52
53
  };
@@ -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;
14
- variant?: "form" | "search" | "history" | "error" | undefined;
13
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs" | undefined;
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;
30
- variant?: "form" | "search" | "history" | "error" | undefined;
29
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs" | undefined;
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;
43
- variant?: "form" | "search" | "history" | "error" | undefined;
42
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs" | undefined;
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;
13
- variant?: "form" | "search" | "history" | "error" | undefined;
12
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs" | undefined;
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;
20
- variant?: "form" | "search" | "history" | "error" | undefined;
19
+ size?: "sm" | "lg" | "xs" | "md" | "xl" | "full" | "xxs" | undefined;
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;
@@ -1,44 +1,19 @@
1
1
  import type { StoryObj } from '@storybook/vue3';
2
2
  declare const meta: {
3
3
  component: {
4
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
5
- resize?: boolean | undefined;
6
- placement?: import("@floating-ui/vue").Placement | undefined;
7
- targetRef?: HTMLElement | undefined;
8
- isOpen?: boolean | undefined;
9
- teleport?: (boolean | string) | undefined;
10
- }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
4
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../ScalarFloating").ScalarFloatingOptions> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
11
5
  P: {};
12
6
  B: {};
13
7
  D: {};
14
8
  C: {};
15
9
  M: {};
16
10
  Defaults: {};
17
- }, Readonly<{
18
- resize?: boolean | undefined;
19
- placement?: import("@floating-ui/vue").Placement | undefined;
20
- targetRef?: HTMLElement | undefined;
21
- isOpen?: boolean | undefined;
22
- teleport?: (boolean | string) | undefined;
23
- }> & Readonly<{}>, {}, {}, {}, {}, {}>;
11
+ }, Readonly<import("../ScalarFloating").ScalarFloatingOptions> & Readonly<{}>, {}, {}, {}, {}, {}>;
24
12
  __isFragment?: never;
25
13
  __isTeleport?: never;
26
14
  __isSuspense?: never;
27
- } & import("vue").ComponentOptionsBase<Readonly<{
28
- resize?: boolean | undefined;
29
- placement?: import("@floating-ui/vue").Placement | undefined;
30
- targetRef?: HTMLElement | undefined;
31
- isOpen?: boolean | undefined;
32
- teleport?: (boolean | string) | undefined;
33
- }> & 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 () => {
34
- $slots: {
35
- default?(_: {
36
- open: any;
37
- }): any;
38
- popover?(_: {
39
- close: () => any;
40
- }): any;
41
- };
15
+ } & import("vue").ComponentOptionsBase<Readonly<import("../ScalarFloating").ScalarFloatingOptions> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
16
+ $slots: Readonly<import("./types").Slots> & import("./types").Slots;
42
17
  });
43
18
  tags: string[];
44
19
  argTypes: {
@@ -49,87 +24,40 @@ declare const meta: {
49
24
  control: "select";
50
25
  options: import("@floating-ui/utils").Placement[];
51
26
  };
27
+ class: {
28
+ control: "text";
29
+ };
52
30
  };
53
31
  render: (args: import("@storybook/vue3").ComponentPropsAndSlots<{
54
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
55
- resize?: boolean | undefined;
56
- placement?: import("@floating-ui/vue").Placement | undefined;
57
- targetRef?: HTMLElement | undefined;
58
- isOpen?: boolean | undefined;
59
- teleport?: (boolean | string) | undefined;
60
- }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
32
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../ScalarFloating").ScalarFloatingOptions> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
61
33
  P: {};
62
34
  B: {};
63
35
  D: {};
64
36
  C: {};
65
37
  M: {};
66
38
  Defaults: {};
67
- }, Readonly<{
68
- resize?: boolean | undefined;
69
- placement?: import("@floating-ui/vue").Placement | undefined;
70
- targetRef?: HTMLElement | undefined;
71
- isOpen?: boolean | undefined;
72
- teleport?: (boolean | string) | undefined;
73
- }> & Readonly<{}>, {}, {}, {}, {}, {}>;
39
+ }, Readonly<import("../ScalarFloating").ScalarFloatingOptions> & Readonly<{}>, {}, {}, {}, {}, {}>;
74
40
  __isFragment?: never;
75
41
  __isTeleport?: never;
76
42
  __isSuspense?: never;
77
- } & import("vue").ComponentOptionsBase<Readonly<{
78
- resize?: boolean | undefined;
79
- placement?: import("@floating-ui/vue").Placement | undefined;
80
- targetRef?: HTMLElement | undefined;
81
- isOpen?: boolean | undefined;
82
- teleport?: (boolean | string) | undefined;
83
- }> & 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 () => {
84
- $slots: {
85
- default?(_: {
86
- open: any;
87
- }): any;
88
- popover?(_: {
89
- close: () => any;
90
- }): any;
91
- };
43
+ } & import("vue").ComponentOptionsBase<Readonly<import("../ScalarFloating").ScalarFloatingOptions> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
+ $slots: Readonly<import("./types").Slots> & import("./types").Slots;
92
45
  })>) => {
93
46
  components: {
94
47
  ScalarPopover: {
95
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
96
- resize?: boolean | undefined;
97
- placement?: import("@floating-ui/vue").Placement | undefined;
98
- targetRef?: HTMLElement | undefined;
99
- isOpen?: boolean | undefined;
100
- teleport?: (boolean | string) | undefined;
101
- }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
48
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../ScalarFloating").ScalarFloatingOptions> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
102
49
  P: {};
103
50
  B: {};
104
51
  D: {};
105
52
  C: {};
106
53
  M: {};
107
54
  Defaults: {};
108
- }, Readonly<{
109
- resize?: boolean | undefined;
110
- placement?: import("@floating-ui/vue").Placement | undefined;
111
- targetRef?: HTMLElement | undefined;
112
- isOpen?: boolean | undefined;
113
- teleport?: (boolean | string) | undefined;
114
- }> & Readonly<{}>, {}, {}, {}, {}, {}>;
55
+ }, Readonly<import("../ScalarFloating").ScalarFloatingOptions> & Readonly<{}>, {}, {}, {}, {}, {}>;
115
56
  __isFragment?: never;
116
57
  __isTeleport?: never;
117
58
  __isSuspense?: never;
118
- } & import("vue").ComponentOptionsBase<Readonly<{
119
- resize?: boolean | undefined;
120
- placement?: import("@floating-ui/vue").Placement | undefined;
121
- targetRef?: HTMLElement | undefined;
122
- isOpen?: boolean | undefined;
123
- teleport?: (boolean | string) | undefined;
124
- }> & 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 () => {
125
- $slots: {
126
- default?(_: {
127
- open: any;
128
- }): any;
129
- popover?(_: {
130
- close: () => any;
131
- }): any;
132
- };
59
+ } & import("vue").ComponentOptionsBase<Readonly<import("../ScalarFloating").ScalarFloatingOptions> & 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 () => {
60
+ $slots: Readonly<import("./types").Slots> & import("./types").Slots;
133
61
  });
134
62
  ScalarButton: {
135
63
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
@@ -189,44 +117,19 @@ declare const meta: {
189
117
  };
190
118
  setup(this: void): {
191
119
  args: import("@storybook/vue3").ComponentPropsAndSlots<{
192
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
193
- resize?: boolean | undefined;
194
- placement?: import("@floating-ui/vue").Placement | undefined;
195
- targetRef?: HTMLElement | undefined;
196
- isOpen?: boolean | undefined;
197
- teleport?: (boolean | string) | undefined;
198
- }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
120
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../ScalarFloating").ScalarFloatingOptions> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
199
121
  P: {};
200
122
  B: {};
201
123
  D: {};
202
124
  C: {};
203
125
  M: {};
204
126
  Defaults: {};
205
- }, Readonly<{
206
- resize?: boolean | undefined;
207
- placement?: import("@floating-ui/vue").Placement | undefined;
208
- targetRef?: HTMLElement | undefined;
209
- isOpen?: boolean | undefined;
210
- teleport?: (boolean | string) | undefined;
211
- }> & Readonly<{}>, {}, {}, {}, {}, {}>;
127
+ }, Readonly<import("../ScalarFloating").ScalarFloatingOptions> & Readonly<{}>, {}, {}, {}, {}, {}>;
212
128
  __isFragment?: never;
213
129
  __isTeleport?: never;
214
130
  __isSuspense?: never;
215
- } & import("vue").ComponentOptionsBase<Readonly<{
216
- resize?: boolean | undefined;
217
- placement?: import("@floating-ui/vue").Placement | undefined;
218
- targetRef?: HTMLElement | undefined;
219
- isOpen?: boolean | undefined;
220
- teleport?: (boolean | string) | undefined;
221
- }> & 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 () => {
222
- $slots: {
223
- default?(_: {
224
- open: any;
225
- }): any;
226
- popover?(_: {
227
- close: () => any;
228
- }): any;
229
- };
131
+ } & import("vue").ComponentOptionsBase<Readonly<import("../ScalarFloating").ScalarFloatingOptions> & 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 () => {
132
+ $slots: Readonly<import("./types").Slots> & import("./types").Slots;
230
133
  })>;
231
134
  };
232
135
  template: string;
@@ -235,4 +138,5 @@ declare const meta: {
235
138
  export default meta;
236
139
  type Story = StoryObj<typeof meta>;
237
140
  export declare const Base: Story;
141
+ export declare const CustomClasses: Story;
238
142
  //# sourceMappingURL=ScalarPopover.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarPopover.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarPopover/ScalarPopover.stories.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAKrD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiC4B,CAAA;AAEtC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAAU,CAAA"}
1
+ {"version":3,"file":"ScalarPopover.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarPopover/ScalarPopover.stories.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAKrD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoC4B,CAAA;AAEtC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAAU,CAAA;AAE7B,eAAO,MAAM,aAAa,EAAE,KAE3B,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarPopover.test.d.ts.map