@festo-ui/web-essentials 6.1.0-dev.277 → 6.1.0-dev.282
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.
- package/README.md +14 -6
- package/dist/css/festo-web-essentials.css +16 -13
- package/dist/css/festo-web-essentials.css.map +1 -1
- package/dist/css/festo-web-essentials.min.css +2 -2
- package/dist/css/festo-web-essentials.min.css.map +1 -1
- package/dist/css/fonts/festo_icons-16.woff2 +0 -0
- package/dist/css/fonts/festo_icons-24.woff2 +0 -0
- package/dist/css/fonts/festo_icons-32.woff2 +0 -0
- package/dist/css/themes/flatpickr/festo.css +1 -1
- package/dist/css/themes/flatpickr/festo.min.css +1 -1
- package/dist/fonts/festo_icons-16.woff2 +0 -0
- package/dist/fonts/festo_icons-24.woff2 +0 -0
- package/dist/fonts/festo_icons-32.woff2 +0 -0
- package/dist/scss/_fonts.scss +8 -6
- package/dist/scss/_icons.scss +8 -9
- package/dist/scss/_root.scss +1 -2
- package/dist/scss/festo-web-essentials.scss +1 -1
- package/dist/scss/fonts/festo_icons-16.woff2 +0 -0
- package/dist/scss/fonts/festo_icons-24.woff2 +0 -0
- package/dist/scss/fonts/festo_icons-32.woff2 +0 -0
- package/dist/scss/themes/flatpickr/festo.scss +1 -1
- package/package.json +1 -1
- package/scss/_fonts.scss +8 -6
- package/scss/_icons.scss +8 -9
- package/scss/_root.scss +1 -2
- package/dist/css/fonts/FestoW05-Bold.woff +0 -0
- package/dist/css/fonts/FestoW05-Bold.woff2 +0 -0
- package/dist/css/fonts/FestoW05-Regular.woff +0 -0
- package/dist/css/fonts/FestoW05-Regular.woff2 +0 -0
- package/dist/fonts/FestoW05-Bold.woff +0 -0
- package/dist/fonts/FestoW05-Bold.woff2 +0 -0
- package/dist/fonts/FestoW05-Regular.woff +0 -0
- package/dist/fonts/FestoW05-Regular.woff2 +0 -0
- package/dist/scss/fonts/FestoW05-Bold.woff +0 -0
- package/dist/scss/fonts/FestoW05-Bold.woff2 +0 -0
- package/dist/scss/fonts/FestoW05-Regular.woff +0 -0
- package/dist/scss/fonts/FestoW05-Regular.woff2 +0 -0
package/README.md
CHANGED
|
@@ -60,16 +60,24 @@ background: $hero; // background is carul now
|
|
|
60
60
|
|
|
61
61
|
## Using Web Essentials with local fonts
|
|
62
62
|
|
|
63
|
-
If you want to use Web Essentials in an
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
If you want to use Web Essentials in an **offline** environment or with an non-latin style font, you have to provide own files for the Festo font.
|
|
64
|
+
|
|
65
|
+
- Download the required fonts here: https://festo.sharepoint.com/sites/tggfw/SitePages/Font-Richtlinie.aspx
|
|
66
|
+
- Override the css variable for the font:
|
|
67
|
+
|
|
66
68
|
```scss
|
|
67
69
|
@font-face {
|
|
68
|
-
font-family:
|
|
69
|
-
src: url(
|
|
70
|
+
font-family: 'localMeta';
|
|
71
|
+
src: url('../src/fonts/MetaChinese.woff') format('woff'), url('../src/fonts/MetaChinese.woff2') format('woff2');
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: 'localMeta';
|
|
76
|
+
src: url('../src/fonts/MetaChinese-Bold.woff') format('woff'), url('../src/fonts/MetaChinese-Bold.woff2') format('woff2');
|
|
77
|
+
font-weight: bold;
|
|
70
78
|
}
|
|
71
79
|
|
|
72
80
|
:root {
|
|
73
|
-
|
|
81
|
+
--fwe-font-family-sans-serif: 'localMeta';
|
|
74
82
|
}
|
|
75
83
|
```
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Festo UI - Web Essentials v6.1.0-dev.
|
|
2
|
+
* Festo UI - Web Essentials v6.1.0-dev.282 (https://storybook.festo.design/)
|
|
3
3
|
* Copyright 2022 Festo SE & Co. KG
|
|
4
4
|
* Licensed under Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
/* a screen reader friendly approach */
|
|
7
|
-
/*
|
|
7
|
+
/* MetaPro regular */
|
|
8
8
|
@font-face {
|
|
9
|
-
font-family: "
|
|
10
|
-
src: url("
|
|
9
|
+
font-family: "MetaPro";
|
|
10
|
+
src: local("MetaPro-Regular"), url("https://www.festo.com/Fonts/MetaPro-Regular.woff2") format("woff2"), url("https://www.festo.com/Fonts/MetaPro-Regular.woff") format("woff");
|
|
11
11
|
}
|
|
12
|
-
/*
|
|
12
|
+
/* MetaPro bold */
|
|
13
13
|
@font-face {
|
|
14
|
-
font-family: "
|
|
14
|
+
font-family: "MetaPro";
|
|
15
|
+
src: local("MetaPro-Bold"), url("https://www.festo.com/Fonts/MetaPro-Bold.woff2") format("woff2"), url("https://www.festo.com/Fonts/MetaPro-Bold.woff") format("woff");
|
|
15
16
|
font-weight: bold;
|
|
16
|
-
src: url("../fonts/FestoW05-Bold.woff2") format("woff2"), url("../fonts/FestoW05-Bold.woff") format("woff");
|
|
17
17
|
}
|
|
18
18
|
/* Festo Icon Font */
|
|
19
19
|
@font-face {
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
.fwe-icon:before, .fwe-stepper-vertical .fwe-step-container.fwe-step-done .fwe-step:before, .fwe-stepper-horizontal .fwe-step-container.fwe-step-done .fwe-step:before, .fwe-search-input .fwe-clear-icon:before, .fwe-search-input .fwe-search-icon:before, .fwe-notification-menu .fwe-notification-list .fwe-notification-item-content:before, .fwe-notification-menu .fwe-notification-list .fwe-notification-error:before, .fwe-notification-menu .fwe-notification-list .fwe-notification-warning:before, .fwe-notification-menu .fwe-notification-list .fwe-notification-info:before, .fwe-pagination .fwe-navigate-btn:before, .fwe-pagination .fwe-navigate-btn-down:before, .fwe-pagination .fwe-navigate-btn-up:before, .fwe-select-wrapper:before, label.fwe-checkbox .fwe-checkbox-checkmark:before, .fwe-mobile-flyout-page .fwe-page-back i:before, .fwe-mobile-flyout .fwe-mobile-flyout-button:before, .fwe-mobile-flyout .fwe-close-button:before, .fwe-mobile-flyout .fwe-burger-button:before, .fwe-navbar .fwe-navbar-burger-menu:before {
|
|
95
95
|
line-height: 1;
|
|
96
96
|
display: inline-block;
|
|
97
|
-
speak: none;
|
|
97
|
+
speak-as: none;
|
|
98
98
|
font-style: normal;
|
|
99
99
|
font-weight: normal;
|
|
100
100
|
font-variant: normal;
|
|
@@ -261,7 +261,7 @@ button.fwe-btn.fwe-btn-lg i[class*=" fwe-icon-"]:before, label.fwe-checkbox.fwe-
|
|
|
261
261
|
content: "\e919";
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
.fwe-icon-communication-
|
|
264
|
+
.fwe-icon-communication-audio-on:before {
|
|
265
265
|
content: "\e91a";
|
|
266
266
|
}
|
|
267
267
|
|
|
@@ -1105,7 +1105,7 @@ button.fwe-btn.fwe-btn-lg i[class*=" fwe-icon-"]:before, label.fwe-checkbox.fwe-
|
|
|
1105
1105
|
content: "\e9ec";
|
|
1106
1106
|
}
|
|
1107
1107
|
|
|
1108
|
-
.fwe-icon-network-show-
|
|
1108
|
+
.fwe-icon-network-show-nuggets:before {
|
|
1109
1109
|
content: "\e9ed";
|
|
1110
1110
|
}
|
|
1111
1111
|
|
|
@@ -1409,7 +1409,7 @@ button.fwe-btn.fwe-btn-lg i[class*=" fwe-icon-"]:before, label.fwe-checkbox.fwe-
|
|
|
1409
1409
|
content: "\ea38";
|
|
1410
1410
|
}
|
|
1411
1411
|
|
|
1412
|
-
.fwe-icon-time-outline:before {
|
|
1412
|
+
.fwe-icon-time-time-outline:before {
|
|
1413
1413
|
content: "\ea39";
|
|
1414
1414
|
}
|
|
1415
1415
|
|
|
@@ -2105,6 +2105,10 @@ button.fwe-btn.fwe-btn-lg i[class*=" fwe-icon-"]:before, label.fwe-checkbox.fwe-
|
|
|
2105
2105
|
content: "\eae6";
|
|
2106
2106
|
}
|
|
2107
2107
|
|
|
2108
|
+
.fwe-icon-check-small:before {
|
|
2109
|
+
content: "\eae7";
|
|
2110
|
+
}
|
|
2111
|
+
|
|
2108
2112
|
.fwe-color-black {
|
|
2109
2113
|
color: var(--fwe-black) !important;
|
|
2110
2114
|
}
|
|
@@ -2563,8 +2567,7 @@ h6,
|
|
|
2563
2567
|
--fwe-spacer-l: 32px;
|
|
2564
2568
|
--fwe-spacer-xl: 48px;
|
|
2565
2569
|
--fwe-spacer-xxl: 64px;
|
|
2566
|
-
--fwe-font-family-sans-serif: "
|
|
2567
|
-
sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
2570
|
+
--fwe-font-family-sans-serif: "MetaPro", "Trebuchet MS", Arial, sans-serif;
|
|
2568
2571
|
--fwe-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
2569
2572
|
--fwe-font-family-icons-16: "festo_icons-16";
|
|
2570
2573
|
--fwe-font-family-icons-24: "festo_icons-24";
|