@strata-ds/core 2.1.5 → 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 +15 -3
- package/dist/index.js +15 -3
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1364,9 +1364,20 @@ 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
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
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
|
+
}
|
|
1370
1381
|
}
|
|
1371
1382
|
},
|
|
1372
1383
|
colors: Object.entries(designSystem.variables).reduce(function (acc, _ref6) {
|
|
@@ -1446,6 +1457,7 @@ var StrataProvider = function StrataProvider(_ref) {
|
|
|
1446
1457
|
theme: theme,
|
|
1447
1458
|
cssVarsRoot: ":root",
|
|
1448
1459
|
resetCSS: false,
|
|
1460
|
+
disableGlobalStyle: true,
|
|
1449
1461
|
children: children
|
|
1450
1462
|
})
|
|
1451
1463
|
});
|
package/dist/index.js
CHANGED
|
@@ -1366,9 +1366,20 @@ 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
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
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
|
+
}
|
|
1372
1383
|
}
|
|
1373
1384
|
},
|
|
1374
1385
|
colors: Object.entries(designSystem.variables).reduce(function (acc, _ref6) {
|
|
@@ -1448,6 +1459,7 @@ var StrataProvider = function StrataProvider(_ref) {
|
|
|
1448
1459
|
theme: theme,
|
|
1449
1460
|
cssVarsRoot: ":root",
|
|
1450
1461
|
resetCSS: false,
|
|
1462
|
+
disableGlobalStyle: true,
|
|
1451
1463
|
children: children
|
|
1452
1464
|
})
|
|
1453
1465
|
});
|