pxd 0.1.7 → 0.2.0

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 (346) hide show
  1. package/README.md +2 -2
  2. package/dist/components/_internal/calendar-day.d.vue.ts +15 -13
  3. package/dist/components/_internal/dismiss-container.d.vue.ts +5 -3
  4. package/dist/components/_internal/fragment-container.d.vue.ts +5 -3
  5. package/dist/components/_internal/mention-editor.d.vue.ts +25 -14
  6. package/dist/components/_internal/mention-editor.vue +87 -13
  7. package/dist/components/_internal/step-item.d.vue.ts +5 -3
  8. package/dist/components/_internal/tree-node.d.vue.ts +39 -35
  9. package/dist/components/_internal/tree-node.vue +17 -3
  10. package/dist/components/active-graph/index.d.vue.ts +7 -5
  11. package/dist/components/active-graph/index.vue +65 -65
  12. package/dist/components/approval-card/index.d.vue.ts +13 -1
  13. package/dist/components/approval-card/index.vue +28 -8
  14. package/dist/components/approval-card/types.d.ts +5 -6
  15. package/dist/components/avatar/index.d.vue.ts +7 -5
  16. package/dist/components/avatar/index.vue +1 -1
  17. package/dist/components/backtop/index.d.vue.ts +6 -4
  18. package/dist/components/backtop/index.vue +84 -29
  19. package/dist/components/backtop/types.d.ts +1 -0
  20. package/dist/components/badge/index.d.vue.ts +7 -5
  21. package/dist/components/badge/index.vue +2 -2
  22. package/dist/components/book/index.d.vue.ts +9 -7
  23. package/dist/components/book/index.vue +1 -1
  24. package/dist/components/book/types.d.ts +2 -2
  25. package/dist/components/border-beam/index.d.vue.ts +5 -3
  26. package/dist/components/breadcrumb/index.d.vue.ts +5 -3
  27. package/dist/components/breadcrumb-item/index.d.vue.ts +7 -5
  28. package/dist/components/breadcrumb-item/index.vue +1 -1
  29. package/dist/components/browser/index.d.vue.ts +5 -3
  30. package/dist/components/browser/index.vue +1 -1
  31. package/dist/components/bubble/index.d.vue.ts +14 -12
  32. package/dist/components/bubble/index.vue +12 -10
  33. package/dist/components/bubble/types.d.ts +2 -2
  34. package/dist/components/bubble-group/index.d.vue.ts +18 -14
  35. package/dist/components/bubble-group/index.vue +128 -24
  36. package/dist/components/bubble-group/types.d.ts +1 -1
  37. package/dist/components/button/index.d.vue.ts +9 -7
  38. package/dist/components/button/index.vue +6 -3
  39. package/dist/components/button/types.d.ts +2 -2
  40. package/dist/components/button-group/index.d.vue.ts +5 -3
  41. package/dist/components/button-group/types.d.ts +2 -2
  42. package/dist/components/calendar/index.d.vue.ts +20 -18
  43. package/dist/components/calendar/index.vue +4 -4
  44. package/dist/components/card/index.d.vue.ts +9 -7
  45. package/dist/components/carousel/index.d.vue.ts +13 -11
  46. package/dist/components/carousel/types.d.ts +2 -2
  47. package/dist/components/checkbox/index.d.vue.ts +5 -3
  48. package/dist/components/checkbox/types.d.ts +2 -2
  49. package/dist/components/checkbox-group/index.d.vue.ts +5 -3
  50. package/dist/components/checkerboard/index.d.vue.ts +5 -3
  51. package/dist/components/checkerboard/index.vue +1 -1
  52. package/dist/components/chip/index.d.vue.ts +5 -3
  53. package/dist/components/chip/index.vue +1 -1
  54. package/dist/components/chip/types.d.ts +2 -2
  55. package/dist/components/choicebox/index.d.vue.ts +5 -3
  56. package/dist/components/choicebox/types.d.ts +4 -4
  57. package/dist/components/choicebox-item/index.d.vue.ts +9 -7
  58. package/dist/components/choicebox-item/index.vue +9 -5
  59. package/dist/components/choicebox-item/types.d.ts +3 -3
  60. package/dist/components/code-block/index.d.vue.ts +7 -5
  61. package/dist/components/code-block/index.vue +10 -10
  62. package/dist/components/code-block/types.d.ts +2 -2
  63. package/dist/components/collapse/index.d.vue.ts +7 -5
  64. package/dist/components/collapse/index.vue +2 -2
  65. package/dist/components/collapse/types.d.ts +2 -2
  66. package/dist/components/collapse-group/index.d.vue.ts +5 -3
  67. package/dist/components/collapse-group/index.vue +6 -6
  68. package/dist/components/command-menu/index.d.vue.ts +13 -11
  69. package/dist/components/command-menu/index.vue +18 -6
  70. package/dist/components/command-menu/types.d.ts +8 -1
  71. package/dist/components/config-provider/index.d.vue.ts +8 -14
  72. package/dist/components/confirm-popover/index.d.vue.ts +16 -14
  73. package/dist/components/confirm-popover/index.vue +1 -1
  74. package/dist/components/confirm-popover/types.d.ts +5 -5
  75. package/dist/components/context-usage/index.vue +27 -13
  76. package/dist/components/copy-button/index.d.vue.ts +9 -5
  77. package/dist/components/copy-button/index.vue +7 -3
  78. package/dist/components/copy-button/types.d.ts +3 -2
  79. package/dist/components/countdown/index.d.vue.ts +17 -16
  80. package/dist/components/countdown/index.vue +4 -9
  81. package/dist/components/countdown/types.d.ts +1 -1
  82. package/dist/components/date-picker/index.d.vue.ts +5 -3
  83. package/dist/components/description/index.d.vue.ts +7 -5
  84. package/dist/components/description/index.vue +5 -2
  85. package/dist/components/description/types.d.ts +3 -3
  86. package/dist/components/drawer/index.d.vue.ts +13 -11
  87. package/dist/components/drawer/index.vue +4 -1
  88. package/dist/components/drawer/types.d.ts +4 -4
  89. package/dist/components/effort-slider/index.vue +51 -54
  90. package/dist/components/ellipsis-text/types.d.ts +3 -3
  91. package/dist/components/empty-state/index.d.vue.ts +11 -9
  92. package/dist/components/empty-state/index.vue +2 -2
  93. package/dist/components/empty-state/types.d.ts +3 -3
  94. package/dist/components/error/index.d.vue.ts +5 -3
  95. package/dist/components/error/index.vue +1 -1
  96. package/dist/components/error/types.d.ts +2 -2
  97. package/dist/components/fader/index.d.vue.ts +2 -0
  98. package/dist/components/fader/index.vue +55 -29
  99. package/dist/components/fader/types.d.ts +2 -1
  100. package/dist/components/feedback-bar/index.vue +4 -4
  101. package/dist/components/gauge/index.vue +3 -3
  102. package/dist/components/grid/index.d.vue.ts +5 -3
  103. package/dist/components/grid-item/index.d.vue.ts +5 -3
  104. package/dist/components/hint/index.d.vue.ts +15 -13
  105. package/dist/components/hint/index.vue +2 -2
  106. package/dist/components/hold-button/index.d.vue.ts +11 -11
  107. package/dist/components/hold-button/index.vue +9 -13
  108. package/dist/components/hold-button/types.d.ts +2 -4
  109. package/dist/components/hue-text/index.d.vue.ts +7 -5
  110. package/dist/components/hue-text/types.d.ts +2 -2
  111. package/dist/components/image-preview/index.d.vue.ts +24 -7
  112. package/dist/components/image-preview/index.vue +128 -29
  113. package/dist/components/image-preview/types.d.ts +9 -1
  114. package/dist/components/input/index.d.vue.ts +13 -11
  115. package/dist/components/input/index.vue +4 -4
  116. package/dist/components/intersection-observer/index.d.vue.ts +7 -5
  117. package/dist/components/kbd/index.d.vue.ts +5 -3
  118. package/dist/components/kbd/index.vue +1 -1
  119. package/dist/components/kbd/types.d.ts +2 -2
  120. package/dist/components/label/index.d.vue.ts +5 -3
  121. package/dist/components/link-button/index.d.vue.ts +10 -8
  122. package/dist/components/link-button/types.d.ts +1 -1
  123. package/dist/components/list/index.d.vue.ts +13 -10
  124. package/dist/components/list/index.vue +42 -43
  125. package/dist/components/list/types.d.ts +16 -8
  126. package/dist/components/list-group/index.vue +1 -7
  127. package/dist/components/list-group/types.d.ts +1 -1
  128. package/dist/components/list-item/index.d.vue.ts +5 -3
  129. package/dist/components/list-item/index.vue +30 -7
  130. package/dist/components/list-item/types.d.ts +1 -0
  131. package/dist/components/loading-dots/index.vue +0 -1
  132. package/dist/components/loading-mask/index.d.vue.ts +13 -1
  133. package/dist/components/loading-mask/index.vue +5 -3
  134. package/dist/components/loading-mask/types.d.ts +1 -1
  135. package/dist/components/marching-ants/index.d.vue.ts +6 -4
  136. package/dist/components/marching-ants/index.vue +2 -2
  137. package/dist/components/marquee/index.d.vue.ts +12 -10
  138. package/dist/components/marquee/types.d.ts +2 -2
  139. package/dist/components/material/index.d.vue.ts +5 -3
  140. package/dist/components/mention/index.d.vue.ts +37 -15
  141. package/dist/components/mention/index.vue +127 -14
  142. package/dist/components/mention/types.d.ts +48 -5
  143. package/dist/components/menu/index.d.vue.ts +16 -14
  144. package/dist/components/message/index.d.vue.ts +4 -4
  145. package/dist/components/message/index.vue +3 -3
  146. package/dist/components/message-item/index.vue +1 -1
  147. package/dist/components/modal/index.d.vue.ts +13 -11
  148. package/dist/components/modal/index.vue +5 -2
  149. package/dist/components/modal/types.d.ts +4 -4
  150. package/dist/components/more-button/types.d.ts +2 -2
  151. package/dist/components/note/index.d.vue.ts +9 -7
  152. package/dist/components/note/index.vue +3 -3
  153. package/dist/components/note/types.d.ts +3 -3
  154. package/dist/components/number-input/index.d.vue.ts +19 -17
  155. package/dist/components/number-input/index.vue +7 -3
  156. package/dist/components/overlay/index.d.vue.ts +5 -3
  157. package/dist/components/page-number/index.vue +2 -2
  158. package/dist/components/pagination/index.d.vue.ts +5 -3
  159. package/dist/components/pagination/index.vue +2 -2
  160. package/dist/components/pin-input/index.d.vue.ts +1 -1
  161. package/dist/components/placeholder/index.d.vue.ts +5 -3
  162. package/dist/components/popover/index.vue +112 -102
  163. package/dist/components/popover/types.d.ts +0 -2
  164. package/dist/components/progress/index.d.vue.ts +6 -4
  165. package/dist/components/project-banner/index.d.vue.ts +9 -7
  166. package/dist/components/project-banner/index.vue +3 -3
  167. package/dist/components/project-banner/types.d.ts +2 -2
  168. package/dist/components/questionnaire/index.d.vue.ts +1 -1
  169. package/dist/components/questionnaire/index.vue +93 -36
  170. package/dist/components/questionnaire/types.d.ts +5 -1
  171. package/dist/components/radial-burst/index.d.vue.ts +5 -3
  172. package/dist/components/radio/index.d.vue.ts +5 -3
  173. package/dist/components/radio/types.d.ts +2 -2
  174. package/dist/components/radio-group/index.d.vue.ts +5 -3
  175. package/dist/components/rating/index.d.vue.ts +1 -1
  176. package/dist/components/rating/index.vue +1 -0
  177. package/dist/components/rating/types.d.ts +2 -2
  178. package/dist/components/reactions/index.d.vue.ts +5 -3
  179. package/dist/components/reasoning/index.d.vue.ts +6 -4
  180. package/dist/components/reasoning/index.vue +17 -15
  181. package/dist/components/reasoning/types.d.ts +6 -8
  182. package/dist/components/resizable/index.d.vue.ts +12 -10
  183. package/dist/components/resizable/index.vue +34 -30
  184. package/dist/components/reveal/index.d.vue.ts +6 -4
  185. package/dist/components/reveal/index.vue +2 -2
  186. package/dist/components/rolling-number/index.d.vue.ts +1 -1
  187. package/dist/components/rolling-number/index.vue +6 -6
  188. package/dist/components/rolling-number/types.d.ts +1 -1
  189. package/dist/components/scroll-progress/index.d.vue.ts +7 -5
  190. package/dist/components/scroll-text/index.d.vue.ts +6 -3
  191. package/dist/components/scroll-text/index.vue +14 -4
  192. package/dist/components/scroll-text/types.d.ts +3 -2
  193. package/dist/components/scrollable/index.d.vue.ts +5 -3
  194. package/dist/components/scrollable/index.vue +120 -185
  195. package/dist/components/scrollable/types.d.ts +0 -2
  196. package/dist/components/search-input/index.d.vue.ts +21 -19
  197. package/dist/components/search-input/index.vue +2 -2
  198. package/dist/components/select/index.d.vue.ts +22 -20
  199. package/dist/components/select/index.vue +18 -8
  200. package/dist/components/select/types.d.ts +9 -1
  201. package/dist/components/shimmer-text/index.d.vue.ts +7 -5
  202. package/dist/components/shimmer-text/index.vue +2 -2
  203. package/dist/components/shimmer-text/types.d.ts +4 -2
  204. package/dist/components/skeleton/index.d.vue.ts +5 -3
  205. package/dist/components/slider/index.d.vue.ts +1 -1
  206. package/dist/components/slider/index.vue +107 -75
  207. package/dist/components/snippet/index.d.vue.ts +2 -0
  208. package/dist/components/snippet/index.vue +6 -2
  209. package/dist/components/snippet/types.d.ts +3 -2
  210. package/dist/components/spinner/index.vue +0 -1
  211. package/dist/components/spinner-dots/index.vue +0 -1
  212. package/dist/components/split-button/index.d.vue.ts +20 -16
  213. package/dist/components/split-button/index.vue +21 -6
  214. package/dist/components/split-button/types.d.ts +3 -1
  215. package/dist/components/stack/index.d.vue.ts +5 -3
  216. package/dist/components/status-dot/types.d.ts +2 -2
  217. package/dist/components/steps/index.d.vue.ts +9 -7
  218. package/dist/components/steps/index.vue +3 -3
  219. package/dist/components/steps/types.d.ts +3 -3
  220. package/dist/components/stick-to-bottom/index.d.vue.ts +13 -10
  221. package/dist/components/stick-to-bottom/index.vue +29 -17
  222. package/dist/components/stick-to-bottom/types.d.ts +2 -3
  223. package/dist/components/swipe-cell/index.d.vue.ts +21 -19
  224. package/dist/components/switch/index.d.vue.ts +5 -3
  225. package/dist/components/switch-item/index.d.vue.ts +5 -3
  226. package/dist/components/switch-item/types.d.ts +2 -2
  227. package/dist/components/tabs/index.vue +3 -3
  228. package/dist/components/teleport/index.d.vue.ts +7 -5
  229. package/dist/components/teleport/index.vue +6 -3
  230. package/dist/components/text/index.d.vue.ts +5 -3
  231. package/dist/components/text/index.vue +1 -1
  232. package/dist/components/text/types.d.ts +1 -1
  233. package/dist/components/textarea/index.d.vue.ts +6 -6
  234. package/dist/components/textarea/types.d.ts +2 -2
  235. package/dist/components/time-picker/index.d.vue.ts +5 -3
  236. package/dist/components/time-picker/index.vue +4 -9
  237. package/dist/components/timeline-item/index.d.vue.ts +7 -5
  238. package/dist/components/toc/index.d.vue.ts +11 -9
  239. package/dist/components/toc/index.vue +88 -64
  240. package/dist/components/toc/types.d.ts +1 -0
  241. package/dist/components/todo-list/index.d.vue.ts +26 -24
  242. package/dist/components/todo-list/index.vue +140 -106
  243. package/dist/components/todo-list/types.d.ts +8 -6
  244. package/dist/components/toggle/index.d.vue.ts +7 -5
  245. package/dist/components/toggle/index.vue +2 -2
  246. package/dist/components/toggle-button/index.d.vue.ts +5 -3
  247. package/dist/components/toggle-button/index.vue +11 -9
  248. package/dist/components/toggle-button/types.d.ts +3 -3
  249. package/dist/components/toggle-button-group/index.d.vue.ts +5 -3
  250. package/dist/components/toggle-button-group/index.vue +2 -1
  251. package/dist/components/toggle-button-group/types.d.ts +2 -2
  252. package/dist/components/tool-call/index.d.vue.ts +15 -1
  253. package/dist/components/tool-call/index.vue +29 -23
  254. package/dist/components/tool-call/types.d.ts +2 -2
  255. package/dist/components/tooltip/index.d.vue.ts +11 -9
  256. package/dist/components/tour/index.d.vue.ts +3 -3
  257. package/dist/components/tour/index.vue +2 -2
  258. package/dist/components/tour/types.d.ts +5 -5
  259. package/dist/components/tree/index.d.vue.ts +44 -42
  260. package/dist/components/tree/index.vue +21 -16
  261. package/dist/components/tree/types.d.ts +4 -5
  262. package/dist/components/virtual-list/index.d.vue.ts +13 -10
  263. package/dist/components/virtual-list/index.vue +10 -5
  264. package/dist/components/virtual-list/types.d.ts +5 -4
  265. package/dist/composables/_internal/use-details-collapse.d.ts +2 -1
  266. package/dist/composables/_internal/use-details-collapse.js +28 -3
  267. package/dist/composables/_internal/use-focus-trap.d.ts +1 -2
  268. package/dist/composables/_internal/use-forward-ref-expose.d.ts +1 -1
  269. package/dist/composables/_internal/use-list-keyboard-controller.d.ts +1 -1
  270. package/dist/composables/_internal/use-list-navigation.d.ts +2 -1
  271. package/dist/composables/_internal/use-list-search.d.ts +16 -0
  272. package/dist/composables/_internal/use-list-search.js +48 -0
  273. package/dist/composables/_internal/use-mention-editor.d.ts +19 -9
  274. package/dist/composables/_internal/use-mention-editor.js +266 -154
  275. package/dist/composables/_internal/use-mention-suggest.d.ts +10 -8
  276. package/dist/composables/_internal/use-mention-suggest.js +39 -25
  277. package/dist/composables/_internal/use-message-group.d.ts +1 -1
  278. package/dist/composables/_internal/use-message-group.js +6 -6
  279. package/dist/composables/_internal/use-overlay-manager.d.ts +1 -1
  280. package/dist/composables/_internal/use-popover-responsive.d.ts +1 -1
  281. package/dist/composables/_internal/use-popover-responsive.js +1 -1
  282. package/dist/composables/_internal/use-remote-search.d.ts +18 -0
  283. package/dist/composables/_internal/use-remote-search.js +58 -0
  284. package/dist/composables/_internal/use-selected-list-item.d.ts +1 -1
  285. package/dist/composables/_internal/use-swipe-gesture.d.ts +1 -2
  286. package/dist/composables/_internal/use-tailwind-variant.js +1 -1
  287. package/dist/composables/_internal/use-tour-target.d.ts +1 -1
  288. package/dist/composables/_internal/use-tree.d.ts +4 -4
  289. package/dist/composables/_internal/use-tree.js +7 -52
  290. package/dist/composables/_internal/use-word-limit.d.ts +4 -3
  291. package/dist/composables/use-backoff-retry.d.ts +2 -35
  292. package/dist/composables/use-backoff-retry.js +5 -98
  293. package/dist/composables/use-copy-click.js +14 -13
  294. package/dist/composables/use-countdown.d.ts +3 -8
  295. package/dist/composables/use-countdown.js +10 -10
  296. package/dist/composables/use-deferred-value.d.ts +2 -1
  297. package/dist/composables/use-delay-change.d.ts +2 -1
  298. package/dist/composables/use-delay-destroy.d.ts +2 -2
  299. package/dist/composables/use-delay-destroy.js +8 -6
  300. package/dist/composables/use-intersection-observer.d.ts +1 -1
  301. package/dist/composables/use-message.d.ts +1 -1
  302. package/dist/composables/use-message.js +1 -1
  303. package/dist/composables/use-mutation-observer.d.ts +1 -1
  304. package/dist/composables/use-mutation-observer.js +4 -1
  305. package/dist/composables/use-outside-click.d.ts +1 -2
  306. package/dist/composables/use-repeat-action.d.ts +2 -3
  307. package/dist/composables/use-repeat-action.js +3 -3
  308. package/dist/composables/use-resize-observer.d.ts +1 -1
  309. package/dist/composables/use-scrollspy.d.ts +2 -1
  310. package/dist/composables/use-stick-to-bottom.d.ts +9 -22
  311. package/dist/composables/use-stick-to-bottom.js +155 -25
  312. package/dist/composables/use-view-transition.d.ts +23 -9
  313. package/dist/composables/use-virtual-list.d.ts +9 -3
  314. package/dist/composables/use-virtual-list.js +92 -48
  315. package/dist/constants/size.d.ts +1 -0
  316. package/dist/constants/size.js +1 -0
  317. package/dist/constants/tooltip-variants.d.ts +1 -1
  318. package/dist/constants/tooltip-variants.js +1 -1
  319. package/dist/index.d.ts +1 -1
  320. package/dist/index.js +1 -1
  321. package/dist/locales/en-us.d.ts +3 -11
  322. package/dist/locales/en-us.js +4 -12
  323. package/dist/locales/zh-cn.d.ts +3 -11
  324. package/dist/locales/zh-cn.js +4 -12
  325. package/dist/styles/styles.css +2 -2
  326. package/dist/styles/tw.css +5 -14
  327. package/dist/types/shared/props.d.ts +9 -2
  328. package/dist/types/shared/utils.d.ts +4 -1
  329. package/dist/utils/_internal/mention-html.d.ts +33 -0
  330. package/dist/utils/_internal/mention-html.js +48 -18
  331. package/dist/utils/_internal/observer.d.ts +2 -1
  332. package/dist/utils/_internal/observer.js +3 -3
  333. package/dist/utils/backoff-retry.d.ts +15 -0
  334. package/dist/utils/backoff-retry.js +94 -0
  335. package/dist/utils/dom.d.ts +5 -6
  336. package/dist/utils/dom.js +5 -31
  337. package/dist/utils/event.d.ts +0 -1
  338. package/dist/utils/event.js +0 -3
  339. package/dist/utils/helper.d.ts +1 -4
  340. package/dist/utils/mention-html.d.ts +14 -0
  341. package/dist/utils/mention-html.js +46 -0
  342. package/dist/version.d.ts +1 -0
  343. package/dist/version.js +1 -0
  344. package/package.json +13 -20
  345. package/dist/composables/_internal/use-list-filter.d.ts +0 -15
  346. package/dist/composables/_internal/use-list-filter.js +0 -48
@@ -164,7 +164,7 @@ watch(() => props.modelValue, (value) => {
164
164
  aria-label="Previous year"
165
165
  @click="changeYear(-1)"
166
166
  >
167
- <ChevronDoubleLeftIcon class="size-4" aria-hidden="true" />
167
+ <ChevronDoubleLeftIcon class="size-em" aria-hidden="true" />
168
168
  </PButton>
169
169
  <PButton
170
170
  icon
@@ -174,7 +174,7 @@ watch(() => props.modelValue, (value) => {
174
174
  aria-label="Previous month"
175
175
  @click="changeMonth(-1)"
176
176
  >
177
- <ChevronRightIcon class="size-4 rotate-180" aria-hidden="true" />
177
+ <ChevronRightIcon class="size-em rotate-180" aria-hidden="true" />
178
178
  </PButton>
179
179
 
180
180
  <PButton size="xs" class="px-0" @click="selectToday">
@@ -189,7 +189,7 @@ watch(() => props.modelValue, (value) => {
189
189
  aria-label="Next month"
190
190
  @click="changeMonth(1)"
191
191
  >
192
- <ChevronRightIcon class="size-4" aria-hidden="true" />
192
+ <ChevronRightIcon class="size-em" aria-hidden="true" />
193
193
  </PButton>
194
194
  <PButton
195
195
  icon
@@ -199,7 +199,7 @@ watch(() => props.modelValue, (value) => {
199
199
  aria-label="Next year"
200
200
  @click="changeYear(1)"
201
201
  >
202
- <ChevronDoubleRightIcon class="size-4" aria-hidden="true" />
202
+ <ChevronDoubleRightIcon class="size-em" aria-hidden="true" />
203
203
  </PButton>
204
204
  </div>
205
205
 
@@ -1,12 +1,14 @@
1
1
  import type { CardProps } from './types';
2
- declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
3
- type __VLS_Slots = {} & {
4
- header?: (props: typeof __VLS_1) => any;
5
- } & {
6
- default?: (props: typeof __VLS_3) => any;
7
- } & {
8
- footer?: (props: typeof __VLS_5) => any;
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ header?: (props: {}) => any;
5
+ } & {
6
+ default?: (props: {}) => any;
7
+ } & {
8
+ footer?: (props: {}) => any;
9
+ };
9
10
  };
11
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
10
12
  declare const __VLS_base: import("vue").DefineComponent<CardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {
11
13
  shape: import("../../types/shared/props.js").ComponentShape;
12
14
  border: boolean;
@@ -1,16 +1,18 @@
1
1
  import type { CarouselProps } from './types';
2
- declare var __VLS_2: {
3
- item: import("./types").CarouselOption;
4
- index: number;
5
- }, __VLS_4: {
6
- current: number;
7
- total: number;
8
- };
9
- type __VLS_Slots = {} & {
10
- item?: (props: typeof __VLS_2) => any;
11
- } & {
12
- indicator?: (props: typeof __VLS_4) => any;
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ item?: (props: {
5
+ item: import("./types").CarouselOption;
6
+ index: number;
7
+ }) => any;
8
+ } & {
9
+ indicator?: (props: {
10
+ current: number;
11
+ total: number;
12
+ }) => any;
13
+ };
13
14
  };
15
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
14
16
  declare const __VLS_base: import("vue").DefineComponent<CarouselProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
17
  change: (index: number) => any;
16
18
  }, string, import("vue").PublicProps, Readonly<CarouselProps> & Readonly<{
@@ -1,13 +1,13 @@
1
1
  import type {
2
2
  BasePosition,
3
3
  ComponentDirection,
4
- ComponentLabel,
4
+ ComponentText,
5
5
  ComponentValue,
6
6
  } from '../../types/shared/props'
7
7
 
8
8
  export interface CarouselOption {
9
9
  /** Rendered as the slide content when no `item` slot is provided. */
10
- label?: ComponentLabel
10
+ label?: ComponentText
11
11
  /** Used as the vnode key; falls back to the slide index. */
12
12
  value?: ComponentValue
13
13
  [key: string]: any
@@ -1,8 +1,10 @@
1
1
  import type { CheckboxProps } from './types';
2
- declare var __VLS_11: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_11) => any;
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ default?: (props: {}) => any;
5
+ };
5
6
  };
7
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
6
8
  declare const __VLS_base: import("vue").DefineComponent<CheckboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
9
  change: (args_0: NonNullable<import("./types").CheckboxModelValue>) => any;
8
10
  "update:model-value": (args_0: NonNullable<import("./types").CheckboxModelValue>) => any;
@@ -1,9 +1,9 @@
1
- import type { ComponentLabel, ComponentValue, ComponentShape } from '../../types/shared/props'
1
+ import type { ComponentText, ComponentValue, ComponentShape } from '../../types/shared/props'
2
2
 
3
3
  type CheckboxModelValue = ComponentValue | boolean
4
4
 
5
5
  export interface CheckboxProps {
6
- label?: ComponentLabel
6
+ label?: ComponentText
7
7
  value?: CheckboxModelValue
8
8
  shape?: ComponentShape
9
9
  disabled?: boolean
@@ -1,8 +1,10 @@
1
1
  import type { CheckboxGroupProps } from './types';
2
- declare var __VLS_7: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_7) => any;
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ default?: (props: {}) => any;
5
+ };
5
6
  };
7
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
6
8
  declare const __VLS_base: import("vue").DefineComponent<CheckboxGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
9
  change: (args_0: import("./types").CheckboxGroupModelValue[]) => any;
8
10
  "update:model-value": (args_0: import("./types").CheckboxGroupModelValue[]) => any;
@@ -1,8 +1,10 @@
1
1
  import type { CheckerboardProps } from './types';
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ default?: (props: {}) => any;
5
+ };
5
6
  };
7
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
6
8
  declare const __VLS_base: import("vue").DefineComponent<CheckerboardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CheckerboardProps> & Readonly<{}>, {
7
9
  variant: "grid" | "checkerboard" | "dots";
8
10
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -44,5 +44,5 @@ const computedStyle = computed(() => ({
44
44
  </template>
45
45
 
46
46
  <style>
47
- .pxd-checkerboard{--checkerboard-size:20px;--checkerboard-primary-color:var(--color-gray-200);--checkerboard-background-color:var(--color-background-100);background-image:repeating-conic-gradient(var(--checkerboard-background-color) 0,var(--checkerboard-background-color) 25%,var(--checkerboard-primary-color) 25%,var(--checkerboard-primary-color) 50%);background-size:var(--checkerboard-size) var(--checkerboard-size)}.pxd-checkerboard[data-variant=dots],.pxd-checkerboard[data-variant=grid]{background-color:var(--checkerboard-background-color)}.pxd-checkerboard[data-variant=grid]{background-image:linear-gradient(to right,transparent calc(100% - 1px),var(--checkerboard-primary-color) calc(100% - 1px)),linear-gradient(to bottom,transparent calc(100% - 1px),var(--checkerboard-primary-color) calc(100% - 1px));background-position:calc(var(--checkerboard-size)/2) calc(var(--checkerboard-size)/2)}.pxd-checkerboard[data-variant=dots]{background-image:radial-gradient(var(--checkerboard-primary-color) 1px,transparent 1px);background-position:0 0}
47
+ .pxd-checkerboard{--checkerboard-size:1.25rem;--checkerboard-primary-color:var(--color-gray-200);--checkerboard-background-color:var(--color-background-100);background-image:repeating-conic-gradient(var(--checkerboard-background-color) 0,var(--checkerboard-background-color) 25%,var(--checkerboard-primary-color) 25%,var(--checkerboard-primary-color) 50%);background-size:var(--checkerboard-size) var(--checkerboard-size)}.pxd-checkerboard[data-variant=dots],.pxd-checkerboard[data-variant=grid]{background-color:var(--checkerboard-background-color)}.pxd-checkerboard[data-variant=grid]{background-image:linear-gradient(to right,transparent calc(100% - 1px),var(--checkerboard-primary-color) calc(100% - 1px)),linear-gradient(to bottom,transparent calc(100% - 1px),var(--checkerboard-primary-color) calc(100% - 1px));background-position:calc(var(--checkerboard-size)/2) calc(var(--checkerboard-size)/2)}.pxd-checkerboard[data-variant=dots]{background-image:radial-gradient(var(--checkerboard-primary-color) 1px,transparent 1px);background-position:0 0}
48
48
  </style>
@@ -1,8 +1,10 @@
1
1
  import type { ChipProps } from './types';
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ default?: (props: {}) => any;
5
+ };
5
6
  };
7
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
6
8
  declare const __VLS_base: import("vue").DefineComponent<ChipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChipProps> & Readonly<{}>, {
7
9
  variant: "secondary" | import("../../types/shared/props.js").ComponentVariant;
8
10
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -62,5 +62,5 @@ const { classes } = useTailwindVariant({
62
62
  </template>
63
63
 
64
64
  <style>
65
- .pxd-chip--label:after{content:attr(data-label);display:block;padding-inline:2px;transform:scale(.875)}
65
+ .pxd-chip--label:after{content:attr(data-label);display:block;padding-inline:.125rem;transform:scale(.875)}
66
66
  </style>
@@ -1,8 +1,8 @@
1
- import type { ComponentLabel, ComponentVariant } from '../../types/shared/props'
1
+ import type { ComponentText, ComponentVariant } from '../../types/shared/props'
2
2
 
3
3
  export interface ChipProps {
4
4
  size?: number | string
5
5
  inset?: boolean
6
- label?: ComponentLabel
6
+ label?: ComponentText
7
7
  variant?: ComponentVariant | 'secondary'
8
8
  }
@@ -1,8 +1,10 @@
1
1
  import type { ChoiceboxProps } from './types';
2
- declare var __VLS_7: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_7) => any;
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ default?: (props: {}) => any;
5
+ };
5
6
  };
7
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
6
8
  declare const __VLS_base: import("vue").DefineComponent<ChoiceboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
9
  change: (args_0: NonNullable<import("../../types/shared/props.js").ComponentValue | import("../../types/shared/props.js").ComponentValue[] | undefined>) => any;
8
10
  "update:model-value": (args_0: NonNullable<import("../../types/shared/props.js").ComponentValue | import("../../types/shared/props.js").ComponentValue[] | undefined>) => any;
@@ -1,16 +1,16 @@
1
1
  import type {
2
- ComponentLabel,
2
+ ComponentText,
3
3
  ComponentValue,
4
- ComponentOption,
4
+ ComponentOptionWithDescription,
5
5
  ResponsiveValue,
6
6
  } from '../../types/shared/props'
7
7
 
8
8
  export interface ChoiceboxProps {
9
9
  gap?: ResponsiveValue<number | string>
10
- label?: ComponentLabel
10
+ label?: ComponentText
11
11
  multiple?: boolean
12
12
  disabled?: boolean
13
- options?: ComponentOption[]
13
+ options?: ComponentOptionWithDescription[]
14
14
  modelValue?: ComponentValue | ComponentValue[]
15
15
  }
16
16
 
@@ -1,12 +1,14 @@
1
1
  import type { ChoiceboxItemProps } from './types';
2
- declare var __VLS_6: {}, __VLS_8: {}, __VLS_10: {};
3
- type __VLS_Slots = {} & {
4
- label?: (props: typeof __VLS_6) => any;
5
- } & {
6
- description?: (props: typeof __VLS_8) => any;
7
- } & {
8
- default?: (props: typeof __VLS_10) => any;
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ label?: (props: {}) => any;
5
+ } & {
6
+ description?: (props: {}) => any;
7
+ } & {
8
+ default?: (props: {}) => any;
9
+ };
9
10
  };
11
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
10
12
  declare const __VLS_base: import("vue").DefineComponent<ChoiceboxItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChoiceboxItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
14
  declare const _default: typeof __VLS_export;
@@ -24,7 +24,7 @@ const props = defineProps({
24
24
  required: false
25
25
  },
26
26
  description: {
27
- type: String,
27
+ type: null,
28
28
  required: false
29
29
  }
30
30
  });
@@ -51,7 +51,7 @@ const isSelected = computed(() => {
51
51
  return modelValue.value === props.value;
52
52
  });
53
53
  const { attrs, classes } = useTailwindVariant({
54
- base: "pxd-choicebox-item w-full flex-1 shrink-0 rounded-md border motion-safe:transition-colors",
54
+ base: "pxd-choicebox-item w-full flex-1 shrink-0 rounded-lg border motion-safe:transition-colors",
55
55
  variants: {
56
56
  disabled: {
57
57
  true: "cursor-not-allowed opacity-50",
@@ -140,7 +140,7 @@ function onInputChange(event) {
140
140
  v-bind="attrs"
141
141
  >
142
142
  <div
143
- class="pxd-choicebox-item--option p-3 relative flex items-center justify-between motion-safe:transition-colors"
143
+ class="pxd-choicebox-item--option p-3 gap-2 relative flex items-center justify-between motion-safe:transition-colors"
144
144
  >
145
145
  <input
146
146
  :id="inputId"
@@ -157,13 +157,17 @@ function onInputChange(event) {
157
157
  <CheckIcon v-if="isMultiple && isSelected" />
158
158
  </span>
159
159
 
160
- <div class="gap-1 flex flex-col">
160
+ <div class="gap-0.5 flex flex-col">
161
161
  <span class="pxd-choicebox-item--label text-sm font-medium">
162
162
  <slot name="label">
163
163
  {{ label }}
164
164
  </slot>
165
165
  </span>
166
- <span class="pxd-choicebox-item--description text-sm text-gray-900 empty:hidden">
166
+
167
+ <span
168
+ v-if="description || $slots.description"
169
+ class="pxd-choicebox-item--description text-xs text-foreground-secondary empty:hidden"
170
+ >
167
171
  <slot name="description">
168
172
  {{ description }}
169
173
  </slot>
@@ -1,8 +1,8 @@
1
- import type { ComponentLabel, ComponentValue } from '../../types/shared/props'
1
+ import type { ComponentText, ComponentValue } from '../../types/shared/props'
2
2
 
3
3
  export interface ChoiceboxItemProps {
4
- label?: ComponentLabel
4
+ label?: ComponentText
5
5
  value: ComponentValue
6
6
  disabled?: boolean
7
- description?: string
7
+ description?: ComponentText
8
8
  }
@@ -1,10 +1,12 @@
1
1
  import type { CodeBlockProps } from './types';
2
- declare var __VLS_2: {}, __VLS_9: {};
3
- type __VLS_Slots = {} & {
4
- header?: (props: typeof __VLS_2) => any;
5
- } & {
6
- actions?: (props: typeof __VLS_9) => any;
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ header?: (props: {}) => any;
5
+ } & {
6
+ actions?: (props: {}) => any;
7
+ };
7
8
  };
9
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
8
10
  declare const __VLS_base: import("vue").DefineComponent<CodeBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
11
  copy: (args_0: string) => any;
10
12
  "switcher-change": (args_0: string) => any;
@@ -105,11 +105,11 @@ const { scheduleHighlight } = useCodeHighlight();
105
105
  const slots = useSlots();
106
106
  const hasHeader = computed(() => !!(props.title || props.switcher || slots.header || slots.actions));
107
107
  const { attrs, classes } = useTailwindVariant({
108
- base: "pxd-code-block relative flex flex-col text-gray-1000",
108
+ base: "pxd-code-block min-w-0 relative flex max-w-full flex-col text-gray-1000",
109
109
  variants: { size: {
110
- sm: "text-[13px]",
111
- md: "text-[13px]",
112
- lg: "text-[15px]"
110
+ sm: "text-sm",
111
+ md: "text-xs",
112
+ lg: "text-[0.9375rem]"
113
113
  } }
114
114
  }, { selection: () => ({ size: props.size || configProvider.size }) });
115
115
  /** FNV-1a over the code: line anchors must stay stable across reloads to be shareable. */
@@ -234,7 +234,7 @@ onUnmounted(() => {
234
234
  role="tab"
235
235
  :tabindex="option.value === activeTabValue ? 0 : -1"
236
236
  :aria-selected="option.value === activeTabValue"
237
- class="h-8 px-3 font-medium cursor-pointer rounded-md text-[13px] text-gray-900 not-aria-selected:hover:text-gray-1000 aria-selected:bg-gray-200 aria-selected:text-gray-1000 motion-safe:transition-colors"
237
+ class="h-8 px-3 font-medium text-xs cursor-pointer rounded-md text-gray-900 not-aria-selected:hover:text-gray-1000 aria-selected:bg-gray-200 aria-selected:text-gray-1000 motion-safe:transition-colors"
238
238
  @click="onTabSelect(option.value)"
239
239
  >
240
240
  {{ option.label || option.value }}
@@ -247,8 +247,8 @@ onUnmounted(() => {
247
247
  class="pxd-code-block--header gap-2 ps-3 pe-0.75 h-9 flex items-center rounded-t-lg border bg-background-200"
248
248
  >
249
249
  <slot name="header">
250
- <FileIcon class="size-4 shrink-0 text-gray-900" aria-hidden="true" />
251
- <span class="min-w-0 truncate text-[13px] text-gray-900">{{ title }}</span>
250
+ <FileIcon class="size-em shrink-0 text-gray-900" aria-hidden="true" />
251
+ <span class="min-w-0 text-xs truncate text-gray-900">{{ title }}</span>
252
252
  </slot>
253
253
 
254
254
  <div class="gap-1 min-w-0 ms-auto flex items-center">
@@ -257,7 +257,7 @@ onUnmounted(() => {
257
257
  <div v-if="switcher" class="h-7 group/select relative shrink-0">
258
258
  <div
259
259
  aria-hidden="true"
260
- class="px-2 gap-1 flex h-full cursor-pointer items-center rounded-md bg-background-200 text-[13px] whitespace-nowrap text-gray-900 group-hover/select:bg-gray-200 has-focus-visible:self-focus-ring motion-safe:transition-colors"
260
+ class="px-2 gap-1 text-xs flex h-full cursor-pointer items-center rounded-md bg-background-200 whitespace-nowrap text-gray-900 group-hover/select:bg-gray-200 has-focus-visible:self-focus-ring motion-safe:transition-colors"
261
261
  >
262
262
  <span class="truncate">{{ activeSwitcherLabel }}</span>
263
263
  <ChevronDownIcon class="size-3 shrink-0" />
@@ -349,7 +349,7 @@ onUnmounted(() => {
349
349
  </div>
350
350
 
351
351
  <div v-if="collapsible && isOverflowing" class="border-t border-gray-alpha-300">
352
- <PButton variant="ghost" size="sm" full-width class="rounded-none" @click="toggleExpanded">
352
+ <PButton variant="ghost" size="sm" full-width shape="square" @click="toggleExpanded">
353
353
  {{ configProvider.locale.codeBlock[expanded ? "collapse" : "expand"] }}
354
354
  </PButton>
355
355
  </div>
@@ -358,5 +358,5 @@ onUnmounted(() => {
358
358
  </template>
359
359
 
360
360
  <style>
361
- .pxd-code-block{--syntax-comment:hsl(var(--color-gray-700-value));--syntax-keyword:hsl(var(--color-purple-900-value));--syntax-operator:hsl(var(--color-gray-800-value));--syntax-string:hsl(var(--color-green-900-value));--syntax-constant:hsl(var(--color-blue-900-value));--syntax-function:hsl(var(--color-teal-900-value));--syntax-type:hsl(var(--color-blue-900-value));--syntax-variable:hsl(var(--color-amber-900-value));--syntax-property:hsl(var(--color-gray-1000-value));--syntax-tag:hsl(var(--color-red-900-value));--syntax-selector:hsl(var(--color-green-900-value));--syntax-inserted:hsl(var(--color-green-900-value));--syntax-deleted:hsl(var(--color-red-900-value))}.pxd-code-block code::highlight(comment),.pxd-code-block code::highlight(quote){color:var(--syntax-comment)}.pxd-code-block code::highlight(at-rule),.pxd-code-block code::highlight(doctype),.pxd-code-block code::highlight(important),.pxd-code-block code::highlight(keyword),.pxd-code-block code::highlight(section),.pxd-code-block code::highlight(storage){color:var(--syntax-keyword)}.pxd-code-block code::highlight(operator),.pxd-code-block code::highlight(punctuation){color:var(--syntax-operator)}.pxd-code-block code::highlight(attribute-value),.pxd-code-block code::highlight(link),.pxd-code-block code::highlight(raw),.pxd-code-block code::highlight(regexp),.pxd-code-block code::highlight(string){color:var(--syntax-string)}.pxd-code-block code::highlight(anchor),.pxd-code-block code::highlight(boolean),.pxd-code-block code::highlight(character-entity),.pxd-code-block code::highlight(constant),.pxd-code-block code::highlight(entity),.pxd-code-block code::highlight(numeric),.pxd-code-block code::highlight(symbol){color:var(--syntax-constant)}.pxd-code-block code::highlight(animation),.pxd-code-block code::highlight(decorator),.pxd-code-block code::highlight(function){color:var(--syntax-function)}.pxd-code-block code::highlight(support),.pxd-code-block code::highlight(type){color:var(--syntax-type)}.pxd-code-block code::highlight(interpolation),.pxd-code-block code::highlight(variable){color:var(--syntax-variable)}.pxd-code-block code::highlight(attribute-name),.pxd-code-block code::highlight(key),.pxd-code-block code::highlight(property){color:var(--syntax-property)}.pxd-code-block code::highlight(tag){color:var(--syntax-tag)}.pxd-code-block code::highlight(selector){color:var(--syntax-selector)}.pxd-code-block code::highlight(inserted){color:var(--syntax-inserted)}.pxd-code-block code::highlight(deleted){color:var(--syntax-deleted)}.pxd-code-block--fade{-webkit-mask-image:linear-gradient(0deg,#000,transparent);mask-image:linear-gradient(0deg,#000,transparent)}.pxd-code-block--line[data-added=true]:after,.pxd-code-block--line[data-removed=true]:after{font-weight:500;inset:0;padding-left:8px;pointer-events:none;position:absolute}.pxd-code-block--line[data-added=true]:after{color:var(--color-green-900);content:"+"}.pxd-code-block--line[data-removed=true]:after{color:var(--color-red-900);content:"-"}@media (max-width:600px){.pxd-code-block--line-number{display:none}}
361
+ .pxd-code-block{--syntax-comment:hsl(var(--color-gray-700-value));--syntax-keyword:hsl(var(--color-purple-900-value));--syntax-operator:hsl(var(--color-gray-800-value));--syntax-string:hsl(var(--color-green-900-value));--syntax-constant:hsl(var(--color-blue-900-value));--syntax-function:hsl(var(--color-teal-900-value));--syntax-type:hsl(var(--color-blue-900-value));--syntax-variable:hsl(var(--color-amber-900-value));--syntax-property:hsl(var(--color-gray-1000-value));--syntax-tag:hsl(var(--color-red-900-value));--syntax-selector:hsl(var(--color-green-900-value));--syntax-inserted:hsl(var(--color-green-900-value));--syntax-deleted:hsl(var(--color-red-900-value))}.pxd-code-block code::highlight(comment),.pxd-code-block code::highlight(quote){color:var(--syntax-comment)}.pxd-code-block code::highlight(at-rule),.pxd-code-block code::highlight(doctype),.pxd-code-block code::highlight(important),.pxd-code-block code::highlight(keyword),.pxd-code-block code::highlight(section),.pxd-code-block code::highlight(storage){color:var(--syntax-keyword)}.pxd-code-block code::highlight(operator),.pxd-code-block code::highlight(punctuation){color:var(--syntax-operator)}.pxd-code-block code::highlight(attribute-value),.pxd-code-block code::highlight(link),.pxd-code-block code::highlight(raw),.pxd-code-block code::highlight(regexp),.pxd-code-block code::highlight(string){color:var(--syntax-string)}.pxd-code-block code::highlight(anchor),.pxd-code-block code::highlight(boolean),.pxd-code-block code::highlight(character-entity),.pxd-code-block code::highlight(constant),.pxd-code-block code::highlight(entity),.pxd-code-block code::highlight(numeric),.pxd-code-block code::highlight(symbol){color:var(--syntax-constant)}.pxd-code-block code::highlight(animation),.pxd-code-block code::highlight(decorator),.pxd-code-block code::highlight(function){color:var(--syntax-function)}.pxd-code-block code::highlight(support),.pxd-code-block code::highlight(type){color:var(--syntax-type)}.pxd-code-block code::highlight(interpolation),.pxd-code-block code::highlight(variable){color:var(--syntax-variable)}.pxd-code-block code::highlight(attribute-name),.pxd-code-block code::highlight(key),.pxd-code-block code::highlight(property){color:var(--syntax-property)}.pxd-code-block code::highlight(tag){color:var(--syntax-tag)}.pxd-code-block code::highlight(selector){color:var(--syntax-selector)}.pxd-code-block code::highlight(inserted){color:var(--syntax-inserted)}.pxd-code-block code::highlight(deleted){color:var(--syntax-deleted)}.pxd-code-block--fade{-webkit-mask-image:linear-gradient(0deg,#000,transparent);mask-image:linear-gradient(0deg,#000,transparent)}.pxd-code-block--line[data-added=true]:after,.pxd-code-block--line[data-removed=true]:after{font-weight:500;inset:0;padding-left:.5rem;pointer-events:none;position:absolute}.pxd-code-block--line[data-added=true]:after{color:var(--color-green-900);content:"+"}.pxd-code-block--line[data-removed=true]:after{color:var(--color-red-900);content:"-"}@media (max-width:600px){.pxd-code-block--line-number{display:none}}
362
362
  </style>
@@ -1,4 +1,4 @@
1
- import type { ComponentLabel } from '../../types/shared/props'
1
+ import type { ComponentText } from '../../types/shared/props'
2
2
 
3
3
  export interface CodeBlockSwitcherOption {
4
4
  label?: string
@@ -13,7 +13,7 @@ export interface CodeBlockSwitcherProps {
13
13
  export interface CodeBlockProps {
14
14
  code: string
15
15
  language?: string
16
- title?: ComponentLabel
16
+ title?: ComponentText
17
17
  size?: 'sm' | 'md' | 'lg'
18
18
  lineNumbers?: boolean
19
19
  highlightedLines?: number[]
@@ -1,10 +1,12 @@
1
1
  import type { CollapseProps } from './types';
2
- declare var __VLS_1: {}, __VLS_8: {};
3
- type __VLS_Slots = {} & {
4
- title?: (props: typeof __VLS_1) => any;
5
- } & {
6
- default?: (props: typeof __VLS_8) => any;
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ title?: (props: {}) => any;
5
+ } & {
6
+ default?: (props: {}) => any;
7
+ };
7
8
  };
9
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
8
10
  declare const __VLS_base: import("vue").DefineComponent<CollapseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
11
  toggle: (args_0: MouseEvent) => any;
10
12
  }, string, import("vue").PublicProps, Readonly<CollapseProps> & Readonly<{
@@ -70,7 +70,7 @@ onBeforeUnmount(() => {
70
70
  </h3>
71
71
 
72
72
  <ChevronRightIcon
73
- class="size-4 shrink-0 motion-safe:transition-transform"
73
+ class="size-em shrink-0 motion-safe:transition-transform"
74
74
  :class="{ 'rotate-90': isOpen }"
75
75
  />
76
76
  </summary>
@@ -88,5 +88,5 @@ onBeforeUnmount(() => {
88
88
  </template>
89
89
 
90
90
  <style>
91
- .pxd-collapse--trigger{font-size:var(--collapse-font-size,24px);font-weight:var(--collapse-font-weight,600);padding-block:var(--collapse-padding,24px)}
91
+ .pxd-collapse--trigger{font-size:var(--collapse-font-size,1.5rem);font-weight:var(--collapse-font-weight,600);padding-block:var(--collapse-padding,1.5rem)}
92
92
  </style>
@@ -1,7 +1,7 @@
1
- import type { ComponentLabel } from '../../types/shared/props'
1
+ import type { ComponentText } from '../../types/shared/props'
2
2
 
3
3
  export interface CollapseProps {
4
- title?: ComponentLabel
4
+ title?: ComponentText
5
5
  expand?: boolean
6
6
  }
7
7
 
@@ -1,8 +1,10 @@
1
1
  import type { CollapseGroupProps } from './types';
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ default?: (props: {}) => any;
5
+ };
5
6
  };
7
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
6
8
  declare const __VLS_base: import("vue").DefineComponent<CollapseGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CollapseGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
9
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
10
  declare const _default: typeof __VLS_export;
@@ -19,18 +19,18 @@ const props = defineProps({
19
19
  });
20
20
  const SIZES = {
21
21
  sm: {
22
- padding: "12px",
23
- fontSize: "16px",
22
+ padding: "0.75rem",
23
+ fontSize: "1rem",
24
24
  fontWeight: "500"
25
25
  },
26
26
  md: {
27
- padding: "24px",
28
- fontSize: "24px",
27
+ padding: "1.5rem",
28
+ fontSize: "1.5rem",
29
29
  fontWeight: "600"
30
30
  },
31
31
  lg: {
32
- padding: "30px",
33
- fontSize: "28px",
32
+ padding: "1.875rem",
33
+ fontSize: "1.75rem",
34
34
  fontWeight: "600"
35
35
  }
36
36
  };
@@ -1,15 +1,17 @@
1
1
  import type { CommandMenuProps } from './types';
2
- declare var __VLS_21: {
3
- item: import("../list/types.js").ListOption;
4
- index: number;
5
- group: import("../list/types.js").ListOptionGroup | undefined;
6
- groupIndex: number | undefined;
7
- }, __VLS_24: {};
8
- type __VLS_Slots = {} & {
9
- item?: (props: typeof __VLS_21) => any;
10
- } & {
11
- footer?: (props: typeof __VLS_24) => any;
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ item?: (props: {
5
+ item: import("../list/types.js").ListOption;
6
+ index: number;
7
+ group: import("../list/types.js").ListOptionGroup | undefined;
8
+ groupIndex: number | undefined;
9
+ }) => any;
10
+ } & {
11
+ footer?: (props: {}) => any;
12
+ };
12
13
  };
14
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
13
15
  declare const __VLS_base: import("vue").DefineComponent<CommandMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
16
  change: (args_0: boolean) => any;
15
17
  "update:model-value": (args_0: boolean) => any;
@@ -23,8 +25,8 @@ declare const __VLS_base: import("vue").DefineComponent<CommandMenuProps, {}, {}
23
25
  }>, {
24
26
  width: string | number;
25
27
  modelValue: boolean;
26
- closeOnPressEscape: boolean;
27
28
  placeholder: string;
29
+ closeOnPressEscape: boolean;
28
30
  closeOnClickOverlay: boolean;
29
31
  closeOnSelectItem: boolean;
30
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;