@godxjp/ui 26.3.0 → 26.4.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$comment": "AUTO-GENERATED by scripts/gen-measurement-contract.mjs — do not edit. Read this instead of guessing: docs/MEASUREMENT-CONTRACT.md.",
3
- "version": "26.3.0",
3
+ "version": "26.4.0",
4
4
  "targetSize": {
5
5
  "standard": "WCAG 2.2 SC 2.5.8 Target Size (Minimum), level AA — 24×24 CSS px",
6
6
  "min": 24,
@@ -1060,7 +1060,7 @@
1060
1060
  border: 0;
1061
1061
  padding: 0;
1062
1062
  cursor: pointer;
1063
- color: hsl(var(--muted-foreground) / 0.45);
1063
+ color: hsl(var(--rating-star-empty-color, var(--muted-foreground)) / var(--rating-star-empty-alpha));
1064
1064
  line-height: 0;
1065
1065
  }
1066
1066
  .ui-rating-star:disabled {
@@ -1072,7 +1072,7 @@
1072
1072
  }
1073
1073
 
1074
1074
  .ui-rating-star-filled {
1075
- color: hsl(var(--warning));
1075
+ color: hsl(var(--rating-star-filled-color, var(--warning)));
1076
1076
  }
1077
1077
  .ui-rating-star-filled svg {
1078
1078
  fill: currentColor;
@@ -3017,7 +3017,7 @@
3017
3017
  }
3018
3018
 
3019
3019
  .ui-rating-star-half-filled {
3020
- color: hsl(var(--warning));
3020
+ color: hsl(var(--rating-star-filled-color, var(--warning)));
3021
3021
  }
3022
3022
 
3023
3023
  .ui-radio-button-bar {
@@ -82,6 +82,10 @@
82
82
 
83
83
  --rating-focus-ring-offset: 2px;
84
84
 
85
+ --rating-star-filled-color: initial;
86
+ --rating-star-empty-color: initial;
87
+ --rating-star-empty-alpha: 0.45;
88
+
85
89
  --checkbox-border-width: var(--stroke-hairline);
86
90
  --checkbox-size: calc(1rem * var(--scaling));
87
91
  --checkbox-size-compact: 0.875rem;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@godxjp/ui",
3
- "version": "26.3.0",
4
- "godxUiMcp": "26.3.0",
3
+ "version": "26.4.0",
4
+ "godxUiMcp": "26.4.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",