@jbpark/ui-kit 8.1.0 → 9.1.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 (41) hide show
  1. package/dist/Button.d.mts +48 -12
  2. package/dist/Button.d.mts.map +1 -1
  3. package/dist/Button.mjs +62 -11
  4. package/dist/Button.mjs.map +1 -1
  5. package/dist/Tag.d.mts +8 -11
  6. package/dist/Tag.d.mts.map +1 -1
  7. package/dist/Tag.mjs +8 -7
  8. package/dist/Tag.mjs.map +1 -1
  9. package/dist/components/atoms/date-picker.mjs +1 -1
  10. package/dist/components/atoms/float-button/float-button.mjs +1 -1
  11. package/dist/components/atoms/input/search.mjs +1 -1
  12. package/dist/components/atoms/radio/group.mjs +1 -1
  13. package/dist/components/atoms/radio/radio.d.mts +1 -1
  14. package/dist/components/atoms/switch.d.mts +9 -1
  15. package/dist/components/atoms/switch.d.mts.map +1 -1
  16. package/dist/components/atoms/switch.mjs +23 -11
  17. package/dist/components/atoms/switch.mjs.map +1 -1
  18. package/dist/components/organisms/drawer.mjs +1 -1
  19. package/dist/components/organisms/modal.d.mts +4 -5
  20. package/dist/components/organisms/modal.d.mts.map +1 -1
  21. package/dist/components/organisms/modal.mjs +5 -6
  22. package/dist/components/organisms/modal.mjs.map +1 -1
  23. package/dist/components/organisms/toast.d.mts +2 -8
  24. package/dist/components/organisms/toast.d.mts.map +1 -1
  25. package/dist/components/organisms/toast.mjs +4 -5
  26. package/dist/components/organisms/toast.mjs.map +1 -1
  27. package/dist/core/badge.d.mts +25 -2
  28. package/dist/core/badge.d.mts.map +1 -0
  29. package/dist/core/badge.mjs +47 -0
  30. package/dist/core/badge.mjs.map +1 -0
  31. package/dist/core/button.d.mts +14 -2
  32. package/dist/core/button.d.mts.map +1 -0
  33. package/dist/core/dialog.mjs +1 -1
  34. package/dist/core/field.d.mts +1 -1
  35. package/dist/index.d.mts +4 -4
  36. package/dist/lib/colors.d.mts +6 -31
  37. package/dist/lib/colors.d.mts.map +1 -1
  38. package/dist/style.css +53 -34
  39. package/package.json +1 -1
  40. package/dist/lib/chassis.mjs +0 -23
  41. package/dist/lib/chassis.mjs.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbpark/ui-kit",
3
- "version": "8.1.0",
3
+ "version": "9.1.0",
4
4
  "description": "Modern React UI component library built with TypeScript, Tailwind CSS, and Radix UI. Featuring atoms, molecules, organisms and layout templates for building beautiful interfaces.",
5
5
  "keywords": [
6
6
  "react",
@@ -1,23 +0,0 @@
1
- import { cn } from "../utils.mjs";
2
- //#region src/lib/chassis.ts
3
- /**
4
- * Shared a11y/state chassis for interactive single-element atoms (Button, Tag).
5
- *
6
- * Extracted from `core/button` and `core/badge`'s cva base strings during the
7
- * #278 step ③ absorb (see #294 Phase 4). When an atom stops wrapping its core
8
- * primitive it must carry this chassis itself — the focus ring, the
9
- * `aria-invalid` treatment and the flex centering are load-bearing and have no
10
- * type- or lint-level signal, so dropping them regresses silently (the #177
11
- * class of bug the regression net in #300/#301 guards).
12
- *
13
- * Common set only. A Tag is not disableable, does not size icons and (as a
14
- * non-focusable `span`) carries no `outline-none`, so those live on the Button
15
- * extension in `atoms/button`, NOT here — folding them into one shared constant
16
- * would push `disabled:*` onto Tag, which is semantically wrong (#301's
17
- * per-component chassis finding).
18
- */
19
- const INTERACTIVE_CHASSIS = cn("inline-flex items-center justify-center shrink-0", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive");
20
- //#endregion
21
- export { INTERACTIVE_CHASSIS };
22
-
23
- //# sourceMappingURL=chassis.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chassis.mjs","names":[],"sources":["../../src/lib/chassis.ts"],"sourcesContent":["import { cn } from '@repo/ui/utils';\n\n/**\n * Shared a11y/state chassis for interactive single-element atoms (Button, Tag).\n *\n * Extracted from `core/button` and `core/badge`'s cva base strings during the\n * #278 step ③ absorb (see #294 Phase 4). When an atom stops wrapping its core\n * primitive it must carry this chassis itself — the focus ring, the\n * `aria-invalid` treatment and the flex centering are load-bearing and have no\n * type- or lint-level signal, so dropping them regresses silently (the #177\n * class of bug the regression net in #300/#301 guards).\n *\n * Common set only. A Tag is not disableable, does not size icons and (as a\n * non-focusable `span`) carries no `outline-none`, so those live on the Button\n * extension in `atoms/button`, NOT here — folding them into one shared constant\n * would push `disabled:*` onto Tag, which is semantically wrong (#301's\n * per-component chassis finding).\n */\nexport const INTERACTIVE_CHASSIS = cn(\n 'inline-flex items-center justify-center shrink-0',\n 'focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]',\n 'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive',\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAkBA,MAAa,sBAAsB,GACjC,oDACA,iFACA,wGACF"}