@doodl/slate 1.22.8 → 1.22.10

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
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.22.10](https://bitbucket.org/doodlltd/slate/compare/v1.22.9...v1.22.10) (2023-06-01)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * Layout Section selector ([e386659](https://bitbucket.org/doodlltd/slate/commit/e38665926243185a358e77620d4ae769a989cf2b))
11
+
12
+ ### [1.22.9](https://bitbucket.org/doodlltd/slate/compare/v1.22.8...v1.22.9) (2023-05-31)
13
+
5
14
  ### [1.22.8](https://bitbucket.org/doodlltd/slate/compare/v1.22.7...v1.22.8) (2022-11-17)
6
15
 
7
16
  ### [1.22.7](https://bitbucket.org/doodlltd/slate/compare/v1.22.6...v1.22.7) (2022-10-06)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doodl/slate",
3
- "version": "1.22.8",
3
+ "version": "1.22.10",
4
4
  "description": "",
5
5
  "main": "./js/dist/index.js",
6
6
  "module": "./js/dist/index.js",
@@ -1,7 +1,7 @@
1
1
  @import '../../variables/layout';
2
2
  @import '../../mixins';
3
3
 
4
- .section,
4
+ #{$slate-layout-section-selector},
5
5
  %section {
6
6
  padding: $slate-layout-section-vertical-padding
7
7
  $slate-layout-section-horizontal-padding;
@@ -1,4 +1,5 @@
1
1
  @import '../variables/image-break';
2
+ @import '../variables/layout';
2
3
 
3
4
  #{$slate-image-break-root-selector} {
4
5
  $root-selector: #{&};
@@ -8,7 +9,7 @@
8
9
 
9
10
  @at-root {
10
11
  // Overlay class can be applied either to a parent section, or to the container itself
11
- #{selector-unify(section,$slate-image-break-overlay-class)}
12
+ #{selector-unify($slate-layout-section-selector,$slate-image-break-overlay-class)}
12
13
  #{$container-selector},
13
14
  #{selector-unify($container-selector,$slate-image-break-overlay-class)} {
14
15
  &::after {
@@ -22,7 +23,7 @@
22
23
  }
23
24
  }
24
25
 
25
- #{selector-unify(section,$slate-image-break-overlay-class--dark)}
26
+ #{selector-unify($slate-layout-section-selector,$slate-image-break-overlay-class--dark)}
26
27
  #{$container-selector},
27
28
  #{selector-unify($container-selector,$slate-image-break-overlay-class--dark)} {
28
29
  &::after {
@@ -1,5 +1,7 @@
1
1
  @import '../variables/spacing';
2
2
 
3
+ $slate-layout-section-selector: '.section' !default;
4
+
3
5
  $slate-layout-section-vertical-padding: 3 * $slate-default-spacing !default;
4
6
  $slate-layout-section-horizontal-padding: 0 !default;
5
7