@betterstore/react 0.3.21 → 0.3.22

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @betterstore/sdk
2
2
 
3
+ ## 0.3.22
4
+
5
+ ### Patch Changes
6
+
7
+ - bug fixes variables bug
8
+
3
9
  ## 0.3.21
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/react",
3
- "version": "0.3.21",
3
+ "version": "0.3.22",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -10,4 +10,14 @@ module.exports = {
10
10
  extend: {},
11
11
  },
12
12
  plugins: [],
13
+ // Prefix all CSS variables to prevent leakage
14
+ future: {
15
+ hoverOnlyWhenSupported: true,
16
+ },
17
+ // This ensures all CSS variables are prefixed
18
+ darkMode: "class",
19
+ // Custom prefix for CSS variables
20
+ cssVariables: {
21
+ prefix: "betterstore-",
22
+ },
13
23
  };