@k8ordo/ui 2.0.0 → 2.1.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 (637) hide show
  1. package/README.md +197 -187
  2. package/dist/_virtual/_rolldown/runtime.mjs +13 -0
  3. package/dist/components/_internal/focus-ring.css +37 -0
  4. package/dist/components/_internal/focus-ring.module.mjs +9 -0
  5. package/dist/components/_internal/form-value.d.mts +33 -0
  6. package/dist/components/_internal/form-value.mjs +91 -0
  7. package/dist/components/_internal/high-contrast.css +18 -0
  8. package/dist/components/_internal/high-contrast.module.mjs +5 -0
  9. package/dist/components/_internal/ignore-changes.d.mts +20 -0
  10. package/dist/components/_internal/ignore-changes.mjs +37 -0
  11. package/dist/components/_internal/nav-link.css +78 -0
  12. package/dist/components/_internal/nav-link.d.mts +5 -0
  13. package/dist/components/_internal/nav-link.mjs +8 -0
  14. package/dist/components/_internal/nav-link.module.mjs +14 -0
  15. package/dist/components/_internal/sr-only.css +17 -0
  16. package/dist/components/_internal/sr-only.module.mjs +5 -0
  17. package/dist/components/_internal/status-tone.css +37 -0
  18. package/dist/components/_internal/status-tone.d.mts +20 -0
  19. package/dist/components/_internal/status-tone.mjs +22 -0
  20. package/dist/components/_internal/status-tone.module.mjs +14 -0
  21. package/dist/components/ai/_internal/attachment-preview.css +75 -0
  22. package/dist/components/ai/_internal/attachment-preview.d.mts +14 -0
  23. package/dist/components/ai/_internal/attachment-preview.mjs +50 -0
  24. package/dist/components/ai/_internal/attachment-preview.module.mjs +14 -0
  25. package/dist/components/ai/_internal/collapsible.css +62 -0
  26. package/dist/components/ai/_internal/collapsible.d.mts +4 -3
  27. package/dist/components/ai/_internal/collapsible.mjs +42 -33
  28. package/dist/components/ai/_internal/collapsible.module.mjs +12 -0
  29. package/dist/components/ai/_internal/icons.d.mts +7 -0
  30. package/dist/components/ai/_internal/icons.mjs +14 -0
  31. package/dist/components/ai/_internal/streaming-cursor.css +28 -0
  32. package/dist/components/ai/_internal/streaming-cursor.d.mts +2 -3
  33. package/dist/components/ai/_internal/streaming-cursor.mjs +2 -1
  34. package/dist/components/ai/_internal/streaming-cursor.module.mjs +8 -0
  35. package/dist/components/ai/attachment/attachment.css +17 -0
  36. package/dist/components/ai/attachment/attachment.d.mts +14 -0
  37. package/dist/components/ai/attachment/attachment.mjs +25 -0
  38. package/dist/components/ai/attachment/attachment.module.mjs +8 -0
  39. package/dist/components/ai/attachment/index.d.mts +13 -0
  40. package/dist/components/ai/attachment/index.mjs +8 -0
  41. package/dist/components/ai/conversation/conversation.css +71 -0
  42. package/dist/components/ai/conversation/conversation.d.mts +4 -5
  43. package/dist/components/ai/conversation/conversation.mjs +38 -34
  44. package/dist/components/ai/conversation/conversation.module.mjs +11 -0
  45. package/dist/components/ai/conversation/index.d.mts +2 -3
  46. package/dist/components/ai/index.d.mts +4 -2
  47. package/dist/components/ai/index.mjs +3 -1
  48. package/dist/components/ai/message/index.d.mts +29 -3
  49. package/dist/components/ai/message/index.mjs +7 -2
  50. package/dist/components/ai/message/message.css +71 -0
  51. package/dist/components/ai/message/message.d.mts +34 -4
  52. package/dist/components/ai/message/message.mjs +99 -9
  53. package/dist/components/ai/message/message.module.mjs +18 -0
  54. package/dist/components/ai/prompt-input/index.d.mts +11 -4
  55. package/dist/components/ai/prompt-input/index.mjs +3 -1
  56. package/dist/components/ai/prompt-input/prompt-input.css +101 -0
  57. package/dist/components/ai/prompt-input/prompt-input.d.mts +15 -6
  58. package/dist/components/ai/prompt-input/prompt-input.mjs +152 -37
  59. package/dist/components/ai/prompt-input/prompt-input.module.mjs +15 -0
  60. package/dist/components/ai/reasoning/reasoning.css +16 -0
  61. package/dist/components/ai/reasoning/reasoning.d.mts +2 -3
  62. package/dist/components/ai/reasoning/reasoning.mjs +5 -5
  63. package/dist/components/ai/reasoning/reasoning.module.mjs +8 -0
  64. package/dist/components/ai/response/response.css +453 -0
  65. package/dist/components/ai/response/response.d.mts +4 -6
  66. package/dist/components/ai/response/response.mjs +20 -15
  67. package/dist/components/ai/response/response.module.mjs +8 -0
  68. package/dist/components/ai/source/index.d.mts +12 -0
  69. package/dist/components/ai/source/index.mjs +8 -0
  70. package/dist/components/ai/source/source.css +54 -0
  71. package/dist/components/ai/source/source.d.mts +13 -0
  72. package/dist/components/ai/source/source.mjs +51 -0
  73. package/dist/components/ai/source/source.module.mjs +12 -0
  74. package/dist/components/ai/suggestion/index.d.mts +2 -3
  75. package/dist/components/ai/suggestion/suggestion.css +32 -0
  76. package/dist/components/ai/suggestion/suggestion.d.mts +3 -4
  77. package/dist/components/ai/suggestion/suggestion.mjs +7 -6
  78. package/dist/components/ai/suggestion/suggestion.module.mjs +8 -0
  79. package/dist/components/ai/tool-invocation/approval-bar.css +26 -0
  80. package/dist/components/ai/tool-invocation/approval-bar.d.mts +11 -0
  81. package/dist/components/ai/tool-invocation/approval-bar.mjs +59 -0
  82. package/dist/components/ai/tool-invocation/approval-bar.module.mjs +9 -0
  83. package/dist/components/ai/tool-invocation/tool-invocation.css +55 -0
  84. package/dist/components/ai/tool-invocation/tool-invocation.d.mts +5 -5
  85. package/dist/components/ai/tool-invocation/tool-invocation.mjs +39 -18
  86. package/dist/components/ai/tool-invocation/tool-invocation.module.mjs +15 -0
  87. package/dist/components/ai/types.d.mts +21 -4
  88. package/dist/components/buttons/button/button.css +158 -0
  89. package/dist/components/buttons/button/button.d.mts +32 -9
  90. package/dist/components/buttons/button/button.mjs +46 -36
  91. package/dist/components/buttons/button/button.module.mjs +23 -0
  92. package/dist/components/buttons/button/index.d.mts +2 -2
  93. package/dist/components/buttons/copy-button/copy-button.css +15 -0
  94. package/dist/components/buttons/copy-button/copy-button.d.mts +10 -0
  95. package/dist/components/buttons/copy-button/copy-button.mjs +70 -0
  96. package/dist/components/buttons/copy-button/copy-button.module.mjs +8 -0
  97. package/dist/components/buttons/copy-button/index.d.mts +2 -0
  98. package/dist/components/buttons/copy-button/index.mjs +2 -0
  99. package/dist/components/buttons/icon-button/icon-button.css +81 -0
  100. package/dist/components/buttons/icon-button/icon-button.d.mts +39 -12
  101. package/dist/components/buttons/icon-button/icon-button.mjs +70 -57
  102. package/dist/components/buttons/icon-button/icon-button.module.mjs +15 -0
  103. package/dist/components/buttons/icon-button/index.d.mts +2 -2
  104. package/dist/components/buttons/toolbar/index.d.mts +14 -0
  105. package/dist/components/buttons/toolbar/index.mjs +9 -0
  106. package/dist/components/buttons/toolbar/toolbar.css +30 -0
  107. package/dist/components/buttons/toolbar/toolbar.d.mts +18 -0
  108. package/dist/components/buttons/toolbar/toolbar.mjs +111 -0
  109. package/dist/components/buttons/toolbar/toolbar.module.mjs +9 -0
  110. package/dist/components/data-display/accordion/accordion-button.css +48 -0
  111. package/dist/components/data-display/accordion/accordion-button.d.mts +2 -3
  112. package/dist/components/data-display/accordion/accordion-button.mjs +5 -4
  113. package/dist/components/data-display/accordion/accordion-button.module.mjs +9 -0
  114. package/dist/components/data-display/accordion/accordion-item.css +11 -0
  115. package/dist/components/data-display/accordion/accordion-item.d.mts +2 -3
  116. package/dist/components/data-display/accordion/accordion-item.mjs +2 -1
  117. package/dist/components/data-display/accordion/accordion-item.module.mjs +5 -0
  118. package/dist/components/data-display/accordion/accordion-panel.css +9 -0
  119. package/dist/components/data-display/accordion/accordion-panel.d.mts +2 -3
  120. package/dist/components/data-display/accordion/accordion-panel.mjs +2 -2
  121. package/dist/components/data-display/accordion/accordion-panel.module.mjs +5 -0
  122. package/dist/components/data-display/accordion/accordion.css +19 -0
  123. package/dist/components/data-display/accordion/accordion.d.mts +2 -3
  124. package/dist/components/data-display/accordion/accordion.mjs +2 -1
  125. package/dist/components/data-display/accordion/accordion.module.mjs +5 -0
  126. package/dist/components/data-display/accordion/context.d.mts +3 -3
  127. package/dist/components/data-display/accordion/index.d.mts +2 -3
  128. package/dist/components/data-display/avatar/avatar.css +95 -0
  129. package/dist/components/data-display/avatar/avatar.d.mts +2 -3
  130. package/dist/components/data-display/avatar/avatar.mjs +22 -6
  131. package/dist/components/data-display/avatar/avatar.module.mjs +18 -0
  132. package/dist/components/data-display/badge/badge.css +160 -0
  133. package/dist/components/data-display/badge/badge.d.mts +2 -3
  134. package/dist/components/data-display/badge/badge.mjs +30 -5
  135. package/dist/components/data-display/badge/badge.module.mjs +21 -0
  136. package/dist/components/data-display/card/card.css +44 -0
  137. package/dist/components/data-display/card/card.d.mts +2 -3
  138. package/dist/components/data-display/card/card.mjs +12 -2
  139. package/dist/components/data-display/card/card.module.mjs +12 -0
  140. package/dist/components/data-display/carousel/carousel.css +83 -0
  141. package/dist/components/data-display/carousel/carousel.d.mts +11 -0
  142. package/dist/components/data-display/carousel/carousel.mjs +186 -0
  143. package/dist/components/data-display/carousel/carousel.module.mjs +18 -0
  144. package/dist/components/data-display/carousel/index.d.mts +11 -0
  145. package/dist/components/data-display/carousel/index.mjs +8 -0
  146. package/dist/components/data-display/code/code.css +37 -0
  147. package/dist/components/data-display/code/code.d.mts +2 -3
  148. package/dist/components/data-display/code/code.mjs +7 -6
  149. package/dist/components/data-display/code/code.module.mjs +9 -0
  150. package/dist/components/data-display/code/find-all-colors.d.mts +2 -3
  151. package/dist/components/data-display/code/find-all-colors.mjs +0 -161
  152. package/dist/components/data-display/code-block/code-block.css +161 -0
  153. package/dist/components/data-display/code-block/code-block.d.mts +12 -0
  154. package/dist/components/data-display/code-block/code-block.mjs +44 -0
  155. package/dist/components/data-display/code-block/code-block.module.mjs +11 -0
  156. package/dist/components/data-display/code-block/highlight.d.mts +9 -0
  157. package/dist/components/data-display/code-block/highlight.mjs +54 -0
  158. package/dist/components/data-display/code-block/index.d.mts +2 -0
  159. package/dist/components/data-display/code-block/index.mjs +2 -0
  160. package/dist/components/data-display/data-table/data-table.css +74 -0
  161. package/dist/components/data-display/data-table/data-table.d.mts +31 -0
  162. package/dist/components/data-display/data-table/data-table.mjs +155 -0
  163. package/dist/components/data-display/data-table/data-table.module.mjs +14 -0
  164. package/dist/components/data-display/data-table/index.d.mts +2 -0
  165. package/dist/components/data-display/data-table/index.mjs +2 -0
  166. package/dist/components/data-display/heading/heading.css +99 -0
  167. package/dist/components/data-display/heading/heading.d.mts +2 -3
  168. package/dist/components/data-display/heading/heading.mjs +15 -14
  169. package/dist/components/data-display/heading/heading.module.mjs +20 -0
  170. package/dist/components/data-display/kbd/index.d.mts +2 -0
  171. package/dist/components/data-display/kbd/index.mjs +2 -0
  172. package/dist/components/data-display/kbd/kbd.css +21 -0
  173. package/dist/components/data-display/kbd/kbd.d.mts +8 -0
  174. package/dist/components/data-display/kbd/kbd.mjs +17 -0
  175. package/dist/components/data-display/kbd/kbd.module.mjs +5 -0
  176. package/dist/components/data-display/prose/index.d.mts +2 -0
  177. package/dist/components/data-display/prose/index.mjs +2 -0
  178. package/dist/components/data-display/prose/prose.css +253 -0
  179. package/dist/components/data-display/prose/prose.d.mts +5 -0
  180. package/dist/components/data-display/prose/prose.mjs +10 -0
  181. package/dist/components/data-display/prose/prose.module.mjs +5 -0
  182. package/dist/components/data-display/table/table.css +107 -0
  183. package/dist/components/data-display/table/table.d.mts +10 -9
  184. package/dist/components/data-display/table/table.mjs +26 -15
  185. package/dist/components/data-display/table/table.module.mjs +22 -0
  186. package/dist/components/data-display/tree/index.d.mts +2 -0
  187. package/dist/components/data-display/tree/index.mjs +2 -0
  188. package/dist/components/data-display/tree/tree.css +84 -0
  189. package/dist/components/data-display/tree/tree.d.mts +20 -0
  190. package/dist/components/data-display/tree/tree.mjs +151 -0
  191. package/dist/components/data-display/tree/tree.module.mjs +15 -0
  192. package/dist/components/feedback/alert/alert.css +42 -0
  193. package/dist/components/feedback/alert/alert.d.mts +3 -4
  194. package/dist/components/feedback/alert/alert.mjs +20 -23
  195. package/dist/components/feedback/alert/alert.module.mjs +14 -0
  196. package/dist/components/feedback/callout/callout.css +38 -0
  197. package/dist/components/feedback/callout/callout.d.mts +10 -0
  198. package/dist/components/feedback/callout/callout.mjs +38 -0
  199. package/dist/components/feedback/callout/callout.module.mjs +11 -0
  200. package/dist/components/feedback/callout/index.d.mts +2 -0
  201. package/dist/components/feedback/callout/index.mjs +2 -0
  202. package/dist/components/feedback/empty-state/empty-state.css +36 -0
  203. package/dist/components/feedback/empty-state/empty-state.d.mts +10 -0
  204. package/dist/components/feedback/empty-state/empty-state.mjs +27 -0
  205. package/dist/components/feedback/empty-state/empty-state.module.mjs +11 -0
  206. package/dist/components/feedback/empty-state/index.d.mts +2 -0
  207. package/dist/components/feedback/empty-state/index.mjs +2 -0
  208. package/dist/components/feedback/progress/progress.css +78 -0
  209. package/dist/components/feedback/progress/progress.d.mts +5 -5
  210. package/dist/components/feedback/progress/progress.mjs +17 -3
  211. package/dist/components/feedback/progress/progress.module.mjs +12 -0
  212. package/dist/components/feedback/skeleton/skeleton.css +64 -0
  213. package/dist/components/feedback/skeleton/skeleton.d.mts +2 -3
  214. package/dist/components/feedback/skeleton/skeleton.mjs +19 -2
  215. package/dist/components/feedback/skeleton/skeleton.module.mjs +17 -0
  216. package/dist/components/feedback/spinner/spinner.css +40 -0
  217. package/dist/components/feedback/spinner/spinner.d.mts +2 -3
  218. package/dist/components/feedback/spinner/spinner.mjs +13 -7
  219. package/dist/components/feedback/spinner/spinner.module.mjs +12 -0
  220. package/dist/components/feedback/toast/context.d.mts +8 -9
  221. package/dist/components/feedback/toast/provider.css +69 -0
  222. package/dist/components/feedback/toast/provider.d.mts +2 -3
  223. package/dist/components/feedback/toast/provider.mjs +17 -13
  224. package/dist/components/feedback/toast/provider.module.mjs +12 -0
  225. package/dist/components/feedback/toast/toast.d.mts +2 -3
  226. package/dist/components/form/autocomplete/autocomplete.css +154 -0
  227. package/dist/components/form/autocomplete/autocomplete.d.mts +2 -3
  228. package/dist/components/form/autocomplete/autocomplete.mjs +70 -46
  229. package/dist/components/form/autocomplete/autocomplete.module.mjs +21 -0
  230. package/dist/components/form/calendar/calendar.css +98 -0
  231. package/dist/components/form/calendar/calendar.d.mts +14 -0
  232. package/dist/components/form/calendar/calendar.mjs +182 -0
  233. package/dist/components/form/calendar/calendar.module.mjs +18 -0
  234. package/dist/components/form/calendar/index.d.mts +2 -0
  235. package/dist/components/form/calendar/index.mjs +2 -0
  236. package/dist/components/form/checkbox/checkbox.css +90 -0
  237. package/dist/components/form/checkbox/checkbox.d.mts +4 -3
  238. package/dist/components/form/checkbox/checkbox.mjs +29 -27
  239. package/dist/components/form/checkbox/checkbox.module.mjs +13 -0
  240. package/dist/components/form/checkbox-card/checkbox-card.css +138 -0
  241. package/dist/components/form/checkbox-card/checkbox-card.d.mts +3 -4
  242. package/dist/components/form/checkbox-card/checkbox-card.mjs +17 -23
  243. package/dist/components/form/checkbox-card/checkbox-card.module.mjs +17 -0
  244. package/dist/components/form/checkbox-group/checkbox-group.css +15 -0
  245. package/dist/components/form/checkbox-group/checkbox-group.d.mts +7 -5
  246. package/dist/components/form/checkbox-group/checkbox-group.mjs +12 -16
  247. package/dist/components/form/checkbox-group/checkbox-group.module.mjs +8 -0
  248. package/dist/components/form/checkbox-group/index.d.mts +4 -3
  249. package/dist/components/form/color-picker/color-picker.css +172 -0
  250. package/dist/components/form/color-picker/color-picker.d.mts +28 -0
  251. package/dist/components/form/color-picker/color-picker.mjs +239 -0
  252. package/dist/components/form/color-picker/color-picker.module.mjs +20 -0
  253. package/dist/components/form/color-picker/index.d.mts +2 -0
  254. package/dist/components/form/color-picker/index.mjs +2 -0
  255. package/dist/components/form/combobox/combobox.css +143 -0
  256. package/dist/components/form/combobox/combobox.d.mts +32 -0
  257. package/dist/components/form/combobox/combobox.mjs +278 -0
  258. package/dist/components/form/combobox/combobox.module.mjs +19 -0
  259. package/dist/components/form/combobox/index.d.mts +2 -0
  260. package/dist/components/form/combobox/index.mjs +2 -0
  261. package/dist/components/form/date-field/date-field.css +31 -0
  262. package/dist/components/form/date-field/date-field.d.mts +8 -0
  263. package/dist/components/form/date-field/date-field.mjs +20 -0
  264. package/dist/components/form/date-field/date-field.module.mjs +5 -0
  265. package/dist/components/form/date-field/index.d.mts +2 -0
  266. package/dist/components/form/date-field/index.mjs +2 -0
  267. package/dist/components/form/date-picker/date-picker.css +90 -0
  268. package/dist/components/form/date-picker/date-picker.d.mts +12 -0
  269. package/dist/components/form/date-picker/date-picker.mjs +77 -0
  270. package/dist/components/form/date-picker/date-picker.module.mjs +14 -0
  271. package/dist/components/form/date-picker/index.d.mts +2 -0
  272. package/dist/components/form/date-picker/index.mjs +2 -0
  273. package/dist/components/form/file-field/file-field.css +88 -0
  274. package/dist/components/form/file-field/file-field.d.mts +9 -7
  275. package/dist/components/form/file-field/file-field.mjs +130 -37
  276. package/dist/components/form/file-field/file-field.module.mjs +17 -0
  277. package/dist/components/form/file-field/index.d.mts +5 -3
  278. package/dist/components/form/file-field/index.mjs +2 -1
  279. package/dist/components/form/form/form.css +11 -0
  280. package/dist/components/form/form/form.d.mts +4 -4
  281. package/dist/components/form/form/form.mjs +2 -1
  282. package/dist/components/form/form/form.module.mjs +5 -0
  283. package/dist/components/form/form-control/form-control.css +43 -0
  284. package/dist/components/form/form-control/form-control.d.mts +2 -3
  285. package/dist/components/form/form-control/form-control.mjs +11 -10
  286. package/dist/components/form/form-control/form-control.module.mjs +12 -0
  287. package/dist/components/form/number-field/cast.d.mts +2 -3
  288. package/dist/components/form/number-field/cast.mjs +3 -22
  289. package/dist/components/form/number-field/number-field.css +122 -0
  290. package/dist/components/form/number-field/number-field.d.mts +10 -10
  291. package/dist/components/form/number-field/number-field.mjs +126 -54
  292. package/dist/components/form/number-field/number-field.module.mjs +10 -0
  293. package/dist/components/form/password-input/password-input.css +88 -0
  294. package/dist/components/form/password-input/password-input.d.mts +2 -3
  295. package/dist/components/form/password-input/password-input.mjs +15 -12
  296. package/dist/components/form/password-input/password-input.module.mjs +12 -0
  297. package/dist/components/form/radio/radio.css +89 -0
  298. package/dist/components/form/radio/radio.d.mts +3 -3
  299. package/dist/components/form/radio/radio.mjs +15 -19
  300. package/dist/components/form/radio/radio.module.mjs +16 -0
  301. package/dist/components/form/radio-card/radio-card.css +147 -0
  302. package/dist/components/form/radio-card/radio-card.d.mts +4 -4
  303. package/dist/components/form/radio-card/radio-card.mjs +17 -23
  304. package/dist/components/form/radio-card/radio-card.module.mjs +19 -0
  305. package/dist/components/form/range-slider/index.d.mts +2 -0
  306. package/dist/components/form/range-slider/index.mjs +2 -0
  307. package/dist/components/form/range-slider/range-slider.css +67 -0
  308. package/dist/components/form/range-slider/range-slider.d.mts +30 -0
  309. package/dist/components/form/range-slider/range-slider.mjs +135 -0
  310. package/dist/components/form/range-slider/range-slider.module.mjs +14 -0
  311. package/dist/components/form/select/select.css +74 -0
  312. package/dist/components/form/select/select.d.mts +2 -3
  313. package/dist/components/form/select/select.mjs +25 -8
  314. package/dist/components/form/select/select.module.mjs +12 -0
  315. package/dist/components/form/slider/range-input-class.css +97 -0
  316. package/dist/components/form/slider/range-input-class.d.mts +7 -0
  317. package/dist/components/form/slider/range-input-class.mjs +10 -0
  318. package/dist/components/form/slider/range-input-class.module.mjs +8 -0
  319. package/dist/components/form/slider/slider.css +55 -0
  320. package/dist/components/form/slider/slider.d.mts +6 -7
  321. package/dist/components/form/slider/slider.mjs +44 -11
  322. package/dist/components/form/slider/slider.module.mjs +12 -0
  323. package/dist/components/form/switch/switch.css +103 -0
  324. package/dist/components/form/switch/switch.d.mts +2 -3
  325. package/dist/components/form/switch/switch.mjs +14 -17
  326. package/dist/components/form/switch/switch.module.mjs +16 -0
  327. package/dist/components/form/text-field/text-field.css +41 -0
  328. package/dist/components/form/text-field/text-field.d.mts +4 -5
  329. package/dist/components/form/text-field/text-field.mjs +2 -3
  330. package/dist/components/form/text-field/text-field.module.mjs +5 -0
  331. package/dist/components/form/textarea/textarea.css +50 -0
  332. package/dist/components/form/textarea/textarea.d.mts +3 -3
  333. package/dist/components/form/textarea/textarea.mjs +6 -20
  334. package/dist/components/form/textarea/textarea.module.mjs +9 -0
  335. package/dist/components/icons/base.css +40 -0
  336. package/dist/components/icons/base.d.mts +4 -5
  337. package/dist/components/icons/base.mjs +10 -10
  338. package/dist/components/icons/base.module.mjs +13 -0
  339. package/dist/components/icons/browsers.d.mts +5 -6
  340. package/dist/components/icons/color-scale.d.mts +2 -3
  341. package/dist/components/icons/github-mark.d.mts +2 -3
  342. package/dist/components/icons/logo.css +17 -0
  343. package/dist/components/icons/logo.d.mts +3 -4
  344. package/dist/components/icons/logo.mjs +4 -3
  345. package/dist/components/icons/logo.module.mjs +9 -0
  346. package/dist/components/icons/lucide-deep.d.mts +3 -1
  347. package/dist/components/icons/lucide-imports.d.mts +3 -1
  348. package/dist/components/icons/lucide-imports.mjs +3 -1
  349. package/dist/components/icons/lucide.d.mts +60 -61
  350. package/dist/components/icons/qiita.d.mts +2 -3
  351. package/dist/components/icons/twitter.css +9 -0
  352. package/dist/components/icons/twitter.d.mts +2 -3
  353. package/dist/components/icons/twitter.mjs +2 -1
  354. package/dist/components/icons/twitter.module.mjs +5 -0
  355. package/dist/components/icons/vertical-writing.d.mts +2 -3
  356. package/dist/components/index.d.mts +48 -9
  357. package/dist/components/index.mjs +32 -10
  358. package/dist/components/layout/_shared/gap.css +25 -0
  359. package/dist/components/layout/_shared/gap.d.mts +8 -9
  360. package/dist/components/layout/_shared/gap.mjs +6 -5
  361. package/dist/components/layout/_shared/gap.module.mjs +11 -0
  362. package/dist/components/layout/_shared/padding.css +25 -0
  363. package/dist/components/layout/_shared/padding.d.mts +8 -9
  364. package/dist/components/layout/_shared/padding.mjs +6 -5
  365. package/dist/components/layout/_shared/padding.module.mjs +11 -0
  366. package/dist/components/layout/grid/grid.css +93 -0
  367. package/dist/components/layout/grid/grid.d.mts +5 -6
  368. package/dist/components/layout/grid/grid.mjs +21 -20
  369. package/dist/components/layout/grid/grid.module.mjs +25 -0
  370. package/dist/components/layout/resizable-panels/index.d.mts +18 -0
  371. package/dist/components/layout/resizable-panels/index.mjs +9 -0
  372. package/dist/components/layout/resizable-panels/resizable-panels.css +77 -0
  373. package/dist/components/layout/resizable-panels/resizable-panels.d.mts +21 -0
  374. package/dist/components/layout/resizable-panels/resizable-panels.mjs +164 -0
  375. package/dist/components/layout/resizable-panels/resizable-panels.module.mjs +16 -0
  376. package/dist/components/layout/separator/separator.css +37 -0
  377. package/dist/components/layout/separator/separator.d.mts +2 -3
  378. package/dist/components/layout/separator/separator.mjs +12 -9
  379. package/dist/components/layout/separator/separator.module.mjs +12 -0
  380. package/dist/components/layout/stack/stack.css +49 -0
  381. package/dist/components/layout/stack/stack.d.mts +3 -4
  382. package/dist/components/layout/stack/stack.mjs +11 -10
  383. package/dist/components/layout/stack/stack.module.mjs +17 -0
  384. package/dist/components/navigation/anchor/anchor.css +29 -0
  385. package/dist/components/navigation/anchor/anchor.d.mts +2 -3
  386. package/dist/components/navigation/anchor/anchor.mjs +5 -2
  387. package/dist/components/navigation/anchor/anchor.module.mjs +8 -0
  388. package/dist/components/navigation/breadcrumb/breadcrumb.css +72 -0
  389. package/dist/components/navigation/breadcrumb/breadcrumb.d.mts +5 -6
  390. package/dist/components/navigation/breadcrumb/breadcrumb.mjs +15 -9
  391. package/dist/components/navigation/breadcrumb/breadcrumb.module.mjs +14 -0
  392. package/dist/components/navigation/breadcrumb/index.d.mts +2 -3
  393. package/dist/components/navigation/pagination/pagination.css +36 -0
  394. package/dist/components/navigation/pagination/pagination.d.mts +2 -3
  395. package/dist/components/navigation/pagination/pagination.mjs +9 -8
  396. package/dist/components/navigation/pagination/pagination.module.mjs +11 -0
  397. package/dist/components/navigation/side-nav/index.d.mts +16 -0
  398. package/dist/components/navigation/side-nav/index.mjs +10 -0
  399. package/dist/components/navigation/side-nav/side-nav.css +73 -0
  400. package/dist/components/navigation/side-nav/side-nav.d.mts +31 -0
  401. package/dist/components/navigation/side-nav/side-nav.mjs +62 -0
  402. package/dist/components/navigation/side-nav/side-nav.module.mjs +11 -0
  403. package/dist/components/navigation/stepper/index.d.mts +2 -0
  404. package/dist/components/navigation/stepper/index.mjs +2 -0
  405. package/dist/components/navigation/stepper/stepper.css +151 -0
  406. package/dist/components/navigation/stepper/stepper.d.mts +19 -0
  407. package/dist/components/navigation/stepper/stepper.mjs +87 -0
  408. package/dist/components/navigation/stepper/stepper.module.mjs +29 -0
  409. package/dist/components/navigation/table-of-contents/index.d.mts +2 -0
  410. package/dist/components/navigation/table-of-contents/index.mjs +2 -0
  411. package/dist/components/navigation/table-of-contents/table-of-contents.css +17 -0
  412. package/dist/components/navigation/table-of-contents/table-of-contents.d.mts +12 -0
  413. package/dist/components/navigation/table-of-contents/table-of-contents.mjs +94 -0
  414. package/dist/components/navigation/table-of-contents/table-of-contents.module.mjs +8 -0
  415. package/dist/components/navigation/tabs/index.d.mts +2 -3
  416. package/dist/components/navigation/tabs/tabs.css +70 -0
  417. package/dist/components/navigation/tabs/tabs.d.mts +5 -6
  418. package/dist/components/navigation/tabs/tabs.mjs +51 -42
  419. package/dist/components/navigation/tabs/tabs.module.mjs +12 -0
  420. package/dist/components/observers/fragment-instance.d.mts +1 -0
  421. package/dist/components/observers/in-view/in-view.d.mts +11 -0
  422. package/dist/components/observers/in-view/in-view.mjs +60 -0
  423. package/dist/components/observers/in-view/index.d.mts +2 -0
  424. package/dist/components/observers/in-view/index.mjs +2 -0
  425. package/dist/components/observers/resize/index.d.mts +2 -0
  426. package/dist/components/observers/resize/index.mjs +2 -0
  427. package/dist/components/observers/resize/resize.d.mts +7 -0
  428. package/dist/components/observers/resize/resize.mjs +25 -0
  429. package/dist/components/overlays/_internal/modal-dialog-context.d.mts +4 -5
  430. package/dist/components/overlays/_internal/use-can-hover.d.mts +2 -3
  431. package/dist/components/overlays/_internal/use-hover-intent.d.mts +3 -4
  432. package/dist/components/overlays/_internal/use-list-navigation.d.mts +17 -11
  433. package/dist/components/overlays/_internal/use-list-navigation.mjs +42 -26
  434. package/dist/components/overlays/command-palette/command-palette.css +91 -0
  435. package/dist/components/overlays/command-palette/command-palette.d.mts +24 -0
  436. package/dist/components/overlays/command-palette/command-palette.mjs +139 -0
  437. package/dist/components/overlays/command-palette/command-palette.module.mjs +14 -0
  438. package/dist/components/overlays/command-palette/index.d.mts +2 -0
  439. package/dist/components/overlays/command-palette/index.mjs +2 -0
  440. package/dist/components/overlays/context-menu/context-menu.d.mts +13 -0
  441. package/dist/components/overlays/context-menu/context-menu.mjs +79 -0
  442. package/dist/components/overlays/context-menu/index.d.mts +21 -0
  443. package/dist/components/overlays/context-menu/index.mjs +13 -0
  444. package/dist/components/overlays/dialog/dialog.css +31 -0
  445. package/dist/components/overlays/dialog/dialog.d.mts +4 -5
  446. package/dist/components/overlays/dialog/dialog.mjs +10 -7
  447. package/dist/components/overlays/dialog/dialog.module.mjs +10 -0
  448. package/dist/components/overlays/dialog/index.d.mts +2 -3
  449. package/dist/components/overlays/drawer/drawer.css +48 -0
  450. package/dist/components/overlays/drawer/drawer.d.mts +2 -3
  451. package/dist/components/overlays/drawer/drawer.mjs +11 -10
  452. package/dist/components/overlays/drawer/drawer.module.mjs +13 -0
  453. package/dist/components/overlays/dropdown-menu/dropdown-menu.d.mts +7 -10
  454. package/dist/components/overlays/dropdown-menu/dropdown-menu.mjs +10 -9
  455. package/dist/components/overlays/dropdown-menu/hooks.d.mts +7 -7
  456. package/dist/components/overlays/dropdown-menu/hooks.mjs +3 -3
  457. package/dist/components/overlays/dropdown-menu/index.d.mts +8 -10
  458. package/dist/components/overlays/dropdown-menu/shared.css +51 -0
  459. package/dist/components/overlays/dropdown-menu/shared.d.mts +3 -6
  460. package/dist/components/overlays/dropdown-menu/shared.mjs +4 -6
  461. package/dist/components/overlays/dropdown-menu/shared.module.mjs +8 -0
  462. package/dist/components/overlays/dropdown-menu/sub-menu.css +28 -0
  463. package/dist/components/overlays/dropdown-menu/sub-menu.d.mts +3 -6
  464. package/dist/components/overlays/dropdown-menu/sub-menu.mjs +15 -15
  465. package/dist/components/overlays/dropdown-menu/sub-menu.module.mjs +9 -0
  466. package/dist/components/overlays/dropdown-menu/use-safe-triangle.d.mts +2 -3
  467. package/dist/components/overlays/list-box/hooks.d.mts +6 -5
  468. package/dist/components/overlays/list-box/hooks.mjs +5 -4
  469. package/dist/components/overlays/list-box/index.d.mts +2 -3
  470. package/dist/components/overlays/list-box/list-box.css +74 -0
  471. package/dist/components/overlays/list-box/list-box.d.mts +5 -6
  472. package/dist/components/overlays/list-box/list-box.mjs +15 -13
  473. package/dist/components/overlays/list-box/list-box.module.mjs +10 -0
  474. package/dist/components/overlays/modal/modal.css +119 -0
  475. package/dist/components/overlays/modal/modal.d.mts +2 -3
  476. package/dist/components/overlays/modal/modal.mjs +14 -11
  477. package/dist/components/overlays/modal/modal.module.mjs +11 -0
  478. package/dist/components/overlays/popover/anchor-positioning.d.mts +4 -5
  479. package/dist/components/overlays/popover/escape-stack.d.mts +2 -3
  480. package/dist/components/overlays/popover/hooks.d.mts +7 -8
  481. package/dist/components/overlays/popover/index.d.mts +2 -2
  482. package/dist/components/overlays/popover/popover.css +51 -0
  483. package/dist/components/overlays/popover/popover.d.mts +4 -4
  484. package/dist/components/overlays/popover/popover.mjs +11 -5
  485. package/dist/components/overlays/popover/popover.module.mjs +11 -0
  486. package/dist/components/overlays/tooltip/bridge.css +68 -0
  487. package/dist/components/overlays/tooltip/bridge.d.mts +2 -3
  488. package/dist/components/overlays/tooltip/bridge.mjs +7 -21
  489. package/dist/components/overlays/tooltip/bridge.module.mjs +11 -0
  490. package/dist/components/overlays/tooltip/index.d.mts +2 -2
  491. package/dist/components/overlays/tooltip/tooltip.css +15 -0
  492. package/dist/components/overlays/tooltip/tooltip.d.mts +5 -6
  493. package/dist/components/overlays/tooltip/tooltip.mjs +3 -2
  494. package/dist/components/overlays/tooltip/tooltip.module.mjs +5 -0
  495. package/dist/components/providers/index.d.mts +1 -2
  496. package/dist/components/providers/portal-root.d.mts +9 -7
  497. package/dist/components/providers/portal-root.mjs +7 -7
  498. package/dist/components/providers/ui-provider.d.mts +2 -6
  499. package/dist/components/providers/ui-provider.mjs +1 -5
  500. package/dist/helpers/chain.d.mts +2 -3
  501. package/dist/helpers/chain.mjs +0 -23
  502. package/dist/helpers/create-safe-context.d.mts +2 -3
  503. package/dist/helpers/create-safe-context.mjs +0 -17
  504. package/dist/helpers/index.d.mts +1 -2
  505. package/dist/helpers/index.mjs +2 -3
  506. package/dist/helpers/merge-props.d.mts +2 -3
  507. package/dist/helpers/merge-props.mjs +2 -37
  508. package/dist/helpers/merge-refs.d.mts +2 -3
  509. package/dist/helpers/merge-refs.mjs +0 -32
  510. package/dist/hooks/click-away/index.d.mts +2 -3
  511. package/dist/hooks/controllable-state/index.d.mts +2 -3
  512. package/dist/hooks/controllable-state/index.mjs +9 -11
  513. package/dist/hooks/index.d.mts +2 -20
  514. package/dist/hooks/index.mjs +2 -19
  515. package/dist/hooks/writing-mode/index.d.mts +15 -5
  516. package/dist/hooks/writing-mode/index.mjs +21 -14
  517. package/dist/i18n/current.d.mts +23 -0
  518. package/dist/i18n/current.mjs +43 -0
  519. package/dist/i18n/en.d.mts +2 -3
  520. package/dist/i18n/en.mjs +46 -0
  521. package/dist/i18n/index.d.mts +3 -2
  522. package/dist/i18n/index.mjs +4 -3
  523. package/dist/i18n/ja.d.mts +2 -3
  524. package/dist/i18n/ja.mjs +46 -0
  525. package/dist/i18n/messages.d.mts +81 -3
  526. package/dist/i18n/usage.d.mts +8 -0
  527. package/dist/i18n/usage.mjs +131 -0
  528. package/dist/index.d.mts +29 -34
  529. package/dist/index.mjs +32 -35
  530. package/dist/integrations/_shared/openui-defs.d.mts +3 -4
  531. package/dist/integrations/_shared/openui-defs.mjs +123 -54
  532. package/dist/integrations/_shared/renderers.css +50 -0
  533. package/dist/integrations/_shared/renderers.d.mts +71 -52
  534. package/dist/integrations/_shared/renderers.mjs +288 -30
  535. package/dist/integrations/_shared/renderers.module.mjs +14 -0
  536. package/dist/integrations/_shared/schemas.d.mts +387 -103
  537. package/dist/integrations/_shared/schemas.mjs +165 -27
  538. package/dist/integrations/ai-sdk/index.d.mts +2 -2
  539. package/dist/integrations/ai-sdk/map-parts.d.mts +25 -7
  540. package/dist/integrations/ai-sdk/map-parts.mjs +28 -3
  541. package/dist/integrations/json-render/catalog.d.mts +336 -18
  542. package/dist/integrations/json-render/catalog.mjs +120 -57
  543. package/dist/integrations/json-render/registry.d.mts +3 -4
  544. package/dist/integrations/json-render/registry.mjs +38 -4
  545. package/dist/integrations/openui/form-views.d.mts +23 -18
  546. package/dist/integrations/openui/form-views.mjs +27 -3
  547. package/dist/integrations/openui/library.d.mts +59 -7
  548. package/dist/integrations/openui/library.mjs +18 -3
  549. package/dist/integrations/openui/prompt.d.mts +2 -3
  550. package/dist/internal/accepts-file.d.mts +8 -0
  551. package/dist/internal/accepts-file.mjs +19 -0
  552. package/dist/internal/carries-files.d.mts +3 -0
  553. package/dist/internal/carries-files.mjs +4 -0
  554. package/dist/internal/clamp.d.mts +2 -3
  555. package/dist/internal/clamp.mjs +0 -11
  556. package/dist/internal/commit-input-value.d.mts +10 -0
  557. package/dist/internal/commit-input-value.mjs +15 -0
  558. package/dist/internal/dropped-files.d.mts +3 -0
  559. package/dist/internal/dropped-files.mjs +8 -0
  560. package/dist/internal/focus-trap.d.mts +5 -6
  561. package/dist/internal/focus-trap.mjs +4 -4
  562. package/dist/internal/hex-color.d.mts +22 -0
  563. package/dist/internal/hex-color.mjs +53 -0
  564. package/dist/internal/iso-date.d.mts +39 -0
  565. package/dist/internal/iso-date.mjs +98 -0
  566. package/dist/internal/to-precision.d.mts +2 -3
  567. package/dist/internal/to-precision.mjs +0 -8
  568. package/dist/styles/index.css +513 -2526
  569. package/dist/styles/tailwind.css +217 -17
  570. package/dist/styles/tokens.d.mts +1 -2
  571. package/dist/styles/tokens.mjs +1 -2
  572. package/dist/types/variables.d.mts +7 -9
  573. package/docs/GUIDE.md +239 -72
  574. package/docs/llms.txt +11 -7
  575. package/docs/props.generated.json +2156 -309
  576. package/docs/references/ai-chat.md +345 -62
  577. package/docs/references/color.md +222 -78
  578. package/docs/references/components.md +1664 -242
  579. package/docs/references/generative-ui.md +125 -17
  580. package/docs/references/interaction-design.md +65 -35
  581. package/docs/references/spatial-design.md +83 -63
  582. package/docs/references/types.md +101 -0
  583. package/docs/references/typography.md +159 -51
  584. package/package.json +64 -62
  585. package/dist/components/_internal/focus-ring.d.mts +0 -8
  586. package/dist/components/_internal/focus-ring.mjs +0 -8
  587. package/dist/components/layout/scroll-linked/index.d.mts +0 -2
  588. package/dist/components/layout/scroll-linked/index.mjs +0 -2
  589. package/dist/components/layout/scroll-linked/scroll-linked.d.mts +0 -14
  590. package/dist/components/layout/scroll-linked/scroll-linked.mjs +0 -59
  591. package/dist/helpers/cn.d.mts +0 -5
  592. package/dist/helpers/cn.mjs +0 -27
  593. package/dist/hooks/breakpoint/index.d.mts +0 -5
  594. package/dist/hooks/breakpoint/index.mjs +0 -24
  595. package/dist/hooks/client/index.d.mts +0 -4
  596. package/dist/hooks/client/index.mjs +0 -6
  597. package/dist/hooks/clipboard/index.d.mts +0 -7
  598. package/dist/hooks/clipboard/index.mjs +0 -15
  599. package/dist/hooks/debounced-transition/index.d.mts +0 -5
  600. package/dist/hooks/debounced-transition/index.mjs +0 -49
  601. package/dist/hooks/deferred-debounce/index.d.mts +0 -4
  602. package/dist/hooks/deferred-debounce/index.mjs +0 -9
  603. package/dist/hooks/disclosure/index.d.mts +0 -10
  604. package/dist/hooks/disclosure/index.mjs +0 -20
  605. package/dist/hooks/hover/index.d.mts +0 -12
  606. package/dist/hooks/hover/index.mjs +0 -19
  607. package/dist/hooks/intersection-observer/index.d.mts +0 -3
  608. package/dist/hooks/intersection-observer/index.mjs +0 -3
  609. package/dist/hooks/intersection-observer/use-in-view.d.mts +0 -11
  610. package/dist/hooks/intersection-observer/use-in-view.mjs +0 -18
  611. package/dist/hooks/intersection-observer/use-intersection-observer.d.mts +0 -11
  612. package/dist/hooks/intersection-observer/use-intersection-observer.mjs +0 -33
  613. package/dist/hooks/interval/index.d.mts +0 -4
  614. package/dist/hooks/interval/index.mjs +0 -19
  615. package/dist/hooks/resize/index.d.mts +0 -8
  616. package/dist/hooks/resize/index.mjs +0 -24
  617. package/dist/hooks/scroll-direction/index.d.mts +0 -13
  618. package/dist/hooks/scroll-direction/index.mjs +0 -67
  619. package/dist/hooks/scroll-lock/index.d.mts +0 -9
  620. package/dist/hooks/scroll-lock/index.mjs +0 -59
  621. package/dist/hooks/step/index.d.mts +0 -15
  622. package/dist/hooks/step/index.mjs +0 -39
  623. package/dist/hooks/timeout/index.d.mts +0 -4
  624. package/dist/hooks/timeout/index.mjs +0 -19
  625. package/dist/hooks/window-resize/index.d.mts +0 -11
  626. package/dist/hooks/window-resize/index.mjs +0 -21
  627. package/dist/hooks/window-size/index.d.mts +0 -8
  628. package/dist/hooks/window-size/index.mjs +0 -31
  629. package/dist/i18n/context.d.mts +0 -9
  630. package/dist/i18n/context.mjs +0 -19
  631. package/dist/styles/base.css +0 -315
  632. package/dist/styles/tokens.css +0 -380
  633. package/dist/styles/tokens.generated.d.mts +0 -840
  634. package/dist/styles/tokens.generated.mjs +0 -813
  635. package/dist/styles/utilities.css +0 -62
  636. package/docs/references/helpers.md +0 -223
  637. package/docs/references/hooks.md +0 -301
@@ -1,6 +1,11 @@
1
- import { Button } from "./buttons/button/button.mjs";
1
+ import { BaseIconProps, IconRenderProps } from "./icons/base.mjs";
2
+ import { Button, ButtonRenderItemProps } from "./buttons/button/button.mjs";
2
3
  import "./buttons/button/index.mjs";
4
+ import { CopyButton } from "./buttons/copy-button/copy-button.mjs";
5
+ import "./buttons/copy-button/index.mjs";
3
6
  import "./buttons/icon-button/index.mjs";
7
+ import { ToolbarItemProps } from "./buttons/toolbar/toolbar.mjs";
8
+ import { Toolbar } from "./buttons/toolbar/index.mjs";
4
9
  import { Accordion } from "./data-display/accordion/index.mjs";
5
10
  import { Avatar } from "./data-display/avatar/avatar.mjs";
6
11
  import "./data-display/avatar/index.mjs";
@@ -8,14 +13,27 @@ import { Badge } from "./data-display/badge/badge.mjs";
8
13
  import "./data-display/badge/index.mjs";
9
14
  import { Card } from "./data-display/card/card.mjs";
10
15
  import "./data-display/card/index.mjs";
16
+ import { Carousel } from "./data-display/carousel/index.mjs";
11
17
  import { Code } from "./data-display/code/code.mjs";
12
18
  import "./data-display/code/index.mjs";
13
- import { Heading } from "./data-display/heading/heading.mjs";
14
- import "./data-display/heading/index.mjs";
19
+ import { EmptyState } from "./feedback/empty-state/empty-state.mjs";
20
+ import "./feedback/empty-state/index.mjs";
15
21
  import { CellAlign, Table } from "./data-display/table/table.mjs";
16
22
  import "./data-display/table/index.mjs";
23
+ import { DataTable, DataTableColumn, DataTableSort } from "./data-display/data-table/data-table.mjs";
24
+ import "./data-display/data-table/index.mjs";
25
+ import { Heading } from "./data-display/heading/heading.mjs";
26
+ import "./data-display/heading/index.mjs";
27
+ import { Kbd } from "./data-display/kbd/kbd.mjs";
28
+ import "./data-display/kbd/index.mjs";
29
+ import { Prose } from "./data-display/prose/prose.mjs";
30
+ import "./data-display/prose/index.mjs";
31
+ import { Tree, TreeItem } from "./data-display/tree/tree.mjs";
32
+ import "./data-display/tree/index.mjs";
17
33
  import { Alert, AlertAction } from "./feedback/alert/alert.mjs";
18
34
  import "./feedback/alert/index.mjs";
35
+ import { Callout } from "./feedback/callout/callout.mjs";
36
+ import "./feedback/callout/index.mjs";
19
37
  import { Progress } from "./feedback/progress/progress.mjs";
20
38
  import "./feedback/progress/index.mjs";
21
39
  import { Skeleton } from "./feedback/skeleton/skeleton.mjs";
@@ -27,11 +45,21 @@ import { ToastProvider } from "./feedback/toast/provider.mjs";
27
45
  import "./feedback/toast/index.mjs";
28
46
  import { Autocomplete } from "./form/autocomplete/autocomplete.mjs";
29
47
  import "./form/autocomplete/index.mjs";
48
+ import { Calendar } from "./form/calendar/calendar.mjs";
49
+ import "./form/calendar/index.mjs";
30
50
  import { Checkbox } from "./form/checkbox/checkbox.mjs";
31
51
  import "./form/checkbox/index.mjs";
32
52
  import { CheckboxCard, CheckboxCardOption } from "./form/checkbox-card/checkbox-card.mjs";
33
53
  import "./form/checkbox-card/index.mjs";
34
54
  import { CheckboxGroup } from "./form/checkbox-group/index.mjs";
55
+ import { ColorPicker, ColorPickerSwatch } from "./form/color-picker/color-picker.mjs";
56
+ import "./form/color-picker/index.mjs";
57
+ import { Combobox, ComboboxSearch } from "./form/combobox/combobox.mjs";
58
+ import "./form/combobox/index.mjs";
59
+ import { DateField } from "./form/date-field/date-field.mjs";
60
+ import "./form/date-field/index.mjs";
61
+ import { DatePicker } from "./form/date-picker/date-picker.mjs";
62
+ import "./form/date-picker/index.mjs";
35
63
  import { FileField } from "./form/file-field/index.mjs";
36
64
  import { Form } from "./form/form/form.mjs";
37
65
  import "./form/form/index.mjs";
@@ -45,6 +73,8 @@ import { Radio } from "./form/radio/radio.mjs";
45
73
  import "./form/radio/index.mjs";
46
74
  import { RadioCard, RadioCardOption } from "./form/radio-card/radio-card.mjs";
47
75
  import "./form/radio-card/index.mjs";
76
+ import { RangeSlider } from "./form/range-slider/range-slider.mjs";
77
+ import "./form/range-slider/index.mjs";
48
78
  import { Select } from "./form/select/select.mjs";
49
79
  import "./form/select/index.mjs";
50
80
  import { Slider } from "./form/slider/slider.mjs";
@@ -55,7 +85,6 @@ import { TextField } from "./form/text-field/text-field.mjs";
55
85
  import "./form/text-field/index.mjs";
56
86
  import { Textarea } from "./form/textarea/textarea.mjs";
57
87
  import "./form/textarea/index.mjs";
58
- import { BaseIconProps, IconRenderProps } from "./icons/base.mjs";
59
88
  import { ChromeIcon, EdgeIcon, FirefoxIcon, SafariIcon } from "./icons/browsers.mjs";
60
89
  import { ColorScaleIcon } from "./icons/color-scale.mjs";
61
90
  import { GitHubIcon } from "./icons/github-mark.mjs";
@@ -69,8 +98,7 @@ import { GapSize } from "./layout/_shared/gap.mjs";
69
98
  import { PaddingSize } from "./layout/_shared/padding.mjs";
70
99
  import { Grid, GridProps } from "./layout/grid/grid.mjs";
71
100
  import "./layout/grid/index.mjs";
72
- import { ScrollLinked } from "./layout/scroll-linked/scroll-linked.mjs";
73
- import "./layout/scroll-linked/index.mjs";
101
+ import { ResizablePanels } from "./layout/resizable-panels/index.mjs";
74
102
  import { Separator } from "./layout/separator/separator.mjs";
75
103
  import "./layout/separator/index.mjs";
76
104
  import { Stack, StackProps } from "./layout/stack/stack.mjs";
@@ -80,7 +108,19 @@ import "./navigation/anchor/index.mjs";
80
108
  import { Breadcrumb } from "./navigation/breadcrumb/index.mjs";
81
109
  import { Pagination } from "./navigation/pagination/pagination.mjs";
82
110
  import "./navigation/pagination/index.mjs";
111
+ import { Stepper, StepperStep } from "./navigation/stepper/stepper.mjs";
112
+ import "./navigation/stepper/index.mjs";
113
+ import { SideNav } from "./navigation/side-nav/index.mjs";
114
+ import { TableOfContents, TableOfContentsItem } from "./navigation/table-of-contents/table-of-contents.mjs";
115
+ import "./navigation/table-of-contents/index.mjs";
83
116
  import { Tabs } from "./navigation/tabs/index.mjs";
117
+ import { InView } from "./observers/in-view/in-view.mjs";
118
+ import "./observers/in-view/index.mjs";
119
+ import { Resize } from "./observers/resize/resize.mjs";
120
+ import "./observers/resize/index.mjs";
121
+ import { CommandPalette, CommandPaletteItem } from "./overlays/command-palette/command-palette.mjs";
122
+ import "./overlays/command-palette/index.mjs";
123
+ import { ContextMenu } from "./overlays/context-menu/index.mjs";
84
124
  import { Dialog } from "./overlays/dialog/index.mjs";
85
125
  import { Drawer } from "./overlays/drawer/drawer.mjs";
86
126
  import "./overlays/drawer/index.mjs";
@@ -90,11 +130,10 @@ import { Modal } from "./overlays/modal/modal.mjs";
90
130
  import "./overlays/modal/index.mjs";
91
131
  import { PopoverContentProps, PopoverTriggerProps } from "./overlays/popover/hooks.mjs";
92
132
  import { Popover } from "./overlays/popover/index.mjs";
93
- import { Messages } from "../i18n/messages.mjs";
94
133
  import { UIProvider } from "./providers/ui-provider.mjs";
95
134
  import { PortalRootProvider, usePortalRoot } from "./providers/portal-root.mjs";
96
135
  import "./providers/index.mjs";
97
136
  import { TooltipTriggerProps } from "./overlays/tooltip/tooltip.mjs";
98
137
  import { Tooltip } from "./overlays/tooltip/index.mjs";
99
- import { IconButton, IconButtonTriggerProps } from "./buttons/icon-button/icon-button.mjs";
100
- export { AIIcon, AccessibilityIcon, Accordion, Alert, type AlertAction, AlertIcon, Anchor, AssistantIcon, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, type BaseIconProps, BlogIcon, BoringIcon, Breadcrumb, Button, Card, type CellAlign, CheckIcon, Checkbox, CheckboxCard, type CheckboxCardOption, CheckboxGroup, ChevronIcon, ChromeIcon, CloseIcon, Code, CodeXmlIcon, ColorContrastIcon, ColorInfoIcon, ColorScaleIcon, CopyIcon, DarkModeIcon, Dialog, DifficultIcon, Drawer, DropdownMenu, EasyIcon, EdgeIcon, ExternalLinkIcon, FileField, FirefoxIcon, FlaskIcon, ForkIcon, Form, FormControl, FormIcon, FullscreenIcon, type GapSize, GitHubIcon, GoodIcon, Grid, type GridProps, Heading, HistoryIcon, HorizontalWritingIcon, IconButton, type IconButtonTriggerProps, type IconRenderProps, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, LockIcon, LockOpenIcon, Logo, LogoIcon, MailIcon, type Messages, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, PackageIcon, type PaddingSize, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, type PopoverContentProps, type PopoverTriggerProps, PortalRootProvider, PrepareIcon, Progress, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, type RadioCardOption, RefreshIcon, SafariIcon, ScrollLinked, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, SquircleIcon, Stack, type StackProps, SubscribeIcon, Switch, Table, TableIcon, Tabs, TagIcon, TextField, Textarea, type ToastAction, type ToastOptions, ToastProvider, Tooltip, type TooltipTriggerProps, TwitterIcon, UIProvider, UpdateDateIcon, VerticalWritingIcon, ViewIcon, ViewOffIcon, usePortalRoot, useToast };
138
+ import { IconButton, IconButtonRenderItemProps, IconButtonTriggerProps } from "./buttons/icon-button/icon-button.mjs";
139
+ export { AIIcon, AccessibilityIcon, Accordion, Alert, type AlertAction, AlertIcon, Anchor, AssistantIcon, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, type BaseIconProps, BlogIcon, BoringIcon, Breadcrumb, Button, type ButtonRenderItemProps, Calendar, Callout, Card, Carousel, type CellAlign, CheckIcon, Checkbox, CheckboxCard, type CheckboxCardOption, CheckboxGroup, ChevronIcon, ChromeIcon, CloseIcon, Code, CodeXmlIcon, ColorContrastIcon, ColorInfoIcon, ColorPicker, type ColorPickerSwatch, ColorScaleIcon, Combobox, type ComboboxSearch, CommandPalette, type CommandPaletteItem, ContextMenu, CopyButton, CopyIcon, DarkModeIcon, DataTable, type DataTableColumn, type DataTableSort, DateField, DatePicker, Dialog, DifficultIcon, Drawer, DropdownMenu, EasyIcon, EdgeIcon, EmptyState, ExternalLinkIcon, FileField, FirefoxIcon, FlaskIcon, ForkIcon, Form, FormControl, FormIcon, FullscreenIcon, type GapSize, GitHubIcon, GoodIcon, Grid, type GridProps, Heading, HistoryIcon, HorizontalWritingIcon, IconButton, type IconButtonRenderItemProps, type IconButtonTriggerProps, type IconRenderProps, InView, InformativeIcon, InterestingIcon, Kbd, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, LockIcon, LockOpenIcon, Logo, LogoIcon, MailIcon, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, PackageIcon, type PaddingSize, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, type PopoverContentProps, type PopoverTriggerProps, PortalRootProvider, PrepareIcon, Progress, Prose, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, type RadioCardOption, RangeSlider, RefreshIcon, ResizablePanels, Resize, SafariIcon, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, SideNav, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, SquircleIcon, Stack, type StackProps, Stepper, type StepperStep, SubscribeIcon, Switch, Table, TableIcon, TableOfContents, type TableOfContentsItem, Tabs, TagIcon, TextField, Textarea, type ToastAction, type ToastOptions, ToastProvider, Toolbar, type ToolbarItemProps, Tooltip, type TooltipTriggerProps, Tree, type TreeItem, TwitterIcon, UIProvider, UpdateDateIcon, VerticalWritingIcon, ViewIcon, ViewOffIcon, usePortalRoot, useToast };
@@ -1,8 +1,5 @@
1
1
  import { Spinner } from "./feedback/spinner/spinner.mjs";
2
2
  import { Button } from "./buttons/button/button.mjs";
3
- import { Popover } from "./overlays/popover/index.mjs";
4
- import { Tooltip } from "./overlays/tooltip/index.mjs";
5
- import { IconButton } from "./buttons/icon-button/icon-button.mjs";
6
3
  import { ChromeIcon, EdgeIcon, FirefoxIcon, SafariIcon } from "./icons/browsers.mjs";
7
4
  import { ColorScaleIcon } from "./icons/color-scale.mjs";
8
5
  import { GitHubIcon } from "./icons/github-mark.mjs";
@@ -11,22 +8,40 @@ import { AIIcon, AccessibilityIcon, AlertIcon, AssistantIcon, AtomIcon, BadIcon,
11
8
  import { QiitaIcon } from "./icons/qiita.mjs";
12
9
  import { TwitterIcon } from "./icons/twitter.mjs";
13
10
  import { VerticalWritingIcon } from "./icons/vertical-writing.mjs";
11
+ import { Popover } from "./overlays/popover/index.mjs";
12
+ import { Tooltip } from "./overlays/tooltip/index.mjs";
13
+ import { IconButton } from "./buttons/icon-button/icon-button.mjs";
14
+ import { CopyButton } from "./buttons/copy-button/copy-button.mjs";
15
+ import { Separator } from "./layout/separator/separator.mjs";
16
+ import { Toolbar } from "./buttons/toolbar/index.mjs";
14
17
  import { Accordion } from "./data-display/accordion/index.mjs";
15
18
  import { Avatar } from "./data-display/avatar/avatar.mjs";
16
19
  import { Badge } from "./data-display/badge/badge.mjs";
17
20
  import { Card } from "./data-display/card/card.mjs";
21
+ import { Carousel } from "./data-display/carousel/index.mjs";
18
22
  import { Code } from "./data-display/code/code.mjs";
19
- import { Heading } from "./data-display/heading/heading.mjs";
23
+ import { Checkbox } from "./form/checkbox/checkbox.mjs";
24
+ import { CheckboxGroup } from "./form/checkbox-group/index.mjs";
25
+ import { EmptyState } from "./feedback/empty-state/empty-state.mjs";
20
26
  import { Table } from "./data-display/table/table.mjs";
27
+ import { DataTable } from "./data-display/data-table/data-table.mjs";
28
+ import { Heading } from "./data-display/heading/heading.mjs";
29
+ import { Kbd } from "./data-display/kbd/kbd.mjs";
30
+ import { Prose } from "./data-display/prose/prose.mjs";
31
+ import { Tree } from "./data-display/tree/tree.mjs";
21
32
  import { Alert } from "./feedback/alert/alert.mjs";
33
+ import { Callout } from "./feedback/callout/callout.mjs";
22
34
  import { Progress } from "./feedback/progress/progress.mjs";
23
35
  import { Skeleton } from "./feedback/skeleton/skeleton.mjs";
24
36
  import { useToast } from "./feedback/toast/context.mjs";
25
37
  import { ToastProvider } from "./feedback/toast/provider.mjs";
26
38
  import { Autocomplete } from "./form/autocomplete/autocomplete.mjs";
27
- import { Checkbox } from "./form/checkbox/checkbox.mjs";
39
+ import { Calendar } from "./form/calendar/calendar.mjs";
28
40
  import { CheckboxCard } from "./form/checkbox-card/checkbox-card.mjs";
29
- import { CheckboxGroup } from "./form/checkbox-group/index.mjs";
41
+ import { ColorPicker } from "./form/color-picker/color-picker.mjs";
42
+ import { Combobox } from "./form/combobox/combobox.mjs";
43
+ import { DateField } from "./form/date-field/date-field.mjs";
44
+ import { DatePicker } from "./form/date-picker/date-picker.mjs";
30
45
  import { FileField } from "./form/file-field/index.mjs";
31
46
  import { Form } from "./form/form/form.mjs";
32
47
  import { FormControl } from "./form/form-control/form-control.mjs";
@@ -34,24 +49,31 @@ import { NumberField } from "./form/number-field/number-field.mjs";
34
49
  import { PasswordInput } from "./form/password-input/password-input.mjs";
35
50
  import { Radio } from "./form/radio/radio.mjs";
36
51
  import { RadioCard } from "./form/radio-card/radio-card.mjs";
52
+ import { RangeSlider } from "./form/range-slider/range-slider.mjs";
37
53
  import { Select } from "./form/select/select.mjs";
38
54
  import { Slider } from "./form/slider/slider.mjs";
39
55
  import { Switch } from "./form/switch/switch.mjs";
40
56
  import { TextField } from "./form/text-field/text-field.mjs";
41
57
  import { Textarea } from "./form/textarea/textarea.mjs";
42
58
  import { Grid } from "./layout/grid/grid.mjs";
43
- import { ScrollLinked } from "./layout/scroll-linked/scroll-linked.mjs";
44
- import { Separator } from "./layout/separator/separator.mjs";
59
+ import { ResizablePanels } from "./layout/resizable-panels/index.mjs";
45
60
  import { Stack } from "./layout/stack/stack.mjs";
46
61
  import { Anchor } from "./navigation/anchor/anchor.mjs";
47
62
  import { Breadcrumb } from "./navigation/breadcrumb/index.mjs";
48
63
  import { Pagination } from "./navigation/pagination/pagination.mjs";
64
+ import { Stepper } from "./navigation/stepper/stepper.mjs";
65
+ import { SideNav } from "./navigation/side-nav/index.mjs";
66
+ import { TableOfContents } from "./navigation/table-of-contents/table-of-contents.mjs";
49
67
  import { Tabs } from "./navigation/tabs/index.mjs";
50
- import { Dialog } from "./overlays/dialog/index.mjs";
68
+ import { InView } from "./observers/in-view/in-view.mjs";
69
+ import { Resize } from "./observers/resize/resize.mjs";
51
70
  import { UIProvider } from "./providers/ui-provider.mjs";
52
71
  import { PortalRootProvider, usePortalRoot } from "./providers/portal-root.mjs";
53
72
  import { Modal } from "./overlays/modal/modal.mjs";
73
+ import { CommandPalette } from "./overlays/command-palette/command-palette.mjs";
74
+ import { ContextMenu } from "./overlays/context-menu/index.mjs";
75
+ import { Dialog } from "./overlays/dialog/index.mjs";
54
76
  import { Drawer } from "./overlays/drawer/drawer.mjs";
55
77
  import { DropdownMenu } from "./overlays/dropdown-menu/index.mjs";
56
78
  import { ListBox } from "./overlays/list-box/index.mjs";
57
- export { AIIcon, AccessibilityIcon, Accordion, Alert, AlertIcon, Anchor, AssistantIcon, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, BlogIcon, BoringIcon, Breadcrumb, Button, Card, CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, ChevronIcon, ChromeIcon, CloseIcon, Code, CodeXmlIcon, ColorContrastIcon, ColorInfoIcon, ColorScaleIcon, CopyIcon, DarkModeIcon, Dialog, DifficultIcon, Drawer, DropdownMenu, EasyIcon, EdgeIcon, ExternalLinkIcon, FileField, FirefoxIcon, FlaskIcon, ForkIcon, Form, FormControl, FormIcon, FullscreenIcon, GitHubIcon, GoodIcon, Grid, Heading, HistoryIcon, HorizontalWritingIcon, IconButton, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, LockIcon, LockOpenIcon, Logo, LogoIcon, MailIcon, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, PackageIcon, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, PortalRootProvider, PrepareIcon, Progress, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, RefreshIcon, SafariIcon, ScrollLinked, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, SquircleIcon, Stack, SubscribeIcon, Switch, Table, TableIcon, Tabs, TagIcon, TextField, Textarea, ToastProvider, Tooltip, TwitterIcon, UIProvider, UpdateDateIcon, VerticalWritingIcon, ViewIcon, ViewOffIcon, usePortalRoot, useToast };
79
+ export { AIIcon, AccessibilityIcon, Accordion, Alert, AlertIcon, Anchor, AssistantIcon, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, BlogIcon, BoringIcon, Breadcrumb, Button, Calendar, Callout, Card, Carousel, CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, ChevronIcon, ChromeIcon, CloseIcon, Code, CodeXmlIcon, ColorContrastIcon, ColorInfoIcon, ColorPicker, ColorScaleIcon, Combobox, CommandPalette, ContextMenu, CopyButton, CopyIcon, DarkModeIcon, DataTable, DateField, DatePicker, Dialog, DifficultIcon, Drawer, DropdownMenu, EasyIcon, EdgeIcon, EmptyState, ExternalLinkIcon, FileField, FirefoxIcon, FlaskIcon, ForkIcon, Form, FormControl, FormIcon, FullscreenIcon, GitHubIcon, GoodIcon, Grid, Heading, HistoryIcon, HorizontalWritingIcon, IconButton, InView, InformativeIcon, InterestingIcon, Kbd, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, LockIcon, LockOpenIcon, Logo, LogoIcon, MailIcon, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, PackageIcon, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, PortalRootProvider, PrepareIcon, Progress, Prose, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, RangeSlider, RefreshIcon, ResizablePanels, Resize, SafariIcon, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, SideNav, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, SquircleIcon, Stack, Stepper, SubscribeIcon, Switch, Table, TableIcon, TableOfContents, Tabs, TagIcon, TextField, Textarea, ToastProvider, Toolbar, Tooltip, Tree, TwitterIcon, UIProvider, UpdateDateIcon, VerticalWritingIcon, ViewIcon, ViewOffIcon, usePortalRoot, useToast };
@@ -0,0 +1,25 @@
1
+ @layer properties, theme, base;
2
+
3
+ @layer components {
4
+ .qUKPUW_none {
5
+ gap: 0;
6
+ }
7
+
8
+ .qUKPUW_sm {
9
+ gap: calc(var(--spacing) * 2);
10
+ }
11
+
12
+ .qUKPUW_md {
13
+ gap: calc(var(--spacing) * 4);
14
+ }
15
+
16
+ .qUKPUW_lg {
17
+ gap: calc(var(--spacing) * 6);
18
+ }
19
+
20
+ .qUKPUW_xl {
21
+ gap: calc(var(--spacing) * 8);
22
+ }
23
+ }
24
+
25
+ @layer utilities;
@@ -1,11 +1,10 @@
1
1
  //#region src/components/layout/_shared/gap.d.ts
2
- type GapSize = 'none' | 'sm' | 'md' | 'lg' | 'xl';
3
- declare const GAP_CLASS: {
4
- readonly none: 'gap-0';
5
- readonly sm: 'gap-2';
6
- readonly md: 'gap-4';
7
- readonly lg: 'gap-6';
8
- readonly xl: 'gap-8';
2
+ export type GapSize = 'none' | 'sm' | 'md' | 'lg' | 'xl';
3
+ export declare const GAP_CLASS: {
4
+ readonly none: any;
5
+ readonly sm: any;
6
+ readonly md: any;
7
+ readonly lg: any;
8
+ readonly xl: any;
9
9
  };
10
- //#endregion
11
- export { GAP_CLASS, GapSize };
10
+ //#endregion
@@ -1,10 +1,11 @@
1
+ import gap_module_default from "./gap.module.mjs";
1
2
  //#region src/components/layout/_shared/gap.ts
2
3
  const GAP_CLASS = {
3
- none: "gap-0",
4
- sm: "gap-2",
5
- md: "gap-4",
6
- lg: "gap-6",
7
- xl: "gap-8"
4
+ none: gap_module_default.none,
5
+ sm: gap_module_default.sm,
6
+ md: gap_module_default.md,
7
+ lg: gap_module_default.lg,
8
+ xl: gap_module_default.xl
8
9
  };
9
10
  //#endregion
10
11
  export { GAP_CLASS };
@@ -0,0 +1,11 @@
1
+ import './gap.css';
2
+ //#region src/components/layout/_shared/gap.module.css
3
+ var gap_module_default = {
4
+ "lg": "qUKPUW_lg",
5
+ "md": "qUKPUW_md",
6
+ "none": "qUKPUW_none",
7
+ "sm": "qUKPUW_sm",
8
+ "xl": "qUKPUW_xl"
9
+ };
10
+ //#endregion
11
+ export { gap_module_default as default };
@@ -0,0 +1,25 @@
1
+ @layer properties, theme, base;
2
+
3
+ @layer components {
4
+ .C2u5ma_none {
5
+ padding: 0;
6
+ }
7
+
8
+ .C2u5ma_sm {
9
+ padding: calc(var(--spacing) * 2);
10
+ }
11
+
12
+ .C2u5ma_md {
13
+ padding: calc(var(--spacing) * 4);
14
+ }
15
+
16
+ .C2u5ma_lg {
17
+ padding: calc(var(--spacing) * 6);
18
+ }
19
+
20
+ .C2u5ma_xl {
21
+ padding: calc(var(--spacing) * 8);
22
+ }
23
+ }
24
+
25
+ @layer utilities;
@@ -1,11 +1,10 @@
1
1
  //#region src/components/layout/_shared/padding.d.ts
2
- type PaddingSize = 'none' | 'sm' | 'md' | 'lg' | 'xl';
3
- declare const PADDING_CLASS: {
4
- readonly none: 'p-0';
5
- readonly sm: 'p-2';
6
- readonly md: 'p-4';
7
- readonly lg: 'p-6';
8
- readonly xl: 'p-8';
2
+ export type PaddingSize = 'none' | 'sm' | 'md' | 'lg' | 'xl';
3
+ export declare const PADDING_CLASS: {
4
+ readonly none: any;
5
+ readonly sm: any;
6
+ readonly md: any;
7
+ readonly lg: any;
8
+ readonly xl: any;
9
9
  };
10
- //#endregion
11
- export { PADDING_CLASS, PaddingSize };
10
+ //#endregion
@@ -1,10 +1,11 @@
1
+ import padding_module_default from "./padding.module.mjs";
1
2
  //#region src/components/layout/_shared/padding.ts
2
3
  const PADDING_CLASS = {
3
- none: "p-0",
4
- sm: "p-2",
5
- md: "p-4",
6
- lg: "p-6",
7
- xl: "p-8"
4
+ none: padding_module_default.none,
5
+ sm: padding_module_default.sm,
6
+ md: padding_module_default.md,
7
+ lg: padding_module_default.lg,
8
+ xl: padding_module_default.xl
8
9
  };
9
10
  //#endregion
10
11
  export { PADDING_CLASS };
@@ -0,0 +1,11 @@
1
+ import './padding.css';
2
+ //#region src/components/layout/_shared/padding.module.css
3
+ var padding_module_default = {
4
+ "lg": "C2u5ma_lg",
5
+ "md": "C2u5ma_md",
6
+ "none": "C2u5ma_none",
7
+ "sm": "C2u5ma_sm",
8
+ "xl": "C2u5ma_xl"
9
+ };
10
+ //#endregion
11
+ export { padding_module_default as default };
@@ -0,0 +1,93 @@
1
+ @layer properties, theme, base;
2
+
3
+ @layer components {
4
+ ._23gUBq_root {
5
+ display: grid;
6
+ }
7
+
8
+ ._23gUBq_cols1 {
9
+ grid-template-columns: repeat(1, minmax(0, 1fr));
10
+ }
11
+
12
+ ._23gUBq_cols2 {
13
+ grid-template-columns: repeat(2, minmax(0, 1fr));
14
+ }
15
+
16
+ ._23gUBq_cols3 {
17
+ grid-template-columns: repeat(3, minmax(0, 1fr));
18
+ }
19
+
20
+ ._23gUBq_cols4 {
21
+ grid-template-columns: repeat(4, minmax(0, 1fr));
22
+ }
23
+
24
+ ._23gUBq_cols5 {
25
+ grid-template-columns: repeat(5, minmax(0, 1fr));
26
+ }
27
+
28
+ ._23gUBq_cols6 {
29
+ grid-template-columns: repeat(6, minmax(0, 1fr));
30
+ }
31
+
32
+ ._23gUBq_autoFill24 {
33
+ grid-template-columns: repeat(auto-fill,
34
+ minmax(min(calc(var(--spacing) * 24), 100%), 1fr));
35
+ }
36
+
37
+ ._23gUBq_autoFill32 {
38
+ grid-template-columns: repeat(auto-fill,
39
+ minmax(min(calc(var(--spacing) * 32), 100%), 1fr));
40
+ }
41
+
42
+ ._23gUBq_autoFill40 {
43
+ grid-template-columns: repeat(auto-fill,
44
+ minmax(min(calc(var(--spacing) * 40), 100%), 1fr));
45
+ }
46
+
47
+ ._23gUBq_autoFill48 {
48
+ grid-template-columns: repeat(auto-fill,
49
+ minmax(min(calc(var(--spacing) * 48), 100%), 1fr));
50
+ }
51
+
52
+ ._23gUBq_autoFill64 {
53
+ grid-template-columns: repeat(auto-fill,
54
+ minmax(min(calc(var(--spacing) * 64), 100%), 1fr));
55
+ }
56
+
57
+ ._23gUBq_autoFill80 {
58
+ grid-template-columns: repeat(auto-fill,
59
+ minmax(min(calc(var(--spacing) * 80), 100%), 1fr));
60
+ }
61
+
62
+ ._23gUBq_autoFit24 {
63
+ grid-template-columns: repeat(auto-fit,
64
+ minmax(min(calc(var(--spacing) * 24), 100%), 1fr));
65
+ }
66
+
67
+ ._23gUBq_autoFit32 {
68
+ grid-template-columns: repeat(auto-fit,
69
+ minmax(min(calc(var(--spacing) * 32), 100%), 1fr));
70
+ }
71
+
72
+ ._23gUBq_autoFit40 {
73
+ grid-template-columns: repeat(auto-fit,
74
+ minmax(min(calc(var(--spacing) * 40), 100%), 1fr));
75
+ }
76
+
77
+ ._23gUBq_autoFit48 {
78
+ grid-template-columns: repeat(auto-fit,
79
+ minmax(min(calc(var(--spacing) * 48), 100%), 1fr));
80
+ }
81
+
82
+ ._23gUBq_autoFit64 {
83
+ grid-template-columns: repeat(auto-fit,
84
+ minmax(min(calc(var(--spacing) * 64), 100%), 1fr));
85
+ }
86
+
87
+ ._23gUBq_autoFit80 {
88
+ grid-template-columns: repeat(auto-fit,
89
+ minmax(min(calc(var(--spacing) * 80), 100%), 1fr));
90
+ }
91
+ }
92
+
93
+ @layer utilities;
@@ -1,16 +1,15 @@
1
1
  import { GapSize } from "../_shared/gap.mjs";
2
2
  import { FC, HTMLAttributes, PropsWithChildren } from "react";
3
3
  //#region src/components/layout/grid/grid.d.ts
4
- type GridProps = PropsWithChildren<{
4
+ export type GridProps = PropsWithChildren<{
5
5
  /**
6
6
  * 列数。`1`〜`6` の固定列、`'auto-fill'` / `'auto-fit'` の自動列を選べる。
7
- * 自動列の場合は `minItemSize` で各セルの最小幅(Tailwind spacing 単位)を指定する。
7
+ * 自動列の場合は `minItemSize` で各セルの最小幅(`--spacing` の段数)を指定する。
8
8
  */
9
9
  cols?: 1 | 2 | 3 | 4 | 5 | 6 | 'auto-fill' | 'auto-fit';
10
- /** `cols` が `auto-fill` / `auto-fit` のときの各セルの最小サイズ(Tailwind spacing)。 */
10
+ /** `cols` が `auto-fill` / `auto-fit` のときの各セルの最小サイズ(`--spacing` の段数。`24` は 6rem)。 */
11
11
  minItemSize?: 24 | 32 | 40 | 48 | 64 | 80;
12
12
  gap?: GapSize;
13
13
  } & Omit<HTMLAttributes<HTMLDivElement>, 'className' | 'style'>>;
14
- declare const Grid: FC<GridProps>;
15
- //#endregion
16
- export { Grid, GridProps };
14
+ export declare const Grid: FC<GridProps>;
15
+ //#endregion
@@ -1,34 +1,35 @@
1
- import { cn } from "../../../helpers/cn.mjs";
2
1
  import { GAP_CLASS } from "../_shared/gap.mjs";
2
+ import grid_module_default from "./grid.module.mjs";
3
+ import { clsx } from "clsx";
3
4
  import { jsx } from "react/jsx-runtime";
4
5
  //#region src/components/layout/grid/grid.tsx
5
6
  const COLS_CLASS = {
6
- 1: "grid-cols-1",
7
- 2: "grid-cols-2",
8
- 3: "grid-cols-3",
9
- 4: "grid-cols-4",
10
- 5: "grid-cols-5",
11
- 6: "grid-cols-6"
7
+ 1: grid_module_default.cols1,
8
+ 2: grid_module_default.cols2,
9
+ 3: grid_module_default.cols3,
10
+ 4: grid_module_default.cols4,
11
+ 5: grid_module_default.cols5,
12
+ 6: grid_module_default.cols6
12
13
  };
13
14
  const AUTO_FILL_CLASS = {
14
- 24: "grid-cols-auto-fill-24",
15
- 32: "grid-cols-auto-fill-32",
16
- 40: "grid-cols-auto-fill-40",
17
- 48: "grid-cols-auto-fill-48",
18
- 64: "grid-cols-auto-fill-64",
19
- 80: "grid-cols-auto-fill-80"
15
+ 24: grid_module_default.autoFill24,
16
+ 32: grid_module_default.autoFill32,
17
+ 40: grid_module_default.autoFill40,
18
+ 48: grid_module_default.autoFill48,
19
+ 64: grid_module_default.autoFill64,
20
+ 80: grid_module_default.autoFill80
20
21
  };
21
22
  const AUTO_FIT_CLASS = {
22
- 24: "grid-cols-auto-fit-24",
23
- 32: "grid-cols-auto-fit-32",
24
- 40: "grid-cols-auto-fit-40",
25
- 48: "grid-cols-auto-fit-48",
26
- 64: "grid-cols-auto-fit-64",
27
- 80: "grid-cols-auto-fit-80"
23
+ 24: grid_module_default.autoFit24,
24
+ 32: grid_module_default.autoFit32,
25
+ 40: grid_module_default.autoFit40,
26
+ 48: grid_module_default.autoFit48,
27
+ 64: grid_module_default.autoFit64,
28
+ 80: grid_module_default.autoFit80
28
29
  };
29
30
  const Grid = ({ cols = "auto-fill", minItemSize = 48, gap = "md", children, ...rest }) => /* @__PURE__ */ jsx("div", {
30
31
  ...rest,
31
- className: cn("grid", GAP_CLASS[gap], typeof cols === "number" ? COLS_CLASS[cols] : cols === "auto-fill" ? AUTO_FILL_CLASS[minItemSize] : AUTO_FIT_CLASS[minItemSize]),
32
+ className: clsx(grid_module_default.root, GAP_CLASS[gap], typeof cols === "number" ? COLS_CLASS[cols] : cols === "auto-fill" ? AUTO_FILL_CLASS[minItemSize] : AUTO_FIT_CLASS[minItemSize]),
32
33
  children
33
34
  });
34
35
  //#endregion
@@ -0,0 +1,25 @@
1
+ import './grid.css';
2
+ //#region src/components/layout/grid/grid.module.css
3
+ var grid_module_default = {
4
+ "autoFill24": "_23gUBq_autoFill24",
5
+ "autoFill32": "_23gUBq_autoFill32",
6
+ "autoFill40": "_23gUBq_autoFill40",
7
+ "autoFill48": "_23gUBq_autoFill48",
8
+ "autoFill64": "_23gUBq_autoFill64",
9
+ "autoFill80": "_23gUBq_autoFill80",
10
+ "autoFit24": "_23gUBq_autoFit24",
11
+ "autoFit32": "_23gUBq_autoFit32",
12
+ "autoFit40": "_23gUBq_autoFit40",
13
+ "autoFit48": "_23gUBq_autoFit48",
14
+ "autoFit64": "_23gUBq_autoFit64",
15
+ "autoFit80": "_23gUBq_autoFit80",
16
+ "cols1": "_23gUBq_cols1",
17
+ "cols2": "_23gUBq_cols2",
18
+ "cols3": "_23gUBq_cols3",
19
+ "cols4": "_23gUBq_cols4",
20
+ "cols5": "_23gUBq_cols5",
21
+ "cols6": "_23gUBq_cols6",
22
+ "root": "_23gUBq_root"
23
+ };
24
+ //#endregion
25
+ export { grid_module_default as default };
@@ -0,0 +1,18 @@
1
+ //#region src/components/layout/resizable-panels/index.d.ts
2
+ export declare const ResizablePanels: {
3
+ readonly Root: import("react").FC<{
4
+ orientation?: "horizontal" | "vertical";
5
+ value?: number;
6
+ defaultValue?: number;
7
+ onChange?: (value: number) => void;
8
+ min?: number;
9
+ max?: number;
10
+ step?: number;
11
+ ref?: import("react").Ref<HTMLDivElement>;
12
+ } & Omit<import("react").HTMLAttributes<HTMLDivElement>, "className" | "defaultValue" | "onChange" | "style">>;
13
+ readonly Panel: import("react").FC<{
14
+ ref?: import("react").Ref<HTMLDivElement>;
15
+ } & Omit<import("react").HTMLAttributes<HTMLDivElement>, "className" | "style">>;
16
+ readonly Handle: import("react").FC<Omit<import("react").HTMLAttributes<HTMLDivElement>, "aria-controls" | "aria-orientation" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "children" | "className" | "role" | "style" | "tabIndex">>;
17
+ };
18
+ //#endregion
@@ -0,0 +1,9 @@
1
+ import { Handle, Panel, Root } from "./resizable-panels.mjs";
2
+ //#region src/components/layout/resizable-panels/index.ts
3
+ const ResizablePanels = {
4
+ Root,
5
+ Panel,
6
+ Handle
7
+ };
8
+ //#endregion
9
+ export { ResizablePanels };