@kjun-ui/react 0.0.0-stage → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/README.md +44 -2
  2. package/dist/LICENSE +21 -0
  3. package/dist/Tabler-LICENSE +21 -0
  4. package/dist/index.cjs +6897 -0
  5. package/dist/index.d.cts +1 -0
  6. package/dist/index.d.ts +1 -0
  7. package/dist/index.js +6946 -0
  8. package/dist/styles.css +7695 -0
  9. package/dist/types/packages/react/src/actions.d.cts +58 -0
  10. package/dist/types/packages/react/src/actions.d.ts +58 -0
  11. package/dist/types/packages/react/src/app-navigation.d.cts +35 -0
  12. package/dist/types/packages/react/src/app-navigation.d.ts +35 -0
  13. package/dist/types/packages/react/src/button.d.cts +23 -0
  14. package/dist/types/packages/react/src/button.d.ts +23 -0
  15. package/dist/types/packages/react/src/card.d.cts +18 -0
  16. package/dist/types/packages/react/src/card.d.ts +18 -0
  17. package/dist/types/packages/react/src/chip.d.cts +10 -0
  18. package/dist/types/packages/react/src/chip.d.ts +10 -0
  19. package/dist/types/packages/react/src/collapse.d.cts +5 -0
  20. package/dist/types/packages/react/src/collapse.d.ts +5 -0
  21. package/dist/types/packages/react/src/combobox.d.cts +48 -0
  22. package/dist/types/packages/react/src/combobox.d.ts +48 -0
  23. package/dist/types/packages/react/src/composition.d.cts +6 -0
  24. package/dist/types/packages/react/src/composition.d.ts +6 -0
  25. package/dist/types/packages/react/src/compound-control.d.cts +1 -0
  26. package/dist/types/packages/react/src/compound-control.d.ts +1 -0
  27. package/dist/types/packages/react/src/controls.d.cts +85 -0
  28. package/dist/types/packages/react/src/controls.d.ts +85 -0
  29. package/dist/types/packages/react/src/data-state.d.cts +53 -0
  30. package/dist/types/packages/react/src/data-state.d.ts +53 -0
  31. package/dist/types/packages/react/src/date-picker.d.cts +10 -0
  32. package/dist/types/packages/react/src/date-picker.d.ts +10 -0
  33. package/dist/types/packages/react/src/display.d.cts +55 -0
  34. package/dist/types/packages/react/src/display.d.ts +55 -0
  35. package/dist/types/packages/react/src/drawer.d.cts +18 -0
  36. package/dist/types/packages/react/src/drawer.d.ts +18 -0
  37. package/dist/types/packages/react/src/dropdown.d.cts +41 -0
  38. package/dist/types/packages/react/src/dropdown.d.ts +41 -0
  39. package/dist/types/packages/react/src/feedback-context.d.cts +3 -0
  40. package/dist/types/packages/react/src/feedback-context.d.ts +3 -0
  41. package/dist/types/packages/react/src/feedback.d.cts +7 -0
  42. package/dist/types/packages/react/src/feedback.d.ts +7 -0
  43. package/dist/types/packages/react/src/financial-display.d.cts +86 -0
  44. package/dist/types/packages/react/src/financial-display.d.ts +86 -0
  45. package/dist/types/packages/react/src/financial.d.cts +4 -0
  46. package/dist/types/packages/react/src/financial.d.ts +4 -0
  47. package/dist/types/packages/react/src/floating-panel.d.cts +15 -0
  48. package/dist/types/packages/react/src/floating-panel.d.ts +15 -0
  49. package/dist/types/packages/react/src/index.d.cts +39 -0
  50. package/dist/types/packages/react/src/index.d.ts +39 -0
  51. package/dist/types/packages/react/src/input.d.cts +37 -0
  52. package/dist/types/packages/react/src/input.d.ts +37 -0
  53. package/dist/types/packages/react/src/kpi.d.cts +64 -0
  54. package/dist/types/packages/react/src/kpi.d.ts +64 -0
  55. package/dist/types/packages/react/src/layers.d.cts +4 -0
  56. package/dist/types/packages/react/src/layers.d.ts +4 -0
  57. package/dist/types/packages/react/src/list.d.cts +20 -0
  58. package/dist/types/packages/react/src/list.d.ts +20 -0
  59. package/dist/types/packages/react/src/market-cards.d.cts +2 -0
  60. package/dist/types/packages/react/src/market-cards.d.ts +2 -0
  61. package/dist/types/packages/react/src/market-layout.d.cts +7 -0
  62. package/dist/types/packages/react/src/market-layout.d.ts +7 -0
  63. package/dist/types/packages/react/src/market-list.d.cts +2 -0
  64. package/dist/types/packages/react/src/market-list.d.ts +2 -0
  65. package/dist/types/packages/react/src/market-model.d.cts +109 -0
  66. package/dist/types/packages/react/src/market-model.d.ts +109 -0
  67. package/dist/types/packages/react/src/market-panel.d.cts +5 -0
  68. package/dist/types/packages/react/src/market-panel.d.ts +5 -0
  69. package/dist/types/packages/react/src/market-parts.d.cts +8 -0
  70. package/dist/types/packages/react/src/market-parts.d.ts +8 -0
  71. package/dist/types/packages/react/src/market-skeleton.d.cts +13 -0
  72. package/dist/types/packages/react/src/market-skeleton.d.ts +13 -0
  73. package/dist/types/packages/react/src/market-table.d.cts +2 -0
  74. package/dist/types/packages/react/src/market-table.d.ts +2 -0
  75. package/dist/types/packages/react/src/market.d.cts +7 -0
  76. package/dist/types/packages/react/src/market.d.ts +7 -0
  77. package/dist/types/packages/react/src/media.d.cts +25 -0
  78. package/dist/types/packages/react/src/media.d.ts +25 -0
  79. package/dist/types/packages/react/src/modal.d.cts +46 -0
  80. package/dist/types/packages/react/src/modal.d.ts +46 -0
  81. package/dist/types/packages/react/src/navigation.d.cts +73 -0
  82. package/dist/types/packages/react/src/navigation.d.ts +73 -0
  83. package/dist/types/packages/react/src/number-display.d.cts +44 -0
  84. package/dist/types/packages/react/src/number-display.d.ts +44 -0
  85. package/dist/types/packages/react/src/overlay-host.d.cts +8 -0
  86. package/dist/types/packages/react/src/overlay-host.d.ts +8 -0
  87. package/dist/types/packages/react/src/popover.d.cts +23 -0
  88. package/dist/types/packages/react/src/popover.d.ts +23 -0
  89. package/dist/types/packages/react/src/provider.d.cts +8 -0
  90. package/dist/types/packages/react/src/provider.d.ts +8 -0
  91. package/dist/types/packages/react/src/quantity-stepper.d.cts +18 -0
  92. package/dist/types/packages/react/src/quantity-stepper.d.ts +18 -0
  93. package/dist/types/packages/react/src/range-input.d.cts +31 -0
  94. package/dist/types/packages/react/src/range-input.d.ts +31 -0
  95. package/dist/types/packages/react/src/search-input.d.cts +21 -0
  96. package/dist/types/packages/react/src/search-input.d.ts +21 -0
  97. package/dist/types/packages/react/src/select-control.d.cts +30 -0
  98. package/dist/types/packages/react/src/select-control.d.ts +30 -0
  99. package/dist/types/packages/react/src/select-options.d.cts +2 -0
  100. package/dist/types/packages/react/src/select-options.d.ts +2 -0
  101. package/dist/types/packages/react/src/select.d.cts +10 -0
  102. package/dist/types/packages/react/src/select.d.ts +10 -0
  103. package/dist/types/packages/react/src/skeletons.d.cts +28 -0
  104. package/dist/types/packages/react/src/skeletons.d.ts +28 -0
  105. package/dist/types/packages/react/src/table-cards.d.cts +9 -0
  106. package/dist/types/packages/react/src/table-cards.d.ts +9 -0
  107. package/dist/types/packages/react/src/table-check.d.cts +3 -0
  108. package/dist/types/packages/react/src/table-check.d.ts +3 -0
  109. package/dist/types/packages/react/src/table-grid.d.cts +9 -0
  110. package/dist/types/packages/react/src/table-grid.d.ts +9 -0
  111. package/dist/types/packages/react/src/table-model.d.cts +21 -0
  112. package/dist/types/packages/react/src/table-model.d.ts +21 -0
  113. package/dist/types/packages/react/src/table-toolbar.d.cts +2 -0
  114. package/dist/types/packages/react/src/table-toolbar.d.ts +2 -0
  115. package/dist/types/packages/react/src/table-view.d.cts +2 -0
  116. package/dist/types/packages/react/src/table-view.d.ts +2 -0
  117. package/dist/types/packages/react/src/table.d.cts +3 -0
  118. package/dist/types/packages/react/src/table.d.ts +3 -0
  119. package/dist/types/packages/react/src/time-picker.d.cts +17 -0
  120. package/dist/types/packages/react/src/time-picker.d.ts +17 -0
  121. package/dist/types/packages/react/src/toast-stack.d.cts +6 -0
  122. package/dist/types/packages/react/src/toast-stack.d.ts +6 -0
  123. package/dist/types/packages/react/src/toast.d.cts +5 -0
  124. package/dist/types/packages/react/src/toast.d.ts +5 -0
  125. package/dist/types/packages/react/src/top-navigation-context.d.cts +4 -0
  126. package/dist/types/packages/react/src/top-navigation-context.d.ts +4 -0
  127. package/dist/types/packages/react/src/typography.d.cts +19 -0
  128. package/dist/types/packages/react/src/typography.d.ts +19 -0
  129. package/dist/types/packages/react/src/use-reduced-motion.d.cts +1 -0
  130. package/dist/types/packages/react/src/use-reduced-motion.d.ts +1 -0
  131. package/dist/types/packages/react/src/use-selection-indicator.d.cts +4 -0
  132. package/dist/types/packages/react/src/use-selection-indicator.d.ts +4 -0
  133. package/dist/types/shared/package-runtime/action-size.d.cts +9 -0
  134. package/dist/types/shared/package-runtime/action-size.d.ts +9 -0
  135. package/dist/types/shared/package-runtime/combobox.d.cts +21 -0
  136. package/dist/types/shared/package-runtime/combobox.d.ts +21 -0
  137. package/dist/types/shared/package-runtime/component-icons.d.cts +2 -0
  138. package/dist/types/shared/package-runtime/component-icons.d.ts +2 -0
  139. package/dist/types/shared/package-runtime/content-presence.d.cts +3 -0
  140. package/dist/types/shared/package-runtime/content-presence.d.ts +3 -0
  141. package/dist/types/shared/package-runtime/css-contract.d.cts +5 -0
  142. package/dist/types/shared/package-runtime/css-contract.d.ts +5 -0
  143. package/dist/types/shared/package-runtime/feedback-dialog.d.cts +10 -0
  144. package/dist/types/shared/package-runtime/feedback-dialog.d.ts +10 -0
  145. package/dist/types/shared/package-runtime/feedback-motion.d.cts +11 -0
  146. package/dist/types/shared/package-runtime/feedback-motion.d.ts +11 -0
  147. package/dist/types/shared/package-runtime/form-actions.d.cts +3 -0
  148. package/dist/types/shared/package-runtime/form-actions.d.ts +3 -0
  149. package/dist/types/shared/package-runtime/icon-context.d.cts +14 -0
  150. package/dist/types/shared/package-runtime/icon-context.d.ts +14 -0
  151. package/dist/types/shared/package-runtime/icon-registry.d.cts +10 -0
  152. package/dist/types/shared/package-runtime/icon-registry.d.ts +10 -0
  153. package/dist/types/shared/package-runtime/layer-keyboard.d.cts +3 -0
  154. package/dist/types/shared/package-runtime/layer-keyboard.d.ts +3 -0
  155. package/dist/types/shared/package-runtime/layer-state.d.cts +40 -0
  156. package/dist/types/shared/package-runtime/layer-state.d.ts +40 -0
  157. package/dist/types/shared/package-runtime/market-cards.d.cts +44 -0
  158. package/dist/types/shared/package-runtime/market-cards.d.ts +44 -0
  159. package/dist/types/shared/package-runtime/market-layout.d.cts +40 -0
  160. package/dist/types/shared/package-runtime/market-layout.d.ts +40 -0
  161. package/dist/types/shared/package-runtime/navigation.d.cts +6 -0
  162. package/dist/types/shared/package-runtime/navigation.d.ts +6 -0
  163. package/dist/types/shared/package-runtime/number-motion.d.cts +4 -0
  164. package/dist/types/shared/package-runtime/number-motion.d.ts +4 -0
  165. package/dist/types/shared/package-runtime/options.d.cts +34 -0
  166. package/dist/types/shared/package-runtime/options.d.ts +34 -0
  167. package/dist/types/shared/package-runtime/portal-scope.d.cts +6 -0
  168. package/dist/types/shared/package-runtime/portal-scope.d.ts +6 -0
  169. package/dist/types/shared/package-runtime/relative-time.d.cts +1 -0
  170. package/dist/types/shared/package-runtime/relative-time.d.ts +1 -0
  171. package/dist/types/shared/package-runtime/search-input.d.cts +20 -0
  172. package/dist/types/shared/package-runtime/search-input.d.ts +20 -0
  173. package/dist/types/shared/package-runtime/select.d.cts +10 -0
  174. package/dist/types/shared/package-runtime/select.d.ts +10 -0
  175. package/dist/types/shared/package-runtime/tab-keyboard.d.cts +2 -0
  176. package/dist/types/shared/package-runtime/tab-keyboard.d.ts +2 -0
  177. package/dist/types/shared/package-runtime/table-presentation.d.cts +56 -0
  178. package/dist/types/shared/package-runtime/table-presentation.d.ts +56 -0
  179. package/dist/types/shared/package-runtime/table.d.cts +96 -0
  180. package/dist/types/shared/package-runtime/table.d.ts +96 -0
  181. package/dist/types/shared/package-runtime/toast-layout.d.cts +4 -0
  182. package/dist/types/shared/package-runtime/toast-layout.d.ts +4 -0
  183. package/dist/types/shared/package-runtime/trailing-overflow.d.cts +1 -0
  184. package/dist/types/shared/package-runtime/trailing-overflow.d.ts +1 -0
  185. package/dist/types/shared/package-runtime/use-layer.d.cts +64 -0
  186. package/dist/types/shared/package-runtime/use-layer.d.ts +64 -0
  187. package/dist/types/shared/package-runtime/use-number-motion.d.cts +1 -0
  188. package/dist/types/shared/package-runtime/use-number-motion.d.ts +1 -0
  189. package/dist/types/shared/package-runtime/use-presence.d.cts +4 -0
  190. package/dist/types/shared/package-runtime/use-presence.d.ts +4 -0
  191. package/package.json +50 -4
package/README.md CHANGED
@@ -1,3 +1,45 @@
1
- # Temporary Holding Version
1
+ # @kjun-ui/react
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Shared KJUN UI geometry, state and interaction contracts. Your app supplies colors and fonts.
4
+
5
+ Import `@kjun-ui/react/styles.css` and your project color mapping stylesheet. Define the 21 `coreColorRoles` as `--kjun-*` variables and `--kjun-font` from existing app tokens at `:root` or on `<KjunProvider>`. Optional roles listed in `colorRoleFallbacks` fall back to app-supplied roles. The Provider supplies a `.kjun-scope` styling boundary; it has no `theme` prop or palette.
6
+
7
+ Missing core colors or `--kjun-font` fail at mount/update. Components using financial colors also check all 13 domain roles in their rendered scope. Font loading and color contrast remain the app's responsibility. Numeric displays, including Deviation badges, consume `--kjun-font-numeric` (falling back to the scope font); KpiRow text values consume the body font.
8
+
9
+ Nested Providers share window ordering and Escape handling. Their overlays render outside ancestor windows while retaining the nearest Provider's color roles, fonts and live project styling changes. Place the outermost Provider outside ancestors that transform/filter or clip fixed overlays. Without a Provider, modals portal to the body and inherit document-level variables.
10
+
11
+ Project color and font setup: https://ui.kjun.dev/styling.
12
+
13
+ Pre-release local packages; not published to a registry.
14
+
15
+ ## Card composition
16
+
17
+ Card uses `surface` for its background/foreground roles, `padding` for section insets, `bodyPadding` for an independent body inset, and `radius` for none/sm/md/lg corners. `border`, `elevation` and `dividers` are independent. Use `bodyPadding="none"` to embed a table while retaining header/footer insets. `headerActions` works without a title and alongside a custom `header`. The `media` area clips only its own top corners. Native uses the supplied glass background; Web also applies backdrop blur.
18
+
19
+ ## Tab panel state
20
+
21
+ `DsTabPane` children mount with their parent tabs and stay mounted when another tab is selected. Hidden panels are excluded from layout, keyboard navigation and accessibility navigation. Removing a pane or unmounting the tabs disposes its children. Effects and timers continue while a pane is hidden; use the controlled tab value to manage active requests or subscriptions. This contract is shared across React, Vue 2 and Native. Native browser tests do not certify device behavior.
22
+
23
+ Disabled tabs block selection and auxiliary menu callbacks. Disabling or removing a tab during a press cancels its pending auxiliary action.
24
+
25
+ ## Icons
26
+
27
+ Install the local `@kjun-ui/icons` tarball together with this package and `@kjun-ui/tokens`.
28
+ Tabler 3.48.0 includes 5,166 outline and 1,054 filled icons. The existing 153 outline
29
+ names and heart/star filled shapes remain available by default. Additional icons
30
+ require an explicit import and Provider registration; `DsIcon`, `prefixIcon` and
31
+ `suffixIcon` use the same registry.
32
+
33
+ ```tsx
34
+ import rocket from '@kjun-ui/icons/icons/rocket';
35
+ const projectIcons = { rocket };
36
+ <KjunProvider icons={projectIcons}>
37
+ <DsIcon name="rocket" />
38
+ <DsButton prefixIcon="rocket">시작</DsButton>
39
+ </KjunProvider>
40
+ ```
41
+
42
+ Registries merge by name and shape: defaults, parent Provider, then current Provider.
43
+ Prop changes update descendants, including layers, without global registration.
44
+ A missing filled shape uses the registered outline; unknown names use `help-circle`.
45
+ Import `@kjun-ui/icons/all` only when intentionally registering the complete set.
package/dist/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 kjun-studio
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020-2026 Paweł Kuna
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.