@lucca-front/scss 20.3.0-rc.5 → 20.3.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/config.scss +5 -0
- 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/index.scss +480 -478
- package/src/commons/utils/reset.scss +1 -1
- package/src/components/_sample/index.scss +13 -7
- package/src/components/appLayout/component.scss +1 -0
- package/src/components/appLayout/index.scss +11 -7
- package/src/components/avatar/index.scss +43 -35
- package/src/components/box/index.scss +20 -14
- package/src/components/breadcrumbs/index.scss +16 -10
- package/src/components/button/index.scss +138 -134
- package/src/components/button/mods.scss +17 -0
- package/src/components/button/states.scss +3 -3
- package/src/components/buttonGroup/component.scss +0 -17
- package/src/components/buttonGroup/index.scss +20 -8
- package/src/components/calendar/index.scss +56 -44
- package/src/components/callout/index.scss +8 -4
- package/src/components/callout/mods.scss +1 -0
- package/src/components/calloutDisclosure/component.scss +2 -3
- package/src/components/calloutDisclosure/index.scss +14 -10
- package/src/components/calloutDisclosure/mods.scss +5 -0
- package/src/components/calloutDisclosure/vars.scss +3 -0
- package/src/components/calloutFeedbackList/index.scss +8 -4
- package/src/components/calloutPopover/index.scss +18 -12
- package/src/components/card/index.scss +28 -24
- package/src/components/checkbox/index.scss +35 -31
- package/src/components/checkboxField/index.scss +88 -82
- package/src/components/chip/index.scss +22 -18
- package/src/components/clear/index.scss +22 -18
- 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/component.scss +1 -0
- package/src/components/container/index.scss +29 -25
- package/src/components/contentSection/index.scss +4 -2
- package/src/components/dataTable/component.scss +9 -0
- package/src/components/dataTable/index.scss +94 -69
- package/src/components/dataTable/mods.scss +28 -5
- package/src/components/dataTableSticked/index.scss +34 -26
- package/src/components/dataTableSticked/mods.scss +4 -2
- package/src/components/dataTableSticked/states.scss +5 -0
- package/src/components/dataTableSticked/vars.scss +1 -0
- package/src/components/dateField/index.scss +24 -20
- package/src/components/dateRangeField/index.scss +29 -25
- package/src/components/dialog/component.scss +5 -5
- package/src/components/dialog/index.scss +40 -36
- package/src/components/divider/index.scss +11 -7
- package/src/components/dropdown/index.scss +13 -9
- 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 +86 -88
- package/src/components/fieldset/index.scss +17 -13
- package/src/components/file/index.scss +34 -28
- package/src/components/fileEntry/index.scss +23 -19
- package/src/components/fileToolbar/index.scss +10 -6
- package/src/components/fileUpload/index.scss +36 -32
- package/src/components/filterBar/index.scss +17 -13
- package/src/components/filterBarDeprecated/index.scss +8 -4
- package/src/components/filterPill/index.scss +53 -49
- package/src/components/filters/index.scss +14 -8
- package/src/components/footer/index.scss +38 -34
- package/src/components/form/index.scss +121 -109
- package/src/components/form/mods.scss +7 -5
- package/src/components/formLabel/index.scss +18 -14
- package/src/components/gauge/component.scss +20 -16
- package/src/components/gauge/index.scss +25 -21
- package/src/components/grid/index.scss +25 -21
- package/src/components/header/index.scss +17 -13
- package/src/components/highlightData/index.scss +28 -24
- package/src/components/horizontalNavigation/index.scss +42 -36
- package/src/components/index.scss +57 -55
- package/src/components/indexTable/component.scss +10 -0
- package/src/components/indexTable/index.scss +53 -57
- package/src/components/inlineMessage/index.scss +17 -13
- package/src/components/inputFramed/index.scss +30 -24
- package/src/components/label/index.scss +13 -9
- package/src/components/layout/index.scss +51 -45
- package/src/components/link/index.scss +14 -10
- package/src/components/link/mods.scss +1 -1
- package/src/components/list/index.scss +15 -11
- package/src/components/listboxOption/index.scss +129 -117
- 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/component.scss +27 -0
- package/src/components/mainLayout/index.scss +27 -21
- package/src/components/mainLayout/vars.scss +1 -0
- 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 +57 -39
- package/src/components/multiSelect/mods.scss +0 -8
- package/src/components/multiSelect/states.scss +8 -0
- package/src/components/navside/index.scss +74 -64
- 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 +21 -17
- 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 +14 -10
- package/src/components/radio/index.scss +18 -12
- package/src/components/radioButtons/index.scss +16 -10
- package/src/components/radioField/index.scss +46 -40
- package/src/components/readMore/index.scss +20 -16
- package/src/components/richText/component.scss +1 -0
- package/src/components/richText/index.scss +19 -15
- package/src/components/scrollBox/index.scss +14 -10
- package/src/components/section/index.scss +16 -12
- package/src/components/segmentedControl/index.scss +31 -25
- package/src/components/simpleSelect/index.scss +39 -35
- package/src/components/skeleton/index.scss +42 -38
- package/src/components/skipLinks/index.scss +4 -2
- package/src/components/sortableList/index.scss +12 -6
- package/src/components/statusBadge/component.scss +9 -2
- package/src/components/statusBadge/index.scss +12 -4
- package/src/components/statusBadge/states.scss +5 -0
- package/src/components/switch/index.scss +35 -29
- package/src/components/switchField/index.scss +22 -16
- package/src/components/table/index.scss +85 -79
- 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 +29 -17
- package/src/components/tableSortable/mods.scss +7 -2
- 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 +1 -1
- package/src/components/tag/index.scss +28 -24
- package/src/components/tag/mods.scss +1 -0
- package/src/components/tag/vars.scss +1 -0
- package/src/components/textField/index.scss +28 -24
- package/src/components/textField/mods.scss +1 -1
- package/src/components/textFlow/index.scss +4 -2
- package/src/components/textfields/index.scss +265 -261
- package/src/components/timeline/index.scss +72 -66
- package/src/components/timepicker/index.scss +20 -16
- package/src/components/title/index.scss +43 -30
- package/src/components/title/mods.scss +1 -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/index.scss +4 -2
- package/src/components/userTile/index.scss +26 -22
- package/src/components/verticalNavigation/index.scss +26 -20
|
@@ -1,47 +1,64 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.dataTableWrapper {
|
|
4
|
-
@
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
}
|
|
5
7
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
+
@layer mods {
|
|
9
|
+
&.mod-nested {
|
|
10
|
+
@include nested;
|
|
11
|
+
}
|
|
8
12
|
}
|
|
9
13
|
}
|
|
10
14
|
|
|
11
15
|
.dataTable {
|
|
12
|
-
@
|
|
13
|
-
|
|
14
|
-
&.mod-cellBorder {
|
|
15
|
-
@include cellBorder;
|
|
16
|
+
@layer components {
|
|
17
|
+
@include component;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
@layer mods {
|
|
21
|
+
&.mod-cellBorder {
|
|
22
|
+
@include cellBorder;
|
|
23
|
+
}
|
|
21
24
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
+
&.mod-alignTop,
|
|
26
|
+
&.mod-verticalAlignTop {
|
|
27
|
+
@include verticalAlignTop;
|
|
28
|
+
}
|
|
25
29
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
30
|
+
&.mod-verticalAlignBottom {
|
|
31
|
+
@include verticalAlignBottom;
|
|
32
|
+
}
|
|
29
33
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
+
&.mod-verticalAlignMiddle {
|
|
35
|
+
@includeverticalAlignMiddle;
|
|
36
|
+
}
|
|
34
37
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
&.mod-layoutFixed {
|
|
39
|
+
@include layoutFixed;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&[class*='mod-layoutFixedAtMediaMin'] {
|
|
43
|
+
@include layoutFixedWithBreakpoint;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Allow selection of mod-layoutFixed with or without breakpoints like mod-layoutFixedAtMediaMinXS or mod-layoutFixedAtMediaMaxL
|
|
47
|
+
&[class*='mod-layoutFixed'] {
|
|
48
|
+
@include layoutFixedCells;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.mod-hover {
|
|
52
|
+
:is(.mod-selectable, .dataTable-body-row:not(.mod-group)) {
|
|
53
|
+
&:hover {
|
|
54
|
+
@include hover;
|
|
55
|
+
}
|
|
40
56
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
57
|
+
&.mod-selectable {
|
|
58
|
+
&:has(input:checked) {
|
|
59
|
+
&:hover {
|
|
60
|
+
@include selectedHover;
|
|
61
|
+
}
|
|
45
62
|
}
|
|
46
63
|
}
|
|
47
64
|
}
|
|
@@ -49,62 +66,70 @@
|
|
|
49
66
|
}
|
|
50
67
|
}
|
|
51
68
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
69
|
+
@layer mods {
|
|
70
|
+
:is(.dataTable-head-row, .dataTable-body-row, .dataTable-foot-row) {
|
|
71
|
+
&.mod-group {
|
|
72
|
+
@include group;
|
|
73
|
+
}
|
|
56
74
|
|
|
57
|
-
|
|
58
|
-
|
|
75
|
+
&:has([selectable]),
|
|
76
|
+
&.mod-selectable {
|
|
77
|
+
@include selectable;
|
|
59
78
|
|
|
60
|
-
|
|
61
|
-
|
|
79
|
+
&:has(input:checked) {
|
|
80
|
+
@include selected;
|
|
81
|
+
}
|
|
62
82
|
}
|
|
63
|
-
}
|
|
64
83
|
|
|
65
|
-
|
|
66
|
-
|
|
84
|
+
&.mod-draggable {
|
|
85
|
+
@include draggable;
|
|
86
|
+
}
|
|
67
87
|
}
|
|
68
|
-
}
|
|
69
88
|
|
|
70
|
-
:is(.dataTable-head-row-cell, .dataTable-body-row-cell, .dataTable-foot-row-cell) {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
89
|
+
:is(.dataTable-head-row-cell, .dataTable-body-row-cell, .dataTable-foot-row-cell) {
|
|
90
|
+
&.mod-actions {
|
|
91
|
+
@include actions;
|
|
92
|
+
}
|
|
74
93
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
94
|
+
&.mod-alignCenter {
|
|
95
|
+
@include alignCenter;
|
|
96
|
+
}
|
|
78
97
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
98
|
+
&.mod-alignRight,
|
|
99
|
+
&.mod-alignEnd {
|
|
100
|
+
@include alignEnd;
|
|
101
|
+
}
|
|
82
102
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
103
|
+
&.mod-alignStart {
|
|
104
|
+
@include alignStart;
|
|
105
|
+
}
|
|
86
106
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
107
|
+
&.mod-editable {
|
|
108
|
+
@include editable;
|
|
109
|
+
}
|
|
91
110
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
111
|
+
&.mod-tree {
|
|
112
|
+
@include tree;
|
|
113
|
+
}
|
|
95
114
|
}
|
|
96
115
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
116
|
+
.dataTable-body-row {
|
|
117
|
+
&.is-collapsed {
|
|
118
|
+
@include collapsed;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&:first-child {
|
|
122
|
+
&:has(.dataTable-body-row-cell-expand-button.button[aria-expanded='false']) {
|
|
123
|
+
~ .dataTable-body-row {
|
|
124
|
+
@include collapsed;
|
|
125
|
+
}
|
|
101
126
|
}
|
|
102
127
|
}
|
|
103
128
|
}
|
|
104
|
-
}
|
|
105
129
|
|
|
106
|
-
.dataTable-body-row-cell-expand-button {
|
|
107
|
-
|
|
108
|
-
|
|
130
|
+
.dataTable-body-row-cell-expand-button {
|
|
131
|
+
&[aria-expanded='true'] {
|
|
132
|
+
@include expanded;
|
|
133
|
+
}
|
|
109
134
|
}
|
|
110
135
|
}
|
|
@@ -14,10 +14,18 @@
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
@mixin
|
|
17
|
+
@mixin verticalAlignTop {
|
|
18
18
|
--components-dataTable-cell-verticalAlign: top;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
@mixin verticalAlignBottom {
|
|
22
|
+
--components-dataTable-cell-verticalAlign: bottom;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@mixin verticalAlignMiddle {
|
|
26
|
+
--components-dataTable-cell-verticalAlign: middle;
|
|
27
|
+
}
|
|
28
|
+
|
|
21
29
|
@mixin buttonExpand {
|
|
22
30
|
--components-dataTable-tree-extraPadding: calc(1.5rem + var(--pr-t-spacings-100));
|
|
23
31
|
|
|
@@ -47,7 +55,16 @@
|
|
|
47
55
|
}
|
|
48
56
|
|
|
49
57
|
@mixin selectable {
|
|
50
|
-
--components-dataTable-cellFirst-width: 2.
|
|
58
|
+
--components-dataTable-cellFirst-width: 2.625rem;
|
|
59
|
+
|
|
60
|
+
.dataTable-head-row-cell,
|
|
61
|
+
.dataTable-body-row-cell,
|
|
62
|
+
.dataTable-foot-row-cell {
|
|
63
|
+
&:first-child {
|
|
64
|
+
inline-size: var(--components-dataTable-cellFirst-width);
|
|
65
|
+
max-inline-size: var(--components-dataTable-cellFirst-width);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
51
68
|
}
|
|
52
69
|
|
|
53
70
|
@mixin draggable {
|
|
@@ -73,7 +90,7 @@
|
|
|
73
90
|
|
|
74
91
|
@mixin editable {
|
|
75
92
|
--components-dataTable-cell-padding: var(--pr-t-spacings-100);
|
|
76
|
-
--components-dataTable-cell-paddingInlineStart: var(--
|
|
93
|
+
--components-dataTable-cell-paddingInlineStart: var(--pr-t-spacings-50);
|
|
77
94
|
}
|
|
78
95
|
|
|
79
96
|
@mixin actions {
|
|
@@ -87,6 +104,8 @@
|
|
|
87
104
|
@include button.onlyIcon;
|
|
88
105
|
@include button.onlyIconS;
|
|
89
106
|
@include button.ghost;
|
|
107
|
+
|
|
108
|
+
transition-property: box-shadow, color;
|
|
90
109
|
}
|
|
91
110
|
|
|
92
111
|
&:is(.dataTable-head-row-cell) {
|
|
@@ -101,8 +120,12 @@
|
|
|
101
120
|
--components-dataTable-cell-textAlign: center;
|
|
102
121
|
}
|
|
103
122
|
|
|
104
|
-
@mixin
|
|
105
|
-
--components-dataTable-cell-textAlign:
|
|
123
|
+
@mixin alignEnd {
|
|
124
|
+
--components-dataTable-cell-textAlign: end;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@mixin alignStart {
|
|
128
|
+
--components-dataTable-cell-textAlign: start;
|
|
106
129
|
}
|
|
107
130
|
|
|
108
131
|
@mixin layoutFixed {
|
|
@@ -3,41 +3,49 @@
|
|
|
3
3
|
@use 'exports' as *;
|
|
4
4
|
|
|
5
5
|
.dataTableWrapper {
|
|
6
|
-
@
|
|
7
|
-
|
|
8
|
-
&:has(.dataTable.mod-stickyHeader) {
|
|
9
|
-
@include stickyHeader;
|
|
6
|
+
@layer components {
|
|
7
|
+
@include vars;
|
|
10
8
|
}
|
|
11
9
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
@layer mods {
|
|
11
|
+
&:has(.dataTable.mod-stickyHeader, .dataTable-head.mod-sticky) {
|
|
12
|
+
@include stickyHeader;
|
|
13
|
+
}
|
|
15
14
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
&:has(.dataTable.mod-columnsOverflow) {
|
|
16
|
+
@include columnsOverflow;
|
|
17
|
+
}
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
&:has(.dataTable.mod-rowsOverflow) {
|
|
20
|
+
@include rowsOverflow;
|
|
21
|
+
}
|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
&:has(.dataTable.is-firstColumnVisible) {
|
|
24
|
+
@include firstColumnVisible;
|
|
25
|
+
}
|
|
27
26
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
&:has(.dataTable.is-lastColumnVisible) {
|
|
28
|
+
@include lastColumnVisible;
|
|
29
|
+
}
|
|
31
30
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
&:has(.dataTable.is-firstRowVisible) {
|
|
32
|
+
@include firstRowVisible;
|
|
33
|
+
}
|
|
35
34
|
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
&:has(.dataTable.is-lastRowVisible) {
|
|
36
|
+
@include lastRowVisible;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&:has(:is(.dataTable-head-row-cell, .dataTable-head-body-cell, .dataTable-foot-row-cell).mod-stickyColumn) {
|
|
40
|
+
@include stickyColumn;
|
|
38
41
|
|
|
39
|
-
|
|
40
|
-
|
|
42
|
+
&:has(.dataTable.mod-cellBorder) {
|
|
43
|
+
@include stickyColumnBorder;
|
|
44
|
+
}
|
|
41
45
|
}
|
|
42
46
|
}
|
|
47
|
+
|
|
48
|
+
&:has(.dataTable-head.is-firstBodyRowVisible) {
|
|
49
|
+
@include firstBodyRowVisible;
|
|
50
|
+
}
|
|
43
51
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
.dataTable-head {
|
|
7
7
|
position: sticky;
|
|
8
8
|
inset-block-start: -1px;
|
|
9
|
-
z-index:
|
|
9
|
+
z-index: 2;
|
|
10
10
|
|
|
11
11
|
&::after {
|
|
12
12
|
content: '';
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
background-image: linear-gradient(#{color.transparentize(var(--palettes-neutral-400), 0.24)}, transparent);
|
|
17
17
|
pointer-events: none;
|
|
18
18
|
box-shadow: 0 1px var(--commons-border-200) inset;
|
|
19
|
+
opacity: var(--components-dataTable-header-shadow-opacity);
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
22
|
}
|
|
@@ -103,7 +104,7 @@
|
|
|
103
104
|
.dataTable-head-row-cell {
|
|
104
105
|
&.mod-stickyColumn {
|
|
105
106
|
&:first-child {
|
|
106
|
-
z-index:
|
|
107
|
+
z-index: 2;
|
|
107
108
|
}
|
|
108
109
|
}
|
|
109
110
|
}
|
|
@@ -124,6 +125,7 @@
|
|
|
124
125
|
|
|
125
126
|
&:has(~ :is(.dataTable-body-row-cell, .dataTable-head-row-cell, .dataTable-foot-row-cell):not(.mod-stickyColumn)) {
|
|
126
127
|
transform: translateX(-1px);
|
|
128
|
+
z-index: 1;
|
|
127
129
|
|
|
128
130
|
&:not(:has(+ :is(.dataTable-head-row-cell, .dataTable-body-row-cell, .dataTable-foot-row-cell).mod-stickyColumn)) {
|
|
129
131
|
&::after {
|
|
@@ -1,35 +1,39 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.dateField {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
&.mod-filterPill {
|
|
8
|
-
@include filterPill;
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
&.mod-
|
|
13
|
-
@include
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-filterPill {
|
|
11
|
+
@include filterPill;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&:not(.mod-auto, .mod-filterPill) {
|
|
15
|
+
&.mod-day {
|
|
16
|
+
@include day;
|
|
14
17
|
|
|
15
|
-
|
|
16
|
-
|
|
18
|
+
.form-field.mod-S & {
|
|
19
|
+
@include dayS;
|
|
20
|
+
}
|
|
17
21
|
}
|
|
18
|
-
}
|
|
19
22
|
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
&.mod-month {
|
|
24
|
+
@include month;
|
|
22
25
|
|
|
23
|
-
|
|
24
|
-
|
|
26
|
+
.form-field.mod-S & {
|
|
27
|
+
@include monthS;
|
|
28
|
+
}
|
|
25
29
|
}
|
|
26
|
-
}
|
|
27
30
|
|
|
28
|
-
|
|
29
|
-
|
|
31
|
+
&.mod-year {
|
|
32
|
+
@include year;
|
|
30
33
|
|
|
31
|
-
|
|
32
|
-
|
|
34
|
+
.form-field.mod-S & {
|
|
35
|
+
@include yearS;
|
|
36
|
+
}
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
39
|
}
|
|
@@ -2,43 +2,47 @@
|
|
|
2
2
|
@use 'exports' as *;
|
|
3
3
|
|
|
4
4
|
.dateRangeField {
|
|
5
|
-
@
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
.form-field.mod-S & {
|
|
9
|
-
@include S;
|
|
5
|
+
@layer components {
|
|
6
|
+
@include vars;
|
|
7
|
+
@include component;
|
|
10
8
|
}
|
|
11
9
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
@include media.max('XS') {
|
|
16
|
-
@include filterPillCompact;
|
|
10
|
+
@layer mods {
|
|
11
|
+
.form-field.mod-S & {
|
|
12
|
+
@include S;
|
|
17
13
|
}
|
|
18
|
-
}
|
|
19
14
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
@include day;
|
|
15
|
+
&.mod-filterPill {
|
|
16
|
+
@include filterPill;
|
|
23
17
|
|
|
24
|
-
.
|
|
25
|
-
@include
|
|
18
|
+
@include media.max('XS') {
|
|
19
|
+
@include filterPillCompact;
|
|
26
20
|
}
|
|
27
21
|
}
|
|
28
22
|
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
&:not(.mod-auto, .mod-filterPill) {
|
|
24
|
+
&.mod-day {
|
|
25
|
+
@include day;
|
|
31
26
|
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
.form-field.mod-S & {
|
|
28
|
+
@include dayS;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.mod-month {
|
|
33
|
+
@include month;
|
|
34
|
+
|
|
35
|
+
.form-field.mod-S & {
|
|
36
|
+
@include monthS;
|
|
37
|
+
}
|
|
34
38
|
}
|
|
35
|
-
}
|
|
36
39
|
|
|
37
|
-
|
|
38
|
-
|
|
40
|
+
&.mod-year {
|
|
41
|
+
@include year;
|
|
39
42
|
|
|
40
|
-
|
|
41
|
-
|
|
43
|
+
.form-field.mod-S & {
|
|
44
|
+
@include yearS;
|
|
45
|
+
}
|
|
42
46
|
}
|
|
43
47
|
}
|
|
44
48
|
}
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
inset: var(--components-dialog-inset);
|
|
11
11
|
inline-size: var(--components-dialog-width);
|
|
12
12
|
block-size: var(--components-dialog-height);
|
|
13
|
-
max-inline-size: var(--components-dialog-maxWidth);
|
|
14
|
-
max-block-size: var(--components-dialog-maxHeight);
|
|
15
13
|
background-color: var(--palettes-neutral-0);
|
|
16
14
|
border-radius: var(--components-dialog-borderRadius);
|
|
17
15
|
box-shadow: var(--pr-t-elevation-shadow-overlay);
|
|
18
|
-
position: fixed !important;
|
|
19
16
|
margin: auto;
|
|
20
|
-
display: flex;
|
|
21
17
|
flex-direction: column;
|
|
18
|
+
display: flex !important;
|
|
19
|
+
position: fixed !important;
|
|
20
|
+
max-inline-size: var(--components-dialog-maxWidth) !important;
|
|
21
|
+
max-block-size: var(--components-dialog-maxHeight) !important;
|
|
22
22
|
|
|
23
23
|
@supports not (height: 1dvh) {
|
|
24
24
|
--components-dialog-maxHeight: var(--components-dialog-maxHeightFallback);
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
.dialog_backdrop {
|
|
144
144
|
background-color: var(--palettes-neutral-900);
|
|
145
145
|
position: fixed;
|
|
146
|
-
opacity: 0.4;
|
|
146
|
+
opacity: 0.4 !important; // weird bug with Chrome and its inspector open
|
|
147
147
|
inset: 0;
|
|
148
148
|
}
|
|
149
149
|
}
|
|
@@ -3,54 +3,58 @@
|
|
|
3
3
|
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
4
4
|
|
|
5
5
|
.dialog {
|
|
6
|
-
@
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
&.mod-XS {
|
|
10
|
-
@include XS;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&.mod-S {
|
|
14
|
-
@include S;
|
|
6
|
+
@layer components {
|
|
7
|
+
@include vars;
|
|
8
|
+
@include component;
|
|
15
9
|
}
|
|
16
10
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
@layer mods {
|
|
12
|
+
&.mod-XS {
|
|
13
|
+
@include XS;
|
|
14
|
+
}
|
|
20
15
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
&.mod-S {
|
|
17
|
+
@include S;
|
|
18
|
+
}
|
|
24
19
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
&.mod-fitContent {
|
|
21
|
+
@include fitContent;
|
|
22
|
+
}
|
|
28
23
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
&.mod-maxContent {
|
|
25
|
+
@include maxContent;
|
|
26
|
+
}
|
|
32
27
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
28
|
+
&.mod-L {
|
|
29
|
+
@include L;
|
|
30
|
+
}
|
|
36
31
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
&.mod-XL {
|
|
33
|
+
@include XL;
|
|
34
|
+
}
|
|
40
35
|
|
|
41
|
-
|
|
42
|
-
|
|
36
|
+
&.mod-XXL {
|
|
37
|
+
@include XXL;
|
|
38
|
+
}
|
|
43
39
|
|
|
44
|
-
|
|
45
|
-
@include
|
|
40
|
+
&.mod-neutralBackground {
|
|
41
|
+
@include neutralBackground;
|
|
46
42
|
}
|
|
47
43
|
|
|
48
|
-
|
|
49
|
-
@include
|
|
44
|
+
&:where(.mod-drawer) {
|
|
45
|
+
@include drawer;
|
|
46
|
+
|
|
47
|
+
&:where(.mod-fromBottom) {
|
|
48
|
+
@include fromBottom;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@include media.max('XXS') {
|
|
52
|
+
@include fromBottom;
|
|
53
|
+
}
|
|
50
54
|
}
|
|
51
|
-
}
|
|
52
55
|
|
|
53
|
-
|
|
54
|
-
|
|
56
|
+
&.mod-fullScreen {
|
|
57
|
+
@include fullScreen;
|
|
58
|
+
}
|
|
55
59
|
}
|
|
56
60
|
}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.divider {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
&.mod-S {
|
|
8
|
-
@include S;
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-S {
|
|
11
|
+
@include S;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.mod-vertical {
|
|
15
|
+
@include vertical;
|
|
16
|
+
}
|
|
13
17
|
}
|
|
14
18
|
}
|