@strata-ds/core 2.1.2 → 2.1.4
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 +4 -0
- package/dist/index.js +4 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1364,6 +1364,9 @@ 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: {}
|
|
1369
|
+
},
|
|
1367
1370
|
colors: Object.entries(designSystem.variables).reduce(function (acc, _ref6) {
|
|
1368
1371
|
var _ref7 = _slicedToArray(_ref6, 2),
|
|
1369
1372
|
key = _ref7[0],
|
|
@@ -1440,6 +1443,7 @@ var StrataProvider = function StrataProvider(_ref) {
|
|
|
1440
1443
|
children: jsx(ChakraProvider, {
|
|
1441
1444
|
theme: theme,
|
|
1442
1445
|
cssVarsRoot: ":root",
|
|
1446
|
+
resetCSS: false,
|
|
1443
1447
|
children: children
|
|
1444
1448
|
})
|
|
1445
1449
|
});
|
package/dist/index.js
CHANGED
|
@@ -1366,6 +1366,9 @@ 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: {}
|
|
1371
|
+
},
|
|
1369
1372
|
colors: Object.entries(designSystem.variables).reduce(function (acc, _ref6) {
|
|
1370
1373
|
var _ref7 = _slicedToArray(_ref6, 2),
|
|
1371
1374
|
key = _ref7[0],
|
|
@@ -1442,6 +1445,7 @@ var StrataProvider = function StrataProvider(_ref) {
|
|
|
1442
1445
|
children: jsxRuntime.jsx(react.ChakraProvider, {
|
|
1443
1446
|
theme: theme,
|
|
1444
1447
|
cssVarsRoot: ":root",
|
|
1448
|
+
resetCSS: false,
|
|
1445
1449
|
children: children
|
|
1446
1450
|
})
|
|
1447
1451
|
});
|