@lucca-front/scss 20.2.2 → 20.3.0-rc.2
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/lucca-front.min.css +1 -1
- package/package.json +2 -2
- package/src/commons/config.scss +12 -1
- package/src/commons/core.scss +3 -3
- package/src/commons/exports.scss +0 -1
- package/src/commons/index.scss +9 -2
- package/src/commons/utils/color.scss +14 -0
- package/src/commons/utils/index.scss +480 -478
- package/src/commons/utils/reset.scss +1 -1
- package/src/components/_sample/index.scss +14 -6
- package/src/components/appLayout/index.scss +11 -7
- package/src/components/avatar/component.scss +4 -3
- package/src/components/avatar/index.scss +46 -34
- package/src/components/avatar/mods.scss +17 -2
- package/src/components/avatar/vars.scss +4 -0
- package/src/components/box/index.scss +20 -14
- package/src/components/breadcrumbs/index.scss +16 -10
- package/src/components/button/index.scss +143 -123
- package/src/components/button/mods.scss +33 -1
- package/src/components/button/states.scss +29 -3
- package/src/components/button/vars.scss +1 -1
- package/src/components/buttonGroup/component.scss +1 -1
- package/src/components/buttonGroup/index.scss +20 -8
- package/src/components/calendar/index.scss +56 -44
- package/src/components/callout/component.scss +13 -4
- package/src/components/callout/index.scss +17 -4
- package/src/components/callout/mods.scss +30 -2
- package/src/components/callout/vars.scss +5 -0
- package/src/components/calloutDisclosure/index.scss +15 -9
- package/src/components/calloutFeedbackList/index.scss +8 -4
- package/src/components/calloutPopover/index.scss +18 -12
- package/src/components/card/index.scss +26 -20
- package/src/components/checkbox/index.scss +36 -30
- package/src/components/checkboxField/index.scss +90 -80
- package/src/components/chip/index.scss +23 -17
- package/src/components/clear/index.scss +23 -17
- package/src/components/code/index.scss +8 -4
- package/src/components/collapse/index.scss +11 -7
- package/src/components/comment/index.scss +30 -20
- package/src/components/container/index.scss +29 -25
- package/src/components/contentSection/index.scss +4 -2
- package/src/components/dataTable/component.scss +2 -0
- package/src/components/dataTable/index.scss +85 -49
- package/src/components/dataTable/mods.scss +4 -5
- package/src/components/dataTable/states.scss +12 -0
- package/src/components/dataTableSticked/index.scss +32 -24
- package/src/components/dateField/index.scss +24 -20
- package/src/components/dateRangeField/index.scss +29 -25
- package/src/components/dialog/index.scss +40 -32
- package/src/components/dialog/mods.scss +4 -0
- package/src/components/divider/index.scss +11 -7
- package/src/components/dropdown/index.scss +12 -6
- package/src/components/emptyState/index.scss +11 -7
- package/src/components/errorPage/index.scss +8 -4
- package/src/components/fancyBox/index.scss +8 -4
- package/src/components/field/index.scss +96 -76
- package/src/components/fieldset/index.scss +18 -12
- package/src/components/file/index.scss +38 -30
- package/src/components/fileEntry/index.scss +24 -18
- package/src/components/fileToolbar/index.scss +10 -6
- package/src/components/fileUpload/index.scss +37 -31
- package/src/components/filterBar/index.scss +17 -13
- package/src/components/filterBarDeprecated/index.scss +8 -4
- package/src/components/filterPill/index.scss +56 -48
- package/src/components/filters/index.scss +14 -8
- package/src/components/footer/component.scss +0 -1
- package/src/components/footer/index.scss +38 -34
- package/src/components/form/component.scss +10 -0
- package/src/components/form/index.scss +114 -84
- package/src/components/form/mods.scss +7 -5
- package/src/components/formLabel/index.scss +19 -13
- package/src/components/gauge/component.scss +71 -14
- package/src/components/gauge/index.scss +31 -6
- package/src/components/gauge/mods.scss +21 -7
- package/src/components/gauge/states.scss +8 -0
- package/src/components/gauge/vars.scss +16 -1
- package/src/components/grid/index.scss +25 -21
- package/src/components/header/index.scss +18 -12
- package/src/components/highlightData/index.scss +28 -24
- package/src/components/horizontalNavigation/index.scss +42 -36
- package/src/components/index.scss +58 -55
- package/src/components/indexTable/index.scss +54 -56
- package/src/components/inlineMessage/index.scss +18 -12
- package/src/components/inputFramed/component.scss +1 -0
- package/src/components/inputFramed/index.scss +34 -24
- package/src/components/inputFramed/mods.scss +3 -0
- package/src/components/inputFramed/vars.scss +1 -0
- package/src/components/label/index.scss +13 -9
- package/src/components/layout/index.scss +51 -45
- package/src/components/link/index.scss +14 -8
- package/src/components/link/mods.scss +1 -1
- package/src/components/list/index.scss +15 -11
- package/src/components/listboxOption/index.scss +131 -115
- package/src/components/listing/index.scss +22 -18
- package/src/components/loading/index.scss +27 -23
- package/src/components/main/index.scss +21 -15
- package/src/components/mainLayout/index.scss +26 -20
- package/src/components/mobileHeader/index.scss +8 -4
- package/src/components/mobileNavigation/index.scss +4 -2
- package/src/components/mobilePush/index.scss +8 -4
- package/src/components/multiSelect/index.scss +46 -36
- package/src/components/navside/index.scss +78 -56
- package/src/components/newBadge/index.scss +8 -4
- package/src/components/notchBox/index.scss +17 -13
- package/src/components/notchBox/mods.scss +137 -125
- package/src/components/numericBadge/index.scss +22 -16
- package/src/components/pageHeader/index.scss +26 -22
- package/src/components/pagination/index.scss +12 -6
- package/src/components/plgPush/index.scss +4 -2
- package/src/components/popover/index.scss +4 -2
- package/src/components/progress/index.scss +15 -9
- package/src/components/radio/index.scss +18 -12
- package/src/components/radioButtons/index.scss +15 -9
- package/src/components/radioField/index.scss +46 -40
- package/src/components/readMore/index.scss +21 -15
- package/src/components/richText/index.scss +20 -14
- package/src/components/scrollBox/index.scss +14 -10
- package/src/components/section/index.scss +16 -12
- package/src/components/segmentedControl/component.scss +1 -0
- package/src/components/segmentedControl/index.scss +25 -15
- package/src/components/simpleSelect/index.scss +41 -33
- package/src/components/skeleton/index.scss +43 -37
- package/src/components/skipLinks/index.scss +4 -2
- package/src/components/sortableList/index.scss +12 -6
- package/src/components/statusBadge/index.scss +8 -4
- package/src/components/suggestion/component.scss +19 -0
- package/src/components/suggestion/exports.scss +4 -0
- package/src/components/suggestion/index.scss +16 -0
- package/src/components/suggestion/mods.scss +0 -0
- package/src/components/suggestion/states.scss +12 -0
- package/src/components/suggestion/vars.scss +4 -0
- package/src/components/switch/index.scss +35 -29
- package/src/components/switchField/index.scss +22 -16
- package/src/components/table/index.scss +78 -64
- package/src/components/tableFixed/index.scss +13 -11
- package/src/components/tableFixedDeprecated/index.scss +14 -10
- package/src/components/tableOfContent/index.scss +28 -24
- package/src/components/tableSortable/index.scss +22 -16
- package/src/components/tableSticked/index.scss +28 -24
- package/src/components/tableSticked/mods.scss +6 -6
- package/src/components/tableStickedDeprecated/index.scss +46 -40
- package/src/components/tag/component.scss +4 -1
- package/src/components/tag/index.scss +32 -14
- package/src/components/tag/mods.scss +30 -3
- package/src/components/tag/states.scss +6 -0
- package/src/components/tag/vars.scss +2 -0
- package/src/components/textField/component.scss +1 -0
- package/src/components/textField/index.scss +33 -21
- package/src/components/textField/mods.scss +1 -1
- package/src/components/textField/states.scss +5 -0
- package/src/components/textField/vars.scss +1 -0
- package/src/components/textFlow/index.scss +4 -2
- package/src/components/textfields/index.scss +279 -258
- package/src/components/timeline/index.scss +72 -66
- package/src/components/timepicker/index.scss +21 -15
- package/src/components/title/index.scss +44 -27
- package/src/components/title/mods.scss +7 -1
- package/src/components/titleSection/index.scss +31 -23
- package/src/components/toast/index.scss +8 -4
- package/src/components/tooltip/index.scss +25 -21
- package/src/components/userPopover/component.scss +1 -0
- package/src/components/userPopover/index.scss +4 -2
- package/src/components/userTile/index.scss +26 -22
- package/src/components/verticalNavigation/index.scss +26 -16
|
@@ -1,24 +1,81 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
2
|
|
|
3
3
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
|
-
border-radius: var(--
|
|
5
|
-
block-size: var(--components-gauge-
|
|
6
|
-
|
|
7
|
-
position: relative;
|
|
4
|
+
border-radius: var(--components-gauge-borderRadius);
|
|
5
|
+
block-size: var(--components-gauge-blockSize);
|
|
6
|
+
inline-size: var(--components-gauge-inlineSize);
|
|
8
7
|
background-color: var(--components-gauge-background);
|
|
8
|
+
display: block;
|
|
9
|
+
color: var(--components-gauge-color);
|
|
10
|
+
|
|
11
|
+
&::before {
|
|
12
|
+
content: '';
|
|
13
|
+
display: block;
|
|
14
|
+
|
|
15
|
+
@extend %gaugeBar;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:has(.gauge-bar) {
|
|
19
|
+
&::before {
|
|
20
|
+
content: none;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
9
23
|
|
|
10
24
|
@at-root ($atRoot) {
|
|
11
25
|
.gauge-bar {
|
|
12
|
-
|
|
13
|
-
border-block-end-width: var(--components-gauge-height);
|
|
14
|
-
transition-duration: var(--commons-animations-durations-standard);
|
|
15
|
-
transition-property: border-color, width, height;
|
|
16
|
-
inset-block-start: 0;
|
|
17
|
-
inset-inline-start: 0;
|
|
18
|
-
position: absolute;
|
|
19
|
-
border-block-end-style: solid;
|
|
20
|
-
border-color: currentColor;
|
|
21
|
-
border-radius: var(--pr-t-border-radius-full);
|
|
26
|
+
@extend %gaugeBar;
|
|
22
27
|
}
|
|
28
|
+
|
|
29
|
+
.gauge-circleBackground {
|
|
30
|
+
fill: transparent;
|
|
31
|
+
stroke-width: var(--components-gauge-circle-strokeWidth);
|
|
32
|
+
stroke: var(--components-gauge-circle-background);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.gauge-circleBar {
|
|
36
|
+
fill: transparent;
|
|
37
|
+
stroke-width: var(--components-gauge-circle-strokeWidth);
|
|
38
|
+
stroke-linecap: round;
|
|
39
|
+
stroke-dashoffset: 0;
|
|
40
|
+
transform: rotate(-1/4 * 1turn);
|
|
41
|
+
transform-origin: 50% 50%;
|
|
42
|
+
stroke-dasharray: calc(var(--components-gauge-circleP) / 100 * var(--components-gauge-value)), 9999;
|
|
43
|
+
stroke: currentColor;
|
|
44
|
+
animation-name: var(--components-gauge-animationName);
|
|
45
|
+
animation-duration: var(--components-gauge-animationDuration);
|
|
46
|
+
animation-timing-function: var(--components-gauge-animationTimingFunction);
|
|
47
|
+
|
|
48
|
+
@media (prefers-reduced-motion: reduce) {
|
|
49
|
+
--components-gauge-animationDuration: var(--commons-animations-durations-fast);
|
|
50
|
+
--components-gauge-animationTimingFunction: ease;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@keyframes gauge-fill {
|
|
55
|
+
from {
|
|
56
|
+
stroke-dasharray: 0, 9999;
|
|
57
|
+
inline-size: 0;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
%gaugeBar {
|
|
64
|
+
color: currentColor;
|
|
65
|
+
transition-duration: var(--commons-animations-durations-standard);
|
|
66
|
+
transition-property: background-color, inline-size, block-size;
|
|
67
|
+
block-size: var(--components-gauge-blockSize);
|
|
68
|
+
inline-size: var(--components-gauge-value);
|
|
69
|
+
background-color: currentColor;
|
|
70
|
+
border-radius: var(--pr-t-border-radius-full);
|
|
71
|
+
min-inline-size: var(--components-gauge-before-minInlineSize);
|
|
72
|
+
min-block-size: var(--components-gauge-before-minInlineSize);
|
|
73
|
+
animation-name: var(--components-gauge-animationName);
|
|
74
|
+
animation-duration: var(--components-gauge-animationDuration);
|
|
75
|
+
animation-timing-function: var(--components-gauge-animationTimingFunction);
|
|
76
|
+
|
|
77
|
+
@media (prefers-reduced-motion: reduce) {
|
|
78
|
+
--components-gauge-animationDuration: var(--commons-animations-durations-fast);
|
|
79
|
+
--components-gauge-animationTimingFunction: ease;
|
|
23
80
|
}
|
|
24
81
|
}
|
|
@@ -1,14 +1,39 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.gauge {
|
|
4
|
-
@
|
|
5
|
-
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-thin {
|
|
11
|
+
@include thin;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&:has(.gauge-circleBackground) {
|
|
15
|
+
@include circular;
|
|
16
|
+
}
|
|
6
17
|
|
|
7
|
-
|
|
8
|
-
|
|
18
|
+
// .mod-vertical is deprecated
|
|
19
|
+
&.mod-vertical {
|
|
20
|
+
@include vertical;
|
|
21
|
+
|
|
22
|
+
&.mod-thin {
|
|
23
|
+
@include verticalThin;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
9
26
|
}
|
|
10
27
|
|
|
11
|
-
|
|
12
|
-
|
|
28
|
+
@layer states {
|
|
29
|
+
&.is-zero,
|
|
30
|
+
&:not([style]),
|
|
31
|
+
&[style*='--components-gauge-value: 0%'] {
|
|
32
|
+
@include zero;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.is-animated {
|
|
36
|
+
@include animated;
|
|
37
|
+
}
|
|
13
38
|
}
|
|
14
39
|
}
|
|
@@ -1,14 +1,28 @@
|
|
|
1
1
|
@mixin thin {
|
|
2
|
-
--components-gauge-
|
|
2
|
+
--components-gauge-blockSize: var(--pr-t-spacings-50);
|
|
3
|
+
--components-gauge-circle-strokeWidth: var(--pr-t-spacings-50);
|
|
3
4
|
}
|
|
4
5
|
|
|
6
|
+
// @mixin vertical is deprecated
|
|
5
7
|
@mixin vertical {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
+
--components-gauge-blockSize: 100%;
|
|
9
|
+
--components-gauge-inlineSize: var(--components-gauge-height, var(--pr-t-spacings-100));
|
|
10
|
+
--components-gauge-before-minInlineSize: var(--components-gauge-inlineSize);
|
|
8
11
|
|
|
9
|
-
.gauge-bar
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
.gauge-bar,
|
|
13
|
+
&::before {
|
|
14
|
+
inline-size: 100%;
|
|
15
|
+
block-size: var(--components-gauge-value);
|
|
13
16
|
}
|
|
14
17
|
}
|
|
18
|
+
|
|
19
|
+
// @mixin verticalThin is deprecated
|
|
20
|
+
@mixin verticalThin {
|
|
21
|
+
--components-gauge-inlineSize: var(--pr-t-spacings-50);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@mixin circular {
|
|
25
|
+
--components-gauge-borderRadius: 0;
|
|
26
|
+
--components-gauge-blockSize: auto;
|
|
27
|
+
--components-gauge-background: transparent;
|
|
28
|
+
}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
+
// --components-gauge-height is deprecated
|
|
1
2
|
@mixin vars {
|
|
2
|
-
--components-gauge-
|
|
3
|
+
--components-gauge-blockSize: var(--components-gauge-height, var(--pr-t-spacings-100));
|
|
4
|
+
--components-gauge-inlineSize: auto;
|
|
3
5
|
--components-gauge-background: var(--palettes-neutral-100);
|
|
6
|
+
--components-gauge-before-minInlineSize: var(--components-gauge-blockSize);
|
|
7
|
+
--components-gauge-value: 0;
|
|
8
|
+
--components-gauge-borderRadius: var(--pr-t-border-radius-full);
|
|
9
|
+
--components-gauge-color: var(--palettes-700, var(--palettes-product-700));
|
|
10
|
+
--components-gauge-animationName: name;
|
|
11
|
+
--components-gauge-animationDuration: var(--commons-animations-durations-slow);
|
|
12
|
+
--components-gauge-animationTimingFunction: cubic-bezier(.9,.9,.9,1.1);
|
|
13
|
+
|
|
14
|
+
--components-gauge-circle-background: var(--palettes-neutral-100);
|
|
15
|
+
--components-gauge-circle-strokeWidth: var(--pr-t-spacings-100);
|
|
16
|
+
--components-gauge-circleR: 76px;
|
|
17
|
+
--components-gauge-circleP: calc(2 * pi * var(--components-gauge-circleR));
|
|
18
|
+
|
|
4
19
|
}
|
|
@@ -4,36 +4,40 @@
|
|
|
4
4
|
@use 'exports' as *;
|
|
5
5
|
|
|
6
6
|
.grid {
|
|
7
|
-
@
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
&.mod-auto {
|
|
11
|
-
@include auto;
|
|
7
|
+
@layer components {
|
|
8
|
+
@include vars;
|
|
9
|
+
@include component;
|
|
12
10
|
}
|
|
13
11
|
|
|
14
|
-
@
|
|
15
|
-
&.mod-
|
|
16
|
-
@include
|
|
12
|
+
@layer mods {
|
|
13
|
+
&.mod-auto {
|
|
14
|
+
@include auto;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@each $breakpoint, $value in config.$breakpoints {
|
|
18
|
+
&.mod-autoAtMediaMin#{$breakpoint} {
|
|
19
|
+
@include autoAt;
|
|
17
20
|
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
@include media.min($breakpoint) {
|
|
22
|
+
@include auto;
|
|
23
|
+
}
|
|
20
24
|
}
|
|
21
|
-
}
|
|
22
25
|
|
|
23
|
-
|
|
24
|
-
|
|
26
|
+
&.mod-autoAtContainerMin#{$breakpoint} {
|
|
27
|
+
@include autoAt;
|
|
25
28
|
|
|
26
|
-
|
|
27
|
-
|
|
29
|
+
@include container.min($breakpoint, $name: grid) {
|
|
30
|
+
@include auto;
|
|
31
|
+
}
|
|
28
32
|
}
|
|
29
33
|
}
|
|
30
|
-
}
|
|
31
34
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
&.mod-form {
|
|
36
|
+
@include form;
|
|
37
|
+
}
|
|
35
38
|
|
|
36
|
-
|
|
37
|
-
|
|
39
|
+
&.mod-dense {
|
|
40
|
+
@include dense;
|
|
41
|
+
}
|
|
38
42
|
}
|
|
39
43
|
}
|
|
@@ -1,23 +1,29 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.header {
|
|
4
|
-
@
|
|
5
|
-
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
7
|
+
}
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-sticky {
|
|
11
|
+
@include sticky;
|
|
9
12
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
.navSide ~ .main-content &,
|
|
14
|
+
.mod-withMenu .main-content & {
|
|
15
|
+
@include left;
|
|
16
|
+
}
|
|
13
17
|
}
|
|
14
|
-
}
|
|
15
18
|
|
|
16
|
-
|
|
17
|
-
|
|
19
|
+
&.mod-nav {
|
|
20
|
+
@include nav;
|
|
21
|
+
}
|
|
18
22
|
}
|
|
19
23
|
|
|
20
|
-
|
|
21
|
-
|
|
24
|
+
@layer states {
|
|
25
|
+
&:is(.is-loading, .loading) {
|
|
26
|
+
@include loading;
|
|
27
|
+
}
|
|
22
28
|
}
|
|
23
29
|
}
|
|
@@ -1,38 +1,42 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.highlightData {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
&.mod-light {
|
|
8
|
-
@include light;
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-light {
|
|
11
|
+
@include light;
|
|
12
|
+
}
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
&.mod-dark {
|
|
15
|
+
@include dark;
|
|
16
|
+
}
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
&.mod-valueFirst {
|
|
19
|
+
@include valueFirst;
|
|
20
|
+
}
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
&.mod-S {
|
|
23
|
+
@include S;
|
|
24
|
+
}
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
&.mod-XS {
|
|
27
|
+
@include XS;
|
|
28
|
+
}
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
&.mod-nested {
|
|
31
|
+
@include nested;
|
|
32
|
+
}
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
@include
|
|
34
|
+
&:has(.highlightData-illustrations) {
|
|
35
|
+
@include illustrations;
|
|
36
|
+
|
|
37
|
+
&.mod-valueFirst {
|
|
38
|
+
@include valueFirstIllustrations;
|
|
39
|
+
}
|
|
36
40
|
}
|
|
37
41
|
}
|
|
38
42
|
}
|
|
@@ -3,35 +3,39 @@
|
|
|
3
3
|
// .menu is deprecated
|
|
4
4
|
.horizontalNavigation,
|
|
5
5
|
.menu {
|
|
6
|
-
@
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
&.mod-header {
|
|
10
|
-
@include header;
|
|
6
|
+
@layer components {
|
|
7
|
+
@include vars;
|
|
8
|
+
@include component;
|
|
11
9
|
}
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
@layer mods {
|
|
12
|
+
&.mod-header {
|
|
13
|
+
@include header;
|
|
14
|
+
}
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
&.mod-S {
|
|
17
|
+
@include S;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.mod-noBorder {
|
|
21
|
+
@include noBorder;
|
|
22
|
+
}
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
&.mod-vertical {
|
|
25
|
+
@include vertical;
|
|
23
26
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
// .menu-list-item-action is deprecated
|
|
28
|
+
.horizontalNavigation-list-item-action,
|
|
29
|
+
.menu-list-item-action {
|
|
30
|
+
&[aria-current='page'],
|
|
31
|
+
&.is-active {
|
|
32
|
+
@include activeVertical;
|
|
33
|
+
}
|
|
30
34
|
}
|
|
31
|
-
}
|
|
32
35
|
|
|
33
|
-
|
|
34
|
-
|
|
36
|
+
&.mod-S {
|
|
37
|
+
@include verticalS;
|
|
38
|
+
}
|
|
35
39
|
}
|
|
36
40
|
}
|
|
37
41
|
}
|
|
@@ -39,20 +43,22 @@
|
|
|
39
43
|
// .menu-link is deprecated
|
|
40
44
|
// .menu-list-item-action is deprecated
|
|
41
45
|
.horizontalNavigation-list-item-action,
|
|
42
|
-
.menu-
|
|
43
|
-
.menu-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
.menu-link,
|
|
47
|
+
.menu-list-item-action {
|
|
48
|
+
@layer states {
|
|
49
|
+
// .active is deprecated
|
|
50
|
+
&[aria-current='page'],
|
|
51
|
+
&.is-active,
|
|
52
|
+
&.active {
|
|
53
|
+
@include active;
|
|
54
|
+
}
|
|
50
55
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
// .disabled is deprecated
|
|
57
|
+
// [disabled] is deprecated
|
|
58
|
+
&.is-disabled,
|
|
59
|
+
&.disabled,
|
|
60
|
+
&[disabled] {
|
|
61
|
+
@include disabled;
|
|
62
|
+
}
|
|
57
63
|
}
|
|
58
64
|
}
|
|
@@ -1,61 +1,62 @@
|
|
|
1
|
-
@forward 'field';
|
|
2
|
-
|
|
3
|
-
@forward '
|
|
4
|
-
@forward '
|
|
5
|
-
@forward '
|
|
6
|
-
@forward '
|
|
7
|
-
@forward '
|
|
8
|
-
@forward '
|
|
9
|
-
@forward '
|
|
10
|
-
@forward '
|
|
11
|
-
@forward 'filters';
|
|
12
|
-
@forward 'divider';
|
|
13
|
-
@forward 'section';
|
|
14
|
-
@forward 'collapse';
|
|
15
|
-
@forward 'container';
|
|
16
|
-
@forward 'errorPage';
|
|
17
|
-
@forward 'pageHeader';
|
|
18
|
-
@forward 'pagination';
|
|
19
|
-
@forward 'titleSection';
|
|
20
|
-
@forward 'contentSection';
|
|
21
|
-
@forward 'tableOfContent';
|
|
22
|
-
@forward 'list';
|
|
23
|
-
@forward 'card';
|
|
24
|
-
@forward 'gauge';
|
|
25
|
-
@forward 'callout';
|
|
26
|
-
@forward 'loading';
|
|
27
|
-
@forward 'progress';
|
|
28
|
-
@forward 'breadcrumbs';
|
|
29
|
-
@forward 'buttonGroup';
|
|
30
|
-
@forward 'header';
|
|
31
|
-
@forward 'horizontalNavigation';
|
|
32
|
-
|
|
33
|
-
@forward '
|
|
34
|
-
@forward '
|
|
35
|
-
@forward '
|
|
36
|
-
@forward '
|
|
37
|
-
|
|
38
|
-
@forward 'radioButtons'; // 5 Ko
|
|
39
|
-
@forward 'table'; // 7 Ko
|
|
40
|
-
@forward 'checkbox'; // 7 Ko
|
|
41
|
-
@forward 'checkboxField'; // new component for checkbox
|
|
42
|
-
@forward 'timeline'; // 10 Ko
|
|
43
|
-
@forward 'button'; // 12 Ko
|
|
44
|
-
@forward 'textfields'; // 13 Ko
|
|
1
|
+
@forward 'field';
|
|
2
|
+
|
|
3
|
+
@forward 'box';
|
|
4
|
+
@forward 'tag';
|
|
5
|
+
@forward 'main';
|
|
6
|
+
@forward 'code';
|
|
7
|
+
@forward 'link';
|
|
8
|
+
@forward 'chip';
|
|
9
|
+
@forward 'title';
|
|
10
|
+
@forward 'label';
|
|
11
|
+
@forward 'filters';
|
|
12
|
+
@forward 'divider';
|
|
13
|
+
@forward 'section';
|
|
14
|
+
@forward 'collapse';
|
|
15
|
+
@forward 'container';
|
|
16
|
+
@forward 'errorPage';
|
|
17
|
+
@forward 'pageHeader';
|
|
18
|
+
@forward 'pagination';
|
|
19
|
+
@forward 'titleSection';
|
|
20
|
+
@forward 'contentSection';
|
|
21
|
+
@forward 'tableOfContent';
|
|
22
|
+
@forward 'list';
|
|
23
|
+
@forward 'card';
|
|
24
|
+
@forward 'gauge';
|
|
25
|
+
@forward 'callout';
|
|
26
|
+
@forward 'loading';
|
|
27
|
+
@forward 'progress';
|
|
28
|
+
@forward 'breadcrumbs';
|
|
29
|
+
@forward 'buttonGroup';
|
|
30
|
+
@forward 'header';
|
|
31
|
+
@forward 'horizontalNavigation';
|
|
32
|
+
|
|
33
|
+
@forward 'textfields';
|
|
34
|
+
@forward 'checkbox';
|
|
35
|
+
@forward 'switch';
|
|
36
|
+
@forward 'radio';
|
|
37
|
+
|
|
45
38
|
@forward 'textField'; // new component for checkbox
|
|
46
|
-
@forward '
|
|
47
|
-
@forward '
|
|
48
|
-
@forward '
|
|
39
|
+
@forward 'checkboxField'; // new component for checkbox
|
|
40
|
+
@forward 'switchField'; // new component for switch
|
|
41
|
+
@forward 'radioField'; // new component for radio
|
|
42
|
+
|
|
43
|
+
@forward 'file';
|
|
44
|
+
@forward 'layout';
|
|
45
|
+
@forward 'radioButtons';
|
|
46
|
+
@forward 'table';
|
|
47
|
+
@forward 'timeline';
|
|
48
|
+
@forward 'button';
|
|
49
|
+
@forward 'navside';
|
|
50
|
+
@forward 'form';
|
|
51
|
+
@forward 'tableFixed';
|
|
49
52
|
@forward 'segmentedControl';
|
|
50
53
|
@forward 'calendar';
|
|
51
54
|
@forward 'skipLinks';
|
|
52
55
|
@forward 'fancyBox';
|
|
53
56
|
@forward 'inputFramed';
|
|
54
|
-
|
|
55
|
-
// caution: the two components cannot be loaded at the same time
|
|
56
57
|
@forward 'grid';
|
|
57
|
-
@forward 'tableSticked';
|
|
58
|
-
@forward 'timepicker';
|
|
58
|
+
@forward 'tableSticked';
|
|
59
|
+
@forward 'timepicker';
|
|
59
60
|
@forward 'notchBox';
|
|
60
61
|
@forward 'statusBadge';
|
|
61
62
|
@forward 'mobileHeader';
|
|
@@ -84,7 +85,7 @@
|
|
|
84
85
|
@forward 'userPopover';
|
|
85
86
|
@forward 'scrollBox';
|
|
86
87
|
@forward 'comment';
|
|
87
|
-
@forward 'toast';
|
|
88
|
+
@forward 'toast';
|
|
88
89
|
@forward 'popover';
|
|
89
90
|
@forward 'userTile';
|
|
90
91
|
@forward 'mobilePush';
|
|
@@ -107,7 +108,9 @@
|
|
|
107
108
|
@forward 'appLayout';
|
|
108
109
|
@forward 'mainLayout';
|
|
109
110
|
@forward 'listboxOption';
|
|
111
|
+
@forward 'suggestion';
|
|
112
|
+
|
|
113
|
+
@forward 'filterBarDeprecated';
|
|
114
|
+
@forward 'tableFixedDeprecated';
|
|
115
|
+
@forward 'tableStickedDeprecated';
|
|
110
116
|
|
|
111
|
-
// Deprecated CSS components
|
|
112
|
-
// @forward 'tableFixedDeprecated'; // 33 Ko
|
|
113
|
-
// @forward 'tableStickedDeprecated'; // 67 Ko
|