@festo-ui/web-essentials 7.3.0-dev.461 → 7.3.0-dev.464

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.
Files changed (135) hide show
  1. package/README.md +83 -83
  2. package/dist/css/festo-web-essentials.css +81 -58
  3. package/dist/css/festo-web-essentials.css.map +1 -1
  4. package/dist/css/festo-web-essentials.min.css +34 -2
  5. package/dist/css/festo-web-essentials.min.css.map +1 -1
  6. package/dist/css/organisms/festo-web-essentials-organisms.css +5 -0
  7. package/dist/css/organisms/festo-web-essentials-organisms.css.map +1 -1
  8. package/dist/css/organisms/festo-web-essentials-organisms.min.css +5 -1
  9. package/dist/css/organisms/festo-web-essentials-organisms.min.css.map +1 -1
  10. package/dist/css/themes/flatpickr/festo.css +1 -1
  11. package/dist/css/themes/flatpickr/festo.css.map +1 -1
  12. package/dist/css/themes/flatpickr/festo.min.css +1 -1
  13. package/dist/scss/_accordion.scss +26 -24
  14. package/dist/scss/_badge.scss +11 -9
  15. package/dist/scss/_border.scss +9 -5
  16. package/dist/scss/_bottom-navigation.scss +8 -6
  17. package/dist/scss/_bottom-sheet.scss +19 -16
  18. package/dist/scss/_breadcrumb.scss +7 -5
  19. package/dist/scss/_button.scss +25 -22
  20. package/dist/scss/_cards.scss +13 -11
  21. package/dist/scss/_checkbox.scss +18 -16
  22. package/dist/scss/_chips.scss +25 -22
  23. package/dist/scss/_colors.scss +3 -1
  24. package/dist/scss/_display.scss +9 -5
  25. package/dist/scss/_flex.scss +10 -5
  26. package/dist/scss/_fonts.scss +13 -11
  27. package/dist/scss/_grid.scss +11 -7
  28. package/dist/scss/_icons.scss +9 -7
  29. package/dist/scss/_layout.scss +10 -7
  30. package/dist/scss/_list.scss +20 -18
  31. package/dist/scss/_loading-indicator.scss +6 -4
  32. package/dist/scss/_mixins.scss +4 -2
  33. package/dist/scss/_mobile-flyout.scss +17 -15
  34. package/dist/scss/_modal.scss +36 -33
  35. package/dist/scss/_navbar-menu.scss +118 -116
  36. package/dist/scss/_navbar.scss +30 -48
  37. package/dist/scss/_normalize.scss +16 -13
  38. package/dist/scss/_pagination.scss +23 -21
  39. package/dist/scss/_popover.scss +21 -19
  40. package/dist/scss/_progressbar.scss +14 -12
  41. package/dist/scss/_radio.scss +20 -18
  42. package/dist/scss/_rfs.scss +5 -4
  43. package/dist/scss/_root.scss +5 -3
  44. package/dist/scss/_scroll.scss +6 -3
  45. package/dist/scss/_search-input.scss +15 -13
  46. package/dist/scss/_segment.scss +30 -27
  47. package/dist/scss/_select.scss +20 -18
  48. package/dist/scss/_sidebar-overlay.scss +7 -5
  49. package/dist/scss/_slider.scss +26 -23
  50. package/dist/scss/_snackbar.scss +48 -45
  51. package/dist/scss/_spacing.scss +9 -5
  52. package/dist/scss/_stepper-horizontal.scss +22 -20
  53. package/dist/scss/_stepper-vertical.scss +18 -16
  54. package/dist/scss/_switch.scss +12 -10
  55. package/dist/scss/_table.scss +11 -9
  56. package/dist/scss/_text-input.scss +24 -22
  57. package/dist/scss/_text-link.scss +7 -5
  58. package/dist/scss/_timepicker.scss +10 -8
  59. package/dist/scss/_toolbar.scss +8 -6
  60. package/dist/scss/_tree.scss +67 -68
  61. package/dist/scss/_type.scss +10 -8
  62. package/dist/scss/_utils.scss +2 -1
  63. package/dist/scss/_variables.scss +3 -2
  64. package/dist/scss/festo-web-essentials.scss +53 -53
  65. package/dist/scss/organisms/_footer.scss +13 -11
  66. package/dist/scss/organisms/_header-modul.scss +14 -12
  67. package/dist/scss/organisms/_header-slider.scss +10 -8
  68. package/dist/scss/organisms/_image-gallery.scss +19 -17
  69. package/dist/scss/organisms/_login.scss +14 -12
  70. package/dist/scss/organisms/_side-menu.scss +8 -5
  71. package/dist/scss/organisms/_teaser.scss +7 -5
  72. package/dist/scss/organisms/festo-web-essentials-organisms.scss +9 -9
  73. package/dist/scss/themes/flatpickr/festo.scss +2 -2
  74. package/package.json +3 -3
  75. package/scss/_accordion.scss +26 -24
  76. package/scss/_badge.scss +11 -9
  77. package/scss/_border.scss +9 -5
  78. package/scss/_bottom-navigation.scss +8 -6
  79. package/scss/_bottom-sheet.scss +19 -16
  80. package/scss/_breadcrumb.scss +7 -5
  81. package/scss/_button.scss +25 -22
  82. package/scss/_cards.scss +13 -11
  83. package/scss/_checkbox.scss +18 -16
  84. package/scss/_chips.scss +25 -22
  85. package/scss/_colors.scss +3 -1
  86. package/scss/_display.scss +9 -5
  87. package/scss/_flex.scss +10 -5
  88. package/scss/_fonts.scss +13 -11
  89. package/scss/_grid.scss +11 -7
  90. package/scss/_icons.scss +9 -7
  91. package/scss/_layout.scss +10 -7
  92. package/scss/_list.scss +20 -18
  93. package/scss/_loading-indicator.scss +6 -4
  94. package/scss/_mixins.scss +4 -2
  95. package/scss/_mobile-flyout.scss +17 -15
  96. package/scss/_modal.scss +36 -33
  97. package/scss/_navbar-menu.scss +118 -116
  98. package/scss/_navbar.scss +30 -48
  99. package/scss/_normalize.scss +16 -13
  100. package/scss/_pagination.scss +23 -21
  101. package/scss/_popover.scss +21 -19
  102. package/scss/_progressbar.scss +14 -12
  103. package/scss/_radio.scss +20 -18
  104. package/scss/_rfs.scss +5 -4
  105. package/scss/_root.scss +5 -3
  106. package/scss/_scroll.scss +6 -3
  107. package/scss/_search-input.scss +15 -13
  108. package/scss/_segment.scss +30 -27
  109. package/scss/_select.scss +20 -18
  110. package/scss/_sidebar-overlay.scss +7 -5
  111. package/scss/_slider.scss +26 -23
  112. package/scss/_snackbar.scss +48 -45
  113. package/scss/_spacing.scss +9 -5
  114. package/scss/_stepper-horizontal.scss +22 -20
  115. package/scss/_stepper-vertical.scss +18 -16
  116. package/scss/_switch.scss +12 -10
  117. package/scss/_table.scss +11 -9
  118. package/scss/_text-input.scss +24 -22
  119. package/scss/_text-link.scss +7 -5
  120. package/scss/_timepicker.scss +10 -8
  121. package/scss/_toolbar.scss +8 -6
  122. package/scss/_tree.scss +67 -68
  123. package/scss/_type.scss +10 -8
  124. package/scss/_utils.scss +2 -1
  125. package/scss/_variables.scss +3 -2
  126. package/scss/festo-web-essentials.scss +52 -52
  127. package/scss/organisms/_footer.scss +13 -11
  128. package/scss/organisms/_header-modul.scss +14 -12
  129. package/scss/organisms/_header-slider.scss +10 -8
  130. package/scss/organisms/_image-gallery.scss +19 -17
  131. package/scss/organisms/_login.scss +14 -12
  132. package/scss/organisms/_side-menu.scss +8 -5
  133. package/scss/organisms/_teaser.scss +7 -5
  134. package/scss/organisms/festo-web-essentials-organisms.scss +9 -9
  135. package/scss/themes/flatpickr/festo.scss +1 -1
@@ -1,10 +1,12 @@
1
+ @use "../variables";
2
+
1
3
  @use "sass:math";
2
4
 
3
5
  .fwe-header-modul-container {
4
6
  display: flex;
5
7
  flex-direction: column;
6
- padding-top: $spacer-l;
7
- padding-bottom: $spacer-l;
8
+ padding-top: variables.$spacer-l;
9
+ padding-bottom: variables.$spacer-l;
8
10
 
9
11
  .fwe-header-modul-content {
10
12
  order: 2;
@@ -22,9 +24,9 @@
22
24
  }
23
25
 
24
26
  p {
25
- font-size: $font-size-xl;
27
+ font-size: variables.$font-size-xl;
26
28
  line-height: 32px;
27
- color: $text-light;
29
+ color: variables.$text-light;
28
30
  margin: 0;
29
31
  padding-bottom: 34px;
30
32
  }
@@ -36,18 +38,18 @@
36
38
  content: "";
37
39
  width: 28px;
38
40
  height: 10px;
39
- background-color: $gray-400;
41
+ background-color: variables.$gray-400;
40
42
  }
41
43
  }
42
44
 
43
45
  .fwe-header-modul-media {
44
46
  min-height: 111px;
45
- background-color: $hero;
47
+ background-color: variables.$hero;
46
48
  order: 1;
47
49
  }
48
50
  }
49
51
 
50
- @media only screen and (min-width: $grid-breakpoint-xs) {
52
+ @media only screen and (min-width: variables.$grid-breakpoint-xs) {
51
53
  .fwe-header-modul-container {
52
54
  .fwe-header-modul-media {
53
55
  min-height: 132px;
@@ -55,7 +57,7 @@
55
57
  }
56
58
  }
57
59
 
58
- @media only screen and (min-width: $grid-breakpoint-sm) {
60
+ @media only screen and (min-width: variables.$grid-breakpoint-sm) {
59
61
  .fwe-header-modul-container {
60
62
  .fwe-header-modul-content {
61
63
  h1,
@@ -69,7 +71,7 @@
69
71
  }
70
72
  }
71
73
 
72
- @media only screen and (min-width: $grid-breakpoint-md) {
74
+ @media only screen and (min-width: variables.$grid-breakpoint-md) {
73
75
  .fwe-header-modul-container {
74
76
  .fwe-header-modul-media {
75
77
  min-height: 352px;
@@ -77,14 +79,14 @@
77
79
  }
78
80
  }
79
81
 
80
- @media only screen and (min-width: $grid-breakpoint-lg) {
82
+ @media only screen and (min-width: variables.$grid-breakpoint-lg) {
81
83
  .fwe-header-modul-container {
82
84
  flex-direction: row;
83
85
 
84
86
  .fwe-header-modul-content {
85
87
  order: 1;
86
88
  width: math.div(100%, 2.4);
87
- margin-right: $spacer-m;
89
+ margin-right: variables.$spacer-m;
88
90
 
89
91
  h1,
90
92
  .fwe-h1 {
@@ -100,7 +102,7 @@
100
102
  }
101
103
  }
102
104
 
103
- @media only screen and (min-width: $grid-breakpoint-xl) {
105
+ @media only screen and (min-width: variables.$grid-breakpoint-xl) {
104
106
  .fwe-header-modul-container {
105
107
  .fwe-header-modul-media {
106
108
  min-height: 400px;
@@ -1,7 +1,9 @@
1
+ @use "../variables";
2
+
1
3
  .fwe-header-slider-container {
2
4
  .fwe-header-slider-box {
3
5
  height: 142px;
4
- background-color: $hero;
6
+ background-color: variables.$hero;
5
7
  }
6
8
 
7
9
  .fwe-header-slider {
@@ -15,8 +17,8 @@
15
17
  display: flex;
16
18
  flex-direction: column;
17
19
  padding: 24px 28px;
18
- background-color: $white;
19
- border-radius: $border-radius-s;
20
+ background-color: variables.$white;
21
+ border-radius: variables.$border-radius-s;
20
22
  box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.2);
21
23
 
22
24
  .fwe-header-slider-content {
@@ -52,7 +54,7 @@
52
54
  }
53
55
  }
54
56
 
55
- @media only screen and (min-width: $grid-breakpoint-xs) {
57
+ @media only screen and (min-width: variables.$grid-breakpoint-xs) {
56
58
  .fwe-header-slider-container {
57
59
  .fwe-header-slider-box {
58
60
  height: 166px;
@@ -60,7 +62,7 @@
60
62
  }
61
63
  }
62
64
 
63
- @media only screen and (min-width: $grid-breakpoint-sm) {
65
+ @media only screen and (min-width: variables.$grid-breakpoint-sm) {
64
66
  .fwe-header-slider-container {
65
67
  .fwe-header-slider-box {
66
68
  height: 341px;
@@ -72,7 +74,7 @@
72
74
  }
73
75
  }
74
76
 
75
- @media only screen and (min-width: $grid-breakpoint-md) {
77
+ @media only screen and (min-width: variables.$grid-breakpoint-md) {
76
78
  .fwe-header-slider-container {
77
79
  .fwe-header-slider-box {
78
80
  height: 455px;
@@ -126,7 +128,7 @@
126
128
  }
127
129
  }
128
130
 
129
- @media only screen and (min-width: $grid-breakpoint-xl) {
131
+ @media only screen and (min-width: variables.$grid-breakpoint-xl) {
130
132
  .fwe-header-slider-container {
131
133
  .fwe-header-slider-box {
132
134
  height: 640px;
@@ -144,7 +146,7 @@
144
146
  }
145
147
  }
146
148
 
147
- @media only screen and (min-width: $grid-breakpoint-xxl) {
149
+ @media only screen and (min-width: variables.$grid-breakpoint-xxl) {
148
150
  .fwe-header-slider-container {
149
151
  .fwe-header-slider {
150
152
  width: 1192px;
@@ -1,3 +1,5 @@
1
+ @use "../variables";
2
+
1
3
  /* stylelint-disable selector-class-pattern -- Doing swiper overrides here */
2
4
  .fwe-modal-image-gallery {
3
5
  background: transparent;
@@ -29,10 +31,10 @@
29
31
  border: none;
30
32
  min-width: 32px;
31
33
  cursor: pointer;
32
- background: $white;
34
+ background: variables.$white;
33
35
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgzMnYzMkgweiIgZGF0YS1uYW1lPSJ3aGl0ZSBiYWNrZ3JvdW5kIi8+PHBhdGggZmlsbD0iIzMzMyIgZD0iTTIxLjQ4IDkuMSAxNiAxNC41OSAxMC41MSA5LjEgOS4xIDEwLjUyIDE0LjU4IDE2IDkuMSAyMS40OWwxLjQxIDEuNDFMMTYgMTcuNDJsNS40OCA1LjQ4IDEuNDItMS40MUwxNy40MSAxNmw1LjQ5LTUuNDgtMS40Mi0xLjQyeiIgZGF0YS1uYW1lPSJjb250ZW50Ii8+PC9zdmc+");
34
36
  &:hover {
35
- background: $hero;
37
+ background: variables.$hero;
36
38
  }
37
39
  }
38
40
 
@@ -43,10 +45,10 @@
43
45
  border: none;
44
46
  min-width: 24px;
45
47
  cursor: pointer;
46
- background: $white;
48
+ background: variables.$white;
47
49
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgzMnYzMkgweiIgZGF0YS1uYW1lPSJ3aGl0ZSBiYWNrZ3JvdW5kIi8+PGcgZGF0YS1uYW1lPSJjb250ZW50Ij48cGF0aCBkPSJtMTguMTAxIDQgMi44MjggMi44MjgtNC4yNDMgNC4yNDMgNC4yNDMgNC4yNDMgNC4yNDMtNC4yNDNMMjggMTMuODk5VjRoLTkuODk5ek0xMS4wNzEgMTYuNjg2bC00LjI0MyA0LjI0M0w0IDE4LjEwMVYyOGg5LjlsLTIuODI5LTIuODI4IDQuMjQzLTQuMjQzLTQuMjQzLTQuMjQzeiIvPjwvZz48L3N2Zz4=");
48
50
  &:hover {
49
- background: $hero;
51
+ background: variables.$hero;
50
52
  }
51
53
  }
52
54
  }
@@ -63,7 +65,7 @@
63
65
  border-bottom: none;
64
66
 
65
67
  .fwe-image-gallery-header {
66
- margin-top: $spacer-m - 6px;
68
+ margin-top: variables.$spacer-m - 6px;
67
69
  }
68
70
  }
69
71
  }
@@ -75,21 +77,21 @@
75
77
  }
76
78
 
77
79
  .fwe-image-gallery-content {
78
- color: $white;
79
- padding-top: $spacer-xl;
80
- padding-bottom: $spacer-m;
80
+ color: variables.$white;
81
+ padding-top: variables.$spacer-xl;
82
+ padding-bottom: variables.$spacer-m;
81
83
 
82
84
  h3 {
83
- font-weight: $font-weight-bold;
85
+ font-weight: variables.$font-weight-bold;
84
86
  margin-top: 0;
85
- margin-bottom: $spacer;
87
+ margin-bottom: variables.$spacer;
86
88
  }
87
89
  }
88
90
 
89
91
  .fwe-image-gallery-header {
90
92
  display: flex;
91
93
  align-items: center;
92
- margin-bottom: $spacer-m;
94
+ margin-bottom: variables.$spacer-m;
93
95
  margin-top: 0px;
94
96
  }
95
97
 
@@ -140,7 +142,7 @@
140
142
  content: "";
141
143
  height: 4px;
142
144
  width: 100%;
143
- background-color: $hero;
145
+ background-color: variables.$hero;
144
146
  bottom: 0px;
145
147
  opacity: 0;
146
148
  transition: opacity 0.3s;
@@ -203,7 +205,7 @@
203
205
  content: "";
204
206
  height: 4px;
205
207
  width: 100%;
206
- background-color: $hero;
208
+ background-color: variables.$hero;
207
209
  bottom: 0px;
208
210
  opacity: 0;
209
211
  transition: opacity 0.3s;
@@ -224,7 +226,7 @@
224
226
  }
225
227
  }
226
228
 
227
- @media only screen and (min-width: $grid-breakpoint-xxs) {
229
+ @media only screen and (min-width: variables.$grid-breakpoint-xxs) {
228
230
  .fwe-modal-image-gallery {
229
231
  width: 342px;
230
232
  max-height: 90vh;
@@ -236,7 +238,7 @@
236
238
  }
237
239
  }
238
240
 
239
- @media only screen and (min-width: $grid-breakpoint-sm) {
241
+ @media only screen and (min-width: variables.$grid-breakpoint-sm) {
240
242
  .fwe-modal-image-gallery {
241
243
  width: 696px;
242
244
  }
@@ -247,7 +249,7 @@
247
249
  }
248
250
  }
249
251
 
250
- @media only screen and (min-width: $grid-breakpoint-md) {
252
+ @media only screen and (min-width: variables.$grid-breakpoint-md) {
251
253
  .fwe-modal-image-gallery {
252
254
  width: 696px;
253
255
  }
@@ -258,7 +260,7 @@
258
260
  }
259
261
  }
260
262
 
261
- @media only screen and (min-width: $grid-breakpoint-xl) {
263
+ @media only screen and (min-width: variables.$grid-breakpoint-xl) {
262
264
  .fwe-modal-image-gallery {
263
265
  width: 960px;
264
266
  min-height: 726px;
@@ -1,20 +1,22 @@
1
+ @use "../variables";
2
+
1
3
  .fwe-login-layout {
2
4
  position: fixed;
3
- background: $background;
5
+ background: variables.$background;
4
6
  top: 0px;
5
7
  right: 0px;
6
8
  bottom: 0px;
7
9
  left: 0px;
8
10
  .fwe-login-background {
9
- top: $navbar-height;
11
+ top: variables.$navbar-height;
10
12
  position: absolute;
11
- height: calc(100vh - #{$navbar-height});
13
+ height: calc(100vh - #{variables.$navbar-height});
12
14
  width: 100vw;
13
15
  object-fit: cover;
14
16
  object-position: center;
15
17
  }
16
18
  .fwe-login-container {
17
- height: calc(100vh - #{$navbar-height});
19
+ height: calc(100vh - #{variables.$navbar-height});
18
20
  overflow: auto;
19
21
  display: flex;
20
22
  align-items: center;
@@ -22,26 +24,26 @@
22
24
  z-index: 1;
23
25
  margin-left: 20%;
24
26
  width: 432px;
25
- background: $white;
26
- padding: $spacer-xl;
27
+ background: variables.$white;
28
+ padding: variables.$spacer-xl;
27
29
  h1 {
28
30
  margin: 0px 0px 48px 0px;
29
31
  }
30
32
  .fwe-login-link-container {
31
- margin-top: $spacer-m;
33
+ margin-top: variables.$spacer-m;
32
34
  display: flex;
33
35
  justify-content: space-between;
34
36
  flex-direction: row-reverse;
35
37
  }
36
- @media (max-width: $grid-breakpoint-xxs) {
37
- padding-left: $spacer-s;
38
- padding-right: $spacer-s;
38
+ @media (max-width: variables.$grid-breakpoint-xxs) {
39
+ padding-left: variables.$spacer-s;
40
+ padding-right: variables.$spacer-s;
39
41
  }
40
42
  }
41
43
  }
42
- @media (max-width: $grid-breakpoint-xs), (max-height: $grid-breakpoint-xs) {
44
+ @media (max-width: variables.$grid-breakpoint-xs), (max-height: variables.$grid-breakpoint-xs) {
43
45
  .fwe-login-container {
44
- background-color: $white;
46
+ background-color: variables.$white;
45
47
  position: unset;
46
48
  left: unset;
47
49
  top: unset;
@@ -1,17 +1,20 @@
1
+ @use "../mixins";
2
+ @use "../variables";
3
+
1
4
  .fwe-side-menu {
2
5
  flex-shrink: 0;
3
6
  width: 240px;
4
7
  display: flex;
5
8
  flex-direction: column;
6
9
  .fwe-side-menu-item {
7
- border-left: 1px solid $border;
10
+ border-left: 1px solid variables.$border;
8
11
  line-height: 1.2;
9
12
  display: flex;
10
13
  align-items: center;
11
14
  height: 42px;
12
15
  cursor: pointer;
13
16
  margin-left: -1px;
14
- color: $text;
17
+ color: variables.$text;
15
18
  padding: 0px 8px 0px 16px;
16
19
  position: relative;
17
20
  &::before {
@@ -21,11 +24,11 @@
21
24
  left: -1px;
22
25
  bottom: 0px;
23
26
  width: 0px;
24
- background: $hero;
27
+ background: variables.$hero;
25
28
  transition: width 0.2s, height 0.2s;
26
29
  }
27
30
  &.fwe-active {
28
- color: $hero;
31
+ color: variables.$hero;
29
32
  &::before {
30
33
  width: 4px;
31
34
  }
@@ -37,12 +40,12 @@
37
40
  }
38
41
 
39
42
  &--horizontal {
40
- @include custom-scrollbar;
41
43
  display: flex;
42
44
  flex-direction: row;
43
45
  width: 100%;
44
46
  overflow-y: hidden;
45
47
  overflow-x: auto;
48
+ @include mixins.custom-scrollbar;
46
49
 
47
50
  .fwe-side-menu-item {
48
51
  border: unset;
@@ -1,3 +1,5 @@
1
+ @use "../variables";
2
+
1
3
  .fwe-teaser-horbox {
2
4
  display: flex;
3
5
  background-color: var(--fwe-sucanul);
@@ -57,7 +59,7 @@
57
59
 
58
60
  .fwe-teaser-c12-content {
59
61
  order: 2;
60
- background-color: $sucanul;
62
+ background-color: variables.$sucanul;
61
63
  padding-top: 16px;
62
64
  padding-bottom: 13px;
63
65
  padding-left: 20px;
@@ -68,26 +70,26 @@
68
70
  font-size: 12px;
69
71
  line-height: 14px;
70
72
  margin-bottom: 4px;
71
- font-weight: $font-weight-normal;
73
+ font-weight: variables.$font-weight-normal;
72
74
  }
73
75
 
74
76
  h2,
75
77
  .fwe-h2 {
76
78
  font-size: 16px;
77
79
  line-height: 24px;
78
- font-weight: $font-weight-bold;
80
+ font-weight: variables.$font-weight-bold;
79
81
  margin-top: 0;
80
82
  }
81
83
  }
82
84
 
83
85
  .fwe-teaser-c12-img {
84
86
  order: 1;
85
- background-color: $hero;
87
+ background-color: variables.$hero;
86
88
  min-height: 114px;
87
89
  }
88
90
  }
89
91
 
90
- @media only screen and (min-width: $grid-breakpoint-md) {
92
+ @media only screen and (min-width: variables.$grid-breakpoint-md) {
91
93
  .fwe-teaser-verbox h2 {
92
94
  padding-top: 48px;
93
95
  }
@@ -4,13 +4,13 @@
4
4
  * Licensed under Apache-2.0
5
5
  */
6
6
 
7
- @import "../variables";
8
- @import "../mixins";
7
+ @use "../variables";
8
+ @use "../mixins";
9
9
 
10
- @import "footer";
11
- @import "teaser";
12
- @import "header-slider";
13
- @import "header-modul";
14
- @import "image-gallery";
15
- @import "login";
16
- @import "side-menu";
10
+ @use "footer";
11
+ @use "teaser";
12
+ @use "header-slider";
13
+ @use "header-modul";
14
+ @use "image-gallery";
15
+ @use "login";
16
+ @use "side-menu";
@@ -1,10 +1,10 @@
1
1
  /*!
2
- * Festo UI - Web Essentials v7.3.0-dev.461 (https://storybook.festo.design/)
2
+ * Festo UI - Web Essentials v7.3.0-dev.464 (https://storybook.festo.design/)
3
3
  * Copyright 2022 Festo SE & Co. KG
4
4
  * Licensed under Apache-2.0
5
5
  */
6
6
 
7
- @import "../../variables";
7
+ @use "../../variables" as *;
8
8
 
9
9
  .fng-flatpickr {
10
10
  span {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@festo-ui/web-essentials",
3
- "version": "7.3.0-dev.461",
3
+ "version": "7.3.0-dev.464",
4
4
  "description": "CSS framework and utils to build FESTO web applications",
5
5
  "keywords": [
6
6
  "css",
@@ -93,8 +93,8 @@
93
93
  "react": "^18.2.0",
94
94
  "react-dom": "^18.2.0",
95
95
  "rollup": "^1.32.1",
96
- "sass": "^1.57.1",
97
- "sass-loader": "12.6.0",
96
+ "sass": "^1.82.0",
97
+ "sass-loader": "^16.0.4",
98
98
  "sort-package-json": "^2.1.0",
99
99
  "storybook": "^7.4.0",
100
100
  "style-loader": "^3.2.1",
@@ -1,29 +1,31 @@
1
+ @use "variables";
2
+
1
3
  .fwe-accordion {
2
- background-color: $white;
4
+ background-color: variables.$white;
3
5
 
4
6
  &-header {
5
7
  display: flex;
6
8
  align-items: center;
7
- height: $spacer-xl;
8
- padding: 0 $spacer-s 0 $spacer-m;
9
- font-size: $font-size-md;
10
- font-weight: $font-weight-bold;
11
- color: $text;
12
- border-bottom: 1px solid $gray-100;
9
+ height: variables.$spacer-xl;
10
+ padding: 0 variables.$spacer-s 0 variables.$spacer-m;
11
+ font-size: variables.$font-size-md;
12
+ font-weight: variables.$font-weight-bold;
13
+ color: variables.$text;
14
+ border-bottom: 1px solid variables.$gray-100;
13
15
  }
14
16
 
15
17
  &-item {
16
18
  position: relative;
17
- padding: 0 $spacer-s 0 $spacer-m;
18
- border-top: 1px solid $gray-100;
19
- border-bottom: 1px solid $gray-100;
19
+ padding: 0 variables.$spacer-s 0 variables.$spacer-m;
20
+ border-top: 1px solid variables.$gray-100;
21
+ border-bottom: 1px solid variables.$gray-100;
20
22
 
21
23
  &-header {
22
24
  outline: none;
23
25
  display: flex;
24
26
  align-items: center;
25
- padding: $spacer-m $spacer-xxl $spacer-m 0;
26
- min-height: $spacer-xl;
27
+ padding: variables.$spacer-m variables.$spacer-xxl variables.$spacer-m 0;
28
+ min-height: variables.$spacer-xl;
27
29
  cursor: pointer;
28
30
  }
29
31
 
@@ -37,28 +39,28 @@
37
39
  left: 0;
38
40
  display: block;
39
41
  content: "";
40
- width: $spacer-xxxs;
42
+ width: variables.$spacer-xxxs;
41
43
  height: 0px;
42
- background-color: $caerul;
44
+ background-color: variables.$caerul;
43
45
  }
44
46
 
45
47
  &::after {
46
48
  position: absolute;
47
49
  top: 21px;
48
- right: $spacer-s;
50
+ right: variables.$spacer-s;
49
51
  display: block;
50
- font-family: $font-family-icons-32;
51
- font-size: $font-size-xxl;
52
+ font-family: variables.$font-family-icons-32;
53
+ font-size: variables.$font-size-xxl;
52
54
  content: "\e900";
53
- height: $spacer-l;
54
- line-height: $spacer-l;
55
+ height: variables.$spacer-l;
56
+ line-height: variables.$spacer-l;
55
57
  transition: transform 0.2s ease;
56
58
  pointer-events: none;
57
59
  }
58
60
 
59
61
  &[open] {
60
62
  .fwe-accordion-item-header {
61
- font-weight: $font-weight-bold;
63
+ font-weight: variables.$font-weight-bold;
62
64
  }
63
65
 
64
66
  &::after {
@@ -71,13 +73,13 @@
71
73
  }
72
74
 
73
75
  &:not([open]) .fwe-accordion-item-header {
74
- font-weight: $font-weight-normal;
76
+ font-weight: variables.$font-weight-normal;
75
77
  }
76
78
 
77
79
  &-body {
78
80
  overflow: hidden;
79
81
  margin-right: 0;
80
- margin-bottom: $spacer-m;
82
+ margin-bottom: variables.$spacer-m;
81
83
 
82
84
  > :first-child {
83
85
  margin-top: 0 !important;
@@ -96,11 +98,11 @@
96
98
  }
97
99
  }
98
100
 
99
- @media (min-width: $grid-breakpoint-xs) {
101
+ @media (min-width: variables.$grid-breakpoint-xs) {
100
102
  .fwe-accordion {
101
103
  &-item {
102
104
  &-body {
103
- margin-right: $spacer-xxl;
105
+ margin-right: variables.$spacer-xxl;
104
106
  }
105
107
  }
106
108
  }
package/scss/_badge.scss CHANGED
@@ -1,46 +1,48 @@
1
+ @use "variables";
2
+
1
3
  .fwe-badge {
2
4
  display: inline-block;
3
5
  border-radius: 2px;
4
- font-size: $font-size-md;
6
+ font-size: variables.$font-size-md;
5
7
  padding-left: 6px;
6
8
  padding-right: 6px;
7
- color: $white;
9
+ color: variables.$white;
8
10
  max-height: 19px;
9
11
  height: 19px;
10
12
  line-height: 17px;
11
- background-color: $hero;
12
- font-weight: $font-weight-bold;
13
+ background-color: variables.$hero;
14
+ font-weight: variables.$font-weight-bold;
13
15
 
14
16
  &.fwe-badge-sm {
15
- font-size: $font-size-small;
17
+ font-size: variables.$font-size-small;
16
18
  max-height: 17px;
17
19
  height: 17px;
18
20
  line-height: 16px;
19
21
  }
20
22
 
21
23
  &.fwe-badge-md {
22
- font-size: $font-size-base;
24
+ font-size: variables.$font-size-base;
23
25
  max-height: 22px;
24
26
  height: 22px;
25
27
  line-height: 20px;
26
28
  }
27
29
 
28
30
  &.fwe-badge-lg {
29
- font-size: $font-size-xl;
31
+ font-size: variables.$font-size-xl;
30
32
  max-height: 32px;
31
33
  height: 32px;
32
34
  line-height: 30px;
33
35
  }
34
36
 
35
37
  &.fwe-badge-xl {
36
- font-size: $font-size-xxl;
38
+ font-size: variables.$font-size-xxl;
37
39
  max-height: 44px;
38
40
  height: 44px;
39
41
  line-height: 42px;
40
42
  }
41
43
  }
42
44
 
43
- @each $key, $value in $badge-colors {
45
+ @each $key, $value in variables.$badge-colors {
44
46
  .fwe-badge-#{$key} {
45
47
  background-color: $value !important;
46
48
  }
package/scss/_border.scss CHANGED
@@ -1,3 +1,7 @@
1
+ @use "sass:map";
2
+ @use "utils";
3
+ @use "variables";
4
+
1
5
  @function border-name($borderKey) {
2
6
  @return if($borderKey != 0, "-#{$borderKey}", null);
3
7
  }
@@ -68,15 +72,15 @@
68
72
  }
69
73
  }
70
74
 
71
- @each $breakpoint in map-keys($grid-breakpoints) {
72
- $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
73
- $size: map-get($grid-breakpoints, $breakpoint);
75
+ @each $breakpoint in map.keys(variables.$grid-breakpoints) {
76
+ $infix: utils.breakpoint-infix($breakpoint, variables.$grid-breakpoints);
77
+ $size: map.get(variables.$grid-breakpoints, $breakpoint);
74
78
 
75
79
  @if $size == 0 {
76
- @include borders($borders);
80
+ @include borders(variables.$borders);
77
81
  } @else {
78
82
  @media (min-width: $size) {
79
- @include borders($borders, $infix);
83
+ @include borders(variables.$borders, $infix);
80
84
  }
81
85
  }
82
86
  }