@techsio/ui-kit 0.23.0 → 0.25.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.
@@ -10,8 +10,8 @@ const checkboxVariants = tv({
10
10
  control: [
11
11
  "relative shrink-0 cursor-pointer",
12
12
  "size-checkbox",
13
- "rounded-checkbox border border-checkbox-border",
14
- "bg-checkbox-bg",
13
+ "rounded-checkbox border border-checkbox-border-base",
14
+ "bg-checkbox-bg-base",
15
15
  "flex items-center justify-center",
16
16
  "transition-all duration-200 motion-reduce:transition-none",
17
17
  "data-[state=checked]:bg-checkbox-bg-checked",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@techsio/ui-kit",
3
- "version": "0.23.0",
3
+ "version": "0.25.0",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -70,7 +70,7 @@
70
70
  "test:components:update": "node scripts/run-component-tests.mjs --update-snapshots",
71
71
  "lint:tailwind": "eslint \"**/*.{js,jsx,ts,tsx}\" --config eslint.config.js",
72
72
  "lint:tailwind:fix": "eslint \"**/*.{js,jsx,ts,tsx}\" --config eslint.config.js --fix",
73
- "prepare": "pnpm build && pnpm build:storybook",
73
+ "prepare": "pnpm build",
74
74
  "check:unused-tokens": "bun scripts/check-unused-tokens.js",
75
75
  "validate:tokens": "bun scripts/validate-token-usage.js && bun scripts/validate-token-definitions.js",
76
76
  "validate:token-usage": "bun scripts/validate-token-usage.js",
@@ -2,6 +2,8 @@
2
2
  * Combobox — runtime tokens come from libs/ui/src/tokens/figma/variables.css.
3
3
  *
4
4
  * Kept here:
5
+ * - `--padding-combobox-input-{size}` semantic aliases (Figma exports
6
+ * the shared per-size spacing axis).
5
7
  * - `--padding-combobox-item-{size}` combined shorthands (Figma splits
6
8
  * the item padding into x + per-size y).
7
9
  * - `--padding-combobox-trigger` composite.
@@ -9,9 +11,16 @@
9
11
  */
10
12
 
11
13
  @theme static {
12
- --padding-combobox-item-sm: var(--spacing-combobox-item-padding-y-sm) var(--spacing-combobox-item-padding-x);
13
- --padding-combobox-item-md: var(--spacing-combobox-item-padding-y-md) var(--spacing-combobox-item-padding-x);
14
- --padding-combobox-item-lg: var(--spacing-combobox-item-padding-y-lg) var(--spacing-combobox-item-padding-x);
14
+ --padding-combobox-input-sm: var(--spacing-combobox-sm);
15
+ --padding-combobox-input-md: var(--spacing-combobox-md);
16
+ --padding-combobox-input-lg: var(--spacing-combobox-lg);
17
+
18
+ --padding-combobox-item-sm: var(--spacing-combobox-item-padding-y-sm)
19
+ var(--spacing-combobox-item-padding-x);
20
+ --padding-combobox-item-md: var(--spacing-combobox-item-padding-y-md)
21
+ var(--spacing-combobox-item-padding-x);
22
+ --padding-combobox-item-lg: var(--spacing-combobox-item-padding-y-lg)
23
+ var(--spacing-combobox-item-padding-x);
15
24
 
16
25
  --padding-combobox-trigger: 0 var(--spacing-100);
17
26
 
@@ -1,8 +1,14 @@
1
1
  /*
2
- * RadioCard — runtime tokens come entirely from
3
- * libs/ui/src/tokens/figma/variables.css.
2
+ * RadioCard — runtime tokens come from libs/ui/src/tokens/figma/variables.css.
3
+ *
4
+ * The outline checked state intentionally keeps the base background until
5
+ * hover; Figma only exports the checked-hover override.
4
6
  */
5
7
 
8
+ @theme static {
9
+ --color-radio-card-item-bg-outline-checked: var(--color-radio-card-item-bg);
10
+ }
11
+
6
12
  @utility token-icon-radio-card-checked {
7
13
  @apply token-icon-circle;
8
14
  }
@@ -4,6 +4,7 @@
4
4
  * Kept here:
5
5
  * - `--spacing-steps-list-vertical` (container-based width).
6
6
  * - bare text defaults (Figma exports per-size only).
7
+ * - semantic color and font-weight aliases not exported by Figma.
7
8
  * - h-/w- aliases for the Figma progress/separator size axes.
8
9
  */
9
10
 
@@ -14,6 +15,10 @@
14
15
  --text-steps-description: var(--text-sm);
15
16
  --text-steps-icon: var(--text-md);
16
17
 
18
+ --color-steps-fg: var(--color-steps-content-fg);
19
+ --font-weight-steps-number: var(--font-weight-medium);
20
+ --font-weight-steps-title: var(--font-weight-medium);
21
+
17
22
  --height-steps-progress: var(--size-steps-progress-height);
18
23
  --width-steps-progress: var(--size-steps-progress-width);
19
24
  --height-steps-separator: var(--size-steps-separator-height);