@cdx-ui/components 0.0.1-beta.101 → 0.0.1-beta.103

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 (119) hide show
  1. package/lib/commonjs/components/Badge/styles.js +2 -2
  2. package/lib/commonjs/components/Badge/styles.js.map +1 -1
  3. package/lib/commonjs/components/Button/styles.js +2 -2
  4. package/lib/commonjs/components/Button/styles.js.map +1 -1
  5. package/lib/commonjs/components/CLAUDE.md +2 -2
  6. package/lib/commonjs/components/Checkbox/index.js +19 -1
  7. package/lib/commonjs/components/Checkbox/index.js.map +1 -1
  8. package/lib/commonjs/components/Checkbox/styles.js +16 -14
  9. package/lib/commonjs/components/Checkbox/styles.js.map +1 -1
  10. package/lib/commonjs/components/Chip/styles.js +2 -2
  11. package/lib/commonjs/components/Chip/styles.js.map +1 -1
  12. package/lib/commonjs/components/CurrencyInput/styles.js +2 -2
  13. package/lib/commonjs/components/CurrencyInput/styles.js.map +1 -1
  14. package/lib/commonjs/components/Dialog/styles.js +2 -2
  15. package/lib/commonjs/components/Dialog/styles.js.map +1 -1
  16. package/lib/commonjs/components/Field/styles.js +2 -2
  17. package/lib/commonjs/components/Field/styles.js.map +1 -1
  18. package/lib/commonjs/components/IconButton/styles.js +2 -2
  19. package/lib/commonjs/components/IconButton/styles.js.map +1 -1
  20. package/lib/commonjs/components/Input/styles.js +2 -2
  21. package/lib/commonjs/components/Input/styles.js.map +1 -1
  22. package/lib/commonjs/components/Link/styles.js +2 -2
  23. package/lib/commonjs/components/Link/styles.js.map +1 -1
  24. package/lib/commonjs/components/ListItem/styles.js +2 -2
  25. package/lib/commonjs/components/ListItem/styles.js.map +1 -1
  26. package/lib/commonjs/components/QuickActionButton/styles.js +3 -3
  27. package/lib/commonjs/components/QuickActionButton/styles.js.map +1 -1
  28. package/lib/commonjs/components/Radio/index.js +17 -2
  29. package/lib/commonjs/components/Radio/index.js.map +1 -1
  30. package/lib/commonjs/components/Radio/styles.js +19 -7
  31. package/lib/commonjs/components/Radio/styles.js.map +1 -1
  32. package/lib/commonjs/components/Select/styles.js +2 -2
  33. package/lib/commonjs/components/Select/styles.js.map +1 -1
  34. package/lib/commonjs/components/Textarea/styles.js +2 -2
  35. package/lib/commonjs/components/Textarea/styles.js.map +1 -1
  36. package/lib/commonjs/components/Tile/styles.js +2 -2
  37. package/lib/commonjs/components/Tile/styles.js.map +1 -1
  38. package/lib/commonjs/styles/constants.js +16 -0
  39. package/lib/commonjs/styles/constants.js.map +1 -0
  40. package/lib/module/components/Badge/styles.js +1 -1
  41. package/lib/module/components/Badge/styles.js.map +1 -1
  42. package/lib/module/components/Button/styles.js +1 -1
  43. package/lib/module/components/Button/styles.js.map +1 -1
  44. package/lib/module/components/CLAUDE.md +2 -2
  45. package/lib/module/components/Checkbox/index.js +19 -1
  46. package/lib/module/components/Checkbox/index.js.map +1 -1
  47. package/lib/module/components/Checkbox/styles.js +14 -12
  48. package/lib/module/components/Checkbox/styles.js.map +1 -1
  49. package/lib/module/components/Chip/styles.js +1 -1
  50. package/lib/module/components/Chip/styles.js.map +1 -1
  51. package/lib/module/components/CurrencyInput/styles.js +1 -1
  52. package/lib/module/components/CurrencyInput/styles.js.map +1 -1
  53. package/lib/module/components/Dialog/styles.js +1 -1
  54. package/lib/module/components/Dialog/styles.js.map +1 -1
  55. package/lib/module/components/Field/styles.js +1 -1
  56. package/lib/module/components/Field/styles.js.map +1 -1
  57. package/lib/module/components/IconButton/styles.js +1 -1
  58. package/lib/module/components/IconButton/styles.js.map +1 -1
  59. package/lib/module/components/Input/styles.js +1 -1
  60. package/lib/module/components/Input/styles.js.map +1 -1
  61. package/lib/module/components/Link/styles.js +1 -1
  62. package/lib/module/components/Link/styles.js.map +1 -1
  63. package/lib/module/components/ListItem/styles.js +1 -1
  64. package/lib/module/components/ListItem/styles.js.map +1 -1
  65. package/lib/module/components/QuickActionButton/styles.js +1 -1
  66. package/lib/module/components/QuickActionButton/styles.js.map +1 -1
  67. package/lib/module/components/Radio/index.js +17 -2
  68. package/lib/module/components/Radio/index.js.map +1 -1
  69. package/lib/module/components/Radio/styles.js +18 -6
  70. package/lib/module/components/Radio/styles.js.map +1 -1
  71. package/lib/module/components/Select/styles.js +1 -1
  72. package/lib/module/components/Select/styles.js.map +1 -1
  73. package/lib/module/components/Textarea/styles.js +1 -1
  74. package/lib/module/components/Textarea/styles.js.map +1 -1
  75. package/lib/module/components/Tile/styles.js +1 -1
  76. package/lib/module/components/Tile/styles.js.map +1 -1
  77. package/lib/module/styles/constants.js +12 -0
  78. package/lib/module/styles/constants.js.map +1 -0
  79. package/lib/typescript/components/Checkbox/index.d.ts.map +1 -1
  80. package/lib/typescript/components/Checkbox/styles.d.ts.map +1 -1
  81. package/lib/typescript/components/Radio/index.d.ts.map +1 -1
  82. package/lib/typescript/components/Radio/styles.d.ts.map +1 -1
  83. package/lib/typescript/styles/constants.d.ts +4 -0
  84. package/lib/typescript/styles/constants.d.ts.map +1 -0
  85. package/package.json +4 -4
  86. package/src/components/Badge/styles.ts +1 -1
  87. package/src/components/Button/styles.ts +1 -1
  88. package/src/components/CLAUDE.md +2 -2
  89. package/src/components/Checkbox/index.tsx +23 -0
  90. package/src/components/Checkbox/styles.ts +30 -21
  91. package/src/components/Chip/styles.ts +1 -1
  92. package/src/components/CurrencyInput/styles.ts +1 -1
  93. package/src/components/Dialog/styles.ts +1 -1
  94. package/src/components/Field/styles.ts +1 -1
  95. package/src/components/IconButton/styles.ts +1 -1
  96. package/src/components/Input/styles.ts +1 -1
  97. package/src/components/Link/styles.ts +1 -1
  98. package/src/components/ListItem/styles.ts +1 -1
  99. package/src/components/QuickActionButton/styles.ts +1 -1
  100. package/src/components/Radio/index.tsx +20 -0
  101. package/src/components/Radio/styles.ts +27 -4
  102. package/src/components/Select/styles.ts +1 -1
  103. package/src/components/Textarea/styles.ts +1 -1
  104. package/src/components/Tile/styles.ts +1 -1
  105. package/src/styles/constants.ts +10 -0
  106. package/lib/commonjs/styles/index.js +0 -17
  107. package/lib/commonjs/styles/index.js.map +0 -1
  108. package/lib/commonjs/styles/primitives.js +0 -159
  109. package/lib/commonjs/styles/primitives.js.map +0 -1
  110. package/lib/module/styles/index.js +0 -4
  111. package/lib/module/styles/index.js.map +0 -1
  112. package/lib/module/styles/primitives.js +0 -155
  113. package/lib/module/styles/primitives.js.map +0 -1
  114. package/lib/typescript/styles/index.d.ts +0 -2
  115. package/lib/typescript/styles/index.d.ts.map +0 -1
  116. package/lib/typescript/styles/primitives.d.ts +0 -123
  117. package/lib/typescript/styles/primitives.d.ts.map +0 -1
  118. package/src/styles/index.ts +0 -1
  119. package/src/styles/primitives.ts +0 -143
@@ -1,6 +1,6 @@
1
1
  import { Platform } from 'react-native';
2
2
  import { cva, type VariantProps } from 'class-variance-authority';
3
- import { DISABLED_CURSOR, TRANSITION_COLORS } from '../../styles/primitives';
3
+ import { DISABLED_CURSOR, TRANSITION_COLORS } from '../../styles/constants';
4
4
 
5
5
  const chipInteractiveRoot = [
6
6
  TRANSITION_COLORS,
@@ -1,5 +1,5 @@
1
1
  import { cva, type VariantProps } from 'class-variance-authority';
2
- import { DISABLED_CURSOR } from '../../styles/primitives';
2
+ import { DISABLED_CURSOR } from '../../styles/constants';
3
3
 
4
4
  export const currencyInputRootVariants = cva(
5
5
  [
@@ -1,6 +1,6 @@
1
1
  import { Platform } from 'react-native';
2
2
  import { cva, type VariantProps } from 'class-variance-authority';
3
- import { TRANSITION_COLORS } from '../../styles/primitives';
3
+ import { TRANSITION_COLORS } from '../../styles/constants';
4
4
 
5
5
  // ── Overlay ─────────────────────────────────────────────────
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { cva, type VariantProps } from 'class-variance-authority';
2
- import { DISABLED_OPACITY } from '../../styles/primitives';
2
+ import { DISABLED_OPACITY } from '../../styles/constants';
3
3
 
4
4
  export const fieldRootVariants = cva(['group flex-col gap-2', 'web:last:mb-0', DISABLED_OPACITY]);
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { Platform } from 'react-native';
2
2
  import { cva, type VariantProps } from 'class-variance-authority';
3
- import { DISABLED_CURSOR, TRANSITION_COLORS } from '../../styles/primitives';
3
+ import { DISABLED_CURSOR, TRANSITION_COLORS } from '../../styles/constants';
4
4
 
5
5
  export const iconButtonRootVariants = cva(
6
6
  [
@@ -1,5 +1,5 @@
1
1
  import { cva, type VariantProps } from 'class-variance-authority';
2
- import { DISABLED_CURSOR, TRANSITION_COLORS } from '../../styles/primitives';
2
+ import { DISABLED_CURSOR, TRANSITION_COLORS } from '../../styles/constants';
3
3
 
4
4
  export const inputRootVariants = cva(
5
5
  [
@@ -1,6 +1,6 @@
1
1
  import { Platform } from 'react-native';
2
2
  import { cva, type VariantProps } from 'class-variance-authority';
3
- import { TRANSITION_COLORS } from '../../styles/primitives';
3
+ import { TRANSITION_COLORS } from '../../styles/constants';
4
4
 
5
5
  export const linkRootVariants = cva([
6
6
  'flex-row items-center gap-1',
@@ -1,6 +1,6 @@
1
1
  import { Platform } from 'react-native';
2
2
  import { cva, type VariantProps } from 'class-variance-authority';
3
- import { TRANSITION_COLORS } from '../../styles/primitives';
3
+ import { TRANSITION_COLORS } from '../../styles/constants';
4
4
 
5
5
  // ── Root (row): density, separator, interactive feedback ───────────────────
6
6
  //
@@ -1,6 +1,6 @@
1
1
  import { Platform } from 'react-native';
2
2
  import { cva, type VariantProps } from 'class-variance-authority';
3
- import { DISABLED_CURSOR, TRANSITION_COLORS } from '../../styles/primitives';
3
+ import { DISABLED_CURSOR, TRANSITION_COLORS } from '../../styles/constants';
4
4
 
5
5
  export const quickActionButtonRootVariants = cva([
6
6
  'flex flex-col items-center gap-2',
@@ -50,6 +50,18 @@ RadioRoot.displayName = 'Radio';
50
50
  // RADIO INDICATOR (styled-only, reads context for data-* styling)
51
51
  // =============================================================================
52
52
 
53
+ /** Compound checked × invalid × active state for native Uniwind selectors (single data-field-state). */
54
+ const INDICATOR_STATES = {
55
+ 'unchecked:false:false': 'idle',
56
+ 'unchecked:true:false': 'invalid',
57
+ 'unchecked:false:true': 'active',
58
+ 'unchecked:true:true': 'invalid-active',
59
+ 'checked:false:false': 'checked',
60
+ 'checked:true:false': 'checked-invalid',
61
+ 'checked:false:true': 'checked-active',
62
+ 'checked:true:true': 'checked-invalid-active',
63
+ } as const;
64
+
53
65
  export interface RadioIndicatorProps extends ViewProps {
54
66
  asChild?: boolean;
55
67
  className?: string;
@@ -61,6 +73,12 @@ const RadioIndicator = forwardRef<View, RadioIndicatorProps>(
61
73
  const { isChecked, isDisabled, isHovered, isInvalid, isReadOnly, isPressed, isFocusVisible } =
62
74
  useRadioContext();
63
75
 
76
+ const checkState = isChecked ? 'checked' : 'unchecked';
77
+ const fieldState =
78
+ INDICATOR_STATES[
79
+ `${checkState}:${isInvalid ? 'true' : 'false'}:${isPressed ? 'true' : 'false'}`
80
+ ];
81
+
64
82
  const computedClassName = cn(radioIndicatorVariants(), className);
65
83
  const Comp = asChild ? Slot : View;
66
84
 
@@ -81,6 +99,7 @@ const RadioIndicator = forwardRef<View, RadioIndicatorProps>(
81
99
  invalid: isInvalid,
82
100
  readonly: isReadOnly,
83
101
  active: isPressed,
102
+ fieldState,
84
103
  }),
85
104
  )}
86
105
  >
@@ -90,6 +109,7 @@ const RadioIndicator = forwardRef<View, RadioIndicatorProps>(
90
109
  checked: isChecked,
91
110
  invalid: isInvalid,
92
111
  hover: isHovered,
112
+ fieldState,
93
113
  })}
94
114
  />
95
115
  {children}
@@ -1,6 +1,6 @@
1
1
  import { Platform } from 'react-native';
2
2
  import { cva } from 'class-variance-authority';
3
- import { DISABLED_CURSOR, TRANSITION_COLORS } from '../../styles/primitives';
3
+ import { DISABLED_CURSOR, TRANSITION_COLORS } from '../../styles/constants';
4
4
 
5
5
  export const radioRootVariants = cva([
6
6
  'flex-row items-center gap-2',
@@ -17,16 +17,33 @@ export const radioIndicatorVariants = cva([
17
17
  'data-[checked=false]:border-content-secondary',
18
18
  'data-[checked=true]:border-stroke-action',
19
19
  'data-[invalid=true]:border-stroke-danger',
20
- 'data-[checked=true]:data-[invalid=true]:border-stroke-danger',
21
20
  Platform.select({
22
21
  web: [
23
22
  TRANSITION_COLORS,
23
+ 'group',
24
+ // Hover — unchecked (Figma: border unchanged, bg overlay at opacity/hover)
25
+ 'data-[hover=true]:data-[checked=false]:bg-content-secondary/[0.08]',
26
+ // Hover — unchecked + invalid (overlay uses danger token)
27
+ 'data-[hover=true]:data-[invalid=true]:data-[checked=false]:bg-surface-danger-strong/[0.08]',
24
28
  'data-[hover=true]:data-[checked=true]:border-surface-action-strong-hover',
25
29
  'data-[hover=true]:data-[invalid=true]:border-surface-danger-strong-hover',
30
+ // Active — CSS :active (web root does not track press via data-active).
31
+ // data-[hover=true] guard ensures active beats hover by specificity (0,3,0 > 0,2,0).
32
+ 'web:active:data-[hover=true]:data-[checked=false]:border-stroke-hover',
33
+ 'web:active:data-[hover=true]:data-[invalid=true]:data-[checked=false]:border-surface-danger-strong-active',
34
+ 'web:active:data-[hover=true]:data-[checked=true]:border-surface-action-strong-active',
35
+ 'web:active:data-[hover=true]:data-[checked=true]:data-[invalid=true]:border-surface-danger-strong-active',
26
36
  'web:data-[focus-visible=true]:outline-none',
27
37
  'web:data-[focus-visible=true]:ring-2 web:data-[focus-visible=true]:ring-stroke-focus web:data-[focus-visible=true]:ring-offset-2',
28
38
  ].join(' '),
29
- default: '',
39
+ default: [
40
+ // Native: Uniwind only evaluates the last data-[] condition in a compound chain.
41
+ // Use single-condition data-[field-state=...] selectors (emitted by RadioIndicator).
42
+ 'data-[field-state=active]:border-stroke-hover',
43
+ 'data-[field-state=invalid-active]:border-surface-danger-strong-active',
44
+ 'data-[field-state=checked-active]:border-surface-action-strong-active',
45
+ 'data-[field-state=checked-invalid-active]:border-surface-danger-strong-active',
46
+ ].join(' '),
30
47
  }),
31
48
  ]);
32
49
 
@@ -41,8 +58,14 @@ export const radioInnerDotVariants = cva([
41
58
  web: [
42
59
  'data-[hover=true]:bg-surface-action-strong-hover',
43
60
  'data-[hover=true]:data-[invalid=true]:bg-surface-danger-strong-hover',
61
+ // Active via group-active on indicator (inner dot is not the :active target).
62
+ 'web:group-active:data-[hover=true]:data-[checked=true]:bg-surface-action-strong-active',
63
+ 'web:group-active:data-[hover=true]:data-[checked=true]:data-[invalid=true]:bg-surface-danger-strong-active',
64
+ ].join(' '),
65
+ default: [
66
+ 'data-[field-state=checked-active]:bg-surface-action-strong-active',
67
+ 'data-[field-state=checked-invalid-active]:bg-surface-danger-strong-active',
44
68
  ].join(' '),
45
- default: '',
46
69
  }),
47
70
  ]);
48
71
 
@@ -1,6 +1,6 @@
1
1
  import { Platform } from 'react-native';
2
2
  import { cva, type VariantProps } from 'class-variance-authority';
3
- import { DISABLED_CURSOR, TRANSITION_COLORS } from '../../styles/primitives';
3
+ import { DISABLED_CURSOR, TRANSITION_COLORS } from '../../styles/constants';
4
4
 
5
5
  // ── Trigger ─────────────────────────────────────────────────
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { cva, type VariantProps } from 'class-variance-authority';
2
- import { DISABLED_CURSOR, TRANSITION_COLORS } from '../../styles/primitives';
2
+ import { DISABLED_CURSOR, TRANSITION_COLORS } from '../../styles/constants';
3
3
 
4
4
  export const textareaRootVariants = cva(
5
5
  [
@@ -1,6 +1,6 @@
1
1
  import { Platform } from 'react-native';
2
2
  import { cva, type VariantProps } from 'class-variance-authority';
3
- import { TRANSITION_COLORS } from '../../styles/primitives';
3
+ import { TRANSITION_COLORS } from '../../styles/constants';
4
4
 
5
5
  export const tileGroupVariants = cva(['flex w-full'], {
6
6
  variants: {
@@ -0,0 +1,10 @@
1
+ // packages/components/src/styles/constants.ts
2
+ // Semantic constants for Forge UI component styling.
3
+
4
+ // ─── Transitions ─────────────────────────────────────────
5
+ export const TRANSITION_COLORS = 'transition-colors duration-150';
6
+
7
+ // ─── Disabled ────────────────────────────────────────────
8
+ export const DISABLED_OPACITY = 'data-[disabled=true]:opacity-50';
9
+ export const DISABLED_CURSOR =
10
+ 'data-[disabled=true]:cursor-not-allowed data-[disabled=true]:pointer-events-none';
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _primitives = require("./primitives");
7
- Object.keys(_primitives).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _primitives[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _primitives[key];
14
- }
15
- });
16
- });
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_primitives","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../src","sources":["styles/index.ts"],"mappings":";;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,WAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,WAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,WAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -1,159 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.TRANSITION_COLORS = exports.SIZE_SCALE = exports.SHADOW_SM = exports.SHADOW_MD = exports.SEMANTIC_COLORS = exports.RADIUS_SM = exports.RADIUS_MD = exports.RADIUS_FULL = exports.FOCUS_RING = exports.DISABLED_OPACITY = exports.DISABLED_CURSOR = exports.COLOR_TEXT_SECONDARY = exports.COLOR_TEXT_PRIMARY = exports.COLOR_TEXT_PLACEHOLDER = exports.COLOR_TEXT_MUTED = exports.COLOR_TEXT_INVERSE = exports.COLOR_TEXT_INVALID = exports.COLOR_BRAND_HOVER = exports.COLOR_BRAND_DEFAULT = exports.COLOR_BRAND_ACTIVE = exports.COLOR_BORDER_STRONG = exports.COLOR_BORDER_INVALID = exports.COLOR_BORDER_FOCUS = exports.COLOR_BORDER_DEFAULT = exports.COLOR_BG_SUBTLE = exports.COLOR_BG_PRIMARY = exports.COLOR_BG_MUTED = exports.COLOR_BG_INVERSE = exports.COLOR_ACCENT_DEFAULT = exports.COLOR_ACCENT_BORDER = void 0;
7
- // packages/components/src/styles/primitives.ts
8
- // Semantic constants for Forge UI component styling.
9
-
10
- // ─── Colors ──────────────────────────────────────────────
11
- // Surface & background
12
- /** @deprecated Use `bg-surface-primary` (--color-surface-primary) instead. */
13
- const COLOR_BG_PRIMARY = exports.COLOR_BG_PRIMARY = 'bg-white';
14
- /** @deprecated Use `bg-surface-secondary` (--color-surface-secondary) instead. */
15
- const COLOR_BG_SUBTLE = exports.COLOR_BG_SUBTLE = 'bg-slate-50';
16
- /** @deprecated Use `bg-surface-neutral-subtle` (--color-surface-neutral-subtle) instead. */
17
- const COLOR_BG_MUTED = exports.COLOR_BG_MUTED = 'bg-slate-100';
18
- /** @deprecated Use `bg-base-950` (--color-base-950) instead. */
19
- const COLOR_BG_INVERSE = exports.COLOR_BG_INVERSE = 'bg-slate-900';
20
-
21
- // Border
22
- /** @deprecated Use `border-stroke-secondary` (--color-stroke-secondary) instead. */
23
- const COLOR_BORDER_DEFAULT = exports.COLOR_BORDER_DEFAULT = 'border-slate-200';
24
- /** @deprecated Use `border-stroke-hover` (--color-stroke-hover) instead. */
25
- const COLOR_BORDER_STRONG = exports.COLOR_BORDER_STRONG = 'border-slate-300';
26
- /** @deprecated Use `border-stroke-focus` (--color-stroke-focus) instead. */
27
- const COLOR_BORDER_FOCUS = exports.COLOR_BORDER_FOCUS = 'border-slate-900';
28
- /** @deprecated Use `border-stroke-danger` (--color-stroke-danger) instead. */
29
- const COLOR_BORDER_INVALID = exports.COLOR_BORDER_INVALID = 'border-red-500';
30
-
31
- // Text
32
- /** @deprecated Use `text-content-primary` (--color-content-primary) instead. */
33
- const COLOR_TEXT_PRIMARY = exports.COLOR_TEXT_PRIMARY = 'text-slate-900';
34
- /** @deprecated Use `text-content-secondary` (--color-content-secondary) instead. */
35
- const COLOR_TEXT_SECONDARY = exports.COLOR_TEXT_SECONDARY = 'text-slate-500';
36
- /** @deprecated Use `text-content-tertiary` (--color-content-tertiary) instead. */
37
- const COLOR_TEXT_MUTED = exports.COLOR_TEXT_MUTED = 'text-slate-400';
38
- /** @deprecated Use the appropriate `text-content-*-on-strong` token for the surface color, e.g. `text-content-action-on-strong` (--color-content-action-on-strong). */
39
- const COLOR_TEXT_INVERSE = exports.COLOR_TEXT_INVERSE = 'text-white';
40
- /** @deprecated Use `text-content-tertiary` (--color-content-tertiary) instead. */
41
- const COLOR_TEXT_PLACEHOLDER = exports.COLOR_TEXT_PLACEHOLDER = 'text-slate-400';
42
- /** @deprecated Use `text-content-danger` (--color-content-danger) instead. */
43
- const COLOR_TEXT_INVALID = exports.COLOR_TEXT_INVALID = 'text-red-600';
44
-
45
- // Brand / Action
46
- /** @deprecated Use `bg-surface-action-strong` (--color-surface-action-strong) instead. */
47
- const COLOR_BRAND_DEFAULT = exports.COLOR_BRAND_DEFAULT = 'bg-slate-900';
48
- /** @deprecated Use `bg-surface-action-strong-hover` (--color-surface-action-strong-hover) instead. */
49
- const COLOR_BRAND_HOVER = exports.COLOR_BRAND_HOVER = 'bg-slate-800';
50
- /** @deprecated Use `bg-surface-action-strong-active` (--color-surface-action-strong-active) instead. */
51
- const COLOR_BRAND_ACTIVE = exports.COLOR_BRAND_ACTIVE = 'bg-slate-700';
52
-
53
- // Accent (for checked states, active indicators)
54
- /** @deprecated Use `bg-surface-action-strong` (--color-surface-action-strong) instead. */
55
- const COLOR_ACCENT_DEFAULT = exports.COLOR_ACCENT_DEFAULT = 'bg-slate-900';
56
- /** @deprecated Use `border-stroke-action` (--color-stroke-action) instead. */
57
- const COLOR_ACCENT_BORDER = exports.COLOR_ACCENT_BORDER = 'border-slate-900';
58
-
59
- /**
60
- * @deprecated Use semantic token classes directly instead. Map each color key to its
61
- * corresponding `--color-surface-*`, `--color-stroke-*`, and `--color-content-*` tokens:
62
- * - `bg` → `bg-surface-{color}-strong` (--color-surface-{color}-strong)
63
- * - `bgHover` → `bg-surface-{color}-strong-hover` (--color-surface-{color}-strong-hover)
64
- * - `bgActive` → `bg-surface-{color}-strong-active` (--color-surface-{color}-strong-active)
65
- * - `border` → `border-stroke-{color}` (--color-stroke-{color})
66
- * - `text` → `text-content-{color}` (--color-content-{color})
67
- * - `ring` → `ring-[--color-stroke-focus]` (--color-stroke-focus)
68
- *
69
- * See Button/styles.ts for a complete migration example.
70
- */
71
- const SEMANTIC_COLORS = exports.SEMANTIC_COLORS = {
72
- action: {
73
- bg: 'bg-slate-900',
74
- bgHover: 'bg-slate-800',
75
- bgActive: 'bg-slate-700',
76
- border: 'border-slate-900',
77
- text: 'text-slate-900',
78
- ring: 'ring-slate-400/50'
79
- },
80
- danger: {
81
- bg: 'bg-red-600',
82
- bgHover: 'bg-red-700',
83
- bgActive: 'bg-red-800',
84
- border: 'border-red-600',
85
- text: 'text-red-600',
86
- ring: 'ring-red-400/50'
87
- },
88
- warning: {
89
- bg: 'bg-amber-500',
90
- bgHover: 'bg-amber-600',
91
- bgActive: 'bg-amber-700',
92
- border: 'border-amber-500',
93
- text: 'text-amber-600',
94
- ring: 'ring-amber-400/50'
95
- },
96
- success: {
97
- bg: 'bg-green-600',
98
- bgHover: 'bg-green-700',
99
- bgActive: 'bg-green-800',
100
- border: 'border-green-600',
101
- text: 'text-green-600',
102
- ring: 'ring-green-400/50'
103
- },
104
- info: {
105
- bg: 'bg-sky-500',
106
- bgHover: 'bg-sky-600',
107
- bgActive: 'bg-sky-700',
108
- border: 'border-sky-500',
109
- text: 'text-sky-600',
110
- ring: 'ring-sky-400/50'
111
- }
112
- };
113
-
114
- // ─── Focus ───────────────────────────────────────────────
115
- /** @deprecated Use `ring-2 ring-[--color-stroke-focus] ring-offset-2` (--color-stroke-focus) instead. */
116
- const FOCUS_RING = exports.FOCUS_RING = 'ring-2 ring-slate-400/50 ring-offset-2';
117
-
118
- // ─── Radius ──────────────────────────────────────────────
119
- /** @deprecated Use `rounded-[var(--border-radius-button)]` for buttons/inputs or `rounded-[var(--border-radius-default)]` for containers. */
120
- const RADIUS_SM = exports.RADIUS_SM = 'rounded-lg';
121
- /** @deprecated Use `rounded-[var(--border-radius-default)]` for cards/containers. */
122
- const RADIUS_MD = exports.RADIUS_MD = 'rounded-xl';
123
- /** @deprecated Use `rounded-[var(--border-radius-round)]` for circular elements (icon buttons, radio, pills). */
124
- const RADIUS_FULL = exports.RADIUS_FULL = 'rounded-full';
125
-
126
- // ─── Shadows ─────────────────────────────────────────────
127
-
128
- /** @deprecated Use `shadow-sm` directly instead */
129
- const SHADOW_SM = exports.SHADOW_SM = 'shadow-sm';
130
- /** @deprecated Use `shadow-md` directly instead */
131
- const SHADOW_MD = exports.SHADOW_MD = 'shadow-md';
132
-
133
- // ─── Sizing ──────────────────────────────────────────────
134
- // Unified size scale for interactive/form components (Button, Input, Select, Checkbox).
135
- // Only two sizes: 'default' (regular) and 'small' (compact).
136
- // NOTE: Text and Heading use a separate typography scale (xs/sm/md/lg/xl) — not this.
137
- /** @deprecated */
138
- const SIZE_SCALE = exports.SIZE_SCALE = {
139
- default: {
140
- height: 'h-10',
141
- px: 'px-4',
142
- gap: 'gap-2',
143
- text: 'text-base'
144
- },
145
- small: {
146
- height: 'h-8',
147
- px: 'px-3',
148
- gap: 'gap-1.5',
149
- text: 'text-sm'
150
- }
151
- };
152
-
153
- // ─── Transitions ─────────────────────────────────────────
154
- const TRANSITION_COLORS = exports.TRANSITION_COLORS = 'transition-colors duration-150';
155
-
156
- // ─── Disabled ────────────────────────────────────────────
157
- const DISABLED_OPACITY = exports.DISABLED_OPACITY = 'data-[disabled=true]:opacity-50';
158
- const DISABLED_CURSOR = exports.DISABLED_CURSOR = 'data-[disabled=true]:cursor-not-allowed data-[disabled=true]:pointer-events-none';
159
- //# sourceMappingURL=primitives.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["COLOR_BG_PRIMARY","exports","COLOR_BG_SUBTLE","COLOR_BG_MUTED","COLOR_BG_INVERSE","COLOR_BORDER_DEFAULT","COLOR_BORDER_STRONG","COLOR_BORDER_FOCUS","COLOR_BORDER_INVALID","COLOR_TEXT_PRIMARY","COLOR_TEXT_SECONDARY","COLOR_TEXT_MUTED","COLOR_TEXT_INVERSE","COLOR_TEXT_PLACEHOLDER","COLOR_TEXT_INVALID","COLOR_BRAND_DEFAULT","COLOR_BRAND_HOVER","COLOR_BRAND_ACTIVE","COLOR_ACCENT_DEFAULT","COLOR_ACCENT_BORDER","SEMANTIC_COLORS","action","bg","bgHover","bgActive","border","text","ring","danger","warning","success","info","FOCUS_RING","RADIUS_SM","RADIUS_MD","RADIUS_FULL","SHADOW_SM","SHADOW_MD","SIZE_SCALE","default","height","px","gap","small","TRANSITION_COLORS","DISABLED_OPACITY","DISABLED_CURSOR"],"sourceRoot":"../../../src","sources":["styles/primitives.ts"],"mappings":";;;;;;AAAA;AACA;;AAEA;AACA;AACA;AACO,MAAMA,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,GAAG,UAAU;AAC1C;AACO,MAAME,eAAe,GAAAD,OAAA,CAAAC,eAAA,GAAG,aAAa;AAC5C;AACO,MAAMC,cAAc,GAAAF,OAAA,CAAAE,cAAA,GAAG,cAAc;AAC5C;AACO,MAAMC,gBAAgB,GAAAH,OAAA,CAAAG,gBAAA,GAAG,cAAc;;AAE9C;AACA;AACO,MAAMC,oBAAoB,GAAAJ,OAAA,CAAAI,oBAAA,GAAG,kBAAkB;AACtD;AACO,MAAMC,mBAAmB,GAAAL,OAAA,CAAAK,mBAAA,GAAG,kBAAkB;AACrD;AACO,MAAMC,kBAAkB,GAAAN,OAAA,CAAAM,kBAAA,GAAG,kBAAkB;AACpD;AACO,MAAMC,oBAAoB,GAAAP,O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AAEH,MAAM,EAAE,KAAK;IAAEC,EAAE,EAAE,MAAM;IAAEC,GAAG,EAAE,SAAS;IAAEhB,IAAI,EAAE;EAAU;AACtE,CAAU;;AAEV;AACO,MAAMkB,iBAAiB,GAAA3C,OAAA,CAAA2C,iBAAA,GAAG,gCAAgC;;AAEjE;AACO,MAAMC,gBAAgB,GAAA5C,OAAA,CAAA4C,gBAAA,GAAG,iCAAiC;AAC1D,MAAMC,eAAe,GAAA7C,OAAA,CAAA6C,eAAA,GAC1B,kFAAkF","ignoreList":[]}
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- export * from './primitives';
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["styles/index.ts"],"mappings":";;AAAA,cAAc,cAAc","ignoreList":[]}
@@ -1,155 +0,0 @@
1
- "use strict";
2
-
3
- // packages/components/src/styles/primitives.ts
4
- // Semantic constants for Forge UI component styling.
5
-
6
- // ─── Colors ──────────────────────────────────────────────
7
- // Surface & background
8
- /** @deprecated Use `bg-surface-primary` (--color-surface-primary) instead. */
9
- export const COLOR_BG_PRIMARY = 'bg-white';
10
- /** @deprecated Use `bg-surface-secondary` (--color-surface-secondary) instead. */
11
- export const COLOR_BG_SUBTLE = 'bg-slate-50';
12
- /** @deprecated Use `bg-surface-neutral-subtle` (--color-surface-neutral-subtle) instead. */
13
- export const COLOR_BG_MUTED = 'bg-slate-100';
14
- /** @deprecated Use `bg-base-950` (--color-base-950) instead. */
15
- export const COLOR_BG_INVERSE = 'bg-slate-900';
16
-
17
- // Border
18
- /** @deprecated Use `border-stroke-secondary` (--color-stroke-secondary) instead. */
19
- export const COLOR_BORDER_DEFAULT = 'border-slate-200';
20
- /** @deprecated Use `border-stroke-hover` (--color-stroke-hover) instead. */
21
- export const COLOR_BORDER_STRONG = 'border-slate-300';
22
- /** @deprecated Use `border-stroke-focus` (--color-stroke-focus) instead. */
23
- export const COLOR_BORDER_FOCUS = 'border-slate-900';
24
- /** @deprecated Use `border-stroke-danger` (--color-stroke-danger) instead. */
25
- export const COLOR_BORDER_INVALID = 'border-red-500';
26
-
27
- // Text
28
- /** @deprecated Use `text-content-primary` (--color-content-primary) instead. */
29
- export const COLOR_TEXT_PRIMARY = 'text-slate-900';
30
- /** @deprecated Use `text-content-secondary` (--color-content-secondary) instead. */
31
- export const COLOR_TEXT_SECONDARY = 'text-slate-500';
32
- /** @deprecated Use `text-content-tertiary` (--color-content-tertiary) instead. */
33
- export const COLOR_TEXT_MUTED = 'text-slate-400';
34
- /** @deprecated Use the appropriate `text-content-*-on-strong` token for the surface color, e.g. `text-content-action-on-strong` (--color-content-action-on-strong). */
35
- export const COLOR_TEXT_INVERSE = 'text-white';
36
- /** @deprecated Use `text-content-tertiary` (--color-content-tertiary) instead. */
37
- export const COLOR_TEXT_PLACEHOLDER = 'text-slate-400';
38
- /** @deprecated Use `text-content-danger` (--color-content-danger) instead. */
39
- export const COLOR_TEXT_INVALID = 'text-red-600';
40
-
41
- // Brand / Action
42
- /** @deprecated Use `bg-surface-action-strong` (--color-surface-action-strong) instead. */
43
- export const COLOR_BRAND_DEFAULT = 'bg-slate-900';
44
- /** @deprecated Use `bg-surface-action-strong-hover` (--color-surface-action-strong-hover) instead. */
45
- export const COLOR_BRAND_HOVER = 'bg-slate-800';
46
- /** @deprecated Use `bg-surface-action-strong-active` (--color-surface-action-strong-active) instead. */
47
- export const COLOR_BRAND_ACTIVE = 'bg-slate-700';
48
-
49
- // Accent (for checked states, active indicators)
50
- /** @deprecated Use `bg-surface-action-strong` (--color-surface-action-strong) instead. */
51
- export const COLOR_ACCENT_DEFAULT = 'bg-slate-900';
52
- /** @deprecated Use `border-stroke-action` (--color-stroke-action) instead. */
53
- export const COLOR_ACCENT_BORDER = 'border-slate-900';
54
-
55
- /**
56
- * @deprecated Use semantic token classes directly instead. Map each color key to its
57
- * corresponding `--color-surface-*`, `--color-stroke-*`, and `--color-content-*` tokens:
58
- * - `bg` → `bg-surface-{color}-strong` (--color-surface-{color}-strong)
59
- * - `bgHover` → `bg-surface-{color}-strong-hover` (--color-surface-{color}-strong-hover)
60
- * - `bgActive` → `bg-surface-{color}-strong-active` (--color-surface-{color}-strong-active)
61
- * - `border` → `border-stroke-{color}` (--color-stroke-{color})
62
- * - `text` → `text-content-{color}` (--color-content-{color})
63
- * - `ring` → `ring-[--color-stroke-focus]` (--color-stroke-focus)
64
- *
65
- * See Button/styles.ts for a complete migration example.
66
- */
67
- export const SEMANTIC_COLORS = {
68
- action: {
69
- bg: 'bg-slate-900',
70
- bgHover: 'bg-slate-800',
71
- bgActive: 'bg-slate-700',
72
- border: 'border-slate-900',
73
- text: 'text-slate-900',
74
- ring: 'ring-slate-400/50'
75
- },
76
- danger: {
77
- bg: 'bg-red-600',
78
- bgHover: 'bg-red-700',
79
- bgActive: 'bg-red-800',
80
- border: 'border-red-600',
81
- text: 'text-red-600',
82
- ring: 'ring-red-400/50'
83
- },
84
- warning: {
85
- bg: 'bg-amber-500',
86
- bgHover: 'bg-amber-600',
87
- bgActive: 'bg-amber-700',
88
- border: 'border-amber-500',
89
- text: 'text-amber-600',
90
- ring: 'ring-amber-400/50'
91
- },
92
- success: {
93
- bg: 'bg-green-600',
94
- bgHover: 'bg-green-700',
95
- bgActive: 'bg-green-800',
96
- border: 'border-green-600',
97
- text: 'text-green-600',
98
- ring: 'ring-green-400/50'
99
- },
100
- info: {
101
- bg: 'bg-sky-500',
102
- bgHover: 'bg-sky-600',
103
- bgActive: 'bg-sky-700',
104
- border: 'border-sky-500',
105
- text: 'text-sky-600',
106
- ring: 'ring-sky-400/50'
107
- }
108
- };
109
-
110
- // ─── Focus ───────────────────────────────────────────────
111
- /** @deprecated Use `ring-2 ring-[--color-stroke-focus] ring-offset-2` (--color-stroke-focus) instead. */
112
- export const FOCUS_RING = 'ring-2 ring-slate-400/50 ring-offset-2';
113
-
114
- // ─── Radius ──────────────────────────────────────────────
115
- /** @deprecated Use `rounded-[var(--border-radius-button)]` for buttons/inputs or `rounded-[var(--border-radius-default)]` for containers. */
116
- export const RADIUS_SM = 'rounded-lg';
117
- /** @deprecated Use `rounded-[var(--border-radius-default)]` for cards/containers. */
118
- export const RADIUS_MD = 'rounded-xl';
119
- /** @deprecated Use `rounded-[var(--border-radius-round)]` for circular elements (icon buttons, radio, pills). */
120
- export const RADIUS_FULL = 'rounded-full';
121
-
122
- // ─── Shadows ─────────────────────────────────────────────
123
-
124
- /** @deprecated Use `shadow-sm` directly instead */
125
- export const SHADOW_SM = 'shadow-sm';
126
- /** @deprecated Use `shadow-md` directly instead */
127
- export const SHADOW_MD = 'shadow-md';
128
-
129
- // ─── Sizing ──────────────────────────────────────────────
130
- // Unified size scale for interactive/form components (Button, Input, Select, Checkbox).
131
- // Only two sizes: 'default' (regular) and 'small' (compact).
132
- // NOTE: Text and Heading use a separate typography scale (xs/sm/md/lg/xl) — not this.
133
- /** @deprecated */
134
- export const SIZE_SCALE = {
135
- default: {
136
- height: 'h-10',
137
- px: 'px-4',
138
- gap: 'gap-2',
139
- text: 'text-base'
140
- },
141
- small: {
142
- height: 'h-8',
143
- px: 'px-3',
144
- gap: 'gap-1.5',
145
- text: 'text-sm'
146
- }
147
- };
148
-
149
- // ─── Transitions ─────────────────────────────────────────
150
- export const TRANSITION_COLORS = 'transition-colors duration-150';
151
-
152
- // ─── Disabled ────────────────────────────────────────────
153
- export const DISABLED_OPACITY = 'data-[disabled=true]:opacity-50';
154
- export const DISABLED_CURSOR = 'data-[disabled=true]:cursor-not-allowed data-[disabled=true]:pointer-events-none';
155
- //# sourceMappingURL=primitives.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["COLOR_BG_PRIMARY","COLOR_BG_SUBTLE","COLOR_BG_MUTED","COLOR_BG_INVERSE","COLOR_BORDER_DEFAULT","COLOR_BORDER_STRONG","COLOR_BORDER_FOCUS","COLOR_BORDER_INVALID","COLOR_TEXT_PRIMARY","COLOR_TEXT_SECONDARY","COLOR_TEXT_MUTED","COLOR_TEXT_INVERSE","COLOR_TEXT_PLACEHOLDER","COLOR_TEXT_INVALID","COLOR_BRAND_DEFAULT","COLOR_BRAND_HOVER","COLOR_BRAND_ACTIVE","COLOR_ACCENT_DEFAULT","COLOR_ACCENT_BORDER","SEMANTIC_COLORS","action","bg","bgHover","bgActive","border","text","ring","danger","warning","success","info","FOCUS_RING","RADIUS_SM","RADIUS_MD","RADIUS_FULL","SHADOW_SM","SHADOW_MD","SIZE_SCALE","default","height","px","gap","small","TRANSITION_COLORS","DISABLED_OPACITY","DISABLED_CURSOR"],"sourceRoot":"../../../src","sources":["styles/primitives.ts"],"mappings":";;AAAA;AACA;;AAEA;AACA;AACA;AACA,OAAO,MAAMA,gBAAgB,GAAG,UAAU;AAC1C;AACA,OAAO,MAAMC,eAAe,GAAG,aAAa;AAC5C;AACA,OAAO,MAAMC,cAAc,GAAG,cAAc;AAC5C;AACA,OAAO,MAAMC,gBAAgB,GAAG,cAAc;;AAE9C;AACA;AACA,OAAO,MAAMC,oBAAoB,GAAG,kBAAkB;AACtD;AACA,OAAO,MAAMC,mBAAmB,GAAG,kBAAkB;AACrD;AACA,OAAO,MAAMC,kBAAkB,GAAG,kBAAkB;AACpD;AACA,OAAO,MAAMC,oBAAoB,GAAG,gBAAgB;;AAEpD;AACA;AACA,OAAO,MAAMC,kBAAkB,GAAG,gBAAgB;AAClD;AACA,OAAO,MAAMC,oBAAoB,GAAG,gBAAgB;AACpD;AACA,OAAO,MAAMC,gBAAgB,GAAG,gBAAgB;AAChD;AACA,OAAO,MAAMC,kBAAkB,GAAG,YAAY;AAC9C;AACA,OAAO,MAAMC,sBAAsB,GAAG,gBAAgB;AACtD;AACA,OAAO,MAAMC,kBAAkB,GAAG,cAAc;;AAEhD;AACA;AACA,OAAO,MAAMC,mBAAmB,GAAG,cAAc;AACjD;AACA,OAAO,MAAMC,iBAAiB,GAAG,cAAc;AAC/C;AACA,OAAO,MAAMC,kBAAkB,GAAG,cAAc;;AAEhD;AACA;AACA,OAAO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,WAAW,GAAG,cAAc;;AAEzC;;AAEA;AACA,OAAO,MAAMC,SAAS,GAAG,WAAW;AACpC;AACA,OAAO,MAAMC,SAAS,GAAG,WAAW;;AAEpC;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,UAAU,GAAG;EACxBC,OAAO,EAAE;IAAEC,MAAM,EAAE,MAAM;IAAEC,EAAE,EAAE,MAAM;IAAEC,GAAG,EAAE,OAAO;IAAEhB,IAAI,EAAE;EAAY,CAAC;EACxEiB,KAAK,EAAE;IAAEH,MAAM,EAAE,KAAK;IAAEC,EAAE,EAAE,MAAM;IAAEC,GAAG,EAAE,SAAS;IAAEhB,IAAI,EAAE;EAAU;AACtE,CAAU;;AAEV;AACA,OAAO,MAAMkB,iBAAiB,GAAG,gCAAgC;;AAEjE;AACA,OAAO,MAAMC,gBAAgB,GAAG,iCAAiC;AACjE,OAAO,MAAMC,eAAe,GAC1B,kFAAkF","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- export * from './primitives';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}