energy-foundations 2.3.0 → 2.4.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.
@@ -23,6 +23,28 @@
23
23
  }
24
24
  }
25
25
 
26
+ .rds-layout-editorial {
27
+ padding: 0 $g-padding-mobile;
28
+
29
+ @include breakpoint(tablet-v2) {
30
+ padding: 0 $g-padding-tablet;
31
+ }
32
+
33
+ @include breakpoint(desktop-v2) {
34
+ padding: 0 $g-padding-desktop;
35
+ }
36
+
37
+ @include breakpoint(desktop-large-v2) {
38
+ padding: 0 72px;
39
+ }
40
+
41
+ @include breakpoint(ultrawide-v2) {
42
+ margin: 0 auto;
43
+ max-width: 1584px;
44
+ padding: 0 72px;
45
+ }
46
+ }
47
+
26
48
  .rds-grid {
27
49
  display: grid;
28
50
  margin-left: auto;
@@ -37,6 +59,20 @@
37
59
  }
38
60
  }
39
61
 
62
+ .rds-grid-editorial {
63
+ display: grid;
64
+ margin-left: auto;
65
+ margin-right: auto;
66
+ width: 100%;
67
+
68
+ @each $breakpoint, $config in $grid-config-editorial {
69
+ @include breakpoint($breakpoint) {
70
+ gap: map.get($config, gap);
71
+ grid-template-columns: repeat(map.get($config, max-columns), 1fr);
72
+ }
73
+ }
74
+ }
75
+
40
76
  // Map of breakpoint names to abbreviations
41
77
  $breakpoint-abbr: (
42
78
  mobile: sd,
@@ -1,4 +1,4 @@
1
- /** Auto-generated by generateIconLayers.js on 2026-07-28T07:47:11.825Z */
1
+ /** Auto-generated by generateIconLayers.js on 2026-09-16T05:39:24.510Z */
2
2
  /* eslint-disable */
3
3
  export const iconLayers = {
4
4
  "calendar_active": 8,
@@ -1,4 +1,4 @@
1
- /** Auto-generated by generateIconLayers.js on 2026-07-28T07:47:11.825Z */
1
+ /** Auto-generated by generateIconLayers.js on 2026-09-16T05:39:24.510Z */
2
2
  /* eslint-disable */
3
3
  export const iconLayers: Record<string, number> = {
4
4
  "calendar_active": 8,
@@ -1,4 +1,4 @@
1
- /** Auto-generated by generateIconLayers.js on 2026-07-28T07:47:11.825Z */
1
+ /** Auto-generated by generateIconLayers.js on 2026-09-16T05:39:24.510Z */
2
2
  /* eslint-disable */
3
3
  export const iconNames = [
4
4
  "ac-aire-acondicionado",
@@ -1,4 +1,4 @@
1
- /** Auto-generated by generateIconLayers.js on 2026-07-28T07:47:11.825Z */
1
+ /** Auto-generated by generateIconLayers.js on 2026-09-16T05:39:24.510Z */
2
2
  /* eslint-disable */
3
3
  export const iconNames: string[] = [
4
4
  "ac-aire-acondicionado",
package/dist/index.css CHANGED
@@ -4853,6 +4853,32 @@ html {
4853
4853
  }
4854
4854
  }
4855
4855
 
4856
+ .rds-layout-editorial {
4857
+ padding: 0 16px;
4858
+ }
4859
+ @media (min-width: 800px) {
4860
+ .rds-layout-editorial {
4861
+ padding: 0 24px;
4862
+ }
4863
+ }
4864
+ @media (min-width: 1024px) {
4865
+ .rds-layout-editorial {
4866
+ padding: 0 32px;
4867
+ }
4868
+ }
4869
+ @media (min-width: 1250px) {
4870
+ .rds-layout-editorial {
4871
+ padding: 0 72px;
4872
+ }
4873
+ }
4874
+ @media (min-width: 1584px) {
4875
+ .rds-layout-editorial {
4876
+ margin: 0 auto;
4877
+ max-width: 1584px;
4878
+ padding: 0 72px;
4879
+ }
4880
+ }
4881
+
4856
4882
  .rds-grid {
4857
4883
  display: grid;
4858
4884
  margin-left: auto;
@@ -4878,6 +4904,31 @@ html {
4878
4904
  }
4879
4905
  }
4880
4906
 
4907
+ .rds-grid-editorial {
4908
+ display: grid;
4909
+ margin-left: auto;
4910
+ margin-right: auto;
4911
+ width: 100%;
4912
+ }
4913
+ @media (max-width: 799px) {
4914
+ .rds-grid-editorial {
4915
+ gap: 16px;
4916
+ grid-template-columns: repeat(4, 1fr);
4917
+ }
4918
+ }
4919
+ @media (min-width: 800px) {
4920
+ .rds-grid-editorial {
4921
+ gap: 24px;
4922
+ grid-template-columns: repeat(8, 1fr);
4923
+ }
4924
+ }
4925
+ @media (min-width: 1024px) {
4926
+ .rds-grid-editorial {
4927
+ gap: 24px;
4928
+ grid-template-columns: repeat(12, 1fr);
4929
+ }
4930
+ }
4931
+
4881
4932
  @media (max-width: 719px) {
4882
4933
  .rds-col-sd-1 {
4883
4934
  grid-column: span 1;
@@ -13,7 +13,7 @@
13
13
 
14
14
  // If the key exists in the map
15
15
  @if $value {
16
- @if $breakpoint == mobile {
16
+ @if $breakpoint == mobile or $breakpoint == mobile-v2 {
17
17
  @media (max-width: $value) {
18
18
  @content;
19
19
  }
package/dist/style.css CHANGED
@@ -4853,6 +4853,32 @@ html {
4853
4853
  }
4854
4854
  }
4855
4855
 
4856
+ .rds-layout-editorial {
4857
+ padding: 0 16px;
4858
+ }
4859
+ @media (min-width: 800px) {
4860
+ .rds-layout-editorial {
4861
+ padding: 0 24px;
4862
+ }
4863
+ }
4864
+ @media (min-width: 1024px) {
4865
+ .rds-layout-editorial {
4866
+ padding: 0 32px;
4867
+ }
4868
+ }
4869
+ @media (min-width: 1250px) {
4870
+ .rds-layout-editorial {
4871
+ padding: 0 72px;
4872
+ }
4873
+ }
4874
+ @media (min-width: 1584px) {
4875
+ .rds-layout-editorial {
4876
+ margin: 0 auto;
4877
+ max-width: 1584px;
4878
+ padding: 0 72px;
4879
+ }
4880
+ }
4881
+
4856
4882
  .rds-grid {
4857
4883
  display: grid;
4858
4884
  margin-left: auto;
@@ -4878,6 +4904,31 @@ html {
4878
4904
  }
4879
4905
  }
4880
4906
 
4907
+ .rds-grid-editorial {
4908
+ display: grid;
4909
+ margin-left: auto;
4910
+ margin-right: auto;
4911
+ width: 100%;
4912
+ }
4913
+ @media (max-width: 799px) {
4914
+ .rds-grid-editorial {
4915
+ gap: 16px;
4916
+ grid-template-columns: repeat(4, 1fr);
4917
+ }
4918
+ }
4919
+ @media (min-width: 800px) {
4920
+ .rds-grid-editorial {
4921
+ gap: 24px;
4922
+ grid-template-columns: repeat(8, 1fr);
4923
+ }
4924
+ }
4925
+ @media (min-width: 1024px) {
4926
+ .rds-grid-editorial {
4927
+ gap: 24px;
4928
+ grid-template-columns: repeat(12, 1fr);
4929
+ }
4930
+ }
4931
+
4881
4932
  @media (max-width: 719px) {
4882
4933
  .rds-col-sd-1 {
4883
4934
  grid-column: span 1;
@@ -5,6 +5,12 @@ $grid-config: (
5
5
  desktop: (max-columns: 12, gap: 24px)
6
6
  ) !default;
7
7
 
8
+ $grid-config-editorial: (
9
+ mobile-v2: (max-columns: 4, gap: 16px),
10
+ tablet-v2: (max-columns: 8, gap: 24px),
11
+ desktop-v2: (max-columns: 12, gap: 24px)
12
+ ) !default;
13
+
8
14
  $g-padding-mobile: 16px;
9
15
  $g-padding-tablet: 24px;
10
16
  $g-padding-desktop: 32px;
@@ -16,5 +16,10 @@ $breakpoints: (
16
16
  tablet: $bp-tablet,
17
17
  desktop: $bp-desktop,
18
18
  desktop-large: $bp-desktop-large,
19
- ultrawide: $bp-ultrawide
19
+ ultrawide: $bp-ultrawide,
20
+ mobile-v2: 799px,
21
+ tablet-v2: 800px,
22
+ desktop-v2: 1024px,
23
+ desktop-large-v2: 1250px,
24
+ ultrawide-v2: 1584px
20
25
  ) !default;
@@ -12,7 +12,7 @@ Authoritative class reference derived from Storybook MDX. Prefer using classes f
12
12
  ## Grid
13
13
 
14
14
  `rds-body-01`, `rds-body-02`, `rds-col`, `rds-col-1`, `rds-col-2`, `rds-col-3`, `rds-col-ld`, `rds-col-md`, `rds-col-md-4-offset-2`, `rds-col-sd`, `rds-e-layout-max`, `rds-grid`
15
- `rds-title-01`, `rds-title-02`
15
+ `rds-grid-editorial`, `rds-layout-editorial`, `rds-layout-max`, `rds-title-01`, `rds-title-02`
16
16
 
17
17
  ## Spacing
18
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "energy-foundations",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "config": {
5
5
  "commitizen": {
6
6
  "path": "node_modules/cz-customizable"
@@ -23,6 +23,28 @@
23
23
  }
24
24
  }
25
25
 
26
+ .rds-layout-editorial {
27
+ padding: 0 $g-padding-mobile;
28
+
29
+ @include breakpoint(tablet-v2) {
30
+ padding: 0 $g-padding-tablet;
31
+ }
32
+
33
+ @include breakpoint(desktop-v2) {
34
+ padding: 0 $g-padding-desktop;
35
+ }
36
+
37
+ @include breakpoint(desktop-large-v2) {
38
+ padding: 0 72px;
39
+ }
40
+
41
+ @include breakpoint(ultrawide-v2) {
42
+ margin: 0 auto;
43
+ max-width: 1584px;
44
+ padding: 0 72px;
45
+ }
46
+ }
47
+
26
48
  .rds-grid {
27
49
  display: grid;
28
50
  margin-left: auto;
@@ -37,6 +59,20 @@
37
59
  }
38
60
  }
39
61
 
62
+ .rds-grid-editorial {
63
+ display: grid;
64
+ margin-left: auto;
65
+ margin-right: auto;
66
+ width: 100%;
67
+
68
+ @each $breakpoint, $config in $grid-config-editorial {
69
+ @include breakpoint($breakpoint) {
70
+ gap: map.get($config, gap);
71
+ grid-template-columns: repeat(map.get($config, max-columns), 1fr);
72
+ }
73
+ }
74
+ }
75
+
40
76
  // Map of breakpoint names to abbreviations
41
77
  $breakpoint-abbr: (
42
78
  mobile: sd,
@@ -1,4 +1,4 @@
1
- /** Auto-generated by generateIconLayers.js on 2026-07-28T07:47:11.825Z */
1
+ /** Auto-generated by generateIconLayers.js on 2026-09-16T05:39:24.510Z */
2
2
  /* eslint-disable */
3
3
  export const iconLayers = {
4
4
  "calendar_active": 8,
@@ -1,4 +1,4 @@
1
- /** Auto-generated by generateIconLayers.js on 2026-07-28T07:47:11.825Z */
1
+ /** Auto-generated by generateIconLayers.js on 2026-09-16T05:39:24.510Z */
2
2
  /* eslint-disable */
3
3
  export const iconLayers: Record<string, number> = {
4
4
  "calendar_active": 8,
@@ -1,4 +1,4 @@
1
- /** Auto-generated by generateIconLayers.js on 2026-07-28T07:47:11.825Z */
1
+ /** Auto-generated by generateIconLayers.js on 2026-09-16T05:39:24.510Z */
2
2
  /* eslint-disable */
3
3
  export const iconNames = [
4
4
  "ac-aire-acondicionado",
@@ -1,4 +1,4 @@
1
- /** Auto-generated by generateIconLayers.js on 2026-07-28T07:47:11.825Z */
1
+ /** Auto-generated by generateIconLayers.js on 2026-09-16T05:39:24.510Z */
2
2
  /* eslint-disable */
3
3
  export const iconNames: string[] = [
4
4
  "ac-aire-acondicionado",
@@ -13,7 +13,7 @@
13
13
 
14
14
  // If the key exists in the map
15
15
  @if $value {
16
- @if $breakpoint == mobile {
16
+ @if $breakpoint == mobile or $breakpoint == mobile-v2 {
17
17
  @media (max-width: $value) {
18
18
  @content;
19
19
  }
@@ -5,6 +5,12 @@ $grid-config: (
5
5
  desktop: (max-columns: 12, gap: 24px)
6
6
  ) !default;
7
7
 
8
+ $grid-config-editorial: (
9
+ mobile-v2: (max-columns: 4, gap: 16px),
10
+ tablet-v2: (max-columns: 8, gap: 24px),
11
+ desktop-v2: (max-columns: 12, gap: 24px)
12
+ ) !default;
13
+
8
14
  $g-padding-mobile: 16px;
9
15
  $g-padding-tablet: 24px;
10
16
  $g-padding-desktop: 32px;
@@ -16,5 +16,10 @@ $breakpoints: (
16
16
  tablet: $bp-tablet,
17
17
  desktop: $bp-desktop,
18
18
  desktop-large: $bp-desktop-large,
19
- ultrawide: $bp-ultrawide
19
+ ultrawide: $bp-ultrawide,
20
+ mobile-v2: 799px,
21
+ tablet-v2: 800px,
22
+ desktop-v2: 1024px,
23
+ desktop-large-v2: 1250px,
24
+ ultrawide-v2: 1584px
20
25
  ) !default;