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

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
@@ -1,191 +1,191 @@
1
- @use "variables";
2
-
3
- label.fwe-input-text {
4
- position: relative;
5
- display: flex;
6
- flex-direction: column;
7
- line-height: 0px;
8
- padding-bottom: 18px;
9
- cursor: text;
10
-
11
- .fwe-input-text-label {
12
- height: 18px;
13
- order: 1;
14
- color: variables.$text;
15
- font-size: variables.$font-size-small;
16
- line-height: variables.$line-height-base;
17
- font-weight: variables.$font-weight-bold;
18
- white-space: nowrap;
19
- overflow: hidden;
20
- text-overflow: ellipsis;
21
- }
22
-
23
- .fwe-input-text-info {
24
- display: block;
25
- position: absolute;
26
- top: 51px;
27
- width: 100%;
28
- font-size: variables.$font-size-small;
29
- line-height: variables.$line-height-base;
30
- color: variables.$text-disabled;
31
- }
32
-
33
- .fwe-input-text-invalid {
34
- @extend .fwe-input-text-info;
35
- display: none;
36
- color: variables.$red;
37
- }
38
-
39
- input[type="text"],
40
- input[type="email"],
41
- input[type="password"],
42
- input[type="number"],
43
- input[type="date"],
44
- input[type="time"],
45
- input[type="datetime-local"],
46
- textarea {
47
- text-overflow: ellipsis;
48
- order: 2;
49
- outline: none;
50
- border: none;
51
- border-radius: 0;
52
- background: none;
53
- border-bottom-width: 1px;
54
- border-bottom-style: solid;
55
- border-color: variables.$control-border;
56
- width: 100%;
57
- padding-top: 4px;
58
- padding-bottom: 4px;
59
-
60
- &:disabled {
61
- pointer-events: none;
62
- }
63
-
64
- &::placeholder {
65
- color: variables.$text-disabled;
66
- }
67
-
68
- &:hover:valid:not(:disabled) {
69
- border-color: variables.$hero;
70
- }
71
-
72
- &:hover:not(:disabled) {
73
- color: variables.$hero;
74
- }
75
-
76
- &:focus {
77
- outline: none;
78
- border-color: variables.$hero;
79
- color: variables.$text !important;
80
- }
81
-
82
- &:user-invalid {
83
- border-color: variables.$red;
84
- & ~ .fwe-input-text-info {
85
- display: none;
86
- }
87
- & ~ .fwe-input-text-invalid {
88
- display: block;
89
- }
90
- }
91
-
92
- &:disabled {
93
- background: none;
94
- color: variables.$text-disabled;
95
- border-color: variables.$control-disabled;
96
-
97
- & ~ .fwe-input-text-label,
98
- & ~ .fwe-input-text-invalid,
99
- & ~ .fwe-input-text-info {
100
- color: variables.$text-disabled;
101
-
102
- &::before {
103
- color: variables.$text-disabled;
104
- }
105
- }
106
- }
107
- }
108
-
109
- // replace the calendar icon for webkit
110
- input[type="date"],
111
- input[type="time"],
112
- input[type="datetime-local"] {
113
- height: 33px;
114
- position: relative;
115
- &:before {
116
- color: transparent;
117
- background: none;
118
- display: block;
119
- font-family: variables.$font-family-icons-16;
120
- width: 16px;
121
- height: 16px;
122
- position: absolute;
123
- top: 6px;
124
- right: 0px;
125
- color: variables.$text;
126
- }
127
- &::-webkit-calendar-picker-indicator {
128
- color: transparent;
129
- background: none;
130
- z-index: 1;
131
- }
132
- }
133
- input[type="date"],
134
- input[type="datetime-local"] {
135
- &:before {
136
- content: "\ea0d";
137
- }
138
- }
139
- input[type="time"] {
140
- &:before {
141
- content: "\ea11";
142
- }
143
- }
144
-
145
- textarea {
146
- resize: none;
147
- margin-top: 4px;
148
- padding-left: 8px;
149
- padding-right: 8px;
150
- border-width: 1px;
151
- border-style: solid;
152
-
153
- @for $i from 2 through 10 {
154
- &.fwe-row-#{$i} {
155
- // height = rowcount * rowheight + margin-top + margin-bottom + 1px-line
156
- height: calc(#{$i} * #{variables.$textarea-row-const});
157
- }
158
- }
159
-
160
- ~ .fwe-input-text-info,
161
- ~ .fwe-input-text-invalid {
162
- top: unset;
163
- bottom: 0px;
164
- white-space: nowrap;
165
- overflow: hidden;
166
- text-overflow: ellipsis;
167
- }
168
- }
169
-
170
- &.fwe-input-text-icon {
171
- .fwe-svg-icon,
172
- i {
173
- line-height: 1;
174
- position: absolute;
175
- bottom: 27px;
176
- right: 0px;
177
- height: 16px;
178
- width: 16px;
179
- }
180
-
181
- input[type="text"],
182
- input[type="password"],
183
- input[type="number"],
184
- input[type="date"],
185
- input[type="time"],
186
- input[type="datetime-local"],
187
- textarea {
188
- padding-right: 24px;
189
- }
190
- }
191
- }
1
+ @use "variables";
2
+
3
+ label.fwe-input-text {
4
+ position: relative;
5
+ display: flex;
6
+ flex-direction: column;
7
+ line-height: 0px;
8
+ padding-bottom: 18px;
9
+ cursor: text;
10
+
11
+ .fwe-input-text-label {
12
+ height: 18px;
13
+ order: 1;
14
+ color: variables.$text;
15
+ font-size: variables.$font-size-small;
16
+ line-height: variables.$line-height-base;
17
+ font-weight: variables.$font-weight-bold;
18
+ white-space: nowrap;
19
+ overflow: hidden;
20
+ text-overflow: ellipsis;
21
+ }
22
+
23
+ .fwe-input-text-info {
24
+ display: block;
25
+ position: absolute;
26
+ top: 51px;
27
+ width: 100%;
28
+ font-size: variables.$font-size-small;
29
+ line-height: variables.$line-height-base;
30
+ color: variables.$text-disabled;
31
+ }
32
+
33
+ .fwe-input-text-invalid {
34
+ @extend .fwe-input-text-info;
35
+ display: none;
36
+ color: variables.$red;
37
+ }
38
+
39
+ input[type="text"],
40
+ input[type="email"],
41
+ input[type="password"],
42
+ input[type="number"],
43
+ input[type="date"],
44
+ input[type="time"],
45
+ input[type="datetime-local"],
46
+ textarea {
47
+ text-overflow: ellipsis;
48
+ order: 2;
49
+ outline: none;
50
+ border: none;
51
+ border-radius: 0;
52
+ background: none;
53
+ border-bottom-width: 1px;
54
+ border-bottom-style: solid;
55
+ border-color: variables.$control-border;
56
+ width: 100%;
57
+ padding-top: 4px;
58
+ padding-bottom: 4px;
59
+
60
+ &:disabled {
61
+ pointer-events: none;
62
+ }
63
+
64
+ &::placeholder {
65
+ color: variables.$text-disabled;
66
+ }
67
+
68
+ &:hover:valid:not(:disabled) {
69
+ border-color: variables.$hero;
70
+ }
71
+
72
+ &:hover:not(:disabled) {
73
+ color: variables.$hero;
74
+ }
75
+
76
+ &:focus {
77
+ outline: none;
78
+ border-color: variables.$hero;
79
+ color: variables.$text !important;
80
+ }
81
+
82
+ &:user-invalid {
83
+ border-color: variables.$red;
84
+ & ~ .fwe-input-text-info {
85
+ display: none;
86
+ }
87
+ & ~ .fwe-input-text-invalid {
88
+ display: block;
89
+ }
90
+ }
91
+
92
+ &:disabled {
93
+ background: none;
94
+ color: variables.$text-disabled;
95
+ border-color: variables.$control-disabled;
96
+
97
+ & ~ .fwe-input-text-label,
98
+ & ~ .fwe-input-text-invalid,
99
+ & ~ .fwe-input-text-info {
100
+ color: variables.$text-disabled;
101
+
102
+ &::before {
103
+ color: variables.$text-disabled;
104
+ }
105
+ }
106
+ }
107
+ }
108
+
109
+ // replace the calendar icon for webkit
110
+ input[type="date"],
111
+ input[type="time"],
112
+ input[type="datetime-local"] {
113
+ height: 33px;
114
+ position: relative;
115
+ &:before {
116
+ color: transparent;
117
+ background: none;
118
+ display: block;
119
+ font-family: variables.$font-family-icons-16;
120
+ width: 16px;
121
+ height: 16px;
122
+ position: absolute;
123
+ top: 6px;
124
+ right: 0px;
125
+ color: variables.$text;
126
+ }
127
+ &::-webkit-calendar-picker-indicator {
128
+ color: transparent;
129
+ background: none;
130
+ z-index: 1;
131
+ }
132
+ }
133
+ input[type="date"],
134
+ input[type="datetime-local"] {
135
+ &:before {
136
+ content: "\ea0d";
137
+ }
138
+ }
139
+ input[type="time"] {
140
+ &:before {
141
+ content: "\ea11";
142
+ }
143
+ }
144
+
145
+ textarea {
146
+ resize: none;
147
+ margin-top: 4px;
148
+ padding-left: 8px;
149
+ padding-right: 8px;
150
+ border-width: 1px;
151
+ border-style: solid;
152
+
153
+ @for $i from 2 through 10 {
154
+ &.fwe-row-#{$i} {
155
+ // height = rowcount * rowheight + margin-top + margin-bottom + 1px-line
156
+ height: calc(#{$i} * #{variables.$textarea-row-const});
157
+ }
158
+ }
159
+
160
+ ~ .fwe-input-text-info,
161
+ ~ .fwe-input-text-invalid {
162
+ top: unset;
163
+ bottom: 0px;
164
+ white-space: nowrap;
165
+ overflow: hidden;
166
+ text-overflow: ellipsis;
167
+ }
168
+ }
169
+
170
+ &.fwe-input-text-icon {
171
+ .fwe-svg-icon,
172
+ i {
173
+ line-height: 1;
174
+ position: absolute;
175
+ bottom: 27px;
176
+ right: 0px;
177
+ height: 16px;
178
+ width: 16px;
179
+ }
180
+
181
+ input[type="text"],
182
+ input[type="password"],
183
+ input[type="number"],
184
+ input[type="date"],
185
+ input[type="time"],
186
+ input[type="datetime-local"],
187
+ textarea {
188
+ padding-right: 24px;
189
+ }
190
+ }
191
+ }
@@ -1,52 +1,52 @@
1
- @use "variables";
2
-
3
- // This is still needed for compatibility reasons
4
- a {
5
- color: variables.$hero;
6
- text-decoration: none;
7
-
8
- i.fwe-icon {
9
- vertical-align: text-top;
10
- }
11
-
12
- &.fwe-dark {
13
- color: variables.$text;
14
- }
15
-
16
- &.fwe-disabled {
17
- pointer-events: none;
18
- color: variables.$text-light;
19
- cursor: default;
20
- }
21
-
22
- &:hover:not(.fwe-disabled) {
23
- color: variables.$hero-hover;
24
- text-decoration: none;
25
- }
26
- }
27
-
28
- .fwe-text-link {
29
- color: variables.$hero;
30
- text-decoration: underline;
31
- text-decoration-thickness: auto;
32
-
33
- i.fwe-icon {
34
- vertical-align: text-top;
35
- }
36
-
37
- &.fwe-dark {
38
- color: variables.$text;
39
- }
40
-
41
- &.fwe-disabled {
42
- pointer-events: none;
43
- color: variables.$text-light;
44
- cursor: default;
45
- }
46
-
47
- &:hover:not(.fwe-disabled) {
48
- color: variables.$hero-hover;
49
- text-decoration: underline;
50
- text-decoration-thickness: auto;
51
- }
52
- }
1
+ @use "variables";
2
+
3
+ // This is still needed for compatibility reasons
4
+ a {
5
+ color: variables.$hero;
6
+ text-decoration: none;
7
+
8
+ i.fwe-icon {
9
+ vertical-align: text-top;
10
+ }
11
+
12
+ &.fwe-dark {
13
+ color: variables.$text;
14
+ }
15
+
16
+ &.fwe-disabled {
17
+ pointer-events: none;
18
+ color: variables.$text-light;
19
+ cursor: default;
20
+ }
21
+
22
+ &:hover:not(.fwe-disabled) {
23
+ color: variables.$hero-hover;
24
+ text-decoration: none;
25
+ }
26
+ }
27
+
28
+ .fwe-text-link {
29
+ color: variables.$hero;
30
+ text-decoration: underline;
31
+ text-decoration-thickness: auto;
32
+
33
+ i.fwe-icon {
34
+ vertical-align: text-top;
35
+ }
36
+
37
+ &.fwe-dark {
38
+ color: variables.$text;
39
+ }
40
+
41
+ &.fwe-disabled {
42
+ pointer-events: none;
43
+ color: variables.$text-light;
44
+ cursor: default;
45
+ }
46
+
47
+ &:hover:not(.fwe-disabled) {
48
+ color: variables.$hero-hover;
49
+ text-decoration: underline;
50
+ text-decoration-thickness: auto;
51
+ }
52
+ }
@@ -1,83 +1,83 @@
1
- @use "variables";
2
-
3
- .fwe-toolbar {
4
- width: variables.$toolbar-width;
5
- padding: 0;
6
- background-color: variables.$white;
7
- border-right: 1px solid variables.$border;
8
- display: flex;
9
- flex-direction: column;
10
- align-items: center;
11
-
12
- .fwe-toolbar-actions {
13
- padding-top: 24px;
14
-
15
- a {
16
- display: flex;
17
- align-items: center;
18
- justify-content: center;
19
- }
20
-
21
- button {
22
- display: block;
23
- }
24
-
25
- a,
26
- button {
27
- height: 60px;
28
- width: 60px;
29
- line-height: 60px;
30
- text-align: center;
31
- cursor: pointer;
32
- border-radius: 0;
33
- position: relative;
34
-
35
- &::after {
36
- position: absolute;
37
- content: "";
38
- top: 0;
39
- left: 0;
40
- height: 100%;
41
- width: 4px;
42
- background-color: variables.$hero;
43
- transform: scaleX(0);
44
- transition: transform 0.3s;
45
- }
46
-
47
- &.fwe-active {
48
- color: variables.$hero !important;
49
-
50
- &::after {
51
- transform: scaleX(1);
52
- }
53
- }
54
- }
55
- }
56
-
57
- &.fwe-toolbar-right {
58
- border-right: none;
59
- border-left: 1px solid variables.$border;
60
- padding-right: 1px;
61
-
62
- .fwe-toolbar-actions {
63
- a,
64
- button {
65
- &::after {
66
- left: unset;
67
- right: 0;
68
- width: 4px;
69
- transform: scaleX(0);
70
- transition: transform 0.3s;
71
- }
72
-
73
- &.fwe-active {
74
- color: variables.$hero !important;
75
-
76
- &::after {
77
- transform: scaleX(1);
78
- }
79
- }
80
- }
81
- }
82
- }
83
- }
1
+ @use "variables";
2
+
3
+ .fwe-toolbar {
4
+ width: variables.$toolbar-width;
5
+ padding: 0;
6
+ background-color: variables.$white;
7
+ border-right: 1px solid variables.$border;
8
+ display: flex;
9
+ flex-direction: column;
10
+ align-items: center;
11
+
12
+ .fwe-toolbar-actions {
13
+ padding-top: 24px;
14
+
15
+ a {
16
+ display: flex;
17
+ align-items: center;
18
+ justify-content: center;
19
+ }
20
+
21
+ button {
22
+ display: block;
23
+ }
24
+
25
+ a,
26
+ button {
27
+ height: 60px;
28
+ width: 60px;
29
+ line-height: 60px;
30
+ text-align: center;
31
+ cursor: pointer;
32
+ border-radius: 0;
33
+ position: relative;
34
+
35
+ &::after {
36
+ position: absolute;
37
+ content: "";
38
+ top: 0;
39
+ left: 0;
40
+ height: 100%;
41
+ width: 4px;
42
+ background-color: variables.$hero;
43
+ transform: scaleX(0);
44
+ transition: transform 0.3s;
45
+ }
46
+
47
+ &.fwe-active {
48
+ color: variables.$hero !important;
49
+
50
+ &::after {
51
+ transform: scaleX(1);
52
+ }
53
+ }
54
+ }
55
+ }
56
+
57
+ &.fwe-toolbar-right {
58
+ border-right: none;
59
+ border-left: 1px solid variables.$border;
60
+ padding-right: 1px;
61
+
62
+ .fwe-toolbar-actions {
63
+ a,
64
+ button {
65
+ &::after {
66
+ left: unset;
67
+ right: 0;
68
+ width: 4px;
69
+ transform: scaleX(0);
70
+ transition: transform 0.3s;
71
+ }
72
+
73
+ &.fwe-active {
74
+ color: variables.$hero !important;
75
+
76
+ &::after {
77
+ transform: scaleX(1);
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }