@cntrl-site/sdk 1.1.0 → 1.1.1

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/.env.local ADDED
@@ -0,0 +1 @@
1
+ CNTRL_API_URL=https://01GJ2SPNXG3V5P35ZA35YM1JTW:68e1bacad1b3adb6cb8be99ca7167c2b@preview.cntrl.site
package/cntrl.scss CHANGED
@@ -3,7 +3,7 @@
3
3
  // WE HIGHLY ADVICE YOU TO NOT CHANGE IT MANUALLY
4
4
  @use "sass:map";
5
5
 
6
- $__CNTRL_LAYOUT_WIDTH__: 100;
6
+ $__CNTRL_LAYOUT_WIDTH__: 375;
7
7
 
8
8
  $layout: (
9
9
 
@@ -61,6 +61,6 @@ $layout: (
61
61
  }
62
62
  }
63
63
 
64
- // reset global variable back to it's initial state
65
- $__CNTRL_LAYOUT_WIDTH__: 100 !global;
64
+ // reset global variable back to first layout's exemplary (mobile-first)
65
+ $__CNTRL_LAYOUT_WIDTH__: 375 !global;
66
66
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/sdk",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Generic SDK for use in public websites.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/index.ts",
@@ -3,7 +3,7 @@
3
3
  // WE HIGHLY ADVICE YOU TO NOT CHANGE IT MANUALLY
4
4
  @use "sass:map";
5
5
 
6
- $__CNTRL_LAYOUT_WIDTH__: 100;
6
+ $__CNTRL_LAYOUT_WIDTH__: <%= ranges[0].exemplary %>;
7
7
 
8
8
  $layout: (
9
9
  <% ranges.forEach(function(range) { %>
@@ -45,6 +45,6 @@ $layout: (
45
45
  }
46
46
  }
47
47
 
48
- // reset global variable back to it's initial state
49
- $__CNTRL_LAYOUT_WIDTH__: 100 !global;
48
+ // reset global variable back to first layout's exemplary (mobile-first)
49
+ $__CNTRL_LAYOUT_WIDTH__: <%= ranges[0].exemplary %> !global;
50
50
  }