@kjun-ui/react 0.21.0 → 0.23.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 (297) hide show
  1. package/README.md +19 -5
  2. package/dist/index.cjs +8795 -3753
  3. package/dist/index.js +9349 -4284
  4. package/dist/styles.css +2736 -480
  5. package/dist/types/packages/react/src/actions.d.cts +21 -16
  6. package/dist/types/packages/react/src/actions.d.ts +21 -16
  7. package/dist/types/packages/react/src/app-navigation.d.cts +14 -4
  8. package/dist/types/packages/react/src/app-navigation.d.ts +14 -4
  9. package/dist/types/packages/react/src/avatar-group.d.cts +36 -0
  10. package/dist/types/packages/react/src/avatar-group.d.ts +36 -0
  11. package/dist/types/packages/react/src/button.d.cts +15 -6
  12. package/dist/types/packages/react/src/button.d.ts +15 -6
  13. package/dist/types/packages/react/src/calendar.d.cts +6 -2
  14. package/dist/types/packages/react/src/calendar.d.ts +6 -2
  15. package/dist/types/packages/react/src/card.d.cts +10 -3
  16. package/dist/types/packages/react/src/card.d.ts +10 -3
  17. package/dist/types/packages/react/src/carousel.d.cts +8 -1
  18. package/dist/types/packages/react/src/carousel.d.ts +8 -1
  19. package/dist/types/packages/react/src/choice-controls.d.cts +99 -0
  20. package/dist/types/packages/react/src/choice-controls.d.ts +99 -0
  21. package/dist/types/packages/react/src/collapse.d.cts +4 -1
  22. package/dist/types/packages/react/src/collapse.d.ts +4 -1
  23. package/dist/types/packages/react/src/color-picker.d.cts +8 -1
  24. package/dist/types/packages/react/src/color-picker.d.ts +8 -1
  25. package/dist/types/packages/react/src/combobox.d.cts +18 -5
  26. package/dist/types/packages/react/src/combobox.d.ts +18 -5
  27. package/dist/types/packages/react/src/controls.d.cts +7 -74
  28. package/dist/types/packages/react/src/controls.d.ts +7 -74
  29. package/dist/types/packages/react/src/data-state.d.cts +19 -6
  30. package/dist/types/packages/react/src/data-state.d.ts +19 -6
  31. package/dist/types/packages/react/src/date-picker.d.cts +8 -2
  32. package/dist/types/packages/react/src/date-picker.d.ts +8 -2
  33. package/dist/types/packages/react/src/display.d.cts +33 -8
  34. package/dist/types/packages/react/src/display.d.ts +33 -8
  35. package/dist/types/packages/react/src/drawer.d.cts +11 -2
  36. package/dist/types/packages/react/src/drawer.d.ts +11 -2
  37. package/dist/types/packages/react/src/dropdown.d.cts +21 -6
  38. package/dist/types/packages/react/src/dropdown.d.ts +21 -6
  39. package/dist/types/packages/react/src/event-calendar.d.cts +47 -0
  40. package/dist/types/packages/react/src/event-calendar.d.ts +47 -0
  41. package/dist/types/packages/react/src/fab.d.cts +2 -0
  42. package/dist/types/packages/react/src/fab.d.ts +2 -0
  43. package/dist/types/packages/react/src/file-upload-row.d.cts +23 -0
  44. package/dist/types/packages/react/src/file-upload-row.d.ts +23 -0
  45. package/dist/types/packages/react/src/file-upload.d.cts +38 -0
  46. package/dist/types/packages/react/src/file-upload.d.ts +38 -0
  47. package/dist/types/packages/react/src/financial-display.d.cts +32 -11
  48. package/dist/types/packages/react/src/financial-display.d.ts +32 -11
  49. package/dist/types/packages/react/src/floating-panel.d.cts +6 -2
  50. package/dist/types/packages/react/src/floating-panel.d.ts +6 -2
  51. package/dist/types/packages/react/src/index.d.cts +12 -1
  52. package/dist/types/packages/react/src/index.d.ts +12 -1
  53. package/dist/types/packages/react/src/input.d.cts +27 -1
  54. package/dist/types/packages/react/src/input.d.ts +27 -1
  55. package/dist/types/packages/react/src/kpi-hero.d.cts +2 -0
  56. package/dist/types/packages/react/src/kpi-hero.d.ts +2 -0
  57. package/dist/types/packages/react/src/kpi-row.d.cts +5 -0
  58. package/dist/types/packages/react/src/kpi-row.d.ts +5 -0
  59. package/dist/types/packages/react/src/layout-primitives.d.cts +71 -139
  60. package/dist/types/packages/react/src/layout-primitives.d.ts +71 -139
  61. package/dist/types/packages/react/src/list-context.d.cts +2 -1
  62. package/dist/types/packages/react/src/list-context.d.ts +2 -1
  63. package/dist/types/packages/react/src/list.d.cts +49 -12
  64. package/dist/types/packages/react/src/list.d.ts +49 -12
  65. package/dist/types/packages/react/src/market-model.d.cts +15 -1
  66. package/dist/types/packages/react/src/market-model.d.ts +15 -1
  67. package/dist/types/packages/react/src/market-parts.d.cts +9 -0
  68. package/dist/types/packages/react/src/market-parts.d.ts +9 -0
  69. package/dist/types/packages/react/src/market-skeleton.d.cts +7 -1
  70. package/dist/types/packages/react/src/market-skeleton.d.ts +7 -1
  71. package/dist/types/packages/react/src/media.d.cts +6 -2
  72. package/dist/types/packages/react/src/media.d.ts +6 -2
  73. package/dist/types/packages/react/src/modal.d.cts +11 -2
  74. package/dist/types/packages/react/src/modal.d.ts +11 -2
  75. package/dist/types/packages/react/src/navigation.d.cts +34 -5
  76. package/dist/types/packages/react/src/navigation.d.ts +34 -5
  77. package/dist/types/packages/react/src/number-display.d.cts +8 -5
  78. package/dist/types/packages/react/src/number-display.d.ts +8 -5
  79. package/dist/types/packages/react/src/number-input.d.cts +28 -0
  80. package/dist/types/packages/react/src/number-input.d.ts +28 -0
  81. package/dist/types/packages/react/src/popover.d.cts +5 -2
  82. package/dist/types/packages/react/src/popover.d.ts +5 -2
  83. package/dist/types/packages/react/src/pressable.d.cts +17 -0
  84. package/dist/types/packages/react/src/pressable.d.ts +17 -0
  85. package/dist/types/packages/react/src/quantity-stepper.d.cts +3 -1
  86. package/dist/types/packages/react/src/quantity-stepper.d.ts +3 -1
  87. package/dist/types/packages/react/src/range-input.d.cts +15 -3
  88. package/dist/types/packages/react/src/range-input.d.ts +15 -3
  89. package/dist/types/packages/react/src/search-input.d.cts +6 -3
  90. package/dist/types/packages/react/src/search-input.d.ts +6 -3
  91. package/dist/types/packages/react/src/select-control.d.cts +7 -2
  92. package/dist/types/packages/react/src/select-control.d.ts +7 -2
  93. package/dist/types/packages/react/src/side-navigation-layout-spaces.d.cts +31 -0
  94. package/dist/types/packages/react/src/side-navigation-layout-spaces.d.ts +31 -0
  95. package/dist/types/packages/react/src/side-navigation-layout.d.cts +63 -0
  96. package/dist/types/packages/react/src/side-navigation-layout.d.ts +63 -0
  97. package/dist/types/packages/react/src/side-navigation.d.cts +74 -0
  98. package/dist/types/packages/react/src/side-navigation.d.ts +74 -0
  99. package/dist/types/packages/react/src/skeletons.d.cts +18 -3
  100. package/dist/types/packages/react/src/skeletons.d.ts +18 -3
  101. package/dist/types/packages/react/src/spinner-glyph.d.cts +8 -0
  102. package/dist/types/packages/react/src/spinner-glyph.d.ts +8 -0
  103. package/dist/types/packages/react/src/split-pane.d.cts +20 -5
  104. package/dist/types/packages/react/src/split-pane.d.ts +20 -5
  105. package/dist/types/packages/react/src/stacked-bar.d.cts +3 -1
  106. package/dist/types/packages/react/src/stacked-bar.d.ts +3 -1
  107. package/dist/types/packages/react/src/steps.d.cts +27 -0
  108. package/dist/types/packages/react/src/steps.d.ts +27 -0
  109. package/dist/types/packages/react/src/table-cards.d.cts +4 -12
  110. package/dist/types/packages/react/src/table-cards.d.ts +4 -12
  111. package/dist/types/packages/react/src/table-grid.d.cts +3 -7
  112. package/dist/types/packages/react/src/table-grid.d.ts +3 -7
  113. package/dist/types/packages/react/src/table-groups.d.cts +5 -0
  114. package/dist/types/packages/react/src/table-groups.d.ts +5 -0
  115. package/dist/types/packages/react/src/table-list.d.cts +2 -9
  116. package/dist/types/packages/react/src/table-list.d.ts +2 -9
  117. package/dist/types/packages/react/src/table-model.d.cts +6 -2
  118. package/dist/types/packages/react/src/table-model.d.ts +6 -2
  119. package/dist/types/packages/react/src/tabs.d.cts +3 -1
  120. package/dist/types/packages/react/src/tabs.d.ts +3 -1
  121. package/dist/types/packages/react/src/textarea.d.cts +6 -3
  122. package/dist/types/packages/react/src/textarea.d.ts +6 -3
  123. package/dist/types/packages/react/src/tiles.d.cts +18 -0
  124. package/dist/types/packages/react/src/tiles.d.ts +18 -0
  125. package/dist/types/packages/react/src/time-picker.d.cts +12 -2
  126. package/dist/types/packages/react/src/time-picker.d.ts +12 -2
  127. package/dist/types/packages/react/src/time-wheel.d.cts +18 -0
  128. package/dist/types/packages/react/src/time-wheel.d.ts +18 -0
  129. package/dist/types/packages/react/src/use-filter-scroll.d.cts +5 -0
  130. package/dist/types/packages/react/src/use-filter-scroll.d.ts +5 -0
  131. package/dist/types/shared/package-runtime/accordion-state.d.cts +2 -0
  132. package/dist/types/shared/package-runtime/accordion-state.d.ts +2 -0
  133. package/dist/types/shared/package-runtime/action-size.d.cts +4 -0
  134. package/dist/types/shared/package-runtime/action-size.d.ts +4 -0
  135. package/dist/types/shared/package-runtime/alert-actions.d.cts +7 -0
  136. package/dist/types/shared/package-runtime/alert-actions.d.ts +7 -0
  137. package/dist/types/shared/package-runtime/alert-exit.d.cts +6 -0
  138. package/dist/types/shared/package-runtime/alert-exit.d.ts +6 -0
  139. package/dist/types/shared/package-runtime/alert-live.d.cts +2 -0
  140. package/dist/types/shared/package-runtime/alert-live.d.ts +2 -0
  141. package/dist/types/shared/package-runtime/avatar-group.d.cts +18 -0
  142. package/dist/types/shared/package-runtime/avatar-group.d.ts +18 -0
  143. package/dist/types/shared/package-runtime/badge-tone.d.cts +8 -2
  144. package/dist/types/shared/package-runtime/badge-tone.d.ts +8 -2
  145. package/dist/types/shared/package-runtime/bottom-bar.d.cts +1 -1
  146. package/dist/types/shared/package-runtime/bottom-bar.d.ts +1 -1
  147. package/dist/types/shared/package-runtime/bottom-navigation.d.cts +10 -0
  148. package/dist/types/shared/package-runtime/bottom-navigation.d.ts +10 -0
  149. package/dist/types/shared/package-runtime/calendar.d.cts +21 -7
  150. package/dist/types/shared/package-runtime/calendar.d.ts +21 -7
  151. package/dist/types/shared/package-runtime/card-layout.d.cts +8 -0
  152. package/dist/types/shared/package-runtime/card-layout.d.ts +8 -0
  153. package/dist/types/shared/package-runtime/carousel-scroll.d.cts +2 -0
  154. package/dist/types/shared/package-runtime/carousel-scroll.d.ts +2 -0
  155. package/dist/types/shared/package-runtime/carousel.d.cts +12 -2
  156. package/dist/types/shared/package-runtime/carousel.d.ts +12 -2
  157. package/dist/types/shared/package-runtime/chart-skeleton.d.cts +1 -1
  158. package/dist/types/shared/package-runtime/chart-skeleton.d.ts +1 -1
  159. package/dist/types/shared/package-runtime/clipboard.d.cts +6 -0
  160. package/dist/types/shared/package-runtime/clipboard.d.ts +6 -0
  161. package/dist/types/shared/package-runtime/combobox-options.d.cts +13 -0
  162. package/dist/types/shared/package-runtime/combobox-options.d.ts +13 -0
  163. package/dist/types/shared/package-runtime/combobox.d.cts +3 -1
  164. package/dist/types/shared/package-runtime/combobox.d.ts +3 -1
  165. package/dist/types/shared/package-runtime/copy-button.d.cts +11 -0
  166. package/dist/types/shared/package-runtime/copy-button.d.ts +11 -0
  167. package/dist/types/shared/package-runtime/data-cells.d.cts +36 -0
  168. package/dist/types/shared/package-runtime/data-cells.d.ts +36 -0
  169. package/dist/types/shared/package-runtime/development.d.cts +4 -0
  170. package/dist/types/shared/package-runtime/development.d.ts +4 -0
  171. package/dist/types/shared/package-runtime/distribution.d.cts +36 -1
  172. package/dist/types/shared/package-runtime/distribution.d.ts +36 -1
  173. package/dist/types/shared/package-runtime/drawer-geometry.d.cts +7 -0
  174. package/dist/types/shared/package-runtime/drawer-geometry.d.ts +7 -0
  175. package/dist/types/shared/package-runtime/event-calendar.d.cts +81 -0
  176. package/dist/types/shared/package-runtime/event-calendar.d.ts +81 -0
  177. package/dist/types/shared/package-runtime/external-link.d.cts +4 -0
  178. package/dist/types/shared/package-runtime/external-link.d.ts +4 -0
  179. package/dist/types/shared/package-runtime/field-group.d.cts +17 -0
  180. package/dist/types/shared/package-runtime/field-group.d.ts +17 -0
  181. package/dist/types/shared/package-runtime/file-upload.d.cts +128 -0
  182. package/dist/types/shared/package-runtime/file-upload.d.ts +128 -0
  183. package/dist/types/shared/package-runtime/filter-scroll.d.cts +5 -0
  184. package/dist/types/shared/package-runtime/filter-scroll.d.ts +5 -0
  185. package/dist/types/shared/package-runtime/filter-value.d.cts +2 -0
  186. package/dist/types/shared/package-runtime/filter-value.d.ts +2 -0
  187. package/dist/types/shared/package-runtime/input-field.d.cts +23 -0
  188. package/dist/types/shared/package-runtime/input-field.d.ts +23 -0
  189. package/dist/types/shared/package-runtime/input-variant.d.cts +7 -0
  190. package/dist/types/shared/package-runtime/input-variant.d.ts +7 -0
  191. package/dist/types/shared/package-runtime/kpi.d.cts +13 -0
  192. package/dist/types/shared/package-runtime/kpi.d.ts +13 -0
  193. package/dist/types/shared/package-runtime/layout-primitives.d.cts +115 -6
  194. package/dist/types/shared/package-runtime/layout-primitives.d.ts +115 -6
  195. package/dist/types/shared/package-runtime/list-row.d.cts +71 -8
  196. package/dist/types/shared/package-runtime/list-row.d.ts +71 -8
  197. package/dist/types/shared/package-runtime/market-layout.d.cts +3 -1
  198. package/dist/types/shared/package-runtime/market-layout.d.ts +3 -1
  199. package/dist/types/shared/package-runtime/market-query.d.cts +6 -0
  200. package/dist/types/shared/package-runtime/market-query.d.ts +6 -0
  201. package/dist/types/shared/package-runtime/market-table.d.cts +32 -0
  202. package/dist/types/shared/package-runtime/market-table.d.ts +32 -0
  203. package/dist/types/shared/package-runtime/menu-button.d.cts +4 -0
  204. package/dist/types/shared/package-runtime/menu-button.d.ts +4 -0
  205. package/dist/types/shared/package-runtime/messages/ko.d.cts +77 -1
  206. package/dist/types/shared/package-runtime/messages/ko.d.ts +77 -1
  207. package/dist/types/shared/package-runtime/messages-context.d.cts +69 -1
  208. package/dist/types/shared/package-runtime/messages-context.d.ts +69 -1
  209. package/dist/types/shared/package-runtime/minimum-loading.d.cts +3 -0
  210. package/dist/types/shared/package-runtime/minimum-loading.d.ts +3 -0
  211. package/dist/types/shared/package-runtime/modal-geometry.d.cts +15 -0
  212. package/dist/types/shared/package-runtime/modal-geometry.d.ts +15 -0
  213. package/dist/types/shared/package-runtime/navigation.d.cts +9 -2
  214. package/dist/types/shared/package-runtime/navigation.d.ts +9 -2
  215. package/dist/types/shared/package-runtime/nested-controls.d.cts +7 -0
  216. package/dist/types/shared/package-runtime/nested-controls.d.ts +7 -0
  217. package/dist/types/shared/package-runtime/node-text.d.cts +1 -0
  218. package/dist/types/shared/package-runtime/node-text.d.ts +1 -0
  219. package/dist/types/shared/package-runtime/number-input.d.cts +73 -0
  220. package/dist/types/shared/package-runtime/number-input.d.ts +73 -0
  221. package/dist/types/shared/package-runtime/options.d.cts +25 -5
  222. package/dist/types/shared/package-runtime/options.d.ts +25 -5
  223. package/dist/types/shared/package-runtime/pagination.d.cts +12 -0
  224. package/dist/types/shared/package-runtime/pagination.d.ts +12 -0
  225. package/dist/types/shared/package-runtime/press-repeat.d.cts +13 -0
  226. package/dist/types/shared/package-runtime/press-repeat.d.ts +13 -0
  227. package/dist/types/shared/package-runtime/progress-circle.d.cts +5 -0
  228. package/dist/types/shared/package-runtime/progress-circle.d.ts +5 -0
  229. package/dist/types/shared/package-runtime/progress-marker.d.cts +7 -0
  230. package/dist/types/shared/package-runtime/progress-marker.d.ts +7 -0
  231. package/dist/types/shared/package-runtime/progress-tone.d.cts +6 -0
  232. package/dist/types/shared/package-runtime/progress-tone.d.ts +6 -0
  233. package/dist/types/shared/package-runtime/select-trigger.d.cts +23 -0
  234. package/dist/types/shared/package-runtime/select-trigger.d.ts +23 -0
  235. package/dist/types/shared/package-runtime/sheet-drag.d.cts +24 -0
  236. package/dist/types/shared/package-runtime/sheet-drag.d.ts +24 -0
  237. package/dist/types/shared/package-runtime/side-navigation-keys.d.cts +23 -0
  238. package/dist/types/shared/package-runtime/side-navigation-keys.d.ts +23 -0
  239. package/dist/types/shared/package-runtime/side-navigation-layout.d.cts +24 -0
  240. package/dist/types/shared/package-runtime/side-navigation-layout.d.ts +24 -0
  241. package/dist/types/shared/package-runtime/side-navigation-scroll.d.cts +7 -0
  242. package/dist/types/shared/package-runtime/side-navigation-scroll.d.ts +7 -0
  243. package/dist/types/shared/package-runtime/side-navigation.d.cts +277 -0
  244. package/dist/types/shared/package-runtime/side-navigation.d.ts +277 -0
  245. package/dist/types/shared/package-runtime/signed-number.d.cts +33 -0
  246. package/dist/types/shared/package-runtime/signed-number.d.ts +33 -0
  247. package/dist/types/shared/package-runtime/skeleton-text.d.cts +4 -0
  248. package/dist/types/shared/package-runtime/skeleton-text.d.ts +4 -0
  249. package/dist/types/shared/package-runtime/slider-view.d.cts +17 -2
  250. package/dist/types/shared/package-runtime/slider-view.d.ts +17 -2
  251. package/dist/types/shared/package-runtime/sparkline.d.cts +8 -4
  252. package/dist/types/shared/package-runtime/sparkline.d.ts +8 -4
  253. package/dist/types/shared/package-runtime/spinner-geometry.d.cts +14 -0
  254. package/dist/types/shared/package-runtime/spinner-geometry.d.ts +14 -0
  255. package/dist/types/shared/package-runtime/split-pane.d.cts +40 -1
  256. package/dist/types/shared/package-runtime/split-pane.d.ts +40 -1
  257. package/dist/types/shared/package-runtime/steps.d.cts +51 -0
  258. package/dist/types/shared/package-runtime/steps.d.ts +51 -0
  259. package/dist/types/shared/package-runtime/tab-keyboard.d.cts +6 -0
  260. package/dist/types/shared/package-runtime/tab-keyboard.d.ts +6 -0
  261. package/dist/types/shared/package-runtime/table-columns.d.cts +8 -0
  262. package/dist/types/shared/package-runtime/table-columns.d.ts +8 -0
  263. package/dist/types/shared/package-runtime/table-model.d.cts +23 -3
  264. package/dist/types/shared/package-runtime/table-model.d.ts +23 -3
  265. package/dist/types/shared/package-runtime/table-presentation.d.cts +12 -2
  266. package/dist/types/shared/package-runtime/table-presentation.d.ts +12 -2
  267. package/dist/types/shared/package-runtime/table.d.cts +17 -2
  268. package/dist/types/shared/package-runtime/table.d.ts +17 -2
  269. package/dist/types/shared/package-runtime/textarea.d.cts +6 -4
  270. package/dist/types/shared/package-runtime/textarea.d.ts +6 -4
  271. package/dist/types/shared/package-runtime/tiles-children.d.cts +7 -0
  272. package/dist/types/shared/package-runtime/tiles-children.d.ts +7 -0
  273. package/dist/types/shared/package-runtime/tiles.d.cts +18 -0
  274. package/dist/types/shared/package-runtime/tiles.d.ts +18 -0
  275. package/dist/types/shared/package-runtime/time-segments.d.cts +24 -0
  276. package/dist/types/shared/package-runtime/time-segments.d.ts +24 -0
  277. package/dist/types/shared/package-runtime/time-wheel.d.cts +54 -0
  278. package/dist/types/shared/package-runtime/time-wheel.d.ts +54 -0
  279. package/dist/types/shared/package-runtime/trailing-overflow.d.cts +1 -0
  280. package/dist/types/shared/package-runtime/trailing-overflow.d.ts +1 -0
  281. package/dist/types/shared/package-runtime/use-color-picker.d.cts +3 -0
  282. package/dist/types/shared/package-runtime/use-color-picker.d.ts +3 -0
  283. package/dist/types/shared/package-runtime/use-copy-feedback.d.cts +10 -0
  284. package/dist/types/shared/package-runtime/use-copy-feedback.d.ts +10 -0
  285. package/dist/types/shared/package-runtime/use-open-state.d.cts +5 -0
  286. package/dist/types/shared/package-runtime/use-open-state.d.ts +5 -0
  287. package/dist/types/shared/package-runtime/use-pending-action.d.cts +6 -0
  288. package/dist/types/shared/package-runtime/use-pending-action.d.ts +6 -0
  289. package/dist/types/shared/package-runtime/use-side-navigation-state.d.cts +25 -0
  290. package/dist/types/shared/package-runtime/use-side-navigation-state.d.ts +25 -0
  291. package/dist/types/shared/package-runtime/use-slide.d.cts +3 -0
  292. package/dist/types/shared/package-runtime/use-slide.d.ts +3 -0
  293. package/package.json +3 -3
  294. package/dist/types/packages/react/src/compound-control.d.cts +0 -1
  295. package/dist/types/packages/react/src/compound-control.d.ts +0 -1
  296. package/dist/types/shared/package-runtime/center-option.d.cts +0 -1
  297. package/dist/types/shared/package-runtime/center-option.d.ts +0 -1
@@ -4,6 +4,8 @@ export interface KjunFabProps extends Omit<ButtonHTMLAttributes<HTMLButtonElemen
4
4
  icon: string;
5
5
  /** Visible text beside the icon; the circle becomes a capsule of the same height. */
6
6
  label?: string;
7
+ /** Folds a labelled FAB back into its circle (e.g. while the page scrolls); the label stays its name. */
8
+ collapsed?: boolean;
7
9
  /** The accessible name. Required without a label, since the icon alone says nothing. */
8
10
  ariaLabel?: string;
9
11
  /** "md" (default) is 56, "sm" is 48. Both take a label, loading and every state. */
@@ -0,0 +1,23 @@
1
+ import type { KjunMessages } from "../../../shared/package-runtime/messages/index.cjs";
2
+ import { type KjunUploadFile } from "../../../shared/package-runtime/file-upload.cjs";
3
+ export interface FileUploadRowProps {
4
+ file: KjunUploadFile;
5
+ m: KjunMessages;
6
+ intl?: string;
7
+ disabled: boolean;
8
+ onRemove?: (id: string) => void;
9
+ onRetry?: (id: string) => void;
10
+ /** Single-file mode: opens the picker to replace this file. */
11
+ onReplace?: () => void;
12
+ }
13
+ /** One file: thumbnail, middle-truncated name, size and status in words, a bar while uploading, then its actions. */
14
+ export declare function FileUploadRow({ file, m, intl, disabled, onRemove, onRetry, onReplace }: FileUploadRowProps): import("react/jsx-runtime").JSX.Element;
15
+ export interface FileUploadTileProps {
16
+ file: KjunUploadFile;
17
+ m: KjunMessages;
18
+ disabled: boolean;
19
+ onRemove?: (id: string) => void;
20
+ onRetry?: (id: string) => void;
21
+ }
22
+ /** layout="grid": a square tile with the preview, a bar while uploading, a fill and retry when failed, × at the corner. */
23
+ export declare function FileUploadTile({ file, m, disabled, onRemove, onRetry }: FileUploadTileProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,23 @@
1
+ import type { KjunMessages } from "../../../shared/package-runtime/messages/index.js";
2
+ import { type KjunUploadFile } from "../../../shared/package-runtime/file-upload.js";
3
+ export interface FileUploadRowProps {
4
+ file: KjunUploadFile;
5
+ m: KjunMessages;
6
+ intl?: string;
7
+ disabled: boolean;
8
+ onRemove?: (id: string) => void;
9
+ onRetry?: (id: string) => void;
10
+ /** Single-file mode: opens the picker to replace this file. */
11
+ onReplace?: () => void;
12
+ }
13
+ /** One file: thumbnail, middle-truncated name, size and status in words, a bar while uploading, then its actions. */
14
+ export declare function FileUploadRow({ file, m, intl, disabled, onRemove, onRetry, onReplace }: FileUploadRowProps): import("react/jsx-runtime").JSX.Element;
15
+ export interface FileUploadTileProps {
16
+ file: KjunUploadFile;
17
+ m: KjunMessages;
18
+ disabled: boolean;
19
+ onRemove?: (id: string) => void;
20
+ onRetry?: (id: string) => void;
21
+ }
22
+ /** layout="grid": a square tile with the preview, a bar while uploading, a fill and retry when failed, × at the corner. */
23
+ export declare function FileUploadTile({ file, m, disabled, onRemove, onRetry }: FileUploadTileProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,38 @@
1
+ import { type CSSProperties } from "react";
2
+ import { type KjunRejectedFile, type KjunUploadFile, type KjunUploadLayout, type KjunUploadSize, type KjunUploadTrigger } from "../../../shared/package-runtime/file-upload.cjs";
3
+ export type { KjunUploadFile, KjunUploadStatus, KjunRejectedFile, KjunRejectReason, KjunUploadSize, KjunUploadTrigger, KjunUploadLayout, } from "../../../shared/package-runtime/file-upload.cjs";
4
+ export interface KjunFileUploadProps {
5
+ /** The app's files. Empty shows the pick zone; any file folds it into a list with an add row. */
6
+ files?: KjunUploadFile[];
7
+ /** <input accept> rules such as ".pdf,image/*". Also lists the allowed types in the hint. */
8
+ accept?: string;
9
+ /** Largest file in bytes. */
10
+ maxSize?: number;
11
+ maxFiles?: number;
12
+ /** false: one file; a new pick replaces it. */
13
+ multiple?: boolean;
14
+ disabled?: boolean;
15
+ /** Second line of the zone; built from accept, maxSize and maxFiles when left out. */
16
+ hint?: string;
17
+ /** "compact": the empty field is the one-line add row (80px card) instead of the tall zone. */
18
+ size?: KjunUploadSize;
19
+ /** "button": a "Choose files" button at the end of a text line picks instead of a pressable area; drops still land on the card. */
20
+ trigger?: KjunUploadTrigger;
21
+ /** "grid": files show as square tiles (photos) with an add tile, instead of rows. */
22
+ layout?: KjunUploadLayout;
23
+ /** Picks that passed the pre-screen, and the ones that did not. The app adds `accepted` to `files` and uploads them. */
24
+ onSelect: (accepted: File[], rejected: KjunRejectedFile<File>[]) => void;
25
+ /** The × on a row: cancels a waiting or uploading file, removes a finished one. Server-side deletion is the app's call. */
26
+ onRemove?: (id: string) => void;
27
+ /** Retry on a failed row; the head's retry calls it for each failed row. */
28
+ onRetry?: (id: string) => void;
29
+ /** Id of the hidden file input, for an outside <label for>; defaults to the FormGroup's id. */
30
+ id?: string;
31
+ className?: string;
32
+ style?: CSSProperties;
33
+ /** Names the field when no FormGroup label does. */
34
+ ariaLabel?: string;
35
+ /** Extra description ids, merged with the FormGroup's hint and error. */
36
+ ariaDescribedBy?: string;
37
+ }
38
+ export declare function KjunFileUpload({ files, accept, maxSize, maxFiles, multiple, disabled, hint, size, trigger, layout, onSelect, onRemove, onRetry, id, className, style, ariaLabel, ariaDescribedBy, }: KjunFileUploadProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,38 @@
1
+ import { type CSSProperties } from "react";
2
+ import { type KjunRejectedFile, type KjunUploadFile, type KjunUploadLayout, type KjunUploadSize, type KjunUploadTrigger } from "../../../shared/package-runtime/file-upload.js";
3
+ export type { KjunUploadFile, KjunUploadStatus, KjunRejectedFile, KjunRejectReason, KjunUploadSize, KjunUploadTrigger, KjunUploadLayout, } from "../../../shared/package-runtime/file-upload.js";
4
+ export interface KjunFileUploadProps {
5
+ /** The app's files. Empty shows the pick zone; any file folds it into a list with an add row. */
6
+ files?: KjunUploadFile[];
7
+ /** <input accept> rules such as ".pdf,image/*". Also lists the allowed types in the hint. */
8
+ accept?: string;
9
+ /** Largest file in bytes. */
10
+ maxSize?: number;
11
+ maxFiles?: number;
12
+ /** false: one file; a new pick replaces it. */
13
+ multiple?: boolean;
14
+ disabled?: boolean;
15
+ /** Second line of the zone; built from accept, maxSize and maxFiles when left out. */
16
+ hint?: string;
17
+ /** "compact": the empty field is the one-line add row (80px card) instead of the tall zone. */
18
+ size?: KjunUploadSize;
19
+ /** "button": a "Choose files" button at the end of a text line picks instead of a pressable area; drops still land on the card. */
20
+ trigger?: KjunUploadTrigger;
21
+ /** "grid": files show as square tiles (photos) with an add tile, instead of rows. */
22
+ layout?: KjunUploadLayout;
23
+ /** Picks that passed the pre-screen, and the ones that did not. The app adds `accepted` to `files` and uploads them. */
24
+ onSelect: (accepted: File[], rejected: KjunRejectedFile<File>[]) => void;
25
+ /** The × on a row: cancels a waiting or uploading file, removes a finished one. Server-side deletion is the app's call. */
26
+ onRemove?: (id: string) => void;
27
+ /** Retry on a failed row; the head's retry calls it for each failed row. */
28
+ onRetry?: (id: string) => void;
29
+ /** Id of the hidden file input, for an outside <label for>; defaults to the FormGroup's id. */
30
+ id?: string;
31
+ className?: string;
32
+ style?: CSSProperties;
33
+ /** Names the field when no FormGroup label does. */
34
+ ariaLabel?: string;
35
+ /** Extra description ids, merged with the FormGroup's hint and error. */
36
+ ariaDescribedBy?: string;
37
+ }
38
+ export declare function KjunFileUpload({ files, accept, maxSize, maxFiles, multiple, disabled, hint, size, trigger, layout, onSelect, onRemove, onRetry, id, className, style, ariaLabel, ariaDescribedBy, }: KjunFileUploadProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,6 @@
1
- import { type ReactNode } from "react";
1
+ import { type SparklineData } from "../../../shared/package-runtime/sparkline.cjs";
2
+ import { type HeatCellColor, type HeatCellMode, type ProgressCellColor } from "../../../shared/package-runtime/data-cells.cjs";
3
+ import { type CSSProperties, type ReactNode } from "react";
2
4
  import { type DisplaySize } from "./display.cjs";
3
5
  export interface KjunDeviationProps {
4
6
  value?: number | null;
@@ -9,29 +11,43 @@ export interface KjunDeviationProps {
9
11
  }
10
12
  export declare function KjunDeviation({ value, variant, signalThreshold, decimals, formatter, }: KjunDeviationProps): import("react/jsx-runtime").JSX.Element;
11
13
  export interface KjunHeatmapCellProps {
12
- value?: number;
14
+ /** null or a number that is not finite shows a dash on no fill. */
15
+ value?: number | null;
13
16
  min?: number;
14
17
  max?: number;
15
- mode?: "diverging" | "sequential" | "price";
16
- color?: "brand" | "success" | "danger" | "warning";
18
+ /** Where diverging and price cells change side (default the middle of min and max). Both sides share one scale. */
19
+ center?: number;
20
+ mode?: HeatCellMode;
21
+ color?: HeatCellColor;
17
22
  children?: ReactNode;
18
23
  }
19
- export declare function KjunHeatmapCell({ value, min, max, mode, color, children, }: KjunHeatmapCellProps): import("react/jsx-runtime").JSX.Element;
24
+ export declare function KjunHeatmapCell({ value, min, max, center, mode, color, children, }: KjunHeatmapCellProps): import("react/jsx-runtime").JSX.Element;
20
25
  export interface KjunProgressCellProps {
21
26
  value?: number;
22
27
  max?: number;
23
28
  showLabel?: boolean;
24
- color?: "auto" | "brand" | "success" | "danger" | "warning" | "custom";
29
+ /** "custom" (or customColor alone) takes customColor; without one "custom" falls back to the auto colours. */
30
+ color?: ProgressCellColor;
25
31
  customColor?: string;
26
32
  height?: number;
33
+ /** Shown and read in place of the rounded percent, e.g. "12/20건"; the bar's length still comes from value and max. */
34
+ valueText?: string;
35
+ /** The bar's name for screen readers, e.g. the row's name ("A팀 진척"). */
36
+ ariaLabel?: string;
37
+ /** A reference point across the bar on the value's own scale (0 to max), such as today's share of a budget. */
38
+ marker?: number;
39
+ /** Read by screen readers as the bar's description, e.g. "오늘 기준 53%". */
40
+ markerLabel?: string;
27
41
  }
28
- export declare function KjunProgressCell({ value, max, showLabel, color, customColor, height, }: KjunProgressCellProps): import("react/jsx-runtime").JSX.Element;
42
+ export declare function KjunProgressCell({ value, max, showLabel, color, customColor, height, valueText, ariaLabel, marker, markerLabel, }: KjunProgressCellProps): import("react/jsx-runtime").JSX.Element;
29
43
  export interface KjunCollectionMarkProps {
30
44
  kind: "favorite" | "interest";
31
45
  active?: boolean;
32
46
  size?: "sm" | "md" | "lg";
47
+ /** What an active mark says to a screen reader (default "즐겨찾기" or "관심"). An inactive mark stays hidden. */
48
+ label?: string;
33
49
  }
34
- export declare function KjunCollectionMark({ kind, active, size, }: KjunCollectionMarkProps): import("react/jsx-runtime").JSX.Element;
50
+ export declare function KjunCollectionMark({ kind, active, size, label, }: KjunCollectionMarkProps): import("react/jsx-runtime").JSX.Element;
35
51
  export declare const executionStates: {
36
52
  readonly queued: readonly [
37
53
  "secondary",
@@ -73,12 +89,13 @@ export interface KjunExecutionStatusBadgeProps {
73
89
  }
74
90
  export declare function KjunExecutionStatusBadge({ status, label, size, }: KjunExecutionStatusBadgeProps): import("react/jsx-runtime").JSX.Element;
75
91
  export interface KjunSparklineProps {
76
- data?: number[];
92
+ /** Values in time order. null, undefined and non-finite numbers are gaps: the line breaks there. */
93
+ data?: SparklineData;
77
94
  width?: number;
78
95
  height?: number;
79
96
  color?: string;
80
97
  semantic?: "price" | "status";
81
- /** "line" (default) draws the trend; "bar" draws each value as a bar from the baseline (or zero), values below it hanging down; the last bar takes the direction color. */
98
+ /** "line" (default) draws the trend; "bar" draws each value as a bar from the baseline (or zero), values below it hanging down; the last bar takes the direction color and the others stay quiet. */
82
99
  variant?: "line" | "bar";
83
100
  fill?: boolean;
84
101
  strokeWidth?: number;
@@ -90,6 +107,10 @@ export interface KjunSparklineProps {
90
107
  max?: number;
91
108
  /** Marks the last value with a dot (line variant; default true). */
92
109
  endDot?: boolean;
110
+ /** Names the chart for screen readers; without it the chart is decorative. With no data, the no-data message follows it. */
93
111
  ariaLabel?: string;
112
+ className?: string;
113
+ style?: CSSProperties;
114
+ id?: string;
94
115
  }
95
- export declare function KjunSparkline({ data, width, height, color, semantic, variant, fill, strokeWidth, stretch, baseline, min, max, endDot, ariaLabel, }: KjunSparklineProps): import("react/jsx-runtime").JSX.Element;
116
+ export declare function KjunSparkline({ data, width, height, color, semantic, variant, fill, strokeWidth, stretch, baseline, min, max, endDot, ariaLabel, className, style, id, }: KjunSparklineProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,6 @@
1
- import { type ReactNode } from "react";
1
+ import { type SparklineData } from "../../../shared/package-runtime/sparkline.js";
2
+ import { type HeatCellColor, type HeatCellMode, type ProgressCellColor } from "../../../shared/package-runtime/data-cells.js";
3
+ import { type CSSProperties, type ReactNode } from "react";
2
4
  import { type DisplaySize } from "./display.js";
3
5
  export interface KjunDeviationProps {
4
6
  value?: number | null;
@@ -9,29 +11,43 @@ export interface KjunDeviationProps {
9
11
  }
10
12
  export declare function KjunDeviation({ value, variant, signalThreshold, decimals, formatter, }: KjunDeviationProps): import("react/jsx-runtime").JSX.Element;
11
13
  export interface KjunHeatmapCellProps {
12
- value?: number;
14
+ /** null or a number that is not finite shows a dash on no fill. */
15
+ value?: number | null;
13
16
  min?: number;
14
17
  max?: number;
15
- mode?: "diverging" | "sequential" | "price";
16
- color?: "brand" | "success" | "danger" | "warning";
18
+ /** Where diverging and price cells change side (default the middle of min and max). Both sides share one scale. */
19
+ center?: number;
20
+ mode?: HeatCellMode;
21
+ color?: HeatCellColor;
17
22
  children?: ReactNode;
18
23
  }
19
- export declare function KjunHeatmapCell({ value, min, max, mode, color, children, }: KjunHeatmapCellProps): import("react/jsx-runtime").JSX.Element;
24
+ export declare function KjunHeatmapCell({ value, min, max, center, mode, color, children, }: KjunHeatmapCellProps): import("react/jsx-runtime").JSX.Element;
20
25
  export interface KjunProgressCellProps {
21
26
  value?: number;
22
27
  max?: number;
23
28
  showLabel?: boolean;
24
- color?: "auto" | "brand" | "success" | "danger" | "warning" | "custom";
29
+ /** "custom" (or customColor alone) takes customColor; without one "custom" falls back to the auto colours. */
30
+ color?: ProgressCellColor;
25
31
  customColor?: string;
26
32
  height?: number;
33
+ /** Shown and read in place of the rounded percent, e.g. "12/20건"; the bar's length still comes from value and max. */
34
+ valueText?: string;
35
+ /** The bar's name for screen readers, e.g. the row's name ("A팀 진척"). */
36
+ ariaLabel?: string;
37
+ /** A reference point across the bar on the value's own scale (0 to max), such as today's share of a budget. */
38
+ marker?: number;
39
+ /** Read by screen readers as the bar's description, e.g. "오늘 기준 53%". */
40
+ markerLabel?: string;
27
41
  }
28
- export declare function KjunProgressCell({ value, max, showLabel, color, customColor, height, }: KjunProgressCellProps): import("react/jsx-runtime").JSX.Element;
42
+ export declare function KjunProgressCell({ value, max, showLabel, color, customColor, height, valueText, ariaLabel, marker, markerLabel, }: KjunProgressCellProps): import("react/jsx-runtime").JSX.Element;
29
43
  export interface KjunCollectionMarkProps {
30
44
  kind: "favorite" | "interest";
31
45
  active?: boolean;
32
46
  size?: "sm" | "md" | "lg";
47
+ /** What an active mark says to a screen reader (default "즐겨찾기" or "관심"). An inactive mark stays hidden. */
48
+ label?: string;
33
49
  }
34
- export declare function KjunCollectionMark({ kind, active, size, }: KjunCollectionMarkProps): import("react/jsx-runtime").JSX.Element;
50
+ export declare function KjunCollectionMark({ kind, active, size, label, }: KjunCollectionMarkProps): import("react/jsx-runtime").JSX.Element;
35
51
  export declare const executionStates: {
36
52
  readonly queued: readonly [
37
53
  "secondary",
@@ -73,12 +89,13 @@ export interface KjunExecutionStatusBadgeProps {
73
89
  }
74
90
  export declare function KjunExecutionStatusBadge({ status, label, size, }: KjunExecutionStatusBadgeProps): import("react/jsx-runtime").JSX.Element;
75
91
  export interface KjunSparklineProps {
76
- data?: number[];
92
+ /** Values in time order. null, undefined and non-finite numbers are gaps: the line breaks there. */
93
+ data?: SparklineData;
77
94
  width?: number;
78
95
  height?: number;
79
96
  color?: string;
80
97
  semantic?: "price" | "status";
81
- /** "line" (default) draws the trend; "bar" draws each value as a bar from the baseline (or zero), values below it hanging down; the last bar takes the direction color. */
98
+ /** "line" (default) draws the trend; "bar" draws each value as a bar from the baseline (or zero), values below it hanging down; the last bar takes the direction color and the others stay quiet. */
82
99
  variant?: "line" | "bar";
83
100
  fill?: boolean;
84
101
  strokeWidth?: number;
@@ -90,6 +107,10 @@ export interface KjunSparklineProps {
90
107
  max?: number;
91
108
  /** Marks the last value with a dot (line variant; default true). */
92
109
  endDot?: boolean;
110
+ /** Names the chart for screen readers; without it the chart is decorative. With no data, the no-data message follows it. */
93
111
  ariaLabel?: string;
112
+ className?: string;
113
+ style?: CSSProperties;
114
+ id?: string;
94
115
  }
95
- export declare function KjunSparkline({ data, width, height, color, semantic, variant, fill, strokeWidth, stretch, baseline, min, max, endDot, ariaLabel, }: KjunSparklineProps): import("react/jsx-runtime").JSX.Element;
116
+ export declare function KjunSparkline({ data, width, height, color, semantic, variant, fill, strokeWidth, stretch, baseline, min, max, endDot, ariaLabel, className, style, id, }: KjunSparklineProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { type CSSProperties, type ReactNode, type RefObject } from "react";
2
- export type Placement = "top" | "bottom" | "left" | "right" | "bottom-start" | "bottom-end" | "top-start" | "top-end";
3
- export declare function FloatingPanel({ open, onOpenChange, triggerRef, children, placement, className, matchTriggerWidth, maxHeight, field, flip, nonModal, ownsDismiss, returnFocus, repositionKey, inside, }: {
2
+ export type Placement = "top" | "bottom" | "left" | "right" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
3
+ export declare function FloatingPanel({ open, onOpenChange, triggerRef, children, placement, className, matchTriggerWidth, maxHeight, field, flip, nonModal, ownsDismiss, returnFocus, repositionKey, inside, labelledBy, ariaLabel, }: {
4
4
  open: boolean;
5
5
  onOpenChange: (v: boolean) => void;
6
6
  triggerRef: RefObject<HTMLElement | null>;
@@ -19,6 +19,10 @@ export declare function FloatingPanel({ open, onOpenChange, triggerRef, children
19
19
  repositionKey?: number;
20
20
  /** Another element that counts as inside (an anchored Popover's trigger area): pressing it is not an outside press. */
21
21
  inside?: RefObject<HTMLElement | null>;
22
+ /** The id of the element that names the panel when it is a dialog. */
23
+ labelledBy?: string;
24
+ /** The panel dialog's name when no element names it. */
25
+ ariaLabel?: string;
22
26
  }): import("react/jsx-runtime").JSX.Element | null;
23
27
  /** A focus target given as an element, a ref or a function read when the panel closes. */
24
28
  export type FocusReturn = HTMLElement | RefObject<HTMLElement | null> | (() => HTMLElement | null);
@@ -1,6 +1,6 @@
1
1
  import { type CSSProperties, type ReactNode, type RefObject } from "react";
2
- export type Placement = "top" | "bottom" | "left" | "right" | "bottom-start" | "bottom-end" | "top-start" | "top-end";
3
- export declare function FloatingPanel({ open, onOpenChange, triggerRef, children, placement, className, matchTriggerWidth, maxHeight, field, flip, nonModal, ownsDismiss, returnFocus, repositionKey, inside, }: {
2
+ export type Placement = "top" | "bottom" | "left" | "right" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
3
+ export declare function FloatingPanel({ open, onOpenChange, triggerRef, children, placement, className, matchTriggerWidth, maxHeight, field, flip, nonModal, ownsDismiss, returnFocus, repositionKey, inside, labelledBy, ariaLabel, }: {
4
4
  open: boolean;
5
5
  onOpenChange: (v: boolean) => void;
6
6
  triggerRef: RefObject<HTMLElement | null>;
@@ -19,6 +19,10 @@ export declare function FloatingPanel({ open, onOpenChange, triggerRef, children
19
19
  repositionKey?: number;
20
20
  /** Another element that counts as inside (an anchored Popover's trigger area): pressing it is not an outside press. */
21
21
  inside?: RefObject<HTMLElement | null>;
22
+ /** The id of the element that names the panel when it is a dialog. */
23
+ labelledBy?: string;
24
+ /** The panel dialog's name when no element names it. */
25
+ ariaLabel?: string;
22
26
  }): import("react/jsx-runtime").JSX.Element | null;
23
27
  /** A focus target given as an element, a ref or a function read when the panel closes. */
24
28
  export type FocusReturn = HTMLElement | RefObject<HTMLElement | null> | (() => HTMLElement | null);
@@ -10,6 +10,7 @@ export type { KjunModalProps, KjunFormActionsProps } from "./modal.cjs";
10
10
  export type { KjunColors, KjunDomainColors, ColorRole, DomainColorRole, ButtonSize, InputSize, ButtonVariant, } from "@kjun-ui/tokens";
11
11
  export * from "./display.cjs";
12
12
  export * from "./layout-primitives.cjs";
13
+ export * from "./tiles.cjs";
13
14
  export * from "./feedback.cjs";
14
15
  export * from "./controls.cjs";
15
16
  export { KjunPopover, KjunTooltip, KjunDropdown, KjunDropdownItem, KjunDropdownDivider, KjunDropdownSection, KjunDropdownSubmenu, KjunMenuButton, KjunDrawer, } from "./layers.cjs";
@@ -21,12 +22,16 @@ export { KjunIconToggle, KjunCopyButton, KjunRefreshButton, KjunExternalLink, Kj
21
22
  export type { KjunIconToggleProps, KjunCopyButtonProps, KjunRefreshButtonProps, KjunExternalLinkProps, } from "./actions.cjs";
22
23
  export { KjunCarousel } from "./carousel.cjs";
23
24
  export { KjunColorPicker, type KjunColorPickerProps, type KjunColorSwatch } from "./color-picker.cjs";
25
+ export { KjunFileUpload, type KjunFileUploadProps, type KjunUploadFile, type KjunUploadStatus, type KjunRejectedFile, type KjunRejectReason, type KjunUploadSize, type KjunUploadTrigger, type KjunUploadLayout } from "./file-upload.cjs";
24
26
  export type { KjunCarouselProps } from "./carousel.cjs";
27
+ export { KjunSteps, type KjunStepsProps, type KjunStepItem, type KjunStepStatus, type KjunStepsCurrentStatus, type KjunStepsLayout, type KjunStepsSelectable } from "./steps.cjs";
28
+ export { KjunEventCalendar, type KjunEventCalendarProps, type DayMarks, type DaySpan, type HolidayTest } from "./event-calendar.cjs";
29
+ export { kjunCalendarPeriod } from "../../../shared/package-runtime/event-calendar.cjs";
25
30
  export { KjunSplitPane, type KjunSplitPaneProps } from "./split-pane.cjs";
26
31
  export { KjunZoneGauge, type KjunZoneGaugeProps, type KjunGaugeZone } from "./zone-gauge.cjs";
27
32
  export { KjunStackedBar, type KjunStackedBarProps, type KjunStackedBarItem } from "./stacked-bar.cjs";
28
33
  export { KjunDataState, KjunErrorBoundary } from "./data-state.cjs";
29
- export type { KjunDataStateProps, KjunErrorBoundaryProps } from "./data-state.cjs";
34
+ export type { KjunDataStateProps, KjunErrorBoundaryProps, KjunErrorFallbackProps } from "./data-state.cjs";
30
35
  export * from "./skeletons.cjs";
31
36
  export { KjunAnimatedNumber, KjunPriceCell, KjunSignedValue, KjunDeviation, KjunHeatmapCell, KjunProgressCell, KjunCollectionMark, KjunExecutionStatusBadge, KjunSparkline, } from "./financial.cjs";
32
37
  export type { KjunAnimatedNumberProps, KjunPriceCellProps, KjunSignedValueProps, KjunDeviationProps, KjunHeatmapCellProps, KjunProgressCellProps, KjunCollectionMarkProps, KjunExecutionStatusBadgeProps, KjunSparklineProps, } from "./financial.cjs";
@@ -38,11 +43,17 @@ export { KjunMarketCards, KjunMarketSimpleList, KjunMarketTable, KjunMarketListP
38
43
  export type { KjunMarketCardsProps, KjunMarketSimpleListProps, KjunMarketTableProps, MarketBaseProps, MarketColumn, MarketMetric, MarketPagination, MarketFormatter, } from "./market.cjs";
39
44
  export * from "./list.cjs";
40
45
  export * from "./app-navigation.cjs";
46
+ export * from "./side-navigation.cjs";
47
+ export * from "./side-navigation-layout.cjs";
48
+ export * from "./pressable.cjs";
41
49
  export * from "./media.cjs";
50
+ export * from "./avatar-group.cjs";
42
51
  export * from "./chip.cjs";
43
52
  export * from "./fab.cjs";
44
53
  export * from "./range-input.cjs";
45
54
  export * from "./quantity-stepper.cjs";
55
+ export { KjunNumberInput } from "./number-input.cjs";
56
+ export type { KjunNumberInputProps } from "./number-input.cjs";
46
57
  export * from "./time-picker.cjs";
47
58
  export type { ShadowLayer, ElevationRole, CardElevation } from "@kjun-ui/tokens";
48
59
  export { kjunMessagesKo, kjunMessagesEn, type KjunMessages } from "../../../shared/package-runtime/messages/index.cjs";
@@ -10,6 +10,7 @@ export type { KjunModalProps, KjunFormActionsProps } from "./modal.js";
10
10
  export type { KjunColors, KjunDomainColors, ColorRole, DomainColorRole, ButtonSize, InputSize, ButtonVariant, } from "@kjun-ui/tokens";
11
11
  export * from "./display.js";
12
12
  export * from "./layout-primitives.js";
13
+ export * from "./tiles.js";
13
14
  export * from "./feedback.js";
14
15
  export * from "./controls.js";
15
16
  export { KjunPopover, KjunTooltip, KjunDropdown, KjunDropdownItem, KjunDropdownDivider, KjunDropdownSection, KjunDropdownSubmenu, KjunMenuButton, KjunDrawer, } from "./layers.js";
@@ -21,12 +22,16 @@ export { KjunIconToggle, KjunCopyButton, KjunRefreshButton, KjunExternalLink, Kj
21
22
  export type { KjunIconToggleProps, KjunCopyButtonProps, KjunRefreshButtonProps, KjunExternalLinkProps, } from "./actions.js";
22
23
  export { KjunCarousel } from "./carousel.js";
23
24
  export { KjunColorPicker, type KjunColorPickerProps, type KjunColorSwatch } from "./color-picker.js";
25
+ export { KjunFileUpload, type KjunFileUploadProps, type KjunUploadFile, type KjunUploadStatus, type KjunRejectedFile, type KjunRejectReason, type KjunUploadSize, type KjunUploadTrigger, type KjunUploadLayout } from "./file-upload.js";
24
26
  export type { KjunCarouselProps } from "./carousel.js";
27
+ export { KjunSteps, type KjunStepsProps, type KjunStepItem, type KjunStepStatus, type KjunStepsCurrentStatus, type KjunStepsLayout, type KjunStepsSelectable } from "./steps.js";
28
+ export { KjunEventCalendar, type KjunEventCalendarProps, type DayMarks, type DaySpan, type HolidayTest } from "./event-calendar.js";
29
+ export { kjunCalendarPeriod } from "../../../shared/package-runtime/event-calendar.js";
25
30
  export { KjunSplitPane, type KjunSplitPaneProps } from "./split-pane.js";
26
31
  export { KjunZoneGauge, type KjunZoneGaugeProps, type KjunGaugeZone } from "./zone-gauge.js";
27
32
  export { KjunStackedBar, type KjunStackedBarProps, type KjunStackedBarItem } from "./stacked-bar.js";
28
33
  export { KjunDataState, KjunErrorBoundary } from "./data-state.js";
29
- export type { KjunDataStateProps, KjunErrorBoundaryProps } from "./data-state.js";
34
+ export type { KjunDataStateProps, KjunErrorBoundaryProps, KjunErrorFallbackProps } from "./data-state.js";
30
35
  export * from "./skeletons.js";
31
36
  export { KjunAnimatedNumber, KjunPriceCell, KjunSignedValue, KjunDeviation, KjunHeatmapCell, KjunProgressCell, KjunCollectionMark, KjunExecutionStatusBadge, KjunSparkline, } from "./financial.js";
32
37
  export type { KjunAnimatedNumberProps, KjunPriceCellProps, KjunSignedValueProps, KjunDeviationProps, KjunHeatmapCellProps, KjunProgressCellProps, KjunCollectionMarkProps, KjunExecutionStatusBadgeProps, KjunSparklineProps, } from "./financial.js";
@@ -38,11 +43,17 @@ export { KjunMarketCards, KjunMarketSimpleList, KjunMarketTable, KjunMarketListP
38
43
  export type { KjunMarketCardsProps, KjunMarketSimpleListProps, KjunMarketTableProps, MarketBaseProps, MarketColumn, MarketMetric, MarketPagination, MarketFormatter, } from "./market.js";
39
44
  export * from "./list.js";
40
45
  export * from "./app-navigation.js";
46
+ export * from "./side-navigation.js";
47
+ export * from "./side-navigation-layout.js";
48
+ export * from "./pressable.js";
41
49
  export * from "./media.js";
50
+ export * from "./avatar-group.js";
42
51
  export * from "./chip.js";
43
52
  export * from "./fab.js";
44
53
  export * from "./range-input.js";
45
54
  export * from "./quantity-stepper.js";
55
+ export { KjunNumberInput } from "./number-input.js";
56
+ export type { KjunNumberInputProps } from "./number-input.js";
46
57
  export * from "./time-picker.js";
47
58
  export type { ShadowLayer, ElevationRole, CardElevation } from "@kjun-ui/tokens";
48
59
  export { kjunMessagesKo, kjunMessagesEn, type KjunMessages } from "../../../shared/package-runtime/messages/index.js";
@@ -1,4 +1,6 @@
1
1
  import { type InputSize } from "@kjun-ui/tokens";
2
+ import { type InputVariant } from "../../../shared/package-runtime/input-variant.cjs";
3
+ import { type FormGroupElement } from "../../../shared/package-runtime/field-group.cjs";
2
4
  import { type InputHTMLAttributes, type ReactNode } from "react";
3
5
  interface FieldContextValue {
4
6
  id: string;
@@ -8,9 +10,20 @@ interface FieldContextValue {
8
10
  required?: boolean;
9
11
  /** A control with its own id registers it so the group label points at it. */
10
12
  setControlId?: (id: string | undefined) => void;
13
+ /** A control's own message (NumberInput's range) shown in the group's error slot; "" clears it. The group's error wins. */
14
+ reportError?: (owner: string, message: string) => void;
15
+ /** Set by a fieldset FormGroup: the choice controls inside claim the group's id, and the owner wears it. */
16
+ group?: {
17
+ owner?: string;
18
+ claim: (key: string, disabled: boolean) => void;
19
+ release: (key: string) => void;
20
+ };
11
21
  }
12
22
  export declare const FieldContext: import("react").Context<FieldContextValue | null>;
13
23
  export declare const useKjunField: () => FieldContextValue | null;
24
+ /** In a fieldset FormGroup, the group's id for the first enabled choice control (field-group.ts), so app code can focus the
25
+ * group by that id; elsewhere, or when the control has its own id, the control's own id. */
26
+ export declare function useGroupFieldId(disabled: boolean, own?: string): string | undefined;
14
27
  export interface KjunFormGroupProps {
15
28
  label?: string;
16
29
  id?: string;
@@ -21,15 +34,28 @@ export interface KjunFormGroupProps {
21
34
  hint?: string;
22
35
  /** Hides the label visually while it still names the field. */
23
36
  labelHidden?: boolean;
37
+ /** Content at the end of the label row: a character count, or a small action such as "전액". Stays put when an error shows. */
38
+ labelEnd?: ReactNode;
39
+ /** Extra class on the group root, for placement in the page layout. */
40
+ className?: string;
41
+ /** "fieldset" groups several choices (checkboxes, radios, FilterGroup, ButtonGroup) under one name: the root is a fieldset
42
+ * whose legend is the label and which the hint or error describes, and the id goes to the first enabled choice. */
43
+ as?: FormGroupElement;
24
44
  children: ReactNode;
25
45
  }
26
- export declare function KjunFormGroup({ label, id, required, optional, error, hint, labelHidden, children, }: KjunFormGroupProps): import("react/jsx-runtime").JSX.Element;
46
+ export declare function KjunFormGroup({ label, id, required, optional, error, hint, labelHidden, labelEnd, className, as, children, }: KjunFormGroupProps): import("react/jsx-runtime").JSX.Element;
27
47
  export interface KjunInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "prefix" | "value" | "defaultValue"> {
28
48
  size?: InputSize;
49
+ /** "plain" drops the surface, side border and side inset for text edited in place, such as a document title. */
50
+ variant?: InputVariant;
29
51
  value: string | number;
30
52
  error?: boolean;
31
53
  errorMessage?: string;
32
54
  clearable?: boolean;
55
+ /** With type="password", a 보기/숨기기 button at the end shows the typed password as text and hides it again. */
56
+ revealable?: boolean;
57
+ /** Shows the character count at the end of the field, as "length/maxLength" when maxLength is set; a longer value reads as an error. */
58
+ showCount?: boolean;
33
59
  prefixIcon?: string;
34
60
  suffixIcon?: string;
35
61
  prefix?: ReactNode;
@@ -1,4 +1,6 @@
1
1
  import { type InputSize } from "@kjun-ui/tokens";
2
+ import { type InputVariant } from "../../../shared/package-runtime/input-variant.js";
3
+ import { type FormGroupElement } from "../../../shared/package-runtime/field-group.js";
2
4
  import { type InputHTMLAttributes, type ReactNode } from "react";
3
5
  interface FieldContextValue {
4
6
  id: string;
@@ -8,9 +10,20 @@ interface FieldContextValue {
8
10
  required?: boolean;
9
11
  /** A control with its own id registers it so the group label points at it. */
10
12
  setControlId?: (id: string | undefined) => void;
13
+ /** A control's own message (NumberInput's range) shown in the group's error slot; "" clears it. The group's error wins. */
14
+ reportError?: (owner: string, message: string) => void;
15
+ /** Set by a fieldset FormGroup: the choice controls inside claim the group's id, and the owner wears it. */
16
+ group?: {
17
+ owner?: string;
18
+ claim: (key: string, disabled: boolean) => void;
19
+ release: (key: string) => void;
20
+ };
11
21
  }
12
22
  export declare const FieldContext: import("react").Context<FieldContextValue | null>;
13
23
  export declare const useKjunField: () => FieldContextValue | null;
24
+ /** In a fieldset FormGroup, the group's id for the first enabled choice control (field-group.ts), so app code can focus the
25
+ * group by that id; elsewhere, or when the control has its own id, the control's own id. */
26
+ export declare function useGroupFieldId(disabled: boolean, own?: string): string | undefined;
14
27
  export interface KjunFormGroupProps {
15
28
  label?: string;
16
29
  id?: string;
@@ -21,15 +34,28 @@ export interface KjunFormGroupProps {
21
34
  hint?: string;
22
35
  /** Hides the label visually while it still names the field. */
23
36
  labelHidden?: boolean;
37
+ /** Content at the end of the label row: a character count, or a small action such as "전액". Stays put when an error shows. */
38
+ labelEnd?: ReactNode;
39
+ /** Extra class on the group root, for placement in the page layout. */
40
+ className?: string;
41
+ /** "fieldset" groups several choices (checkboxes, radios, FilterGroup, ButtonGroup) under one name: the root is a fieldset
42
+ * whose legend is the label and which the hint or error describes, and the id goes to the first enabled choice. */
43
+ as?: FormGroupElement;
24
44
  children: ReactNode;
25
45
  }
26
- export declare function KjunFormGroup({ label, id, required, optional, error, hint, labelHidden, children, }: KjunFormGroupProps): import("react/jsx-runtime").JSX.Element;
46
+ export declare function KjunFormGroup({ label, id, required, optional, error, hint, labelHidden, labelEnd, className, as, children, }: KjunFormGroupProps): import("react/jsx-runtime").JSX.Element;
27
47
  export interface KjunInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "prefix" | "value" | "defaultValue"> {
28
48
  size?: InputSize;
49
+ /** "plain" drops the surface, side border and side inset for text edited in place, such as a document title. */
50
+ variant?: InputVariant;
29
51
  value: string | number;
30
52
  error?: boolean;
31
53
  errorMessage?: string;
32
54
  clearable?: boolean;
55
+ /** With type="password", a 보기/숨기기 button at the end shows the typed password as text and hides it again. */
56
+ revealable?: boolean;
57
+ /** Shows the character count at the end of the field, as "length/maxLength" when maxLength is set; a longer value reads as an error. */
58
+ showCount?: boolean;
33
59
  prefixIcon?: string;
34
60
  suffixIcon?: string;
35
61
  prefix?: ReactNode;
@@ -40,6 +40,8 @@ export interface KjunKpiHeroProps {
40
40
  /** "none" drops the card background, padding and radius, for a KPI placed inside a card, modal or full-width list. */
41
41
  surface?: "card" | "none";
42
42
  aside?: ReactNode;
43
+ /** An app control after the label, such as a mask toggle or an info tooltip trigger; it keeps the label's line height. */
44
+ labelAside?: ReactNode;
43
45
  /** Narrow screens: "below" (default) moves the aside under the delta line at full width; "hidden" drops it. */
44
46
  asideMobile?: "below" | "hidden";
45
47
  /** Draws the direction as a filled caret before the first delta number, in place of its sign. */
@@ -40,6 +40,8 @@ export interface KjunKpiHeroProps {
40
40
  /** "none" drops the card background, padding and radius, for a KPI placed inside a card, modal or full-width list. */
41
41
  surface?: "card" | "none";
42
42
  aside?: ReactNode;
43
+ /** An app control after the label, such as a mask toggle or an info tooltip trigger; it keeps the label's line height. */
44
+ labelAside?: ReactNode;
43
45
  /** Narrow screens: "below" (default) moves the aside under the delta line at full width; "hidden" drops it. */
44
46
  asideMobile?: "below" | "hidden";
45
47
  /** Draws the direction as a filled caret before the first delta number, in place of its sign. */
@@ -24,6 +24,11 @@ export interface KpiRowItem extends Omit<KpiValue, "value"> {
24
24
  variant?: KpiBadgeVariant;
25
25
  } | null;
26
26
  badgePlacement?: "label" | "value";
27
+ /**
28
+ * An app control after the label, such as an info tooltip trigger or a mask toggle. It keeps the label's line
29
+ * height, and its clicks and keys stay with it: they never open a clickable or link cell.
30
+ */
31
+ labelAside?: ReactNode;
27
32
  }
28
33
  export interface KjunKpiRowProps {
29
34
  loading?: boolean;
@@ -24,6 +24,11 @@ export interface KpiRowItem extends Omit<KpiValue, "value"> {
24
24
  variant?: KpiBadgeVariant;
25
25
  } | null;
26
26
  badgePlacement?: "label" | "value";
27
+ /**
28
+ * An app control after the label, such as an info tooltip trigger or a mask toggle. It keeps the label's line
29
+ * height, and its clicks and keys stay with it: they never open a clickable or link cell.
30
+ */
31
+ labelAside?: ReactNode;
27
32
  }
28
33
  export interface KjunKpiRowProps {
29
34
  loading?: boolean;