@festo-ui/web-essentials 7.3.0-dev.498 → 7.3.0-dev.501
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/dist/css/festo-web-essentials.css +11 -11
- package/dist/css/festo-web-essentials.css.map +1 -1
- package/dist/css/festo-web-essentials.min.css +10 -10
- package/dist/css/festo-web-essentials.min.css.map +1 -1
- package/dist/css/{festo-web-essentials-compact.css → light/festo-web-essentials-light.css} +1445 -11
- package/dist/css/light/festo-web-essentials-light.css.map +1 -0
- package/dist/css/themes/flatpickr/festo.css +1 -1
- package/dist/css/themes/flatpickr/festo.min.css +1 -1
- package/dist/scss/_fonts.scss +4 -4
- package/dist/scss/festo-web-essentials.scss +1 -1
- package/dist/scss/light/_border-light.scss +75 -0
- package/dist/scss/light/_flex-light.scss +258 -0
- package/dist/scss/light/_spacing-light.scss +52 -0
- package/dist/scss/light/festo-web-essentials-light.scss +59 -0
- package/dist/scss/themes/flatpickr/festo.scss +1 -1
- package/package.json +1 -1
- package/scss/_fonts.scss +4 -4
- package/scss/light/_border-light.scss +75 -0
- package/scss/light/_flex-light.scss +258 -0
- package/scss/light/_spacing-light.scss +52 -0
- package/scss/light/festo-web-essentials-light.scss +59 -0
- package/dist/css/festo-web-essentials-compact.css.map +0 -1
- package/dist/scss/festo-web-essentials-compact.scss +0 -54
- package/scss/festo-web-essentials-compact.scss +0 -54
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Festo UI - Web Essentials v7.3.0-dev.
|
|
2
|
+
* Festo UI - Web Essentials v7.3.0-dev.501 (https://storybook.festo.design/)
|
|
3
3
|
* Copyright 2022 Festo SE & Co. KG
|
|
4
4
|
* Licensed under Apache-2.0
|
|
5
5
|
*/.fng-flatpickr span{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flatpickr-calendar{display:none;text-align:center;animation:none;direction:ltr;border:0;font-size:var(--fwe-font-size-md);line-height:font-size-md10px;position:absolute;box-sizing:border-box;touch-action:manipulation}.flatpickr-calendar.open{max-height:640px;width:324px;background:var(--fwe-white);box-shadow:0 1px 8px rgba(0,0,0,.3);border-radius:8px;padding:12px;padding-bottom:48px;display:inline-block;z-index:var(--fwe-z-index-dropdown)}.flatpickr-calendar.animate.open{animation:none}.flatpickr-calendar.inline{display:block;position:relative;top:2px;box-shadow:none;background:inherit}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px)}.flatpickr-calendar.static.open{z-index:var(--fwe-z-index-dropdown);display:block}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){box-shadow:none!important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){box-shadow:-2px 0 0 var(--fwe-gray-200),5px 0 0 var(--fwe-gray-200)}.flatpickr-calendar .hasTime .dayContainer,.flatpickr-calendar .hasWeeks .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time{height:40px;border-top:1px solid var(--fwe-gray-200)}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:after,.flatpickr-calendar:before{position:absolute;display:block;pointer-events:none;border:solid transparent;content:unset;height:0;width:0;left:32px}.flatpickr-calendar.rightMost:after,.flatpickr-calendar.rightMost:before{left:auto;right:32px}.flatpickr-calendar:before{border-width:7px;margin:0 -7px}.flatpickr-calendar:after{border-width:6px;margin:0 -6px}.flatpickr-calendar.arrowTop:after,.flatpickr-calendar.arrowTop:before{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:rgba(0,0,0,.15)}.flatpickr-calendar.arrowTop:after{border-bottom-color:var(--fwe-white)}.flatpickr-calendar.arrowBottom:after,.flatpickr-calendar.arrowBottom:before{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:var(--fwe-border)}.flatpickr-calendar.arrowBottom:after{border-top-color:var(--fwe-white)}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-months{display:flex}.flatpickr-months .flatpickr-month{background:0 0;color:var(--fwe-text);fill:var(--fwe-text);height:42px;margin-top:12px;line-height:24px;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;flex:1}.flatpickr-months .flatpickr-next-month,.flatpickr-months .flatpickr-prev-month{text-decoration:none;cursor:pointer;position:absolute;top:0;height:42px;z-index:3;color:var(--fwe-text)}.flatpickr-months .flatpickr-next-month i,.flatpickr-months .flatpickr-prev-month i{position:relative}.flatpickr-months .flatpickr-next-month svg,.flatpickr-months .flatpickr-prev-month svg{width:14px;height:14px}.flatpickr-months .flatpickr-next-month svg path,.flatpickr-months .flatpickr-prev-month svg path{transition:fill .1s;fill:inherit}.flatpickr-months .flatpickr-next-month.flatpickr-disabled,.flatpickr-months .flatpickr-prev-month.flatpickr-disabled{display:none}.flatpickr-months .flatpickr-next-month:hover,.flatpickr-months .flatpickr-prev-month:hover{color:var(--fwe-text-light)}.flatpickr-months .flatpickr-next-month:hover svg,.flatpickr-months .flatpickr-prev-month:hover svg{fill:var(--fwe-hero)}.flatpickr-months .flatpickr-next-month{padding:24px 20px 0 0;right:0}.flatpickr-months .flatpickr-prev-month{left:0;padding:24px 0 0 20px}.numInputWrapper{position:relative;height:auto}.numInputWrapper input::-webkit-inner-spin-button,.numInputWrapper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.numInputWrapper input[type=number]{-moz-appearance:textfield}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%;font-weight:var(--fwe-font-weight-bold)}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper span{position:absolute;right:-8px;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;box-sizing:border-box}.numInputWrapper span:after{display:block;content:"";position:absolute}.numInputWrapper span.arrowUp{top:0;border-bottom:0}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid var(--fwe-text);top:26%}.numInputWrapper span.arrowDown{top:50%}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid var(--fwe-text);top:40%}.numInputWrapper span svg{width:inherit;height:auto}.numInputWrapper span svg path{fill:rgba(0,0,0,0.5)}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:var(--fwe-font-size-base);font-weight:var(--fwe-font-weight-normal);position:absolute;width:75%;left:12.5%;padding:7px 0 0 0;line-height:calc(var(--fwe-font-size-base) + 8px);height:34px;display:inline-block;text-align:center;transform:translate3d(0,0,0)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:var(--fwe-font-weight-bold);color:inherit;display:inline-block;margin-left:.5ch;padding:0}.flatpickr-current-month span.cur-month:hover{color:var(--fwe-hero)}.flatpickr-current-month select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;background-image:url("data:image/svg+xml;utf8,<svg height='16' viewBox='0 0 16 16' width='16' xmlns='http://www.w3.org/2000/svg'><g><polygon points='8,10.7 3.6,6.4 4.4,5.6 8,9.3 11.6,5.6 12.4,6.4'/></g></svg>");background-repeat:no-repeat;background-position-x:100%;background-position-y:70%;border:none;color:inherit;cursor:pointer;line-height:24px;margin:-1px 0 0 0;outline:0;padding-left:8px;padding-right:16px}.flatpickr-current-month select:hover{color:var(--fwe-hero);background-image:url("data:image/svg+xml;utf8,<svg fill='rgb(0, 145, 220)' height='16' viewBox='0 0 16 16' width='16' xmlns='http://www.w3.org/2000/svg'><g><polygon points='8,10.7 3.6,6.4 4.4,5.6 8,9.3 11.6,5.6 12.4,6.4'/></g></svg>")}.flatpickr-current-month select option{color:var(--fwe-text)!important}.flatpickr-current-month .numInputWrapper{width:60px;display:inline-block}.flatpickr-current-month .numInputWrapper input{background:0 0;box-sizing:border-box;color:inherit;cursor:text;margin-left:16px;display:inline-block;line-height:24px;border:0;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-current-month .numInputWrapper:hover{color:var(--fwe-hero)}.flatpickr-current-month .numInputWrapper .arrowUp:hover:after{border-bottom-color:var(--fwe-hero)}.flatpickr-current-month .numInputWrapper .arrowDown:hover:after{border-top-color:var(--fwe-hero)}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(0,0,0,.5);background:0 0;pointer-events:none}.flatpickr-monthDropdown-months{font-weight:var(--fwe-font-weight-bold)}.flatpickr-current-month .flatpickr-monthDropdown-months:active,.flatpickr-current-month .flatpickr-monthDropdown-months:focus{outline:0}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:transparent;outline:0;padding:0}.flatpickr-weekdays{border-bottom:1px solid var(--fwe-border);background:0 0;text-align:center;overflow:hidden;width:100%;display:flex;align-items:center;height:48px;margin-bottom:4px}.flatpickr-weekdays .flatpickr-weekdaycontainer{display:flex;flex:1}span.flatpickr-weekday{cursor:default;font-size:var(--fwe-font-size-md);background:0 0;color:var(--fwe-text-light);line-height:1;margin:0;text-align:center;display:block;flex:1;font-weight:var(--fwe-font-weight-normal)}.dayContainer,.flatpickr-weeks{padding:1px 0 0 0}.flatpickr-days{position:relative;overflow:hidden;display:flex;align-items:flex-start;width:304px}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:left;width:304px;min-width:304px;max-width:304px;box-sizing:border-box;display:inline-block;display:flex;flex-wrap:wrap;justify-content:space-around;transform:translate3d(0,0,0);opacity:1}.dayContainer+.dayContainer{box-shadow:-1px 0 0 var(--fwe-gray-200)}.flatpickr-day{background:0 0;border:2px;border-radius:150px;box-sizing:border-box;color:var(--fwe-text);cursor:pointer;font-weight:var(--fwe-font-weight-normal);width:14.2857143%;flex-basis:14.2857143%;max-width:33px;height:33px;line-height:33px;margin:4px;display:inline-block;position:relative;justify-content:center;text-align:center}.flatpickr-day.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day.nextMonthDay:focus,.flatpickr-day.nextMonthDay:hover,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.today.inRange,.flatpickr-day:focus{cursor:pointer;outline:0;background:var(--fwe-gray-200);border-color:var(--fwe-gray-200);font-weight:var(--fwe-font-weight-bold)}.flatpickr-day:hover{cursor:pointer;outline:0;color:var(--fwe-hero-hover)}.flatpickr-day.today{background-color:inherit;font-weight:var(--fwe-font-weight-bold);text-decoration:underline}.flatpickr-day.today:hover{color:var(--fwe-hero-hover)}.flatpickr-day.endRange,.flatpickr-day.endRange.inRange,.flatpickr-day.endRange.nextMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.endRange:focus,.flatpickr-day.endRange:hover,.flatpickr-day.selected,.flatpickr-day.selected.inRange,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.selected:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange,.flatpickr-day.startRange.inRange,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.startRange:focus,.flatpickr-day.startRange:hover{background:var(--fwe-white);box-shadow:none;color:var(--fwe-hero);border:2px solid var(--fwe-hero);font-weight:var(--fwe-font-weight-bold);line-height:28px}.flatpickr-day.endRange.flatpickr-disabled,.flatpickr-day.endRange.inRange.flatpickr-disabled,.flatpickr-day.endRange.nextMonthDay.flatpickr-disabled,.flatpickr-day.endRange.prevMonthDay.flatpickr-disabled,.flatpickr-day.endRange:focus.flatpickr-disabled,.flatpickr-day.endRange:hover.flatpickr-disabled,.flatpickr-day.selected.flatpickr-disabled,.flatpickr-day.selected.inRange.flatpickr-disabled,.flatpickr-day.selected.nextMonthDay.flatpickr-disabled,.flatpickr-day.selected.prevMonthDay.flatpickr-disabled,.flatpickr-day.selected:focus.flatpickr-disabled,.flatpickr-day.selected:hover.flatpickr-disabled,.flatpickr-day.startRange.flatpickr-disabled,.flatpickr-day.startRange.inRange.flatpickr-disabled,.flatpickr-day.startRange.nextMonthDay.flatpickr-disabled,.flatpickr-day.startRange.prevMonthDay.flatpickr-disabled,.flatpickr-day.startRange:focus.flatpickr-disabled,.flatpickr-day.startRange:hover.flatpickr-disabled{color:var(--fwe-text-disabled);background:var(--fwe-control-disabled)}.flatpickr-day.startRange.startRange{border-radius:50px;box-shadow:none}.flatpickr-day.endRange.startRange{border-radius:50px 0 0 50px;box-shadow:10px 0 0 var(--fwe-hero)}.flatpickr-day.selected.startRange{border-radius:50px;box-shadow:none}.flatpickr-day.endRange:not(.inRange):not(.startRange),.flatpickr-day.selected.endRange:not(.inRange):not(.startRange){border-radius:50px;position:relative}.flatpickr-day.endRange:not(.inRange):not(.startRange)::before,.flatpickr-day.selected.endRange:not(.inRange):not(.startRange)::before{content:"";position:absolute;height:calc(100% + 4px);z-index:-1;width:42px;background-color:var(--fwe-gray-200);left:-26px;top:-2px}.flatpickr-day.endRange:not(.inRange):not(.startRange).flatpickr-disabled::before,.flatpickr-day.selected.endRange:not(.inRange):not(.startRange).flatpickr-disabled::before{background-color:var(--fwe-gray-200)}.flatpickr-day.endRange.endRange,.flatpickr-day.startRange.endRange{border-radius:50px}.flatpickr-day.startRange:not(:hover):not(.endRange):nth-child(7n)::before{content:"";position:absolute;height:100%;z-index:-1;width:24px;background-color:var(--fwe-gray-200);left:16px}.flatpickr-day.startRange:not(:hover):not(.endRange):nth-child(7n).flatpickr-disabled::before{background-color:var(--fwe-gray-200)}.flatpickr-day.endRange.startRange.endRange,.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange:not(.startRange){box-shadow:none;position:relative}.flatpickr-day.inRange:not(.startRange):not(.endRange):nth-child(7n){border-radius:0;box-shadow:-10px 0 0 var(--fwe-gray-200),24px 0 0 var(--fwe-gray-200)}.flatpickr-day.inRange:not(.startRange):not(.endRange):nth-child(7n).flatpickr-disabled{box-shadow:-10px 0 0 var(--fwe-gray-100),24px 0 0 var(--fwe-gray-100)}.flatpickr-day.inRange:not(.startRange)::before{content:"";position:absolute;height:100%;z-index:-1;width:48px;background-color:var(--fwe-gray-200);left:-28px}.flatpickr-day.inRange:not(.startRange).flatpickr-disabled::before{background-color:var(--fwe-gray-100)}.flatpickr-day.inRange~.flatpickr-day.inRange:not(.selected){border-radius:0;box-shadow:-10px 0 0 var(--fwe-gray-200),24px 0 0 var(--fwe-gray-200)}.flatpickr-day.inRange~.flatpickr-day.inRange:not(.selected).flatpickr-disabled{box-shadow:-10px 0 0 var(--fwe-gray-100),24px 0 0 var(--fwe-gray-100);background:var(--fwe-gray-100)}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.nextMonthDay,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.prevMonthDay{color:rgba(57,57,57,.3);background:0 0;border-color:transparent;cursor:default}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{cursor:not-allowed;color:rgba(57,57,57,.1)}.flatpickr-day.week.selected{border-radius:0;box-shadow:-5px 0 0 var(--fwe-hero),5px 0 0 var(--fwe-hero)}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{float:left}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;box-shadow:1px 0 0 var(--fwe-gray-200)}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:rgba(57,57,57,.3);background:0 0;cursor:default;border:none}.flatpickr-innerContainer{display:block;display:flex;box-sizing:border-box;overflow:hidden}.flatpickr-rContainer{display:inline-block;padding:0;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;height:0;line-height:40px;max-height:40px;box-sizing:border-box;overflow:hidden;display:flex}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{flex:1;width:40%;height:40px;float:left}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:var(--fwe-control-border)}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:var(--fwe-control-border)}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:0 0;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;color:var(--fwe-text);font-size:var(--fwe-font-size-md);position:relative;box-sizing:border-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-time input.flatpickr-hour{font-weight:var(--fwe-font-weight-bold)}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:var(--fwe-font-weight-normal)}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-am-pm,.flatpickr-time .flatpickr-time-separator{height:inherit;float:left;line-height:inherit;color:var(--fwe-text);font-weight:var(--fwe-font-weight-bold);width:2%;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-self:center}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:var(--fwe-font-weight-normal)}.flatpickr-time .flatpickr-am-pm:focus,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time input:hover{background:var(--fwe-white)}.flatpickr-input[readonly]{cursor:pointer}@keyframes fpFadeInDown{from{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
|
package/dist/scss/_fonts.scss
CHANGED
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
/* Festo regular */
|
|
4
4
|
@font-face {
|
|
5
5
|
font-family: "Festo";
|
|
6
|
-
src: url("https://www.festo.com/
|
|
7
|
-
url("https://www.festo.com/
|
|
6
|
+
src: url("https://www.festo.com/fonts/Festo-Regular.woff2") format("woff2"),
|
|
7
|
+
url("https://www.festo.com/fonts/Festo-Regular.woff") format("woff");
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
/* Festo bold */
|
|
11
11
|
@font-face {
|
|
12
12
|
font-family: "Festo";
|
|
13
|
-
src: url("https://www.festo.com/
|
|
14
|
-
url("https://www.festo.com/
|
|
13
|
+
src: url("https://www.festo.com/fonts/Festo-Bold.woff2") format("woff2"),
|
|
14
|
+
url("https://www.festo.com/fonts/Festo-Bold.woff") format("woff");
|
|
15
15
|
font-weight: bold;
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../utils";
|
|
3
|
+
@use "../variables";
|
|
4
|
+
|
|
5
|
+
@function border-name($borderKey) {
|
|
6
|
+
@return if($borderKey != 0, "-#{$borderKey}", null);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin borders($borders, $infix: "") {
|
|
10
|
+
@each $borderKey, $borderColor in $borders {
|
|
11
|
+
$borderColorName: border-name($borderKey);
|
|
12
|
+
|
|
13
|
+
.fwe-b#{$infix}#{$borderColorName} {
|
|
14
|
+
border: 1px solid $borderColor !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.fwe-bt#{$infix}#{$borderColorName} {
|
|
18
|
+
border-top: 1px solid $borderColor !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.fwe-bb#{$infix}#{$borderColorName} {
|
|
22
|
+
border-bottom: 1px solid $borderColor !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.fwe-bl#{$infix}#{$borderColorName} {
|
|
26
|
+
border-left: 1px solid $borderColor !important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.fwe-br#{$infix}#{$borderColorName} {
|
|
30
|
+
border-right: 1px solid $borderColor !important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.fwe-bx#{$infix}#{$borderColorName} {
|
|
34
|
+
border-left: 1px solid $borderColor !important;
|
|
35
|
+
border-right: 1px solid $borderColor !important;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.fwe-by#{$infix}#{$borderColorName} {
|
|
39
|
+
border-top: 1px solid $borderColor !important;
|
|
40
|
+
border-bottom: 1px solid $borderColor !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.fwe-b#{$infix}-none {
|
|
44
|
+
border: none !important;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.fwe-bt#{$infix}-none {
|
|
48
|
+
border-top: none !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.fwe-bb#{$infix}-none {
|
|
52
|
+
border-bottom: none !important;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.fwe-bl#{$infix}-none {
|
|
56
|
+
border-left: none !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.fwe-br#{$infix}-none {
|
|
60
|
+
border-right: none !important;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.fwe-bx#{$infix}-none {
|
|
64
|
+
border-left: none !important;
|
|
65
|
+
border-right: none !important;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.fwe-by#{$infix}-none {
|
|
69
|
+
border-top: none !important;
|
|
70
|
+
border-bottom: none !important;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@include borders(variables.$borders);
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
@use "sass:list";
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
@use "../utils";
|
|
4
|
+
@use "../variables";
|
|
5
|
+
|
|
6
|
+
$basic-keywords: normal, stretch, center, start, end, flex-start, flex-end;
|
|
7
|
+
$baseline-keywords: baseline, first baseline, last baseline, safe center, unsafe center;
|
|
8
|
+
$positional-keywords: left, right;
|
|
9
|
+
$content-keywords: space-between, space-around, space-evenly;
|
|
10
|
+
$justify-keywords: auto, self-start, self-end;
|
|
11
|
+
$legacy-keywords: legacy right, legacy left, legacy center;
|
|
12
|
+
$flex-properties: (
|
|
13
|
+
auto: (
|
|
14
|
+
flex,
|
|
15
|
+
auto
|
|
16
|
+
),
|
|
17
|
+
grow-0: (
|
|
18
|
+
flex-grow,
|
|
19
|
+
0
|
|
20
|
+
),
|
|
21
|
+
grow-1: (
|
|
22
|
+
flex-grow,
|
|
23
|
+
1
|
|
24
|
+
),
|
|
25
|
+
grow-2: (
|
|
26
|
+
flex-grow,
|
|
27
|
+
2
|
|
28
|
+
),
|
|
29
|
+
grow-3: (
|
|
30
|
+
flex-grow,
|
|
31
|
+
3
|
|
32
|
+
),
|
|
33
|
+
shrink-0: (
|
|
34
|
+
flex-shrink,
|
|
35
|
+
0
|
|
36
|
+
),
|
|
37
|
+
shrink-1: (
|
|
38
|
+
flex-shrink,
|
|
39
|
+
1
|
|
40
|
+
),
|
|
41
|
+
shrink-2: (
|
|
42
|
+
flex-shrink,
|
|
43
|
+
2
|
|
44
|
+
),
|
|
45
|
+
shrink-3: (
|
|
46
|
+
flex-shrink,
|
|
47
|
+
3
|
|
48
|
+
),
|
|
49
|
+
basis-0: (
|
|
50
|
+
flex-basis,
|
|
51
|
+
0
|
|
52
|
+
),
|
|
53
|
+
basis-auto: (
|
|
54
|
+
flex-basis,
|
|
55
|
+
auto
|
|
56
|
+
),
|
|
57
|
+
basis-fill: (
|
|
58
|
+
flex-basis,
|
|
59
|
+
fill
|
|
60
|
+
),
|
|
61
|
+
basis-max-content: (
|
|
62
|
+
flex-basis,
|
|
63
|
+
max-content
|
|
64
|
+
),
|
|
65
|
+
basis-min-content: (
|
|
66
|
+
flex-basis,
|
|
67
|
+
min-content
|
|
68
|
+
),
|
|
69
|
+
basis-fit-content: (
|
|
70
|
+
flex-basis,
|
|
71
|
+
fit-content
|
|
72
|
+
),
|
|
73
|
+
basis-content: (
|
|
74
|
+
flex-basis,
|
|
75
|
+
content
|
|
76
|
+
),
|
|
77
|
+
wrap: (
|
|
78
|
+
flex-wrap,
|
|
79
|
+
wrap
|
|
80
|
+
),
|
|
81
|
+
wrap-reverse: (
|
|
82
|
+
flex-wrap,
|
|
83
|
+
wrap-reverse
|
|
84
|
+
),
|
|
85
|
+
nowrap: (
|
|
86
|
+
flex-wrap,
|
|
87
|
+
nowrap
|
|
88
|
+
),
|
|
89
|
+
row-nowrap: (
|
|
90
|
+
flex-flow,
|
|
91
|
+
row nowrap
|
|
92
|
+
),
|
|
93
|
+
column-wrap: (
|
|
94
|
+
flex-flow,
|
|
95
|
+
column wrap
|
|
96
|
+
),
|
|
97
|
+
column-reverse-wrap-reverse: (
|
|
98
|
+
flex-flow,
|
|
99
|
+
column-reverse wrap-reverse
|
|
100
|
+
),
|
|
101
|
+
row: (
|
|
102
|
+
flex-direction,
|
|
103
|
+
row
|
|
104
|
+
),
|
|
105
|
+
row-reverse: (
|
|
106
|
+
flex-direction,
|
|
107
|
+
row-reverse
|
|
108
|
+
),
|
|
109
|
+
column: (
|
|
110
|
+
flex-direction,
|
|
111
|
+
column
|
|
112
|
+
),
|
|
113
|
+
column-reverse: (
|
|
114
|
+
flex-direction,
|
|
115
|
+
column-reverse
|
|
116
|
+
)
|
|
117
|
+
) !default;
|
|
118
|
+
|
|
119
|
+
@mixin flex-helpers($infix: "") {
|
|
120
|
+
.fwe-ml#{$infix}-auto {
|
|
121
|
+
margin-left: auto !important;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.fwe-mr#{$infix}-auto {
|
|
125
|
+
margin-right: auto !important;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.fwe-mt#{$infix}-auto {
|
|
129
|
+
margin-top: auto !important;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.fwe-mb#{$infix}-auto {
|
|
133
|
+
margin-bottom: auto !important;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.fwe-order#{$infix}-first {
|
|
137
|
+
order: -1;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.fwe-order#{$infix}-last {
|
|
141
|
+
order: 6;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.fwe-order#{$infix}-1 {
|
|
145
|
+
order: 1;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.fwe-order#{$infix}-2 {
|
|
149
|
+
order: 2;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.fwe-order#{$infix}-3 {
|
|
153
|
+
order: 3;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.fwe-order#{$infix}-4 {
|
|
157
|
+
order: 4;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.fwe-order#{$infix}-5 {
|
|
161
|
+
order: 5;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
@each $classname, $properties in $flex-properties {
|
|
165
|
+
$property: list.nth($properties, 1);
|
|
166
|
+
$value: list.nth($properties, 2);
|
|
167
|
+
|
|
168
|
+
.fwe-flex#{$infix}-#{$classname} {
|
|
169
|
+
#{$property}: $value !important;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
@each $property in $basic-keywords {
|
|
174
|
+
.fwe-align-items#{$infix}-#{$property} {
|
|
175
|
+
align-items: $property !important;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.fwe-align-self#{$infix}-#{$property} {
|
|
179
|
+
align-self: $property !important;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.fwe-align-content#{$infix}-#{$property} {
|
|
183
|
+
align-content: $property !important;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.fwe-justify-items#{$infix}-#{$property} {
|
|
187
|
+
justify-items: $property !important;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.fwe-justify-self#{$infix}-#{$property} {
|
|
191
|
+
justify-self: $property !important;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.fwe-justify-content#{$infix}-#{$property} {
|
|
195
|
+
justify-content: $property !important;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
@each $property in $baseline-keywords {
|
|
200
|
+
.fwe-align-items#{$infix}-#{$property} {
|
|
201
|
+
align-items: $property !important;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.fwe-align-self#{$infix}-#{$property} {
|
|
205
|
+
align-self: $property !important;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.fwe-align-content#{$infix}-#{$property} {
|
|
209
|
+
align-content: $property !important;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.fwe-justify-items#{$infix}-#{$property} {
|
|
213
|
+
justify-items: $property !important;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.fwe-justify-self#{$infix}-#{$property} {
|
|
217
|
+
justify-self: $property !important;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
@each $property in $positional-keywords {
|
|
222
|
+
.fwe-justify-items#{$infix}-#{$property} {
|
|
223
|
+
justify-items: $property !important;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.fwe-justify-self#{$infix}-#{$property} {
|
|
227
|
+
justify-self: $property !important;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
@each $property in $content-keywords {
|
|
232
|
+
.fwe-align-content#{$infix}-#{$property} {
|
|
233
|
+
align-content: $property !important;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.fwe-justify-content#{$infix}-#{$property} {
|
|
237
|
+
justify-content: $property !important;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
@each $property in $justify-keywords {
|
|
242
|
+
.fwe-justify-items#{$infix}-#{$property} {
|
|
243
|
+
justify-items: $property !important;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.fwe-justify-self#{$infix}-#{$property} {
|
|
247
|
+
justify-self: $property !important;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
@each $property in $legacy-keywords {
|
|
252
|
+
.fwe-justify-items#{$infix}-#{$property} {
|
|
253
|
+
justify-items: $property !important;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
@include flex-helpers();
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../utils";
|
|
3
|
+
@use "../variables";
|
|
4
|
+
|
|
5
|
+
$spacers-light: (
|
|
6
|
+
0: variables.$spacer-0,
|
|
7
|
+
xxxs: variables.$spacer-xxxs,
|
|
8
|
+
xxs: variables.$spacer-xxs,
|
|
9
|
+
xs: variables.$spacer-xs,
|
|
10
|
+
s: variables.$spacer-s,
|
|
11
|
+
m: variables.$spacer-m,
|
|
12
|
+
l: variables.$spacer-l,
|
|
13
|
+
xl: variables.$spacer-xl,
|
|
14
|
+
xxl: variables.$spacer-xxl
|
|
15
|
+
) !default;
|
|
16
|
+
|
|
17
|
+
@mixin spacings($spacers, $infix: "") {
|
|
18
|
+
@each $spacing, $space in $spacers {
|
|
19
|
+
@each $property, $abrev in (margin: "fwe-m", padding: "fwe-p") {
|
|
20
|
+
.#{$abrev}#{$infix}-#{$spacing} {
|
|
21
|
+
#{$property}: $space !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.#{$abrev}t#{$infix}-#{$spacing} {
|
|
25
|
+
#{$property}-top: $space !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.#{$abrev}b#{$infix}-#{$spacing} {
|
|
29
|
+
#{$property}-bottom: $space !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.#{$abrev}l#{$infix}-#{$spacing} {
|
|
33
|
+
#{$property}-left: $space !important;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.#{$abrev}r#{$infix}-#{$spacing} {
|
|
37
|
+
#{$property}-right: $space !important;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.#{$abrev}x#{$infix}-#{$spacing} {
|
|
41
|
+
#{$property}-right: $space !important;
|
|
42
|
+
#{$property}-left: $space !important;
|
|
43
|
+
}
|
|
44
|
+
.#{$abrev}y#{$infix}-#{$spacing} {
|
|
45
|
+
#{$property}-top: $space !important;
|
|
46
|
+
#{$property}-bottom: $space !important;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@include spacings($spacers-light);
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Festo UI - Web Essentials light (https://storybook.festo.design/)
|
|
3
|
+
* Copyright 2025 Festo SE & Co. KG
|
|
4
|
+
* Licensed under Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
@use "../rfs";
|
|
8
|
+
@use "../variables";
|
|
9
|
+
@use "../mixins";
|
|
10
|
+
@use "../fonts";
|
|
11
|
+
@use "../colors";
|
|
12
|
+
|
|
13
|
+
@use "../type";
|
|
14
|
+
@use "../root";
|
|
15
|
+
@use "../normalize";
|
|
16
|
+
@use "../utils";
|
|
17
|
+
|
|
18
|
+
@use "../misc";
|
|
19
|
+
@use "../display";
|
|
20
|
+
@use "spacing-light";
|
|
21
|
+
@use "border-light";
|
|
22
|
+
@use "flex-light";
|
|
23
|
+
|
|
24
|
+
@use "../layout";
|
|
25
|
+
@use "../toolbar";
|
|
26
|
+
@use "../table";
|
|
27
|
+
@use "../list";
|
|
28
|
+
@use "../navbar";
|
|
29
|
+
@use "../mobile-flyout";
|
|
30
|
+
@use "../breadcrumb";
|
|
31
|
+
@use "../text-link";
|
|
32
|
+
@use "../text-input";
|
|
33
|
+
@use "../chips";
|
|
34
|
+
@use "../radio";
|
|
35
|
+
@use "../checkbox";
|
|
36
|
+
@use "../switch";
|
|
37
|
+
@use "../button";
|
|
38
|
+
@use "../slider";
|
|
39
|
+
@use "../loading-indicator";
|
|
40
|
+
@use "../select";
|
|
41
|
+
@use "../badge";
|
|
42
|
+
@use "../cards";
|
|
43
|
+
@use "../progressbar";
|
|
44
|
+
@use "../pagination";
|
|
45
|
+
@use "../snackbar";
|
|
46
|
+
@use "../modal";
|
|
47
|
+
@use "../segment";
|
|
48
|
+
@use "../popover";
|
|
49
|
+
@use "../timepicker";
|
|
50
|
+
@use "../navbar-menu";
|
|
51
|
+
@use "../scroll";
|
|
52
|
+
@use "../search-input";
|
|
53
|
+
@use "../stepper-horizontal";
|
|
54
|
+
@use "../stepper-vertical";
|
|
55
|
+
@use "../bottom-navigation";
|
|
56
|
+
@use "../accordion";
|
|
57
|
+
@use "../tree";
|
|
58
|
+
@use "../sidebar-overlay";
|
|
59
|
+
@use "../bottom-sheet";
|
package/package.json
CHANGED
package/scss/_fonts.scss
CHANGED
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
/* Festo regular */
|
|
4
4
|
@font-face {
|
|
5
5
|
font-family: "Festo";
|
|
6
|
-
src: url("https://www.festo.com/
|
|
7
|
-
url("https://www.festo.com/
|
|
6
|
+
src: url("https://www.festo.com/fonts/Festo-Regular.woff2") format("woff2"),
|
|
7
|
+
url("https://www.festo.com/fonts/Festo-Regular.woff") format("woff");
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
/* Festo bold */
|
|
11
11
|
@font-face {
|
|
12
12
|
font-family: "Festo";
|
|
13
|
-
src: url("https://www.festo.com/
|
|
14
|
-
url("https://www.festo.com/
|
|
13
|
+
src: url("https://www.festo.com/fonts/Festo-Bold.woff2") format("woff2"),
|
|
14
|
+
url("https://www.festo.com/fonts/Festo-Bold.woff") format("woff");
|
|
15
15
|
font-weight: bold;
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../utils";
|
|
3
|
+
@use "../variables";
|
|
4
|
+
|
|
5
|
+
@function border-name($borderKey) {
|
|
6
|
+
@return if($borderKey != 0, "-#{$borderKey}", null);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin borders($borders, $infix: "") {
|
|
10
|
+
@each $borderKey, $borderColor in $borders {
|
|
11
|
+
$borderColorName: border-name($borderKey);
|
|
12
|
+
|
|
13
|
+
.fwe-b#{$infix}#{$borderColorName} {
|
|
14
|
+
border: 1px solid $borderColor !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.fwe-bt#{$infix}#{$borderColorName} {
|
|
18
|
+
border-top: 1px solid $borderColor !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.fwe-bb#{$infix}#{$borderColorName} {
|
|
22
|
+
border-bottom: 1px solid $borderColor !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.fwe-bl#{$infix}#{$borderColorName} {
|
|
26
|
+
border-left: 1px solid $borderColor !important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.fwe-br#{$infix}#{$borderColorName} {
|
|
30
|
+
border-right: 1px solid $borderColor !important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.fwe-bx#{$infix}#{$borderColorName} {
|
|
34
|
+
border-left: 1px solid $borderColor !important;
|
|
35
|
+
border-right: 1px solid $borderColor !important;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.fwe-by#{$infix}#{$borderColorName} {
|
|
39
|
+
border-top: 1px solid $borderColor !important;
|
|
40
|
+
border-bottom: 1px solid $borderColor !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.fwe-b#{$infix}-none {
|
|
44
|
+
border: none !important;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.fwe-bt#{$infix}-none {
|
|
48
|
+
border-top: none !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.fwe-bb#{$infix}-none {
|
|
52
|
+
border-bottom: none !important;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.fwe-bl#{$infix}-none {
|
|
56
|
+
border-left: none !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.fwe-br#{$infix}-none {
|
|
60
|
+
border-right: none !important;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.fwe-bx#{$infix}-none {
|
|
64
|
+
border-left: none !important;
|
|
65
|
+
border-right: none !important;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.fwe-by#{$infix}-none {
|
|
69
|
+
border-top: none !important;
|
|
70
|
+
border-bottom: none !important;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@include borders(variables.$borders);
|