@festo-ui/web-essentials 8.2.0-dev.630 → 8.2.0-dev.637

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 (78) hide show
  1. package/README.md +83 -83
  2. package/dist/css/festo-web-essentials.css +9 -12
  3. package/dist/css/festo-web-essentials.css.map +1 -1
  4. package/dist/css/festo-web-essentials.min.css +12 -12
  5. package/dist/css/festo-web-essentials.min.css.map +1 -1
  6. package/dist/css/light/festo-web-essentials-light.css +0 -3
  7. package/dist/css/light/festo-web-essentials-light.css.map +1 -1
  8. package/dist/css/themes/flatpickr/festo.css +1 -1
  9. package/dist/css/themes/flatpickr/festo.min.css +1 -1
  10. package/dist/scss/_badge.scss +49 -49
  11. package/dist/scss/_border.scss +86 -86
  12. package/dist/scss/_bottom-navigation.scss +47 -47
  13. package/dist/scss/_bottom-sheet.scss +116 -116
  14. package/dist/scss/_colors.scss +11 -11
  15. package/dist/scss/_display.scss +63 -63
  16. package/dist/scss/_flex.scss +269 -269
  17. package/dist/scss/_grid.scss +44 -44
  18. package/dist/scss/_layout.scss +64 -64
  19. package/dist/scss/_list.scss +211 -211
  20. package/dist/scss/_misc.scss +51 -51
  21. package/dist/scss/_mixins.scss +51 -51
  22. package/dist/scss/_modal.scss +233 -233
  23. package/dist/scss/_normalize.scss +369 -369
  24. package/dist/scss/_pagination.scss +124 -124
  25. package/dist/scss/_rfs.scss +177 -177
  26. package/dist/scss/_segment.scss +146 -146
  27. package/dist/scss/_sidebar-overlay.scss +51 -51
  28. package/dist/scss/_slider.scss +150 -150
  29. package/dist/scss/_snackbar.scss +159 -159
  30. package/dist/scss/_spacing.scss +51 -51
  31. package/dist/scss/_switch.scss +145 -145
  32. package/dist/scss/_text-input.scss +191 -191
  33. package/dist/scss/_text-link.scss +52 -52
  34. package/dist/scss/_toolbar.scss +83 -83
  35. package/dist/scss/_type.scss +50 -50
  36. package/dist/scss/_utils.scss +9 -9
  37. package/dist/scss/festo-web-essentials.scss +1 -1
  38. package/dist/scss/light/_border-light.scss +75 -75
  39. package/dist/scss/light/_flex-light.scss +258 -258
  40. package/dist/scss/light/_spacing-light.scss +52 -52
  41. package/dist/scss/light/festo-web-essentials-light.scss +59 -59
  42. package/dist/scss/organisms/_header-modul.scss +111 -111
  43. package/dist/scss/organisms/_teaser.scss +96 -96
  44. package/dist/scss/themes/flatpickr/festo.scss +1 -1
  45. package/package.json +10 -16
  46. package/scss/_badge.scss +49 -49
  47. package/scss/_border.scss +86 -86
  48. package/scss/_bottom-navigation.scss +47 -47
  49. package/scss/_bottom-sheet.scss +116 -116
  50. package/scss/_colors.scss +11 -11
  51. package/scss/_display.scss +63 -63
  52. package/scss/_flex.scss +269 -269
  53. package/scss/_grid.scss +44 -44
  54. package/scss/_layout.scss +64 -64
  55. package/scss/_list.scss +211 -211
  56. package/scss/_misc.scss +51 -51
  57. package/scss/_mixins.scss +51 -51
  58. package/scss/_modal.scss +233 -233
  59. package/scss/_normalize.scss +369 -369
  60. package/scss/_pagination.scss +124 -124
  61. package/scss/_rfs.scss +177 -177
  62. package/scss/_segment.scss +146 -146
  63. package/scss/_sidebar-overlay.scss +51 -51
  64. package/scss/_slider.scss +150 -150
  65. package/scss/_snackbar.scss +159 -159
  66. package/scss/_spacing.scss +51 -51
  67. package/scss/_switch.scss +145 -145
  68. package/scss/_text-input.scss +191 -191
  69. package/scss/_text-link.scss +52 -52
  70. package/scss/_toolbar.scss +83 -83
  71. package/scss/_type.scss +50 -50
  72. package/scss/_utils.scss +9 -9
  73. package/scss/light/_border-light.scss +75 -75
  74. package/scss/light/_flex-light.scss +258 -258
  75. package/scss/light/_spacing-light.scss +52 -52
  76. package/scss/light/festo-web-essentials-light.scss +59 -59
  77. package/scss/organisms/_header-modul.scss +111 -111
  78. package/scss/organisms/_teaser.scss +96 -96
package/scss/_grid.scss CHANGED
@@ -1,44 +1,44 @@
1
- @use "sass:map";
2
- @use "utils";
3
- @use "variables";
4
-
5
- @each $breakpoint in map.keys(variables.$grid-breakpoints) {
6
- $infix: utils.breakpoint-infix($breakpoint, variables.$grid-breakpoints);
7
- $size: map.get(variables.$grid-breakpoints, $breakpoint);
8
-
9
- @media (min-width: $size) {
10
- @for $i from 1 through variables.$grid-columns {
11
- .fwe-col#{$infix}-#{$i} {
12
- grid-column-end: span $i;
13
- }
14
-
15
- .fwe-grid-line-break#{$infix} {
16
- grid-column-start: 1;
17
- }
18
-
19
- @if $i < variables.$grid-columns {
20
- .fwe-offset#{$infix}-#{$i} {
21
- grid-column-start: $i + 1;
22
- }
23
- }
24
- }
25
- }
26
- }
27
-
28
- .fwe-grid {
29
- display: grid;
30
- grid-template-columns: repeat(variables.$grid-columns, 1fr);
31
- gap: variables.$grid-gap;
32
-
33
- &.fwe-no-gap {
34
- gap: 0px;
35
- }
36
-
37
- &.fwe-no-row-gap {
38
- row-gap: 0px;
39
- }
40
-
41
- &.fwe-no-col-gap {
42
- column-gap: 0px;
43
- }
44
- }
1
+ @use "sass:map";
2
+ @use "utils";
3
+ @use "variables";
4
+
5
+ @each $breakpoint in map.keys(variables.$grid-breakpoints) {
6
+ $infix: utils.breakpoint-infix($breakpoint, variables.$grid-breakpoints);
7
+ $size: map.get(variables.$grid-breakpoints, $breakpoint);
8
+
9
+ @media (min-width: $size) {
10
+ @for $i from 1 through variables.$grid-columns {
11
+ .fwe-col#{$infix}-#{$i} {
12
+ grid-column-end: span $i;
13
+ }
14
+
15
+ .fwe-grid-line-break#{$infix} {
16
+ grid-column-start: 1;
17
+ }
18
+
19
+ @if $i < variables.$grid-columns {
20
+ .fwe-offset#{$infix}-#{$i} {
21
+ grid-column-start: $i + 1;
22
+ }
23
+ }
24
+ }
25
+ }
26
+ }
27
+
28
+ .fwe-grid {
29
+ display: grid;
30
+ grid-template-columns: repeat(variables.$grid-columns, 1fr);
31
+ gap: variables.$grid-gap;
32
+
33
+ &.fwe-no-gap {
34
+ gap: 0px;
35
+ }
36
+
37
+ &.fwe-no-row-gap {
38
+ row-gap: 0px;
39
+ }
40
+
41
+ &.fwe-no-col-gap {
42
+ column-gap: 0px;
43
+ }
44
+ }
package/scss/_layout.scss CHANGED
@@ -1,64 +1,64 @@
1
- @use "sass:map";
2
- @use "variables";
3
-
4
- .fwe-container {
5
- padding: variables.$container-padding;
6
- box-sizing: border-box;
7
- width: 100%;
8
- }
9
-
10
- @each $breakpoint in map.keys(variables.$grid-breakpoints) {
11
- $padding: map.get(variables.$container-paddings, $breakpoint);
12
- $size: map.get(variables.$grid-breakpoints, $breakpoint);
13
-
14
- @if $size != 0 {
15
- @media (min-width: $size) {
16
- .fwe-container {
17
- padding: $padding;
18
- }
19
- }
20
- }
21
- }
22
-
23
- .fwe-layout-1920 {
24
- display: flex;
25
- justify-content: center;
26
- padding: 0px !important;
27
- .fwe-container {
28
- padding: 0px !important;
29
- max-width: 1920px - 128;
30
- margin-right: 64px;
31
- margin-left: 64px;
32
- @media (max-width: variables.$grid-breakpoint-lg) {
33
- margin-right: 32px;
34
- margin-left: 32px;
35
- }
36
- @media (max-width: variables.$grid-breakpoint-sm) {
37
- margin-right: 16px;
38
- margin-left: 16px;
39
- }
40
- @media (max-width: variables.$grid-breakpoint-xs) {
41
- margin-right: 8px;
42
- margin-left: 8px;
43
- }
44
- .fwe-app-logo-container {
45
- position: unset;
46
- margin-bottom: 17px;
47
- margin-right: 24px;
48
- }
49
- }
50
- }
51
-
52
- .fwe-layout-1440 {
53
- @extend .fwe-layout-1920;
54
- .fwe-container {
55
- max-width: 1440px - 128px;
56
- }
57
- }
58
-
59
- .fwe-layout-1024 {
60
- @extend .fwe-layout-1920;
61
- .fwe-container {
62
- max-width: 1024px - 64px;
63
- }
64
- }
1
+ @use "sass:map";
2
+ @use "variables";
3
+
4
+ .fwe-container {
5
+ padding: variables.$container-padding;
6
+ box-sizing: border-box;
7
+ width: 100%;
8
+ }
9
+
10
+ @each $breakpoint in map.keys(variables.$grid-breakpoints) {
11
+ $padding: map.get(variables.$container-paddings, $breakpoint);
12
+ $size: map.get(variables.$grid-breakpoints, $breakpoint);
13
+
14
+ @if $size != 0 {
15
+ @media (min-width: $size) {
16
+ .fwe-container {
17
+ padding: $padding;
18
+ }
19
+ }
20
+ }
21
+ }
22
+
23
+ .fwe-layout-1920 {
24
+ display: flex;
25
+ justify-content: center;
26
+ padding: 0px !important;
27
+ .fwe-container {
28
+ padding: 0px !important;
29
+ max-width: 1920px - 128;
30
+ margin-right: 64px;
31
+ margin-left: 64px;
32
+ @media (max-width: variables.$grid-breakpoint-lg) {
33
+ margin-right: 32px;
34
+ margin-left: 32px;
35
+ }
36
+ @media (max-width: variables.$grid-breakpoint-sm) {
37
+ margin-right: 16px;
38
+ margin-left: 16px;
39
+ }
40
+ @media (max-width: variables.$grid-breakpoint-xs) {
41
+ margin-right: 8px;
42
+ margin-left: 8px;
43
+ }
44
+ .fwe-app-logo-container {
45
+ position: unset;
46
+ margin-bottom: 17px;
47
+ margin-right: 24px;
48
+ }
49
+ }
50
+ }
51
+
52
+ .fwe-layout-1440 {
53
+ @extend .fwe-layout-1920;
54
+ .fwe-container {
55
+ max-width: 1440px - 128px;
56
+ }
57
+ }
58
+
59
+ .fwe-layout-1024 {
60
+ @extend .fwe-layout-1920;
61
+ .fwe-container {
62
+ max-width: 1024px - 64px;
63
+ }
64
+ }
package/scss/_list.scss CHANGED
@@ -1,211 +1,211 @@
1
- @use "variables";
2
-
3
- ul.fwe-list-group {
4
- margin: 0;
5
- padding: 0;
6
- list-style-type: none;
7
- }
8
-
9
- .fwe-list-group {
10
- display: flex;
11
- flex-direction: column;
12
-
13
- .fwe-list-group-item {
14
- display: flex;
15
- flex-direction: row;
16
- align-items: center;
17
- min-height: 48px;
18
- padding-left: 16px;
19
- padding-right: 16px;
20
- line-height: 24px;
21
- position: relative;
22
- flex-wrap: wrap;
23
-
24
- &.fwe-list-group-item-custom {
25
- flex-direction: column;
26
- align-items: flex-start;
27
- justify-content: center;
28
- }
29
-
30
- .fwe-list-group-item-head .fwe-badge,
31
- .fwe-badge {
32
- display: inline-block;
33
- margin-left: auto;
34
- }
35
-
36
- [class^="fwe-icon-"],
37
- [class*=" fwe-icon-"],
38
- .fwe-svg-icon,
39
- a,
40
- button {
41
- display: inline-block;
42
- margin-left: auto;
43
- }
44
-
45
- .fwe-list-group-item-head {
46
- display: flex;
47
- flex-grow: 1;
48
- width: 100%;
49
- font-weight: variables.$font-weight-bold;
50
- margin-bottom: 24px;
51
- margin-top: 16px;
52
- }
53
-
54
- .fwe-list-group-item-body {
55
- width: 100%;
56
- margin-bottom: 24px;
57
- }
58
-
59
- .fwe-list-group-item-footer {
60
- width: 100%;
61
- font-size: variables.$font-size-small;
62
- margin-bottom: 16px;
63
- }
64
-
65
- &::before {
66
- position: absolute;
67
- content: "";
68
- top: 0;
69
- bottom: 0;
70
- width: 1px;
71
- left: 0;
72
- background-color: variables.$hero;
73
- transform-origin: left top;
74
- transform: scaleX(0);
75
- transition: transform 0.3s;
76
- }
77
-
78
- &.fwe-active {
79
- color: variables.$hero;
80
- &::before {
81
- transform: scaleX(4);
82
- }
83
-
84
- .fwe-list-group-item-body,
85
- .fwe-list-group-item-footer {
86
- color: variables.$text;
87
- }
88
- }
89
-
90
- &.fwe-disabled {
91
- color: variables.$text-disabled;
92
- &::before {
93
- background-color: variables.$control-hover;
94
- }
95
- }
96
- }
97
-
98
- a.fwe-list-group-item {
99
- cursor: pointer;
100
- color: variables.$text;
101
-
102
- &:not(.fwe-disabled):hover {
103
- background-color: variables.$sucanul;
104
- .fwe-list-group-item-body,
105
- .fwe-list-group-item-footer {
106
- color: variables.$text;
107
- }
108
- }
109
- }
110
-
111
- button.fwe-list-group-item {
112
- outline: none;
113
- background-color: inherit;
114
- text-align: left;
115
- border: none;
116
- width: 100%;
117
- cursor: pointer;
118
-
119
- &:not(.fwe-disabled):hover {
120
- color: variables.$hero;
121
- background-color: variables.$sucanul;
122
- }
123
- }
124
-
125
- &.fwe-list-group-border {
126
- .fwe-list-group-item,
127
- button.fwe-list-group-item {
128
- border-bottom: 1px solid variables.$border;
129
- &:last-child {
130
- border-bottom: none;
131
- }
132
- }
133
- }
134
-
135
- &.fwe-list-group-horizontal {
136
- flex-direction: row;
137
- padding: 0px;
138
-
139
- .fwe-list-group-item {
140
- padding-left: 12px;
141
- padding-right: 12px;
142
- border-bottom: none;
143
-
144
- &:first-child {
145
- padding-left: 16px;
146
- }
147
- &:last-child {
148
- border-bottom: none;
149
- padding-right: 16px;
150
- }
151
-
152
- &::before {
153
- position: absolute;
154
- content: "";
155
- top: unset;
156
- bottom: 0;
157
- left: 0;
158
- right: 0;
159
- width: 100%;
160
- height: 1px;
161
- background-color: variables.$hero;
162
- transform-origin: center bottom;
163
- transform: scaleY(0);
164
- transition: transform 0.3s;
165
- }
166
-
167
- &.fwe-active {
168
- color: variables.$hero;
169
- &::before {
170
- transform: scaleY(4);
171
- }
172
- }
173
-
174
- &.fwe-disabled {
175
- color: variables.$text-disabled;
176
- &::before {
177
- background-color: variables.$control-hover;
178
- }
179
- }
180
- }
181
-
182
- &.fwe-bb {
183
- .fwe-list-group-item {
184
- &::before {
185
- bottom: -1px;
186
- }
187
- }
188
- }
189
-
190
- a.fwe-list-group-item,
191
- button.fwe-list-group-item {
192
- width: auto;
193
-
194
- &:not(.fwe-disabled):hover {
195
- color: variables.$hero;
196
- background-color: unset;
197
- }
198
- }
199
- }
200
- }
201
-
202
- .fwe-list-group-header {
203
- display: flex;
204
- align-items: center;
205
- padding: 14px 24px;
206
- border-bottom: 1px solid variables.$border;
207
-
208
- button {
209
- margin-left: auto;
210
- }
211
- }
1
+ @use "variables";
2
+
3
+ ul.fwe-list-group {
4
+ margin: 0;
5
+ padding: 0;
6
+ list-style-type: none;
7
+ }
8
+
9
+ .fwe-list-group {
10
+ display: flex;
11
+ flex-direction: column;
12
+
13
+ .fwe-list-group-item {
14
+ display: flex;
15
+ flex-direction: row;
16
+ align-items: center;
17
+ min-height: 48px;
18
+ padding-left: 16px;
19
+ padding-right: 16px;
20
+ line-height: 24px;
21
+ position: relative;
22
+ flex-wrap: wrap;
23
+
24
+ &.fwe-list-group-item-custom {
25
+ flex-direction: column;
26
+ align-items: flex-start;
27
+ justify-content: center;
28
+ }
29
+
30
+ .fwe-list-group-item-head .fwe-badge,
31
+ .fwe-badge {
32
+ display: inline-block;
33
+ margin-left: auto;
34
+ }
35
+
36
+ [class^="fwe-icon-"],
37
+ [class*=" fwe-icon-"],
38
+ .fwe-svg-icon,
39
+ a,
40
+ button {
41
+ display: inline-block;
42
+ margin-left: auto;
43
+ }
44
+
45
+ .fwe-list-group-item-head {
46
+ display: flex;
47
+ flex-grow: 1;
48
+ width: 100%;
49
+ font-weight: variables.$font-weight-bold;
50
+ margin-bottom: 24px;
51
+ margin-top: 16px;
52
+ }
53
+
54
+ .fwe-list-group-item-body {
55
+ width: 100%;
56
+ margin-bottom: 24px;
57
+ }
58
+
59
+ .fwe-list-group-item-footer {
60
+ width: 100%;
61
+ font-size: variables.$font-size-small;
62
+ margin-bottom: 16px;
63
+ }
64
+
65
+ &::before {
66
+ position: absolute;
67
+ content: "";
68
+ top: 0;
69
+ bottom: 0;
70
+ width: 1px;
71
+ left: 0;
72
+ background-color: variables.$hero;
73
+ transform-origin: left top;
74
+ transform: scaleX(0);
75
+ transition: transform 0.3s;
76
+ }
77
+
78
+ &.fwe-active {
79
+ color: variables.$hero;
80
+ &::before {
81
+ transform: scaleX(4);
82
+ }
83
+
84
+ .fwe-list-group-item-body,
85
+ .fwe-list-group-item-footer {
86
+ color: variables.$text;
87
+ }
88
+ }
89
+
90
+ &.fwe-disabled {
91
+ color: variables.$text-disabled;
92
+ &::before {
93
+ background-color: variables.$control-hover;
94
+ }
95
+ }
96
+ }
97
+
98
+ a.fwe-list-group-item {
99
+ cursor: pointer;
100
+ color: variables.$text;
101
+
102
+ &:not(.fwe-disabled):hover {
103
+ background-color: variables.$sucanul;
104
+ .fwe-list-group-item-body,
105
+ .fwe-list-group-item-footer {
106
+ color: variables.$text;
107
+ }
108
+ }
109
+ }
110
+
111
+ button.fwe-list-group-item {
112
+ outline: none;
113
+ background-color: inherit;
114
+ text-align: left;
115
+ border: none;
116
+ width: 100%;
117
+ cursor: pointer;
118
+
119
+ &:not(.fwe-disabled):hover {
120
+ color: variables.$hero;
121
+ background-color: variables.$sucanul;
122
+ }
123
+ }
124
+
125
+ &.fwe-list-group-border {
126
+ .fwe-list-group-item,
127
+ button.fwe-list-group-item {
128
+ border-bottom: 1px solid variables.$border;
129
+ &:last-child {
130
+ border-bottom: none;
131
+ }
132
+ }
133
+ }
134
+
135
+ &.fwe-list-group-horizontal {
136
+ flex-direction: row;
137
+ padding: 0px;
138
+
139
+ .fwe-list-group-item {
140
+ padding-left: 12px;
141
+ padding-right: 12px;
142
+ border-bottom: none;
143
+
144
+ &:first-child {
145
+ padding-left: 16px;
146
+ }
147
+ &:last-child {
148
+ border-bottom: none;
149
+ padding-right: 16px;
150
+ }
151
+
152
+ &::before {
153
+ position: absolute;
154
+ content: "";
155
+ top: unset;
156
+ bottom: 0;
157
+ left: 0;
158
+ right: 0;
159
+ width: 100%;
160
+ height: 1px;
161
+ background-color: variables.$hero;
162
+ transform-origin: center bottom;
163
+ transform: scaleY(0);
164
+ transition: transform 0.3s;
165
+ }
166
+
167
+ &.fwe-active {
168
+ color: variables.$hero;
169
+ &::before {
170
+ transform: scaleY(4);
171
+ }
172
+ }
173
+
174
+ &.fwe-disabled {
175
+ color: variables.$text-disabled;
176
+ &::before {
177
+ background-color: variables.$control-hover;
178
+ }
179
+ }
180
+ }
181
+
182
+ &.fwe-bb {
183
+ .fwe-list-group-item {
184
+ &::before {
185
+ bottom: -1px;
186
+ }
187
+ }
188
+ }
189
+
190
+ a.fwe-list-group-item,
191
+ button.fwe-list-group-item {
192
+ width: auto;
193
+
194
+ &:not(.fwe-disabled):hover {
195
+ color: variables.$hero;
196
+ background-color: unset;
197
+ }
198
+ }
199
+ }
200
+ }
201
+
202
+ .fwe-list-group-header {
203
+ display: flex;
204
+ align-items: center;
205
+ padding: 14px 24px;
206
+ border-bottom: 1px solid variables.$border;
207
+
208
+ button {
209
+ margin-left: auto;
210
+ }
211
+ }