@festo-ui/web-essentials 3.2.0 → 3.2.1-pre-20220602.1
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 +16 -0
- package/dist/css/festo-web-essentials.css +180 -15
- 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/organisms/festo-web-essentials-organisms.css +1 -1
- package/dist/css/organisms/festo-web-essentials-organisms.min.css +1 -1
- 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/_breadcrumb.scss +0 -2
- package/dist/scss/_button.scss +0 -4
- package/dist/scss/_checkbox.scss +0 -1
- package/dist/scss/_fonts.scss +10 -4
- package/dist/scss/_icons.scss +111 -2
- package/dist/scss/_mobile-flyout.scss +4 -0
- package/dist/scss/_navbar-menu.scss +1 -0
- package/dist/scss/_radio.scss +0 -1
- package/dist/scss/_search-input.scss +1 -1
- package/dist/scss/_select.scss +1 -0
- package/dist/scss/_stepper-horizontal.scss +1 -0
- package/dist/scss/_stepper-vertical.scss +1 -0
- package/dist/scss/_table.scss +2 -1
- 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/organisms/festo-web-essentials-organisms.scss +1 -1
- package/dist/scss/themes/flatpickr/festo.scss +1 -1
- package/package.json +1 -1
- package/scss/_breadcrumb.scss +0 -2
- package/scss/_button.scss +0 -4
- package/scss/_checkbox.scss +0 -1
- package/scss/_fonts.scss +10 -4
- package/scss/_icons.scss +111 -2
- package/scss/_mobile-flyout.scss +4 -0
- package/scss/_navbar-menu.scss +1 -0
- package/scss/_radio.scss +0 -1
- package/scss/_search-input.scss +1 -1
- package/scss/_select.scss +1 -0
- package/scss/_stepper-horizontal.scss +1 -0
- package/scss/_stepper-vertical.scss +1 -0
- package/scss/_table.scss +2 -1
- package/dist/css/fonts/MetaPro-Bold.otf +0 -0
- package/dist/css/fonts/MetaPro-Bold.woff +0 -0
- package/dist/css/fonts/MetaPro-Bold.woff2 +0 -0
- package/dist/css/fonts/MetaPro-Regular.otf +0 -0
- package/dist/css/fonts/MetaPro-Regular.woff +0 -0
- package/dist/css/fonts/MetaPro-Regular.woff2 +0 -0
- package/dist/fonts/MetaPro-Bold.otf +0 -0
- package/dist/fonts/MetaPro-Bold.woff +0 -0
- package/dist/fonts/MetaPro-Bold.woff2 +0 -0
- package/dist/fonts/MetaPro-Regular.otf +0 -0
- package/dist/fonts/MetaPro-Regular.woff +0 -0
- package/dist/fonts/MetaPro-Regular.woff2 +0 -0
- package/dist/scss/fonts/MetaPro-Bold.otf +0 -0
- package/dist/scss/fonts/MetaPro-Bold.woff +0 -0
- package/dist/scss/fonts/MetaPro-Bold.woff2 +0 -0
- package/dist/scss/fonts/MetaPro-Regular.otf +0 -0
- package/dist/scss/fonts/MetaPro-Regular.woff +0 -0
- package/dist/scss/fonts/MetaPro-Regular.woff2 +0 -0
package/README.md
CHANGED
|
@@ -56,3 +56,19 @@ You can use the variables like this:
|
|
|
56
56
|
background: $hero; // background is carul now
|
|
57
57
|
@extend .fwe-icon-menu-close; // add the menu-close icon as ::before element
|
|
58
58
|
```
|
|
59
|
+
|
|
60
|
+
## Using Web Essentials with local fonts
|
|
61
|
+
|
|
62
|
+
If you want to use Web Essentials in an __offline__ environment, you have to provide local files for the MetaPro font.
|
|
63
|
+
* Download the required fonts here: https://festo.sharepoint.com/sites/tggfw/SitePages/Font-Richtlinie.aspx
|
|
64
|
+
* Override the css variable for the font:
|
|
65
|
+
```scss
|
|
66
|
+
@font-face {
|
|
67
|
+
font-family: "localMeta";
|
|
68
|
+
src: url("../src/fonts/MetaChinese.woff") format("woff"), url("../src/fonts/MetaChinese.woff2") format("woff2");
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:root {
|
|
72
|
+
--fwe-font-family-sans-serif: "localMeta";
|
|
73
|
+
}
|
|
74
|
+
```
|
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/*!
|
|
3
|
-
* Festo UI - Web Essentials v3.2.
|
|
3
|
+
* Festo UI - Web Essentials v3.2.1-pre-20220602.1 (https://storybook.festo.design/)
|
|
4
4
|
* Copyright 2022 Festo SE & Co. KG
|
|
5
5
|
* Licensed under Apache-2.0
|
|
6
6
|
*/
|
|
7
7
|
/* a screen reader friendly approach */
|
|
8
|
+
/* Festo Font Einbindung MetaPro */
|
|
9
|
+
/* (C)Festo/ pas 01.07.2019 */
|
|
10
|
+
/* MetaPro regular */
|
|
8
11
|
@font-face {
|
|
9
12
|
font-family: "MetaPro";
|
|
10
|
-
src:
|
|
13
|
+
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
14
|
}
|
|
15
|
+
/* MetaPro bold */
|
|
12
16
|
@font-face {
|
|
13
17
|
font-family: "MetaPro";
|
|
18
|
+
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");
|
|
14
19
|
font-weight: bold;
|
|
15
|
-
src: url("../fonts/MetaPro-Bold.woff2") format("woff2"), url("../fonts/MetaPro-Bold.woff") format("woff"), url("../fonts/MetaPro-Bold.otf") format("truetype");
|
|
16
20
|
}
|
|
21
|
+
/* Festo Icon Font */
|
|
17
22
|
@font-face {
|
|
18
23
|
font-family: "festo_icons-16";
|
|
19
24
|
src: url("../fonts/festo_icons-16.woff2") format("woff2");
|
|
@@ -64,6 +69,7 @@
|
|
|
64
69
|
}
|
|
65
70
|
|
|
66
71
|
.fwe-icon, .fwe-stepper-vertical .fwe-step-container.fwe-step-done .fwe-step, .fwe-stepper-horizontal .fwe-step-container.fwe-step-done .fwe-step, .fwe-search-input .fwe-clear-icon, .fwe-search-input .fwe-search-icon, .fwe-notification-menu .fwe-notification-list .fwe-notification-item-content, .fwe-notification-menu .fwe-notification-list .fwe-notification-error, .fwe-notification-menu .fwe-notification-list .fwe-notification-warning, .fwe-notification-menu .fwe-notification-list .fwe-notification-info, .fwe-pagination .fwe-navigate-btn, .fwe-pagination .fwe-navigate-btn-down, .fwe-pagination .fwe-navigate-btn-up, .fwe-select-wrapper, label.fwe-checkbox .fwe-checkbox-checkmark, .fwe-mobile-flyout-page .fwe-page-back i, .fwe-mobile-flyout .fwe-mobile-flyout-button, .fwe-mobile-flyout .fwe-close-button, .fwe-mobile-flyout .fwe-burger-button, .fwe-navbar .fwe-navbar-burger-menu, table.fwe-table tr th.fwe-table-order {
|
|
72
|
+
font-family: var(--fwe-font-family-icons-16);
|
|
67
73
|
font-size: var(--fwe-font-size-base);
|
|
68
74
|
display: inline-block;
|
|
69
75
|
}
|
|
@@ -237,7 +243,7 @@ button.fwe-btn.fwe-btn-lg i[class*=" fwe-icon-"]:before, label.fwe-checkbox.fwe-
|
|
|
237
243
|
content: "";
|
|
238
244
|
}
|
|
239
245
|
|
|
240
|
-
.fwe-icon-communication-
|
|
246
|
+
.fwe-icon-communication-headset:before {
|
|
241
247
|
content: "";
|
|
242
248
|
}
|
|
243
249
|
|
|
@@ -761,7 +767,7 @@ button.fwe-btn.fwe-btn-lg i[class*=" fwe-icon-"]:before, label.fwe-checkbox.fwe-
|
|
|
761
767
|
content: "";
|
|
762
768
|
}
|
|
763
769
|
|
|
764
|
-
.fwe-icon-file-
|
|
770
|
+
.fwe-icon-file-secure:before {
|
|
765
771
|
content: "";
|
|
766
772
|
}
|
|
767
773
|
|
|
@@ -1825,6 +1831,150 @@ button.fwe-btn.fwe-btn-lg i[class*=" fwe-icon-"]:before, label.fwe-checkbox.fwe-
|
|
|
1825
1831
|
content: "";
|
|
1826
1832
|
}
|
|
1827
1833
|
|
|
1834
|
+
.fwe-icon-align-bottom:before {
|
|
1835
|
+
content: "";
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
.fwe-icon-align-center:before {
|
|
1839
|
+
content: "";
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
.fwe-icon-align-left:before {
|
|
1843
|
+
content: "";
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1846
|
+
.fwe-icon-align-middle:before {
|
|
1847
|
+
content: "";
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
.fwe-icon-align-right:before {
|
|
1851
|
+
content: "";
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
.fwe-icon-align-top:before {
|
|
1855
|
+
content: "";
|
|
1856
|
+
}
|
|
1857
|
+
|
|
1858
|
+
.fwe-icon-artificial-intelligence-AI:before {
|
|
1859
|
+
content: "";
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1862
|
+
.fwe-icon-assign-to-learner:before {
|
|
1863
|
+
content: "";
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
.fwe-icon-augmented-reality:before {
|
|
1867
|
+
content: "";
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
.fwe-icon-bus-systems:before {
|
|
1871
|
+
content: "";
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1874
|
+
.fwe-icon-cobotic:before {
|
|
1875
|
+
content: "";
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
.fwe-icon-controlled:before {
|
|
1879
|
+
content: "";
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
.fwe-icon-distribute-columns:before {
|
|
1883
|
+
content: "";
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1886
|
+
.fwe-icon-electrics:before {
|
|
1887
|
+
content: "";
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
.fwe-icon-energy-efficiency:before {
|
|
1891
|
+
content: "";
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
.fwe-icon-fast-delivery:before {
|
|
1895
|
+
content: "";
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
.fwe-icon-funk:before {
|
|
1899
|
+
content: "";
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
.fwe-icon-hide-label:before {
|
|
1903
|
+
content: "";
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
.fwe-icon-iiot:before {
|
|
1907
|
+
content: "";
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
.fwe-icon-iot:before {
|
|
1911
|
+
content: "";
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
.fwe-icon-learning-path1:before {
|
|
1915
|
+
content: "";
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
.fwe-icon-mobotic:before {
|
|
1919
|
+
content: "";
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1922
|
+
.fwe-icon-new-link:before {
|
|
1923
|
+
content: "";
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
.fwe-icon-numeric-value:before {
|
|
1927
|
+
content: "";
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
.fwe-icon-piezo:before {
|
|
1931
|
+
content: "";
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
.fwe-icon-pneumatics:before {
|
|
1935
|
+
content: "";
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
.fwe-icon-recycling:before {
|
|
1939
|
+
content: "";
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
.fwe-icon-remove-link:before {
|
|
1943
|
+
content: "";
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
.fwe-icon-remove-user:before {
|
|
1947
|
+
content: "";
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
.fwe-icon-safety:before {
|
|
1951
|
+
content: "";
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
.fwe-icon-show-label:before {
|
|
1955
|
+
content: "";
|
|
1956
|
+
}
|
|
1957
|
+
|
|
1958
|
+
.fwe-icon-show-link:before {
|
|
1959
|
+
content: "";
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
.fwe-icon-smart:before {
|
|
1963
|
+
content: "";
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
.fwe-icon-sustainable-materials:before {
|
|
1967
|
+
content: "";
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
.fwe-icon-text-value:before {
|
|
1971
|
+
content: "";
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
.fwe-icon-virtual-reality:before {
|
|
1975
|
+
content: "";
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1828
1978
|
.fwe-color-black {
|
|
1829
1979
|
color: var(--fwe-black) !important;
|
|
1830
1980
|
}
|
|
@@ -15689,6 +15839,7 @@ table.fwe-table tr th.fwe-table-order {
|
|
|
15689
15839
|
user-select: none;
|
|
15690
15840
|
white-space: nowrap;
|
|
15691
15841
|
direction: rtl;
|
|
15842
|
+
font-family: var(--fwe-font-family-sans-serif);
|
|
15692
15843
|
display: table-cell;
|
|
15693
15844
|
font-size: var(--fwe-font-size-md);
|
|
15694
15845
|
}
|
|
@@ -15698,7 +15849,7 @@ table.fwe-table tr th.fwe-table-order::before {
|
|
|
15698
15849
|
position: relative;
|
|
15699
15850
|
top: 3px;
|
|
15700
15851
|
left: 8px;
|
|
15701
|
-
transform-origin:
|
|
15852
|
+
transform-origin: 8px 7px;
|
|
15702
15853
|
transition: transform 0.3s;
|
|
15703
15854
|
}
|
|
15704
15855
|
table.fwe-table tr th.fwe-table-order.fwe-active {
|
|
@@ -16290,6 +16441,24 @@ header.fwe-fixed-header {
|
|
|
16290
16441
|
bottom: 0;
|
|
16291
16442
|
transform: translateX(100%);
|
|
16292
16443
|
transition: transform 0.3s ease;
|
|
16444
|
+
scrollbar-width: thin;
|
|
16445
|
+
scrollbar-color: var(--fwe-control-scrollbar) var(--fwe-gray-100);
|
|
16446
|
+
overflow-x: hidden;
|
|
16447
|
+
overflow-y: auto;
|
|
16448
|
+
}
|
|
16449
|
+
.fwe-mobile-flyout-page::-webkit-scrollbar {
|
|
16450
|
+
width: 12px;
|
|
16451
|
+
}
|
|
16452
|
+
.fwe-mobile-flyout-page::-webkit-scrollbar-track {
|
|
16453
|
+
background: transparent;
|
|
16454
|
+
}
|
|
16455
|
+
.fwe-mobile-flyout-page::-webkit-scrollbar-thumb {
|
|
16456
|
+
overflow: visible;
|
|
16457
|
+
background-color: var(--fwe-control-scrollbar);
|
|
16458
|
+
border: 3px solid rgba(242, 243, 245, 0);
|
|
16459
|
+
-webkit-background-clip: padding-box;
|
|
16460
|
+
background-clip: padding-box;
|
|
16461
|
+
border-radius: 6px;
|
|
16293
16462
|
}
|
|
16294
16463
|
.fwe-mobile-flyout-page.fwe-opened {
|
|
16295
16464
|
transform: translateX(0%);
|
|
@@ -16340,8 +16509,6 @@ header.fwe-fixed-header {
|
|
|
16340
16509
|
color: var(--fwe-text-light);
|
|
16341
16510
|
}
|
|
16342
16511
|
.fwe-breadcrumb .fwe-icon-arrows-right-2, .fwe-breadcrumb .fwe-pagination .fwe-navigate-btn-up, .fwe-pagination .fwe-breadcrumb .fwe-navigate-btn-up {
|
|
16343
|
-
margin-top: 1px;
|
|
16344
|
-
margin-bottom: -1px;
|
|
16345
16512
|
margin-left: 4px;
|
|
16346
16513
|
margin-right: 4px;
|
|
16347
16514
|
}
|
|
@@ -16860,7 +17027,6 @@ label.fwe-radio .fwe-radio-checkmark {
|
|
|
16860
17027
|
border: 1px solid var(--fwe-control-border);
|
|
16861
17028
|
background-color: var(--fwe-white);
|
|
16862
17029
|
border-radius: 50%;
|
|
16863
|
-
margin-top: 2px;
|
|
16864
17030
|
}
|
|
16865
17031
|
label.fwe-radio .fwe-radio-checkmark:after {
|
|
16866
17032
|
content: "";
|
|
@@ -16973,7 +17139,6 @@ label.fwe-checkbox .fwe-checkbox-checkmark {
|
|
|
16973
17139
|
border: 1px solid var(--fwe-control-border);
|
|
16974
17140
|
background-color: var(--fwe-white);
|
|
16975
17141
|
border-radius: 2px;
|
|
16976
|
-
margin-top: 2px;
|
|
16977
17142
|
font-size: var(--fwe-font-size-md);
|
|
16978
17143
|
}
|
|
16979
17144
|
label.fwe-checkbox .fwe-checkbox-checkmark:before {
|
|
@@ -17162,10 +17327,6 @@ button.fwe-btn i[class^=fwe-icon-],
|
|
|
17162
17327
|
button.fwe-btn i[class*=" fwe-icon-"] {
|
|
17163
17328
|
padding-right: 8px;
|
|
17164
17329
|
}
|
|
17165
|
-
a.fwe-btn span,
|
|
17166
|
-
button.fwe-btn span {
|
|
17167
|
-
margin: -1px 0px 1px 0px;
|
|
17168
|
-
}
|
|
17169
17330
|
a.fwe-btn:hover,
|
|
17170
17331
|
button.fwe-btn:hover {
|
|
17171
17332
|
color: var(--fwe-btn-text-hover);
|
|
@@ -17555,6 +17716,7 @@ input[type=range].fwe-slider-input:disabled::-ms-thumb {
|
|
|
17555
17716
|
}
|
|
17556
17717
|
|
|
17557
17718
|
.fwe-select-wrapper {
|
|
17719
|
+
font-family: var(--fwe-font-size-base);
|
|
17558
17720
|
position: relative;
|
|
17559
17721
|
display: flex;
|
|
17560
17722
|
flex-direction: column;
|
|
@@ -18890,6 +19052,7 @@ fieldset.fwe-progress-container label {
|
|
|
18890
19052
|
margin-right: 24px;
|
|
18891
19053
|
padding-top: 16px;
|
|
18892
19054
|
padding-bottom: 16px;
|
|
19055
|
+
font-family: var(--fwe-font-family-sans-serif);
|
|
18893
19056
|
}
|
|
18894
19057
|
.fwe-notification-menu .fwe-notification-list .fwe-notification-item-content .fwe-item-header, .fwe-notification-menu .fwe-notification-list .fwe-notification-error .fwe-item-header, .fwe-notification-menu .fwe-notification-list .fwe-notification-warning .fwe-item-header, .fwe-notification-menu .fwe-notification-list .fwe-notification-info .fwe-item-header {
|
|
18895
19058
|
font-weight: var(--fwe-font-weight-bold);
|
|
@@ -18980,7 +19143,7 @@ fieldset.fwe-progress-container label {
|
|
|
18980
19143
|
border-radius: 0px;
|
|
18981
19144
|
border-bottom: 1px solid var(--fwe-control-border);
|
|
18982
19145
|
background: transparent;
|
|
18983
|
-
padding:
|
|
19146
|
+
padding: 1px 24px 4px 32px;
|
|
18984
19147
|
}
|
|
18985
19148
|
.fwe-search-input input::-moz-placeholder {
|
|
18986
19149
|
color: var(--fwe-text);
|
|
@@ -19102,6 +19265,7 @@ input[type=search]::-webkit-search-cancel-button {
|
|
|
19102
19265
|
font-weight: var(--fwe-font-weight-bold);
|
|
19103
19266
|
}
|
|
19104
19267
|
.fwe-stepper-horizontal .fwe-step-container .fwe-step .fwe-step-name {
|
|
19268
|
+
font-family: var(--fwe-font-family-sans-serif);
|
|
19105
19269
|
font-size: var(--fwe-font-size-md);
|
|
19106
19270
|
position: absolute;
|
|
19107
19271
|
top: 30px;
|
|
@@ -19192,6 +19356,7 @@ input[type=search]::-webkit-search-cancel-button {
|
|
|
19192
19356
|
font-weight: var(--fwe-font-weight-bold);
|
|
19193
19357
|
}
|
|
19194
19358
|
.fwe-stepper-vertical .fwe-step-container .fwe-step .fwe-step-name {
|
|
19359
|
+
font-family: var(--fwe-font-family-sans-serif);
|
|
19195
19360
|
font-size: var(--fwe-font-size-md);
|
|
19196
19361
|
position: absolute;
|
|
19197
19362
|
left: 36px;
|