@marigold/system 7.6.0 → 7.7.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.
package/dist/index.js CHANGED
@@ -101,7 +101,7 @@ var get = (obj, path, fallback) => {
101
101
  return result === void 0 ? fallback : result;
102
102
  };
103
103
  var getColor = (theme, path, fallback) => {
104
- const result = get(theme.colors || {}, path.replace("-", "."), fallback);
104
+ const result = get(theme.colors || {}, path.replace(/-/g, "."), fallback);
105
105
  return isObject(result) ? result["DEFAULT"] : result;
106
106
  };
107
107
 
package/dist/index.mjs CHANGED
@@ -28,7 +28,7 @@ var get = (obj, path, fallback) => {
28
28
  return result === void 0 ? fallback : result;
29
29
  };
30
30
  var getColor = (theme, path, fallback) => {
31
- const result = get(theme.colors || {}, path.replace("-", "."), fallback);
31
+ const result = get(theme.colors || {}, path.replace(/-/g, "."), fallback);
32
32
  return isObject(result) ? result["DEFAULT"] : result;
33
33
  };
34
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marigold/system",
3
- "version": "7.6.0",
3
+ "version": "7.7.0",
4
4
  "description": "Marigold System Library",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -26,14 +26,14 @@
26
26
  "dependencies": {
27
27
  "@react-aria/i18n": "3.10.2",
28
28
  "class-variance-authority": "0.7.0",
29
- "deepmerge": "^4.2.2",
30
- "react-fast-compare": "^3.2.0",
29
+ "deepmerge": "4.2.2",
30
+ "react-fast-compare": "3.2.0",
31
31
  "tailwind-merge": "2.2.1",
32
32
  "@marigold/types": "1.1.0"
33
33
  },
34
34
  "peerDependencies": {
35
- "react": "16.x || 17.x || 18.x",
36
- "react-dom": "16.x || 17.x || 18.x"
35
+ "react": "18.x",
36
+ "react-dom": "18.x"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@babel/core": "7.24.3",