@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
@@ -0,0 +1,27 @@
1
+ import { type KjunStepItem, type KjunStepStatus, type KjunStepsCurrentStatus, type KjunStepsLayout, type KjunStepsSelectable } from "../../../shared/package-runtime/steps.js";
2
+ import { type CSSProperties } from "react";
3
+ export type { KjunStepItem, KjunStepStatus, KjunStepsCurrentStatus, KjunStepsLayout, KjunStepsSelectable };
4
+ export interface KjunStepsProps {
5
+ /** The steps in order. Two or more. */
6
+ items: KjunStepItem[];
7
+ /** Index of the current step, counted from 0. items.length means every step is complete. Optional when the items carry
8
+ * their own status: the first step marked current or error is then the current one. */
9
+ current?: number;
10
+ /** error marks the current step as failed (a failed payment, a failed delivery). */
11
+ currentStatus?: KjunStepsCurrentStatus;
12
+ orientation?: "horizontal" | "vertical";
13
+ /** Horizontal only. auto folds to a compact header and bare markers when the container is narrower than 80px per step. */
14
+ layout?: KjunStepsLayout;
15
+ /** Names the list; defaults to the "진행 단계" message. */
16
+ ariaLabel?: string;
17
+ /** Makes steps buttons in the wide horizontal layout and in the vertical one: completed ones, or with selectable="all" every step but the current one. */
18
+ onStepSelect?: (index: number) => void;
19
+ /** "complete" (default) lets onStepSelect go back only; "all" also lets it skip ahead to a later step. */
20
+ selectable?: KjunStepsSelectable;
21
+ className?: string;
22
+ style?: CSSProperties;
23
+ id?: string;
24
+ [data: `data-${string}`]: string | undefined;
25
+ }
26
+ /** Progress through an ordered flow: a wizard, a checkout, a delivery trail. */
27
+ export declare function KjunSteps({ items, current, currentStatus, orientation, layout, ariaLabel, onStepSelect, selectable, className, style, id, ...rest }: KjunStepsProps): import("react/jsx-runtime").JSX.Element;
@@ -1,12 +1,4 @@
1
- import type { KeyboardEvent, ReactNode } from "react";
2
- import { type TableCardsProps } from "../../../shared/package-runtime/table-presentation.cjs";
3
- import type { TableRowGroup } from "../../../shared/package-runtime/table-groups.cjs";
4
- interface Props<Row extends object> extends TableCardsProps<Row> {
5
- ariaLabel: string;
6
- customClass: (row: Row, index: number) => string;
7
- rowKeyDown: (event: KeyboardEvent<HTMLElement>, row: Row, index: number) => void;
8
- }
9
- /** Groups as labelled groups, each a header line over its own list; ungrouped rows stay one list. */
10
- export declare function useTableGroups<Row extends object>({ groupLabel, groupTotals, state, collapsed, toggleGroup }: Pick<TableCardsProps<Row>, "groupLabel" | "groupTotals" | "state" | "collapsed" | "toggleGroup">, className: string, itemsClass: string | undefined, item: (row: Row, index: number) => ReactNode): (list: TableRowGroup<Row>[]) => import("react/jsx-runtime").JSX.Element[];
11
- export declare function TableCards<Row extends object>(props: Props<Row>): import("react/jsx-runtime").JSX.Element;
12
- export {};
1
+ import type { KeyboardEvent } from "react";
2
+ import type { TableCardsProps, TableViewParts } from "../../../shared/package-runtime/table-presentation.cjs";
3
+ export type TableNarrowProps<Row extends object> = TableCardsProps<Row> & TableViewParts<Row, KeyboardEvent<HTMLElement>>;
4
+ export declare function TableCards<Row extends object>(props: TableNarrowProps<Row>): import("react/jsx-runtime").JSX.Element;
@@ -1,12 +1,4 @@
1
- import type { KeyboardEvent, ReactNode } from "react";
2
- import { type TableCardsProps } from "../../../shared/package-runtime/table-presentation.js";
3
- import type { TableRowGroup } from "../../../shared/package-runtime/table-groups.js";
4
- interface Props<Row extends object> extends TableCardsProps<Row> {
5
- ariaLabel: string;
6
- customClass: (row: Row, index: number) => string;
7
- rowKeyDown: (event: KeyboardEvent<HTMLElement>, row: Row, index: number) => void;
8
- }
9
- /** Groups as labelled groups, each a header line over its own list; ungrouped rows stay one list. */
10
- export declare function useTableGroups<Row extends object>({ groupLabel, groupTotals, state, collapsed, toggleGroup }: Pick<TableCardsProps<Row>, "groupLabel" | "groupTotals" | "state" | "collapsed" | "toggleGroup">, className: string, itemsClass: string | undefined, item: (row: Row, index: number) => ReactNode): (list: TableRowGroup<Row>[]) => import("react/jsx-runtime").JSX.Element[];
11
- export declare function TableCards<Row extends object>(props: Props<Row>): import("react/jsx-runtime").JSX.Element;
12
- export {};
1
+ import type { KeyboardEvent } from "react";
2
+ import type { TableCardsProps, TableViewParts } from "../../../shared/package-runtime/table-presentation.js";
3
+ export type TableNarrowProps<Row extends object> = TableCardsProps<Row> & TableViewParts<Row, KeyboardEvent<HTMLElement>>;
4
+ export declare function TableCards<Row extends object>(props: TableNarrowProps<Row>): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,5 @@
1
1
  import { type CSSProperties, type KeyboardEvent } from "react";
2
- import type { TableGridProps } from "../../../shared/package-runtime/table-presentation.cjs";
3
- interface Props<Row extends object> extends TableGridProps<Row, CSSProperties["maxHeight"]> {
4
- ariaLabel: string;
5
- customClass: (row: Row, index: number) => string;
6
- rowKeyDown: (event: KeyboardEvent<HTMLElement>, row: Row, index: number) => void;
7
- }
8
- export declare function TableGrid<Row extends object>({ columnGroups, cellSpan, mover, initialLoading, skeletonRows, skeletonHidden, state, onRowClick, selectable, checkbox, cell, expandable, expand, renderExpand, emptyContent, emptyText, visible, maxHeight, stickyHeader, sortable, compact, striped, hoverable, ariaLabel, customClass, rowKeyDown, groups, collapsed, toggleGroup, groupLabel, summary, stickyOffset }: Props<Row>): import("react/jsx-runtime").JSX.Element;
2
+ import { type TableGridProps, type TableViewParts } from "../../../shared/package-runtime/table-presentation.cjs";
3
+ type Props<Row extends object> = TableGridProps<Row, CSSProperties["maxHeight"]> & TableViewParts<Row, KeyboardEvent<HTMLElement>>;
4
+ export declare function TableGrid<Row extends object>({ columnGroups, cellSpan, mover, initialLoading, skeletonRows, skeletonHidden, state, onRowClick, selectable, checkbox, cell, expandable, expand, renderExpand, emptyContent, emptyText, visible, maxHeight, stickyHeader, sortable, compact, striped, hoverable, ariaLabel, customClass, rowKeyDown, groups, collapsed, toggleGroup, groupLabel, summary, edgeInset, layout, stickyOffset }: Props<Row>): import("react/jsx-runtime").JSX.Element;
9
5
  export {};
@@ -1,9 +1,5 @@
1
1
  import { type CSSProperties, type KeyboardEvent } from "react";
2
- import type { TableGridProps } from "../../../shared/package-runtime/table-presentation.js";
3
- interface Props<Row extends object> extends TableGridProps<Row, CSSProperties["maxHeight"]> {
4
- ariaLabel: string;
5
- customClass: (row: Row, index: number) => string;
6
- rowKeyDown: (event: KeyboardEvent<HTMLElement>, row: Row, index: number) => void;
7
- }
8
- export declare function TableGrid<Row extends object>({ columnGroups, cellSpan, mover, initialLoading, skeletonRows, skeletonHidden, state, onRowClick, selectable, checkbox, cell, expandable, expand, renderExpand, emptyContent, emptyText, visible, maxHeight, stickyHeader, sortable, compact, striped, hoverable, ariaLabel, customClass, rowKeyDown, groups, collapsed, toggleGroup, groupLabel, summary, stickyOffset }: Props<Row>): import("react/jsx-runtime").JSX.Element;
2
+ import { type TableGridProps, type TableViewParts } from "../../../shared/package-runtime/table-presentation.js";
3
+ type Props<Row extends object> = TableGridProps<Row, CSSProperties["maxHeight"]> & TableViewParts<Row, KeyboardEvent<HTMLElement>>;
4
+ export declare function TableGrid<Row extends object>({ columnGroups, cellSpan, mover, initialLoading, skeletonRows, skeletonHidden, state, onRowClick, selectable, checkbox, cell, expandable, expand, renderExpand, emptyContent, emptyText, visible, maxHeight, stickyHeader, sortable, compact, striped, hoverable, ariaLabel, customClass, rowKeyDown, groups, collapsed, toggleGroup, groupLabel, summary, edgeInset, layout, stickyOffset }: Props<Row>): import("react/jsx-runtime").JSX.Element;
9
5
  export {};
@@ -0,0 +1,5 @@
1
+ import type { ReactNode } from "react";
2
+ import { type TableCardsProps } from "../../../shared/package-runtime/table-presentation.cjs";
3
+ import type { TableRowGroup } from "../../../shared/package-runtime/table-groups.cjs";
4
+ /** Groups as labelled groups, each a header line over its own list; ungrouped rows stay one list. */
5
+ export declare function useTableGroups<Row extends object>({ groupLabel, groupTotals, state, collapsed, toggleGroup }: Pick<TableCardsProps<Row>, "groupLabel" | "groupTotals" | "state" | "collapsed" | "toggleGroup">, className: string, itemsClass: string | undefined, item: (row: Row, index: number) => ReactNode): (list: TableRowGroup<Row>[]) => import("react/jsx-runtime").JSX.Element[];
@@ -0,0 +1,5 @@
1
+ import type { ReactNode } from "react";
2
+ import { type TableCardsProps } from "../../../shared/package-runtime/table-presentation.js";
3
+ import type { TableRowGroup } from "../../../shared/package-runtime/table-groups.js";
4
+ /** Groups as labelled groups, each a header line over its own list; ungrouped rows stay one list. */
5
+ export declare function useTableGroups<Row extends object>({ groupLabel, groupTotals, state, collapsed, toggleGroup }: Pick<TableCardsProps<Row>, "groupLabel" | "groupTotals" | "state" | "collapsed" | "toggleGroup">, className: string, itemsClass: string | undefined, item: (row: Row, index: number) => ReactNode): (list: TableRowGroup<Row>[]) => import("react/jsx-runtime").JSX.Element[];
@@ -1,10 +1,3 @@
1
- import type { KeyboardEvent } from "react";
2
- import type { TableCardsProps } from "../../../shared/package-runtime/table-presentation.cjs";
3
- interface Props<Row extends object> extends TableCardsProps<Row> {
4
- ariaLabel: string;
5
- customClass: (row: Row, index: number) => string;
6
- rowKeyDown: (event: KeyboardEvent<HTMLElement>, row: Row, index: number) => void;
7
- }
1
+ import type { TableNarrowProps } from "./table-cards.cjs";
8
2
  /** responsive="list": no header row; each row is a title over one meta line with its value and badges at the end. */
9
- export declare function TableList<Row extends object>(props: Props<Row>): import("react/jsx-runtime").JSX.Element;
10
- export {};
3
+ export declare function TableList<Row extends object>(props: TableNarrowProps<Row>): import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,3 @@
1
- import type { KeyboardEvent } from "react";
2
- import type { TableCardsProps } from "../../../shared/package-runtime/table-presentation.js";
3
- interface Props<Row extends object> extends TableCardsProps<Row> {
4
- ariaLabel: string;
5
- customClass: (row: Row, index: number) => string;
6
- rowKeyDown: (event: KeyboardEvent<HTMLElement>, row: Row, index: number) => void;
7
- }
1
+ import type { TableNarrowProps } from "./table-cards.js";
8
2
  /** responsive="list": no header row; each row is a title over one meta line with its value and badges at the end. */
9
- export declare function TableList<Row extends object>(props: Props<Row>): import("react/jsx-runtime").JSX.Element;
10
- export {};
3
+ export declare function TableList<Row extends object>(props: TableNarrowProps<Row>): import("react/jsx-runtime").JSX.Element;
@@ -10,14 +10,18 @@ export declare function useTableModel<Row extends object>(props: KjunTableProps<
10
10
  key: (row: Row, index?: number) => string | number;
11
11
  sort: import("@kjun-ui/tokens").TableSort;
12
12
  search: string;
13
+ selected: Row[];
13
14
  all: boolean;
14
15
  some: boolean;
16
+ selectableCount: number;
15
17
  selectedRow: (row: Row) => boolean;
18
+ selectableRow: (row: Row) => boolean;
16
19
  expanded: (string | number)[];
17
20
  searchChange: (q: string) => void;
18
21
  sortColumn: (col: import("./table-model.cjs").TableColumn<Row>) => void;
19
22
  sortTo: (next: import("@kjun-ui/tokens").TableSort) => void;
20
- toggleRow: (row: Row) => void | undefined;
21
- toggleAll: () => void | undefined;
23
+ toggleRow: (row: Row) => void;
24
+ toggleAll: () => void;
25
+ clearSelection: () => void;
22
26
  toggleExpand: (row: Row, index: number) => void;
23
27
  };
@@ -10,14 +10,18 @@ export declare function useTableModel<Row extends object>(props: KjunTableProps<
10
10
  key: (row: Row, index?: number) => string | number;
11
11
  sort: import("@kjun-ui/tokens").TableSort;
12
12
  search: string;
13
+ selected: Row[];
13
14
  all: boolean;
14
15
  some: boolean;
16
+ selectableCount: number;
15
17
  selectedRow: (row: Row) => boolean;
18
+ selectableRow: (row: Row) => boolean;
16
19
  expanded: (string | number)[];
17
20
  searchChange: (q: string) => void;
18
21
  sortColumn: (col: import("./table-model.js").TableColumn<Row>) => void;
19
22
  sortTo: (next: import("@kjun-ui/tokens").TableSort) => void;
20
- toggleRow: (row: Row) => void | undefined;
21
- toggleAll: () => void | undefined;
23
+ toggleRow: (row: Row) => void;
24
+ toggleAll: () => void;
25
+ clearSelection: () => void;
22
26
  toggleExpand: (row: Row, index: number) => void;
23
27
  };
@@ -21,6 +21,8 @@ export interface KjunTabsProps {
21
21
  stickyHeader?: boolean;
22
22
  /** Top gap of the sticky header: a number in px or a CSS length. */
23
23
  stickyOffset?: number | string;
24
+ /** Each TabPane draws its content the first time its tab is selected, then keeps it (hidden) like the others. */
25
+ lazy?: boolean;
24
26
  ariaLabel?: string;
25
27
  onValueChange?: (value: string) => void;
26
28
  onChange?: (value: string) => void;
@@ -31,7 +33,7 @@ export interface KjunTabsProps {
31
33
  pointer: "mouse" | "touch";
32
34
  }) => void;
33
35
  }
34
- export declare function KjunTabs({ value, items, density, variant, fullWidth, actions, children, stickyHeader, stickyOffset, ariaLabel, onValueChange, onChange, onTabMenu, }: KjunTabsProps): import("react/jsx-runtime").JSX.Element;
36
+ export declare function KjunTabs({ value, items, density, variant, fullWidth, actions, children, stickyHeader, stickyOffset, lazy, ariaLabel, onValueChange, onChange, onTabMenu, }: KjunTabsProps): import("react/jsx-runtime").JSX.Element;
35
37
  export interface KjunTabPaneProps extends TabItem {
36
38
  children?: ReactNode;
37
39
  }
@@ -21,6 +21,8 @@ export interface KjunTabsProps {
21
21
  stickyHeader?: boolean;
22
22
  /** Top gap of the sticky header: a number in px or a CSS length. */
23
23
  stickyOffset?: number | string;
24
+ /** Each TabPane draws its content the first time its tab is selected, then keeps it (hidden) like the others. */
25
+ lazy?: boolean;
24
26
  ariaLabel?: string;
25
27
  onValueChange?: (value: string) => void;
26
28
  onChange?: (value: string) => void;
@@ -31,7 +33,7 @@ export interface KjunTabsProps {
31
33
  pointer: "mouse" | "touch";
32
34
  }) => void;
33
35
  }
34
- export declare function KjunTabs({ value, items, density, variant, fullWidth, actions, children, stickyHeader, stickyOffset, ariaLabel, onValueChange, onChange, onTabMenu, }: KjunTabsProps): import("react/jsx-runtime").JSX.Element;
36
+ export declare function KjunTabs({ value, items, density, variant, fullWidth, actions, children, stickyHeader, stickyOffset, lazy, ariaLabel, onValueChange, onChange, onTabMenu, }: KjunTabsProps): import("react/jsx-runtime").JSX.Element;
35
37
  export interface KjunTabPaneProps extends TabItem {
36
38
  children?: ReactNode;
37
39
  }
@@ -1,15 +1,18 @@
1
- import { type TextareaSubmitKey } from "../../../shared/package-runtime/textarea.cjs";
1
+ import { type TextareaSubmitKey, type TextareaMaxRows } from "../../../shared/package-runtime/textarea.cjs";
2
+ import type { InputVariant } from "../../../shared/package-runtime/input-variant.cjs";
2
3
  import { type InputSize } from "@kjun-ui/tokens";
3
4
  import { type ReactNode, type TextareaHTMLAttributes } from "react";
4
5
  export interface KjunTextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "size" | "value" | "onSubmit"> {
5
6
  value: string;
6
7
  size?: InputSize;
8
+ /** "plain" drops the surface, side border and side inset for text edited in place, such as a note body. */
9
+ variant?: InputVariant;
7
10
  error?: boolean;
8
11
  /** Manual resizing (default "none"). A field the user can drag taller keeps that height instead of growing with its text. */
9
12
  resize?: "none" | "vertical" | "horizontal" | "both";
10
13
  ariaLabel?: string;
11
- /** The field grows with its text from rows up to maxRows, then scrolls (default 6; rows keeps it fixed). */
12
- maxRows?: number;
14
+ /** The field grows with its text from rows up to maxRows, then scrolls (default 6; rows keeps it fixed). "none" grows without a limit. */
15
+ maxRows?: TextareaMaxRows;
13
16
  /** Character limit (UTF-16 units, like the attribute); the count shows "length/maxLength" and a longer value reads as an error. */
14
17
  maxLength?: number;
15
18
  /** Shows the character count inside the field, as "length/maxLength" when maxLength is set. */
@@ -1,15 +1,18 @@
1
- import { type TextareaSubmitKey } from "../../../shared/package-runtime/textarea.js";
1
+ import { type TextareaSubmitKey, type TextareaMaxRows } from "../../../shared/package-runtime/textarea.js";
2
+ import type { InputVariant } from "../../../shared/package-runtime/input-variant.js";
2
3
  import { type InputSize } from "@kjun-ui/tokens";
3
4
  import { type ReactNode, type TextareaHTMLAttributes } from "react";
4
5
  export interface KjunTextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "size" | "value" | "onSubmit"> {
5
6
  value: string;
6
7
  size?: InputSize;
8
+ /** "plain" drops the surface, side border and side inset for text edited in place, such as a note body. */
9
+ variant?: InputVariant;
7
10
  error?: boolean;
8
11
  /** Manual resizing (default "none"). A field the user can drag taller keeps that height instead of growing with its text. */
9
12
  resize?: "none" | "vertical" | "horizontal" | "both";
10
13
  ariaLabel?: string;
11
- /** The field grows with its text from rows up to maxRows, then scrolls (default 6; rows keeps it fixed). */
12
- maxRows?: number;
14
+ /** The field grows with its text from rows up to maxRows, then scrolls (default 6; rows keeps it fixed). "none" grows without a limit. */
15
+ maxRows?: TextareaMaxRows;
13
16
  /** Character limit (UTF-16 units, like the attribute); the count shows "length/maxLength" and a longer value reads as an error. */
14
17
  maxLength?: number;
15
18
  /** Shows the character count inside the field, as "length/maxLength" when maxLength is set. */
@@ -0,0 +1,18 @@
1
+ import type { HTMLAttributes, ReactNode, Ref } from "react";
2
+ import { type TilesGap, type TilesMaxColumns, type TilesMinItem } from "../../../shared/package-runtime/tiles.cjs";
3
+ export type { TilesGap, TilesMaxColumns, TilesMinItem };
4
+ /** Other div attributes (aria-*, data-*, id, events) pass to the root, as on KjunStack; the root keeps role="list". */
5
+ export interface KjunTilesProps extends Omit<HTMLAttributes<HTMLDivElement>, "role" | "children"> {
6
+ /** Space between cells. auto is compact (16) in a container narrower than 768 and regular (24) from it. */
7
+ gap?: TilesGap;
8
+ /** A cell's narrowest width before a column is dropped: sm 160, md 240, lg 320. */
9
+ minItem?: TilesMinItem;
10
+ /** The most columns in a wide container. */
11
+ maxColumns?: TilesMaxColumns;
12
+ ref?: Ref<HTMLDivElement>;
13
+ /** Each child is one cell; false, null and blank strings add none, and fragments count their children. */
14
+ children?: ReactNode;
15
+ }
16
+ /** Same-width cards read as a list. Columns and gap follow the container, not the screen. Like KjunStack it is not KJUN
17
+ * markup (data attributes, no kjun- class), so app children keep their own styles. */
18
+ export declare function KjunTiles({ gap, minItem, maxColumns, className, children, ...rest }: KjunTilesProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
1
+ import type { HTMLAttributes, ReactNode, Ref } from "react";
2
+ import { type TilesGap, type TilesMaxColumns, type TilesMinItem } from "../../../shared/package-runtime/tiles.js";
3
+ export type { TilesGap, TilesMaxColumns, TilesMinItem };
4
+ /** Other div attributes (aria-*, data-*, id, events) pass to the root, as on KjunStack; the root keeps role="list". */
5
+ export interface KjunTilesProps extends Omit<HTMLAttributes<HTMLDivElement>, "role" | "children"> {
6
+ /** Space between cells. auto is compact (16) in a container narrower than 768 and regular (24) from it. */
7
+ gap?: TilesGap;
8
+ /** A cell's narrowest width before a column is dropped: sm 160, md 240, lg 320. */
9
+ minItem?: TilesMinItem;
10
+ /** The most columns in a wide container. */
11
+ maxColumns?: TilesMaxColumns;
12
+ ref?: Ref<HTMLDivElement>;
13
+ /** Each child is one cell; false, null and blank strings add none, and fragments count their children. */
14
+ children?: ReactNode;
15
+ }
16
+ /** Same-width cards read as a list. Columns and gap follow the container, not the screen. Like KjunStack it is not KJUN
17
+ * markup (data attributes, no kjun- class), so app children keep their own styles. */
18
+ export declare function KjunTiles({ gap, minItem, maxColumns, className, children, ...rest }: KjunTilesProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,7 @@
1
1
  import { type HourCycle } from "../../../shared/package-runtime/time-segments.cjs";
2
+ import { type TimeLayout, type TimeTrigger } from "../../../shared/package-runtime/time-wheel.cjs";
2
3
  import { type TimePrecision, type InputSize } from "@kjun-ui/tokens";
4
+ export type { TimeLayout, TimeTrigger };
3
5
  export interface KjunTimePickerProps {
4
6
  value: string | null;
5
7
  precision?: TimePrecision;
@@ -12,15 +14,23 @@ export interface KjunTimePickerProps {
12
14
  clearable?: boolean;
13
15
  size?: InputSize;
14
16
  ariaLabel?: string;
15
- /** 24 (default) shows 00–23; 12 adds an AM/PM segment and shows 1–12. The value stays "HH:mm". */
17
+ /** 24 (default) shows 00–23; 12 adds an AM/PM column and shows 1–12. The value stays "HH:mm". */
16
18
  hourCycle?: HourCycle;
19
+ /** Where the wheel opens: auto (default) takes a popover on a mouse screen and a bottom sheet on a touch screen;
20
+ * inline shows the wheel in place with no field. */
21
+ layout?: TimeLayout;
22
+ /** The field that opens the wheel: segments (typing digits works; the popover default) or a one-line button (the sheet default). */
23
+ trigger?: TimeTrigger;
17
24
  /** Shows the time without changing it. */
18
25
  readOnly?: boolean;
19
26
  /** Submits the value with a form through a hidden input. */
20
27
  name?: string;
28
+ /** The first segment's (or the button's) id, for an outside <label for>; defaults to the FormGroup's id. */
29
+ id?: string;
21
30
  /** Stretches the field to its container's width (default false: the field hugs the time). */
22
31
  block?: boolean;
32
+ /** Each change: a confirmed wheel, a typed or stepped segment, a cleared field, or a stopped inline column. */
23
33
  onValueChange?: (value: string | null) => void;
24
34
  onChangeCommit?: (value: string | null) => void;
25
35
  }
26
- export declare function KjunTimePicker({ value, precision, min, max, minuteStep, secondStep, disabled, error, clearable, size, ariaLabel, hourCycle, readOnly, name, block, onValueChange, onChangeCommit }: KjunTimePickerProps): import("react/jsx-runtime").JSX.Element;
36
+ export declare function KjunTimePicker({ value, precision, min, max, minuteStep, secondStep, disabled, error, clearable, size, ariaLabel, hourCycle, layout: layoutProp, trigger: triggerProp, readOnly, name, id, block, onValueChange, onChangeCommit }: KjunTimePickerProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,7 @@
1
1
  import { type HourCycle } from "../../../shared/package-runtime/time-segments.js";
2
+ import { type TimeLayout, type TimeTrigger } from "../../../shared/package-runtime/time-wheel.js";
2
3
  import { type TimePrecision, type InputSize } from "@kjun-ui/tokens";
4
+ export type { TimeLayout, TimeTrigger };
3
5
  export interface KjunTimePickerProps {
4
6
  value: string | null;
5
7
  precision?: TimePrecision;
@@ -12,15 +14,23 @@ export interface KjunTimePickerProps {
12
14
  clearable?: boolean;
13
15
  size?: InputSize;
14
16
  ariaLabel?: string;
15
- /** 24 (default) shows 00–23; 12 adds an AM/PM segment and shows 1–12. The value stays "HH:mm". */
17
+ /** 24 (default) shows 00–23; 12 adds an AM/PM column and shows 1–12. The value stays "HH:mm". */
16
18
  hourCycle?: HourCycle;
19
+ /** Where the wheel opens: auto (default) takes a popover on a mouse screen and a bottom sheet on a touch screen;
20
+ * inline shows the wheel in place with no field. */
21
+ layout?: TimeLayout;
22
+ /** The field that opens the wheel: segments (typing digits works; the popover default) or a one-line button (the sheet default). */
23
+ trigger?: TimeTrigger;
17
24
  /** Shows the time without changing it. */
18
25
  readOnly?: boolean;
19
26
  /** Submits the value with a form through a hidden input. */
20
27
  name?: string;
28
+ /** The first segment's (or the button's) id, for an outside <label for>; defaults to the FormGroup's id. */
29
+ id?: string;
21
30
  /** Stretches the field to its container's width (default false: the field hugs the time). */
22
31
  block?: boolean;
32
+ /** Each change: a confirmed wheel, a typed or stepped segment, a cleared field, or a stopped inline column. */
23
33
  onValueChange?: (value: string | null) => void;
24
34
  onChangeCommit?: (value: string | null) => void;
25
35
  }
26
- export declare function KjunTimePicker({ value, precision, min, max, minuteStep, secondStep, disabled, error, clearable, size, ariaLabel, hourCycle, readOnly, name, block, onValueChange, onChangeCommit }: KjunTimePickerProps): import("react/jsx-runtime").JSX.Element;
36
+ export declare function KjunTimePicker({ value, precision, min, max, minuteStep, secondStep, disabled, error, clearable, size, ariaLabel, hourCycle, layout: layoutProp, trigger: triggerProp, readOnly, name, id, block, onValueChange, onChangeCommit }: KjunTimePickerProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
1
+ import { type WheelColumn, type WheelColumnKey } from "../../../shared/package-runtime/time-wheel.cjs";
2
+ export interface TimeWheelProps {
3
+ columns: WheelColumn[];
4
+ label: string;
5
+ labelledBy?: string;
6
+ /** Inline wheels sit on the page: a field fill with a surface band. */
7
+ inline?: boolean;
8
+ disabled?: boolean;
9
+ readOnly?: boolean;
10
+ /** The column to focus when the wheel appears. */
11
+ focusColumn?: number | null;
12
+ /** The column the person is on: focused or turned. */
13
+ onFocusColumn?: (index: number) => void;
14
+ onPick: (key: WheelColumnKey, value: number) => void;
15
+ onEnter?: () => void;
16
+ }
17
+ /** The hour, minute (and second, AM/PM) columns over one band that marks the chosen time. */
18
+ export declare function TimeWheel({ columns, label, labelledBy, inline, disabled, readOnly, focusColumn, onFocusColumn, onPick, onEnter }: TimeWheelProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
1
+ import { type WheelColumn, type WheelColumnKey } from "../../../shared/package-runtime/time-wheel.js";
2
+ export interface TimeWheelProps {
3
+ columns: WheelColumn[];
4
+ label: string;
5
+ labelledBy?: string;
6
+ /** Inline wheels sit on the page: a field fill with a surface band. */
7
+ inline?: boolean;
8
+ disabled?: boolean;
9
+ readOnly?: boolean;
10
+ /** The column to focus when the wheel appears. */
11
+ focusColumn?: number | null;
12
+ /** The column the person is on: focused or turned. */
13
+ onFocusColumn?: (index: number) => void;
14
+ onPick: (key: WheelColumnKey, value: number) => void;
15
+ onEnter?: () => void;
16
+ }
17
+ /** The hour, minute (and second, AM/PM) columns over one band that marks the chosen time. */
18
+ export declare function TimeWheel({ columns, label, labelledBy, inline, disabled, readOnly, focusColumn, onFocusColumn, onPick, onEnter }: TimeWheelProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Scroll mode: fades the row's clipped edges and keeps the selected chip in view. In single mode it follows the value;
3
+ * in multiple mode it reveals only on mount, so turning a chip off does not pull the row elsewhere.
4
+ */
5
+ export declare function useFilterScroll(scroll: boolean, multiple: boolean, value: unknown): import("react").RefObject<HTMLDivElement | null>;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Scroll mode: fades the row's clipped edges and keeps the selected chip in view. In single mode it follows the value;
3
+ * in multiple mode it reveals only on mount, so turning a chip off does not pull the row elsewhere.
4
+ */
5
+ export declare function useFilterScroll(scroll: boolean, multiple: boolean, value: unknown): import("react").RefObject<HTMLDivElement | null>;
@@ -9,3 +9,5 @@ export declare function unregisterOpened(opened: OpenedItems, id: string): Opene
9
9
  export declare const trimToSingle: (opened: OpenedItems) => OpenedItems;
10
10
  /** Up/Down/Home/End move between the headers of an Accordion, as in the WAI-ARIA accordion pattern. */
11
11
  export declare function accordionKeyTarget(key: string, index: number, count: number): number | null;
12
+ /** The open set an Accordion's value or defaultValue names; a single-open Accordion keeps only the last one. */
13
+ export declare function openedFromValue(value: readonly string[] | undefined, multiple: boolean): OpenedItems;
@@ -9,3 +9,5 @@ export declare function unregisterOpened(opened: OpenedItems, id: string): Opene
9
9
  export declare const trimToSingle: (opened: OpenedItems) => OpenedItems;
10
10
  /** Up/Down/Home/End move between the headers of an Accordion, as in the WAI-ARIA accordion pattern. */
11
11
  export declare function accordionKeyTarget(key: string, index: number, count: number): number | null;
12
+ /** The open set an Accordion's value or defaultValue names; a single-open Accordion keeps only the last one. */
13
+ export declare function openedFromValue(value: readonly string[] | undefined, multiple: boolean): OpenedItems;
@@ -3,3 +3,7 @@ export { alertActionSizes, popoverActionSize } from "./alert-action-size.cjs";
3
3
  /** A container's default size for buttons that leave `size` unset; an explicit size always wins. */
4
4
  export declare const ActionSizeContext: import("react").Context<"xs" | "sm" | "md" | "lg" | "xl" | null>;
5
5
  export declare function useActionSize(requested: ButtonSize | undefined, fallback: ButtonSize): ButtonSize;
6
+ /** A container that draws its buttons as pills (a floating action bar); a button's own circle or pill shape is unaffected. */
7
+ export declare const ActionShapeContext: import("react").Context<"pill" | null>;
8
+ /** Whether a button rounds to a pill: by its own shape, or because its container says so. */
9
+ export declare function useActionPill(shape: "default" | "circle" | "pill"): boolean;
@@ -3,3 +3,7 @@ export { alertActionSizes, popoverActionSize } from "./alert-action-size.js";
3
3
  /** A container's default size for buttons that leave `size` unset; an explicit size always wins. */
4
4
  export declare const ActionSizeContext: import("react").Context<"xs" | "sm" | "md" | "lg" | "xl" | null>;
5
5
  export declare function useActionSize(requested: ButtonSize | undefined, fallback: ButtonSize): ButtonSize;
6
+ /** A container that draws its buttons as pills (a floating action bar); a button's own circle or pill shape is unaffected. */
7
+ export declare const ActionShapeContext: import("react").Context<"pill" | null>;
8
+ /** Whether a button rounds to a pill: by its own shape, or because its container says so. */
9
+ export declare function useActionPill(shape: "default" | "circle" | "pill"): boolean;
@@ -0,0 +1,7 @@
1
+ /** True when the actions have wrapped onto their own line under the message. */
2
+ export declare function alertActionsWrapped(content: HTMLElement | null): boolean;
3
+ /** Calls back with the wrapped state now and whenever the content resizes; returns the cleanup. */
4
+ export declare function observeAlertActions(content: HTMLElement | null, change: (wrapped: boolean) => void): () => void;
5
+ /** Native: the actions wrap when the content row cannot hold the message's minimum width, the gap and the actions.
6
+ * Widths only, since React Native Web reports a layout when a box resizes, not when it merely moves. */
7
+ export declare function alertActionsWrap(contentWidth: number | undefined, actionsWidth: number | undefined, gap: number, messageMinWidth: number): boolean;
@@ -0,0 +1,7 @@
1
+ /** True when the actions have wrapped onto their own line under the message. */
2
+ export declare function alertActionsWrapped(content: HTMLElement | null): boolean;
3
+ /** Calls back with the wrapped state now and whenever the content resizes; returns the cleanup. */
4
+ export declare function observeAlertActions(content: HTMLElement | null, change: (wrapped: boolean) => void): () => void;
5
+ /** Native: the actions wrap when the content row cannot hold the message's minimum width, the gap and the actions.
6
+ * Widths only, since React Native Web reports a layout when a box resizes, not when it merely moves. */
7
+ export declare function alertActionsWrap(contentWidth: number | undefined, actionsWidth: number | undefined, gap: number, messageMinWidth: number): boolean;
@@ -3,3 +3,9 @@
3
3
  * instead of jumping; `done` runs once it is gone. Reduced motion (or no Web Animations) finishes at once.
4
4
  */
5
5
  export declare function collapseAlert(el: HTMLElement | null, reduced: boolean, done: () => void): void;
6
+ /**
7
+ * A dismissed Alert takes its focused close button with it: when focus is inside the alert, it moves to the next
8
+ * tabbable element after it, or the one before when the alert was last, so keyboard users keep their place.
9
+ * Call before the alert turns inert.
10
+ */
11
+ export declare function keepFocusPastAlert(el: HTMLElement | null): void;
@@ -3,3 +3,9 @@
3
3
  * instead of jumping; `done` runs once it is gone. Reduced motion (or no Web Animations) finishes at once.
4
4
  */
5
5
  export declare function collapseAlert(el: HTMLElement | null, reduced: boolean, done: () => void): void;
6
+ /**
7
+ * A dismissed Alert takes its focused close button with it: when focus is inside the alert, it moves to the next
8
+ * tabbable element after it, or the one before when the alert was last, so keyboard users keep their place.
9
+ * Call before the alert turns inert.
10
+ */
11
+ export declare function keepFocusPastAlert(el: HTMLElement | null): void;
@@ -1,3 +1,5 @@
1
1
  export type AlertLive = "assertive" | "polite" | "off";
2
2
  /** Alert announcement role: `live` overrides the tone default (danger interrupts, others are polite); off announces nothing. */
3
3
  export declare function alertRole(tone: string, live?: AlertLive): "alert" | "status" | undefined;
4
+ /** Android announces changes only in a live region (the role alone is not enough): alert interrupts, status waits, off sets none. */
5
+ export declare function alertLiveRegion(tone: string, live?: AlertLive): "assertive" | "polite" | undefined;
@@ -1,3 +1,5 @@
1
1
  export type AlertLive = "assertive" | "polite" | "off";
2
2
  /** Alert announcement role: `live` overrides the tone default (danger interrupts, others are polite); off announces nothing. */
3
3
  export declare function alertRole(tone: string, live?: AlertLive): "alert" | "status" | undefined;
4
+ /** Android announces changes only in a live region (the role alone is not enough): alert interrupts, status waits, off sets none. */
5
+ export declare function alertLiveRegion(tone: string, live?: AlertLive): "assertive" | "polite" | undefined;
@@ -0,0 +1,18 @@
1
+ /** The overflow chip stops at this count so its text always fits the circle; the group name keeps the real number. */
2
+ export declare const AVATAR_GROUP_OVERFLOW_CAP = 99;
3
+ export interface AvatarGroupModel {
4
+ visible: number;
5
+ overflow: number;
6
+ overflowText: string;
7
+ totalCount: number;
8
+ }
9
+ /**
10
+ * How many avatars a group draws, how many it folds into "+N", and the headcount it is named by.
11
+ * At xs and sm a three-character "+99" does not fit the circle, so the chip drops the "+" and shows "99".
12
+ */
13
+ export declare function avatarGroupModel({ count, max, total, size }: {
14
+ count: number;
15
+ max?: number;
16
+ total?: number;
17
+ size?: string;
18
+ }): AvatarGroupModel;
@@ -0,0 +1,18 @@
1
+ /** The overflow chip stops at this count so its text always fits the circle; the group name keeps the real number. */
2
+ export declare const AVATAR_GROUP_OVERFLOW_CAP = 99;
3
+ export interface AvatarGroupModel {
4
+ visible: number;
5
+ overflow: number;
6
+ overflowText: string;
7
+ totalCount: number;
8
+ }
9
+ /**
10
+ * How many avatars a group draws, how many it folds into "+N", and the headcount it is named by.
11
+ * At xs and sm a three-character "+99" does not fit the circle, so the chip drops the "+" and shows "99".
12
+ */
13
+ export declare function avatarGroupModel({ count, max, total, size }: {
14
+ count: number;
15
+ max?: number;
16
+ total?: number;
17
+ size?: string;
18
+ }): AvatarGroupModel;
@@ -26,9 +26,9 @@ export declare function badgeGeometry(size: BadgeSize): {
26
26
  readonly x: 12;
27
27
  readonly y: 4;
28
28
  };
29
- radius: 4 | 10 | 8 | 6;
29
+ radius: 4 | 10 | 6 | 8;
30
30
  gap: 4 | 6;
31
- dotSize: 8 | 6;
31
+ dotSize: 6 | 8;
32
32
  type: {
33
33
  fontWeight: 500;
34
34
  fontSizePx: 12;
@@ -55,5 +55,11 @@ export declare function badgeGeometry(size: BadgeSize): {
55
55
  lineHeightPx: 24;
56
56
  letterSpacingEm: 0;
57
57
  };
58
+ count: {
59
+ paddingX: 4 | 6;
60
+ radius: 9999;
61
+ minWidth: number;
62
+ };
63
+ standaloneDotSize: 8;
58
64
  };
59
65
  export {};
@@ -26,9 +26,9 @@ export declare function badgeGeometry(size: BadgeSize): {
26
26
  readonly x: 12;
27
27
  readonly y: 4;
28
28
  };
29
- radius: 4 | 10 | 8 | 6;
29
+ radius: 4 | 10 | 6 | 8;
30
30
  gap: 4 | 6;
31
- dotSize: 8 | 6;
31
+ dotSize: 6 | 8;
32
32
  type: {
33
33
  fontWeight: 500;
34
34
  fontSizePx: 12;
@@ -55,5 +55,11 @@ export declare function badgeGeometry(size: BadgeSize): {
55
55
  lineHeightPx: 24;
56
56
  letterSpacingEm: 0;
57
57
  };
58
+ count: {
59
+ paddingX: 4 | 6;
60
+ radius: 9999;
61
+ minWidth: number;
62
+ };
63
+ standaloneDotSize: 8;
58
64
  };
59
65
  export {};