@k8ordo/ui 1.0.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 (425) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +624 -0
  3. package/dist/components/_internal/focus-ring.d.mts +8 -0
  4. package/dist/components/_internal/focus-ring.mjs +8 -0
  5. package/dist/components/ai/_internal/collapsible.d.mts +13 -0
  6. package/dist/components/ai/_internal/collapsible.mjs +49 -0
  7. package/dist/components/ai/_internal/streaming-cursor.d.mts +5 -0
  8. package/dist/components/ai/_internal/streaming-cursor.mjs +8 -0
  9. package/dist/components/ai/conversation/conversation.d.mts +18 -0
  10. package/dist/components/ai/conversation/conversation.mjs +111 -0
  11. package/dist/components/ai/conversation/index.d.mts +2 -0
  12. package/dist/components/ai/conversation/index.mjs +2 -0
  13. package/dist/components/ai/index.d.mts +14 -0
  14. package/dist/components/ai/index.mjs +7 -0
  15. package/dist/components/ai/message/index.d.mts +2 -0
  16. package/dist/components/ai/message/index.mjs +2 -0
  17. package/dist/components/ai/message/message.d.mts +17 -0
  18. package/dist/components/ai/message/message.mjs +34 -0
  19. package/dist/components/ai/prompt-input/index.d.mts +2 -0
  20. package/dist/components/ai/prompt-input/index.mjs +2 -0
  21. package/dist/components/ai/prompt-input/prompt-input.d.mts +27 -0
  22. package/dist/components/ai/prompt-input/prompt-input.mjs +108 -0
  23. package/dist/components/ai/reasoning/index.d.mts +2 -0
  24. package/dist/components/ai/reasoning/index.mjs +2 -0
  25. package/dist/components/ai/reasoning/reasoning.d.mts +12 -0
  26. package/dist/components/ai/reasoning/reasoning.mjs +25 -0
  27. package/dist/components/ai/response/index.d.mts +2 -0
  28. package/dist/components/ai/response/index.mjs +2 -0
  29. package/dist/components/ai/response/response.d.mts +20 -0
  30. package/dist/components/ai/response/response.mjs +57 -0
  31. package/dist/components/ai/suggestion/index.d.mts +2 -0
  32. package/dist/components/ai/suggestion/index.mjs +2 -0
  33. package/dist/components/ai/suggestion/suggestion.d.mts +17 -0
  34. package/dist/components/ai/suggestion/suggestion.mjs +29 -0
  35. package/dist/components/ai/tool-invocation/index.d.mts +2 -0
  36. package/dist/components/ai/tool-invocation/index.mjs +2 -0
  37. package/dist/components/ai/tool-invocation/tool-invocation.d.mts +17 -0
  38. package/dist/components/ai/tool-invocation/tool-invocation.mjs +73 -0
  39. package/dist/components/ai/types.d.mts +5 -0
  40. package/dist/components/ai/types.mjs +1 -0
  41. package/dist/components/buttons/button/button.d.mts +27 -0
  42. package/dist/components/buttons/button/button.mjs +60 -0
  43. package/dist/components/buttons/button/index.d.mts +2 -0
  44. package/dist/components/buttons/button/index.mjs +2 -0
  45. package/dist/components/buttons/icon-button/icon-button.d.mts +29 -0
  46. package/dist/components/buttons/icon-button/icon-button.mjs +84 -0
  47. package/dist/components/buttons/icon-button/index.d.mts +2 -0
  48. package/dist/components/buttons/icon-button/index.mjs +2 -0
  49. package/dist/components/data-display/accordion/accordion-button.d.mts +5 -0
  50. package/dist/components/data-display/accordion/accordion-button.mjs +26 -0
  51. package/dist/components/data-display/accordion/accordion-item.d.mts +9 -0
  52. package/dist/components/data-display/accordion/accordion-item.mjs +20 -0
  53. package/dist/components/data-display/accordion/accordion-panel.d.mts +5 -0
  54. package/dist/components/data-display/accordion/accordion-panel.mjs +18 -0
  55. package/dist/components/data-display/accordion/accordion.d.mts +5 -0
  56. package/dist/components/data-display/accordion/accordion.mjs +8 -0
  57. package/dist/components/data-display/accordion/context.d.mts +14 -0
  58. package/dist/components/data-display/accordion/context.mjs +32 -0
  59. package/dist/components/data-display/accordion/index.d.mts +19 -0
  60. package/dist/components/data-display/accordion/index.mjs +13 -0
  61. package/dist/components/data-display/avatar/avatar.d.mts +14 -0
  62. package/dist/components/data-display/avatar/avatar.mjs +43 -0
  63. package/dist/components/data-display/avatar/index.d.mts +2 -0
  64. package/dist/components/data-display/avatar/index.mjs +2 -0
  65. package/dist/components/data-display/badge/badge.d.mts +21 -0
  66. package/dist/components/data-display/badge/badge.mjs +27 -0
  67. package/dist/components/data-display/badge/index.d.mts +2 -0
  68. package/dist/components/data-display/badge/index.mjs +2 -0
  69. package/dist/components/data-display/card/card.d.mts +10 -0
  70. package/dist/components/data-display/card/card.mjs +10 -0
  71. package/dist/components/data-display/card/index.d.mts +2 -0
  72. package/dist/components/data-display/card/index.mjs +2 -0
  73. package/dist/components/data-display/code/code.d.mts +8 -0
  74. package/dist/components/data-display/code/code.mjs +35 -0
  75. package/dist/components/data-display/code/find-all-colors.d.mts +16 -0
  76. package/dist/components/data-display/code/find-all-colors.mjs +267 -0
  77. package/dist/components/data-display/code/index.d.mts +2 -0
  78. package/dist/components/data-display/code/index.mjs +2 -0
  79. package/dist/components/data-display/heading/heading.d.mts +9 -0
  80. package/dist/components/data-display/heading/heading.mjs +46 -0
  81. package/dist/components/data-display/heading/index.d.mts +2 -0
  82. package/dist/components/data-display/heading/index.mjs +2 -0
  83. package/dist/components/data-display/table/index.d.mts +2 -0
  84. package/dist/components/data-display/table/index.mjs +2 -0
  85. package/dist/components/data-display/table/table.d.mts +33 -0
  86. package/dist/components/data-display/table/table.mjs +62 -0
  87. package/dist/components/feedback/alert/alert.d.mts +19 -0
  88. package/dist/components/feedback/alert/alert.mjs +71 -0
  89. package/dist/components/feedback/alert/index.d.mts +2 -0
  90. package/dist/components/feedback/alert/index.mjs +2 -0
  91. package/dist/components/feedback/progress/index.d.mts +2 -0
  92. package/dist/components/feedback/progress/index.mjs +2 -0
  93. package/dist/components/feedback/progress/progress.d.mts +11 -0
  94. package/dist/components/feedback/progress/progress.mjs +21 -0
  95. package/dist/components/feedback/skeleton/index.d.mts +2 -0
  96. package/dist/components/feedback/skeleton/index.mjs +2 -0
  97. package/dist/components/feedback/skeleton/skeleton.d.mts +10 -0
  98. package/dist/components/feedback/skeleton/skeleton.mjs +10 -0
  99. package/dist/components/feedback/spinner/index.d.mts +2 -0
  100. package/dist/components/feedback/spinner/index.mjs +2 -0
  101. package/dist/components/feedback/spinner/spinner.d.mts +9 -0
  102. package/dist/components/feedback/spinner/spinner.mjs +24 -0
  103. package/dist/components/feedback/toast/context.d.mts +34 -0
  104. package/dist/components/feedback/toast/context.mjs +7 -0
  105. package/dist/components/feedback/toast/index.d.mts +3 -0
  106. package/dist/components/feedback/toast/index.mjs +3 -0
  107. package/dist/components/feedback/toast/provider.d.mts +8 -0
  108. package/dist/components/feedback/toast/provider.mjs +171 -0
  109. package/dist/components/feedback/toast/toast.d.mts +15 -0
  110. package/dist/components/feedback/toast/toast.mjs +32 -0
  111. package/dist/components/form/autocomplete/autocomplete.d.mts +23 -0
  112. package/dist/components/form/autocomplete/autocomplete.mjs +225 -0
  113. package/dist/components/form/autocomplete/index.d.mts +2 -0
  114. package/dist/components/form/autocomplete/index.mjs +2 -0
  115. package/dist/components/form/checkbox/checkbox.d.mts +21 -0
  116. package/dist/components/form/checkbox/checkbox.mjs +59 -0
  117. package/dist/components/form/checkbox/index.d.mts +2 -0
  118. package/dist/components/form/checkbox/index.mjs +2 -0
  119. package/dist/components/form/checkbox-card/checkbox-card.d.mts +29 -0
  120. package/dist/components/form/checkbox-card/checkbox-card.mjs +76 -0
  121. package/dist/components/form/checkbox-card/index.d.mts +2 -0
  122. package/dist/components/form/checkbox-card/index.mjs +2 -0
  123. package/dist/components/form/checkbox-group/checkbox-group.d.mts +29 -0
  124. package/dist/components/form/checkbox-group/checkbox-group.mjs +43 -0
  125. package/dist/components/form/checkbox-group/index.d.mts +34 -0
  126. package/dist/components/form/checkbox-group/index.mjs +9 -0
  127. package/dist/components/form/file-field/file-field.d.mts +27 -0
  128. package/dist/components/form/file-field/file-field.mjs +129 -0
  129. package/dist/components/form/file-field/index.d.mts +2 -0
  130. package/dist/components/form/file-field/index.mjs +2 -0
  131. package/dist/components/form/form/form.d.mts +9 -0
  132. package/dist/components/form/form/form.mjs +11 -0
  133. package/dist/components/form/form/index.d.mts +2 -0
  134. package/dist/components/form/form/index.mjs +2 -0
  135. package/dist/components/form/form-control/form-control.d.mts +23 -0
  136. package/dist/components/form/form-control/form-control.mjs +61 -0
  137. package/dist/components/form/form-control/index.d.mts +2 -0
  138. package/dist/components/form/form-control/index.mjs +2 -0
  139. package/dist/components/form/number-field/cast.d.mts +4 -0
  140. package/dist/components/form/number-field/cast.mjs +32 -0
  141. package/dist/components/form/number-field/index.d.mts +2 -0
  142. package/dist/components/form/number-field/index.mjs +2 -0
  143. package/dist/components/form/number-field/number-field.d.mts +25 -0
  144. package/dist/components/form/number-field/number-field.mjs +115 -0
  145. package/dist/components/form/password-input/index.d.mts +2 -0
  146. package/dist/components/form/password-input/index.mjs +2 -0
  147. package/dist/components/form/password-input/password-input.d.mts +11 -0
  148. package/dist/components/form/password-input/password-input.mjs +36 -0
  149. package/dist/components/form/radio/index.d.mts +2 -0
  150. package/dist/components/form/radio/index.mjs +2 -0
  151. package/dist/components/form/radio/radio.d.mts +24 -0
  152. package/dist/components/form/radio/radio.mjs +51 -0
  153. package/dist/components/form/radio-card/index.d.mts +2 -0
  154. package/dist/components/form/radio-card/index.mjs +2 -0
  155. package/dist/components/form/radio-card/radio-card.d.mts +29 -0
  156. package/dist/components/form/radio-card/radio-card.mjs +74 -0
  157. package/dist/components/form/select/index.d.mts +2 -0
  158. package/dist/components/form/select/index.mjs +2 -0
  159. package/dist/components/form/select/select.d.mts +11 -0
  160. package/dist/components/form/select/select.mjs +33 -0
  161. package/dist/components/form/slider/index.d.mts +2 -0
  162. package/dist/components/form/slider/index.mjs +2 -0
  163. package/dist/components/form/slider/slider.d.mts +23 -0
  164. package/dist/components/form/slider/slider.mjs +50 -0
  165. package/dist/components/form/switch/index.d.mts +2 -0
  166. package/dist/components/form/switch/index.mjs +2 -0
  167. package/dist/components/form/switch/switch.d.mts +21 -0
  168. package/dist/components/form/switch/switch.mjs +50 -0
  169. package/dist/components/form/text-field/index.d.mts +2 -0
  170. package/dist/components/form/text-field/index.mjs +2 -0
  171. package/dist/components/form/text-field/text-field.d.mts +11 -0
  172. package/dist/components/form/text-field/text-field.mjs +19 -0
  173. package/dist/components/form/textarea/index.d.mts +2 -0
  174. package/dist/components/form/textarea/index.mjs +2 -0
  175. package/dist/components/form/textarea/textarea.d.mts +11 -0
  176. package/dist/components/form/textarea/textarea.mjs +38 -0
  177. package/dist/components/icons/base.d.mts +15 -0
  178. package/dist/components/icons/base.mjs +18 -0
  179. package/dist/components/icons/browsers.d.mts +9 -0
  180. package/dist/components/icons/browsers.mjs +891 -0
  181. package/dist/components/icons/color-scale.d.mts +6 -0
  182. package/dist/components/icons/color-scale.mjs +44 -0
  183. package/dist/components/icons/github-mark.d.mts +6 -0
  184. package/dist/components/icons/github-mark.mjs +19 -0
  185. package/dist/components/icons/index.d.mts +10 -0
  186. package/dist/components/icons/index.mjs +9 -0
  187. package/dist/components/icons/logo.d.mts +7 -0
  188. package/dist/components/icons/logo.mjs +29 -0
  189. package/dist/components/icons/lucide-deep.d.mts +9 -0
  190. package/dist/components/icons/lucide-imports.d.mts +65 -0
  191. package/dist/components/icons/lucide-imports.mjs +65 -0
  192. package/dist/components/icons/lucide.d.mts +69 -0
  193. package/dist/components/icons/lucide.mjs +256 -0
  194. package/dist/components/icons/qiita.d.mts +6 -0
  195. package/dist/components/icons/qiita.mjs +28 -0
  196. package/dist/components/icons/twitter.d.mts +6 -0
  197. package/dist/components/icons/twitter.mjs +20 -0
  198. package/dist/components/icons/vertical-writing.d.mts +6 -0
  199. package/dist/components/icons/vertical-writing.mjs +26 -0
  200. package/dist/components/index.d.mts +106 -0
  201. package/dist/components/index.mjs +57 -0
  202. package/dist/components/layout/_shared/gap.d.mts +11 -0
  203. package/dist/components/layout/_shared/gap.mjs +10 -0
  204. package/dist/components/layout/_shared/padding.d.mts +11 -0
  205. package/dist/components/layout/_shared/padding.mjs +10 -0
  206. package/dist/components/layout/grid/grid.d.mts +16 -0
  207. package/dist/components/layout/grid/grid.mjs +35 -0
  208. package/dist/components/layout/grid/index.d.mts +2 -0
  209. package/dist/components/layout/grid/index.mjs +2 -0
  210. package/dist/components/layout/scroll-linked/index.d.mts +2 -0
  211. package/dist/components/layout/scroll-linked/index.mjs +2 -0
  212. package/dist/components/layout/scroll-linked/scroll-linked.d.mts +14 -0
  213. package/dist/components/layout/scroll-linked/scroll-linked.mjs +59 -0
  214. package/dist/components/layout/separator/index.d.mts +2 -0
  215. package/dist/components/layout/separator/index.mjs +2 -0
  216. package/dist/components/layout/separator/separator.d.mts +9 -0
  217. package/dist/components/layout/separator/separator.mjs +14 -0
  218. package/dist/components/layout/stack/index.d.mts +2 -0
  219. package/dist/components/layout/stack/index.mjs +2 -0
  220. package/dist/components/layout/stack/stack.d.mts +15 -0
  221. package/dist/components/layout/stack/stack.mjs +24 -0
  222. package/dist/components/navigation/anchor/anchor.d.mts +20 -0
  223. package/dist/components/navigation/anchor/anchor.mjs +28 -0
  224. package/dist/components/navigation/anchor/index.d.mts +2 -0
  225. package/dist/components/navigation/anchor/index.mjs +2 -0
  226. package/dist/components/navigation/breadcrumb/breadcrumb.d.mts +19 -0
  227. package/dist/components/navigation/breadcrumb/breadcrumb.mjs +43 -0
  228. package/dist/components/navigation/breadcrumb/index.d.mts +14 -0
  229. package/dist/components/navigation/breadcrumb/index.mjs +10 -0
  230. package/dist/components/navigation/pagination/index.d.mts +2 -0
  231. package/dist/components/navigation/pagination/index.mjs +2 -0
  232. package/dist/components/navigation/pagination/pagination.d.mts +15 -0
  233. package/dist/components/navigation/pagination/pagination.mjs +74 -0
  234. package/dist/components/navigation/tabs/index.d.mts +2 -0
  235. package/dist/components/navigation/tabs/index.mjs +2 -0
  236. package/dist/components/navigation/tabs/tabs.d.mts +21 -0
  237. package/dist/components/navigation/tabs/tabs.mjs +130 -0
  238. package/dist/components/overlays/_internal/index.d.mts +4 -0
  239. package/dist/components/overlays/_internal/index.mjs +4 -0
  240. package/dist/components/overlays/_internal/modal-dialog-context.d.mts +14 -0
  241. package/dist/components/overlays/_internal/modal-dialog-context.mjs +13 -0
  242. package/dist/components/overlays/_internal/use-can-hover.d.mts +9 -0
  243. package/dist/components/overlays/_internal/use-can-hover.mjs +20 -0
  244. package/dist/components/overlays/_internal/use-hover-intent.d.mts +25 -0
  245. package/dist/components/overlays/_internal/use-hover-intent.mjs +56 -0
  246. package/dist/components/overlays/_internal/use-list-navigation.d.mts +36 -0
  247. package/dist/components/overlays/_internal/use-list-navigation.mjs +98 -0
  248. package/dist/components/overlays/dialog/dialog.d.mts +19 -0
  249. package/dist/components/overlays/dialog/dialog.mjs +87 -0
  250. package/dist/components/overlays/dialog/index.d.mts +2 -0
  251. package/dist/components/overlays/dialog/index.mjs +2 -0
  252. package/dist/components/overlays/drawer/drawer.d.mts +12 -0
  253. package/dist/components/overlays/drawer/drawer.mjs +60 -0
  254. package/dist/components/overlays/drawer/index.d.mts +2 -0
  255. package/dist/components/overlays/drawer/index.mjs +2 -0
  256. package/dist/components/overlays/dropdown-menu/dropdown-menu.d.mts +34 -0
  257. package/dist/components/overlays/dropdown-menu/dropdown-menu.mjs +85 -0
  258. package/dist/components/overlays/dropdown-menu/hooks.d.mts +24 -0
  259. package/dist/components/overlays/dropdown-menu/hooks.mjs +26 -0
  260. package/dist/components/overlays/dropdown-menu/index.d.mts +2 -0
  261. package/dist/components/overlays/dropdown-menu/index.mjs +2 -0
  262. package/dist/components/overlays/dropdown-menu/shared.d.mts +7 -0
  263. package/dist/components/overlays/dropdown-menu/shared.mjs +8 -0
  264. package/dist/components/overlays/dropdown-menu/sub-menu.d.mts +10 -0
  265. package/dist/components/overlays/dropdown-menu/sub-menu.mjs +143 -0
  266. package/dist/components/overlays/dropdown-menu/use-safe-triangle.d.mts +18 -0
  267. package/dist/components/overlays/dropdown-menu/use-safe-triangle.mjs +57 -0
  268. package/dist/components/overlays/list-box/hooks.d.mts +35 -0
  269. package/dist/components/overlays/list-box/hooks.mjs +43 -0
  270. package/dist/components/overlays/list-box/index.d.mts +2 -0
  271. package/dist/components/overlays/list-box/index.mjs +2 -0
  272. package/dist/components/overlays/list-box/list-box.d.mts +28 -0
  273. package/dist/components/overlays/list-box/list-box.mjs +150 -0
  274. package/dist/components/overlays/modal/index.d.mts +2 -0
  275. package/dist/components/overlays/modal/index.mjs +2 -0
  276. package/dist/components/overlays/modal/modal.d.mts +15 -0
  277. package/dist/components/overlays/modal/modal.mjs +72 -0
  278. package/dist/components/overlays/popover/anchor-positioning.d.mts +26 -0
  279. package/dist/components/overlays/popover/anchor-positioning.mjs +49 -0
  280. package/dist/components/overlays/popover/escape-stack.d.mts +7 -0
  281. package/dist/components/overlays/popover/escape-stack.mjs +34 -0
  282. package/dist/components/overlays/popover/hooks.d.mts +53 -0
  283. package/dist/components/overlays/popover/hooks.mjs +141 -0
  284. package/dist/components/overlays/popover/index.d.mts +3 -0
  285. package/dist/components/overlays/popover/index.mjs +3 -0
  286. package/dist/components/overlays/popover/popover.d.mts +25 -0
  287. package/dist/components/overlays/popover/popover.mjs +90 -0
  288. package/dist/components/overlays/tooltip/bridge.d.mts +5 -0
  289. package/dist/components/overlays/tooltip/bridge.mjs +29 -0
  290. package/dist/components/overlays/tooltip/index.d.mts +2 -0
  291. package/dist/components/overlays/tooltip/index.mjs +2 -0
  292. package/dist/components/overlays/tooltip/tooltip.d.mts +34 -0
  293. package/dist/components/overlays/tooltip/tooltip.mjs +87 -0
  294. package/dist/components/providers/index.d.mts +4 -0
  295. package/dist/components/providers/index.mjs +3 -0
  296. package/dist/components/providers/portal-root.d.mts +8 -0
  297. package/dist/components/providers/portal-root.mjs +12 -0
  298. package/dist/components/providers/ui-provider.d.mts +8 -0
  299. package/dist/components/providers/ui-provider.mjs +11 -0
  300. package/dist/helpers/chain.d.mts +5 -0
  301. package/dist/helpers/chain.mjs +29 -0
  302. package/dist/helpers/cn.d.mts +5 -0
  303. package/dist/helpers/cn.mjs +27 -0
  304. package/dist/helpers/create-safe-context.d.mts +6 -0
  305. package/dist/helpers/create-safe-context.mjs +30 -0
  306. package/dist/helpers/index.d.mts +6 -0
  307. package/dist/helpers/index.mjs +6 -0
  308. package/dist/helpers/merge-props.d.mts +6 -0
  309. package/dist/helpers/merge-props.mjs +56 -0
  310. package/dist/helpers/merge-refs.d.mts +5 -0
  311. package/dist/helpers/merge-refs.mjs +55 -0
  312. package/dist/hooks/breakpoint/index.d.mts +5 -0
  313. package/dist/hooks/breakpoint/index.mjs +24 -0
  314. package/dist/hooks/click-away/index.d.mts +5 -0
  315. package/dist/hooks/click-away/index.mjs +24 -0
  316. package/dist/hooks/client/index.d.mts +4 -0
  317. package/dist/hooks/client/index.mjs +6 -0
  318. package/dist/hooks/clipboard/index.d.mts +7 -0
  319. package/dist/hooks/clipboard/index.mjs +15 -0
  320. package/dist/hooks/controllable-state/index.d.mts +9 -0
  321. package/dist/hooks/controllable-state/index.mjs +21 -0
  322. package/dist/hooks/debounced-transition/index.d.mts +5 -0
  323. package/dist/hooks/debounced-transition/index.mjs +49 -0
  324. package/dist/hooks/deferred-debounce/index.d.mts +4 -0
  325. package/dist/hooks/deferred-debounce/index.mjs +9 -0
  326. package/dist/hooks/disclosure/index.d.mts +10 -0
  327. package/dist/hooks/disclosure/index.mjs +20 -0
  328. package/dist/hooks/focus-trap/index.d.mts +18 -0
  329. package/dist/hooks/focus-trap/index.mjs +51 -0
  330. package/dist/hooks/hash/index.d.mts +4 -0
  331. package/dist/hooks/hash/index.mjs +25 -0
  332. package/dist/hooks/hover/index.d.mts +12 -0
  333. package/dist/hooks/hover/index.mjs +19 -0
  334. package/dist/hooks/index.d.mts +25 -0
  335. package/dist/hooks/index.mjs +24 -0
  336. package/dist/hooks/intersection-observer/index.d.mts +3 -0
  337. package/dist/hooks/intersection-observer/index.mjs +3 -0
  338. package/dist/hooks/intersection-observer/use-in-view.d.mts +11 -0
  339. package/dist/hooks/intersection-observer/use-in-view.mjs +18 -0
  340. package/dist/hooks/intersection-observer/use-intersection-observer.d.mts +11 -0
  341. package/dist/hooks/intersection-observer/use-intersection-observer.mjs +33 -0
  342. package/dist/hooks/interval/index.d.mts +4 -0
  343. package/dist/hooks/interval/index.mjs +19 -0
  344. package/dist/hooks/local-storage/index.d.mts +4 -0
  345. package/dist/hooks/local-storage/index.mjs +46 -0
  346. package/dist/hooks/resize/index.d.mts +8 -0
  347. package/dist/hooks/resize/index.mjs +24 -0
  348. package/dist/hooks/scroll-direction/index.d.mts +13 -0
  349. package/dist/hooks/scroll-direction/index.mjs +67 -0
  350. package/dist/hooks/scroll-lock/index.d.mts +9 -0
  351. package/dist/hooks/scroll-lock/index.mjs +59 -0
  352. package/dist/hooks/session-storage/index.d.mts +4 -0
  353. package/dist/hooks/session-storage/index.mjs +46 -0
  354. package/dist/hooks/step/index.d.mts +15 -0
  355. package/dist/hooks/step/index.mjs +39 -0
  356. package/dist/hooks/timeout/index.d.mts +4 -0
  357. package/dist/hooks/timeout/index.mjs +19 -0
  358. package/dist/hooks/window-resize/index.d.mts +11 -0
  359. package/dist/hooks/window-resize/index.mjs +21 -0
  360. package/dist/hooks/window-size/index.d.mts +8 -0
  361. package/dist/hooks/window-size/index.mjs +31 -0
  362. package/dist/hooks/writing-mode/index.d.mts +6 -0
  363. package/dist/hooks/writing-mode/index.mjs +24 -0
  364. package/dist/i18n/context.d.mts +9 -0
  365. package/dist/i18n/context.mjs +19 -0
  366. package/dist/i18n/en.d.mts +5 -0
  367. package/dist/i18n/en.mjs +64 -0
  368. package/dist/i18n/index.d.mts +5 -0
  369. package/dist/i18n/index.mjs +4 -0
  370. package/dist/i18n/ja.d.mts +5 -0
  371. package/dist/i18n/ja.mjs +64 -0
  372. package/dist/i18n/messages.d.mts +84 -0
  373. package/dist/i18n/messages.mjs +1 -0
  374. package/dist/index.d.mts +94 -0
  375. package/dist/index.mjs +85 -0
  376. package/dist/integrations/_shared/openui-defs.d.mts +18 -0
  377. package/dist/integrations/_shared/openui-defs.mjs +162 -0
  378. package/dist/integrations/_shared/renderers.d.mts +71 -0
  379. package/dist/integrations/_shared/renderers.mjs +679 -0
  380. package/dist/integrations/_shared/schemas.d.mts +718 -0
  381. package/dist/integrations/_shared/schemas.mjs +545 -0
  382. package/dist/integrations/ai-sdk/index.d.mts +3 -0
  383. package/dist/integrations/ai-sdk/index.mjs +2 -0
  384. package/dist/integrations/ai-sdk/map-parts.d.mts +28 -0
  385. package/dist/integrations/ai-sdk/map-parts.mjs +32 -0
  386. package/dist/integrations/json-render/catalog.d.mts +838 -0
  387. package/dist/integrations/json-render/catalog.mjs +311 -0
  388. package/dist/integrations/json-render/registry.d.mts +29 -0
  389. package/dist/integrations/json-render/registry.mjs +159 -0
  390. package/dist/integrations/openui/form-views.d.mts +21 -0
  391. package/dist/integrations/openui/form-views.mjs +66 -0
  392. package/dist/integrations/openui/library.d.mts +151 -0
  393. package/dist/integrations/openui/library.mjs +69 -0
  394. package/dist/integrations/openui/prompt.d.mts +5 -0
  395. package/dist/integrations/openui/prompt.mjs +19 -0
  396. package/dist/internal/clamp.d.mts +4 -0
  397. package/dist/internal/clamp.mjs +15 -0
  398. package/dist/internal/to-precision.d.mts +4 -0
  399. package/dist/internal/to-precision.mjs +15 -0
  400. package/dist/styles/base.css +315 -0
  401. package/dist/styles/index.css +2677 -0
  402. package/dist/styles/tailwind.css +22 -0
  403. package/dist/styles/tokens.css +380 -0
  404. package/dist/styles/tokens.d.mts +2 -0
  405. package/dist/styles/tokens.generated.d.mts +840 -0
  406. package/dist/styles/tokens.generated.mjs +813 -0
  407. package/dist/styles/tokens.mjs +2 -0
  408. package/dist/styles/utilities.css +62 -0
  409. package/dist/types/index.d.mts +2 -0
  410. package/dist/types/index.mjs +1 -0
  411. package/dist/types/variables.d.mts +23 -0
  412. package/dist/types/variables.mjs +1 -0
  413. package/docs/GUIDE.md +324 -0
  414. package/docs/llms.txt +25 -0
  415. package/docs/props.generated.json +3519 -0
  416. package/docs/references/ai-chat.md +354 -0
  417. package/docs/references/color.md +121 -0
  418. package/docs/references/components.md +1466 -0
  419. package/docs/references/generative-ui.md +112 -0
  420. package/docs/references/helpers.md +120 -0
  421. package/docs/references/hooks.md +314 -0
  422. package/docs/references/interaction-design.md +95 -0
  423. package/docs/references/spatial-design.md +137 -0
  424. package/docs/references/typography.md +110 -0
  425. package/package.json +197 -0
@@ -0,0 +1,256 @@
1
+ import { BaseIcon } from "./base.mjs";
2
+ import { Accessibility, AlignRight, Angry, Annoyed, Atom, Bell, Blend, BookOpenText, BookText, Bookmark, Bot, BotMessageSquare, Calendar, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, CircleAlert, CircleCheck, ClipboardPenLine, Clock, CodeXml, Contrast, Droplets, ExternalLink, Eye, EyeOff, FlaskConical, GitFork, History, Info, Laugh, Lightbulb, Link, List, ListMinus, Lock, LockOpen, Mail, MapPin, Maximize, Minus, MoonStar, Package, PaintBucket, Palette, Plus, Presentation, RefreshCw, Rocket, Rss, Send, ShieldCheck, Smile, Sparkles, Squircle, Sun, Table2, Tag, ThumbsDown, ThumbsUp, TriangleAlert, X } from "./lucide-imports.mjs";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/components/icons/lucide.tsx
5
+ const CHEVRON_BY_DIRECTION = {
6
+ up: ChevronUp,
7
+ down: ChevronDown,
8
+ left: ChevronLeft,
9
+ right: ChevronRight
10
+ };
11
+ const ChevronIcon = ({ direction, size = "md" }) => {
12
+ const Chevron = CHEVRON_BY_DIRECTION[direction];
13
+ return /* @__PURE__ */ jsx(BaseIcon, {
14
+ renderItem: (props) => /* @__PURE__ */ jsx(Chevron, { ...props }),
15
+ size
16
+ });
17
+ };
18
+ const CloseIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
19
+ renderItem: (props) => /* @__PURE__ */ jsx(X, { ...props }),
20
+ size
21
+ });
22
+ const CodeXmlIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
23
+ renderItem: (props) => /* @__PURE__ */ jsx(CodeXml, { ...props }),
24
+ size
25
+ });
26
+ const CheckIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
27
+ renderItem: (props) => /* @__PURE__ */ jsx(Check, { ...props }),
28
+ size
29
+ });
30
+ const ALERT_BY_STATUS = {
31
+ success: CircleCheck,
32
+ info: Info,
33
+ warning: TriangleAlert,
34
+ error: CircleAlert
35
+ };
36
+ const AlertIcon = ({ status, size = "md" }) => {
37
+ const Alert = ALERT_BY_STATUS[status];
38
+ return /* @__PURE__ */ jsx(BaseIcon, {
39
+ renderItem: (props) => /* @__PURE__ */ jsx(Alert, { ...props }),
40
+ size
41
+ });
42
+ };
43
+ const LinkIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
44
+ renderItem: (props) => /* @__PURE__ */ jsx(Link, { ...props }),
45
+ size
46
+ });
47
+ const ExternalLinkIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
48
+ renderItem: (props) => /* @__PURE__ */ jsx(ExternalLink, { ...props }),
49
+ size
50
+ });
51
+ const BlogIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
52
+ renderItem: (props) => /* @__PURE__ */ jsx(BookText, { ...props }),
53
+ size
54
+ });
55
+ const SlideIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
56
+ renderItem: (props) => /* @__PURE__ */ jsx(Presentation, { ...props }),
57
+ size
58
+ });
59
+ const TagIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
60
+ renderItem: (props) => /* @__PURE__ */ jsx(Tag, { ...props }),
61
+ size
62
+ });
63
+ const LocationIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
64
+ renderItem: (props) => /* @__PURE__ */ jsx(MapPin, { ...props }),
65
+ size
66
+ });
67
+ const FormIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
68
+ renderItem: (props) => /* @__PURE__ */ jsx(ListMinus, { ...props }),
69
+ size
70
+ });
71
+ const TableIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
72
+ renderItem: (props) => /* @__PURE__ */ jsx(Table2, { ...props }),
73
+ size
74
+ });
75
+ const CopyIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
76
+ renderItem: (props) => /* @__PURE__ */ jsx(ClipboardPenLine, { ...props }),
77
+ size
78
+ });
79
+ const PublishDateIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
80
+ renderItem: (props) => /* @__PURE__ */ jsx(Calendar, { ...props }),
81
+ size
82
+ });
83
+ const UpdateDateIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
84
+ renderItem: (props) => /* @__PURE__ */ jsx(Clock, { ...props }),
85
+ size
86
+ });
87
+ const MixedColorIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
88
+ renderItem: (props) => /* @__PURE__ */ jsx(Blend, { ...props }),
89
+ size
90
+ });
91
+ const ColorInfoIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
92
+ renderItem: (props) => /* @__PURE__ */ jsx(PaintBucket, { ...props }),
93
+ size
94
+ });
95
+ const ColorContrastIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
96
+ renderItem: (props) => /* @__PURE__ */ jsx(Contrast, { ...props }),
97
+ size
98
+ });
99
+ const NewsIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
100
+ renderItem: (props) => /* @__PURE__ */ jsx(Bell, { ...props }),
101
+ size
102
+ });
103
+ const SubscribeIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
104
+ renderItem: (props) => /* @__PURE__ */ jsx(Bookmark, { ...props }),
105
+ size
106
+ });
107
+ const PrepareIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
108
+ renderItem: (props) => /* @__PURE__ */ jsx(Rocket, { ...props }),
109
+ size
110
+ });
111
+ const SendIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
112
+ renderItem: (props) => /* @__PURE__ */ jsx(Send, { ...props }),
113
+ size
114
+ });
115
+ const MailIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
116
+ renderItem: (props) => /* @__PURE__ */ jsx(Mail, { ...props }),
117
+ size
118
+ });
119
+ const PlusIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
120
+ renderItem: (props) => /* @__PURE__ */ jsx(Plus, { ...props }),
121
+ size
122
+ });
123
+ const MinusIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
124
+ renderItem: (props) => /* @__PURE__ */ jsx(Minus, { ...props }),
125
+ size
126
+ });
127
+ const DarkModeIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
128
+ renderItem: (props) => /* @__PURE__ */ jsx(MoonStar, { ...props }),
129
+ size
130
+ });
131
+ const LightModeIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
132
+ renderItem: (props) => /* @__PURE__ */ jsx(Sun, { ...props }),
133
+ size
134
+ });
135
+ const ViewIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
136
+ renderItem: (props) => /* @__PURE__ */ jsx(Eye, { ...props }),
137
+ size
138
+ });
139
+ const ViewOffIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
140
+ renderItem: (props) => /* @__PURE__ */ jsx(EyeOff, { ...props }),
141
+ size
142
+ });
143
+ const AIIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
144
+ renderItem: (props) => /* @__PURE__ */ jsx(Bot, { ...props }),
145
+ size
146
+ });
147
+ const AssistantIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
148
+ renderItem: (props) => /* @__PURE__ */ jsx(BotMessageSquare, { ...props }),
149
+ size
150
+ });
151
+ const RSSIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
152
+ renderItem: (props) => /* @__PURE__ */ jsx(Rss, { ...props }),
153
+ size
154
+ });
155
+ const HistoryIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
156
+ renderItem: (props) => /* @__PURE__ */ jsx(History, { ...props }),
157
+ size
158
+ });
159
+ const RefreshIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
160
+ renderItem: (props) => /* @__PURE__ */ jsx(RefreshCw, { ...props }),
161
+ size
162
+ });
163
+ const ListIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
164
+ renderItem: (props) => /* @__PURE__ */ jsx(List, { ...props }),
165
+ size
166
+ });
167
+ const NavigationMenuIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
168
+ renderItem: (props) => /* @__PURE__ */ jsx(AlignRight, { ...props }),
169
+ size
170
+ });
171
+ const GoodIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
172
+ renderItem: (props) => /* @__PURE__ */ jsx(ThumbsUp, { ...props }),
173
+ size
174
+ });
175
+ const BadIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
176
+ renderItem: (props) => /* @__PURE__ */ jsx(ThumbsDown, { ...props }),
177
+ size
178
+ });
179
+ const InterestingIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
180
+ renderItem: (props) => /* @__PURE__ */ jsx(Smile, { ...props }),
181
+ size
182
+ });
183
+ const BoringIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
184
+ renderItem: (props) => /* @__PURE__ */ jsx(Annoyed, { ...props }),
185
+ size
186
+ });
187
+ const InformativeIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
188
+ renderItem: (props) => /* @__PURE__ */ jsx(Lightbulb, { ...props }),
189
+ size
190
+ });
191
+ const ShallowIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
192
+ renderItem: (props) => /* @__PURE__ */ jsx(Droplets, { ...props }),
193
+ size
194
+ });
195
+ const EasyIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
196
+ renderItem: (props) => /* @__PURE__ */ jsx(Laugh, { ...props }),
197
+ size
198
+ });
199
+ const DifficultIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
200
+ renderItem: (props) => /* @__PURE__ */ jsx(Angry, { ...props }),
201
+ size
202
+ });
203
+ const AtomIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
204
+ renderItem: (props) => /* @__PURE__ */ jsx(Atom, { ...props }),
205
+ size
206
+ });
207
+ const PaletteIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
208
+ renderItem: (props) => /* @__PURE__ */ jsx(Palette, { ...props }),
209
+ size
210
+ });
211
+ const ShieldCheckIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
212
+ renderItem: (props) => /* @__PURE__ */ jsx(ShieldCheck, { ...props }),
213
+ size
214
+ });
215
+ const AccessibilityIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
216
+ renderItem: (props) => /* @__PURE__ */ jsx(Accessibility, { ...props }),
217
+ size
218
+ });
219
+ const SparklesIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
220
+ renderItem: (props) => /* @__PURE__ */ jsx(Sparkles, { ...props }),
221
+ size
222
+ });
223
+ const HorizontalWritingIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
224
+ renderItem: (props) => /* @__PURE__ */ jsx(BookOpenText, { ...props }),
225
+ size
226
+ });
227
+ const SquircleIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
228
+ renderItem: (props) => /* @__PURE__ */ jsx(Squircle, { ...props }),
229
+ size
230
+ });
231
+ const FlaskIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
232
+ renderItem: (props) => /* @__PURE__ */ jsx(FlaskConical, { ...props }),
233
+ size
234
+ });
235
+ const PackageIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
236
+ renderItem: (props) => /* @__PURE__ */ jsx(Package, { ...props }),
237
+ size
238
+ });
239
+ const ForkIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
240
+ renderItem: (props) => /* @__PURE__ */ jsx(GitFork, { ...props }),
241
+ size
242
+ });
243
+ const FullscreenIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
244
+ renderItem: (props) => /* @__PURE__ */ jsx(Maximize, { ...props }),
245
+ size
246
+ });
247
+ const LockIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
248
+ renderItem: (props) => /* @__PURE__ */ jsx(Lock, { ...props }),
249
+ size
250
+ });
251
+ const LockOpenIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
252
+ renderItem: (props) => /* @__PURE__ */ jsx(LockOpen, { ...props }),
253
+ size
254
+ });
255
+ //#endregion
256
+ export { AIIcon, AccessibilityIcon, AlertIcon, AssistantIcon, AtomIcon, BadIcon, BlogIcon, BoringIcon, CheckIcon, ChevronIcon, CloseIcon, CodeXmlIcon, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, DifficultIcon, EasyIcon, ExternalLinkIcon, FlaskIcon, ForkIcon, FormIcon, FullscreenIcon, GoodIcon, HistoryIcon, HorizontalWritingIcon, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListIcon, LocationIcon, LockIcon, LockOpenIcon, MailIcon, MinusIcon, MixedColorIcon, NavigationMenuIcon, NewsIcon, PackageIcon, PaletteIcon, PlusIcon, PrepareIcon, PublishDateIcon, RSSIcon, RefreshIcon, SendIcon, ShallowIcon, ShieldCheckIcon, SlideIcon, SparklesIcon, SquircleIcon, SubscribeIcon, TableIcon, TagIcon, UpdateDateIcon, ViewIcon, ViewOffIcon };
@@ -0,0 +1,6 @@
1
+ import { BaseIconProps } from "./base.mjs";
2
+ import { FC } from "react";
3
+ //#region src/components/icons/qiita.d.ts
4
+ declare const QiitaIcon: FC<Partial<BaseIconProps>>;
5
+ //#endregion
6
+ export { QiitaIcon };
@@ -0,0 +1,28 @@
1
+ import { BaseIcon } from "./base.mjs";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ //#region src/components/icons/qiita.tsx
4
+ const Qiita = ({ className, ...rest }) => /* @__PURE__ */ jsxs("svg", {
5
+ className,
6
+ ...rest,
7
+ enableBackground: "new 0 0 300 300",
8
+ version: "1.1",
9
+ viewBox: "0 0 300 300",
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ children: [/* @__PURE__ */ jsx("path", {
12
+ d: "\nM170.00,301.00 \n C155.98,301.00 141.96,301.00 127.35,300.63 \n C126.24,299.87 125.76,299.21 125.20,299.13 \n C106.99,296.55 90.22,289.99 74.41,280.79 \n C57.08,270.70 42.21,257.64 30.40,241.57 \n C17.26,223.68 7.53,204.01 3.83,181.76 \n C3.44,179.42 1.97,177.25 1.00,175.00 \n C1.00,159.31 1.00,143.62 1.37,127.35 \n C2.16,125.91 2.75,125.10 2.96,124.21 \n C4.27,118.70 5.15,113.07 6.79,107.67 \n C14.92,80.92 29.17,58.11 50.06,39.28 \n C66.69,24.30 85.52,13.55 106.81,7.03 \n C114.44,4.70 122.26,2.99 130.00,1.00 \n C144.35,1.00 158.71,1.00 173.67,1.36 \n C175.17,2.13 176.02,2.66 176.95,2.92 \n C186.59,5.62 196.44,7.73 205.85,11.06 \n C232.83,20.58 254.47,37.78 271.49,60.35 \n C284.87,78.08 294.49,97.92 298.16,120.22 \n C298.55,122.58 300.03,124.75 301.00,127.00 \n C301.00,127.00 301.00,127.50 300.67,127.85 \n C300.56,129.13 300.78,130.07 301.00,131.00 \n C301.00,145.35 301.00,159.71 300.63,174.65 \n C299.17,179.59 298.12,183.95 296.99,188.29 \n C293.93,200.06 289.71,211.37 283.83,222.00 \n C274.89,218.56 269.44,218.19 260.01,219.87 \n C258.35,220.17 256.09,220.08 254.83,219.16 \n C245.13,212.12 238.85,205.04 243.48,192.58 \n C246.15,185.39 247.37,177.40 247.77,169.69 \n C248.16,162.24 246.97,154.64 245.95,147.17 \n C243.29,127.59 235.48,110.16 223.22,94.68 \n C221.02,91.91 217.97,89.20 217.25,86.02 \n C216.02,80.64 216.26,74.90 216.03,69.31 \n C215.88,65.65 216.19,61.96 215.96,58.31 \n C215.47,50.74 210.89,48.36 204.49,52.19 \n C199.48,55.18 194.13,57.74 189.57,61.31 \n C185.80,64.26 182.76,63.56 178.91,62.05 \n C163.35,55.96 147.25,55.54 131.04,58.51 \n C117.56,60.98 105.90,67.68 94.50,74.96 \n C92.48,76.25 89.34,76.72 86.93,76.31 \n C80.88,75.27 74.98,73.40 68.98,72.08 \n C63.87,70.96 60.62,74.59 61.90,79.73 \n C62.92,83.81 63.68,87.98 65.00,91.96 \n C68.00,100.99 67.47,108.98 62.43,117.71 \n C56.07,128.72 53.74,141.57 53.23,154.22 \n C52.79,165.18 53.42,176.38 55.23,187.20 \n C57.65,201.60 63.63,214.93 73.51,225.90 \n C90.29,244.49 112.10,252.72 136.56,253.81 \n C147.36,254.29 158.27,252.89 169.10,251.95 \n C181.31,250.87 193.16,247.93 203.90,241.91 \n C211.07,237.88 217.72,232.91 223.48,229.10 \n C228.86,234.44 233.77,240.46 239.81,244.96 \n C245.72,249.37 252.79,252.22 259.77,255.97 \n C254.96,260.09 249.64,264.89 244.07,269.38 \n C228.58,281.87 211.13,290.65 191.99,295.95 \n C184.75,297.95 177.34,299.33 170.00,301.00 \nz",
13
+ fill: "#55C500",
14
+ opacity: "1.00",
15
+ stroke: "none"
16
+ }), /* @__PURE__ */ jsx("path", {
17
+ d: "\nM201.23,166.28 \n C189.03,176.10 175.09,180.47 160.14,181.96 \n C150.82,182.88 141.43,184.14 132.12,183.81 \n C118.49,183.33 105.09,180.78 94.96,170.37 \n C86.98,162.16 83.84,151.87 83.87,140.38 \n C79.76,142.15 75.81,143.84 71.86,145.53 \n C71.43,145.03 70.99,144.53 70.56,144.04 \n C71.61,142.71 72.39,140.92 73.75,140.17 \n C76.27,138.78 79.26,138.24 81.79,136.87 \n C83.04,136.19 83.71,134.45 85.18,132.44 \n C79.51,132.44 75.18,132.44 70.38,132.44 \n C70.30,131.77 70.16,130.61 70.02,129.51 \n C75.18,127.89 81.27,130.22 85.99,124.27 \n C81.13,123.77 77.32,123.37 73.50,123.00 \n C70.70,122.73 68.22,122.20 69.41,117.91 \n C73.09,118.51 76.74,119.06 80.36,119.73 \n C83.67,120.33 85.66,120.26 87.22,116.06 \n C96.19,91.86 113.31,77.04 139.13,73.01 \n C162.04,69.44 181.37,76.33 196.90,93.51 \n C199.93,96.87 202.45,100.74 204.79,104.63 \n C206.07,106.76 206.94,107.32 209.40,106.38 \n C212.69,105.12 216.24,104.44 219.73,103.80 \n C220.98,103.58 222.38,104.19 223.71,104.42 \n C223.71,104.86 223.71,105.29 223.72,105.72 \n C218.54,107.58 213.36,109.43 208.00,111.35 \n C212.07,119.52 219.17,110.88 224.17,115.11 \n C221.41,120.75 214.59,115.81 211.18,119.90 \n C211.36,123.79 214.46,123.98 217.68,124.37 \n C220.48,124.71 223.23,125.53 226.13,126.17 \n C224.53,129.57 224.53,129.57 212.76,127.41 \n C214.08,141.79 212.91,155.47 201.23,166.28 \nz",
18
+ fill: "#55C500",
19
+ opacity: "1.00",
20
+ stroke: "none"
21
+ })]
22
+ });
23
+ const QiitaIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
24
+ renderItem: (props) => /* @__PURE__ */ jsx(Qiita, { ...props }),
25
+ size
26
+ });
27
+ //#endregion
28
+ export { QiitaIcon };
@@ -0,0 +1,6 @@
1
+ import { BaseIconProps } from "./base.mjs";
2
+ import { FC } from "react";
3
+ //#region src/components/icons/twitter.d.ts
4
+ declare const TwitterIcon: FC<Partial<BaseIconProps>>;
5
+ //#endregion
6
+ export { TwitterIcon };
@@ -0,0 +1,20 @@
1
+ import { BaseIcon } from "./base.mjs";
2
+ import { jsx } from "react/jsx-runtime";
3
+ //#region src/components/icons/twitter.tsx
4
+ const Twitter = ({ className, ...rest }) => /* @__PURE__ */ jsx("svg", {
5
+ className,
6
+ ...rest,
7
+ fill: "none",
8
+ viewBox: "0 0 1200 1227",
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ children: /* @__PURE__ */ jsx("path", {
11
+ className: "fill-fg-base",
12
+ d: "M714.16 519.28L1160.89 0H1055.03L667.14 450.89L357.33 0H0L468.49 681.82L0 1226.37H105.87L515.49 750.22L842.67 1226.37H1200L714.14 519.28H714.16ZM569.16 687.83L521.70 619.93L144.01 79.69H306.62L611.41 515.68L658.88 583.58L1055.08 1150.3H892.48L569.16 687.85V687.83Z"
13
+ })
14
+ });
15
+ const TwitterIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
16
+ renderItem: (props) => /* @__PURE__ */ jsx(Twitter, { ...props }),
17
+ size
18
+ });
19
+ //#endregion
20
+ export { TwitterIcon };
@@ -0,0 +1,6 @@
1
+ import { BaseIconProps } from "./base.mjs";
2
+ import { FC } from "react";
3
+ //#region src/components/icons/vertical-writing.d.ts
4
+ declare const VerticalWritingIcon: FC<Partial<BaseIconProps>>;
5
+ //#endregion
6
+ export { VerticalWritingIcon };
@@ -0,0 +1,26 @@
1
+ import { BaseIcon } from "./base.mjs";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ //#region src/components/icons/vertical-writing.tsx
4
+ const VerticalWriting = ({ className, ...rest }) => /* @__PURE__ */ jsxs("svg", {
5
+ className,
6
+ ...rest,
7
+ fill: "none",
8
+ stroke: "currentColor",
9
+ strokeLinecap: "round",
10
+ strokeLinejoin: "round",
11
+ strokeWidth: "2",
12
+ viewBox: "0 0 24 24",
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ children: [
15
+ /* @__PURE__ */ jsx("path", { d: "M12 7v14" }),
16
+ /* @__PURE__ */ jsx("path", { d: "M17 8v4" }),
17
+ /* @__PURE__ */ jsx("path", { d: "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z" }),
18
+ /* @__PURE__ */ jsx("path", { d: "M7 8v4" })
19
+ ]
20
+ });
21
+ const VerticalWritingIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
22
+ renderItem: (props) => /* @__PURE__ */ jsx(VerticalWriting, { ...props }),
23
+ size
24
+ });
25
+ //#endregion
26
+ export { VerticalWritingIcon };
@@ -0,0 +1,106 @@
1
+ import { Button } from "./buttons/button/button.mjs";
2
+ import "./buttons/button/index.mjs";
3
+ import { Tooltip, TooltipTriggerProps } from "./overlays/tooltip/tooltip.mjs";
4
+ import "./overlays/tooltip/index.mjs";
5
+ import { IconButton, IconButtonTriggerProps } from "./buttons/icon-button/icon-button.mjs";
6
+ import "./buttons/icon-button/index.mjs";
7
+ import { Accordion } from "./data-display/accordion/index.mjs";
8
+ import { Avatar } from "./data-display/avatar/avatar.mjs";
9
+ import "./data-display/avatar/index.mjs";
10
+ import { Badge } from "./data-display/badge/badge.mjs";
11
+ import "./data-display/badge/index.mjs";
12
+ import { Card } from "./data-display/card/card.mjs";
13
+ import "./data-display/card/index.mjs";
14
+ import { Code } from "./data-display/code/code.mjs";
15
+ import "./data-display/code/index.mjs";
16
+ import { Heading } from "./data-display/heading/heading.mjs";
17
+ import "./data-display/heading/index.mjs";
18
+ import { CellAlign, Table } from "./data-display/table/table.mjs";
19
+ import "./data-display/table/index.mjs";
20
+ import { Alert, AlertAction } from "./feedback/alert/alert.mjs";
21
+ import "./feedback/alert/index.mjs";
22
+ import { Progress } from "./feedback/progress/progress.mjs";
23
+ import "./feedback/progress/index.mjs";
24
+ import { Skeleton } from "./feedback/skeleton/skeleton.mjs";
25
+ import "./feedback/skeleton/index.mjs";
26
+ import { Spinner } from "./feedback/spinner/spinner.mjs";
27
+ import "./feedback/spinner/index.mjs";
28
+ import { ToastAction, ToastOptions, useToast } from "./feedback/toast/context.mjs";
29
+ import { ToastProvider } from "./feedback/toast/provider.mjs";
30
+ import "./feedback/toast/index.mjs";
31
+ import { Autocomplete } from "./form/autocomplete/autocomplete.mjs";
32
+ import "./form/autocomplete/index.mjs";
33
+ import { CheckboxCard, CheckboxCardOption } from "./form/checkbox-card/checkbox-card.mjs";
34
+ import "./form/checkbox-card/index.mjs";
35
+ import { CheckboxGroup } from "./form/checkbox-group/index.mjs";
36
+ import { Checkbox } from "./form/checkbox/checkbox.mjs";
37
+ import "./form/checkbox/index.mjs";
38
+ import { FileField } from "./form/file-field/file-field.mjs";
39
+ import "./form/file-field/index.mjs";
40
+ import { FormControl } from "./form/form-control/form-control.mjs";
41
+ import "./form/form-control/index.mjs";
42
+ import { Form } from "./form/form/form.mjs";
43
+ import "./form/form/index.mjs";
44
+ import { NumberField } from "./form/number-field/number-field.mjs";
45
+ import "./form/number-field/index.mjs";
46
+ import { PasswordInput } from "./form/password-input/password-input.mjs";
47
+ import "./form/password-input/index.mjs";
48
+ import { RadioCard, RadioCardOption } from "./form/radio-card/radio-card.mjs";
49
+ import "./form/radio-card/index.mjs";
50
+ import { Radio } from "./form/radio/radio.mjs";
51
+ import "./form/radio/index.mjs";
52
+ import { Select } from "./form/select/select.mjs";
53
+ import "./form/select/index.mjs";
54
+ import { Slider } from "./form/slider/slider.mjs";
55
+ import "./form/slider/index.mjs";
56
+ import { Switch } from "./form/switch/switch.mjs";
57
+ import "./form/switch/index.mjs";
58
+ import { TextField } from "./form/text-field/text-field.mjs";
59
+ import "./form/text-field/index.mjs";
60
+ import { Textarea } from "./form/textarea/textarea.mjs";
61
+ import "./form/textarea/index.mjs";
62
+ import { BaseIconProps, IconRenderProps } from "./icons/base.mjs";
63
+ import { ChromeIcon, EdgeIcon, FirefoxIcon, SafariIcon } from "./icons/browsers.mjs";
64
+ import { ColorScaleIcon } from "./icons/color-scale.mjs";
65
+ import { GitHubIcon } from "./icons/github-mark.mjs";
66
+ import { Logo, LogoIcon } from "./icons/logo.mjs";
67
+ import { AIIcon, AccessibilityIcon, AlertIcon, AssistantIcon, AtomIcon, BadIcon, BlogIcon, BoringIcon, CheckIcon, ChevronIcon, CloseIcon, CodeXmlIcon, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, DifficultIcon, EasyIcon, ExternalLinkIcon, FlaskIcon, ForkIcon, FormIcon, FullscreenIcon, GoodIcon, HistoryIcon, HorizontalWritingIcon, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListIcon, LocationIcon, LockIcon, LockOpenIcon, MailIcon, MinusIcon, MixedColorIcon, NavigationMenuIcon, NewsIcon, PackageIcon, PaletteIcon, PlusIcon, PrepareIcon, PublishDateIcon, RSSIcon, RefreshIcon, SendIcon, ShallowIcon, ShieldCheckIcon, SlideIcon, SparklesIcon, SquircleIcon, SubscribeIcon, TableIcon, TagIcon, UpdateDateIcon, ViewIcon, ViewOffIcon } from "./icons/lucide.mjs";
68
+ import { QiitaIcon } from "./icons/qiita.mjs";
69
+ import { TwitterIcon } from "./icons/twitter.mjs";
70
+ import { VerticalWritingIcon } from "./icons/vertical-writing.mjs";
71
+ import "./icons/index.mjs";
72
+ import { GapSize } from "./layout/_shared/gap.mjs";
73
+ import { PaddingSize } from "./layout/_shared/padding.mjs";
74
+ import { Grid, GridProps } from "./layout/grid/grid.mjs";
75
+ import "./layout/grid/index.mjs";
76
+ import { ScrollLinked } from "./layout/scroll-linked/scroll-linked.mjs";
77
+ import "./layout/scroll-linked/index.mjs";
78
+ import { Separator } from "./layout/separator/separator.mjs";
79
+ import "./layout/separator/index.mjs";
80
+ import { Stack, StackProps } from "./layout/stack/stack.mjs";
81
+ import "./layout/stack/index.mjs";
82
+ import { Anchor } from "./navigation/anchor/anchor.mjs";
83
+ import "./navigation/anchor/index.mjs";
84
+ import { Breadcrumb } from "./navigation/breadcrumb/index.mjs";
85
+ import { Pagination } from "./navigation/pagination/pagination.mjs";
86
+ import "./navigation/pagination/index.mjs";
87
+ import { Tabs } from "./navigation/tabs/tabs.mjs";
88
+ import "./navigation/tabs/index.mjs";
89
+ import { Dialog } from "./overlays/dialog/dialog.mjs";
90
+ import "./overlays/dialog/index.mjs";
91
+ import { Drawer } from "./overlays/drawer/drawer.mjs";
92
+ import "./overlays/drawer/index.mjs";
93
+ import { DropdownMenu } from "./overlays/dropdown-menu/dropdown-menu.mjs";
94
+ import "./overlays/dropdown-menu/index.mjs";
95
+ import { ListBox } from "./overlays/list-box/list-box.mjs";
96
+ import "./overlays/list-box/index.mjs";
97
+ import { Modal } from "./overlays/modal/modal.mjs";
98
+ import "./overlays/modal/index.mjs";
99
+ import { PopoverContentProps, PopoverTriggerProps } from "./overlays/popover/hooks.mjs";
100
+ import { Popover } from "./overlays/popover/popover.mjs";
101
+ import "./overlays/popover/index.mjs";
102
+ import { Messages } from "../i18n/messages.mjs";
103
+ import { UIProvider } from "./providers/ui-provider.mjs";
104
+ import { PortalRootProvider, usePortalRoot } from "./providers/portal-root.mjs";
105
+ import "./providers/index.mjs";
106
+ 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 };
@@ -0,0 +1,57 @@
1
+ import { Spinner } from "./feedback/spinner/spinner.mjs";
2
+ import { Button } from "./buttons/button/button.mjs";
3
+ import { Popover } from "./overlays/popover/popover.mjs";
4
+ import { Tooltip } from "./overlays/tooltip/tooltip.mjs";
5
+ import { IconButton } from "./buttons/icon-button/icon-button.mjs";
6
+ import { ChromeIcon, EdgeIcon, FirefoxIcon, SafariIcon } from "./icons/browsers.mjs";
7
+ import { ColorScaleIcon } from "./icons/color-scale.mjs";
8
+ import { GitHubIcon } from "./icons/github-mark.mjs";
9
+ import { Logo, LogoIcon } from "./icons/logo.mjs";
10
+ import { AIIcon, AccessibilityIcon, AlertIcon, AssistantIcon, AtomIcon, BadIcon, BlogIcon, BoringIcon, CheckIcon, ChevronIcon, CloseIcon, CodeXmlIcon, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, DifficultIcon, EasyIcon, ExternalLinkIcon, FlaskIcon, ForkIcon, FormIcon, FullscreenIcon, GoodIcon, HistoryIcon, HorizontalWritingIcon, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListIcon, LocationIcon, LockIcon, LockOpenIcon, MailIcon, MinusIcon, MixedColorIcon, NavigationMenuIcon, NewsIcon, PackageIcon, PaletteIcon, PlusIcon, PrepareIcon, PublishDateIcon, RSSIcon, RefreshIcon, SendIcon, ShallowIcon, ShieldCheckIcon, SlideIcon, SparklesIcon, SquircleIcon, SubscribeIcon, TableIcon, TagIcon, UpdateDateIcon, ViewIcon, ViewOffIcon } from "./icons/lucide.mjs";
11
+ import { QiitaIcon } from "./icons/qiita.mjs";
12
+ import { TwitterIcon } from "./icons/twitter.mjs";
13
+ import { VerticalWritingIcon } from "./icons/vertical-writing.mjs";
14
+ import { Accordion } from "./data-display/accordion/index.mjs";
15
+ import { Avatar } from "./data-display/avatar/avatar.mjs";
16
+ import { Badge } from "./data-display/badge/badge.mjs";
17
+ import { Card } from "./data-display/card/card.mjs";
18
+ import { Code } from "./data-display/code/code.mjs";
19
+ import { Heading } from "./data-display/heading/heading.mjs";
20
+ import { Table } from "./data-display/table/table.mjs";
21
+ import { Alert } from "./feedback/alert/alert.mjs";
22
+ import { Progress } from "./feedback/progress/progress.mjs";
23
+ import { Skeleton } from "./feedback/skeleton/skeleton.mjs";
24
+ import { useToast } from "./feedback/toast/context.mjs";
25
+ import { ToastProvider } from "./feedback/toast/provider.mjs";
26
+ import { Autocomplete } from "./form/autocomplete/autocomplete.mjs";
27
+ import { Checkbox } from "./form/checkbox/checkbox.mjs";
28
+ import { CheckboxCard } from "./form/checkbox-card/checkbox-card.mjs";
29
+ import { CheckboxGroup } from "./form/checkbox-group/index.mjs";
30
+ import { FileField } from "./form/file-field/file-field.mjs";
31
+ import { Form } from "./form/form/form.mjs";
32
+ import { FormControl } from "./form/form-control/form-control.mjs";
33
+ import { NumberField } from "./form/number-field/number-field.mjs";
34
+ import { PasswordInput } from "./form/password-input/password-input.mjs";
35
+ import { Radio } from "./form/radio/radio.mjs";
36
+ import { RadioCard } from "./form/radio-card/radio-card.mjs";
37
+ import { Select } from "./form/select/select.mjs";
38
+ import { Slider } from "./form/slider/slider.mjs";
39
+ import { Switch } from "./form/switch/switch.mjs";
40
+ import { TextField } from "./form/text-field/text-field.mjs";
41
+ import { Textarea } from "./form/textarea/textarea.mjs";
42
+ 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";
45
+ import { Stack } from "./layout/stack/stack.mjs";
46
+ import { Anchor } from "./navigation/anchor/anchor.mjs";
47
+ import { Breadcrumb } from "./navigation/breadcrumb/index.mjs";
48
+ import { Pagination } from "./navigation/pagination/pagination.mjs";
49
+ import { Tabs } from "./navigation/tabs/tabs.mjs";
50
+ import { Dialog } from "./overlays/dialog/dialog.mjs";
51
+ import { UIProvider } from "./providers/ui-provider.mjs";
52
+ import { PortalRootProvider, usePortalRoot } from "./providers/portal-root.mjs";
53
+ import { Modal } from "./overlays/modal/modal.mjs";
54
+ import { Drawer } from "./overlays/drawer/drawer.mjs";
55
+ import { DropdownMenu } from "./overlays/dropdown-menu/dropdown-menu.mjs";
56
+ import { ListBox } from "./overlays/list-box/list-box.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 };
@@ -0,0 +1,11 @@
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';
9
+ };
10
+ //#endregion
11
+ export { GAP_CLASS, GapSize };
@@ -0,0 +1,10 @@
1
+ //#region src/components/layout/_shared/gap.ts
2
+ const GAP_CLASS = {
3
+ none: "gap-0",
4
+ sm: "gap-2",
5
+ md: "gap-4",
6
+ lg: "gap-6",
7
+ xl: "gap-8"
8
+ };
9
+ //#endregion
10
+ export { GAP_CLASS };
@@ -0,0 +1,11 @@
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';
9
+ };
10
+ //#endregion
11
+ export { PADDING_CLASS, PaddingSize };
@@ -0,0 +1,10 @@
1
+ //#region src/components/layout/_shared/padding.ts
2
+ const PADDING_CLASS = {
3
+ none: "p-0",
4
+ sm: "p-2",
5
+ md: "p-4",
6
+ lg: "p-6",
7
+ xl: "p-8"
8
+ };
9
+ //#endregion
10
+ export { PADDING_CLASS };
@@ -0,0 +1,16 @@
1
+ import { GapSize } from "../_shared/gap.mjs";
2
+ import { FC, HTMLAttributes, PropsWithChildren } from "react";
3
+ //#region src/components/layout/grid/grid.d.ts
4
+ type GridProps = PropsWithChildren<{
5
+ /**
6
+ * 列数。`1`〜`6` の固定列、`'auto-fill'` / `'auto-fit'` の自動列を選べる。
7
+ * 自動列の場合は `minItemSize` で各セルの最小幅(Tailwind spacing 単位)を指定する。
8
+ */
9
+ cols?: 1 | 2 | 3 | 4 | 5 | 6 | 'auto-fill' | 'auto-fit';
10
+ /** `cols` が `auto-fill` / `auto-fit` のときの各セルの最小サイズ(Tailwind spacing)。 */
11
+ minItemSize?: 24 | 32 | 40 | 48 | 64 | 80;
12
+ gap?: GapSize;
13
+ } & Omit<HTMLAttributes<HTMLDivElement>, 'className' | 'style'>>;
14
+ declare const Grid: FC<GridProps>;
15
+ //#endregion
16
+ export { Grid, GridProps };
@@ -0,0 +1,35 @@
1
+ import { cn } from "../../../helpers/cn.mjs";
2
+ import { GAP_CLASS } from "../_shared/gap.mjs";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/components/layout/grid/grid.tsx
5
+ 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"
12
+ };
13
+ 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"
20
+ };
21
+ 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"
28
+ };
29
+ const Grid = ({ cols = "auto-fill", minItemSize = 48, gap = "md", children, ...rest }) => /* @__PURE__ */ jsx("div", {
30
+ ...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
+ children
33
+ });
34
+ //#endregion
35
+ export { Grid };
@@ -0,0 +1,2 @@
1
+ import { Grid, GridProps } from "./grid.mjs";
2
+ export { Grid, type GridProps };
@@ -0,0 +1,2 @@
1
+ import { Grid } from "./grid.mjs";
2
+ export { Grid };
@@ -0,0 +1,2 @@
1
+ import { ScrollLinked } from "./scroll-linked.mjs";
2
+ export { ScrollLinked };