@festo-ui/web-essentials 7.3.0-dev.498 → 7.3.0-dev.501

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.
@@ -0,0 +1,258 @@
1
+ @use "sass:list";
2
+ @use "sass:map";
3
+ @use "../utils";
4
+ @use "../variables";
5
+
6
+ $basic-keywords: normal, stretch, center, start, end, flex-start, flex-end;
7
+ $baseline-keywords: baseline, first baseline, last baseline, safe center, unsafe center;
8
+ $positional-keywords: left, right;
9
+ $content-keywords: space-between, space-around, space-evenly;
10
+ $justify-keywords: auto, self-start, self-end;
11
+ $legacy-keywords: legacy right, legacy left, legacy center;
12
+ $flex-properties: (
13
+ auto: (
14
+ flex,
15
+ auto
16
+ ),
17
+ grow-0: (
18
+ flex-grow,
19
+ 0
20
+ ),
21
+ grow-1: (
22
+ flex-grow,
23
+ 1
24
+ ),
25
+ grow-2: (
26
+ flex-grow,
27
+ 2
28
+ ),
29
+ grow-3: (
30
+ flex-grow,
31
+ 3
32
+ ),
33
+ shrink-0: (
34
+ flex-shrink,
35
+ 0
36
+ ),
37
+ shrink-1: (
38
+ flex-shrink,
39
+ 1
40
+ ),
41
+ shrink-2: (
42
+ flex-shrink,
43
+ 2
44
+ ),
45
+ shrink-3: (
46
+ flex-shrink,
47
+ 3
48
+ ),
49
+ basis-0: (
50
+ flex-basis,
51
+ 0
52
+ ),
53
+ basis-auto: (
54
+ flex-basis,
55
+ auto
56
+ ),
57
+ basis-fill: (
58
+ flex-basis,
59
+ fill
60
+ ),
61
+ basis-max-content: (
62
+ flex-basis,
63
+ max-content
64
+ ),
65
+ basis-min-content: (
66
+ flex-basis,
67
+ min-content
68
+ ),
69
+ basis-fit-content: (
70
+ flex-basis,
71
+ fit-content
72
+ ),
73
+ basis-content: (
74
+ flex-basis,
75
+ content
76
+ ),
77
+ wrap: (
78
+ flex-wrap,
79
+ wrap
80
+ ),
81
+ wrap-reverse: (
82
+ flex-wrap,
83
+ wrap-reverse
84
+ ),
85
+ nowrap: (
86
+ flex-wrap,
87
+ nowrap
88
+ ),
89
+ row-nowrap: (
90
+ flex-flow,
91
+ row nowrap
92
+ ),
93
+ column-wrap: (
94
+ flex-flow,
95
+ column wrap
96
+ ),
97
+ column-reverse-wrap-reverse: (
98
+ flex-flow,
99
+ column-reverse wrap-reverse
100
+ ),
101
+ row: (
102
+ flex-direction,
103
+ row
104
+ ),
105
+ row-reverse: (
106
+ flex-direction,
107
+ row-reverse
108
+ ),
109
+ column: (
110
+ flex-direction,
111
+ column
112
+ ),
113
+ column-reverse: (
114
+ flex-direction,
115
+ column-reverse
116
+ )
117
+ ) !default;
118
+
119
+ @mixin flex-helpers($infix: "") {
120
+ .fwe-ml#{$infix}-auto {
121
+ margin-left: auto !important;
122
+ }
123
+
124
+ .fwe-mr#{$infix}-auto {
125
+ margin-right: auto !important;
126
+ }
127
+
128
+ .fwe-mt#{$infix}-auto {
129
+ margin-top: auto !important;
130
+ }
131
+
132
+ .fwe-mb#{$infix}-auto {
133
+ margin-bottom: auto !important;
134
+ }
135
+
136
+ .fwe-order#{$infix}-first {
137
+ order: -1;
138
+ }
139
+
140
+ .fwe-order#{$infix}-last {
141
+ order: 6;
142
+ }
143
+
144
+ .fwe-order#{$infix}-1 {
145
+ order: 1;
146
+ }
147
+
148
+ .fwe-order#{$infix}-2 {
149
+ order: 2;
150
+ }
151
+
152
+ .fwe-order#{$infix}-3 {
153
+ order: 3;
154
+ }
155
+
156
+ .fwe-order#{$infix}-4 {
157
+ order: 4;
158
+ }
159
+
160
+ .fwe-order#{$infix}-5 {
161
+ order: 5;
162
+ }
163
+
164
+ @each $classname, $properties in $flex-properties {
165
+ $property: list.nth($properties, 1);
166
+ $value: list.nth($properties, 2);
167
+
168
+ .fwe-flex#{$infix}-#{$classname} {
169
+ #{$property}: $value !important;
170
+ }
171
+ }
172
+
173
+ @each $property in $basic-keywords {
174
+ .fwe-align-items#{$infix}-#{$property} {
175
+ align-items: $property !important;
176
+ }
177
+
178
+ .fwe-align-self#{$infix}-#{$property} {
179
+ align-self: $property !important;
180
+ }
181
+
182
+ .fwe-align-content#{$infix}-#{$property} {
183
+ align-content: $property !important;
184
+ }
185
+
186
+ .fwe-justify-items#{$infix}-#{$property} {
187
+ justify-items: $property !important;
188
+ }
189
+
190
+ .fwe-justify-self#{$infix}-#{$property} {
191
+ justify-self: $property !important;
192
+ }
193
+
194
+ .fwe-justify-content#{$infix}-#{$property} {
195
+ justify-content: $property !important;
196
+ }
197
+ }
198
+
199
+ @each $property in $baseline-keywords {
200
+ .fwe-align-items#{$infix}-#{$property} {
201
+ align-items: $property !important;
202
+ }
203
+
204
+ .fwe-align-self#{$infix}-#{$property} {
205
+ align-self: $property !important;
206
+ }
207
+
208
+ .fwe-align-content#{$infix}-#{$property} {
209
+ align-content: $property !important;
210
+ }
211
+
212
+ .fwe-justify-items#{$infix}-#{$property} {
213
+ justify-items: $property !important;
214
+ }
215
+
216
+ .fwe-justify-self#{$infix}-#{$property} {
217
+ justify-self: $property !important;
218
+ }
219
+ }
220
+
221
+ @each $property in $positional-keywords {
222
+ .fwe-justify-items#{$infix}-#{$property} {
223
+ justify-items: $property !important;
224
+ }
225
+
226
+ .fwe-justify-self#{$infix}-#{$property} {
227
+ justify-self: $property !important;
228
+ }
229
+ }
230
+
231
+ @each $property in $content-keywords {
232
+ .fwe-align-content#{$infix}-#{$property} {
233
+ align-content: $property !important;
234
+ }
235
+
236
+ .fwe-justify-content#{$infix}-#{$property} {
237
+ justify-content: $property !important;
238
+ }
239
+ }
240
+
241
+ @each $property in $justify-keywords {
242
+ .fwe-justify-items#{$infix}-#{$property} {
243
+ justify-items: $property !important;
244
+ }
245
+
246
+ .fwe-justify-self#{$infix}-#{$property} {
247
+ justify-self: $property !important;
248
+ }
249
+ }
250
+
251
+ @each $property in $legacy-keywords {
252
+ .fwe-justify-items#{$infix}-#{$property} {
253
+ justify-items: $property !important;
254
+ }
255
+ }
256
+ }
257
+
258
+ @include flex-helpers();
@@ -0,0 +1,52 @@
1
+ @use "sass:map";
2
+ @use "../utils";
3
+ @use "../variables";
4
+
5
+ $spacers-light: (
6
+ 0: variables.$spacer-0,
7
+ xxxs: variables.$spacer-xxxs,
8
+ xxs: variables.$spacer-xxs,
9
+ xs: variables.$spacer-xs,
10
+ s: variables.$spacer-s,
11
+ m: variables.$spacer-m,
12
+ l: variables.$spacer-l,
13
+ xl: variables.$spacer-xl,
14
+ xxl: variables.$spacer-xxl
15
+ ) !default;
16
+
17
+ @mixin spacings($spacers, $infix: "") {
18
+ @each $spacing, $space in $spacers {
19
+ @each $property, $abrev in (margin: "fwe-m", padding: "fwe-p") {
20
+ .#{$abrev}#{$infix}-#{$spacing} {
21
+ #{$property}: $space !important;
22
+ }
23
+
24
+ .#{$abrev}t#{$infix}-#{$spacing} {
25
+ #{$property}-top: $space !important;
26
+ }
27
+
28
+ .#{$abrev}b#{$infix}-#{$spacing} {
29
+ #{$property}-bottom: $space !important;
30
+ }
31
+
32
+ .#{$abrev}l#{$infix}-#{$spacing} {
33
+ #{$property}-left: $space !important;
34
+ }
35
+
36
+ .#{$abrev}r#{$infix}-#{$spacing} {
37
+ #{$property}-right: $space !important;
38
+ }
39
+
40
+ .#{$abrev}x#{$infix}-#{$spacing} {
41
+ #{$property}-right: $space !important;
42
+ #{$property}-left: $space !important;
43
+ }
44
+ .#{$abrev}y#{$infix}-#{$spacing} {
45
+ #{$property}-top: $space !important;
46
+ #{$property}-bottom: $space !important;
47
+ }
48
+ }
49
+ }
50
+ }
51
+
52
+ @include spacings($spacers-light);
@@ -0,0 +1,59 @@
1
+ /*!
2
+ * Festo UI - Web Essentials light (https://storybook.festo.design/)
3
+ * Copyright 2025 Festo SE & Co. KG
4
+ * Licensed under Apache-2.0
5
+ */
6
+
7
+ @use "../rfs";
8
+ @use "../variables";
9
+ @use "../mixins";
10
+ @use "../fonts";
11
+ @use "../colors";
12
+
13
+ @use "../type";
14
+ @use "../root";
15
+ @use "../normalize";
16
+ @use "../utils";
17
+
18
+ @use "../misc";
19
+ @use "../display";
20
+ @use "spacing-light";
21
+ @use "border-light";
22
+ @use "flex-light";
23
+
24
+ @use "../layout";
25
+ @use "../toolbar";
26
+ @use "../table";
27
+ @use "../list";
28
+ @use "../navbar";
29
+ @use "../mobile-flyout";
30
+ @use "../breadcrumb";
31
+ @use "../text-link";
32
+ @use "../text-input";
33
+ @use "../chips";
34
+ @use "../radio";
35
+ @use "../checkbox";
36
+ @use "../switch";
37
+ @use "../button";
38
+ @use "../slider";
39
+ @use "../loading-indicator";
40
+ @use "../select";
41
+ @use "../badge";
42
+ @use "../cards";
43
+ @use "../progressbar";
44
+ @use "../pagination";
45
+ @use "../snackbar";
46
+ @use "../modal";
47
+ @use "../segment";
48
+ @use "../popover";
49
+ @use "../timepicker";
50
+ @use "../navbar-menu";
51
+ @use "../scroll";
52
+ @use "../search-input";
53
+ @use "../stepper-horizontal";
54
+ @use "../stepper-vertical";
55
+ @use "../bottom-navigation";
56
+ @use "../accordion";
57
+ @use "../tree";
58
+ @use "../sidebar-overlay";
59
+ @use "../bottom-sheet";