@scalar/components 0.20.9 → 0.20.11

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 (414) hide show
  1. package/dist/components/ScalarButton/index.d.ts +1 -1
  2. package/dist/components/ScalarCard/index.d.ts +4 -4
  3. package/dist/components/ScalarCheckboxInput/index.d.ts +4 -4
  4. package/dist/components/ScalarCodeBlock/index.d.ts +2 -2
  5. package/dist/components/ScalarColorModeToggle/index.d.ts +3 -3
  6. package/dist/components/ScalarCombobox/ScalarCombobox.vue.d.ts +1 -1
  7. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue.d.ts +1 -1
  8. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.d.ts +1 -1
  9. package/dist/components/ScalarCombobox/index.d.ts +3 -3
  10. package/dist/components/ScalarContextMenu/index.d.ts +1 -1
  11. package/dist/components/ScalarCopy/index.d.ts +3 -3
  12. package/dist/components/ScalarDropdown/index.d.ts +5 -5
  13. package/dist/components/ScalarErrorBoundary/index.d.ts +1 -1
  14. package/dist/components/ScalarFileUpload/ScalarFileUpload.vue.d.ts +1 -1
  15. package/dist/components/ScalarFileUpload/ScalarFileUploadInput.vue.d.ts +1 -1
  16. package/dist/components/ScalarFileUpload/ScalarFileUploadInputCompact.vue.d.ts +1 -1
  17. package/dist/components/ScalarFileUpload/index.d.ts +7 -7
  18. package/dist/components/ScalarFloating/index.d.ts +2 -2
  19. package/dist/components/ScalarForm/index.d.ts +6 -6
  20. package/dist/components/ScalarHeader/index.d.ts +2 -2
  21. package/dist/components/ScalarHotkey/index.d.ts +2 -2
  22. package/dist/components/ScalarIcon/ScalarIconLegacyAdapter.vue.d.ts +1 -1
  23. package/dist/components/ScalarIcon/index.d.ts +3 -3
  24. package/dist/components/ScalarIcon/types.d.ts +2 -2
  25. package/dist/components/ScalarIconButton/index.d.ts +1 -1
  26. package/dist/components/ScalarListbox/index.d.ts +4 -4
  27. package/dist/components/ScalarLoading/index.d.ts +2 -2
  28. package/dist/components/ScalarMarkdown/index.d.ts +2 -2
  29. package/dist/components/ScalarMenu/ScalarMenuProduct.vue.d.ts +1 -1
  30. package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue.d.ts +1 -1
  31. package/dist/components/ScalarMenu/index.d.ts +11 -11
  32. package/dist/components/ScalarMenu/types.d.ts +1 -1
  33. package/dist/components/ScalarModal/index.d.ts +1 -1
  34. package/dist/components/ScalarPopover/index.d.ts +1 -1
  35. package/dist/components/ScalarSearchInput/index.d.ts +1 -1
  36. package/dist/components/ScalarSearchResults/index.d.ts +2 -2
  37. package/dist/components/ScalarSidebar/ScalarSidebarIndent.vue.d.ts +1 -1
  38. package/dist/components/ScalarSidebar/ScalarSidebarSpacer.vue.d.ts +1 -1
  39. package/dist/components/ScalarSidebar/index.d.ts +13 -13
  40. package/dist/components/ScalarSidebar/types.d.ts +1 -1
  41. package/dist/components/ScalarTeleport/index.d.ts +3 -3
  42. package/dist/components/ScalarTextArea/index.d.ts +1 -1
  43. package/dist/components/ScalarTextInput/index.d.ts +2 -2
  44. package/dist/components/ScalarThemeSwatches/index.d.ts +2 -2
  45. package/dist/components/ScalarToggle/index.d.ts +3 -3
  46. package/dist/components/ScalarTooltip/index.d.ts +3 -3
  47. package/dist/components/ScalarVirtualText/index.d.ts +1 -1
  48. package/dist/components/ScalarWrappingText/index.d.ts +1 -1
  49. package/dist/components/ScalarWrappingText/types.d.ts +1 -1
  50. package/dist/helpers/index.d.ts +1 -1
  51. package/dist/index.js +7820 -222
  52. package/dist/index.js.map +1 -0
  53. package/dist/style.css +4425 -1
  54. package/package.json +18 -24
  55. package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
  56. package/dist/components/ScalarButton/ScalarButton.vue.js +0 -99
  57. package/dist/components/ScalarButton/ScalarButton.vue2.js +0 -4
  58. package/dist/components/ScalarButton/constants.js +0 -18
  59. package/dist/components/ScalarCard/ScalarCard.vue.js +0 -25
  60. package/dist/components/ScalarCard/ScalarCard.vue2.js +0 -4
  61. package/dist/components/ScalarCard/ScalarCardFooter.vue.js +0 -20
  62. package/dist/components/ScalarCard/ScalarCardFooter.vue2.js +0 -4
  63. package/dist/components/ScalarCard/ScalarCardHeader.vue.js +0 -36
  64. package/dist/components/ScalarCard/ScalarCardHeader.vue2.js +0 -4
  65. package/dist/components/ScalarCard/ScalarCardSection.vue.js +0 -16
  66. package/dist/components/ScalarCard/ScalarCardSection.vue2.js +0 -4
  67. package/dist/components/ScalarCard/useCardHeading.js +0 -15
  68. package/dist/components/ScalarCheckboxInput/ScalarCheckbox.vue.js +0 -27
  69. package/dist/components/ScalarCheckboxInput/ScalarCheckbox.vue2.js +0 -4
  70. package/dist/components/ScalarCheckboxInput/ScalarCheckboxGroup.vue.js +0 -37
  71. package/dist/components/ScalarCheckboxInput/ScalarCheckboxGroup.vue2.js +0 -4
  72. package/dist/components/ScalarCheckboxInput/ScalarCheckboxInput.vue.js +0 -45
  73. package/dist/components/ScalarCheckboxInput/ScalarCheckboxInput.vue2.js +0 -4
  74. package/dist/components/ScalarCheckboxInput/ScalarCheckboxRadioGroup.vue.js +0 -38
  75. package/dist/components/ScalarCheckboxInput/ScalarCheckboxRadioGroup.vue2.js +0 -4
  76. package/dist/components/ScalarCodeBlock/ScalarCodeBlock.vue.js +0 -69
  77. package/dist/components/ScalarCodeBlock/ScalarCodeBlock.vue3.js +0 -5
  78. package/dist/components/ScalarCodeBlock/ScalarCodeBlockCopy.vue.js +0 -57
  79. package/dist/components/ScalarCodeBlock/ScalarCodeBlockCopy.vue2.js +0 -4
  80. package/dist/components/ScalarCodeBlock/constants.js +0 -54
  81. package/dist/components/ScalarColorModeToggle/ScalarColorModeToggle.vue.js +0 -30
  82. package/dist/components/ScalarColorModeToggle/ScalarColorModeToggle.vue2.js +0 -4
  83. package/dist/components/ScalarColorModeToggle/ScalarColorModeToggleButton.vue.js +0 -41
  84. package/dist/components/ScalarColorModeToggle/ScalarColorModeToggleButton.vue2.js +0 -4
  85. package/dist/components/ScalarColorModeToggle/ScalarColorModeToggleIcon.vue.js +0 -7
  86. package/dist/components/ScalarColorModeToggle/ScalarColorModeToggleIcon.vue2.js +0 -35
  87. package/dist/components/ScalarCombobox/ScalarCombobox.vue.js +0 -71
  88. package/dist/components/ScalarCombobox/ScalarCombobox.vue2.js +0 -4
  89. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue.js +0 -75
  90. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue2.js +0 -4
  91. package/dist/components/ScalarCombobox/ScalarComboboxOption.vue.js +0 -41
  92. package/dist/components/ScalarCombobox/ScalarComboboxOption.vue2.js +0 -4
  93. package/dist/components/ScalarCombobox/ScalarComboboxOptionGroup.vue.js +0 -28
  94. package/dist/components/ScalarCombobox/ScalarComboboxOptionGroup.vue2.js +0 -4
  95. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.js +0 -181
  96. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue2.js +0 -4
  97. package/dist/components/ScalarCombobox/ScalarComboboxPopover.vue.js +0 -68
  98. package/dist/components/ScalarCombobox/ScalarComboboxPopover.vue2.js +0 -4
  99. package/dist/components/ScalarCombobox/types.js +0 -9
  100. package/dist/components/ScalarContextMenu/ScalarContextMenu.vue.js +0 -52
  101. package/dist/components/ScalarContextMenu/ScalarContextMenu.vue2.js +0 -4
  102. package/dist/components/ScalarCopy/ScalarCopy.vue.js +0 -59
  103. package/dist/components/ScalarCopy/ScalarCopy.vue2.js +0 -4
  104. package/dist/components/ScalarCopy/ScalarCopyBackdrop.vue.js +0 -14
  105. package/dist/components/ScalarCopy/ScalarCopyBackdrop.vue2.js +0 -4
  106. package/dist/components/ScalarCopy/ScalarCopyButton.vue.js +0 -108
  107. package/dist/components/ScalarCopy/ScalarCopyButton.vue2.js +0 -4
  108. package/dist/components/ScalarDropdown/ScalarDropdown.vue.js +0 -132
  109. package/dist/components/ScalarDropdown/ScalarDropdown.vue2.js +0 -4
  110. package/dist/components/ScalarDropdown/ScalarDropdownButton.vue.js +0 -7
  111. package/dist/components/ScalarDropdown/ScalarDropdownButton.vue2.js +0 -41
  112. package/dist/components/ScalarDropdown/ScalarDropdownDivider.vue.js +0 -11
  113. package/dist/components/ScalarDropdown/ScalarDropdownDivider.vue2.js +0 -4
  114. package/dist/components/ScalarDropdown/ScalarDropdownItem.vue.js +0 -7
  115. package/dist/components/ScalarDropdown/ScalarDropdownItem.vue2.js +0 -32
  116. package/dist/components/ScalarDropdown/ScalarDropdownMenu.vue.js +0 -32
  117. package/dist/components/ScalarDropdown/ScalarDropdownMenu.vue2.js +0 -4
  118. package/dist/components/ScalarDropdown/useDropdown.js +0 -14
  119. package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.vue.js +0 -20
  120. package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.vue2.js +0 -4
  121. package/dist/components/ScalarFileUpload/ScalarFileUpload.vue.js +0 -124
  122. package/dist/components/ScalarFileUpload/ScalarFileUpload.vue2.js +0 -4
  123. package/dist/components/ScalarFileUpload/ScalarFileUploadDropTarget.vue.js +0 -28
  124. package/dist/components/ScalarFileUpload/ScalarFileUploadDropTarget.vue2.js +0 -4
  125. package/dist/components/ScalarFileUpload/ScalarFileUploadError.vue.js +0 -18
  126. package/dist/components/ScalarFileUpload/ScalarFileUploadError.vue2.js +0 -4
  127. package/dist/components/ScalarFileUpload/ScalarFileUploadFileList.vue.js +0 -55
  128. package/dist/components/ScalarFileUpload/ScalarFileUploadFileList.vue2.js +0 -4
  129. package/dist/components/ScalarFileUpload/ScalarFileUploadInput.vue.js +0 -49
  130. package/dist/components/ScalarFileUpload/ScalarFileUploadInput.vue2.js +0 -4
  131. package/dist/components/ScalarFileUpload/ScalarFileUploadInputCompact.vue.js +0 -41
  132. package/dist/components/ScalarFileUpload/ScalarFileUploadInputCompact.vue2.js +0 -4
  133. package/dist/components/ScalarFileUpload/ScalarFileUploadLoading.vue.js +0 -27
  134. package/dist/components/ScalarFileUpload/ScalarFileUploadLoading.vue2.js +0 -4
  135. package/dist/components/ScalarFileUpload/types.js +0 -6
  136. package/dist/components/ScalarFloating/ScalarFloating.vue.js +0 -91
  137. package/dist/components/ScalarFloating/ScalarFloating.vue2.js +0 -4
  138. package/dist/components/ScalarFloating/ScalarFloatingBackdrop.vue.js +0 -18
  139. package/dist/components/ScalarFloating/ScalarFloatingBackdrop.vue2.js +0 -4
  140. package/dist/components/ScalarFloating/useResizeWithTarget.js +0 -19
  141. package/dist/components/ScalarForm/ScalarForm.vue.js +0 -19
  142. package/dist/components/ScalarForm/ScalarForm.vue2.js +0 -4
  143. package/dist/components/ScalarForm/ScalarFormError.vue.js +0 -32
  144. package/dist/components/ScalarForm/ScalarFormError.vue2.js +0 -4
  145. package/dist/components/ScalarForm/ScalarFormField.vue.js +0 -34
  146. package/dist/components/ScalarForm/ScalarFormField.vue2.js +0 -4
  147. package/dist/components/ScalarForm/ScalarFormInput.vue.js +0 -39
  148. package/dist/components/ScalarForm/ScalarFormInput.vue2.js +0 -4
  149. package/dist/components/ScalarForm/ScalarFormInputGroup.vue.js +0 -23
  150. package/dist/components/ScalarForm/ScalarFormInputGroup.vue2.js +0 -4
  151. package/dist/components/ScalarForm/ScalarFormSection.vue.js +0 -18
  152. package/dist/components/ScalarForm/ScalarFormSection.vue2.js +0 -4
  153. package/dist/components/ScalarForm/useFormGroups.js +0 -8
  154. package/dist/components/ScalarHeader/ScalarHeader.vue.js +0 -28
  155. package/dist/components/ScalarHeader/ScalarHeader.vue2.js +0 -4
  156. package/dist/components/ScalarHeader/ScalarHeaderButton.vue.js +0 -33
  157. package/dist/components/ScalarHeader/ScalarHeaderButton.vue2.js +0 -4
  158. package/dist/components/ScalarHotkey/ScalarHotkey.vue.js +0 -30
  159. package/dist/components/ScalarHotkey/ScalarHotkey.vue2.js +0 -4
  160. package/dist/components/ScalarHotkey/constants.js +0 -29
  161. package/dist/components/ScalarHotkey/formatHotkey.js +0 -20
  162. package/dist/components/ScalarIcon/ScalarIcon.vue.js +0 -7
  163. package/dist/components/ScalarIcon/ScalarIcon.vue2.js +0 -39
  164. package/dist/components/ScalarIcon/ScalarIconLegacyAdapter.vue.js +0 -28
  165. package/dist/components/ScalarIcon/ScalarIconLegacyAdapter.vue2.js +0 -4
  166. package/dist/components/ScalarIcon/icons/Add.svg.js +0 -21
  167. package/dist/components/ScalarIcon/icons/AddTab.svg.js +0 -21
  168. package/dist/components/ScalarIcon/icons/Alert.svg.js +0 -21
  169. package/dist/components/ScalarIcon/icons/ArrowLeft.svg.js +0 -21
  170. package/dist/components/ScalarIcon/icons/ArrowRight.svg.js +0 -21
  171. package/dist/components/ScalarIcon/icons/Brackets.svg.js +0 -21
  172. package/dist/components/ScalarIcon/icons/Branch.svg.js +0 -34
  173. package/dist/components/ScalarIcon/icons/Changelog.svg.js +0 -21
  174. package/dist/components/ScalarIcon/icons/Checkmark.svg.js +0 -21
  175. package/dist/components/ScalarIcon/icons/ChevronDown.svg.js +0 -21
  176. package/dist/components/ScalarIcon/icons/ChevronLeft.svg.js +0 -21
  177. package/dist/components/ScalarIcon/icons/ChevronRight.svg.js +0 -21
  178. package/dist/components/ScalarIcon/icons/ChevronUp.svg.js +0 -21
  179. package/dist/components/ScalarIcon/icons/Clipboard.svg.js +0 -21
  180. package/dist/components/ScalarIcon/icons/Close.svg.js +0 -21
  181. package/dist/components/ScalarIcon/icons/CloseTab.svg.js +0 -21
  182. package/dist/components/ScalarIcon/icons/CloseTabs.svg.js +0 -21
  183. package/dist/components/ScalarIcon/icons/Cloud.svg.js +0 -19
  184. package/dist/components/ScalarIcon/icons/CodeFolder.svg.js +0 -28
  185. package/dist/components/ScalarIcon/icons/Cog.svg.js +0 -20
  186. package/dist/components/ScalarIcon/icons/Collection.svg.js +0 -21
  187. package/dist/components/ScalarIcon/icons/Cookie.svg.js +0 -25
  188. package/dist/components/ScalarIcon/icons/DarkMode.svg.js +0 -19
  189. package/dist/components/ScalarIcon/icons/Delete.svg.js +0 -21
  190. package/dist/components/ScalarIcon/icons/Discord.svg.js +0 -20
  191. package/dist/components/ScalarIcon/icons/DocsPage.svg.js +0 -28
  192. package/dist/components/ScalarIcon/icons/Download.svg.js +0 -19
  193. package/dist/components/ScalarIcon/icons/Duplicate.svg.js +0 -27
  194. package/dist/components/ScalarIcon/icons/Edit.svg.js +0 -21
  195. package/dist/components/ScalarIcon/icons/Ellipses.svg.js +0 -19
  196. package/dist/components/ScalarIcon/icons/Email.svg.js +0 -20
  197. package/dist/components/ScalarIcon/icons/Error.svg.js +0 -20
  198. package/dist/components/ScalarIcon/icons/Example.svg.js +0 -21
  199. package/dist/components/ScalarIcon/icons/ExternalLink.svg.js +0 -21
  200. package/dist/components/ScalarIcon/icons/FilterList.svg.js +0 -21
  201. package/dist/components/ScalarIcon/icons/Folder.svg.js +0 -21
  202. package/dist/components/ScalarIcon/icons/GitHub.svg.js +0 -16
  203. package/dist/components/ScalarIcon/icons/GitHubLine.svg.js +0 -19
  204. package/dist/components/ScalarIcon/icons/Globe.svg.js +0 -21
  205. package/dist/components/ScalarIcon/icons/Google.svg.js +0 -16
  206. package/dist/components/ScalarIcon/icons/Help.svg.js +0 -20
  207. package/dist/components/ScalarIcon/icons/Hide.svg.js +0 -21
  208. package/dist/components/ScalarIcon/icons/History.svg.js +0 -20
  209. package/dist/components/ScalarIcon/icons/House.svg.js +0 -19
  210. package/dist/components/ScalarIcon/icons/Import.svg.js +0 -21
  211. package/dist/components/ScalarIcon/icons/Info.svg.js +0 -33
  212. package/dist/components/ScalarIcon/icons/Key.svg.js +0 -20
  213. package/dist/components/ScalarIcon/icons/Leave.svg.js +0 -19
  214. package/dist/components/ScalarIcon/icons/LightDarkModeToggle.svg.js +0 -21
  215. package/dist/components/ScalarIcon/icons/LightMode.svg.js +0 -21
  216. package/dist/components/ScalarIcon/icons/Link.svg.js +0 -19
  217. package/dist/components/ScalarIcon/icons/Lock.svg.js +0 -20
  218. package/dist/components/ScalarIcon/icons/Logo.svg.js +0 -19
  219. package/dist/components/ScalarIcon/icons/Magic.svg.js +0 -21
  220. package/dist/components/ScalarIcon/icons/Markdown.svg.js +0 -19
  221. package/dist/components/ScalarIcon/icons/Menu.svg.js +0 -21
  222. package/dist/components/ScalarIcon/icons/NotAllowed.svg.js +0 -21
  223. package/dist/components/ScalarIcon/icons/Page.svg.js +0 -20
  224. package/dist/components/ScalarIcon/icons/Pencil.svg.js +0 -19
  225. package/dist/components/ScalarIcon/icons/Play.svg.js +0 -19
  226. package/dist/components/ScalarIcon/icons/Refresh.svg.js +0 -21
  227. package/dist/components/ScalarIcon/icons/Roadmap.svg.js +0 -19
  228. package/dist/components/ScalarIcon/icons/Scribble.svg.js +0 -21
  229. package/dist/components/ScalarIcon/icons/Search.svg.js +0 -21
  230. package/dist/components/ScalarIcon/icons/Server.svg.js +0 -31
  231. package/dist/components/ScalarIcon/icons/Settings.svg.js +0 -21
  232. package/dist/components/ScalarIcon/icons/Show.svg.js +0 -27
  233. package/dist/components/ScalarIcon/icons/Sort.svg.js +0 -21
  234. package/dist/components/ScalarIcon/icons/Terminal.svg.js +0 -28
  235. package/dist/components/ScalarIcon/icons/Trash.svg.js +0 -21
  236. package/dist/components/ScalarIcon/icons/Unlock.svg.js +0 -20
  237. package/dist/components/ScalarIcon/icons/Unwatch.svg.js +0 -21
  238. package/dist/components/ScalarIcon/icons/Upload.svg.js +0 -21
  239. package/dist/components/ScalarIcon/icons/User.svg.js +0 -24
  240. package/dist/components/ScalarIcon/icons/UserSwitch.svg.js +0 -20
  241. package/dist/components/ScalarIcon/icons/Users.svg.js +0 -19
  242. package/dist/components/ScalarIcon/icons/Versions.svg.js +0 -21
  243. package/dist/components/ScalarIcon/icons/Wallet.svg.js +0 -20
  244. package/dist/components/ScalarIcon/icons/Watch.svg.js +0 -21
  245. package/dist/components/ScalarIcon/icons/Workspace.svg.js +0 -19
  246. package/dist/components/ScalarIcon/icons/programming-framework-angular.svg.js +0 -16
  247. package/dist/components/ScalarIcon/icons/programming-framework-astro.svg.js +0 -16
  248. package/dist/components/ScalarIcon/icons/programming-framework-laravel.svg.js +0 -21
  249. package/dist/components/ScalarIcon/icons/programming-framework-nextdotjs.svg.js +0 -16
  250. package/dist/components/ScalarIcon/icons/programming-framework-react.svg.js +0 -16
  251. package/dist/components/ScalarIcon/icons/programming-framework-vuedotjs.svg.js +0 -17
  252. package/dist/components/ScalarIcon/icons/programming-language-c.svg.js +0 -16
  253. package/dist/components/ScalarIcon/icons/programming-language-clojure.svg.js +0 -16
  254. package/dist/components/ScalarIcon/icons/programming-language-csharp.svg.js +0 -16
  255. package/dist/components/ScalarIcon/icons/programming-language-css3.svg.js +0 -16
  256. package/dist/components/ScalarIcon/icons/programming-language-dart.svg.js +0 -16
  257. package/dist/components/ScalarIcon/icons/programming-language-fsharp.svg.js +0 -16
  258. package/dist/components/ScalarIcon/icons/programming-language-go.svg.js +0 -16
  259. package/dist/components/ScalarIcon/icons/programming-language-html5.svg.js +0 -16
  260. package/dist/components/ScalarIcon/icons/programming-language-http.svg.js +0 -16
  261. package/dist/components/ScalarIcon/icons/programming-language-java.svg.js +0 -18
  262. package/dist/components/ScalarIcon/icons/programming-language-javascript.svg.js +0 -16
  263. package/dist/components/ScalarIcon/icons/programming-language-json.svg.js +0 -17
  264. package/dist/components/ScalarIcon/icons/programming-language-kotlin.svg.js +0 -16
  265. package/dist/components/ScalarIcon/icons/programming-language-node.svg.js +0 -17
  266. package/dist/components/ScalarIcon/icons/programming-language-objc.svg.js +0 -17
  267. package/dist/components/ScalarIcon/icons/programming-language-ocaml.svg.js +0 -16
  268. package/dist/components/ScalarIcon/icons/programming-language-php.svg.js +0 -16
  269. package/dist/components/ScalarIcon/icons/programming-language-powershell.svg.js +0 -20
  270. package/dist/components/ScalarIcon/icons/programming-language-python.svg.js +0 -16
  271. package/dist/components/ScalarIcon/icons/programming-language-r.svg.js +0 -20
  272. package/dist/components/ScalarIcon/icons/programming-language-ruby.svg.js +0 -16
  273. package/dist/components/ScalarIcon/icons/programming-language-rust.svg.js +0 -19
  274. package/dist/components/ScalarIcon/icons/programming-language-scala.svg.js +0 -16
  275. package/dist/components/ScalarIcon/icons/programming-language-shell.svg.js +0 -16
  276. package/dist/components/ScalarIcon/icons/programming-language-swift.svg.js +0 -16
  277. package/dist/components/ScalarIcon/icons/programming-language-typescript.svg.js +0 -16
  278. package/dist/components/ScalarIcon/icons/programming-script-code.svg.js +0 -21
  279. package/dist/components/ScalarIcon/icons/programming-tool-git.svg.js +0 -16
  280. package/dist/components/ScalarIcon/icons/programming-tool-tailwindcss.svg.js +0 -16
  281. package/dist/components/ScalarIcon/logos/Adonisjs.svg.js +0 -21
  282. package/dist/components/ScalarIcon/logos/Astro.svg.js +0 -14
  283. package/dist/components/ScalarIcon/logos/Docusaurus.svg.js +0 -16
  284. package/dist/components/ScalarIcon/logos/Dotnet.svg.js +0 -23
  285. package/dist/components/ScalarIcon/logos/Elysiajs.svg.js +0 -16
  286. package/dist/components/ScalarIcon/logos/Express.svg.js +0 -19
  287. package/dist/components/ScalarIcon/logos/Fastapi.svg.js +0 -19
  288. package/dist/components/ScalarIcon/logos/Fastify.svg.js +0 -19
  289. package/dist/components/ScalarIcon/logos/Go.svg.js +0 -23
  290. package/dist/components/ScalarIcon/logos/Hono.svg.js +0 -24
  291. package/dist/components/ScalarIcon/logos/Laravel.svg.js +0 -19
  292. package/dist/components/ScalarIcon/logos/Litestar.svg.js +0 -16
  293. package/dist/components/ScalarIcon/logos/Nestjs.svg.js +0 -21
  294. package/dist/components/ScalarIcon/logos/Nextjs.svg.js +0 -19
  295. package/dist/components/ScalarIcon/logos/Nitro.svg.js +0 -16
  296. package/dist/components/ScalarIcon/logos/Nuxt.svg.js +0 -19
  297. package/dist/components/ScalarIcon/logos/Openapi.svg.js +0 -16
  298. package/dist/components/ScalarIcon/logos/Platformatic.svg.js +0 -28
  299. package/dist/components/ScalarIcon/logos/React.svg.js +0 -34
  300. package/dist/components/ScalarIcon/logos/Rust.svg.js +0 -19
  301. package/dist/components/ScalarIcon/logos/Svelte.svg.js +0 -23
  302. package/dist/components/ScalarIcon/logos/Vue.svg.js +0 -23
  303. package/dist/components/ScalarIcon/utils/index.js +0 -287
  304. package/dist/components/ScalarIcon/variants.js +0 -21
  305. package/dist/components/ScalarIconButton/ScalarIconButton.vue.js +0 -71
  306. package/dist/components/ScalarIconButton/ScalarIconButton.vue2.js +0 -4
  307. package/dist/components/ScalarListbox/ScalarListbox.vue.js +0 -89
  308. package/dist/components/ScalarListbox/ScalarListbox.vue2.js +0 -4
  309. package/dist/components/ScalarListbox/ScalarListboxCheckbox.vue.js +0 -26
  310. package/dist/components/ScalarListbox/ScalarListboxCheckbox.vue2.js +0 -4
  311. package/dist/components/ScalarListbox/ScalarListboxInput.vue.js +0 -26
  312. package/dist/components/ScalarListbox/ScalarListboxInput.vue2.js +0 -4
  313. package/dist/components/ScalarListbox/ScalarListboxItem.vue.js +0 -52
  314. package/dist/components/ScalarListbox/ScalarListboxItem.vue2.js +0 -4
  315. package/dist/components/ScalarLoading/ScalarLoading.vue.js +0 -7
  316. package/dist/components/ScalarLoading/ScalarLoading.vue2.js +0 -58
  317. package/dist/components/ScalarLoading/useLoadingState.js +0 -39
  318. package/dist/components/ScalarMarkdown/ScalarMarkdown.vue.js +0 -43
  319. package/dist/components/ScalarMarkdown/ScalarMarkdown.vue3.js +0 -5
  320. package/dist/components/ScalarMarkdown/ScalarMarkdownSummary.vue.js +0 -61
  321. package/dist/components/ScalarMarkdown/ScalarMarkdownSummary.vue3.js +0 -5
  322. package/dist/components/ScalarMenu/ScalarMenu.vue.js +0 -70
  323. package/dist/components/ScalarMenu/ScalarMenu.vue2.js +0 -4
  324. package/dist/components/ScalarMenu/ScalarMenuButton.vue.js +0 -34
  325. package/dist/components/ScalarMenu/ScalarMenuButton.vue2.js +0 -4
  326. package/dist/components/ScalarMenu/ScalarMenuLink.vue.js +0 -46
  327. package/dist/components/ScalarMenu/ScalarMenuLink.vue2.js +0 -4
  328. package/dist/components/ScalarMenu/ScalarMenuProduct.vue.js +0 -37
  329. package/dist/components/ScalarMenu/ScalarMenuProduct.vue2.js +0 -4
  330. package/dist/components/ScalarMenu/ScalarMenuProducts.vue.js +0 -67
  331. package/dist/components/ScalarMenu/ScalarMenuProducts.vue2.js +0 -4
  332. package/dist/components/ScalarMenu/ScalarMenuResources.vue.js +0 -50
  333. package/dist/components/ScalarMenu/ScalarMenuResources.vue2.js +0 -4
  334. package/dist/components/ScalarMenu/ScalarMenuSection.vue.js +0 -15
  335. package/dist/components/ScalarMenu/ScalarMenuSection.vue2.js +0 -4
  336. package/dist/components/ScalarMenu/ScalarMenuSupport.vue.js +0 -40
  337. package/dist/components/ScalarMenu/ScalarMenuSupport.vue2.js +0 -4
  338. package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue.js +0 -103
  339. package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue2.js +0 -4
  340. package/dist/components/ScalarMenu/ScalarMenuTeamProfile.vue.js +0 -41
  341. package/dist/components/ScalarMenu/ScalarMenuTeamProfile.vue2.js +0 -4
  342. package/dist/components/ScalarMenu/ScalarMenuWorkspacePicker.vue.js +0 -109
  343. package/dist/components/ScalarMenu/ScalarMenuWorkspacePicker.vue2.js +0 -4
  344. package/dist/components/ScalarModal/ScalarModal.vue.js +0 -9
  345. package/dist/components/ScalarModal/ScalarModal.vue2.js +0 -136
  346. package/dist/components/ScalarPopover/ScalarPopover.vue.js +0 -57
  347. package/dist/components/ScalarPopover/ScalarPopover.vue2.js +0 -4
  348. package/dist/components/ScalarSearchInput/ScalarSearchInput.vue.js +0 -65
  349. package/dist/components/ScalarSearchInput/ScalarSearchInput.vue2.js +0 -4
  350. package/dist/components/ScalarSearchResults/ScalarSearchResultItem.vue.js +0 -61
  351. package/dist/components/ScalarSearchResults/ScalarSearchResultItem.vue2.js +0 -4
  352. package/dist/components/ScalarSearchResults/ScalarSearchResultList.vue.js +0 -26
  353. package/dist/components/ScalarSearchResults/ScalarSearchResultList.vue2.js +0 -4
  354. package/dist/components/ScalarSidebar/ScalarSidebar.vue.js +0 -18
  355. package/dist/components/ScalarSidebar/ScalarSidebar.vue2.js +0 -4
  356. package/dist/components/ScalarSidebar/ScalarSidebarButton.vue.js +0 -81
  357. package/dist/components/ScalarSidebar/ScalarSidebarButton.vue2.js +0 -4
  358. package/dist/components/ScalarSidebar/ScalarSidebarFooter.vue.js +0 -31
  359. package/dist/components/ScalarSidebar/ScalarSidebarFooter.vue2.js +0 -4
  360. package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue.js +0 -120
  361. package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue2.js +0 -4
  362. package/dist/components/ScalarSidebar/ScalarSidebarGroupToggle.vue.js +0 -46
  363. package/dist/components/ScalarSidebar/ScalarSidebarGroupToggle.vue2.js +0 -4
  364. package/dist/components/ScalarSidebar/ScalarSidebarIndent.vue.js +0 -7
  365. package/dist/components/ScalarSidebar/ScalarSidebarIndent.vue2.js +0 -38
  366. package/dist/components/ScalarSidebar/ScalarSidebarItem.vue.js +0 -54
  367. package/dist/components/ScalarSidebar/ScalarSidebarItem.vue2.js +0 -4
  368. package/dist/components/ScalarSidebar/ScalarSidebarItems.vue.js +0 -28
  369. package/dist/components/ScalarSidebar/ScalarSidebarItems.vue3.js +0 -5
  370. package/dist/components/ScalarSidebar/ScalarSidebarNestedItems.vue.js +0 -126
  371. package/dist/components/ScalarSidebar/ScalarSidebarNestedItems.vue2.js +0 -4
  372. package/dist/components/ScalarSidebar/ScalarSidebarSearchButton.vue.js +0 -39
  373. package/dist/components/ScalarSidebar/ScalarSidebarSearchButton.vue2.js +0 -4
  374. package/dist/components/ScalarSidebar/ScalarSidebarSearchInput.vue.js +0 -66
  375. package/dist/components/ScalarSidebar/ScalarSidebarSearchInput.vue2.js +0 -4
  376. package/dist/components/ScalarSidebar/ScalarSidebarSection.vue.js +0 -52
  377. package/dist/components/ScalarSidebar/ScalarSidebarSection.vue3.js +0 -5
  378. package/dist/components/ScalarSidebar/ScalarSidebarSpacer.vue.js +0 -20
  379. package/dist/components/ScalarSidebar/ScalarSidebarSpacer.vue2.js +0 -4
  380. package/dist/components/ScalarSidebar/findScrollContainer.js +0 -22
  381. package/dist/components/ScalarSidebar/useSidebarGroups.js +0 -9
  382. package/dist/components/ScalarSidebar/useSidebarNestedItems.js +0 -17
  383. package/dist/components/ScalarTeleport/ScalarTeleport.vue.js +0 -30
  384. package/dist/components/ScalarTeleport/ScalarTeleport.vue2.js +0 -4
  385. package/dist/components/ScalarTeleport/ScalarTeleportRoot.vue.js +0 -23
  386. package/dist/components/ScalarTeleport/ScalarTeleportRoot.vue2.js +0 -4
  387. package/dist/components/ScalarTeleport/useTeleport.js +0 -11
  388. package/dist/components/ScalarTextArea/ScalarTextArea.vue.js +0 -45
  389. package/dist/components/ScalarTextArea/ScalarTextArea.vue2.js +0 -4
  390. package/dist/components/ScalarTextInput/ScalarTextInput.vue.js +0 -76
  391. package/dist/components/ScalarTextInput/ScalarTextInput.vue2.js +0 -4
  392. package/dist/components/ScalarTextInput/ScalarTextInputCopy.vue.js +0 -68
  393. package/dist/components/ScalarTextInput/ScalarTextInputCopy.vue2.js +0 -4
  394. package/dist/components/ScalarThemeSwatches/ScalarThemeSwatches.vue.js +0 -35
  395. package/dist/components/ScalarThemeSwatches/ScalarThemeSwatches.vue2.js +0 -4
  396. package/dist/components/ScalarThemeSwatches/useThemeSwatches.js +0 -33
  397. package/dist/components/ScalarToggle/ScalarToggle.vue.js +0 -45
  398. package/dist/components/ScalarToggle/ScalarToggle.vue2.js +0 -4
  399. package/dist/components/ScalarToggle/ScalarToggleGroup.vue.js +0 -35
  400. package/dist/components/ScalarToggle/ScalarToggleGroup.vue2.js +0 -4
  401. package/dist/components/ScalarToggle/ScalarToggleInput.vue.js +0 -36
  402. package/dist/components/ScalarToggle/ScalarToggleInput.vue2.js +0 -4
  403. package/dist/components/ScalarTooltip/ScalarHotkeyTooltip.vue.js +0 -59
  404. package/dist/components/ScalarTooltip/ScalarHotkeyTooltip.vue2.js +0 -4
  405. package/dist/components/ScalarTooltip/ScalarTooltip.vue.js +0 -34
  406. package/dist/components/ScalarTooltip/ScalarTooltip.vue3.js +0 -5
  407. package/dist/components/ScalarTooltip/constants.js +0 -7
  408. package/dist/components/ScalarTooltip/useTooltip.js +0 -79
  409. package/dist/components/ScalarVirtualText/ScalarVirtualText.vue.js +0 -61
  410. package/dist/components/ScalarVirtualText/ScalarVirtualText.vue2.js +0 -4
  411. package/dist/components/ScalarWrappingText/ScalarWrappingText.vue.js +0 -25
  412. package/dist/components/ScalarWrappingText/ScalarWrappingText.vue2.js +0 -4
  413. package/dist/components/ScalarWrappingText/constants.js +0 -12
  414. package/dist/helpers/add-scalar-classes.js +0 -16
@@ -1,39 +0,0 @@
1
- import { defineComponent as u, createBlock as i, openBlock as a, resolveDynamicComponent as d, mergeProps as c, unref as e, withCtx as p, renderSlot as f } from "vue";
2
- import { useBindCx as l, cva as b } from "@scalar/use-hooks/useBindCx";
3
- import { useFormGroupInput as m } from "./useFormGroups.js";
4
- const h = {}, C = /* @__PURE__ */ u({
5
- ...h,
6
- inheritAttrs: !1,
7
- __name: "ScalarFormInput",
8
- props: {
9
- is: { default: "button" }
10
- },
11
- setup(t) {
12
- const { cx: o } = l(), r = m(), n = b({
13
- base: [
14
- // Layout
15
- "bg-b-1.5 flex items-center text-c-2 gap-0.75 p-3 text-base",
16
- //Focus
17
- "outline-offset-[-1px] has-[:focus-visible]:outline"
18
- ],
19
- variants: {
20
- grouped: {
21
- true: "first:rounded-t-[inherit] last:rounded-b-[inherit]",
22
- false: "rounded shadow-border"
23
- },
24
- button: { true: "cursor-pointer hover:bg-b-2" }
25
- }
26
- });
27
- return (s, x) => (a(), i(d(t.is), c({
28
- type: t.is === "button" ? "button" : void 0
29
- }, e(o)(e(n)({ button: t.is === "button", grouped: e(r) }))), {
30
- default: p(() => [
31
- f(s.$slots, "default")
32
- ]),
33
- _: 3
34
- }, 16, ["type"]));
35
- }
36
- });
37
- export {
38
- C as default
39
- };
@@ -1,4 +0,0 @@
1
- import f from "./ScalarFormInput.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1,23 +0,0 @@
1
- import { defineComponent as t, createBlock as n, openBlock as s, resolveDynamicComponent as a, normalizeProps as i, guardReactiveProps as l, unref as u, withCtx as d, renderSlot as p } from "vue";
2
- import { useBindCx as c } from "@scalar/use-hooks/useBindCx";
3
- import { useFormGroup as f } from "./useFormGroups.js";
4
- const m = {}, h = /* @__PURE__ */ t({
5
- ...m,
6
- inheritAttrs: !1,
7
- __name: "ScalarFormInputGroup",
8
- props: {
9
- is: { default: "div" }
10
- },
11
- setup(e) {
12
- const { cx: o } = c();
13
- return f(), (r, _) => (s(), n(a(e.is), i(l(u(o)("flex flex-col border rounded divide-y"))), {
14
- default: d(() => [
15
- p(r.$slots, "default")
16
- ]),
17
- _: 3
18
- }, 16));
19
- }
20
- });
21
- export {
22
- h as default
23
- };
@@ -1,4 +0,0 @@
1
- import f from "./ScalarFormInputGroup.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1,18 +0,0 @@
1
- import s from "./ScalarFormSection.vue2.js";
2
- import { createElementBlock as n, openBlock as c, createElementVNode as t, renderSlot as o } from "vue";
3
- import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const l = { class: "flex min-w-0 flex-col gap-3" }, a = { class: "contents" }, d = { class: "text-base font-medium text-c-1" };
5
- function f(e, i, m, p, _, u) {
6
- return c(), n("fieldset", l, [
7
- t("legend", a, [
8
- t("span", d, [
9
- o(e.$slots, "label")
10
- ])
11
- ]),
12
- o(e.$slots, "default")
13
- ]);
14
- }
15
- const S = /* @__PURE__ */ r(s, [["render", f]]);
16
- export {
17
- S as default
18
- };
@@ -1,4 +0,0 @@
1
- const a = {};
2
- export {
3
- a as default
4
- };
@@ -1,8 +0,0 @@
1
- import { provide as r, inject as t } from "vue";
2
- const o = /* @__PURE__ */ Symbol(), u = () => t(o, !1), n = () => {
3
- r(o, !0);
4
- };
5
- export {
6
- n as useFormGroup,
7
- u as useFormGroupInput
8
- };
@@ -1,28 +0,0 @@
1
- import { defineComponent as n, createElementBlock as o, openBlock as a, normalizeProps as i, guardReactiveProps as c, unref as d, createElementVNode as t, renderSlot as s } from "vue";
2
- import { useBindCx as l } from "@scalar/use-hooks/useBindCx";
3
- const m = { class: "justify-start" }, f = { class: "justify-center" }, _ = { class: "justify-end" }, p = {}, g = /* @__PURE__ */ n({
4
- ...p,
5
- __name: "ScalarHeader",
6
- setup(u) {
7
- const { cx: r } = l();
8
- return (e, h) => (a(), o("header", i(c(
9
- d(r)(
10
- "flex min-h-header items-center justify-between gap-2 bg-b-2 border-b px-2 text-sm min-w-min",
11
- "*:flex *:flex-1 *:items-center *:gap-px"
12
- )
13
- )), [
14
- t("div", m, [
15
- s(e.$slots, "start")
16
- ]),
17
- t("div", f, [
18
- s(e.$slots, "default")
19
- ]),
20
- t("div", _, [
21
- s(e.$slots, "end")
22
- ])
23
- ], 16));
24
- }
25
- });
26
- export {
27
- g as default
28
- };
@@ -1,4 +0,0 @@
1
- import f from "./ScalarHeader.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1,33 +0,0 @@
1
- import { defineComponent as a, createBlock as i, openBlock as s, resolveDynamicComponent as u, mergeProps as c, unref as t, withCtx as l, renderSlot as d } from "vue";
2
- import { cva as f, useBindCx as p } from "@scalar/use-hooks/useBindCx";
3
- const m = {}, x = /* @__PURE__ */ a({
4
- ...m,
5
- inheritAttrs: !1,
6
- __name: "ScalarHeaderButton",
7
- props: {
8
- is: { default: "button" },
9
- active: { type: Boolean }
10
- },
11
- setup(e) {
12
- const n = f({
13
- base: "group/button flex items-center rounded px-2.5 py-1.5 font-medium no-underline leading-5 ",
14
- variants: {
15
- active: {
16
- true: "bg-b-3 cursor-default",
17
- false: "bg-transparent hover:bg-b-3 cursor-pointer"
18
- }
19
- }
20
- }), { cx: o } = p();
21
- return (r, b) => (s(), i(u(e.is), c({
22
- type: e.is === "button" ? "button" : void 0
23
- }, t(o)(t(n)({ active: e.active }))), {
24
- default: l(() => [
25
- d(r.$slots, "default")
26
- ]),
27
- _: 3
28
- }, 16, ["type"]));
29
- }
30
- });
31
- export {
32
- x as default
33
- };
@@ -1,4 +0,0 @@
1
- import f from "./ScalarHeaderButton.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1,30 +0,0 @@
1
- import { defineComponent as c, computed as m, createElementBlock as e, openBlock as t, normalizeProps as u, guardReactiveProps as p, unref as n, Fragment as f, renderList as y, createElementVNode as a, toDisplayString as s } from "vue";
2
- import { useBindCx as h } from "@scalar/use-hooks/useBindCx";
3
- import { formatHotkeySymbols as k, getKeyLabel as x } from "./formatHotkey.js";
4
- const _ = {
5
- "aria-hidden": "true",
6
- class: "contents"
7
- }, g = { class: "sr-only" }, E = /* @__PURE__ */ c({
8
- inheritAttrs: !1,
9
- __name: "ScalarHotkey",
10
- props: {
11
- hotkey: {},
12
- modifier: { default: () => ["Meta"] }
13
- },
14
- setup(o) {
15
- const { cx: i } = h(), d = m(() => k(o.hotkey, o.modifier));
16
- return (b, v) => (t(), e("div", u(p(
17
- n(i)(
18
- "border-(--scalar-background-3) inline-flex gap-0.5 overflow-hidden rounded border text-xxs rounded-b p-1 font-medium uppercase leading-none"
19
- )
20
- )), [
21
- (t(!0), e(f, null, y(d.value, (r, l) => (t(), e("div", { key: l }, [
22
- a("span", _, s(r), 1),
23
- a("span", g, s(n(x)(r)), 1)
24
- ]))), 128))
25
- ], 16));
26
- }
27
- });
28
- export {
29
- E as default
30
- };
@@ -1,4 +0,0 @@
1
- import f from "./ScalarHotkey.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1,29 +0,0 @@
1
- const t = {
2
- "⌘": "Command",
3
- "^": "Control",
4
- ctrl: "Control",
5
- "⌥": "Option",
6
- alt: "Alt",
7
- "⇧": "Shift",
8
- "⇪": "Caps Lock",
9
- "↵": "Enter",
10
- "←": "Left Arrow",
11
- "→": "Right Arrow",
12
- "↑": "Up Arrow",
13
- "↓": "Down Arrow"
14
- }, o = {
15
- Meta: "⌘",
16
- Shift: "⇧",
17
- Alt: "⌥",
18
- Control: "^"
19
- }, r = {
20
- Meta: "ctrl",
21
- Shift: "⇧",
22
- Alt: "alt",
23
- Control: "ctrl"
24
- };
25
- export {
26
- t as HOTKEY_LABELS,
27
- r as MODIFIER_KEY_SYMBOLS,
28
- o as MODIFIER_KEY_SYMBOLS_MACOS
29
- };
@@ -1,20 +0,0 @@
1
- import { isMacOS as n } from "@scalar/helpers/general/is-mac-os";
2
- import { HOTKEY_LABELS as e, MODIFIER_KEY_SYMBOLS_MACOS as i, MODIFIER_KEY_SYMBOLS as f } from "./constants.js";
3
- function u(t) {
4
- return t === "default";
5
- }
6
- function m(t) {
7
- const o = u(t) ? "Meta" : t;
8
- return n() ? i[o] : f[o];
9
- }
10
- function c(t, o) {
11
- return [...o.map((r) => m(r)), t];
12
- }
13
- function s(t) {
14
- return t in e ? e[t] : t;
15
- }
16
- export {
17
- c as formatHotkeySymbols,
18
- s as getKeyLabel,
19
- m as getModifierKeySymbol
20
- };
@@ -1,7 +0,0 @@
1
- import o from "./ScalarIcon.vue2.js";
2
- /* empty css */
3
- import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b651bb23"]]);
5
- export {
6
- m as default
7
- };
@@ -1,39 +0,0 @@
1
- import { defineComponent as l, useCssVars as u, computed as o, createBlock as m, openBlock as p, resolveDynamicComponent as f, normalizeProps as d, guardReactiveProps as _, unref as r } from "vue";
2
- import { useBindCx as g } from "@scalar/use-hooks/useBindCx";
3
- import { getIcon as v, getLogo as b } from "./utils/index.js";
4
- import { variants as h } from "./variants.js";
5
- const k = {}, A = /* @__PURE__ */ l({
6
- ...k,
7
- inheritAttrs: !1,
8
- __name: "ScalarIcon",
9
- props: {
10
- icon: {},
11
- logo: {},
12
- size: {},
13
- thickness: {},
14
- label: {}
15
- },
16
- setup(t) {
17
- u((i) => ({
18
- c07589c2: s.value
19
- }));
20
- const e = t, { cx: n } = g(), s = o(() => e.thickness ?? "2"), c = o(
21
- () => e.label ? { "aria-label": e.label } : {
22
- "aria-hidden": !0,
23
- role: "presentation"
24
- }
25
- ), a = o(() => {
26
- if (e.icon)
27
- return v(e.icon);
28
- if (e.logo)
29
- return b(e.logo);
30
- });
31
- return (i, x) => (p(), m(f(a.value), d(_({
32
- ...r(n)("scalar-icon", r(h)({ size: t.size })),
33
- ...c.value
34
- })), null, 16));
35
- }
36
- });
37
- export {
38
- A as default
39
- };
@@ -1,28 +0,0 @@
1
- import { defineComponent as a, createBlock as t, openBlock as o, mergeProps as i, resolveDynamicComponent as l, unref as c } from "vue";
2
- import { useBindCx as s } from "@scalar/use-hooks/useBindCx";
3
- import m from "./ScalarIcon.vue.js";
4
- import { variants as f } from "./variants.js";
5
- const u = {}, d = /* @__PURE__ */ a({
6
- ...u,
7
- inheritAttrs: !1,
8
- __name: "ScalarIconLegacyAdapter",
9
- props: {
10
- icon: { type: [Object, Function] },
11
- label: {},
12
- weight: {},
13
- logo: {},
14
- size: {},
15
- thickness: {}
16
- },
17
- setup(e) {
18
- const { cx: r } = s();
19
- return (n, g) => typeof e.icon == "string" ? (o(), t(m, i({ key: 0 }, { ...n.$props, ...n.$attrs }, { icon: e.icon }), null, 16, ["icon"])) : (o(), t(l(e.icon), i({
20
- key: 1,
21
- label: e.label,
22
- weight: e.weight
23
- }, c(r)(c(f)({ size: e.size }))), null, 16, ["label", "weight"]));
24
- }
25
- });
26
- export {
27
- d as default
28
- };
@@ -1,4 +0,0 @@
1
- import f from "./ScalarIconLegacyAdapter.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1,21 +0,0 @@
1
- import { createElementBlock as o, openBlock as n, createElementVNode as r } from "vue";
2
- const t = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- fill: "none",
5
- viewBox: "0 0 24 24"
6
- };
7
- function l(d, e) {
8
- return n(), o("svg", t, [...e[0] || (e[0] = [
9
- r("path", {
10
- stroke: "currentColor",
11
- "stroke-linecap": "round",
12
- "stroke-linejoin": "round",
13
- d: "M5 11.988h14M12.006 5v14"
14
- }, null, -1)
15
- ])]);
16
- }
17
- const c = { render: l };
18
- export {
19
- c as default,
20
- l as render
21
- };
@@ -1,21 +0,0 @@
1
- import { createElementBlock as o, openBlock as n, createElementVNode as r } from "vue";
2
- const t = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- fill: "none",
5
- viewBox: "0 0 24 24"
6
- };
7
- function l(d, e) {
8
- return n(), o("svg", t, [...e[0] || (e[0] = [
9
- r("path", {
10
- stroke: "currentColor",
11
- "stroke-linecap": "round",
12
- "stroke-linejoin": "round",
13
- d: "M8.143 12h7.714M12 8.143v7.714M5.571 3H18.43A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3"
14
- }, null, -1)
15
- ])]);
16
- }
17
- const c = { render: l };
18
- export {
19
- c as default,
20
- l as render
21
- };
@@ -1,21 +0,0 @@
1
- import { createElementBlock as o, openBlock as r, createElementVNode as t } from "vue";
2
- const n = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- fill: "none",
5
- viewBox: "0 0 24 24"
6
- };
7
- function l(s, e) {
8
- return r(), o("svg", n, [...e[0] || (e[0] = [
9
- t("path", {
10
- stroke: "currentColor",
11
- "stroke-linecap": "round",
12
- "stroke-linejoin": "round",
13
- d: "M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10"
14
- }, null, -1)
15
- ])]);
16
- }
17
- const d = { render: l };
18
- export {
19
- d as default,
20
- l as render
21
- };
@@ -1,21 +0,0 @@
1
- import { createElementBlock as o, openBlock as r, createElementVNode as t } from "vue";
2
- const n = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- viewBox: "0 0 24 24"
5
- };
6
- function l(s, e) {
7
- return r(), o("svg", n, [...e[0] || (e[0] = [
8
- t("path", {
9
- fill: "none",
10
- stroke: "currentColor",
11
- "stroke-linecap": "round",
12
- "stroke-linejoin": "round",
13
- d: "M22 12H2m9.3-9.3L2 12l9.3 9.3"
14
- }, null, -1)
15
- ])]);
16
- }
17
- const d = { render: l };
18
- export {
19
- d as default,
20
- l as render
21
- };
@@ -1,21 +0,0 @@
1
- import { createElementBlock as o, openBlock as r, createElementVNode as t } from "vue";
2
- const n = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- viewBox: "0 0 24 24"
5
- };
6
- function l(s, e) {
7
- return r(), o("svg", n, [...e[0] || (e[0] = [
8
- t("path", {
9
- fill: "none",
10
- stroke: "currentColor",
11
- "stroke-linecap": "round",
12
- "stroke-linejoin": "round",
13
- d: "M2 12h20m-9.3 9.3L22 12l-9.3-9.3"
14
- }, null, -1)
15
- ])]);
16
- }
17
- const c = { render: l };
18
- export {
19
- c as default,
20
- l as render
21
- };
@@ -1,21 +0,0 @@
1
- import { createElementBlock as o, openBlock as r, createElementVNode as t } from "vue";
2
- const n = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- fill: "none",
5
- viewBox: "0 0 24 24"
6
- };
7
- function l(a, e) {
8
- return r(), o("svg", n, [...e[0] || (e[0] = [
9
- t("path", {
10
- stroke: "currentColor",
11
- "stroke-linecap": "round",
12
- "stroke-linejoin": "round",
13
- d: "M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1m8 0h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1"
14
- }, null, -1)
15
- ])]);
16
- }
17
- const s = { render: l };
18
- export {
19
- s as default,
20
- l as render
21
- };
@@ -1,34 +0,0 @@
1
- import { createElementBlock as n, openBlock as l, createElementVNode as e } from "vue";
2
- const o = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- fill: "none",
5
- stroke: "currentColor",
6
- "stroke-linecap": "round",
7
- "stroke-linejoin": "round",
8
- viewBox: "0 0 24 24"
9
- };
10
- function c(t, r) {
11
- return l(), n("svg", o, [...r[0] || (r[0] = [
12
- e("path", { d: "M16.4 6.8v5.6H7.6m0-5.6v10.4" }, null, -1),
13
- e("circle", {
14
- cx: "7.6",
15
- cy: "4.4",
16
- r: "2.4"
17
- }, null, -1),
18
- e("circle", {
19
- cx: "7.6",
20
- cy: "19.6",
21
- r: "2.4"
22
- }, null, -1),
23
- e("circle", {
24
- cx: "16.4",
25
- cy: "4.4",
26
- r: "2.4"
27
- }, null, -1)
28
- ])]);
29
- }
30
- const s = { render: c };
31
- export {
32
- s as default,
33
- c as render
34
- };
@@ -1,21 +0,0 @@
1
- import { createElementBlock as o, openBlock as t, createElementVNode as e } from "vue";
2
- const r = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- fill: "none",
5
- stroke: "currentColor",
6
- "stroke-linecap": "round",
7
- "stroke-linejoin": "round",
8
- viewBox: "0 0 24 24"
9
- };
10
- function l(a, n) {
11
- return t(), o("svg", r, [...n[0] || (n[0] = [
12
- e("path", { d: "M12 22.125V4.712S9.545 1.985 1.268 1.875a.5.5 0 0 0-.366.15.52.52 0 0 0-.152.369v16.375a.515.515 0 0 0 .5.519C9.543 19.4 12 22.125 12 22.125" }, null, -1),
13
- e("path", { d: "M9 11.18a21.3 21.3 0 0 0-5.26-1.055M9 15.375a21.3 21.3 0 0 0-5.26-1.055M15 11.18a21.3 21.3 0 0 1 5.26-1.055M15 15.375a21.3 21.3 0 0 1 5.26-1.055" }, null, -1),
14
- e("path", { d: "M12 22.125V4.712s2.455-2.727 10.732-2.837a.5.5 0 0 1 .366.15.52.52 0 0 1 .152.369v16.375a.515.515 0 0 1-.5.519C14.457 19.4 12 22.125 12 22.125" }, null, -1)
15
- ])]);
16
- }
17
- const d = { render: l };
18
- export {
19
- d as default,
20
- l as render
21
- };
@@ -1,21 +0,0 @@
1
- import { createElementBlock as o, openBlock as r, createElementVNode as n } from "vue";
2
- const t = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- viewBox: "0 0 24 24"
5
- };
6
- function l(s, e) {
7
- return r(), o("svg", t, [...e[0] || (e[0] = [
8
- n("path", {
9
- fill: "none",
10
- stroke: "currentColor",
11
- "stroke-linecap": "round",
12
- "stroke-linejoin": "round",
13
- d: "M21.4 4.6 10.6 19.4l-8-6.4"
14
- }, null, -1)
15
- ])]);
16
- }
17
- const d = { render: l };
18
- export {
19
- d as default,
20
- l as render
21
- };
@@ -1,21 +0,0 @@
1
- import { createElementBlock as o, openBlock as n, createElementVNode as r } from "vue";
2
- const t = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- fill: "none",
5
- viewBox: "0 0 24 24"
6
- };
7
- function l(s, e) {
8
- return n(), o("svg", t, [...e[0] || (e[0] = [
9
- r("path", {
10
- stroke: "currentColor",
11
- "stroke-linecap": "round",
12
- "stroke-linejoin": "round",
13
- d: "m18 10-6 6-6-6"
14
- }, null, -1)
15
- ])]);
16
- }
17
- const d = { render: l };
18
- export {
19
- d as default,
20
- l as render
21
- };
@@ -1,21 +0,0 @@
1
- import { createElementBlock as o, openBlock as n, createElementVNode as r } from "vue";
2
- const t = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- fill: "none",
5
- viewBox: "0 0 24 24"
6
- };
7
- function l(s, e) {
8
- return n(), o("svg", t, [...e[0] || (e[0] = [
9
- r("path", {
10
- stroke: "currentColor",
11
- "stroke-linecap": "round",
12
- "stroke-linejoin": "round",
13
- d: "m14 18-6-6 6-6"
14
- }, null, -1)
15
- ])]);
16
- }
17
- const d = { render: l };
18
- export {
19
- d as default,
20
- l as render
21
- };
@@ -1,21 +0,0 @@
1
- import { createElementBlock as o, openBlock as n, createElementVNode as r } from "vue";
2
- const t = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- fill: "none",
5
- viewBox: "0 0 24 24"
6
- };
7
- function l(s, e) {
8
- return n(), o("svg", t, [...e[0] || (e[0] = [
9
- r("path", {
10
- stroke: "currentColor",
11
- "stroke-linecap": "round",
12
- "stroke-linejoin": "round",
13
- d: "m9 18 6-6-6-6"
14
- }, null, -1)
15
- ])]);
16
- }
17
- const c = { render: l };
18
- export {
19
- c as default,
20
- l as render
21
- };
@@ -1,21 +0,0 @@
1
- import { createElementBlock as o, openBlock as n, createElementVNode as r } from "vue";
2
- const t = {
3
- xmlns: "http://www.w3.org/2000/svg",
4
- fill: "none",
5
- viewBox: "0 0 24 24"
6
- };
7
- function l(s, e) {
8
- return n(), o("svg", t, [...e[0] || (e[0] = [
9
- r("path", {
10
- stroke: "currentColor",
11
- "stroke-linecap": "round",
12
- "stroke-linejoin": "round",
13
- d: "m18 15-6-6-6 6"
14
- }, null, -1)
15
- ])]);
16
- }
17
- const d = { render: l };
18
- export {
19
- d as default,
20
- l as render
21
- };