@yahoo/uds-v5-wip 1.7.0 → 1.8.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.
@@ -214,15 +214,8 @@ function processStyleProps(props = {}, opts = {}) {
214
214
  if (handler) {
215
215
  const opacityPropName = colorPropToOpacityProp[propKey];
216
216
  if (opacityPropName && !opts.modifier && typeof propValue === "string") {
217
- let opacityValue = effectiveProps[opacityPropName];
218
- let baseToken = propValue;
219
- if (opacityValue === void 0) {
220
- const slashIdx = propValue.lastIndexOf("/");
221
- if (slashIdx > 0 && /^\d{1,3}$/.test(propValue.slice(slashIdx + 1))) {
222
- baseToken = propValue.slice(0, slashIdx);
223
- opacityValue = propValue.slice(slashIdx + 1);
224
- }
225
- }
217
+ const opacityValue = effectiveProps[opacityPropName];
218
+ const baseToken = propValue;
226
219
  if (opacityValue !== void 0) {
227
220
  const cssInfo = colorPropCssInfo[propKey];
228
221
  if (cssInfo) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yahoo/uds-v5-wip",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "Universal Design System",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -119,8 +119,8 @@
119
119
  "@babel/traverse": "^7.29.0",
120
120
  "@babel/types": "^7.29.0",
121
121
  "@modelcontextprotocol/sdk": "^1.27.1",
122
- "@uds/cli": "npm:@yahoo/uds-v5-wip-cli@1.7.0",
123
- "@uds/types": "npm:@yahoo/uds-v5-wip-types@1.7.0",
122
+ "@uds/cli": "npm:@yahoo/uds-v5-wip-cli@1.8.0",
123
+ "@uds/types": "npm:@yahoo/uds-v5-wip-types@1.8.0",
124
124
  "clsx": "^2.1.1",
125
125
  "react-day-picker": "^9.14.0",
126
126
  "unplugin": "^3.0.0",