@k8ordo/ui 2.1.0 → 2.3.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 (521) hide show
  1. package/README.md +4 -4
  2. package/dist/components/_internal/focus-ring.css +8 -2
  3. package/dist/components/_internal/focus-ring.module.mjs +1 -2
  4. package/dist/components/_internal/form-value.d.mts +1 -2
  5. package/dist/components/_internal/form-value.mjs +1 -2
  6. package/dist/components/_internal/high-contrast.module.mjs +1 -2
  7. package/dist/components/_internal/ignore-changes.d.mts +1 -3
  8. package/dist/components/_internal/ignore-changes.mjs +1 -2
  9. package/dist/components/_internal/nav-link.d.mts +2 -4
  10. package/dist/components/_internal/nav-link.mjs +1 -2
  11. package/dist/components/_internal/nav-link.module.mjs +1 -2
  12. package/dist/components/_internal/sr-only.module.mjs +1 -2
  13. package/dist/components/_internal/status-tone.d.mts +9 -11
  14. package/dist/components/_internal/status-tone.mjs +1 -2
  15. package/dist/components/_internal/status-tone.module.mjs +1 -2
  16. package/dist/components/ai/_internal/attachment-preview.d.mts +1 -2
  17. package/dist/components/ai/_internal/attachment-preview.mjs +1 -2
  18. package/dist/components/ai/_internal/attachment-preview.module.mjs +1 -2
  19. package/dist/components/ai/_internal/collapsible.d.mts +1 -2
  20. package/dist/components/ai/_internal/collapsible.mjs +1 -2
  21. package/dist/components/ai/_internal/collapsible.module.mjs +1 -2
  22. package/dist/components/ai/_internal/icons.d.mts +1 -2
  23. package/dist/components/ai/_internal/icons.mjs +1 -2
  24. package/dist/components/ai/_internal/streaming-cursor.d.mts +1 -3
  25. package/dist/components/ai/_internal/streaming-cursor.mjs +1 -2
  26. package/dist/components/ai/_internal/streaming-cursor.module.mjs +1 -2
  27. package/dist/components/ai/attachment/attachment.d.mts +1 -2
  28. package/dist/components/ai/attachment/attachment.mjs +1 -2
  29. package/dist/components/ai/attachment/attachment.module.mjs +1 -2
  30. package/dist/components/ai/attachment/index.d.mts +1 -3
  31. package/dist/components/ai/attachment/index.mjs +1 -2
  32. package/dist/components/ai/conversation/conversation.d.mts +1 -2
  33. package/dist/components/ai/conversation/conversation.mjs +1 -2
  34. package/dist/components/ai/conversation/conversation.module.mjs +1 -2
  35. package/dist/components/ai/conversation/index.d.mts +1 -3
  36. package/dist/components/ai/conversation/index.mjs +1 -2
  37. package/dist/components/ai/message/index.d.mts +1 -3
  38. package/dist/components/ai/message/index.mjs +1 -2
  39. package/dist/components/ai/message/message.d.mts +1 -2
  40. package/dist/components/ai/message/message.mjs +1 -2
  41. package/dist/components/ai/message/message.module.mjs +1 -2
  42. package/dist/components/ai/prompt-input/index.d.mts +1 -3
  43. package/dist/components/ai/prompt-input/index.mjs +1 -2
  44. package/dist/components/ai/prompt-input/prompt-input.d.mts +1 -2
  45. package/dist/components/ai/prompt-input/prompt-input.mjs +1 -2
  46. package/dist/components/ai/prompt-input/prompt-input.module.mjs +1 -2
  47. package/dist/components/ai/reasoning/index.mjs +1 -2
  48. package/dist/components/ai/reasoning/reasoning.d.mts +1 -2
  49. package/dist/components/ai/reasoning/reasoning.mjs +1 -2
  50. package/dist/components/ai/reasoning/reasoning.module.mjs +1 -2
  51. package/dist/components/ai/response/index.mjs +1 -2
  52. package/dist/components/ai/response/response.d.mts +1 -2
  53. package/dist/components/ai/response/response.mjs +1 -2
  54. package/dist/components/ai/response/response.module.mjs +1 -2
  55. package/dist/components/ai/source/index.d.mts +1 -3
  56. package/dist/components/ai/source/index.mjs +1 -2
  57. package/dist/components/ai/source/source.d.mts +1 -2
  58. package/dist/components/ai/source/source.mjs +1 -2
  59. package/dist/components/ai/source/source.module.mjs +1 -2
  60. package/dist/components/ai/suggestion/index.d.mts +1 -3
  61. package/dist/components/ai/suggestion/index.mjs +1 -2
  62. package/dist/components/ai/suggestion/suggestion.d.mts +1 -2
  63. package/dist/components/ai/suggestion/suggestion.mjs +1 -2
  64. package/dist/components/ai/suggestion/suggestion.module.mjs +1 -2
  65. package/dist/components/ai/tool-invocation/approval-bar.d.mts +1 -2
  66. package/dist/components/ai/tool-invocation/approval-bar.mjs +1 -2
  67. package/dist/components/ai/tool-invocation/approval-bar.module.mjs +1 -2
  68. package/dist/components/ai/tool-invocation/index.mjs +1 -2
  69. package/dist/components/ai/tool-invocation/tool-invocation.d.mts +1 -2
  70. package/dist/components/ai/tool-invocation/tool-invocation.mjs +1 -2
  71. package/dist/components/ai/tool-invocation/tool-invocation.module.mjs +1 -2
  72. package/dist/components/ai/types.d.mts +1 -3
  73. package/dist/components/buttons/button/button.d.mts +1 -2
  74. package/dist/components/buttons/button/button.mjs +1 -2
  75. package/dist/components/buttons/button/button.module.mjs +1 -2
  76. package/dist/components/buttons/button/index.mjs +1 -2
  77. package/dist/components/buttons/copy-button/copy-button.d.mts +1 -3
  78. package/dist/components/buttons/copy-button/copy-button.mjs +1 -2
  79. package/dist/components/buttons/copy-button/copy-button.module.mjs +1 -2
  80. package/dist/components/buttons/copy-button/index.mjs +1 -2
  81. package/dist/components/buttons/icon-button/icon-button.d.mts +1 -2
  82. package/dist/components/buttons/icon-button/icon-button.mjs +1 -2
  83. package/dist/components/buttons/icon-button/icon-button.module.mjs +1 -2
  84. package/dist/components/buttons/icon-button/index.mjs +1 -2
  85. package/dist/components/buttons/toolbar/index.d.mts +0 -2
  86. package/dist/components/buttons/toolbar/index.mjs +1 -2
  87. package/dist/components/buttons/toolbar/toolbar.d.mts +1 -2
  88. package/dist/components/buttons/toolbar/toolbar.mjs +1 -2
  89. package/dist/components/buttons/toolbar/toolbar.module.mjs +1 -2
  90. package/dist/components/data-display/accordion/accordion-button.d.mts +1 -3
  91. package/dist/components/data-display/accordion/accordion-button.mjs +1 -2
  92. package/dist/components/data-display/accordion/accordion-button.module.mjs +1 -2
  93. package/dist/components/data-display/accordion/accordion-item.d.mts +1 -3
  94. package/dist/components/data-display/accordion/accordion-item.mjs +1 -2
  95. package/dist/components/data-display/accordion/accordion-item.module.mjs +1 -2
  96. package/dist/components/data-display/accordion/accordion-panel.d.mts +1 -3
  97. package/dist/components/data-display/accordion/accordion-panel.mjs +1 -2
  98. package/dist/components/data-display/accordion/accordion-panel.module.mjs +1 -2
  99. package/dist/components/data-display/accordion/accordion.d.mts +1 -3
  100. package/dist/components/data-display/accordion/accordion.mjs +1 -2
  101. package/dist/components/data-display/accordion/accordion.module.mjs +1 -2
  102. package/dist/components/data-display/accordion/context.d.mts +0 -2
  103. package/dist/components/data-display/accordion/context.mjs +1 -2
  104. package/dist/components/data-display/accordion/index.d.mts +1 -3
  105. package/dist/components/data-display/accordion/index.mjs +1 -2
  106. package/dist/components/data-display/avatar/avatar.d.mts +1 -2
  107. package/dist/components/data-display/avatar/avatar.mjs +1 -2
  108. package/dist/components/data-display/avatar/avatar.module.mjs +1 -2
  109. package/dist/components/data-display/avatar/index.mjs +1 -2
  110. package/dist/components/data-display/badge/badge.d.mts +1 -2
  111. package/dist/components/data-display/badge/badge.mjs +1 -2
  112. package/dist/components/data-display/badge/badge.module.mjs +1 -2
  113. package/dist/components/data-display/badge/index.mjs +1 -2
  114. package/dist/components/data-display/card/card.d.mts +1 -2
  115. package/dist/components/data-display/card/card.mjs +1 -2
  116. package/dist/components/data-display/card/card.module.mjs +1 -2
  117. package/dist/components/data-display/card/index.mjs +1 -2
  118. package/dist/components/data-display/carousel/carousel.d.mts +1 -2
  119. package/dist/components/data-display/carousel/carousel.mjs +1 -2
  120. package/dist/components/data-display/carousel/carousel.module.mjs +1 -2
  121. package/dist/components/data-display/carousel/index.d.mts +1 -3
  122. package/dist/components/data-display/carousel/index.mjs +1 -2
  123. package/dist/components/data-display/code/code.d.mts +1 -2
  124. package/dist/components/data-display/code/code.mjs +1 -2
  125. package/dist/components/data-display/code/code.module.mjs +1 -2
  126. package/dist/components/data-display/code/find-all-colors.d.mts +1 -2
  127. package/dist/components/data-display/code/find-all-colors.mjs +1 -2
  128. package/dist/components/data-display/code/index.mjs +1 -2
  129. package/dist/components/data-display/code-block/code-block.d.mts +1 -2
  130. package/dist/components/data-display/code-block/code-block.mjs +1 -2
  131. package/dist/components/data-display/code-block/code-block.module.mjs +1 -2
  132. package/dist/components/data-display/code-block/highlight.d.mts +1 -2
  133. package/dist/components/data-display/code-block/highlight.mjs +1 -2
  134. package/dist/components/data-display/code-block/index.mjs +1 -2
  135. package/dist/components/data-display/data-table/data-table.d.mts +1 -2
  136. package/dist/components/data-display/data-table/data-table.mjs +1 -2
  137. package/dist/components/data-display/data-table/data-table.module.mjs +1 -2
  138. package/dist/components/data-display/data-table/index.mjs +1 -2
  139. package/dist/components/data-display/heading/heading.d.mts +1 -2
  140. package/dist/components/data-display/heading/heading.mjs +1 -2
  141. package/dist/components/data-display/heading/heading.module.mjs +1 -2
  142. package/dist/components/data-display/heading/index.mjs +1 -2
  143. package/dist/components/data-display/kbd/index.mjs +1 -2
  144. package/dist/components/data-display/kbd/kbd.d.mts +1 -2
  145. package/dist/components/data-display/kbd/kbd.mjs +1 -2
  146. package/dist/components/data-display/kbd/kbd.module.mjs +1 -2
  147. package/dist/components/data-display/prose/index.mjs +1 -2
  148. package/dist/components/data-display/prose/prose.css +5 -0
  149. package/dist/components/data-display/prose/prose.d.mts +1 -2
  150. package/dist/components/data-display/prose/prose.mjs +1 -2
  151. package/dist/components/data-display/prose/prose.module.mjs +1 -2
  152. package/dist/components/data-display/table/index.mjs +1 -2
  153. package/dist/components/data-display/table/table.d.mts +1 -2
  154. package/dist/components/data-display/table/table.mjs +1 -2
  155. package/dist/components/data-display/table/table.module.mjs +1 -2
  156. package/dist/components/data-display/tree/index.mjs +1 -2
  157. package/dist/components/data-display/tree/tree.css +1 -15
  158. package/dist/components/data-display/tree/tree.d.mts +1 -2
  159. package/dist/components/data-display/tree/tree.mjs +50 -58
  160. package/dist/components/data-display/tree/tree.module.mjs +1 -3
  161. package/dist/components/feedback/alert/alert.d.mts +1 -2
  162. package/dist/components/feedback/alert/alert.mjs +1 -2
  163. package/dist/components/feedback/alert/alert.module.mjs +1 -2
  164. package/dist/components/feedback/alert/index.mjs +1 -2
  165. package/dist/components/feedback/callout/callout.d.mts +1 -2
  166. package/dist/components/feedback/callout/callout.mjs +1 -2
  167. package/dist/components/feedback/callout/callout.module.mjs +1 -2
  168. package/dist/components/feedback/callout/index.mjs +1 -2
  169. package/dist/components/feedback/empty-state/empty-state.d.mts +1 -2
  170. package/dist/components/feedback/empty-state/empty-state.mjs +1 -2
  171. package/dist/components/feedback/empty-state/empty-state.module.mjs +1 -2
  172. package/dist/components/feedback/empty-state/index.mjs +1 -2
  173. package/dist/components/feedback/progress/index.mjs +1 -2
  174. package/dist/components/feedback/progress/progress.d.mts +1 -2
  175. package/dist/components/feedback/progress/progress.mjs +1 -2
  176. package/dist/components/feedback/progress/progress.module.mjs +1 -2
  177. package/dist/components/feedback/skeleton/index.mjs +1 -2
  178. package/dist/components/feedback/skeleton/skeleton.d.mts +1 -2
  179. package/dist/components/feedback/skeleton/skeleton.mjs +1 -2
  180. package/dist/components/feedback/skeleton/skeleton.module.mjs +1 -2
  181. package/dist/components/feedback/spinner/index.mjs +1 -2
  182. package/dist/components/feedback/spinner/spinner.d.mts +1 -2
  183. package/dist/components/feedback/spinner/spinner.mjs +1 -2
  184. package/dist/components/feedback/spinner/spinner.module.mjs +1 -2
  185. package/dist/components/feedback/toast/context.d.mts +1 -3
  186. package/dist/components/feedback/toast/context.mjs +1 -2
  187. package/dist/components/feedback/toast/provider.d.mts +1 -3
  188. package/dist/components/feedback/toast/provider.mjs +51 -51
  189. package/dist/components/feedback/toast/provider.module.mjs +1 -2
  190. package/dist/components/feedback/toast/toast.d.mts +1 -2
  191. package/dist/components/feedback/toast/toast.mjs +4 -8
  192. package/dist/components/form/autocomplete/autocomplete.css +1 -1
  193. package/dist/components/form/autocomplete/autocomplete.d.mts +1 -2
  194. package/dist/components/form/autocomplete/autocomplete.mjs +3 -4
  195. package/dist/components/form/autocomplete/autocomplete.module.mjs +1 -2
  196. package/dist/components/form/autocomplete/index.mjs +1 -2
  197. package/dist/components/form/calendar/calendar.d.mts +1 -2
  198. package/dist/components/form/calendar/calendar.mjs +1 -2
  199. package/dist/components/form/calendar/calendar.module.mjs +1 -2
  200. package/dist/components/form/calendar/index.mjs +1 -2
  201. package/dist/components/form/checkbox/checkbox.d.mts +1 -2
  202. package/dist/components/form/checkbox/checkbox.mjs +1 -2
  203. package/dist/components/form/checkbox/checkbox.module.mjs +1 -2
  204. package/dist/components/form/checkbox/index.mjs +1 -2
  205. package/dist/components/form/checkbox-card/checkbox-card.d.mts +1 -2
  206. package/dist/components/form/checkbox-card/checkbox-card.mjs +1 -2
  207. package/dist/components/form/checkbox-card/checkbox-card.module.mjs +1 -2
  208. package/dist/components/form/checkbox-card/index.mjs +1 -2
  209. package/dist/components/form/checkbox-group/checkbox-group.d.mts +0 -2
  210. package/dist/components/form/checkbox-group/checkbox-group.mjs +1 -2
  211. package/dist/components/form/checkbox-group/checkbox-group.module.mjs +1 -2
  212. package/dist/components/form/checkbox-group/index.d.mts +1 -3
  213. package/dist/components/form/checkbox-group/index.mjs +1 -2
  214. package/dist/components/form/color-picker/color-picker.css +1 -1
  215. package/dist/components/form/color-picker/color-picker.d.mts +1 -2
  216. package/dist/components/form/color-picker/color-picker.mjs +1 -2
  217. package/dist/components/form/color-picker/color-picker.module.mjs +1 -2
  218. package/dist/components/form/color-picker/index.mjs +1 -2
  219. package/dist/components/form/combobox/combobox.css +1 -1
  220. package/dist/components/form/combobox/combobox.d.mts +1 -2
  221. package/dist/components/form/combobox/combobox.mjs +3 -7
  222. package/dist/components/form/combobox/combobox.module.mjs +1 -2
  223. package/dist/components/form/combobox/index.mjs +1 -2
  224. package/dist/components/form/date-field/date-field.css +1 -1
  225. package/dist/components/form/date-field/date-field.d.mts +1 -2
  226. package/dist/components/form/date-field/date-field.mjs +1 -2
  227. package/dist/components/form/date-field/date-field.module.mjs +1 -2
  228. package/dist/components/form/date-field/index.mjs +1 -2
  229. package/dist/components/form/date-picker/date-picker.d.mts +1 -2
  230. package/dist/components/form/date-picker/date-picker.mjs +1 -2
  231. package/dist/components/form/date-picker/date-picker.module.mjs +1 -2
  232. package/dist/components/form/date-picker/index.mjs +1 -2
  233. package/dist/components/form/file-field/file-field.d.mts +1 -2
  234. package/dist/components/form/file-field/file-field.mjs +1 -2
  235. package/dist/components/form/file-field/file-field.module.mjs +1 -2
  236. package/dist/components/form/file-field/index.d.mts +1 -3
  237. package/dist/components/form/file-field/index.mjs +1 -2
  238. package/dist/components/form/form/form.d.mts +1 -2
  239. package/dist/components/form/form/form.mjs +1 -2
  240. package/dist/components/form/form/form.module.mjs +1 -2
  241. package/dist/components/form/form/index.mjs +1 -2
  242. package/dist/components/form/form-control/form-control.d.mts +1 -2
  243. package/dist/components/form/form-control/form-control.mjs +1 -2
  244. package/dist/components/form/form-control/form-control.module.mjs +1 -2
  245. package/dist/components/form/form-control/index.mjs +1 -2
  246. package/dist/components/form/number-field/cast.d.mts +1 -3
  247. package/dist/components/form/number-field/cast.mjs +1 -2
  248. package/dist/components/form/number-field/index.mjs +1 -2
  249. package/dist/components/form/number-field/number-field.css +0 -11
  250. package/dist/components/form/number-field/number-field.d.mts +1 -2
  251. package/dist/components/form/number-field/number-field.mjs +4 -3
  252. package/dist/components/form/number-field/number-field.module.mjs +1 -2
  253. package/dist/components/form/password-input/index.mjs +1 -2
  254. package/dist/components/form/password-input/password-input.d.mts +1 -2
  255. package/dist/components/form/password-input/password-input.mjs +1 -2
  256. package/dist/components/form/password-input/password-input.module.mjs +1 -2
  257. package/dist/components/form/radio/index.mjs +1 -2
  258. package/dist/components/form/radio/radio.d.mts +1 -2
  259. package/dist/components/form/radio/radio.mjs +1 -2
  260. package/dist/components/form/radio/radio.module.mjs +1 -2
  261. package/dist/components/form/radio-card/index.mjs +1 -2
  262. package/dist/components/form/radio-card/radio-card.d.mts +1 -2
  263. package/dist/components/form/radio-card/radio-card.mjs +1 -2
  264. package/dist/components/form/radio-card/radio-card.module.mjs +1 -2
  265. package/dist/components/form/range-slider/index.mjs +1 -2
  266. package/dist/components/form/range-slider/range-slider.d.mts +1 -2
  267. package/dist/components/form/range-slider/range-slider.mjs +1 -2
  268. package/dist/components/form/range-slider/range-slider.module.mjs +1 -2
  269. package/dist/components/form/select/index.mjs +1 -2
  270. package/dist/components/form/select/select.d.mts +1 -2
  271. package/dist/components/form/select/select.mjs +1 -2
  272. package/dist/components/form/select/select.module.mjs +1 -2
  273. package/dist/components/form/slider/index.mjs +1 -2
  274. package/dist/components/form/slider/range-input-class.css +12 -0
  275. package/dist/components/form/slider/range-input-class.d.mts +1 -3
  276. package/dist/components/form/slider/range-input-class.mjs +1 -2
  277. package/dist/components/form/slider/range-input-class.module.mjs +1 -2
  278. package/dist/components/form/slider/slider.d.mts +1 -2
  279. package/dist/components/form/slider/slider.mjs +1 -2
  280. package/dist/components/form/slider/slider.module.mjs +1 -2
  281. package/dist/components/form/switch/index.mjs +1 -2
  282. package/dist/components/form/switch/switch.d.mts +1 -2
  283. package/dist/components/form/switch/switch.mjs +1 -2
  284. package/dist/components/form/switch/switch.module.mjs +1 -2
  285. package/dist/components/form/text-field/index.mjs +1 -2
  286. package/dist/components/form/text-field/text-field.css +0 -11
  287. package/dist/components/form/text-field/text-field.d.mts +1 -2
  288. package/dist/components/form/text-field/text-field.mjs +4 -3
  289. package/dist/components/form/text-field/text-field.module.mjs +1 -2
  290. package/dist/components/form/textarea/index.mjs +1 -2
  291. package/dist/components/form/textarea/textarea.css +0 -11
  292. package/dist/components/form/textarea/textarea.d.mts +1 -2
  293. package/dist/components/form/textarea/textarea.mjs +4 -8
  294. package/dist/components/form/textarea/textarea.module.mjs +1 -2
  295. package/dist/components/icons/base.d.mts +1 -3
  296. package/dist/components/icons/base.mjs +1 -2
  297. package/dist/components/icons/base.module.mjs +1 -2
  298. package/dist/components/icons/browsers.d.mts +1 -3
  299. package/dist/components/icons/browsers.mjs +1 -2
  300. package/dist/components/icons/color-scale.d.mts +1 -3
  301. package/dist/components/icons/color-scale.mjs +1 -2
  302. package/dist/components/icons/github-mark.d.mts +1 -3
  303. package/dist/components/icons/github-mark.mjs +1 -2
  304. package/dist/components/icons/logo.d.mts +1 -3
  305. package/dist/components/icons/logo.mjs +1 -2
  306. package/dist/components/icons/logo.module.mjs +1 -2
  307. package/dist/components/icons/lucide.d.mts +1 -2
  308. package/dist/components/icons/lucide.mjs +1 -2
  309. package/dist/components/icons/qiita.d.mts +1 -3
  310. package/dist/components/icons/qiita.mjs +1 -2
  311. package/dist/components/icons/twitter.d.mts +1 -3
  312. package/dist/components/icons/twitter.mjs +1 -2
  313. package/dist/components/icons/twitter.module.mjs +1 -2
  314. package/dist/components/icons/vertical-writing.d.mts +1 -3
  315. package/dist/components/icons/vertical-writing.mjs +1 -2
  316. package/dist/components/layout/_shared/gap.d.mts +6 -8
  317. package/dist/components/layout/_shared/gap.mjs +1 -2
  318. package/dist/components/layout/_shared/gap.module.mjs +1 -2
  319. package/dist/components/layout/_shared/padding.d.mts +6 -8
  320. package/dist/components/layout/_shared/padding.mjs +1 -2
  321. package/dist/components/layout/_shared/padding.module.mjs +1 -2
  322. package/dist/components/layout/grid/grid.d.mts +1 -3
  323. package/dist/components/layout/grid/grid.mjs +1 -2
  324. package/dist/components/layout/grid/grid.module.mjs +1 -2
  325. package/dist/components/layout/grid/index.mjs +1 -2
  326. package/dist/components/layout/resizable-panels/index.d.mts +1 -3
  327. package/dist/components/layout/resizable-panels/index.mjs +1 -2
  328. package/dist/components/layout/resizable-panels/resizable-panels.d.mts +1 -2
  329. package/dist/components/layout/resizable-panels/resizable-panels.mjs +1 -2
  330. package/dist/components/layout/resizable-panels/resizable-panels.module.mjs +1 -2
  331. package/dist/components/layout/separator/index.mjs +1 -2
  332. package/dist/components/layout/separator/separator.d.mts +1 -2
  333. package/dist/components/layout/separator/separator.mjs +1 -2
  334. package/dist/components/layout/separator/separator.module.mjs +1 -2
  335. package/dist/components/layout/stack/index.mjs +1 -2
  336. package/dist/components/layout/stack/stack.d.mts +1 -3
  337. package/dist/components/layout/stack/stack.mjs +1 -2
  338. package/dist/components/layout/stack/stack.module.mjs +1 -2
  339. package/dist/components/navigation/anchor/anchor.d.mts +1 -2
  340. package/dist/components/navigation/anchor/anchor.mjs +1 -2
  341. package/dist/components/navigation/anchor/anchor.module.mjs +1 -2
  342. package/dist/components/navigation/anchor/index.mjs +1 -2
  343. package/dist/components/navigation/breadcrumb/breadcrumb.d.mts +1 -2
  344. package/dist/components/navigation/breadcrumb/breadcrumb.mjs +1 -2
  345. package/dist/components/navigation/breadcrumb/breadcrumb.module.mjs +1 -2
  346. package/dist/components/navigation/breadcrumb/index.d.mts +1 -3
  347. package/dist/components/navigation/breadcrumb/index.mjs +1 -2
  348. package/dist/components/navigation/pagination/index.mjs +1 -2
  349. package/dist/components/navigation/pagination/pagination.d.mts +1 -2
  350. package/dist/components/navigation/pagination/pagination.mjs +1 -2
  351. package/dist/components/navigation/pagination/pagination.module.mjs +1 -2
  352. package/dist/components/navigation/side-nav/index.d.mts +1 -3
  353. package/dist/components/navigation/side-nav/index.mjs +1 -2
  354. package/dist/components/navigation/side-nav/side-nav.d.mts +1 -2
  355. package/dist/components/navigation/side-nav/side-nav.mjs +1 -2
  356. package/dist/components/navigation/side-nav/side-nav.module.mjs +1 -2
  357. package/dist/components/navigation/stepper/index.mjs +1 -2
  358. package/dist/components/navigation/stepper/stepper.d.mts +1 -2
  359. package/dist/components/navigation/stepper/stepper.mjs +1 -2
  360. package/dist/components/navigation/stepper/stepper.module.mjs +1 -2
  361. package/dist/components/navigation/table-of-contents/index.mjs +1 -2
  362. package/dist/components/navigation/table-of-contents/table-of-contents.d.mts +1 -3
  363. package/dist/components/navigation/table-of-contents/table-of-contents.mjs +1 -2
  364. package/dist/components/navigation/table-of-contents/table-of-contents.module.mjs +1 -2
  365. package/dist/components/navigation/tabs/index.d.mts +1 -3
  366. package/dist/components/navigation/tabs/index.mjs +1 -2
  367. package/dist/components/navigation/tabs/tabs.d.mts +1 -3
  368. package/dist/components/navigation/tabs/tabs.mjs +1 -2
  369. package/dist/components/navigation/tabs/tabs.module.mjs +1 -2
  370. package/dist/components/observers/in-view/in-view.d.mts +1 -3
  371. package/dist/components/observers/in-view/in-view.mjs +1 -2
  372. package/dist/components/observers/in-view/index.mjs +1 -2
  373. package/dist/components/observers/resize/index.mjs +1 -2
  374. package/dist/components/observers/resize/resize.d.mts +1 -3
  375. package/dist/components/observers/resize/resize.mjs +1 -2
  376. package/dist/components/overlays/_internal/modal-dialog-context.d.mts +1 -3
  377. package/dist/components/overlays/_internal/modal-dialog-context.mjs +1 -2
  378. package/dist/components/overlays/_internal/use-can-hover.d.mts +1 -3
  379. package/dist/components/overlays/_internal/use-can-hover.mjs +1 -2
  380. package/dist/components/overlays/_internal/use-hover-intent.d.mts +1 -3
  381. package/dist/components/overlays/_internal/use-hover-intent.mjs +1 -2
  382. package/dist/components/overlays/_internal/use-list-navigation.d.mts +1 -3
  383. package/dist/components/overlays/_internal/use-list-navigation.mjs +1 -2
  384. package/dist/components/overlays/command-palette/command-palette.d.mts +1 -2
  385. package/dist/components/overlays/command-palette/command-palette.mjs +1 -2
  386. package/dist/components/overlays/command-palette/command-palette.module.mjs +1 -2
  387. package/dist/components/overlays/command-palette/index.mjs +1 -2
  388. package/dist/components/overlays/context-menu/context-menu.d.mts +1 -3
  389. package/dist/components/overlays/context-menu/context-menu.mjs +1 -2
  390. package/dist/components/overlays/context-menu/index.d.mts +1 -3
  391. package/dist/components/overlays/context-menu/index.mjs +1 -2
  392. package/dist/components/overlays/dialog/dialog.d.mts +1 -3
  393. package/dist/components/overlays/dialog/dialog.mjs +2 -7
  394. package/dist/components/overlays/dialog/dialog.module.mjs +1 -2
  395. package/dist/components/overlays/dialog/index.d.mts +1 -3
  396. package/dist/components/overlays/dialog/index.mjs +1 -2
  397. package/dist/components/overlays/drawer/drawer.d.mts +1 -3
  398. package/dist/components/overlays/drawer/drawer.mjs +3 -8
  399. package/dist/components/overlays/drawer/drawer.module.mjs +1 -2
  400. package/dist/components/overlays/drawer/index.mjs +1 -2
  401. package/dist/components/overlays/dropdown-menu/dropdown-menu.d.mts +1 -3
  402. package/dist/components/overlays/dropdown-menu/dropdown-menu.mjs +1 -2
  403. package/dist/components/overlays/dropdown-menu/hooks.d.mts +1 -2
  404. package/dist/components/overlays/dropdown-menu/hooks.mjs +1 -2
  405. package/dist/components/overlays/dropdown-menu/index.d.mts +1 -3
  406. package/dist/components/overlays/dropdown-menu/index.mjs +1 -2
  407. package/dist/components/overlays/dropdown-menu/shared.d.mts +2 -4
  408. package/dist/components/overlays/dropdown-menu/shared.mjs +1 -2
  409. package/dist/components/overlays/dropdown-menu/shared.module.mjs +1 -2
  410. package/dist/components/overlays/dropdown-menu/sub-menu.d.mts +1 -3
  411. package/dist/components/overlays/dropdown-menu/sub-menu.mjs +1 -2
  412. package/dist/components/overlays/dropdown-menu/sub-menu.module.mjs +1 -2
  413. package/dist/components/overlays/dropdown-menu/use-safe-triangle.d.mts +1 -3
  414. package/dist/components/overlays/dropdown-menu/use-safe-triangle.mjs +1 -2
  415. package/dist/components/overlays/list-box/hooks.d.mts +0 -2
  416. package/dist/components/overlays/list-box/hooks.mjs +1 -2
  417. package/dist/components/overlays/list-box/index.d.mts +1 -3
  418. package/dist/components/overlays/list-box/index.mjs +1 -2
  419. package/dist/components/overlays/list-box/list-box.d.mts +1 -3
  420. package/dist/components/overlays/list-box/list-box.mjs +1 -2
  421. package/dist/components/overlays/list-box/list-box.module.mjs +1 -2
  422. package/dist/components/overlays/modal/index.mjs +1 -2
  423. package/dist/components/overlays/modal/modal.d.mts +1 -3
  424. package/dist/components/overlays/modal/modal.mjs +1 -2
  425. package/dist/components/overlays/modal/modal.module.mjs +1 -2
  426. package/dist/components/overlays/popover/anchor-positioning.d.mts +1 -5
  427. package/dist/components/overlays/popover/anchor-positioning.mjs +1 -2
  428. package/dist/components/overlays/popover/escape-stack.d.mts +1 -3
  429. package/dist/components/overlays/popover/escape-stack.mjs +1 -2
  430. package/dist/components/overlays/popover/hooks.d.mts +1 -2
  431. package/dist/components/overlays/popover/hooks.mjs +1 -2
  432. package/dist/components/overlays/popover/index.d.mts +0 -2
  433. package/dist/components/overlays/popover/index.mjs +1 -2
  434. package/dist/components/overlays/popover/popover.d.mts +0 -2
  435. package/dist/components/overlays/popover/popover.mjs +1 -2
  436. package/dist/components/overlays/popover/popover.module.mjs +1 -2
  437. package/dist/components/overlays/tooltip/bridge.d.mts +1 -3
  438. package/dist/components/overlays/tooltip/bridge.mjs +1 -2
  439. package/dist/components/overlays/tooltip/bridge.module.mjs +1 -2
  440. package/dist/components/overlays/tooltip/index.d.mts +0 -2
  441. package/dist/components/overlays/tooltip/index.mjs +1 -2
  442. package/dist/components/overlays/tooltip/tooltip.d.mts +1 -3
  443. package/dist/components/overlays/tooltip/tooltip.mjs +1 -2
  444. package/dist/components/overlays/tooltip/tooltip.module.mjs +1 -2
  445. package/dist/components/providers/portal-root.d.mts +1 -3
  446. package/dist/components/providers/portal-root.mjs +1 -2
  447. package/dist/components/providers/ui-provider.d.mts +1 -3
  448. package/dist/components/providers/ui-provider.mjs +1 -2
  449. package/dist/helpers/chain.d.mts +1 -2
  450. package/dist/helpers/chain.mjs +1 -2
  451. package/dist/helpers/create-safe-context.d.mts +1 -2
  452. package/dist/helpers/create-safe-context.mjs +1 -2
  453. package/dist/helpers/merge-props.d.mts +1 -2
  454. package/dist/helpers/merge-props.mjs +1 -2
  455. package/dist/helpers/merge-refs.d.mts +1 -3
  456. package/dist/helpers/merge-refs.mjs +1 -2
  457. package/dist/hooks/click-away/index.d.mts +1 -3
  458. package/dist/hooks/click-away/index.mjs +1 -2
  459. package/dist/hooks/controllable-state/index.d.mts +1 -2
  460. package/dist/hooks/controllable-state/index.mjs +1 -2
  461. package/dist/hooks/writing-mode/index.d.mts +1 -3
  462. package/dist/hooks/writing-mode/index.mjs +1 -2
  463. package/dist/i18n/current.d.mts +1 -3
  464. package/dist/i18n/current.mjs +1 -2
  465. package/dist/i18n/en.d.mts +1 -3
  466. package/dist/i18n/en.mjs +1 -2
  467. package/dist/i18n/ja.d.mts +1 -3
  468. package/dist/i18n/ja.mjs +1 -2
  469. package/dist/i18n/messages.d.mts +1 -3
  470. package/dist/i18n/usage.d.mts +1 -3
  471. package/dist/i18n/usage.mjs +1 -2
  472. package/dist/integrations/_shared/openui-defs.d.mts +1 -3
  473. package/dist/integrations/_shared/openui-defs.mjs +1 -2
  474. package/dist/integrations/_shared/renderers.d.mts +1 -3
  475. package/dist/integrations/_shared/renderers.mjs +1 -2
  476. package/dist/integrations/_shared/renderers.module.mjs +1 -2
  477. package/dist/integrations/_shared/schemas.d.mts +1 -5
  478. package/dist/integrations/_shared/schemas.mjs +1 -2
  479. package/dist/integrations/ai-sdk/index.mjs +1 -2
  480. package/dist/integrations/ai-sdk/map-parts.d.mts +1 -3
  481. package/dist/integrations/ai-sdk/map-parts.mjs +1 -2
  482. package/dist/integrations/json-render/catalog.d.mts +1 -2
  483. package/dist/integrations/json-render/catalog.mjs +1 -2
  484. package/dist/integrations/json-render/registry.d.mts +1 -3
  485. package/dist/integrations/json-render/registry.mjs +1 -2
  486. package/dist/integrations/openui/form-views.d.mts +2 -4
  487. package/dist/integrations/openui/form-views.mjs +1 -2
  488. package/dist/integrations/openui/library.d.mts +3 -4
  489. package/dist/integrations/openui/library.mjs +1 -2
  490. package/dist/integrations/openui/prompt.d.mts +1 -3
  491. package/dist/integrations/openui/prompt.mjs +1 -2
  492. package/dist/internal/accepts-file.d.mts +1 -3
  493. package/dist/internal/accepts-file.mjs +1 -2
  494. package/dist/internal/carries-files.d.mts +1 -3
  495. package/dist/internal/carries-files.mjs +1 -2
  496. package/dist/internal/clamp.d.mts +1 -3
  497. package/dist/internal/clamp.mjs +1 -2
  498. package/dist/internal/commit-input-value.d.mts +1 -3
  499. package/dist/internal/commit-input-value.mjs +1 -2
  500. package/dist/internal/dropped-files.d.mts +1 -3
  501. package/dist/internal/dropped-files.mjs +1 -2
  502. package/dist/internal/focus-trap.d.mts +1 -3
  503. package/dist/internal/focus-trap.mjs +1 -2
  504. package/dist/internal/hex-color.d.mts +1 -3
  505. package/dist/internal/hex-color.mjs +1 -2
  506. package/dist/internal/iso-date.d.mts +1 -3
  507. package/dist/internal/iso-date.mjs +1 -2
  508. package/dist/internal/to-precision.d.mts +1 -3
  509. package/dist/internal/to-precision.mjs +1 -2
  510. package/dist/styles/index.css +81 -0
  511. package/dist/styles/tailwind.css +29 -2
  512. package/dist/styles/tokens.d.mts +1 -1
  513. package/dist/styles/tokens.mjs +1 -1
  514. package/dist/types/variables.d.mts +1 -3
  515. package/docs/GUIDE.md +17 -1
  516. package/docs/llms.txt +1 -1
  517. package/docs/references/components.md +3 -0
  518. package/docs/references/generative-ui.md +5 -4
  519. package/package.json +35 -35
  520. package/dist/_virtual/_rolldown/runtime.mjs +0 -13
  521. package/dist/components/icons/lucide-deep.d.mts +0 -11
@@ -4,7 +4,7 @@ import date_field_module_default from "./date-field.module.mjs";
4
4
  import { clsx } from "clsx";
5
5
  import { useFormStatus } from "react-dom";
6
6
  import { jsx } from "react/jsx-runtime";
7
- //#region src/components/form/date-field/date-field.tsx
7
+ // src/components/form/date-field/date-field.tsx
8
8
  const DateField = ({ invalid = false, readOnly, ref, ...rest }) => {
9
9
  const { pending } = useFormStatus();
10
10
  return /* @__PURE__ */ jsx("input", {
@@ -16,5 +16,4 @@ const DateField = ({ invalid = false, readOnly, ref, ...rest }) => {
16
16
  type: "date"
17
17
  });
18
18
  };
19
- //#endregion
20
19
  export { DateField };
@@ -1,5 +1,4 @@
1
1
  import './date-field.css';
2
- //#region src/components/form/date-field/date-field.module.css
2
+ // src/components/form/date-field/date-field.module.css
3
3
  var date_field_module_default = { "root": "_pBLbq_root" };
4
- //#endregion
5
4
  export { date_field_module_default as default };
@@ -1,2 +1 @@
1
- import { DateField } from "./date-field.mjs";
2
- export { DateField };
1
+ export { DateField } from "./date-field.mjs";
@@ -1,5 +1,4 @@
1
1
  import { FC, InputHTMLAttributes, Ref } from "react";
2
- //#region src/components/form/date-picker/date-picker.d.ts
3
2
  type Props = {
4
3
  invalid?: boolean;
5
4
  /** `YYYY-MM-DD`。未入力は `''`。 */
@@ -9,4 +8,4 @@ type Props = {
9
8
  ref?: Ref<HTMLInputElement>;
10
9
  } & Omit<InputHTMLAttributes<HTMLInputElement>, 'className' | 'style' | 'type' | 'value' | 'defaultValue' | 'onChange' | 'children'>;
11
10
  export declare const DatePicker: FC<Props>;
12
- //#endregion
11
+ export {};
@@ -11,7 +11,7 @@ import { clsx } from "clsx";
11
11
  import { useMemo, useRef, useState } from "react";
12
12
  import { useFormStatus } from "react-dom";
13
13
  import { jsx, jsxs } from "react/jsx-runtime";
14
- //#region src/components/form/date-picker/date-picker.tsx
14
+ // src/components/form/date-picker/date-picker.tsx
15
15
  const asDate = (bound) => bound === void 0 ? void 0 : String(bound);
16
16
  const DatePicker = ({ invalid = false, value, defaultValue, onChange, disabled = false, readOnly = false, min, max, ref, ...rest }) => {
17
17
  const messages = getMessages();
@@ -73,5 +73,4 @@ const DatePicker = ({ invalid = false, value, defaultValue, onChange, disabled =
73
73
  })]
74
74
  });
75
75
  };
76
- //#endregion
77
76
  export { DatePicker };
@@ -1,5 +1,5 @@
1
1
  import './date-picker.css';
2
- //#region src/components/form/date-picker/date-picker.module.css
2
+ // src/components/form/date-picker/date-picker.module.css
3
3
  var date_picker_module_default = {
4
4
  "dialog": "VmF9ya_dialog",
5
5
  "disabled": "VmF9ya_disabled",
@@ -10,5 +10,4 @@ var date_picker_module_default = {
10
10
  "root": "VmF9ya_root",
11
11
  "trigger": "VmF9ya_trigger"
12
12
  };
13
- //#endregion
14
13
  export { date_picker_module_default as default };
@@ -1,2 +1 @@
1
- import { DatePicker } from "./date-picker.mjs";
2
- export { DatePicker };
1
+ export { DatePicker } from "./date-picker.mjs";
@@ -1,5 +1,4 @@
1
1
  import { ChangeEvent, FC, InputHTMLAttributes, PropsWithChildren, ReactElement, ReactNode, Ref } from "react";
2
- //#region src/components/form/file-field/file-field.d.ts
3
2
  type RootProps = PropsWithChildren<{
4
3
  invalid?: boolean;
5
4
  maxFiles?: number;
@@ -23,4 +22,4 @@ export declare const ItemList: FC<{
23
22
  showWebkitRelativePath?: boolean;
24
23
  clearable?: boolean;
25
24
  }>;
26
- //#endregion
25
+ export {};
@@ -14,7 +14,7 @@ import { clsx } from "clsx";
14
14
  import { useCallback, useEffect, useEffectEvent, useId, useMemo, useRef, useState } from "react";
15
15
  import { useFormStatus } from "react-dom";
16
16
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
17
- //#region src/components/form/file-field/file-field.tsx
17
+ // src/components/form/file-field/file-field.tsx
18
18
  const [FileFieldProvider, useFileFieldContext] = createSafeContext("useFileFieldContext must be used within a FileField.Root");
19
19
  const toAccepted = (files) => files.map((file) => ({
20
20
  file,
@@ -213,5 +213,4 @@ const ItemList = ({ showWebkitRelativePath, clearable }) => {
213
213
  })
214
214
  });
215
215
  };
216
- //#endregion
217
216
  export { Dropzone, ItemList, Root, Trigger };
@@ -1,5 +1,5 @@
1
1
  import './file-field.css';
2
- //#region src/components/form/file-field/file-field.module.css
2
+ // src/components/form/file-field/file-field.module.css
3
3
  var file_field_module_default = {
4
4
  "disabled": "PPBdPq_disabled",
5
5
  "dragging": "PPBdPq_dragging",
@@ -13,5 +13,4 @@ var file_field_module_default = {
13
13
  "root": "PPBdPq_root",
14
14
  "size": "PPBdPq_size"
15
15
  };
16
- //#endregion
17
16
  export { file_field_module_default as default };
@@ -1,5 +1,4 @@
1
1
  import { Root } from "./file-field.mjs";
2
- //#region src/components/form/file-field/index.d.ts
3
2
  export declare const FileField: {
4
3
  readonly Root: typeof Root;
5
4
  readonly Trigger: import("react").FC<{
@@ -16,5 +15,4 @@ export declare const FileField: {
16
15
  showWebkitRelativePath?: boolean;
17
16
  clearable?: boolean;
18
17
  }>;
19
- };
20
- //#endregion
18
+ };
@@ -1,10 +1,9 @@
1
1
  import { Dropzone, ItemList, Root, Trigger } from "./file-field.mjs";
2
- //#region src/components/form/file-field/index.ts
2
+ // src/components/form/file-field/index.ts
3
3
  const FileField = {
4
4
  Root,
5
5
  Trigger,
6
6
  Dropzone,
7
7
  ItemList
8
8
  };
9
- //#endregion
10
9
  export { FileField };
@@ -1,9 +1,8 @@
1
1
  import { FC, FormHTMLAttributes, ReactNode, Ref } from "react";
2
- //#region src/components/form/form/form.d.ts
3
2
  type Props = {
4
3
  action?: ((formData: FormData) => void | Promise<void>) | string;
5
4
  children: ReactNode;
6
5
  ref?: Ref<HTMLFormElement>;
7
6
  } & Omit<FormHTMLAttributes<HTMLFormElement>, 'action' | 'children' | 'className' | 'style'>;
8
7
  export declare const Form: FC<Props>;
9
- //#endregion
8
+ export {};
@@ -1,12 +1,11 @@
1
1
  "use client";
2
2
  import form_module_default from "./form.module.mjs";
3
3
  import { jsx } from "react/jsx-runtime";
4
- //#region src/components/form/form/form.tsx
4
+ // src/components/form/form/form.tsx
5
5
  const Form = ({ action, children, ...rest }) => /* @__PURE__ */ jsx("form", {
6
6
  action,
7
7
  className: form_module_default.root,
8
8
  ...rest,
9
9
  children
10
10
  });
11
- //#endregion
12
11
  export { Form };
@@ -1,5 +1,4 @@
1
1
  import './form.css';
2
- //#region src/components/form/form/form.module.css
2
+ // src/components/form/form/form.module.css
3
3
  var form_module_default = { "root": "LLU8LW_root" };
4
- //#endregion
5
4
  export { form_module_default as default };
@@ -1,2 +1 @@
1
- import { Form } from "./form.mjs";
2
- export { Form };
1
+ export { Form } from "./form.mjs";
@@ -1,5 +1,4 @@
1
1
  import { FC, HTMLAttributes, ReactElement, Ref } from "react";
2
- //#region src/components/form/form-control/form-control.d.ts
3
2
  type FormControlProps = {
4
3
  disabled?: boolean;
5
4
  invalid?: boolean;
@@ -19,4 +18,4 @@ type FormControlProps = {
19
18
  ref?: Ref<HTMLElement>;
20
19
  } & Omit<HTMLAttributes<HTMLElement>, 'className' | 'style' | 'children'>;
21
20
  export declare const FormControl: FC<FormControlProps>;
22
- //#endregion
21
+ export {};
@@ -4,7 +4,7 @@ import form_control_module_default from "./form-control.module.mjs";
4
4
  import { clsx } from "clsx";
5
5
  import { useId } from "react";
6
6
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
7
- //#region src/components/form/form-control/form-control.tsx
7
+ // src/components/form/form-control/form-control.tsx
8
8
  const FormControl = ({ disabled = false, invalid = false, required = false, label, labelAs = "label", helpText, errorText, renderInput, ref, ...rest }) => {
9
9
  const messages = getMessages();
10
10
  const id = useId();
@@ -58,5 +58,4 @@ const FormControl = ({ disabled = false, invalid = false, required = false, labe
58
58
  children: content
59
59
  });
60
60
  };
61
- //#endregion
62
61
  export { FormControl };
@@ -1,5 +1,5 @@
1
1
  import './form-control.css';
2
- //#region src/components/form/form-control/form-control.module.css
2
+ // src/components/form/form-control/form-control.module.css
3
3
  var form_control_module_default = {
4
4
  "error": "_8KGDqG_error",
5
5
  "help": "_8KGDqG_help",
@@ -8,5 +8,4 @@ var form_control_module_default = {
8
8
  "required": "_8KGDqG_required",
9
9
  "root": "_8KGDqG_root"
10
10
  };
11
- //#endregion
12
11
  export { form_control_module_default as default };
@@ -1,2 +1 @@
1
- import { FormControl } from "./form-control.mjs";
2
- export { FormControl };
1
+ export { FormControl } from "./form-control.mjs";
@@ -1,3 +1 @@
1
- //#region src/components/form/number-field/cast.d.ts
2
- export declare const cast: (value: string, precision: number | undefined) => number | null;
3
- //#endregion
1
+ export declare const cast: (value: string, precision: number | undefined) => number | null;
@@ -1,5 +1,5 @@
1
1
  import { toPrecision } from "../../../internal/to-precision.mjs";
2
- //#region src/components/form/number-field/cast.ts
2
+ // src/components/form/number-field/cast.ts
3
3
  const FLOATING_POINT_REGEX = /^[Ee0-9+\-.]$/u;
4
4
  const isInvalidCharacter = (value) => FLOATING_POINT_REGEX.test(value);
5
5
  const sanitize = (value) => value.split("").filter((char) => isInvalidCharacter(char)).join("");
@@ -9,5 +9,4 @@ const cast = (value, precision) => {
9
9
  if (Number.isNaN(parsedValue)) return null;
10
10
  return toPrecision(parsedValue, precision);
11
11
  };
12
- //#endregion
13
12
  export { cast };
@@ -1,2 +1 @@
1
- import { NumberField } from "./number-field.mjs";
2
- export { NumberField };
1
+ export { NumberField } from "./number-field.mjs";
@@ -20,17 +20,6 @@
20
20
  }
21
21
  }
22
22
 
23
- .iUg6Ca_root:focus-within {
24
- box-shadow: var(--shadow-ring-info);
25
- border-color: #0000;
26
- outline-style: none;
27
-
28
- @media (forced-colors: active) {
29
- outline-offset: 2px;
30
- outline: 2px solid #0000;
31
- }
32
- }
33
-
34
23
  .iUg6Ca_root:has(:disabled) {
35
24
  cursor: not-allowed;
36
25
  border-color: var(--color-border-mute);
@@ -1,5 +1,4 @@
1
1
  import { FC, InputHTMLAttributes, Ref } from "react";
2
- //#region src/components/form/number-field/number-field.d.ts
3
2
  type BaseProps = {
4
3
  invalid?: boolean;
5
4
  /** 小数の桁数。省略すると step の桁数に合わせ、step が 'any' なら丸めない */
@@ -22,4 +21,4 @@ type UncontrolledProps = {
22
21
  };
23
22
  type Props = BaseProps & (ControlledProps | UncontrolledProps);
24
23
  export declare const NumberField: FC<Props>;
25
- //#endregion
24
+ export {};
@@ -2,6 +2,7 @@
2
2
  import { getMessages } from "../../../i18n/current.mjs";
3
3
  import sr_only_module_default from "../../_internal/sr-only.module.mjs";
4
4
  import { mergeRefs } from "../../../helpers/merge-refs.mjs";
5
+ import focus_ring_module_default from "../../_internal/focus-ring.module.mjs";
5
6
  import { ChevronIcon } from "../../icons/lucide.mjs";
6
7
  import { chain } from "../../../helpers/chain.mjs";
7
8
  import { useControllableState } from "../../../hooks/controllable-state/index.mjs";
@@ -9,10 +10,11 @@ import { toPrecision } from "../../../internal/to-precision.mjs";
9
10
  import { clamp } from "../../../internal/clamp.mjs";
10
11
  import { cast } from "./cast.mjs";
11
12
  import number_field_module_default from "./number-field.module.mjs";
13
+ import { clsx } from "clsx";
12
14
  import { useEffect, useEffectEvent, useLayoutEffect, useMemo, useRef, useState } from "react";
13
15
  import { useFormStatus } from "react-dom";
14
16
  import { jsx, jsxs } from "react/jsx-runtime";
15
- //#region src/components/form/number-field/number-field.tsx
17
+ // src/components/form/number-field/number-field.tsx
16
18
  const format = (value, precision) => {
17
19
  if (value === null) return "";
18
20
  return precision === void 0 ? String(value) : value.toFixed(precision);
@@ -110,7 +112,7 @@ const NumberField = ({ invalid = false, disabled = false, readOnly = false, requ
110
112
  commit(input, current === null ? clamp(0, min, max) : clamp(toPrecision(current + delta, precision), min, max));
111
113
  };
112
114
  return /* @__PURE__ */ jsxs("div", {
113
- className: number_field_module_default.root,
115
+ className: clsx(number_field_module_default.root, focus_ring_module_default.ringWithin),
114
116
  children: [/* @__PURE__ */ jsx("input", {
115
117
  autoComplete: "off",
116
118
  autoCorrect: "off",
@@ -183,5 +185,4 @@ const NumberField = ({ invalid = false, disabled = false, readOnly = false, requ
183
185
  })]
184
186
  });
185
187
  };
186
- //#endregion
187
188
  export { NumberField };
@@ -1,10 +1,9 @@
1
1
  import './number-field.css';
2
- //#region src/components/form/number-field/number-field.module.css
2
+ // src/components/form/number-field/number-field.module.css
3
3
  var number_field_module_default = {
4
4
  "input": "iUg6Ca_input",
5
5
  "root": "iUg6Ca_root",
6
6
  "step": "iUg6Ca_step",
7
7
  "steppers": "iUg6Ca_steppers"
8
8
  };
9
- //#endregion
10
9
  export { number_field_module_default as default };
@@ -1,2 +1 @@
1
- import { PasswordInput } from "./password-input.mjs";
2
- export { PasswordInput };
1
+ export { PasswordInput } from "./password-input.mjs";
@@ -1,5 +1,4 @@
1
1
  import { FC, InputHTMLAttributes, Ref } from "react";
2
- //#region src/components/form/password-input/password-input.d.ts
3
2
  type Props = {
4
3
  invalid?: boolean;
5
4
  showLabel?: string;
@@ -7,4 +6,4 @@ type Props = {
7
6
  ref?: Ref<HTMLInputElement>;
8
7
  } & Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'className' | 'style'>;
9
8
  export declare const PasswordInput: FC<Props>;
10
- //#endregion
9
+ export {};
@@ -7,7 +7,7 @@ import { clsx } from "clsx";
7
7
  import { useState } from "react";
8
8
  import { useFormStatus } from "react-dom";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
- //#region src/components/form/password-input/password-input.tsx
10
+ // src/components/form/password-input/password-input.tsx
11
11
  const PasswordInput = ({ invalid = false, autoComplete = "current-password", showLabel, hideLabel, disabled = false, readOnly, ref, ...rest }) => {
12
12
  const messages = getMessages();
13
13
  const [isVisible, setIsVisible] = useState(false);
@@ -35,5 +35,4 @@ const PasswordInput = ({ invalid = false, autoComplete = "current-password", sho
35
35
  })]
36
36
  });
37
37
  };
38
- //#endregion
39
38
  export { PasswordInput };
@@ -1,5 +1,5 @@
1
1
  import './password-input.css';
2
- //#region src/components/form/password-input/password-input.module.css
2
+ // src/components/form/password-input/password-input.module.css
3
3
  var password_input_module_default = {
4
4
  "disabled": "StCDRW_disabled",
5
5
  "input": "StCDRW_input",
@@ -8,5 +8,4 @@ var password_input_module_default = {
8
8
  "toggle": "StCDRW_toggle",
9
9
  "toggleDisabled": "StCDRW_toggleDisabled"
10
10
  };
11
- //#endregion
12
11
  export { password_input_module_default as default };
@@ -1,2 +1 @@
1
- import { Radio } from "./radio.mjs";
2
- export { Radio };
1
+ export { Radio } from "./radio.mjs";
@@ -1,6 +1,5 @@
1
1
  import { Option } from "../../../types/variables.mjs";
2
2
  import { ChangeEvent, FC, HTMLAttributes, Ref } from "react";
3
- //#region src/components/form/radio/radio.d.ts
4
3
  type BaseProps = {
5
4
  'aria-labelledby': string;
6
5
  name?: string;
@@ -22,4 +21,4 @@ type UncontrolledProps = {
22
21
  };
23
22
  type Props = BaseProps & (ControlledProps | UncontrolledProps);
24
23
  export declare const Radio: FC<Props>;
25
- //#endregion
24
+ export {};
@@ -5,7 +5,7 @@ import radio_module_default from "./radio.module.mjs";
5
5
  import { clsx } from "clsx";
6
6
  import { useFormStatus } from "react-dom";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
- //#region src/components/form/radio/radio.tsx
8
+ // src/components/form/radio/radio.tsx
9
9
  const Radio = ({ "aria-labelledby": labelledbyId, name, disabled = false, invalid = false, required = false, value, defaultValue, onChange, options, ref, ...rest }) => {
10
10
  const { pending } = useFormStatus();
11
11
  const isControlled = value !== void 0;
@@ -44,5 +44,4 @@ const Radio = ({ "aria-labelledby": labelledbyId, name, disabled = false, invali
44
44
  }, option.value))
45
45
  });
46
46
  };
47
- //#endregion
48
47
  export { Radio };
@@ -1,5 +1,5 @@
1
1
  import './radio.css';
2
- //#region src/components/form/radio/radio.module.css
2
+ // src/components/form/radio/radio.module.css
3
3
  var radio_module_default = {
4
4
  "circle": "_8JmqZW_circle",
5
5
  "circleDisabled": "_8JmqZW_circleDisabled",
@@ -12,5 +12,4 @@ var radio_module_default = {
12
12
  "optionDisabled": "_8JmqZW_optionDisabled",
13
13
  "root": "_8JmqZW_root"
14
14
  };
15
- //#endregion
16
15
  export { radio_module_default as default };
@@ -1,2 +1 @@
1
- import { RadioCard } from "./radio-card.mjs";
2
- export { RadioCard };
1
+ export { RadioCard } from "./radio-card.mjs";
@@ -1,5 +1,4 @@
1
1
  import { FC, FieldsetHTMLAttributes, ReactNode, Ref } from "react";
2
- //#region src/components/form/radio-card/radio-card.d.ts
3
2
  export type RadioCardOption = Readonly<{
4
3
  value: string;
5
4
  label: string;
@@ -26,4 +25,4 @@ type UncontrolledProps = {
26
25
  };
27
26
  type Props = BaseProps & (ControlledProps | UncontrolledProps);
28
27
  export declare const RadioCard: FC<Props>;
29
- //#endregion
28
+ export {};
@@ -4,7 +4,7 @@ import radio_card_module_default from "./radio-card.module.mjs";
4
4
  import { clsx } from "clsx";
5
5
  import { useId } from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
- //#region src/components/form/radio-card/radio-card.tsx
7
+ // src/components/form/radio-card/radio-card.tsx
8
8
  const RadioCard = ({ "aria-labelledby": labelledbyId, name, disabled = false, invalid = false, required = false, options, value, defaultValue, onChange, ref, ...rest }) => {
9
9
  const groupId = useId();
10
10
  const isControlled = value !== void 0;
@@ -64,5 +64,4 @@ const RadioCard = ({ "aria-labelledby": labelledbyId, name, disabled = false, in
64
64
  })
65
65
  });
66
66
  };
67
- //#endregion
68
67
  export { RadioCard };
@@ -1,5 +1,5 @@
1
1
  import './radio-card.css';
2
- //#region src/components/form/radio-card/radio-card.module.css
2
+ // src/components/form/radio-card/radio-card.module.css
3
3
  var radio_card_module_default = {
4
4
  "card": "RU7zwG_card",
5
5
  "description": "RU7zwG_description",
@@ -15,5 +15,4 @@ var radio_card_module_default = {
15
15
  "valid": "RU7zwG_valid",
16
16
  "visual": "RU7zwG_visual"
17
17
  };
18
- //#endregion
19
18
  export { radio_card_module_default as default };
@@ -1,2 +1 @@
1
- import { RangeSlider } from "./range-slider.mjs";
2
- export { RangeSlider };
1
+ export { RangeSlider } from "./range-slider.mjs";
@@ -1,5 +1,4 @@
1
1
  import { FC, HTMLAttributes, Ref } from "react";
2
- //#region src/components/form/range-slider/range-slider.d.ts
3
2
  type BaseProps = {
4
3
  min?: number;
5
4
  max?: number;
@@ -27,4 +26,4 @@ type UncontrolledProps = {
27
26
  };
28
27
  type Props = BaseProps & (ControlledProps | UncontrolledProps);
29
28
  export declare const RangeSlider: FC<Props>;
30
- //#endregion
29
+ export {};
@@ -8,7 +8,7 @@ import { clsx } from "clsx";
8
8
  import { useEffect, useId, useRef, useState } from "react";
9
9
  import { useFormStatus } from "react-dom";
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
11
- //#region src/components/form/range-slider/range-slider.tsx
11
+ // src/components/form/range-slider/range-slider.tsx
12
12
  const percentOf = (value, min, max) => {
13
13
  const span = max > min ? max - min : 1;
14
14
  const ratio = Math.min(Math.max((value - min) / span, 0), 1);
@@ -131,5 +131,4 @@ const RangeSlider = ({ min = 0, max = 100, step = 1, name, value, defaultValue,
131
131
  ]
132
132
  });
133
133
  };
134
- //#endregion
135
134
  export { RangeSlider };
@@ -1,5 +1,5 @@
1
1
  import './range-slider.css';
2
- //#region src/components/form/range-slider/range-slider.module.css
2
+ // src/components/form/range-slider/range-slider.module.css
3
3
  var range_slider_module_default = {
4
4
  "disabled": "oss4bG_disabled",
5
5
  "fill": "oss4bG_fill",
@@ -10,5 +10,4 @@ var range_slider_module_default = {
10
10
  "thumb": "oss4bG_thumb",
11
11
  "track": "oss4bG_track"
12
12
  };
13
- //#endregion
14
13
  export { range_slider_module_default as default };
@@ -1,2 +1 @@
1
- import { Select } from "./select.mjs";
2
- export { Select };
1
+ export { Select } from "./select.mjs";
@@ -1,10 +1,9 @@
1
1
  import { Option } from "../../../types/variables.mjs";
2
2
  import { FC, Ref, SelectHTMLAttributes } from "react";
3
- //#region src/components/form/select/select.d.ts
4
3
  type Props = {
5
4
  invalid?: boolean;
6
5
  options: readonly Option[];
7
6
  ref?: Ref<HTMLSelectElement>;
8
7
  } & Omit<SelectHTMLAttributes<HTMLSelectElement>, 'className' | 'style'>;
9
8
  export declare const Select: FC<Props>;
10
- //#endregion
9
+ export {};
@@ -9,7 +9,7 @@ import { clsx } from "clsx";
9
9
  import { useLayoutEffect, useMemo, useRef } from "react";
10
10
  import { useFormStatus } from "react-dom";
11
11
  import { jsx, jsxs } from "react/jsx-runtime";
12
- //#region src/components/form/select/select.tsx
12
+ // src/components/form/select/select.tsx
13
13
  const Select = ({ invalid = false, options, disabled = false, defaultValue, onKeyDown, ref, ...rest }) => {
14
14
  const { pending } = useFormStatus();
15
15
  const selectRef = useRef(null);
@@ -46,5 +46,4 @@ const Select = ({ invalid = false, options, disabled = false, defaultValue, onKe
46
46
  })]
47
47
  });
48
48
  };
49
- //#endregion
50
49
  export { Select };
@@ -1,5 +1,5 @@
1
1
  import './select.css';
2
- //#region src/components/form/select/select.module.css
2
+ // src/components/form/select/select.module.css
3
3
  var select_module_default = {
4
4
  "chevron": "_93Y5Aq_chevron",
5
5
  "disabled": "_93Y5Aq_disabled",
@@ -8,5 +8,4 @@ var select_module_default = {
8
8
  "root": "_93Y5Aq_root",
9
9
  "select": "_93Y5Aq_select"
10
10
  };
11
- //#endregion
12
11
  export { select_module_default as default };
@@ -1,2 +1 @@
1
- import { Slider } from "./slider.mjs";
2
- export { Slider };
1
+ export { Slider } from "./slider.mjs";
@@ -92,6 +92,18 @@
92
92
  .mzSkOG_invalid:focus-visible::-moz-range-thumb {
93
93
  box-shadow: var(--shadow-ring-error), var(--shadow-xs);
94
94
  }
95
+
96
+ @media (forced-colors: active) {
97
+ .mzSkOG_input:focus-visible::-webkit-slider-thumb {
98
+ outline-offset: 2px;
99
+ outline: 2px solid #0000;
100
+ }
101
+
102
+ .mzSkOG_input:focus-visible::-moz-range-thumb {
103
+ outline-offset: 2px;
104
+ outline: 2px solid #0000;
105
+ }
106
+ }
95
107
  }
96
108
 
97
109
  @layer utilities;
@@ -1,7 +1,5 @@
1
- //#region src/components/form/slider/range-input-class.d.ts
2
1
  /**
3
2
  * `<input type="range">` を溝の上に重ね、見た目をつまみだけにするクラス。
4
3
  * 溝と塗りは部品側が描く。Slider と RangeSlider で共有する。
5
4
  */
6
- export declare const rangeInputClass: (invalid: boolean) => string;
7
- //#endregion
5
+ export declare const rangeInputClass: (invalid: boolean) => string;
@@ -1,10 +1,9 @@
1
1
  import range_input_class_module_default from "./range-input-class.module.mjs";
2
2
  import { clsx } from "clsx";
3
- //#region src/components/form/slider/range-input-class.ts
3
+ // src/components/form/slider/range-input-class.ts
4
4
  /**
5
5
  * `<input type="range">` を溝の上に重ね、見た目をつまみだけにするクラス。
6
6
  * 溝と塗りは部品側が描く。Slider と RangeSlider で共有する。
7
7
  */
8
8
  const rangeInputClass = (invalid) => clsx(range_input_class_module_default.input, invalid && range_input_class_module_default.invalid);
9
- //#endregion
10
9
  export { rangeInputClass };