@marigold/components 11.1.0 → 11.1.1

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.
package/dist/index.js CHANGED
@@ -1394,7 +1394,7 @@ var _Headline = ({
1394
1394
  // possibly set by a <Container>
1395
1395
  import_system37.textAlign[align]
1396
1396
  ),
1397
- style: { color: color && `var(--color-${color})` },
1397
+ style: { color: (0, import_system37.ensureCssVar)(color) },
1398
1398
  children
1399
1399
  }
1400
1400
  );
@@ -3882,7 +3882,7 @@ var _Text = ({
3882
3882
  weight && import_system84.fontWeight[weight],
3883
3883
  fontSize && import_system84.textSize[fontSize]
3884
3884
  ),
3885
- style: { color: color && `var(--color-${color})` },
3885
+ style: { color: (0, import_system84.ensureCssVar)(color) },
3886
3886
  children
3887
3887
  }
3888
3888
  );
package/dist/index.mjs CHANGED
@@ -1268,7 +1268,12 @@ var _Header = ({ variant, size, ...props }) => {
1268
1268
 
1269
1269
  // src/Headline/Headline.tsx
1270
1270
  import { Heading as Heading2 } from "react-aria-components";
1271
- import { cn as cn23, textAlign, useClassNames as useClassNames21 } from "@marigold/system";
1271
+ import {
1272
+ cn as cn23,
1273
+ ensureCssVar,
1274
+ textAlign,
1275
+ useClassNames as useClassNames21
1276
+ } from "@marigold/system";
1272
1277
  import { jsx as jsx41 } from "react/jsx-runtime";
1273
1278
  var _Headline = ({
1274
1279
  variant,
@@ -1295,7 +1300,7 @@ var _Headline = ({
1295
1300
  // possibly set by a <Container>
1296
1301
  textAlign[align]
1297
1302
  ),
1298
- style: { color: color && `var(--color-${color})` },
1303
+ style: { color: ensureCssVar(color) },
1299
1304
  children
1300
1305
  }
1301
1306
  );
@@ -3802,6 +3807,7 @@ import { Text as Text2 } from "react-aria-components";
3802
3807
  import {
3803
3808
  cn as cn58,
3804
3809
  cursorStyle,
3810
+ ensureCssVar as ensureCssVar2,
3805
3811
  fontWeight,
3806
3812
  textAlign as textAlign2,
3807
3813
  textSize,
@@ -3844,7 +3850,7 @@ var _Text = ({
3844
3850
  weight && fontWeight[weight],
3845
3851
  fontSize && textSize[fontSize]
3846
3852
  ),
3847
- style: { color: color && `var(--color-${color})` },
3853
+ style: { color: ensureCssVar2(color) },
3848
3854
  children
3849
3855
  }
3850
3856
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marigold/components",
3
- "version": "11.1.0",
3
+ "version": "11.1.1",
4
4
  "description": "Components for the Marigold Design System",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -43,7 +43,7 @@
43
43
  "@react-types/shared": "3.27.0",
44
44
  "@react-types/table": "3.10.4",
45
45
  "react-aria-components": "1.6.0",
46
- "@marigold/system": "11.1.0",
46
+ "@marigold/system": "11.1.1",
47
47
  "@marigold/types": "1.2.1"
48
48
  },
49
49
  "peerDependencies": {
@@ -55,7 +55,7 @@
55
55
  "react": "19.0.0",
56
56
  "react-dom": "19.0.0",
57
57
  "tsup": "8.3.5",
58
- "@marigold/icons": "1.2.68",
58
+ "@marigold/icons": "1.2.69",
59
59
  "@marigold/tsconfig": "0.4.0"
60
60
  },
61
61
  "scripts": {