@lucca-front/scss 19.1.6 → 19.2.0
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/base.scss +15 -3
- package/src/commons/config.scss +6 -2
- package/src/commons/core.scss +9 -8
- package/src/commons/utils/a11y.scss +2 -2
- package/src/commons/utils/form.scss +1 -1
- package/src/commons/utils/index.scss +39 -28
- package/src/commons/utils/loading.scss +14 -15
- package/src/commons/utils/media.scss +15 -10
- package/src/commons/utils/overflow.scss +18 -0
- package/src/commons/utils/reset.scss +2 -2
- package/src/commons/vars.scss +1 -2
- package/src/components/avatar/component.scss +5 -5
- package/src/components/box/component.scss +2 -2
- package/src/components/box/mods.scss +13 -12
- package/src/components/breadcrumbs/component.scss +2 -1
- package/src/components/breadcrumbs/mods.scss +1 -1
- package/src/components/button/component.scss +2 -2
- package/src/components/button/mods.scss +1 -1
- package/src/components/button/states.scss +3 -3
- package/src/components/buttonGroup/component.scss +8 -7
- package/src/components/calendar/component.scss +24 -22
- package/src/components/calendar/index.scss +1 -1
- package/src/components/calendar/states.scss +5 -4
- package/src/components/callout/component.scss +5 -4
- package/src/components/calloutAccordion/component.scss +8 -5
- package/src/components/calloutAccordion/mods.scss +3 -2
- package/src/components/calloutDisclosure/component.scss +7 -4
- package/src/components/calloutDisclosure/mods.scss +2 -2
- package/src/components/calloutPopover/component.scss +9 -5
- package/src/components/calloutPopover/index.scss +1 -1
- package/src/components/calloutPopover/mods.scss +2 -1
- package/src/components/card/component.scss +10 -10
- package/src/components/checkbox/component.scss +4 -4
- package/src/components/checkbox/mods.scss +1 -1
- package/src/components/checkboxField/component.scss +6 -6
- package/src/components/chip/component.scss +6 -5
- package/src/components/clear/component.scss +2 -2
- package/src/components/clear/index.scss +8 -0
- package/src/components/clear/mods.scss +30 -4
- package/src/components/code/component.scss +2 -1
- package/src/components/code/mods.scss +2 -1
- package/src/components/collapse/component.scss +2 -2
- package/src/components/comment/component.scss +8 -6
- package/src/components/comment/mods.scss +2 -1
- package/src/components/container/component.scss +1 -1
- package/src/components/contentSection/component.scss +1 -1
- package/src/components/dataTable/component.scss +7 -7
- package/src/components/dataTable/mods.scss +13 -6
- package/src/components/dataTableSticked/mods.scss +19 -21
- package/src/components/dateField/component.scss +1 -1
- package/src/components/dateField/index.scss +5 -1
- package/src/components/dateField/mods.scss +21 -0
- package/src/components/dateRangeField/component.scss +5 -5
- package/src/components/dateRangeField/index.scss +10 -1
- package/src/components/dateRangeField/mods.scss +38 -0
- package/src/components/dialog/component.scss +16 -14
- package/src/components/dialog/mods.scss +4 -4
- package/src/components/divider/component.scss +5 -5
- package/src/components/divider/mods.scss +3 -3
- package/src/components/dropdown/component.scss +77 -0
- package/src/components/dropdown/exports.scss +4 -0
- package/src/components/dropdown/index.scss +19 -0
- package/src/components/dropdown/mods.scss +8 -0
- package/src/components/dropdown/states.scss +9 -0
- package/src/components/dropdown/vars.scss +8 -0
- package/src/components/emptyState/component.scss +12 -8
- package/src/components/errorPage/component.scss +21 -18
- package/src/components/fancyBox/component.scss +17 -15
- package/src/components/field/component.scss +5 -5
- package/src/components/field/mods.scss +33 -34
- package/src/components/field/states.scss +9 -9
- package/src/components/field/vars.scss +1 -1
- package/src/components/fieldset/component.scss +6 -6
- package/src/components/file/component.scss +14 -12
- package/src/components/file/mods.scss +11 -8
- package/src/components/filterBar/component.scss +35 -63
- package/src/components/filterBar/index.scss +15 -2
- package/src/components/filterBar/mods.scss +52 -2
- package/src/components/filterBar/vars.scss +1 -1
- package/src/components/filterBarDeprecated/component.scss +85 -0
- package/src/components/filterBarDeprecated/exports.scss +4 -0
- package/src/components/filterBarDeprecated/index.scss +10 -0
- package/src/components/filterBarDeprecated/mods.scss +3 -0
- package/src/components/filterBarDeprecated/states.scss +0 -0
- package/src/components/filterBarDeprecated/vars.scss +3 -0
- package/src/components/filterPill/component.scss +203 -0
- package/src/components/filterPill/exports.scss +4 -0
- package/src/components/filterPill/index.scss +83 -0
- package/src/components/filterPill/mods.scss +71 -0
- package/src/components/filterPill/states.scss +112 -0
- package/src/components/filterPill/vars.scss +25 -0
- package/src/components/filters/component.scss +8 -8
- package/src/components/filters/mods.scss +5 -6
- package/src/components/footer/component.scss +5 -4
- package/src/components/form/component.scss +12 -8
- package/src/components/form/index.scss +10 -4
- package/src/components/form/mods.scss +80 -22
- package/src/components/form/vars.scss +1 -0
- package/src/components/formLabel/component.scss +7 -7
- package/src/components/formLabel/mods.scss +6 -1
- package/src/components/gauge/component.scss +5 -5
- package/src/components/gauge/mods.scss +5 -5
- package/src/components/grid/component.scss +4 -4
- package/src/components/header/component.scss +11 -11
- package/src/components/header/mods.scss +8 -10
- package/src/components/header/states.scss +3 -3
- package/src/components/index.scss +5 -1
- package/src/components/indexTable/component.scss +21 -17
- package/src/components/indexTable/mods.scss +30 -29
- package/src/components/inlineMessage/component.scss +1 -1
- package/src/components/label/component.scss +2 -1
- package/src/components/label/mods.scss +6 -6
- package/src/components/layout/component.scss +15 -15
- package/src/components/layout/mods.scss +1 -1
- package/src/components/layout/states.scss +5 -14
- package/src/components/link/mods.scss +1 -1
- package/src/components/list/component.scss +7 -7
- package/src/components/list/mods.scss +3 -3
- package/src/components/loading/component.scss +5 -5
- package/src/components/main/component.scss +1 -1
- package/src/components/main/mods.scss +4 -4
- package/src/components/main/states.scss +1 -1
- package/src/components/menu/component.scss +15 -11
- package/src/components/menu/mods.scss +3 -3
- package/src/components/mobileHeader/component.scss +3 -2
- package/src/components/mobileHeader/mods.scss +1 -1
- package/src/components/mobileNavigation/component.scss +7 -5
- package/src/components/multiSelect/component.scss +15 -6
- package/src/components/multiSelect/index.scss +18 -3
- package/src/components/multiSelect/mods.scss +44 -1
- package/src/components/multiSelect/states.scss +20 -0
- package/src/components/navside/component.scss +31 -30
- package/src/components/navside/mods.scss +22 -22
- package/src/components/navside/states.scss +5 -12
- package/src/components/newBadge/component.scss +2 -1
- package/src/components/notchBox/component.scss +20 -36
- package/src/components/notchBox/mods.scss +24 -41
- package/src/components/numericBadge/component.scss +11 -3
- package/src/components/numericBadge/index.scss +4 -0
- package/src/components/numericBadge/mods.scss +1 -1
- package/src/components/numericBadge/states.scss +7 -3
- package/src/components/pageHeader/component.scss +4 -4
- package/src/components/pageHeader/mods.scss +7 -8
- package/src/components/pagination/component.scss +8 -7
- package/src/components/plgPush/component.scss +2 -2
- package/src/components/popover/component.scss +7 -7
- package/src/components/popover/vars.scss +1 -0
- package/src/components/progress/component.scss +10 -10
- package/src/components/progress/mods.scss +5 -5
- package/src/components/progress/states.scss +1 -1
- package/src/components/radio/component.scss +5 -5
- package/src/components/radio/mods.scss +6 -7
- package/src/components/radioButtons/component.scss +3 -3
- package/src/components/radioField/component.scss +6 -6
- package/src/components/scrollBox/component.scss +23 -57
- package/src/components/scrollBox/index.scss +12 -0
- package/src/components/scrollBox/mods.scss +0 -2
- package/src/components/scrollBox/states.scss +11 -1
- package/src/components/scrollBox/vars.scss +11 -1
- package/src/components/section/component.scss +1 -1
- package/src/components/section/mods.scss +2 -4
- package/src/components/segmentedControl/component.scss +24 -29
- package/src/components/segmentedControl/states.scss +1 -1
- package/src/components/segmentedControl/vars.scss +3 -2
- package/src/components/simpleSelect/component.scss +33 -23
- package/src/components/simpleSelect/index.scss +25 -14
- package/src/components/simpleSelect/mods.scss +33 -6
- package/src/components/simpleSelect/states.scss +26 -10
- package/src/components/skeleton/mods.scss +4 -4
- package/src/components/skeleton/states.scss +5 -5
- package/src/components/skipLinks/component.scss +3 -2
- package/src/components/sortableList/component.scss +7 -7
- package/src/components/statusBadge/component.scss +5 -4
- package/src/components/switch/component.scss +10 -10
- package/src/components/switch/mods.scss +3 -3
- package/src/components/switch/states.scss +4 -2
- package/src/components/switchField/component.scss +10 -10
- package/src/components/switchField/states.scss +1 -1
- package/src/components/table/component.scss +13 -13
- package/src/components/table/mods.scss +33 -34
- package/src/components/tableFixed/mods.scss +2 -2
- package/src/components/tableFixedDeprecated/mods.scss +3 -3
- package/src/components/tableOfContent/component.scss +1 -1
- package/src/components/tableSortable/component.scss +6 -5
- package/src/components/tableSortable/mods.scss +9 -9
- package/src/components/tableSortable/states.scss +1 -1
- package/src/components/tableSticked/mods.scss +33 -30
- package/src/components/tableStickedDeprecated/mods.scss +39 -41
- package/src/components/tag/component.scss +2 -1
- package/src/components/textField/component.scss +26 -25
- package/src/components/textField/index.scss +4 -0
- package/src/components/textField/mods.scss +13 -4
- package/src/components/textField/vars.scss +3 -0
- package/src/components/textFlow/component.scss +33 -0
- package/src/components/textFlow/exports.scss +4 -0
- package/src/components/textFlow/index.scss +6 -0
- package/src/components/textFlow/mods.scss +0 -0
- package/src/components/textFlow/states.scss +0 -0
- package/src/components/textFlow/vars.scss +2 -0
- package/src/components/textfields/component.scss +15 -11
- package/src/components/textfields/mods.scss +100 -97
- package/src/components/textfields/states.scss +7 -7
- package/src/components/timeline/component.scss +10 -9
- package/src/components/timeline/mods.scss +55 -54
- package/src/components/timepicker/component.scss +21 -19
- package/src/components/timepickerDeprecated/component.scss +11 -10
- package/src/components/title/component.scss +17 -4
- package/src/components/titleSection/component.scss +3 -3
- package/src/components/titleSection/mods.scss +3 -1
- package/src/components/toast/component.scss +10 -8
- package/src/components/tooltip/component.scss +6 -5
- package/src/components/userPopover/component.scss +6 -5
- package/src/components/userTile/component.scss +2 -2
- package/src/components/verticalNavigation/component.scss +8 -6
- package/src/components/verticalNavigation/mods.scss +2 -2
|
@@ -1,49 +1,62 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
2
2
|
|
|
3
|
+
@mixin searchable {
|
|
4
|
+
.simpleSelect-field-icon {
|
|
5
|
+
display: none;
|
|
6
|
+
|
|
7
|
+
&.mod-search {
|
|
8
|
+
display: inline-flex;
|
|
9
|
+
transform: none;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
3
14
|
@mixin focused {
|
|
4
|
-
|
|
15
|
+
.simpleSelect-field {
|
|
16
|
+
@include a11y.focusVisible($offset: 3px);
|
|
17
|
+
}
|
|
5
18
|
|
|
6
|
-
.simpleSelect-value {
|
|
19
|
+
.simpleSelect-field-value {
|
|
7
20
|
color: var(--components-simpleSelect-value-color);
|
|
8
21
|
}
|
|
9
22
|
}
|
|
10
23
|
|
|
11
24
|
@mixin focusedExpanded {
|
|
12
|
-
.simpleSelect-value {
|
|
25
|
+
.simpleSelect-field-value {
|
|
13
26
|
color: var(--components-simpleSelect-placeholder);
|
|
14
27
|
}
|
|
15
28
|
|
|
16
|
-
.simpleSelect-
|
|
29
|
+
.simpleSelect-field-icon {
|
|
17
30
|
transform: rotate(-180deg);
|
|
18
31
|
}
|
|
19
32
|
}
|
|
20
33
|
|
|
21
34
|
@mixin searchFilled {
|
|
22
|
-
.simpleSelect-value {
|
|
35
|
+
.simpleSelect-field-value {
|
|
23
36
|
display: none;
|
|
24
37
|
}
|
|
25
38
|
}
|
|
26
39
|
|
|
27
40
|
@mixin selected {
|
|
28
|
-
.simpleSelect-input {
|
|
41
|
+
.simpleSelect-field-input {
|
|
29
42
|
&::placeholder {
|
|
30
43
|
color: transparent;
|
|
31
44
|
}
|
|
32
45
|
}
|
|
33
46
|
|
|
34
|
-
.simpleSelect-value {
|
|
47
|
+
.simpleSelect-field-value {
|
|
35
48
|
display: flex;
|
|
36
49
|
}
|
|
37
50
|
}
|
|
38
51
|
|
|
39
52
|
@mixin selectedSearchFilled {
|
|
40
|
-
.simpleSelect-input {
|
|
53
|
+
.simpleSelect-field-input {
|
|
41
54
|
&::placeholder {
|
|
42
55
|
color: transparent;
|
|
43
56
|
}
|
|
44
57
|
}
|
|
45
58
|
|
|
46
|
-
.simpleSelect-value {
|
|
59
|
+
.simpleSelect-field-value {
|
|
47
60
|
display: none;
|
|
48
61
|
}
|
|
49
62
|
}
|
|
@@ -59,5 +72,8 @@
|
|
|
59
72
|
--components-simpleSelect-placeholder: var(--commons-disabled-placeholder); // Deprecated: no placeholder with disabled state
|
|
60
73
|
--components-simpleSelect-value-color: var(--pr-t-color-input-text-disabled);
|
|
61
74
|
--components-simpleSelect-arrow-color: var(--pr-t-color-input-icon-disabled);
|
|
62
|
-
|
|
75
|
+
|
|
76
|
+
.simpleSelect-field {
|
|
77
|
+
pointer-events: none;
|
|
78
|
+
}
|
|
63
79
|
}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
@mixin square {
|
|
7
7
|
border-radius: var(--commons-borderRadius-M);
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
block-size: var(--components-skeleton-shape-height);
|
|
9
|
+
inline-size: var(--components-skeleton-shape-width);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
@mixin circle {
|
|
13
13
|
border-radius: var(--commons-borderRadius-full);
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
block-size: var(--components-skeleton-shape-height);
|
|
15
|
+
inline-size: var(--components-skeleton-shape-width);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
@mixin XS {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
--components-skeleton-text-offset: 0.5rem;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
block-size: var(--sizes-#{$size}-lineHeight);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
@mixin skeletonTitleSizing($titles...) {
|
|
22
22
|
@each $title in $titles {
|
|
23
23
|
&:is(.u-#{$title}, #{$title}) {
|
|
24
|
-
|
|
24
|
+
block-size: auto;
|
|
25
25
|
line-height: var(--sizes-lineHeight);
|
|
26
|
-
min-
|
|
26
|
+
min-block-size: var(--sizes-lineHeight);
|
|
27
27
|
|
|
28
28
|
@if ($title == 'h1') {
|
|
29
29
|
--components-skeleton-text-offset: 0.5rem;
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
calc(var(--components-skeleton-text-offset) + 1px) calc(100% - var(--components-skeleton-text-width, 100%))
|
|
64
64
|
calc(var(--components-skeleton-text-offset) - 1px) 0 var(--components-skeleton-text-clipPathRound)
|
|
65
65
|
);
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
block-size: var(--sizes-M-lineHeight);
|
|
67
|
+
inline-size: 100%;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
padding: 0;
|
|
10
10
|
z-index: 9010;
|
|
11
11
|
inset: var(--pr-t-spacings-150);
|
|
12
|
-
|
|
12
|
+
inset-block-end: auto;
|
|
13
13
|
|
|
14
14
|
@at-root ($atRoot) {
|
|
15
15
|
.skipLinks-action {
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
border-radius: var(--commons-borderRadius-M);
|
|
20
20
|
font-size: var(--sizes-XS-fontSize);
|
|
21
21
|
line-height: var(--sizes-XS-lineHeight);
|
|
22
|
-
padding: var(--pr-t-spacings-50)
|
|
22
|
+
padding-block: var(--pr-t-spacings-50);
|
|
23
|
+
padding-inline: var(--pr-t-spacings-100);
|
|
23
24
|
transition: all var(--commons-animations-durations-fast);
|
|
24
25
|
background-color: var(--palettes-neutral-600);
|
|
25
26
|
display: inline-block;
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
@at-root ($atRoot) {
|
|
12
12
|
.sortableList-item {
|
|
13
|
-
border-
|
|
14
|
-
border-
|
|
15
|
-
border-
|
|
13
|
+
border-block-end-width: var(--commons-divider-width);
|
|
14
|
+
border-block-end-color: var(--commons-divider-color);
|
|
15
|
+
border-block-end-style: solid;
|
|
16
16
|
color: var(--palettes-neutral-800);
|
|
17
17
|
display: flex;
|
|
18
18
|
position: relative;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
.sortableList-item-content {
|
|
29
29
|
color: var(--palettes-neutral-800);
|
|
30
30
|
text-decoration: none;
|
|
31
|
-
|
|
31
|
+
inline-size: 100%;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.sortableList-item-content-description {
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.sortableList-item-actions {
|
|
48
|
-
margin-
|
|
48
|
+
margin-inline-start: auto;
|
|
49
49
|
white-space: nowrap;
|
|
50
|
-
padding-
|
|
50
|
+
padding-inline-start: 0;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.sortableList-item-handler {
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.sortableList-clear {
|
|
65
|
-
margin-
|
|
65
|
+
margin-block-start: var(--pr-t-spacings-50);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
}
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
font-size: var(--components-statusBadge-fontSize);
|
|
9
9
|
gap: var(--pr-t-spacings-50);
|
|
10
10
|
line-height: var(--components-statusBadge-lineHeight);
|
|
11
|
-
padding: calc(var(--pr-t-spacings-50) / 2)
|
|
11
|
+
padding-block: calc(var(--pr-t-spacings-50) / 2) calc(var(--pr-t-spacings-50) / 2);
|
|
12
|
+
padding-inline: var(--pr-t-spacings-75) var(--pr-t-spacings-100);
|
|
12
13
|
white-space: nowrap;
|
|
13
14
|
font-weight: normal;
|
|
14
15
|
|
|
@@ -17,10 +18,10 @@
|
|
|
17
18
|
border-radius: var(--commons-borderRadius-full);
|
|
18
19
|
content: '\a0'; // Unbreakable space to avoid vertical alignement issues with inline-flex in some contexts like tables
|
|
19
20
|
display: block;
|
|
20
|
-
|
|
21
|
+
block-size: var(--components-statusBadge-dot-size);
|
|
21
22
|
flex-shrink: 0;
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
inline-size: var(--components-statusBadge-dot-size);
|
|
24
|
+
inset-block-start: var(--components-statusBadge-dot-top);
|
|
24
25
|
position: relative;
|
|
25
26
|
}
|
|
26
27
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
.switch-label {
|
|
16
16
|
padding: 0;
|
|
17
|
-
padding-
|
|
17
|
+
padding-inline-start: calc(var(--components-switch-width) + var(--pr-t-spacings-100));
|
|
18
18
|
color: var(--palettes-neutral-800);
|
|
19
19
|
transition: color var(--commons-animations-durations-fast);
|
|
20
20
|
display: inline-block;
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
color: var(--palettes-neutral-0);
|
|
33
33
|
display: flex;
|
|
34
34
|
font-size: var(--components-switch-icon-size);
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
block-size: var(--components-switch-height);
|
|
36
|
+
inset-inline-start: 0;
|
|
37
37
|
line-height: var(--components-switch-icon-size);
|
|
38
|
-
padding-
|
|
38
|
+
padding-inline-start: calc(var(--components-switch-handler-offset) + var(--components-switch-slider-size));
|
|
39
39
|
position: absolute;
|
|
40
|
-
|
|
40
|
+
inset-block-start: var(--components-switch-offset-top);
|
|
41
41
|
transition-duration: var(--commons-animations-durations-fast);
|
|
42
42
|
transition-timing-function: ease;
|
|
43
43
|
transition-property: background-color, box-shadow;
|
|
44
|
-
|
|
44
|
+
inline-size: var(--components-switch-width);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
&::after {
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
border-radius: var(--commons-borderRadius-full);
|
|
51
51
|
content: '';
|
|
52
52
|
display: block;
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
block-size: var(--components-switch-slider-size);
|
|
54
|
+
inset-inline-start: var(--components-switch-handler-offset);
|
|
55
55
|
position: absolute;
|
|
56
|
-
|
|
56
|
+
inset-block-start: calc(var(--components-switch-offset-top) + var(--components-switch-handler-offset));
|
|
57
57
|
transition: all var(--commons-animations-durations-fast) ease;
|
|
58
|
-
|
|
58
|
+
inline-size: var(--components-switch-slider-size);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@mixin inline {
|
|
2
2
|
display: inline-block;
|
|
3
|
-
margin-
|
|
3
|
+
margin-inline-end: var(--pr-t-spacings-300);
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
@mixin S {
|
|
7
7
|
--components-switch-height: 1rem;
|
|
8
8
|
--components-switch-width: 1.75rem;
|
|
9
|
-
--components-switch-slider-size: .75rem;
|
|
10
|
-
--components-switch-icon-size: .75rem;
|
|
9
|
+
--components-switch-slider-size: 0.75rem;
|
|
10
|
+
--components-switch-icon-size: 0.75rem;
|
|
11
11
|
--components-switch-lineHeight: var(--sizes-S-lineHeight);
|
|
12
12
|
--components-switch-fontSize: var(--sizes-S-fontSize);
|
|
13
13
|
--components-switch-helper-lineHeight: var(--sizes-XS-lineHeight);
|
|
@@ -8,11 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
display: flex;
|
|
10
10
|
background-color: var(--palettes-700, var(--palettes-product-700));
|
|
11
|
-
padding-
|
|
11
|
+
padding-inline-start: var(--components-switch-handler-offset);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
&::after {
|
|
15
|
-
|
|
15
|
+
inset-inline-start: calc(
|
|
16
|
+
var(--components-switch-width) - var(--components-switch-slider-size) - var(--components-switch-handler-offset)
|
|
17
|
+
);
|
|
16
18
|
}
|
|
17
19
|
}
|
|
18
20
|
}
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
@at-root ($atRoot) {
|
|
9
9
|
.switchField-icon {
|
|
10
10
|
display: block;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
inline-size: var(--component-switchField-label-input-width);
|
|
12
|
+
block-size: var(--component-switchField-label-input-height);
|
|
13
13
|
border: 2px solid var(--palettes-neutral-500);
|
|
14
14
|
border-radius: var(--component-switchField-label-input-height);
|
|
15
15
|
position: relative;
|
|
16
|
-
|
|
16
|
+
inset-block-start: var(--pr-t-spacings-25);
|
|
17
17
|
color: var(--palettes-neutral-0);
|
|
18
18
|
transition-property: color, border-color, background-color;
|
|
19
19
|
transition-duration: var(--commons-animations-durations-fast);
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
&::before {
|
|
32
32
|
content: '';
|
|
33
33
|
position: absolute;
|
|
34
|
-
|
|
34
|
+
inline-size: 50%;
|
|
35
35
|
aspect-ratio: 1;
|
|
36
36
|
background-color: var(--palettes-neutral-0);
|
|
37
37
|
border-radius: var(--commons-borderRadius-full);
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
inset-inline-start: 0;
|
|
39
|
+
inset-block-start: 0;
|
|
40
40
|
transition-property: left;
|
|
41
41
|
transition-duration: var(--commons-animations-durations-fast);
|
|
42
42
|
transition-timing-function: cubic-bezier(0.5, 1, 0.5, 1.5);
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
display: flex;
|
|
49
49
|
align-items: center;
|
|
50
50
|
justify-content: center;
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
inline-size: 100%;
|
|
52
|
+
block-size: 100%;
|
|
53
53
|
|
|
54
54
|
&::before {
|
|
55
55
|
@include icon.generate('confirm');
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
.switchField-input {
|
|
66
66
|
position: absolute;
|
|
67
67
|
z-index: 1;
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
inline-size: var(--component-switchField-label-input-width);
|
|
69
|
+
block-size: var(--component-switchField-label-input-height);
|
|
70
70
|
opacity: 0.0001;
|
|
71
71
|
cursor: pointer;
|
|
72
72
|
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
line-height: var(--components-table-line-height);
|
|
7
7
|
border-spacing: 0;
|
|
8
8
|
display: table;
|
|
9
|
-
text-align:
|
|
10
|
-
|
|
9
|
+
text-align: start;
|
|
10
|
+
inline-size: 100%;
|
|
11
11
|
color: var(--palettes-neutral-800);
|
|
12
12
|
|
|
13
13
|
@at-root ($atRoot) {
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
font-size: var(--sizes-S-fontSize);
|
|
30
30
|
line-height: var(--sizes-S-lineHeight);
|
|
31
31
|
padding: var(--components-table-padding);
|
|
32
|
-
border-
|
|
33
|
-
border-
|
|
34
|
-
border-
|
|
32
|
+
border-block-end-width: var(--commons-divider-width);
|
|
33
|
+
border-block-end-color: var(--commons-divider-color);
|
|
34
|
+
border-block-end-style: solid;
|
|
35
35
|
display: table-cell;
|
|
36
|
-
text-align:
|
|
36
|
+
text-align: start;
|
|
37
37
|
font-weight: 600;
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -49,16 +49,16 @@
|
|
|
49
49
|
&:first-child {
|
|
50
50
|
.table-body-row-cell,
|
|
51
51
|
.table-foot-row-cell {
|
|
52
|
-
border-
|
|
52
|
+
border-block-start: none;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&:last-child {
|
|
57
57
|
.table-body-row-cell,
|
|
58
58
|
.table-foot-row-cell {
|
|
59
|
-
border-
|
|
60
|
-
border-
|
|
61
|
-
border-
|
|
59
|
+
border-block-end-width: var(--commons-divider-width);
|
|
60
|
+
border-block-end-color: var(--commons-divider-color);
|
|
61
|
+
border-block-end-style: solid;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
.table-body-row-cell,
|
|
67
67
|
.table-foot-row-cell {
|
|
68
68
|
padding: var(--components-table-padding);
|
|
69
|
-
border-
|
|
70
|
-
border-
|
|
71
|
-
border-
|
|
69
|
+
border-block-start-width: var(--commons-divider-width);
|
|
70
|
+
border-block-start-color: var(--commons-divider-color);
|
|
71
|
+
border-block-start-style: solid;
|
|
72
72
|
display: table-cell;
|
|
73
73
|
vertical-align: middle;
|
|
74
74
|
}
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
@mixin card {
|
|
55
|
-
border-
|
|
55
|
+
border-block-start: 0;
|
|
56
56
|
|
|
57
57
|
:where(.table-head, .table-body, .table-foot) {
|
|
58
58
|
&:first-child {
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
&:first-child {
|
|
61
61
|
:where(.table-head-row-cell, .table-body-row-cell) {
|
|
62
62
|
&:first-child {
|
|
63
|
-
border-
|
|
63
|
+
border-start-start-radius: var(--components-card-border-radius);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
&:last-child {
|
|
67
|
-
border-
|
|
67
|
+
border-start-end-radius: var(--components-card-border-radius);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
}
|
|
@@ -76,11 +76,11 @@
|
|
|
76
76
|
&:last-child {
|
|
77
77
|
:where(.table-body-row-cell, .table-foot-row-cell) {
|
|
78
78
|
&:first-child {
|
|
79
|
-
border-
|
|
79
|
+
border-end-start-radius: var(--components-card-border-radius);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
&:last-child {
|
|
83
|
-
border-
|
|
83
|
+
border-end-end-radius: var(--components-card-border-radius);
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
}
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.table-head-row-cell {
|
|
92
|
-
border-
|
|
92
|
+
border-block-start: 0;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.table-body,
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
&:last-child {
|
|
98
98
|
.table-body-row-cell,
|
|
99
99
|
.table-foot-row-cell {
|
|
100
|
-
border-
|
|
100
|
+
border-block-end: none;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
}
|
|
@@ -111,15 +111,15 @@
|
|
|
111
111
|
.table-body-row-cell,
|
|
112
112
|
.table-foot-row-cell {
|
|
113
113
|
&:first-child {
|
|
114
|
-
padding-
|
|
114
|
+
padding-inline-start: var(--components-table-card-padding);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
&:last-child {
|
|
118
|
-
padding-
|
|
118
|
+
padding-inline-end: var(--components-table-card-padding);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
&.mod-actions {
|
|
122
|
-
padding-
|
|
122
|
+
padding-inline-end: var(--pr-t-spacings-100);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
}
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
.table-head-row-cell,
|
|
133
133
|
.table-body-row-cell,
|
|
134
134
|
.table-foot-row-cell {
|
|
135
|
-
border-
|
|
135
|
+
border-block-start: none;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
|
|
@@ -141,11 +141,11 @@
|
|
|
141
141
|
.table-body-row-cell,
|
|
142
142
|
.table-foot-row-cell {
|
|
143
143
|
&:first-child {
|
|
144
|
-
padding-
|
|
144
|
+
padding-inline-start: 0;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
&:last-child {
|
|
148
|
-
padding-
|
|
148
|
+
padding-inline-end: 0;
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
}
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
|
|
187
187
|
font-size: var(--sizes-M-lineHeight);
|
|
188
188
|
font-weight: 400;
|
|
189
|
-
margin-
|
|
189
|
+
margin-inline-end: var(--pr-t-spacings-100);
|
|
190
190
|
transition-duration: var(--commons-animations-durations-fast);
|
|
191
191
|
transition-property: transform;
|
|
192
192
|
vertical-align: top;
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
.table-body-row-cell,
|
|
208
208
|
.table-foot-row-cell {
|
|
209
209
|
&:first-child {
|
|
210
|
-
padding-
|
|
210
|
+
padding-inline-start: var(--pr-t-spacings-600);
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
}
|
|
@@ -216,10 +216,9 @@
|
|
|
216
216
|
@at-root ($atRoot) {
|
|
217
217
|
.table-body-row-cell-handler,
|
|
218
218
|
.table-foot-row-cell-handler {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
width: var(--pr-t-spacings-400);
|
|
219
|
+
inset-block: 0;
|
|
220
|
+
inset-inline-start: 0;
|
|
221
|
+
inline-size: var(--pr-t-spacings-400);
|
|
223
222
|
position: absolute;
|
|
224
223
|
cursor: move;
|
|
225
224
|
|
|
@@ -228,7 +227,7 @@
|
|
|
228
227
|
|
|
229
228
|
color: var(--palettes-neutral-600);
|
|
230
229
|
font-size: var(--sizes-M-lineHeight);
|
|
231
|
-
|
|
230
|
+
block-size: 100%;
|
|
232
231
|
margin: auto;
|
|
233
232
|
display: flex;
|
|
234
233
|
align-items: center;
|
|
@@ -240,7 +239,7 @@
|
|
|
240
239
|
.table-body-row-cell,
|
|
241
240
|
.table-foot-row-cell {
|
|
242
241
|
&:first-child {
|
|
243
|
-
padding-
|
|
242
|
+
padding-inline-start: var(--pr-t-spacings-400);
|
|
244
243
|
position: relative;
|
|
245
244
|
}
|
|
246
245
|
}
|
|
@@ -251,8 +250,8 @@
|
|
|
251
250
|
.table-body-row-cell,
|
|
252
251
|
.table-foot-row-cell {
|
|
253
252
|
&:first-child {
|
|
254
|
-
padding-
|
|
255
|
-
|
|
253
|
+
padding-inline-end: var(--pr-t-spacings-100);
|
|
254
|
+
inline-size: var(--pr-t-spacings-200);
|
|
256
255
|
}
|
|
257
256
|
}
|
|
258
257
|
|
|
@@ -280,7 +279,7 @@
|
|
|
280
279
|
@mixin twoLines($atRoot: namespace.$defaultAtRoot) {
|
|
281
280
|
@at-root ($atRoot) {
|
|
282
281
|
.table-head-row-cell-secondLine {
|
|
283
|
-
margin-
|
|
282
|
+
margin-block-start: var(--pr-t-spacings-50);
|
|
284
283
|
display: block;
|
|
285
284
|
font-weight: 400;
|
|
286
285
|
}
|
|
@@ -291,30 +290,30 @@
|
|
|
291
290
|
}
|
|
292
291
|
|
|
293
292
|
.table-head-row-cell-wrapper {
|
|
294
|
-
max-
|
|
293
|
+
max-inline-size: calc(100% - var(--pr-t-spacings-400));
|
|
295
294
|
display: inline-block;
|
|
296
295
|
vertical-align: top;
|
|
297
296
|
}
|
|
298
297
|
|
|
299
298
|
.table-head-row-cell-secondLine {
|
|
300
|
-
margin-
|
|
299
|
+
margin-block-start: var(--pr-t-spacings-50);
|
|
301
300
|
display: block;
|
|
302
301
|
font-weight: 400;
|
|
303
302
|
}
|
|
304
303
|
}
|
|
305
304
|
|
|
306
305
|
@mixin avatar {
|
|
307
|
-
padding-
|
|
308
|
-
|
|
306
|
+
padding-inline-end: 0;
|
|
307
|
+
inline-size: var(--pr-t-spacings-400);
|
|
309
308
|
}
|
|
310
309
|
|
|
311
310
|
@mixin actions {
|
|
312
311
|
padding: 0.3rem;
|
|
313
|
-
padding-
|
|
314
|
-
padding-
|
|
312
|
+
padding-inline-end: var(--pr-t-spacings-100);
|
|
313
|
+
padding-inline-start: 0;
|
|
315
314
|
transition-duration: var(--commons-animations-durations-fast);
|
|
316
315
|
transition-property: opacity;
|
|
317
|
-
text-align:
|
|
316
|
+
text-align: end;
|
|
318
317
|
white-space: nowrap;
|
|
319
318
|
}
|
|
320
319
|
|
|
@@ -349,7 +348,7 @@
|
|
|
349
348
|
}
|
|
350
349
|
|
|
351
350
|
@mixin alignRight {
|
|
352
|
-
text-align:
|
|
351
|
+
text-align: end;
|
|
353
352
|
}
|
|
354
353
|
|
|
355
354
|
@mixin noOffset {
|
|
@@ -357,11 +356,11 @@
|
|
|
357
356
|
.table-body-row-cell,
|
|
358
357
|
.table-foot-row-cell {
|
|
359
358
|
&:first-child {
|
|
360
|
-
padding-
|
|
359
|
+
padding-inline-start: 0;
|
|
361
360
|
}
|
|
362
361
|
|
|
363
362
|
&:last-child {
|
|
364
|
-
padding-
|
|
363
|
+
padding-inline-end: 0;
|
|
365
364
|
}
|
|
366
365
|
}
|
|
367
366
|
}
|