jenosize-ui 0.2.1 → 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 (225) hide show
  1. package/README.md +183 -63
  2. package/THIRD-PARTY-NOTICES.md +15 -0
  3. package/dist/GradientPicker-CQm3GT7F.d.ts +144 -0
  4. package/dist/{PaymentInput-Dn5WVQVy.d.ts → PaymentInput-Cz5jFB3p.d.ts} +1 -1
  5. package/dist/{Select-Dt5ARIH8.d.ts → Select-CXOAMlk7.d.ts} +15 -1
  6. package/dist/{TagInput-BaBeve6L.d.ts → TagInput-CzIrONr-.d.ts} +1 -1
  7. package/dist/area-chart.d.ts +2 -2
  8. package/dist/area-chart.js +7 -6
  9. package/dist/at-least-one-BZ2dsck-.d.ts +18 -0
  10. package/dist/avatar.d.ts +1 -1
  11. package/dist/avatar.js +12 -11
  12. package/dist/badge.d.ts +1 -1
  13. package/dist/badge.js +6 -6
  14. package/dist/bar-chart.d.ts +2 -2
  15. package/dist/bar-chart.js +7 -6
  16. package/dist/breadcrumb.d.ts +1 -1
  17. package/dist/breadcrumb.js +4 -4
  18. package/dist/button.d.ts +1 -1
  19. package/dist/button.js +11 -10
  20. package/dist/calendar.d.ts +1 -1
  21. package/dist/calendar.js +16 -15
  22. package/dist/callout.d.ts +4 -2
  23. package/dist/callout.js +12 -11
  24. package/dist/card.d.ts +59 -3
  25. package/dist/card.js +4 -4
  26. package/dist/carousel.d.ts +169 -0
  27. package/dist/carousel.js +9 -0
  28. package/dist/catalog.json +11180 -0
  29. package/dist/checkbox.js +8 -7
  30. package/dist/{chunk-MVG5MABV.js → chunk-26XQU3TC.js} +8 -8
  31. package/dist/{chunk-X2X7Q7NW.js → chunk-2R3QWWOT.js} +3 -3
  32. package/dist/{chunk-AIARANKE.js → chunk-3JQKVC2K.js} +4 -4
  33. package/dist/chunk-3P3QZPHV.js +109 -0
  34. package/dist/{chunk-GLKFFA7N.js → chunk-44AWXIQK.js} +5 -5
  35. package/dist/{chunk-FWRHBMWT.js → chunk-4Y32RIC7.js} +5 -19
  36. package/dist/{chunk-5XPMY2LF.js → chunk-5ECTNYKU.js} +5 -5
  37. package/dist/{chunk-6B6BWTXC.js → chunk-5GBA6X6A.js} +5 -5
  38. package/dist/{chunk-UGKELBNC.js → chunk-5SGF47TZ.js} +9 -9
  39. package/dist/{chunk-POQTE7JI.js → chunk-5XSR757T.js} +7 -7
  40. package/dist/{chunk-GZMDZF2V.js → chunk-6FGLABYH.js} +3 -3
  41. package/dist/{chunk-MCQG4H6T.js → chunk-6T3QAO5K.js} +12 -4
  42. package/dist/{chunk-SKRR3ZMP.js → chunk-737A4YNC.js} +3 -3
  43. package/dist/{chunk-AFYXSZGW.js → chunk-7LSUUEAF.js} +7 -5
  44. package/dist/{chunk-7VLYQR4D.js → chunk-7OFGPDYJ.js} +3 -3
  45. package/dist/{chunk-54SIZR63.js → chunk-7UCKFULR.js} +7 -7
  46. package/dist/{chunk-LQURV7HQ.js → chunk-7ZA3QZRP.js} +4 -4
  47. package/dist/{chunk-X2VMIBK5.js → chunk-A4YPUS6C.js} +4 -4
  48. package/dist/{chunk-5ZEUTSCV.js → chunk-B4OVIE2X.js} +6 -6
  49. package/dist/{chunk-P6CON2R2.js → chunk-BH32X25C.js} +3 -3
  50. package/dist/{chunk-667ZHY3T.js → chunk-BJHLW25G.js} +85 -538
  51. package/dist/{chunk-ULGCGKOE.js → chunk-BKBINQJZ.js} +4 -4
  52. package/dist/{chunk-CFFWYXDW.js → chunk-BXQFBFT7.js} +5 -5
  53. package/dist/{chunk-I6WMNXC7.js → chunk-CQGMOPLG.js} +6 -6
  54. package/dist/{chunk-FNQJJO63.js → chunk-CUONE6LA.js} +4 -4
  55. package/dist/{chunk-FFMTYQXE.js → chunk-CVCS5G3E.js} +43 -21
  56. package/dist/{chunk-33TOK7ES.js → chunk-DCKVNHV5.js} +5 -5
  57. package/dist/{chunk-A323V6AI.js → chunk-DYRGHXT5.js} +3 -3
  58. package/dist/{chunk-T4ZFZTY6.js → chunk-EHML2DLR.js} +4 -4
  59. package/dist/{chunk-N3RVMBPX.js → chunk-EJKQGUUM.js} +4 -4
  60. package/dist/{chunk-E2YZ7IMT.js → chunk-ESDSTS5N.js} +6 -6
  61. package/dist/{chunk-LCG34A5T.js → chunk-EVINS473.js} +5 -3
  62. package/dist/chunk-EXRVOGJ5.js +325 -0
  63. package/dist/{chunk-YHBI52P2.js → chunk-GDW6NFYN.js} +3 -3
  64. package/dist/chunk-GOCO45FF.js +619 -0
  65. package/dist/{chunk-7ZM7SNCZ.js → chunk-GPHGPY6T.js} +3 -3
  66. package/dist/{chunk-PO2TYK3C.js → chunk-GWYDOZGQ.js} +3 -3
  67. package/dist/{chunk-LO22VQL5.js → chunk-HNNNJP3A.js} +4 -4
  68. package/dist/{chunk-ZZSNTCCL.js → chunk-IESEBPYA.js} +4 -4
  69. package/dist/{chunk-3H444OJA.js → chunk-JZ4HGFWK.js} +3 -3
  70. package/dist/chunk-KBQJIVUB.js +33 -0
  71. package/dist/{chunk-CKMWBVRR.js → chunk-KCM4KEZ2.js} +4 -4
  72. package/dist/{chunk-3QXLIZIX.js → chunk-KNGJ3CSB.js} +3 -3
  73. package/dist/{chunk-FH7Z7SGQ.js → chunk-KNW3IUWX.js} +12 -11
  74. package/dist/{chunk-KZP6B6B3.js → chunk-KTWTYK5U.js} +16 -5
  75. package/dist/{chunk-LYXPJERB.js → chunk-L7Z6XGBU.js} +5 -5
  76. package/dist/{chunk-ZHAT2XZ4.js → chunk-LLUWBQK6.js} +10 -10
  77. package/dist/{chunk-QHH6AUR3.js → chunk-MDKVYC6R.js} +7 -7
  78. package/dist/{chunk-22M75A3N.js → chunk-MS6DY4CE.js} +14 -11
  79. package/dist/{chunk-LLPWQDF7.js → chunk-MTOTPAYZ.js} +3 -3
  80. package/dist/{chunk-AZ7DKRBY.js → chunk-MVF7FA4D.js} +5 -5
  81. package/dist/{chunk-AIGYMTCU.js → chunk-MVUNB43J.js} +3 -3
  82. package/dist/{chunk-ZMFY7WAY.js → chunk-O24HHIQG.js} +41 -39
  83. package/dist/{chunk-NKG4N6HA.js → chunk-O5EHNNPS.js} +4 -4
  84. package/dist/{chunk-5DP7W5HX.js → chunk-OIPFTJS6.js} +3 -3
  85. package/dist/{chunk-U4WSJAYK.js → chunk-OXNIEIOY.js} +20 -20
  86. package/dist/chunk-P2BGR77C.js +344 -0
  87. package/dist/{chunk-CGHYXWTT.js → chunk-PFAFTLN3.js} +4 -4
  88. package/dist/{chunk-4RBIWI2Q.js → chunk-Q2KR7PSX.js} +3 -3
  89. package/dist/{chunk-7GUPNTAH.js → chunk-QSOLK2I2.js} +7 -7
  90. package/dist/chunk-QTWRR7IS.js +1129 -0
  91. package/dist/{chunk-OLLD2BZN.js → chunk-QZHAL4BL.js} +3 -3
  92. package/dist/{chunk-OACWA4TC.js → chunk-R25NHHYT.js} +6 -6
  93. package/dist/{chunk-QDKETK7D.js → chunk-S55JKMG7.js} +5 -5
  94. package/dist/{chunk-S5TEWPWW.js → chunk-S5LLA36K.js} +10 -10
  95. package/dist/{chunk-QDYE5LVT.js → chunk-SF3HCW4G.js} +45 -4
  96. package/dist/{chunk-KHGW72BM.js → chunk-SGMVB7HD.js} +3 -3
  97. package/dist/{chunk-FKVPAEJ6.js → chunk-SKJC2KYD.js} +4 -3
  98. package/dist/chunk-SKPKL47Y.js +5671 -0
  99. package/dist/{chunk-6MMBQVRO.js → chunk-TCTTZHUS.js} +9 -9
  100. package/dist/chunk-U5X3MLM5.js +67 -0
  101. package/dist/chunk-UHSGD4CD.js +364 -0
  102. package/dist/chunk-UJ4WEQHR.js +525 -0
  103. package/dist/{chunk-6H4LNWQ7.js → chunk-VDFWWWLL.js} +9 -4
  104. package/dist/{chunk-5KSD4WKN.js → chunk-VIKV25VP.js} +5 -5
  105. package/dist/chunk-WJB5GWAZ.js +20 -0
  106. package/dist/{chunk-HHYEAFCL.js → chunk-XAQQ4LYL.js} +11 -11
  107. package/dist/{chunk-4VGEJG4M.js → chunk-XCFFM2C7.js} +9 -9
  108. package/dist/chunk-XKTD3X6Z.js +183 -0
  109. package/dist/{chunk-GQRSABRN.js → chunk-XWXXKEG6.js} +4 -4
  110. package/dist/chunk-YGFTNICV.js +110 -0
  111. package/dist/{chunk-T5574MXM.js → chunk-YGJL7QS7.js} +8 -8
  112. package/dist/{chunk-SB3DG572.js → chunk-YKPTUANT.js} +6 -6
  113. package/dist/{chunk-YQYVGWIC.js → chunk-YQAYAJ2T.js} +33 -11
  114. package/dist/chunk-YXYZW6WU.js +998 -0
  115. package/dist/{chunk-IQNVSQRK.js → chunk-Z6NSOC6T.js} +5 -5
  116. package/dist/{chunk-BBKE4W3B.js → chunk-ZAWGG4H2.js} +7 -7
  117. package/dist/{chunk-BFVJHH7S.js → chunk-ZF362B2X.js} +5 -5
  118. package/dist/{chunk-RJTVCA62.js → chunk-ZJIY642R.js} +3 -3
  119. package/dist/color-input.d.ts +93 -0
  120. package/dist/color-input.js +35 -0
  121. package/dist/color-picker.d.ts +268 -0
  122. package/dist/color-picker.js +28 -0
  123. package/dist/color-value-DYzChVOW.d.ts +129 -0
  124. package/dist/combobox.d.ts +1 -1
  125. package/dist/combobox.js +13 -12
  126. package/dist/date-calendar.d.ts +49 -0
  127. package/dist/date-calendar.js +12 -0
  128. package/dist/date-input.d.ts +1 -1
  129. package/dist/date-input.js +11 -10
  130. package/dist/date-picker.d.ts +15 -131
  131. package/dist/date-picker.js +26 -22
  132. package/dist/date-types-DrDdF6WJ.d.ts +100 -0
  133. package/dist/dialog.d.ts +1 -1
  134. package/dist/dialog.js +10 -10
  135. package/dist/drawer.d.ts +1 -1
  136. package/dist/drawer.js +9 -9
  137. package/dist/dropdown-menu.d.ts +1 -1
  138. package/dist/dropdown-menu.js +6 -6
  139. package/dist/dropzone.d.ts +3 -3
  140. package/dist/dropzone.js +17 -16
  141. package/dist/form.d.ts +15 -5
  142. package/dist/form.js +75 -36
  143. package/dist/header-navigation.d.ts +2 -2
  144. package/dist/header-navigation.js +21 -20
  145. package/dist/helper.d.ts +1 -1
  146. package/dist/index.d.ts +25 -11
  147. package/dist/index.js +92 -79
  148. package/dist/indicator.js +4 -4
  149. package/dist/inline-banner.d.ts +68 -0
  150. package/dist/inline-banner.js +20 -0
  151. package/dist/input.d.ts +1 -1
  152. package/dist/input.js +10 -9
  153. package/dist/kanban-board.d.ts +2 -2
  154. package/dist/kanban-board.js +16 -15
  155. package/dist/labels-C992bt7G.d.ts +1160 -0
  156. package/dist/line-chart.d.ts +2 -2
  157. package/dist/line-chart.js +7 -6
  158. package/dist/mcp.js +231 -0
  159. package/dist/number-input.d.ts +1 -1
  160. package/dist/number-input.js +10 -9
  161. package/dist/pagination.d.ts +1 -1
  162. package/dist/pagination.js +14 -13
  163. package/dist/{card-D56VxyAe.d.ts → panel-CUGm_Mxy.d.ts} +9 -57
  164. package/dist/payment-input.d.ts +3 -3
  165. package/dist/payment-input.js +10 -9
  166. package/dist/picker-draft-BPV3MUPY.d.ts +9 -0
  167. package/dist/pie-chart.d.ts +2 -2
  168. package/dist/pie-chart.js +7 -6
  169. package/dist/popover.d.ts +65 -4
  170. package/dist/popover.js +9 -9
  171. package/dist/progress-steps.js +4 -4
  172. package/dist/progress.js +3 -3
  173. package/dist/provider.d.ts +1 -1
  174. package/dist/provider.js +3 -3
  175. package/dist/qr-code.d.ts +227 -0
  176. package/dist/qr-code.js +19 -0
  177. package/dist/radar-chart.d.ts +2 -2
  178. package/dist/radar-chart.js +7 -6
  179. package/dist/radial-chart.d.ts +2 -2
  180. package/dist/radial-chart.js +7 -6
  181. package/dist/radio.js +8 -7
  182. package/dist/rich-text-editor.d.ts +624 -0
  183. package/dist/rich-text-editor.js +51 -0
  184. package/dist/rich-text-highlight.d.ts +11 -0
  185. package/dist/rich-text-highlight.js +65 -0
  186. package/dist/rich-text-sanitize.d.ts +17 -0
  187. package/dist/rich-text-sanitize.js +176 -0
  188. package/dist/scroll-area.js +2 -2
  189. package/dist/select.d.ts +2 -2
  190. package/dist/select.js +17 -16
  191. package/dist/separator.js +2 -2
  192. package/dist/shared-CGf2D8ZX.d.ts +20 -0
  193. package/dist/sidebar-navigation.d.ts +76 -27
  194. package/dist/sidebar-navigation.js +16 -15
  195. package/dist/sidebar-state.d.ts +76 -0
  196. package/dist/sidebar-state.js +27 -0
  197. package/dist/skeleton.js +2 -2
  198. package/dist/slider.d.ts +321 -0
  199. package/dist/slider.js +13 -0
  200. package/dist/styles.css +1 -1
  201. package/dist/switch.d.ts +1 -1
  202. package/dist/switch.js +2 -2
  203. package/dist/table.d.ts +3 -19
  204. package/dist/table.js +34 -33
  205. package/dist/tabs.js +2 -2
  206. package/dist/tag-input.d.ts +3 -3
  207. package/dist/tag-input.js +13 -12
  208. package/dist/tag.d.ts +1 -1
  209. package/dist/tag.js +4 -4
  210. package/dist/textarea.js +8 -7
  211. package/dist/theme.css +965 -0
  212. package/dist/theme.js +12 -11
  213. package/dist/toast.d.ts +1 -1
  214. package/dist/toast.js +12 -11
  215. package/dist/tooltip.js +4 -3
  216. package/dist/tree.d.ts +1 -1
  217. package/dist/tree.js +6 -6
  218. package/dist/{types-DR9rAEy1.d.ts → types-DYFl0CEB.d.ts} +1 -1
  219. package/dist/{use-uploads-KaPqDklo.d.ts → use-uploads-2E7n0PWT.d.ts} +1 -1
  220. package/dist/verification-code-input.js +10 -9
  221. package/package.json +92 -8
  222. package/dist/chunk-BLIZ3CL3.js +0 -49
  223. package/dist/labels-DPrh0se9.d.ts +0 -627
  224. package/dist/panel-El4oI68p.d.ts +0 -9
  225. package/dist/shared-BYXJPnsN.d.ts +0 -11
package/README.md CHANGED
@@ -1,54 +1,44 @@
1
1
  # jenosize-ui
2
2
 
3
- An **opinionated** React component library. Every interactive component ships **fixed styling that
4
- is ours**, built on a best-in-slot **headless primitive** ([Base UI](https://base-ui.com) —
5
- `@base-ui/react`); behavior + accessibility come from the primitive, the look comes from us.
3
+ [![npm version](https://img.shields.io/npm/v/jenosize-ui.svg)](https://www.npmjs.com/package/jenosize-ui)
4
+ [![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jenosize-dev-ai-05/jenosize-ui/blob/main/LICENSE)
5
+ ![types: included](https://img.shields.io/badge/types-included-blue.svg)
6
+ [![React 19](https://img.shields.io/badge/React-19-149eca.svg)](https://react.dev)
6
7
 
7
- It is **opinionated, not flexible**: few fixed variants, strong defaults, no arbitrary color/style
8
- props. `className` is for layout/spacing only. Published to npm as **`jenosize-ui`** (MIT), and
9
- still installable as a **git dependency** pinned by tag.
8
+ React 19 component library: 58 components and a ~2,600-icon catalogue on
9
+ [Base UI](https://base-ui.com) primitives, styled with Tailwind CSS v4 semantic tokens.
10
+ TypeScript, ESM-only, one import subpath per component.
10
11
 
11
- **ESM-only, Node ≥ 22.** There is no `main`, no `types`, and no `require` export condition — the
12
- package resolves through `exports` alone. A CJS `require()`, or any tool that ignores `exports`,
13
- resolves nothing.
12
+ **[Live demo](https://jenosize-dev-ai-05.github.io/jenosize-ui/) ·
13
+ [Docs](https://github.com/jenosize-dev-ai-05/jenosize-ui/tree/main/docs) ·
14
+ [MCP server for AI agents](#for-ai-coding-agents) ·
15
+ [Source](https://github.com/jenosize-dev-ai-05/jenosize-ui) ·
16
+ [Changelog](https://github.com/jenosize-dev-ai-05/jenosize-ui/blob/main/CHANGELOG.md)**
14
17
 
15
- - **Specs:** [`docs/`](./docs/) — the per-component contracts, theme tokens, and typography.
16
- - **Implementation plan:** [`docs/IMPLEMENTATION-PLAN.md`](./docs/IMPLEMENTATION-PLAN.md).
17
- - **Install guide:** [`docs/install.md`](./docs/install.md).
18
+ ## Install
18
19
 
19
- ## Components (49)
20
-
21
- `AreaChart` · `Avatar` · `Badge` · `BarChart` · `Breadcrumb` · `Button` · `Calendar` · `Callout` ·
22
- `Card` · `Checkbox` · `Combobox` · `DateInput` · `DatePicker` · `Dialog` · `Drawer` ·
23
- `DropdownMenu` · `Dropzone` · `FileList` · `FileTrigger` · `HeaderNavigation` · `Illustration` · `Indicator` · `Input` ·
24
- `KanbanBoard` · `LineChart` · `NumberInput` · `Pagination` · `PaymentInput` · `PieChart` ·
25
- `Popover` · `Progress` · `ProgressSteps` ·
26
- `RadarChart` · `RadialChart` · `RadioGroup` · `ScrollArea` · `Select` · `Separator` · `SidebarNavigation` · `Skeleton` ·
27
- `Switch` · `Table` · `Tabs` · `Tag` · `TagInput` · `Textarea` · `Toast` · `Tooltip` · `Tree` ·
28
- `VerificationCodeInput`
20
+ ```bash
21
+ npm i jenosize-ui react react-dom @base-ui/react
22
+ npm i -D tailwindcss @tailwindcss/postcss # or @tailwindcss/vite
23
+ ```
29
24
 
30
- Plus a **~2,600-icon catalogue** on its own subpaths (`jenosize-ui/icons` + `/payment` `/app`
31
- `/integration` `/flag`) and a **form layer** on `jenosize-ui/form`. One spec per component in
32
- [`docs/components/`](./docs/components/); `pnpm index:check` keeps this list honest.
25
+ Nothing else. The engines behind the bigger components (`react-hook-form`,
26
+ `@tanstack/react-table`, `date-fns`, `react-day-picker`, `lucide-react`, `embla-carousel`,
27
+ ProseMirror) are real dependencies and install with the library — there is no
28
+ optional peer to remember.
33
29
 
34
- ## Quick start
30
+ ## Setup
35
31
 
36
- ```bash
37
- # install from npm + peers
38
- pnpm add jenosize-ui
39
- pnpm add react react-dom @base-ui/react
40
- pnpm add -D tailwindcss @tailwindcss/postcss # or @tailwindcss/vite
41
- # nothing else — the hidden engines (react-hook-form, @tanstack/react-table, date-fns,
42
- # @date-fns/tz, react-day-picker) are real dependencies and come with the library.
43
- # The icon catalogue needs nothing extra — lucide-react is a plain dependency.
44
- ```
32
+ Tailwind v4 is CSS-first. There is no `tailwind.config.js`.
45
33
 
46
34
  ```css
47
- /* app/global.css — Tailwind v4 (CSS-first, no tailwind.config.js) */
35
+ /* app/global.css */
48
36
  @import "tailwindcss";
49
- @import "jenosize-ui/theme.css"; /* @theme tokens + .dark remap */
50
- @source "../node_modules/jenosize-ui/dist"; /* let Tailwind scan the lib */
51
- /* …or skip @source and use the precompiled bundle: @import "jenosize-ui/styles.css"; */
37
+ @import "jenosize-ui/theme.css"; /* @theme tokens + the .dark remap */
38
+ @source "../node_modules/jenosize-ui/dist"; /* let Tailwind scan the library */
39
+
40
+ /* …or skip @source and take the precompiled bundle instead: */
41
+ /* @import "jenosize-ui/styles.css"; */
52
42
  ```
53
43
 
54
44
  ```tsx
@@ -63,41 +53,171 @@ export default function Page() {
63
53
  }
64
54
  ```
65
55
 
66
- Toggle dark mode by putting `class="dark"` on `<html>`.
56
+ Dark mode is a global `class="dark"` on `<html>`. For SSR without a flash, render `<ThemeScript />`
57
+ from `jenosize-ui/theme-script` in `<head>`; for a runtime toggle, use `ThemeProvider` / `useTheme`
58
+ from `jenosize-ui/theme`.
59
+
60
+ Framework-by-framework setup (Next.js App Router, Vite, fonts, SSR):
61
+ [`docs/install.md`](https://github.com/jenosize-dev-ai-05/jenosize-ui/blob/main/docs/install.md).
62
+
63
+ ## Requirements
64
+
65
+ | Requirement | Value |
66
+ | ---------------- | ----------------------------- |
67
+ | Node | ≥ 22 |
68
+ | React | ≥ 19 (peer, with `react-dom`) |
69
+ | `@base-ui/react` | ≥ 1 (peer) |
70
+ | Tailwind CSS | ≥ 4 (peer, dev-side) |
71
+ | Module format | **ESM only** |
72
+
73
+ **ESM-only, `exports`-only.** There is no `main`, no `types` field, and no `require` condition — the
74
+ package resolves through `exports` alone. A CJS `require()`, or any tool that ignores `exports`,
75
+ resolves nothing.
76
+
77
+ ## Imports
78
+
79
+ 70 subpaths beside the barrel. Every component has its own, so a one-component import does not pull
80
+ the charts or the rich-text editor into your bundle.
81
+
82
+ ```ts
83
+ import { Button, Input, Table } from "jenosize-ui"; // the barrel
84
+ import { Button } from "jenosize-ui/button"; // one component
85
+ import { useForm } from "jenosize-ui/form"; // the form layer
86
+ import { JenosizeUIProvider } from "jenosize-ui/provider"; // app-level config
87
+ import { ThemeProvider, useTheme } from "jenosize-ui/theme";
88
+ import { ThemeScript } from "jenosize-ui/theme-script"; // server-safe, no "use client"
89
+ import { SearchIcon, PlusIcon } from "jenosize-ui/icons";
90
+ import { PaymentVisaIcon } from "jenosize-ui/icons/payment"; // + /app /integration /flag
91
+ ```
92
+
93
+ ## API conventions
94
+
95
+ The same rules hold across every component, so one component teaches the rest.
96
+
97
+ - **Variants are closed string unions** (`variant`, `size`, `color`, `tone`) with a default in the
98
+ type. There are no color, style, or token props — a value that is not in the union is a type error.
99
+ - **`className` is layout and spacing**, merged with `tailwind-merge`. It does not restyle internals;
100
+ to change the look, change the theme tokens.
101
+ - **Polymorphism is Base UI's `render` prop** (`<Button render={<a href="/x" />}>`). There is no `as`
102
+ prop.
103
+ - **List components are data-first and flat**: pass `options` (Select, Combobox, RadioGroup,
104
+ CheckboxGroup, TagGroup), `items` (Tabs, DropdownMenu), or `columns` + `rows` into `useTable()`
105
+ and hand the result to `<Table>`. No compound parts (`Select.Root`, `Select.Item`) are exported.
106
+ - **Validity is one contract**: `invalid?: boolean` plus `error?: string` on every field control; a
107
+ non-empty `error` implies `invalid` and replaces the `hint`.
108
+ - **Copy, links, and locale are app-level**: wrap once in `<JenosizeUIProvider>` from
109
+ `jenosize-ui/provider` to override built-in English strings (`labels`), hand the library your
110
+ router's `Link` (`link`), or set `locale` / `timeZone`. Per-instance props win over it.
111
+
112
+ Full reference:
113
+ [`docs/api-policy.md`](https://github.com/jenosize-dev-ai-05/jenosize-ui/blob/main/docs/api-policy.md)
114
+ · [`docs/theme.md`](https://github.com/jenosize-dev-ai-05/jenosize-ui/blob/main/docs/theme.md).
115
+
116
+ ## For AI coding agents
67
117
 
68
- ## Develop
118
+ Three ways in, cheapest first. None of them needs a clone.
119
+
120
+ ### 1. MCP server — one command
121
+
122
+ The library answers questions about itself over MCP. The server ships **inside the package**, so
123
+ there is nothing to clone and nothing extra to install:
69
124
 
70
125
  ```bash
71
- pnpm install
72
- pnpm hooks:install # once per clone — activates the pre-commit/pre-push gates
73
- pnpm dev # Vite playground at http://localhost:5173
74
- pnpm typecheck # tsc --noEmit
75
- pnpm build # ESM .js + .d.ts + theme.css + styles.css → dist/
126
+ claude mcp add jenosize-ui -- npx -p jenosize-ui jenosize-ui-mcp
127
+ ```
128
+
129
+ Any MCP client works — the equivalent config entry is:
130
+
131
+ ```json
132
+ { "mcpServers": { "jenosize-ui": { "command": "npx", "args": ["-p", "jenosize-ui", "jenosize-ui-mcp"] } } }
133
+ ```
134
+
135
+ | Tool | Input | Returns |
136
+ | ---------------------- | ------------------ | -------------------------------------------------------------------- |
137
+ | `list_components` | — | Every component: slug, import path, status, summary. **Call first.** |
138
+ | `get_component` | `{ slug }` | Full entry: props, usage, variants, states, a11y, do / don't |
139
+ | `get_props` | `{ slug }` | Just the prop schema — `{ prop, type, default, description }` |
140
+ | `get_usage` | `{ slug }` | The copy-paste `tsx` example + its import |
141
+ | `search_components` | `{ query }` | Slug / title / summary match |
142
+ | `screenshot_component` | `{ slug, theme? }` | A link to the component rendered live, theme pinned |
143
+
144
+ It reads a catalog snapshot shipped in the package, so the answers describe **the version you
145
+ actually installed** — not whatever is on `main`. Zero dependencies of its own.
146
+
147
+ ### 2. Read the contracts directly
148
+
149
+ Already installed? The catalog is a plain file in `node_modules` — no server, no network:
150
+
76
151
  ```
152
+ node_modules/jenosize-ui/dist/catalog.json
153
+ ```
154
+
155
+ Or fetch it, along with the rest:
156
+
157
+ | URL | What it is |
158
+ | -------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
159
+ | [`/llms.txt`](https://jenosize-dev-ai-05.github.io/jenosize-ui/llms.txt) | The index — start here |
160
+ | [`/catalog.json`](https://jenosize-dev-ai-05.github.io/jenosize-ui/catalog.json) | Every component as JSON: import path, summary, prop tables, usage code, a11y |
161
+ | [`/api-snapshot.md`](https://jenosize-dev-ai-05.github.io/jenosize-ui/api-snapshot.md) | The whole public API — every export with its full signature |
162
+ | [`/components/<slug>`](https://jenosize-dev-ai-05.github.io/jenosize-ui/) | The component rendered live; add `?theme=dark` |
163
+
164
+ Both generated files are gated against the code they describe, so they cannot fall behind a release.
165
+
166
+ ### 3. A prompt you can paste
167
+
168
+ > Use the `jenosize-ui` component library. Its full API is at
169
+ > `https://jenosize-dev-ai-05.github.io/jenosize-ui/catalog.json` — fetch it before writing any UI.
170
+ > Rules: import from `jenosize-ui` or the per-component subpath, pass data through the documented
171
+ > props (`options` / `items` / `columns` + `rows`), never invent a prop, never pass colors or
172
+ > styling — `className` is layout and spacing only.
173
+
174
+ Context7 indexes this repo from `context7.json`, so an agent with the Context7 MCP server can ask
175
+ for `jenosize-ui` by name and get the specs under `docs/` plus the house rules. The three routes
176
+ above need no MCP server at all.
177
+
178
+ ## Components (57)
179
+
180
+ `AreaChart` · `Avatar` · `Badge` · `BarChart` · `Breadcrumb` · `Button` · `Calendar` · `Callout` ·
181
+ `Card` · `Carousel` · `Checkbox` · `ColorInput` · `ColorPicker` · `Combobox` · `DateCalendar` · `DateInput` · `DatePicker` · `Dialog` · `Drawer` ·
182
+ `DropdownMenu` · `Dropzone` · `FileList` · `FileTrigger` · `HeaderNavigation` · `Illustration` · `Indicator` ·
183
+ `InlineBanner` · `Input` ·
184
+ `KanbanBoard` · `LineChart` · `NumberInput` · `Pagination` · `PaymentInput` · `PieChart` ·
185
+ `Popover` · `Progress` · `ProgressSteps` · `QrCode` ·
186
+ `RadarChart` · `RadialChart` · `RadioGroup` · `RichTextEditor` · `ScrollArea` · `Select` · `Separator` · `SidebarNavigation` · `Skeleton` · `Slider` ·
187
+ `Switch` · `Table` · `Tabs` · `Tag` · `TagInput` · `Textarea` · `Toast` · `Tooltip` · `Tree` ·
188
+ `VerificationCodeInput`
189
+
190
+ Plus a **~2,600-icon catalogue** on its own subpaths (`jenosize-ui/icons` + `/payment` `/app`
191
+ `/integration` `/flag`) and a **form layer** on `jenosize-ui/form`.
192
+
193
+ Every one of them is live in the
194
+ **[demo](https://jenosize-dev-ai-05.github.io/jenosize-ui/)** (pick from its sidebar) and specced in
195
+ **[`docs/components/`](https://github.com/jenosize-dev-ai-05/jenosize-ui/tree/main/docs/components)**.
77
196
 
78
- Releasing (maintainer): `pnpm release <patch|minor|major> --push --npm` runs the full gate suite,
79
- bumps + changelogs, commits the built `dist/` onto the tag (never onto `main`), pushes branch + tag,
80
- then publishes to npm. That local step **is** the publisher — there is no CI in the loop; see
81
- [`docs/install.md` §c](./docs/install.md).
197
+ ## Documentation
82
198
 
83
- `--npm` is opt-in and refused alongside `--skip-checks` or without `--push`: a git push is
84
- retryable, an npm publish is a one-way door.
199
+ - [`docs/`](https://github.com/jenosize-dev-ai-05/jenosize-ui/tree/main/docs) — the index.
200
+ - [`docs/install.md`](https://github.com/jenosize-dev-ai-05/jenosize-ui/blob/main/docs/install.md) — install and framework setup.
201
+ - [`docs/theme.md`](https://github.com/jenosize-dev-ai-05/jenosize-ui/blob/main/docs/theme.md) — every `@theme` token, generated from the stylesheet.
202
+ - [`docs/api-policy.md`](https://github.com/jenosize-dev-ai-05/jenosize-ui/blob/main/docs/api-policy.md) — why the list components are data-first and flat.
203
+ - [`docs/i18n-policy.md`](https://github.com/jenosize-dev-ai-05/jenosize-ui/blob/main/docs/i18n-policy.md) — overriding the library's built-in strings.
204
+ - [`docs/link-policy.md`](https://github.com/jenosize-dev-ai-05/jenosize-ui/blob/main/docs/link-policy.md) — wiring your router into every component that renders an `href`.
205
+ - [`docs/mcp.md`](https://github.com/jenosize-dev-ai-05/jenosize-ui/blob/main/docs/mcp.md) — the MCP server.
85
206
 
86
- Add **`--npm-tag next`** to publish a version that is installable by name but is **not** what a bare
87
- `pnpm add jenosize-ui` resolves to — the way to test the real tarball before it becomes everyone's
88
- default. Promote it with `npm dist-tag add jenosize-ui@<version> latest`.
207
+ Issues and source: [github.com/jenosize-dev-ai-05/jenosize-ui](https://github.com/jenosize-dev-ai-05/jenosize-ui).
89
208
 
90
209
  ## License
91
210
 
92
- MIT — see [`LICENSE`](./LICENSE).
211
+ MIT — see [`LICENSE`](https://github.com/jenosize-dev-ai-05/jenosize-ui/blob/main/LICENSE), which
212
+ ships inside the package.
93
213
 
94
- This package redistributes third-party artwork (national flags, payment/app/integration brand
95
- marks, and four illustrations) under separate permissive licences. Their copyright notices and
96
- full licence texts are in [`THIRD-PARTY-NOTICES.md`](./THIRD-PARTY-NOTICES.md), which ships inside
97
- the package. The Tier-2 core icon catalogue (`jenosize-ui/icons`) contains **no** glyph data — it
98
- re-exports lucide-react (ISC), which installs automatically as a plain dependency, so there is no
99
- optional peer to install and no upstream terms for a consumer to accept. See
100
- [`docs/icon-policy.md`](./docs/icon-policy.md) § Licensing.
214
+ This package redistributes third-party artwork (national flags, payment / app / integration brand
215
+ marks, and four illustrations) under separate permissive licences. Their copyright notices and full
216
+ licence texts are in
217
+ [`THIRD-PARTY-NOTICES.md`](https://github.com/jenosize-dev-ai-05/jenosize-ui/blob/main/THIRD-PARTY-NOTICES.md),
218
+ which ships inside the package too. The core icon catalogue (`jenosize-ui/icons`) contains no glyph
219
+ data — it re-exports lucide-react (ISC), which installs automatically as a plain dependency, so
220
+ there is no optional peer to install and no upstream terms to accept.
101
221
 
102
222
  The brand marks and flags are third-party trademarks. MIT grants copyright permission, never
103
223
  trademark rights, and their inclusion implies no affiliation or endorsement.
@@ -22,6 +22,21 @@ nothing from those packages is present in `dist`. A consumer who installs them i
22
22
  UI's own licence terms (<https://www.untitledui.com/license>), which are **not** MIT despite that
23
23
  package's npm metadata. See `docs/icon-policy.md` § Licensing.
24
24
 
25
+ **Engines are not redistributed either, and that is measured rather than assumed.** Every engine this
26
+ library sits on — `@tiptap/*` + ProseMirror (RichTextEditor), `lowlight` (MIT) + `highlight.js`
27
+ (BSD-3-Clause), which paint that editor's code blocks, recharts, `@tanstack/react-table`,
28
+ react-day-picker, date-fns, react-hook-form — is **externalised** by `tsup.config.ts`, so `dist/`
29
+ imports it and contains none of it. No entry is owed here for any of them. The highlighter is the one
30
+ where the distinction has teeth rather than being merely tidy: BSD-3-Clause §2 requires the copyright
31
+ notice and disclaimer be reproduced **in a redistribution**, so inlining those nine grammar tables
32
+ (76 kB minified, 25 kB gzip — measured) into `dist/rich-text-editor.js` is precisely what would oblige us to carry them here. `pnpm treeshake:check`
33
+ is what keeps that true for the largest of them: it bundles `dist/rich-text-editor.js` and asserts a
34
+ `node_modules/@tiptap/…` edge is still there to follow (an inlined engine would leave nothing to
35
+ follow, which would make the check pass for the wrong reason **and** silently reverse this
36
+ paragraph), and bundles `dist/button.js` to assert no other subpath reaches it. Its probe covers
37
+ `lowlight/` and `highlight.js/` too, which is what keeps the sentence above true rather than
38
+ aspirational.
39
+
25
40
  **Trademarks.** The payment, app and integration marks (Visa, Mastercard, American Express, JCB,
26
41
  UnionPay, Figma, GitHub, Claude, ChatGPT, and others) and the national flags are trademarks or
27
42
  state emblems of their respective owners. The MIT and ISC licences below grant **copyright**
@@ -0,0 +1,144 @@
1
+ import * as React from 'react';
2
+ import { d as GradientType, G as GradientStop } from './color-value-DYzChVOW.js';
3
+ import { e as ColorPickerLabels } from './labels-C992bt7G.js';
4
+
5
+ /**
6
+ * One colour on offer, with a name.
7
+ *
8
+ * The object form exists for exactly one reason: **a token's whole value is its NAME.** A chip whose
9
+ * accessible name is `"Color #7f56d9"` tells a screen-reader user the one thing about a design token
10
+ * that does not matter, and withholds the one that does. `label` is caller CONTENT, so it wins over
11
+ * the label table outright rather than being formatted by it.
12
+ *
13
+ * `color` may be any CSS colour, **including a custom-property reference** — a house token or the
14
+ * app's own (`var(--brand-hero)`). Those are ONE mechanism on purpose: the library ships the grid,
15
+ * never the colour data, so "our tokens" is not a special case the component knows about, it is just a
16
+ * var the caller happened to name.
17
+ *
18
+ * **Spell a HOUSE colour with `token()` (`src/lib/token.ts`), never by hand.** `token("brand-600")` returns
19
+ * `"var(--color-brand-600)"` from a GENERATED closed union gated by `pnpm tokens:check`, so a name that
20
+ * does not exist is a type error. Hand-written it is not: `var(--color-brnad-600)` is valid CSS that
21
+ * throws nothing, warns nothing and fails no gate — the declaration is simply invalid at
22
+ * computed-value time and the element keeps its inherited colour. This prop stays `string` because it
23
+ * must ALSO accept the app's own properties, which no union of ours could enumerate; that is the same
24
+ * split the chart family already ships, where `palette` is `readonly string[]` and the idiom at every
25
+ * call site is `token()`.
26
+ *
27
+ * ```tsx
28
+ * swatches={[{ color: token("brand-600"), label: "Brand" }, { color: "var(--brand-hero)", label: "Hero" }]}
29
+ * ```
30
+ */
31
+ interface ColorSwatch {
32
+ /** Any CSS colour, or a `var()` reference to one. Painted verbatim — CSS resolves it natively. */
33
+ readonly color: string;
34
+ /** What the chip announces, instead of its hex. A token's name is the reason to offer it. */
35
+ readonly label?: string;
36
+ }
37
+ /**
38
+ * What a swatch pick carries BESIDE the colour.
39
+ *
40
+ * The value itself stays canonical hex — every invariant in `color-value.ts` (the 8-bit echo guard,
41
+ * the 1% alpha quantisation, the five display notations, `toCss`/`parseCss`) depends on that, and a
42
+ * `var()` in `value.color` would reopen all of them. So the REFERENCE travels on its own channel: a
43
+ * caller who wants to store the name rather than the value has it, and one who does not can ignore a
44
+ * second argument they never read.
45
+ *
46
+ * **A caller who stores `token` gets the theme axis for free**, and that is the point of the channel:
47
+ * `--color-utility-blue-700` already resolves to `blue-700` in light and `blue-300` in dark, so a
48
+ * stored NAME repaints for dark where a stored hex never can.
49
+ */
50
+ interface ColorPickMeta {
51
+ /**
52
+ * The swatch's own colour string, when it was a `var()` reference rather than a literal — i.e.
53
+ * exactly what was passed in, including `token("brand-600")`'s `"var(--color-brand-600)"`. Echoed
54
+ * verbatim so it can be stored and re-applied with no second mapping.
55
+ */
56
+ readonly token?: string;
57
+ /** The swatch's `label`, when it had one. */
58
+ readonly label?: string;
59
+ }
60
+ /**
61
+ * One GRADIENT on offer, with a name.
62
+ *
63
+ * {@link ColorSwatch} one level up: a saved colour is a colour, and a saved gradient is a whole
64
+ * VALUE — type, angle and every stop — because those four fields together are the thing a person
65
+ * recognises as "the sunset one". `ColorSwatch.color` cannot hold it: a ramp is not a colour, and
66
+ * flattening it to one would name the swatch after a stop it does not look like.
67
+ *
68
+ * **There is no `token` channel here, and that is a fact about gradients rather than an omission.** A
69
+ * solid swatch reports the `var()` it came from so a caller can store the NAME and get the theme axis
70
+ * for free (see {@link ColorPickMeta}); a ramp has many colours and no single reference, so a gradient
71
+ * pick reports only its `label`. A `var()` inside a STOP still works — it paints natively and resolves
72
+ * through the same probe — it simply lands in the value as hex, the way every stop does.
73
+ *
74
+ * ```tsx
75
+ * gradientSwatches={[{ gradient: { kind: "gradient", type: "linear", angle: 90, stops }, label: "Sunset" }]}
76
+ * ```
77
+ */
78
+ interface GradientSwatch {
79
+ /** The whole value. Painted verbatim — a `var()` in a stop is resolved by CSS with nothing from us. */
80
+ readonly gradient: GradientValue;
81
+ /** What the chip announces, instead of its CSS. A ramp's serialization is a poor name for it. */
82
+ readonly label?: string;
83
+ }
84
+
85
+ /** The gradient half of `ColorPickerValue`, on its own — this component never edits a solid. */
86
+ interface GradientValue {
87
+ readonly kind: "gradient";
88
+ readonly type: GradientType;
89
+ readonly angle: number;
90
+ readonly stops: readonly GradientStop[];
91
+ }
92
+ interface GradientPickerProps {
93
+ value: GradientValue;
94
+ /**
95
+ * `meta` is present only when the change came from a saved gradient, and carries its `label`.
96
+ *
97
+ * **No `token` on this path, unlike a colour pick's** — a ramp has many colours and no single
98
+ * reference, so there is nothing to echo. See {@link GradientSwatch}.
99
+ */
100
+ onValueChange: (value: GradientValue, meta?: ColorPickMeta) => void;
101
+ /** Show each stop's opacity segment. @default true */
102
+ alpha?: boolean;
103
+ /**
104
+ * The saved-gradient shortcuts. `undefined` drops the whole section; `[]` renders its empty message.
105
+ *
106
+ * **Persistence is the caller's**, exactly as it is for colours: a saved palette is a preference, and
107
+ * a preference the server must render is a cookie that arrives as a prop.
108
+ *
109
+ * A whole {@link GradientValue}, or a `{ gradient, label }` — and a label is worth more here than it
110
+ * is on a colour, because the fallback name is the ramp's own CSS.
111
+ */
112
+ swatches?: readonly (GradientValue | GradientSwatch)[];
113
+ /** Adds the "Add" affordance, reporting the gradient in force. Without it the row stays selectable. */
114
+ onAddSwatch?: (gradient: GradientValue) => void;
115
+ /**
116
+ * A save is in flight: Add shows its spinner and stops taking presses. `swatches` is CONTROLLED, so
117
+ * the order (optimistic, or after the round trip) stays the caller's — this is only the affordance,
118
+ * which is the one part they cannot express by withholding a handler. @default false
119
+ */
120
+ addingSwatch?: boolean;
121
+ labels?: ColorPickerLabels;
122
+ /** Layout and spacing only, merged via `cn()`. */
123
+ className?: string;
124
+ }
125
+ /** The minimum a gradient can be. Below two stops there is no ramp, only a colour. */
126
+ declare const MIN_STOPS = 2;
127
+ /**
128
+ * The gradient body — a direction area, a type row, a stop rail, and one editable row per stop.
129
+ *
130
+ * **The angle has ONE owner: `value.angle`.** The two endpoint handles are a VIEW of it (their
131
+ * positions are derived) and a way to set it (a drag reports a point, which becomes an angle); they
132
+ * are never stored. Storing the points too would be the same two-channels defect the picker refuses
133
+ * everywhere else — and the two could then disagree about a gradient that is 45° in one of them.
134
+ *
135
+ * **The stop list is kept sorted in state**, because a stop's offset IS its identity on the rail: a
136
+ * thumb dragged past its neighbour has genuinely become the later stop, and any other model has to
137
+ * carry a second ordering that the rail then contradicts.
138
+ */
139
+ declare function GradientPicker({ value, onValueChange, alpha, swatches, onAddSwatch, addingSwatch, labels, className }: GradientPickerProps): React.JSX.Element;
140
+ declare namespace GradientPicker {
141
+ var displayName: string;
142
+ }
143
+
144
+ export { type ColorPickMeta as C, GradientPicker as G, MIN_STOPS as M, type ColorSwatch as a, type GradientPickerProps as b, type GradientSwatch as c, type GradientValue as d };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { j as PaymentInputLabels } from './labels-DPrh0se9.js';
2
+ import { l as PaymentInputLabels } from './labels-C992bt7G.js';
3
3
 
4
4
  type CardType = "visa" | "mastercard" | "amex" | "unionpay" | "jcb" | "unknown";
5
5
  /** Default digit cap — mirrors UUI's public, overridable `maxLength = 19` default.
@@ -2,7 +2,7 @@ import { Select as Select$1 } from '@base-ui/react/select';
2
2
  import * as React from 'react';
3
3
  import { M as MultiDisplay } from './multi-value-CJb_tnvi.js';
4
4
  import { O as OptionList, L as ListboxOption, a as ListboxAction } from './options-CPEIgjtd.js';
5
- import { S as SelectLabels } from './labels-DPrh0se9.js';
5
+ import { S as SelectLabels } from './labels-C992bt7G.js';
6
6
 
7
7
  type SelectSize = "sm" | "md" | "lg";
8
8
  /** How the trigger renders the selected value(s) when `multiple` — the shared list-family
@@ -66,6 +66,20 @@ interface SelectRootProps<Value extends string = string, Multiple extends boolea
66
66
  * field chrome — no `label`/`hint`/`error`; use `aria-label`. See `docs/seamless-policy.md`.
67
67
  * @default false */
68
68
  seamless?: boolean;
69
+ /**
70
+ * Accessible name for the TRIGGER, when there is no visible `label` to name it.
71
+ *
72
+ * Declared explicitly rather than inherited: `Select.Root` renders no DOM node, so an ARIA
73
+ * attribute left to flow through `...rest` reaches it and is silently dropped — the same trap
74
+ * `className` is pulled out of `rest` to avoid. This is the ONLY way to name a `seamless` select,
75
+ * which by design renders no field chrome, and without it the trigger's computed name falls back to
76
+ * its current VALUE — announcing its state instead of its purpose, with no axe violation to show for
77
+ * it (a combobox whose content is its value does have *a* name).
78
+ */
79
+ "aria-label"?: string;
80
+ /** Ids of elements naming the trigger. Wins over the generated `label` id — an explicit reference is
81
+ * the more specific statement. */
82
+ "aria-labelledby"?: string;
69
83
  }
70
84
  /** A pinned footer action row (create / see-all / manage / bulk / load-more) — shared with
71
85
  * Combobox via {@link ListboxAction}. The component owns the look + keyboard focus. */
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { o as TagInputLabels } from './labels-DPrh0se9.js';
2
+ import { r as TagInputLabels } from './labels-C992bt7G.js';
3
3
 
4
4
  type TagInputSize = "sm" | "md" | "lg";
5
5
  /** Which keystroke commits the draft into a tag. A NAMED set, not raw `string[]`: the old shape
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { a as AreaFill, A as AreaBand } from './Cartesian-ZIKPEYWP.js';
3
- import { C as CartesianChartBaseProps, b as ChartCurve } from './types-DR9rAEy1.js';
4
- import './labels-DPrh0se9.js';
3
+ import { C as CartesianChartBaseProps, b as ChartCurve } from './types-DYFl0CEB.js';
4
+ import './labels-C992bt7G.js';
5
5
  import './tooltip-surface-C2I9o2QM.js';
6
6
 
7
7
  interface AreaChartProps<T extends object> extends CartesianChartBaseProps<T> {
@@ -1,9 +1,10 @@
1
- "use client";export { AreaChart } from './chunk-KHGW72BM.js';
2
- import './chunk-5DP7W5HX.js';
3
- import './chunk-22M75A3N.js';
4
- import './chunk-AFYXSZGW.js';
1
+ "use client";export { AreaChart } from './chunk-SGMVB7HD.js';
2
+ import './chunk-OIPFTJS6.js';
3
+ import './chunk-MS6DY4CE.js';
4
+ import './chunk-7LSUUEAF.js';
5
5
  import './chunk-ZSNJ6UA3.js';
6
- import './chunk-RJTVCA62.js';
7
- import './chunk-QDYE5LVT.js';
6
+ import './chunk-ZJIY642R.js';
7
+ import './chunk-SF3HCW4G.js';
8
+ import './chunk-3ZEEGXYF.js';
8
9
  //# sourceMappingURL=area-chart.js.map
9
10
  //# sourceMappingURL=area-chart.js.map
@@ -0,0 +1,18 @@
1
+ /**
2
+ * A config object that must carry at least one field — `{}` is a type error.
3
+ *
4
+ * WHY: a grouped config prop (`paginate`, `pagination`) is off when absent and on when present, so
5
+ * an EMPTY object is a second spelling of "on with defaults" — exactly the redundancy the flat-only
6
+ * rules exist to delete (AGENTS §11). `Partial<T>` admits it; this does not.
7
+ *
8
+ * It expands to one branch per key, each requiring that key and leaving the rest optional, so every
9
+ * field stays reachable in any combination and excess-property checking still works.
10
+ *
11
+ * The one cost: a value declared as the all-optional shape does not satisfy this (TypeScript cannot
12
+ * know a `Partial<T>` variable is non-empty). Build such config inline, or narrow at the boundary.
13
+ */
14
+ type AtLeastOne<T> = {
15
+ [K in keyof T]-?: Required<Pick<T, K>> & Partial<Omit<T, K>>;
16
+ }[keyof T];
17
+
18
+ export type { AtLeastOne as A };
package/dist/avatar.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { A as AvatarLabels } from './labels-DPrh0se9.js';
2
+ import { A as AvatarLabels } from './labels-C992bt7G.js';
3
3
 
4
4
  type AvatarSize = "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
5
5
  type AvatarShape = "circle" | "square";
package/dist/avatar.js CHANGED
@@ -1,17 +1,18 @@
1
- "use client";export { Avatar, AvatarAddButton, AvatarGroup, AvatarLabelGroup, AvatarProfilePhoto } from './chunk-ZHAT2XZ4.js';
2
- import './chunk-N3RVMBPX.js';
3
- import './chunk-LLPWQDF7.js';
4
- import './chunk-FKVPAEJ6.js';
5
- import './chunk-MCQG4H6T.js';
1
+ "use client";export { Avatar, AvatarAddButton, AvatarGroup, AvatarLabelGroup, AvatarProfilePhoto } from './chunk-LLUWBQK6.js';
2
+ import './chunk-EJKQGUUM.js';
3
+ import './chunk-MTOTPAYZ.js';
4
+ import './chunk-SKJC2KYD.js';
5
+ import './chunk-6T3QAO5K.js';
6
6
  import './chunk-O2LG3PNI.js';
7
7
  import './chunk-EDSK6FEH.js';
8
- import './chunk-7ZM7SNCZ.js';
9
- import './chunk-KZP6B6B3.js';
10
- import './chunk-AFYXSZGW.js';
8
+ import './chunk-GPHGPY6T.js';
9
+ import './chunk-KTWTYK5U.js';
10
+ import './chunk-7LSUUEAF.js';
11
11
  import './chunk-O4GRKO3I.js';
12
- import './chunk-BLIZ3CL3.js';
12
+ import './chunk-YGFTNICV.js';
13
13
  import './chunk-ZSNJ6UA3.js';
14
- import './chunk-RJTVCA62.js';
15
- import './chunk-QDYE5LVT.js';
14
+ import './chunk-ZJIY642R.js';
15
+ import './chunk-SF3HCW4G.js';
16
+ import './chunk-3ZEEGXYF.js';
16
17
  //# sourceMappingURL=avatar.js.map
17
18
  //# sourceMappingURL=avatar.js.map
package/dist/badge.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { S as SemanticColor } from './color-CtSxc1Rh.js';
3
3
  import { O as OverflowMode } from './overflow-Df0h42Oi.js';
4
- import { B as BadgeLabels } from './labels-DPrh0se9.js';
4
+ import { B as BadgeLabels } from './labels-C992bt7G.js';
5
5
 
6
6
  /**
7
7
  * BadgeGroup — Untitled UI's "badge group" announcement pill: a badge-in-badge
package/dist/badge.js CHANGED
@@ -1,11 +1,11 @@
1
- "use client";export { Badge, BadgeGroup } from './chunk-54SIZR63.js';
2
- import './chunk-MCQG4H6T.js';
1
+ "use client";export { Badge, BadgeGroup } from './chunk-7UCKFULR.js';
2
+ import './chunk-6T3QAO5K.js';
3
3
  import './chunk-DWKILXHE.js';
4
- import './chunk-7ZM7SNCZ.js';
4
+ import './chunk-GPHGPY6T.js';
5
5
  import './chunk-52IFGFTL.js';
6
- import './chunk-BLIZ3CL3.js';
6
+ import './chunk-YGFTNICV.js';
7
7
  import './chunk-ZSNJ6UA3.js';
8
- import './chunk-RJTVCA62.js';
9
- import './chunk-QDYE5LVT.js';
8
+ import './chunk-ZJIY642R.js';
9
+ import './chunk-SF3HCW4G.js';
10
10
  //# sourceMappingURL=badge.js.map
11
11
  //# sourceMappingURL=badge.js.map
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { B as BarLayout } from './Cartesian-ZIKPEYWP.js';
3
- import { C as CartesianChartBaseProps } from './types-DR9rAEy1.js';
4
- import './labels-DPrh0se9.js';
3
+ import { C as CartesianChartBaseProps } from './types-DYFl0CEB.js';
4
+ import './labels-C992bt7G.js';
5
5
  import './tooltip-surface-C2I9o2QM.js';
6
6
 
7
7
  interface BarChartProps<T extends object> extends CartesianChartBaseProps<T> {