@astryx-vue/core 0.1.3 → 0.2.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 (269) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-BylcA4vV.js → AlertDialog-ovx4cBjM.js} +1 -1
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-b0PWt9Fz.js → AppShell-1wNIEtK_.js} +2 -2
  5. package/dist/Avatar/index.d.ts +1 -1
  6. package/dist/Avatar/index.js +1 -1
  7. package/dist/Avatar-jmHInHwj.js +244 -0
  8. package/dist/AvatarGroup/index.d.ts +1 -1
  9. package/dist/AvatarGroup/index.js +1 -1
  10. package/dist/{AvatarGroup-CZcgAMjM.js → AvatarGroup-QyzSrpYA.js} +8 -7
  11. package/dist/Badge/index.d.ts +1 -1
  12. package/dist/Badge/index.js +1 -1
  13. package/dist/Badge-CjDQPF5g.js +30 -0
  14. package/dist/Banner/index.d.ts +1 -1
  15. package/dist/Breadcrumbs/index.d.ts +2 -2
  16. package/dist/Breadcrumbs/index.js +1 -1
  17. package/dist/{Breadcrumbs-C3YZFQ9w.js → Breadcrumbs-C97HmjkC.js} +45 -11
  18. package/dist/Button/index.d.ts +1 -1
  19. package/dist/ButtonGroup/index.d.ts +1 -1
  20. package/dist/Calendar/index.d.ts +2 -2
  21. package/dist/Calendar/index.js +1 -1
  22. package/dist/Calendar-DqC3EDN1.js +352 -0
  23. package/dist/Card/index.d.ts +1 -1
  24. package/dist/Carousel/index.d.ts +2 -0
  25. package/dist/Carousel/index.js +2 -0
  26. package/dist/Carousel-BGUnskjo.js +363 -0
  27. package/dist/Chat/index.js +1 -1
  28. package/dist/{Chat-C1aWl5V3.js → Chat-DCjXRiOF.js} +8 -8
  29. package/dist/CheckboxInput/index.d.ts +1 -1
  30. package/dist/CheckboxList/index.d.ts +1 -1
  31. package/dist/CheckboxList/index.js +1 -1
  32. package/dist/Citation/index.js +1 -1
  33. package/dist/{Citation-C1X0Rde8.js → Citation-DunoAqVH.js} +2 -2
  34. package/dist/ClickableCard/index.d.ts +1 -1
  35. package/dist/Code/index.d.ts +3 -2
  36. package/dist/Code/index.js +4 -2
  37. package/dist/Code-yb_KOFtJ.js +299 -0
  38. package/dist/{CodeBlock-BQdooQy2.js → CodeBlock-CAF-VJnh.js} +8 -2
  39. package/dist/Collapsible/index.js +1 -1
  40. package/dist/{Collapsible-BS9ctCQV.js → Collapsible-DvMiYJp7.js} +1 -1
  41. package/dist/CommandPalette/index.js +1 -1
  42. package/dist/{CommandPalette-u5h_E05P.js → CommandPalette-xfm9ldUI.js} +1 -1
  43. package/dist/ComplexSelector/index.d.ts +1 -1
  44. package/dist/ComplexSelector/index.js +1 -1
  45. package/dist/{ComplexSelector-BHmGWml0.js → ComplexSelector-B6lBTRhP.js} +2 -2
  46. package/dist/ContextMenu/index.d.ts +2 -2
  47. package/dist/ContextMenu/index.js +1 -1
  48. package/dist/{ContextMenu-dA-ppaRQ.js → ContextMenu-DUkED3Z3.js} +101 -63
  49. package/dist/DateInput/index.d.ts +2 -2
  50. package/dist/DateInput/index.js +1 -1
  51. package/dist/DateInput-Crcg-CCj.js +376 -0
  52. package/dist/DateRangeInput/index.d.ts +1 -1
  53. package/dist/DateRangeInput/index.js +1 -1
  54. package/dist/{DateRangeInput-fmQlr_A7.js → DateRangeInput-e9KSxBBK.js} +2 -2
  55. package/dist/DateTimeInput/index.d.ts +1 -1
  56. package/dist/DateTimeInput/index.js +1 -1
  57. package/dist/{DateTimeInput-Bs1JmcIp.js → DateTimeInput-fSOfuLex.js} +5 -3
  58. package/dist/DropdownMenu/index.d.ts +3 -2
  59. package/dist/DropdownMenu/index.js +3 -2
  60. package/dist/{DropdownMenu-B0gogrvG.js → DropdownMenu-8G0B1UND.js} +63 -16
  61. package/dist/DropdownMenu-XvW4BJob.js +164 -0
  62. package/dist/EmptyState/index.js +1 -1
  63. package/dist/{EmptyState-Bhlqgsg4.js → EmptyState-CUJdTYKV.js} +1 -1
  64. package/dist/FileInput/index.d.ts +1 -1
  65. package/dist/FileInput/index.js +1 -1
  66. package/dist/{FileInput-CmAfOpkA.js → FileInput-D-fchyQH.js} +2 -2
  67. package/dist/Icon/index.d.ts +4 -0
  68. package/dist/Icon/index.js +3 -0
  69. package/dist/Icon/plugin.d.ts +45 -0
  70. package/dist/Icon/plugin.js +177 -0
  71. package/dist/Icon-Bku25g_K.js +193 -0
  72. package/dist/Lightbox/index.d.ts +2 -0
  73. package/dist/Lightbox/index.js +2 -0
  74. package/dist/Lightbox-uuVGgHxW.js +384 -0
  75. package/dist/Link/index.d.ts +1 -1
  76. package/dist/Link/index.js +1 -1
  77. package/dist/Link-DqdQZ37C.js +141 -0
  78. package/dist/List/index.d.ts +1 -1
  79. package/dist/Markdown/index.js +1 -1
  80. package/dist/{Markdown-CwtLr3f_.js → Markdown-DLICa3db.js} +3 -3
  81. package/dist/MetadataList/index.d.ts +1 -1
  82. package/dist/MetadataList/index.js +1 -1
  83. package/dist/{MetadataList-DlXQTLog.js → MetadataList-h492rqEN.js} +1 -1
  84. package/dist/MobileNav/index.js +1 -1
  85. package/dist/{MobileNavToggle-CgQamG6E.js → MobileNavToggle-BMj3Wtuq.js} +1 -1
  86. package/dist/MoreMenu/index.d.ts +1 -1
  87. package/dist/MoreMenu/index.js +1 -1
  88. package/dist/{MoreMenu-BXL6Dqsu.js → MoreMenu-DkYi5az5.js} +2 -2
  89. package/dist/MultiSelector/index.d.ts +1 -1
  90. package/dist/MultiSelector/index.js +1 -1
  91. package/dist/{MultiSelector-DT8ZccMI.js → MultiSelector-C2IS-EaU.js} +2 -2
  92. package/dist/NavItem/index.d.ts +1 -1
  93. package/dist/NavMenu/index.d.ts +1 -1
  94. package/dist/NavMenu/index.js +1 -1
  95. package/dist/{NavMenuItem-mzNQESpB.js → NavMenuItem-B-k7olt5.js} +2 -1
  96. package/dist/NumberInput/index.d.ts +2 -2
  97. package/dist/NumberInput/index.js +1 -1
  98. package/dist/NumberInput-CjfAsFwj.js +210 -0
  99. package/dist/Outline/index.d.ts +2 -0
  100. package/dist/Outline/index.js +2 -0
  101. package/dist/Outline-BTmrtvXR.js +325 -0
  102. package/dist/OverflowList/index.d.ts +1 -1
  103. package/dist/OverflowList/index.js +1 -1
  104. package/dist/{OverflowList-zXg3g6fy.js → OverflowList-CRE8BE7V.js} +2 -2
  105. package/dist/Overlay/index.d.ts +1 -1
  106. package/dist/Pagination/index.d.ts +2 -2
  107. package/dist/Pagination/index.js +1 -1
  108. package/dist/{Pagination-DXfgMUKJ.js → Pagination-BpGXPmc7.js} +76 -22
  109. package/dist/Popover/index.d.ts +1 -1
  110. package/dist/ProgressBar/index.d.ts +1 -1
  111. package/dist/ProgressBar/index.js +1 -1
  112. package/dist/{ProgressBar-ChDp-7oe.js → ProgressBar-DO9Chic6.js} +31 -11
  113. package/dist/Radio/index.d.ts +1 -1
  114. package/dist/RadioList/index.d.ts +1 -1
  115. package/dist/Resizable/index.js +1 -1
  116. package/dist/{Resizable-BuGKvU9I.js → Resizable-CE8XQDL2.js} +1 -1
  117. package/dist/ScrollableArea/index.d.ts +1 -1
  118. package/dist/SegmentedControl/index.d.ts +1 -1
  119. package/dist/SelectableCard/index.d.ts +1 -1
  120. package/dist/Selector/index.d.ts +2 -2
  121. package/dist/Selector/index.js +1 -1
  122. package/dist/Selector-DkJOLZSR.js +468 -0
  123. package/dist/SideNav/index.d.ts +1 -1
  124. package/dist/SideNav/index.js +1 -1
  125. package/dist/{SideNav-Cdrigq2A.js → SideNav-DcDWBnXJ.js} +17 -17
  126. package/dist/Stepper/index.d.ts +1 -1
  127. package/dist/Stepper/index.js +1 -1
  128. package/dist/{Stepper-DxmLfh8O.js → Stepper-DZKaqEoz.js} +1 -1
  129. package/dist/Switch/index.d.ts +1 -1
  130. package/dist/TabList/index.d.ts +1 -1
  131. package/dist/TabList/index.js +1 -1
  132. package/dist/{TabList-C411uNQU.js → TabList-hm06QPiW.js} +10 -3
  133. package/dist/Table/index.js +1 -1
  134. package/dist/{Table-7qRmlIQd.js → Table-DwehtMap.js} +4 -4
  135. package/dist/Text/index.d.ts +3 -2
  136. package/dist/Text/index.js +1 -1
  137. package/dist/{Text-CKd7e3gK.js → Text-BHVghsWo.js} +12 -2
  138. package/dist/TextArea/index.d.ts +1 -1
  139. package/dist/TextArea/index.js +1 -1
  140. package/dist/{TextArea-Cv9UVbzS.js → TextArea-CPwSytdO.js} +12 -6
  141. package/dist/TextInput/index.d.ts +1 -1
  142. package/dist/Theme/index.d.ts +2 -0
  143. package/dist/Theme/index.js +2 -0
  144. package/dist/Theme-BuUiiJNr.js +429 -0
  145. package/dist/Thumbnail/index.js +1 -1
  146. package/dist/{Thumbnail-BWVzLLyI.js → Thumbnail-CAOYds8t.js} +11 -11
  147. package/dist/{TimeField-l3QzU6vC.js → TimeField-BGbxCoKU.js} +2 -2
  148. package/dist/TimeInput/index.d.ts +1 -1
  149. package/dist/TimeInput/index.js +1 -1
  150. package/dist/{TimeInput-OkgX-xbQ.js → TimeInput-DJP3l4ZS.js} +1 -1
  151. package/dist/Timer/index.d.ts +2 -0
  152. package/dist/Timer/index.js +2 -0
  153. package/dist/Timer-B7GV6hqd.js +134 -0
  154. package/dist/Timestamp/index.d.ts +1 -1
  155. package/dist/Timestamp/index.js +2 -1
  156. package/dist/{Timestamp-DUoP9ari.js → Timestamp-BzRp8uWc.js} +5 -122
  157. package/dist/Toast/index.d.ts +2 -2
  158. package/dist/Toast/index.js +1 -1
  159. package/dist/{Toast-BKXPvEMp.js → Toast-C2ML-bmi.js} +37 -7
  160. package/dist/ToggleButton/index.d.ts +1 -1
  161. package/dist/Token/index.d.ts +1 -1
  162. package/dist/Token/index.js +1 -1
  163. package/dist/{Token-C4KD0fZD.js → Token-CjocuhzE.js} +1 -1
  164. package/dist/Tokenizer/index.d.ts +1 -1
  165. package/dist/Tokenizer/index.js +1 -1
  166. package/dist/{Tokenizer-BA8sTMPZ.js → Tokenizer-mYES5SPM.js} +2 -2
  167. package/dist/Toolbar/index.d.ts +1 -1
  168. package/dist/TopNav/index.d.ts +1 -1
  169. package/dist/TopNav/index.js +1 -1
  170. package/dist/{TopNav-CZokS7E_.js → TopNav-C2t6JkZb.js} +4 -4
  171. package/dist/TreeList/index.d.ts +1 -1
  172. package/dist/TreeList/index.js +1 -1
  173. package/dist/{TreeList-CIbAGOMf.js → TreeList-THJ0KamE.js} +3 -3
  174. package/dist/Typeahead/index.d.ts +1 -1
  175. package/dist/Typeahead/index.js +1 -1
  176. package/dist/{Typeahead-DIw-K4aa.js → Typeahead-D7VnvRpK.js} +2 -2
  177. package/dist/{context-D6ECRdc5.js → context-DzcK4T_C.js} +58 -2
  178. package/dist/context-O2Vb8cJl.js +57 -0
  179. package/dist/formatInstant-BDWUIxS7.js +119 -0
  180. package/dist/index-1AZ4KZhg.d.ts +96 -0
  181. package/dist/index-3p2BDVHq.d.ts +31 -0
  182. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  183. package/dist/{index-FEy8qFSD.d.ts → index-BHqRH7QW.d.ts} +2 -2
  184. package/dist/{index-CTolyeii.d.ts → index-BLOEjvaM.d.ts} +16 -2
  185. package/dist/index-BMrggCw-.d.ts +52 -0
  186. package/dist/{index-z4p2k9VR.d.ts → index-Bgv4ZmBl.d.ts} +20 -2
  187. package/dist/{index-BoRIw-bP.d.ts → index-Bt7ewoz2.d.ts} +32 -2
  188. package/dist/{index-CjtAH60j.d.ts → index-Bu0Zd1uw.d.ts} +1 -1
  189. package/dist/{index-uQrLBZfF.d.ts → index-Bu3oXIIS.d.ts} +24 -0
  190. package/dist/{index-CX97hlld.d.ts → index-CBym0hSq.d.ts} +2 -19
  191. package/dist/index-CJlBAXwj.d.ts +100 -0
  192. package/dist/{index-DT9S92sh.d.ts → index-CNjbOgty.d.ts} +15 -0
  193. package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
  194. package/dist/index-CRizexSC.d.ts +147 -0
  195. package/dist/{index-DYChvBOM.d.ts → index-Clmz00IK.d.ts} +31 -0
  196. package/dist/index-Cm_TiLXU.d.ts +22 -0
  197. package/dist/index-Cn-sSds-.d.ts +68 -0
  198. package/dist/index-CsVS37na.d.ts +81 -0
  199. package/dist/{index-DRmb-oUa.d.ts → index-CuFLztiI.d.ts} +6 -1
  200. package/dist/{index-CT8KEpec.d.ts → index-D0TlUOtG.d.ts} +1 -1
  201. package/dist/{index-fa72tWIU.d.ts → index-D2bSSSBP.d.ts} +1 -1
  202. package/dist/{index-2u4l3wq8.d.ts → index-DAiGhkNZ.d.ts} +15 -2
  203. package/dist/{index-DGNqi2za.d.ts → index-DQAnGHu7.d.ts} +5 -5
  204. package/dist/{index-BfOtLyNH.d.ts → index-D_nYxnNv.d.ts} +1 -1
  205. package/dist/{index-Df2YvC8o.d.ts → index-DeOftUMq.d.ts} +191 -75
  206. package/dist/{index-DXDGk38y.d.ts → index-Dg3ZmwEg.d.ts} +11 -0
  207. package/dist/{index-BiMGXtD-.d.ts → index-DimuSES0.d.ts} +14 -1
  208. package/dist/{index-C_2Z65Rp.d.ts → index-DnEh-HA0.d.ts} +1 -1
  209. package/dist/{index-D-ZuubCK.d.ts → index-DnSrjbjP.d.ts} +1 -1
  210. package/dist/{index-mQ6EPmaG.d.ts → index-DsyKhauk.d.ts} +78 -9
  211. package/dist/{index-C6RecznD.d.ts → index-I4J7gwa1.d.ts} +51 -9
  212. package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
  213. package/dist/{index-B4OOtNP8.d.ts → index-Z_onS2lR.d.ts} +1 -1
  214. package/dist/{index-CVn0GBdB.d.ts → index-cG1E0U2s.d.ts} +1 -1
  215. package/dist/{index-DEeJowZf.d.ts → index-cGagYM1g.d.ts} +15 -2
  216. package/dist/{index-Ck8qy6Rf.d.ts → index-c_TaW8mM.d.ts} +24 -2
  217. package/dist/{index-Bqb_Fyju.d.ts → index-jdjcb3Js.d.ts} +2 -2
  218. package/dist/index.d.ts +78 -68
  219. package/dist/index.js +107 -96
  220. package/dist/locale/index.d.ts +1 -1
  221. package/dist/locale/index.js +1 -1
  222. package/dist/registry-B1ObuP--.d.ts +45 -0
  223. package/dist/registry-C7OZb0PJ.js +135 -0
  224. package/dist/syntaxTheme-Bcs1YMF7.d.ts +38 -0
  225. package/dist/syntaxTheme-ClpWALZX.js +75 -0
  226. package/dist/types-BKcxXW--.d.ts +114 -0
  227. package/dist/types-Bt-lSgYX.d.ts +65 -0
  228. package/dist/{index-B8MbfMwV.d.ts → types-DDAAT1Xd.d.ts} +36 -82
  229. package/package.json +30 -1
  230. package/styles/avatar.css +14 -0
  231. package/styles/badge.css +8 -0
  232. package/styles/breadcrumbs.css +6 -1
  233. package/styles/button.css +13 -0
  234. package/styles/calendar.css +16 -0
  235. package/styles/card.css +2 -0
  236. package/styles/carousel.css +120 -0
  237. package/styles/chat.css +5 -2
  238. package/styles/dropdown-menu.css +11 -0
  239. package/styles/heading.css +6 -2
  240. package/styles/icon.css +38 -8
  241. package/styles/lightbox.css +144 -0
  242. package/styles/link.css +5 -0
  243. package/styles/media-theme.css +51 -0
  244. package/styles/number-input.css +22 -0
  245. package/styles/outline.css +124 -0
  246. package/styles/pagination.css +45 -1
  247. package/styles/progress-bar.css +4 -0
  248. package/styles/selector.css +58 -0
  249. package/styles/tab-list.css +15 -0
  250. package/styles/text-area.css +17 -0
  251. package/styles/text-input.css +5 -0
  252. package/styles/text.css +63 -14
  253. package/styles/theme.css +29 -0
  254. package/styles/timer.css +34 -0
  255. package/styles/toast.css +7 -0
  256. package/styles/toolbar.css +11 -0
  257. package/styles.css +6 -0
  258. package/dist/Avatar-5s3HSrtN.js +0 -136
  259. package/dist/Badge-Ba0EwsTj.js +0 -19
  260. package/dist/Calendar-CYhGDT6f.js +0 -277
  261. package/dist/DateInput-D2ErjXYO.js +0 -250
  262. package/dist/Icon-5MdZQ18k.js +0 -86
  263. package/dist/Link-CprjOuTI.js +0 -92
  264. package/dist/NumberInput-DspJO6z6.js +0 -147
  265. package/dist/Selector-DlZpQh42.js +0 -325
  266. package/dist/index-BzqRns96.d.ts +0 -64
  267. package/dist/index-ZJyk8RtQ.d.ts +0 -68
  268. package/dist/{CheckboxList-EsIEXjK_.js → CheckboxList-BbCPiend.js} +1 -1
  269. package/dist/{index-4FM5lQdV.d.ts → index-BUXNRekN.d.ts} +1 -1
@@ -1,5 +1,6 @@
1
+ import { a as SyntaxTokenKey, i as SyntaxThemeTokens, n as SyntaxThemeDefinition } from "./syntaxTheme-Bcs1YMF7.js";
1
2
  import "./useClipboard-CU-kfqeJ.js";
2
- import { VNodeChild } from "vue";
3
+ import { ComputedRef, VNodeChild } from "vue";
3
4
  //#region src/Code/types.d.ts
4
5
  /**
5
6
  * The text color of inline code.
@@ -71,6 +72,13 @@ interface CodeBlockProps {
71
72
  * @default 'plaintext'
72
73
  */
73
74
  language?: string;
75
+ /**
76
+ * Syntax colors for this block.
77
+ *
78
+ * Shorthand for wrapping the block in `SyntaxTheme`. A surrounding
79
+ * `SyntaxTheme` still themes every code component in that region.
80
+ */
81
+ syntaxTheme?: SyntaxThemeDefinition;
74
82
  /** A filename or label shown in the header bar next to the language. */
75
83
  title?: string;
76
84
  /**
@@ -168,22 +176,22 @@ interface CodeBlockEmits {
168
176
  }
169
177
  //#endregion
170
178
  //#region src/Code/Code.vue.d.ts
171
- type __VLS_Slots = CodeSlots;
172
- declare const __VLS_base: import("vue").DefineComponent<CodeProps, {
179
+ type __VLS_Slots$1 = CodeSlots;
180
+ declare const __VLS_base$1: import("vue").DefineComponent<CodeProps, {
173
181
  element: import("vue").ComputedRef<HTMLElement | null>;
174
182
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CodeProps> & Readonly<{}>, {
175
183
  color: CodeColor;
176
184
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
177
- declare const __VLS_export$1: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
178
- declare const _default$1: typeof __VLS_export$1;
179
- type __VLS_WithSlots<T, S> = T & {
185
+ declare const __VLS_export$2: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
186
+ declare const _default$2: typeof __VLS_export$2;
187
+ type __VLS_WithSlots$1<T, S> = T & {
180
188
  new (): {
181
189
  $slots: S;
182
190
  };
183
191
  };
184
192
  //#endregion
185
193
  //#region src/Code/CodeBlock.vue.d.ts
186
- declare const __VLS_export: import("vue").DefineComponent<CodeBlockProps, {
194
+ declare const __VLS_export$1: import("vue").DefineComponent<CodeBlockProps, {
187
195
  element: import("vue").ComputedRef<HTMLPreElement | null>;
188
196
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
189
197
  copy: () => any;
@@ -205,7 +213,7 @@ declare const __VLS_export: import("vue").DefineComponent<CodeBlockProps, {
205
213
  copiedLabel: string;
206
214
  codeLabel: string;
207
215
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
208
- declare const _default: typeof __VLS_export;
216
+ declare const _default$1: typeof __VLS_export$1;
209
217
  //#endregion
210
218
  //#region src/Code/highlightRanges.d.ts
211
219
  /** Token types painted by the stylesheet, so they never need a generated rule. */
@@ -217,6 +225,50 @@ declare const HIGHLIGHTED_TOKEN_TYPES: readonly ["keyword", "string", "comment",
217
225
  */
218
226
  declare function applyHighlightRanges(codeElement: HTMLElement, tokenLines: TokenLine[]): () => void;
219
227
  //#endregion
228
+ //#region src/Code/syntaxPresets.d.ts
229
+ /** One Dark Pro (Binaryify), MIT. */
230
+ declare const oneDarkPro: SyntaxThemeDefinition;
231
+ /** Dracula (Zeno Rocha), MIT. */
232
+ declare const dracula: SyntaxThemeDefinition;
233
+ /** Monokai (Wimer Hazenberg), MIT. */
234
+ declare const monokai: SyntaxThemeDefinition;
235
+ /** Nord (Sven Greb), MIT. */
236
+ declare const nord: SyntaxThemeDefinition;
237
+ /** Tokyo Night (enkia), MIT. */
238
+ declare const tokyoNight: SyntaxThemeDefinition;
239
+ /** Catppuccin Mocha, MIT. */
240
+ declare const catppuccinMocha: SyntaxThemeDefinition;
241
+ /** GitHub Light (GitHub Primer team), MIT. */
242
+ declare const githubLight: SyntaxThemeDefinition;
243
+ /** Solarized Light (Ethan Schoonover), MIT. */
244
+ declare const solarizedLight: SyntaxThemeDefinition;
245
+ /** One Light (GitHub / Atom), MIT. */
246
+ declare const oneLight: SyntaxThemeDefinition;
247
+ /** Catppuccin Latte, MIT. */
248
+ declare const catppuccinLatte: SyntaxThemeDefinition;
249
+ /** Tokyo Night Light (enkia), MIT. */
250
+ declare const tokyoNightLight: SyntaxThemeDefinition;
251
+ declare const darkSyntaxPresets: readonly [SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition];
252
+ declare const lightSyntaxPresets: readonly [SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition];
253
+ declare const allSyntaxPresets: readonly [SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition];
254
+ //#endregion
255
+ //#region src/Code/SyntaxTheme.vue.d.ts
256
+ type __VLS_Props = {
257
+ theme: SyntaxThemeDefinition;
258
+ };
259
+ declare var __VLS_1: {};
260
+ type __VLS_Slots = {} & {
261
+ default?: (props: typeof __VLS_1) => any;
262
+ };
263
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
264
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
265
+ declare const _default: typeof __VLS_export;
266
+ type __VLS_WithSlots<T, S> = T & {
267
+ new (): {
268
+ $slots: S;
269
+ };
270
+ };
271
+ //#endregion
220
272
  //#region src/Code/tokenizer.d.ts
221
273
  /** Code shorter than this is tokenized synchronously instead of in chunks. */
222
274
  declare const SYNC_TOKENIZE_THRESHOLD = 2000;
@@ -237,4 +289,21 @@ declare function tokenizeAsync(code: string, language: string, signal?: AbortSig
237
289
  */
238
290
  declare function flatTokensToLines(tokens: SyntaxToken[], code: string): TokenLine[];
239
291
  //#endregion
240
- export { CodeSize as _, HIGHLIGHTED_TOKEN_TYPES as a, TokenLine as b, _default$1 as c, CodeBlockProps as d, CodeBlockSize as f, CodeProps as g, CodeHighlightMode as h, tokenizeAsync as i, CodeBlockContainer as l, CodeColor as m, flatTokensToLines as n, applyHighlightRanges as o, CodeBlockTokenizer as p, tokenize as r, _default as s, SYNC_TOKENIZE_THRESHOLD as t, CodeBlockEmits as u, CodeSlots as v, SyntaxToken as y };
292
+ //#region src/Code/useSyntaxTheme.d.ts
293
+ interface UseSyntaxThemeReturn {
294
+ /** Syntax theme name. Empty when the provider has no theme. */
295
+ name: ComputedRef<string>;
296
+ /** Mode used to pick a `light-dark()` stop. */
297
+ mode: ComputedRef<'light' | 'dark'>;
298
+ /** One syntax token for the effective mode. */
299
+ token: (name: SyntaxTokenKey) => string;
300
+ /** Every syntax token for the effective mode, or null when no theme applies. */
301
+ tokens: ComputedRef<SyntaxThemeTokens | null>;
302
+ }
303
+ /**
304
+ * Read the nearest SyntaxTheme, or the syntax field of the nearest Theme.
305
+ * Returns null when neither is present.
306
+ */
307
+ declare function useSyntaxTheme(): UseSyntaxThemeReturn | null;
308
+ //#endregion
309
+ export { CodeBlockTokenizer as A, applyHighlightRanges as C, CodeBlockEmits as D, CodeBlockContainer as E, CodeSlots as F, SyntaxToken as I, TokenLine as L, CodeHighlightMode as M, CodeProps as N, CodeBlockProps as O, CodeSize as P, HIGHLIGHTED_TOKEN_TYPES as S, _default$2 as T, oneDarkPro as _, tokenize as a, tokyoNight as b, allSyntaxPresets as c, darkSyntaxPresets as d, dracula as f, nord as g, monokai as h, flatTokensToLines as i, CodeColor as j, CodeBlockSize as k, catppuccinLatte as l, lightSyntaxPresets as m, useSyntaxTheme as n, tokenizeAsync as o, githubLight as p, SYNC_TOKENIZE_THRESHOLD as r, _default as s, UseSyntaxThemeReturn as t, catppuccinMocha as u, oneLight as v, _default$1 as w, tokyoNightLight as x, solarizedLight as y };
@@ -1,29 +1,61 @@
1
+ import { o as FieldStatusInput } from "./types-3eXh_5os.js";
1
2
  //#region src/Selector/types.d.ts
2
3
  interface SelectorOption {
3
4
  value: string | number;
4
5
  label: string;
5
6
  disabled?: boolean;
6
7
  description?: string;
8
+ /** CSS icon class or a component, drawn before the label. */
9
+ icon?: string;
7
10
  }
11
+ /** 字符串会当成 value 和 label 相同的选项,演练场模板一直这样传。 */
12
+ type SelectorOptionInput = SelectorOption | string;
13
+ /** A titled group of options. */
14
+ interface SelectorSection {
15
+ type: 'section';
16
+ title?: string;
17
+ options: readonly SelectorOption[];
18
+ }
19
+ type SelectorEntry = SelectorOptionInput | SelectorSection;
8
20
  type SelectorSize = 'sm' | 'md' | 'lg';
9
21
  type SelectorStatus = 'default' | 'success' | 'warning' | 'error';
22
+ /** 字符串状态,或演练场里那种 `{ type, message }`。 */
23
+ type SelectorStatusInput = SelectorStatus | FieldStatusInput;
24
+ type SelectorPresentation = 'popover' | 'bottom-sheet';
25
+ type SelectorVariant = 'default' | 'ghost';
26
+ type SelectorStatusVariant = 'attached' | 'detached' | 'tooltip';
10
27
  interface SelectorProps {
11
28
  /** 选中的值 */
12
29
  modelValue?: string | number | null;
13
- /** 选项列表 */
14
- options: readonly SelectorOption[];
30
+ /** 选项列表,可以按 section 分组 */
31
+ options: readonly SelectorEntry[];
15
32
  /** 占位文本 */
16
33
  placeholder?: string;
17
34
  /** 是否禁用 */
18
35
  disabled?: boolean;
19
36
  /** 禁用原因(鼠标悬停时显示) */
20
37
  disabledReason?: string;
21
- /** 状态 */
22
- status?: SelectorStatus;
38
+ /** 状态。可以是 `'error'`,也可以是 `{ type, message }`。 */
39
+ status?: SelectorStatusInput;
23
40
  /** 状态消息 */
24
41
  statusMessage?: string;
42
+ /**
43
+ * 状态文案的呈现。tooltip 只留给读屏,不在控件下再画一行。
44
+ * @default 'attached'
45
+ */
46
+ statusVariant?: SelectorStatusVariant;
25
47
  /** 尺寸 */
26
48
  size?: SelectorSize;
49
+ /**
50
+ * default 是带边框的输入框,ghost 去掉边框,适合放进工具栏。
51
+ * @default 'default'
52
+ */
53
+ variant?: SelectorVariant;
54
+ /**
55
+ * popover 锚在触发器下,bottom-sheet 在底部弹层里展开。
56
+ * @default 'popover'
57
+ */
58
+ presentation?: SelectorPresentation;
27
59
  /** 是否可搜索 */
28
60
  searchable?: boolean;
29
61
  /** 搜索占位文本 */
@@ -34,8 +66,14 @@ interface SelectorProps {
34
66
  clearLabel?: string;
35
67
  /** 空状态文本 */
36
68
  emptyText?: string;
37
- /** 标签(用于无障碍) */
69
+ /** 可见标签。不传时用占位文本作为隐藏的无障碍名称。 */
38
70
  label?: string;
71
+ /** 隐藏可见标签,仍保留给读屏。 */
72
+ isLabelHidden?: boolean;
73
+ /** 标签下方的说明 */
74
+ description?: string;
75
+ /** 控件宽度。数字按像素,字符串原样使用。 */
76
+ width?: number | string;
39
77
  /** 名称(用于表单提交) */
40
78
  name?: string;
41
79
  }
@@ -62,19 +100,23 @@ interface SelectorSlots {
62
100
  //#region src/Selector/Selector.vue.d.ts
63
101
  type __VLS_Slots = SelectorSlots;
64
102
  declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
65
- change: (value: string | number | null) => any;
66
103
  search: (query: string) => any;
104
+ change: (value: string | number | null) => any;
67
105
  "update:modelValue": (value: string | number | null) => any;
68
106
  }, string, import("vue").PublicProps, Readonly<SelectorProps> & Readonly<{
69
- onChange?: ((value: string | number | null) => any) | undefined;
70
107
  onSearch?: ((query: string) => any) | undefined;
108
+ onChange?: ((value: string | number | null) => any) | undefined;
71
109
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
72
110
  }>, {
111
+ status: SelectorStatusInput;
73
112
  size: SelectorSize;
74
- status: SelectorStatus;
113
+ variant: SelectorVariant;
75
114
  modelValue: string | number | null;
115
+ isLabelHidden: boolean;
116
+ statusVariant: SelectorStatusVariant;
76
117
  disabled: boolean;
77
118
  clearable: boolean;
119
+ presentation: SelectorPresentation;
78
120
  searchable: boolean;
79
121
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
80
122
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -85,4 +127,4 @@ type __VLS_WithSlots<T, S> = T & {
85
127
  };
86
128
  };
87
129
  //#endregion
88
- export { SelectorSize as a, SelectorProps as i, SelectorEmits as n, SelectorSlots as o, SelectorOption as r, SelectorStatus as s, _default as t };
130
+ export { SelectorOptionInput as a, SelectorSection as c, SelectorStatus as d, SelectorStatusInput as f, SelectorOption as i, SelectorSize as l, SelectorVariant as m, SelectorEmits as n, SelectorPresentation as o, SelectorStatusVariant as p, SelectorEntry as r, SelectorProps as s, _default as t, SelectorSlots as u };
@@ -51,8 +51,8 @@ declare const __VLS_export$1: import("vue").DefineComponent<{
51
51
  orientation?: MetadataListOrientation | undefined;
52
52
  title?: string | undefined;
53
53
  }> & Readonly<{}>, {
54
- label: Record<string, any>;
55
54
  orientation: string;
55
+ label: Record<string, any>;
56
56
  title: string;
57
57
  columns: string | number;
58
58
  maxNumOfItems: number;
@@ -8,8 +8,8 @@ declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {
8
8
  }, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{
9
9
  onClick?: ((event: MouseEvent) => any) | undefined;
10
10
  }>, {
11
- type: "button" | "reset" | "submit";
12
11
  isDisabled: boolean;
12
+ type: "button" | "reset" | "submit";
13
13
  elevation: ButtonElevation;
14
14
  isLoading: boolean;
15
15
  isIconOnly: boolean;
@@ -84,9 +84,9 @@ interface StepSlots {
84
84
  //#region src/Stepper/Step.vue.d.ts
85
85
  type __VLS_Slots$1 = StepSlots;
86
86
  declare const __VLS_base$1: import("vue").DefineComponent<StepProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepProps> & Readonly<{}>, {
87
+ indicator: StepIndicator;
87
88
  isDisabled: boolean;
88
89
  isOptional: boolean;
89
- indicator: StepIndicator;
90
90
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
91
91
  declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
92
92
  declare const _default$1: typeof __VLS_export$1;
@@ -1,24 +1,37 @@
1
1
  //#region src/ProgressBar/types.d.ts
2
2
  type ProgressBarSize = 'sm' | 'md' | 'lg';
3
- type ProgressBarVariant = 'neutral' | 'success' | 'warning' | 'error' | 'info';
3
+ type ProgressBarVariant = 'accent' | 'neutral' | 'success' | 'warning' | 'error' | 'info';
4
4
  interface ProgressBarProps {
5
- value: number;
5
+ value?: number;
6
6
  min?: number;
7
7
  max?: number;
8
8
  size?: ProgressBarSize;
9
9
  variant?: ProgressBarVariant;
10
10
  label?: string;
11
+ /**
12
+ * Keep `label` available to assistive technology without painting it.
13
+ * @default false
14
+ */
15
+ isLabelHidden?: boolean;
11
16
  description?: string;
12
17
  isIndeterminate?: boolean;
18
+ /** 在标签旁显示当前进度。`hasValueLabel` 是同一开关。 */
13
19
  showValue?: boolean;
20
+ /** 与 `showValue` 相同,对齐原版属性名。 */
21
+ hasValueLabel?: boolean;
22
+ /** 自定义数值文案。优先于百分比和 `formatValueLabel`。 */
14
23
  valueText?: string;
24
+ /** 用当前值和最大值生成数值文案,例如 `3.2 GB / 5 GB`。 */
25
+ formatValueLabel?: (value: number, max: number) => string;
15
26
  width?: number | string;
16
27
  }
17
28
  //#endregion
18
29
  //#region src/ProgressBar/ProgressBar.vue.d.ts
19
30
  declare const __VLS_export: import("vue").DefineComponent<ProgressBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
20
31
  size: ProgressBarSize;
32
+ value: number;
21
33
  variant: ProgressBarVariant;
34
+ isLabelHidden: boolean;
22
35
  min: number;
23
36
  max: number;
24
37
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,11 +1,31 @@
1
1
  //#region src/Pagination/types.d.ts
2
+ /** 上一页和下一页之间显示什么。 */
3
+ type PaginationVariant = 'pages' | 'count' | 'compact' | 'dots' | 'none';
4
+ /** 控件尺寸。 */
5
+ type PaginationSize = 'sm' | 'md';
2
6
  interface PaginationProps {
3
7
  /** 当前页码(1-based) */
4
8
  page?: number;
5
9
  /** 每页条目数 */
6
10
  pageSize?: number;
7
- /** 总条目数 */
11
+ /** 总条目数。和 `totalPages` 同时存在时以总条目数为准。 */
8
12
  total?: number;
13
+ /**
14
+ * 总页数。没有总条目数时使用,例如圆点轮播。
15
+ */
16
+ totalPages?: number;
17
+ /**
18
+ * 中间区域的形态。
19
+ * `pages` 是页码,`count` 是「起–止 / 总数」,`compact` 是「第几页 / 共几页」,
20
+ * `dots` 是圆点,`none` 只留上一页和下一页。
21
+ * @default 'pages'
22
+ */
23
+ variant?: PaginationVariant;
24
+ /**
25
+ * 控件高度。
26
+ * @default 'md'
27
+ */
28
+ size?: PaginationSize;
9
29
  /** 是否显示页面大小选择器 */
10
30
  showSizeChanger?: boolean;
11
31
  /** 页面大小选项 */
@@ -46,6 +66,8 @@ declare const __VLS_base: import("vue").DefineComponent<PaginationProps, {}, {},
46
66
  "onUpdate:page"?: ((value: number) => any) | undefined;
47
67
  "onUpdate:pageSize"?: ((value: number) => any) | undefined;
48
68
  }>, {
69
+ size: PaginationSize;
70
+ variant: PaginationVariant;
49
71
  disabled: boolean;
50
72
  page: number;
51
73
  pageSize: number;
@@ -62,4 +84,4 @@ type __VLS_WithSlots<T, S> = T & {
62
84
  };
63
85
  };
64
86
  //#endregion
65
- export { PaginationSlots as i, PaginationEmits as n, PaginationProps as r, _default as t };
87
+ export { PaginationSlots as a, PaginationSize as i, PaginationEmits as n, PaginationVariant as o, PaginationProps as r, _default as t };
@@ -57,8 +57,8 @@ interface TypeaheadSlots<T extends SearchableItem = SearchableItem> {
57
57
  //#region src/Typeahead/Typeahead.vue.d.ts
58
58
  declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
59
59
  props: import("vue").PublicProps & __VLS_PrettifyLocal<TypeaheadProps<T> & {
60
- onChange?: ((value: T | null) => any) | undefined;
61
60
  onSearch?: ((query: string) => any) | undefined;
61
+ onChange?: ((value: T | null) => any) | undefined;
62
62
  "onUpdate:modelValue"?: ((value: T | null) => any) | undefined;
63
63
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
64
64
  }> & (typeof globalThis extends {
@@ -70,7 +70,7 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
70
70
  }>) => void;
71
71
  attrs: any;
72
72
  slots: TypeaheadSlots<T>;
73
- emit: ((evt: "change", value: T | null) => void) & ((evt: "search", query: string) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "openChange", isOpen: boolean) => void);
73
+ emit: ((evt: "search", query: string) => void) & ((evt: "change", value: T | null) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "openChange", isOpen: boolean) => void);
74
74
  }>) => import("vue").VNode & {
75
75
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
76
76
  };