@strata-ds/core 2.1.4 → 2.1.6

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.esm.js CHANGED
@@ -1364,8 +1364,21 @@ var StrataProvider = function StrataProvider(_ref) {
1364
1364
  }, [syncEnabled, syncUrl, snapshotUrl, syncInterval, syncDesignSystem]);
1365
1365
  // Convert design tokens to Chakra UI theme with enhanced resolution
1366
1366
  var theme = extendTheme({
1367
- styles: {
1368
- global: {}
1367
+ semanticTokens: {
1368
+ colors: {
1369
+ "chakra-body-bg": {
1370
+ "default": "transparent",
1371
+ _dark: "transparent"
1372
+ },
1373
+ "chakra-body-text": {
1374
+ "default": "inherit",
1375
+ _dark: "inherit"
1376
+ },
1377
+ "chakra-border-color": {
1378
+ "default": "inherit",
1379
+ _dark: "inherit"
1380
+ }
1381
+ }
1369
1382
  },
1370
1383
  colors: Object.entries(designSystem.variables).reduce(function (acc, _ref6) {
1371
1384
  var _ref7 = _slicedToArray(_ref6, 2),
@@ -1444,6 +1457,7 @@ var StrataProvider = function StrataProvider(_ref) {
1444
1457
  theme: theme,
1445
1458
  cssVarsRoot: ":root",
1446
1459
  resetCSS: false,
1460
+ disableGlobalStyle: true,
1447
1461
  children: children
1448
1462
  })
1449
1463
  });
package/dist/index.js CHANGED
@@ -1366,8 +1366,21 @@ var StrataProvider = function StrataProvider(_ref) {
1366
1366
  }, [syncEnabled, syncUrl, snapshotUrl, syncInterval, syncDesignSystem]);
1367
1367
  // Convert design tokens to Chakra UI theme with enhanced resolution
1368
1368
  var theme = react.extendTheme({
1369
- styles: {
1370
- global: {}
1369
+ semanticTokens: {
1370
+ colors: {
1371
+ "chakra-body-bg": {
1372
+ "default": "transparent",
1373
+ _dark: "transparent"
1374
+ },
1375
+ "chakra-body-text": {
1376
+ "default": "inherit",
1377
+ _dark: "inherit"
1378
+ },
1379
+ "chakra-border-color": {
1380
+ "default": "inherit",
1381
+ _dark: "inherit"
1382
+ }
1383
+ }
1371
1384
  },
1372
1385
  colors: Object.entries(designSystem.variables).reduce(function (acc, _ref6) {
1373
1386
  var _ref7 = _slicedToArray(_ref6, 2),
@@ -1446,6 +1459,7 @@ var StrataProvider = function StrataProvider(_ref) {
1446
1459
  theme: theme,
1447
1460
  cssVarsRoot: ":root",
1448
1461
  resetCSS: false,
1462
+ disableGlobalStyle: true,
1449
1463
  children: children
1450
1464
  })
1451
1465
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strata-ds/core",
3
- "version": "2.1.4",
3
+ "version": "2.1.6",
4
4
  "type": "module",
5
5
  "description": "The runtime component library for Strata — design once, sync everywhere.",
6
6
  "homepage": "https://strata.charisol.io",