@festo-ui/web-essentials 4.0.3-pre-20221213.1 → 5.0.0-dev.102

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 (89) hide show
  1. package/README.md +73 -73
  2. package/dist/css/festo-web-essentials.css +621 -3333
  3. package/dist/css/festo-web-essentials.css.map +1 -1
  4. package/dist/css/festo-web-essentials.min.css +3 -3
  5. package/dist/css/festo-web-essentials.min.css.map +1 -1
  6. package/dist/css/fonts/festo_icons-16.woff2 +0 -0
  7. package/dist/css/fonts/festo_icons-24.woff2 +0 -0
  8. package/dist/css/fonts/festo_icons-32.woff2 +0 -0
  9. package/dist/css/organisms/festo-web-essentials-organisms.css +11 -16
  10. package/dist/css/organisms/festo-web-essentials-organisms.css.map +1 -1
  11. package/dist/css/organisms/festo-web-essentials-organisms.min.css +2 -2
  12. package/dist/css/organisms/festo-web-essentials-organisms.min.css.map +1 -1
  13. package/dist/css/themes/flatpickr/festo.css +3 -18
  14. package/dist/css/themes/flatpickr/festo.css.map +1 -1
  15. package/dist/css/themes/flatpickr/festo.min.css +2 -2
  16. package/dist/css/themes/flatpickr/festo.min.css.map +1 -1
  17. package/dist/fonts/festo_icons-16.woff2 +0 -0
  18. package/dist/fonts/festo_icons-24.woff2 +0 -0
  19. package/dist/fonts/festo_icons-32.woff2 +0 -0
  20. package/dist/scss/_breadcrumb.scss +37 -37
  21. package/dist/scss/_button.scss +128 -128
  22. package/dist/scss/_cards.scss +98 -98
  23. package/dist/scss/_checkbox.scss +153 -153
  24. package/dist/scss/_chips.scss +145 -145
  25. package/dist/scss/_fonts.scss +59 -59
  26. package/dist/scss/_icons.scss +1524 -1446
  27. package/dist/scss/_loading-indicator.scss +176 -176
  28. package/dist/scss/_mixins.scss +2 -2
  29. package/dist/scss/_mobile-flyout.scss +108 -108
  30. package/dist/scss/_modal.scss +9 -8
  31. package/dist/scss/_navbar-menu.scss +351 -351
  32. package/dist/scss/_navbar.scss +258 -258
  33. package/dist/scss/_popover.scss +201 -201
  34. package/dist/scss/_progressbar.scss +67 -67
  35. package/dist/scss/_radio.scss +152 -152
  36. package/dist/scss/_root.scss +111 -111
  37. package/dist/scss/_search-input.scss +92 -92
  38. package/dist/scss/_select.scss +95 -95
  39. package/dist/scss/_stepper-horizontal.scss +127 -127
  40. package/dist/scss/_stepper-vertical.scss +121 -121
  41. package/dist/scss/_table.scss +150 -150
  42. package/dist/scss/_timepicker.scss +68 -68
  43. package/dist/scss/_tree.scss +211 -211
  44. package/dist/scss/_variables.scss +252 -252
  45. package/dist/scss/festo-web-essentials.scss +1 -1
  46. package/dist/scss/fonts/festo_icons-16.woff2 +0 -0
  47. package/dist/scss/fonts/festo_icons-24.woff2 +0 -0
  48. package/dist/scss/fonts/festo_icons-32.woff2 +0 -0
  49. package/dist/scss/organisms/_footer.scss +142 -142
  50. package/dist/scss/organisms/_header-slider.scss +153 -153
  51. package/dist/scss/organisms/_image-gallery.scss +257 -257
  52. package/dist/scss/organisms/_login.scss +59 -57
  53. package/dist/scss/organisms/_side-menu.scss +54 -54
  54. package/dist/scss/organisms/festo-web-essentials-organisms.scss +15 -15
  55. package/dist/scss/themes/flatpickr/festo.scss +834 -834
  56. package/package.json +88 -9
  57. package/scss/_breadcrumb.scss +37 -37
  58. package/scss/_button.scss +128 -128
  59. package/scss/_cards.scss +98 -98
  60. package/scss/_checkbox.scss +153 -153
  61. package/scss/_chips.scss +145 -145
  62. package/scss/_fonts.scss +59 -59
  63. package/scss/_icons.scss +1524 -1446
  64. package/scss/_loading-indicator.scss +176 -176
  65. package/scss/_mixins.scss +2 -2
  66. package/scss/_mobile-flyout.scss +108 -108
  67. package/scss/_modal.scss +9 -8
  68. package/scss/_navbar-menu.scss +351 -351
  69. package/scss/_navbar.scss +258 -258
  70. package/scss/_popover.scss +201 -201
  71. package/scss/_progressbar.scss +67 -67
  72. package/scss/_radio.scss +152 -152
  73. package/scss/_root.scss +111 -111
  74. package/scss/_search-input.scss +92 -92
  75. package/scss/_select.scss +95 -95
  76. package/scss/_stepper-horizontal.scss +127 -127
  77. package/scss/_stepper-vertical.scss +121 -121
  78. package/scss/_table.scss +150 -150
  79. package/scss/_timepicker.scss +68 -68
  80. package/scss/_tree.scss +211 -211
  81. package/scss/_variables.scss +252 -252
  82. package/scss/festo-web-essentials.scss +1 -1
  83. package/scss/organisms/_footer.scss +142 -142
  84. package/scss/organisms/_header-slider.scss +153 -153
  85. package/scss/organisms/_image-gallery.scss +257 -257
  86. package/scss/organisms/_login.scss +59 -57
  87. package/scss/organisms/_side-menu.scss +54 -54
  88. package/scss/organisms/festo-web-essentials-organisms.scss +15 -15
  89. package/scss/themes/flatpickr/festo.scss +834 -834
@@ -1,92 +1,92 @@
1
- .fwe-search-input {
2
- display: inline-block;
3
- position: relative;
4
- .fwe-search-icon {
5
- @extend .fwe-icon;
6
- @extend .fwe-icon-lg;
7
- @extend .fwe-icon-file-search;
8
- position: absolute;
9
- line-height: 1;
10
- left: 0px;
11
- bottom: 2px;
12
- }
13
- .fwe-clear-icon {
14
- @extend .fwe-icon;
15
- @extend .fwe-icon-close-small;
16
- cursor: pointer;
17
- position: absolute;
18
- right: 0px;
19
- bottom: 9px;
20
- line-height: 1;
21
- background: $control;
22
- border-radius: 50%;
23
- &:hover {
24
- background: $control-dark;
25
- }
26
- &:active {
27
- background: $control-darker;
28
- }
29
- }
30
-
31
- input {
32
- border-left: none;
33
- border-top: none;
34
- border-right: none;
35
- border-radius: 0px;
36
- border-bottom: 1px solid $control-border;
37
- background: transparent;
38
- padding: 1px 24px 4px 32px;
39
- &::placeholder {
40
- color: $text;
41
- }
42
- &:hover:not(:disabled) {
43
- &::placeholder {
44
- color: $hero;
45
- }
46
- border-bottom: 1px solid $hero;
47
- }
48
- &:focus {
49
- outline: none;
50
- border-bottom: 1px solid $hero;
51
- &::placeholder {
52
- color: transparent !important;
53
- }
54
- }
55
- &:placeholder-shown ~ .fwe-clear-icon {
56
- display: none;
57
- }
58
- &:disabled {
59
- opacity: 0.5;
60
- & ~ .fwe-clear-icon,
61
- & ~ .fwe-search-icon {
62
- opacity: 0.5;
63
- }
64
- }
65
- }
66
- }
67
-
68
- input[type="search"]::-webkit-search-cancel-button {
69
- /* Remove default */
70
- -webkit-appearance: none;
71
- }
72
-
73
- .fwe-search-suggestions {
74
- position: absolute;
75
- top: 38px;
76
- left: 0px;
77
- right: 0px;
78
- padding: 8px;
79
- background: $white;
80
- border-radius: $control-border-radius;
81
- box-shadow: $control-box-shadow;
82
- .fwe-search-suggestion {
83
- cursor: pointer;
84
- padding: 8px;
85
- overflow: hidden;
86
- text-overflow: ellipsis;
87
- &:hover,
88
- &.fwe-selected {
89
- background: $background;
90
- }
91
- }
92
- }
1
+ .fwe-search-input {
2
+ display: inline-block;
3
+ position: relative;
4
+ .fwe-search-icon {
5
+ @extend .fwe-icon;
6
+ @extend .fwe-icon-lg;
7
+ @extend .fwe-icon-file-search;
8
+ position: absolute;
9
+ line-height: 1;
10
+ left: 0px;
11
+ bottom: 2px;
12
+ }
13
+ .fwe-clear-icon {
14
+ @extend .fwe-icon;
15
+ @extend .fwe-icon-close-small;
16
+ cursor: pointer;
17
+ position: absolute;
18
+ right: 0px;
19
+ bottom: 9px;
20
+ line-height: 1;
21
+ background: $control;
22
+ border-radius: 50%;
23
+ &:hover {
24
+ background: $control-dark;
25
+ }
26
+ &:active {
27
+ background: $control-darker;
28
+ }
29
+ }
30
+
31
+ input {
32
+ border-left: none;
33
+ border-top: none;
34
+ border-right: none;
35
+ border-radius: 0px;
36
+ border-bottom: 1px solid $control-border;
37
+ background: transparent;
38
+ padding: 1px 24px 4px 32px;
39
+ &::placeholder {
40
+ color: $text;
41
+ }
42
+ &:hover:not(:disabled) {
43
+ &::placeholder {
44
+ color: $hero;
45
+ }
46
+ border-bottom: 1px solid $hero;
47
+ }
48
+ &:focus {
49
+ outline: none;
50
+ border-bottom: 1px solid $hero;
51
+ &::placeholder {
52
+ color: transparent !important;
53
+ }
54
+ }
55
+ &:placeholder-shown ~ .fwe-clear-icon {
56
+ display: none;
57
+ }
58
+ &:disabled {
59
+ opacity: 0.5;
60
+ & ~ .fwe-clear-icon,
61
+ & ~ .fwe-search-icon {
62
+ opacity: 0.5;
63
+ }
64
+ }
65
+ }
66
+ }
67
+
68
+ input[type="search"]::-webkit-search-cancel-button {
69
+ /* Remove default */
70
+ -webkit-appearance: none;
71
+ }
72
+
73
+ .fwe-search-suggestions {
74
+ position: absolute;
75
+ top: 38px;
76
+ left: 0px;
77
+ right: 0px;
78
+ padding: 8px;
79
+ background: $white;
80
+ border-radius: $control-border-radius;
81
+ box-shadow: $control-box-shadow;
82
+ .fwe-search-suggestion {
83
+ cursor: pointer;
84
+ padding: 8px;
85
+ overflow: hidden;
86
+ text-overflow: ellipsis;
87
+ &:hover,
88
+ &.fwe-selected {
89
+ background: $background;
90
+ }
91
+ }
92
+ }
package/scss/_select.scss CHANGED
@@ -1,95 +1,95 @@
1
- %select-description {
2
- position: absolute;
3
- bottom: 0px;
4
- width: 100%;
5
- font-size: $font-size-small;
6
- line-height: $line-height-base;
7
- color: $text-disabled;
8
- }
9
-
10
- .fwe-select-wrapper {
11
- font-family: $font-size-base;
12
- position: relative;
13
- display: flex;
14
- flex-direction: column;
15
- padding-bottom: 18px;
16
- @extend .fwe-icon;
17
- @extend .fwe-icon-lg;
18
- @extend .fwe-icon-arrows-collapse;
19
- &::before {
20
- pointer-events: none;
21
- position: absolute;
22
- bottom: 22px;
23
- left: calc(100% - 24px);
24
- }
25
-
26
- .fwe-select-label {
27
- order: 1;
28
- color: $text;
29
- font-size: $font-size-small;
30
- line-height: $line-height-base;
31
- font-weight: $font-weight-bold;
32
- }
33
-
34
- .fwe-select {
35
- cursor: pointer;
36
- order: 2;
37
- height: 33px;
38
- padding-bottom: 4px;
39
- padding-top: 4px;
40
- width: 100%;
41
- font-size: $font-size-base;
42
- appearance: none;
43
- display: block;
44
- outline: 0;
45
- background: none;
46
- border: none;
47
- border-bottom: 1px solid $control-border;
48
-
49
- &:hover {
50
- &:not(:disabled) {
51
- color: $hero;
52
- option {
53
- color: $text;
54
- }
55
- border-color: $hero;
56
- }
57
- &:invalid {
58
- border-color: $red;
59
- }
60
- }
61
-
62
- &:disabled {
63
- cursor: default;
64
- ~ .fwe-select-label {
65
- color: $text-disabled;
66
- }
67
- border-color: $control-disabled;
68
- }
69
-
70
- &::-ms-expand {
71
- display: none;
72
- }
73
-
74
- &:invalid {
75
- box-shadow: none;
76
-
77
- ~ .fwe-select-invalid {
78
- display: block;
79
- }
80
- ~ .fwe-select-description {
81
- display: none;
82
- }
83
- }
84
- }
85
-
86
- .fwe-select-description {
87
- @extend %select-description;
88
- }
89
-
90
- .fwe-select-invalid {
91
- @extend %select-description;
92
- display: none;
93
- color: $red;
94
- }
95
- }
1
+ %select-description {
2
+ position: absolute;
3
+ bottom: 0px;
4
+ width: 100%;
5
+ font-size: $font-size-small;
6
+ line-height: $line-height-base;
7
+ color: $text-disabled;
8
+ }
9
+
10
+ .fwe-select-wrapper {
11
+ font-family: $font-size-base;
12
+ position: relative;
13
+ display: flex;
14
+ flex-direction: column;
15
+ padding-bottom: 18px;
16
+ @extend .fwe-icon;
17
+ @extend .fwe-icon-lg;
18
+ @extend .fwe-icon-arrows-collapse;
19
+ &::before {
20
+ pointer-events: none;
21
+ position: absolute;
22
+ bottom: 22px;
23
+ left: calc(100% - 24px);
24
+ }
25
+
26
+ .fwe-select-label {
27
+ order: 1;
28
+ color: $text;
29
+ font-size: $font-size-small;
30
+ line-height: $line-height-base;
31
+ font-weight: $font-weight-bold;
32
+ }
33
+
34
+ .fwe-select {
35
+ cursor: pointer;
36
+ order: 2;
37
+ height: 33px;
38
+ padding-bottom: 4px;
39
+ padding-top: 4px;
40
+ width: 100%;
41
+ font-size: $font-size-base;
42
+ appearance: none;
43
+ display: block;
44
+ outline: 0;
45
+ background: none;
46
+ border: none;
47
+ border-bottom: 1px solid $control-border;
48
+
49
+ &:hover {
50
+ &:not(:disabled) {
51
+ color: $hero;
52
+ option {
53
+ color: $text;
54
+ }
55
+ border-color: $hero;
56
+ }
57
+ &:invalid {
58
+ border-color: $red;
59
+ }
60
+ }
61
+
62
+ &:disabled {
63
+ cursor: default;
64
+ ~ .fwe-select-label {
65
+ color: $text-disabled;
66
+ }
67
+ border-color: $control-disabled;
68
+ }
69
+
70
+ &::-ms-expand {
71
+ display: none;
72
+ }
73
+
74
+ &:invalid {
75
+ box-shadow: none;
76
+
77
+ ~ .fwe-select-invalid {
78
+ display: block;
79
+ }
80
+ ~ .fwe-select-description {
81
+ display: none;
82
+ }
83
+ }
84
+ }
85
+
86
+ .fwe-select-description {
87
+ @extend %select-description;
88
+ }
89
+
90
+ .fwe-select-invalid {
91
+ @extend %select-description;
92
+ display: none;
93
+ color: $red;
94
+ }
95
+ }
@@ -1,127 +1,127 @@
1
- .fwe-stepper-horizontal {
2
- width: 100%;
3
- height: 54px;
4
- display: flex;
5
- justify-content: center;
6
-
7
- .fwe-step-container {
8
- display: flex;
9
- justify-content: flex-end;
10
- text-align: right;
11
- flex-direction: row;
12
- flex-grow: 1;
13
- position: relative;
14
- &::after {
15
- // this is the connector
16
- position: absolute;
17
- content: "";
18
- height: 2px;
19
- left: 4px;
20
- right: 28px;
21
- top: 11px;
22
- background: $text-disabled;
23
- transition: background-color 0.3s, color 0.3s;
24
- }
25
- .fwe-step {
26
- padding-top: -1px;
27
- padding-bottom: 1px;
28
- position: relative;
29
- border-radius: 50%;
30
- border: 2px solid $text-disabled;
31
- width: 24px;
32
- height: 24px;
33
- display: flex;
34
- align-items: center;
35
- justify-content: center;
36
- font-feature-settings: $font-feature-settings;
37
- font-variant-numeric: $font-variant-numeric;
38
- transition: border-color 0.3s, background-color 0.3s, color 0.3s;
39
-
40
- .fwe-step-no {
41
- color: $text-disabled;
42
- font-size: $font-size-md;
43
- font-weight: $font-weight-bold;
44
- }
45
-
46
- .fwe-step-name {
47
- font-family: $font-family-base;
48
- @media (max-width: 900px) {
49
- display: none;
50
- }
51
- font-size: $font-size-md;
52
- position: absolute;
53
- top: 30px;
54
- left: 50%;
55
- transform: translateX(-50%);
56
- color: $text-disabled;
57
- white-space: pre;
58
- transition: color 0.3s;
59
- }
60
- }
61
-
62
- &.fwe-step-active,
63
- &.fwe-step-done {
64
- &::after {
65
- background: $hero;
66
- }
67
- .fwe-step {
68
- background: $hero;
69
- border-color: $hero;
70
- .fwe-step-no {
71
- color: #ffffff;
72
- }
73
- .fwe-step-name {
74
- color: $hero;
75
- }
76
- }
77
- }
78
-
79
- &.fwe-step-active {
80
- .fwe-step {
81
- .fwe-step-name {
82
- font-weight: $font-weight-bold;
83
- }
84
- }
85
- }
86
-
87
- &.fwe-step-done {
88
- .fwe-step {
89
- cursor: pointer;
90
- &:hover {
91
- background: $hero-darker;
92
- border-color: $hero-darker;
93
- }
94
- .fwe-step-no {
95
- display: none;
96
- }
97
- @extend .fwe-icon;
98
- @extend .fwe-icon-menu-check;
99
- &:before {
100
- position: absolute;
101
- left: 2px;
102
- top: 2px;
103
- color: $white;
104
- }
105
- }
106
- }
107
- }
108
-
109
- .fwe-step-container:last-child {
110
- .fwe-step {
111
- .fwe-step-name {
112
- right: 0px;
113
- left: unset;
114
- transform: unset;
115
- }
116
- }
117
- }
118
- .fwe-step-container:first-child {
119
- flex-grow: 0;
120
- .fwe-step {
121
- .fwe-step-name {
122
- left: 0px;
123
- transform: unset;
124
- }
125
- }
126
- }
127
- }
1
+ .fwe-stepper-horizontal {
2
+ width: 100%;
3
+ height: 54px;
4
+ display: flex;
5
+ justify-content: center;
6
+
7
+ .fwe-step-container {
8
+ display: flex;
9
+ justify-content: flex-end;
10
+ text-align: right;
11
+ flex-direction: row;
12
+ flex-grow: 1;
13
+ position: relative;
14
+ &::after {
15
+ // this is the connector
16
+ position: absolute;
17
+ content: "";
18
+ height: 2px;
19
+ left: 4px;
20
+ right: 28px;
21
+ top: 11px;
22
+ background: $text-disabled;
23
+ transition: background-color 0.3s, color 0.3s;
24
+ }
25
+ .fwe-step {
26
+ padding-top: -1px;
27
+ padding-bottom: 1px;
28
+ position: relative;
29
+ border-radius: 50%;
30
+ border: 2px solid $text-disabled;
31
+ width: 24px;
32
+ height: 24px;
33
+ display: flex;
34
+ align-items: center;
35
+ justify-content: center;
36
+ font-feature-settings: $font-feature-settings;
37
+ font-variant-numeric: $font-variant-numeric;
38
+ transition: border-color 0.3s, background-color 0.3s, color 0.3s;
39
+
40
+ .fwe-step-no {
41
+ color: $text-disabled;
42
+ font-size: $font-size-md;
43
+ font-weight: $font-weight-bold;
44
+ }
45
+
46
+ .fwe-step-name {
47
+ font-family: $font-family-base;
48
+ @media (max-width: 900px) {
49
+ display: none;
50
+ }
51
+ font-size: $font-size-md;
52
+ position: absolute;
53
+ top: 30px;
54
+ left: 50%;
55
+ transform: translateX(-50%);
56
+ color: $text-disabled;
57
+ white-space: pre;
58
+ transition: color 0.3s;
59
+ }
60
+ }
61
+
62
+ &.fwe-step-active,
63
+ &.fwe-step-done {
64
+ &::after {
65
+ background: $hero;
66
+ }
67
+ .fwe-step {
68
+ background: $hero;
69
+ border-color: $hero;
70
+ .fwe-step-no {
71
+ color: #ffffff;
72
+ }
73
+ .fwe-step-name {
74
+ color: $hero;
75
+ }
76
+ }
77
+ }
78
+
79
+ &.fwe-step-active {
80
+ .fwe-step {
81
+ .fwe-step-name {
82
+ font-weight: $font-weight-bold;
83
+ }
84
+ }
85
+ }
86
+
87
+ &.fwe-step-done {
88
+ .fwe-step {
89
+ cursor: pointer;
90
+ &:hover {
91
+ background: $hero-darker;
92
+ border-color: $hero-darker;
93
+ }
94
+ .fwe-step-no {
95
+ display: none;
96
+ }
97
+ @extend .fwe-icon;
98
+ @extend .fwe-icon-menu-check;
99
+ &:before {
100
+ position: absolute;
101
+ left: 2px;
102
+ top: 2px;
103
+ color: $white;
104
+ }
105
+ }
106
+ }
107
+ }
108
+
109
+ .fwe-step-container:last-child {
110
+ .fwe-step {
111
+ .fwe-step-name {
112
+ right: 0px;
113
+ left: unset;
114
+ transform: unset;
115
+ }
116
+ }
117
+ }
118
+ .fwe-step-container:first-child {
119
+ flex-grow: 0;
120
+ .fwe-step {
121
+ .fwe-step-name {
122
+ left: 0px;
123
+ transform: unset;
124
+ }
125
+ }
126
+ }
127
+ }