@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,6 +1,7 @@
|
|
|
1
1
|
@use '@lucca-front/icons/src/icon/exports' as icons;
|
|
2
2
|
@use '@lucca-front/icons/src/commons/utils/icon';
|
|
3
3
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
4
|
+
@use '@lucca-front/scss/src/commons/utils/color';
|
|
4
5
|
@use '@lucca-front/scss/src/components/numericBadge/exports' as numericBadge;
|
|
5
6
|
|
|
6
7
|
@mixin S {
|
|
@@ -83,6 +84,7 @@
|
|
|
83
84
|
@mixin ghost {
|
|
84
85
|
--components-button-backgroundColor: transparent;
|
|
85
86
|
--components-button-color: var(--palettes-700, var(--pr-t-color-text-subtle));
|
|
87
|
+
--components-button-boxShadow: none;
|
|
86
88
|
|
|
87
89
|
&:hover,
|
|
88
90
|
&:focus-visible {
|
|
@@ -118,14 +120,32 @@
|
|
|
118
120
|
--components-button-minWidth: 2rem;
|
|
119
121
|
--components-button-padding: 0;
|
|
120
122
|
|
|
121
|
-
&::
|
|
123
|
+
&::after {
|
|
122
124
|
@include icon.generate('arrow_chevron_bottom');
|
|
123
125
|
|
|
124
126
|
block-size: 0;
|
|
127
|
+
order: -1;
|
|
125
128
|
vertical-align: text-top;
|
|
126
129
|
}
|
|
127
130
|
}
|
|
128
131
|
|
|
132
|
+
@mixin moreInsideUl {
|
|
133
|
+
block-size: 100%;
|
|
134
|
+
min-block-size: 2.25rem;
|
|
135
|
+
|
|
136
|
+
&.mod-S {
|
|
137
|
+
min-block-size: 2rem;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&.mod-XS {
|
|
141
|
+
min-block-size: 1.5rem;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&::before {
|
|
145
|
+
content: none;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
129
149
|
@mixin moreS {
|
|
130
150
|
--components-button-minWidth: 1.75rem;
|
|
131
151
|
}
|
|
@@ -226,3 +246,15 @@
|
|
|
226
246
|
@mixin counterXS {
|
|
227
247
|
--components-button-paddingInlineEnd: var(--pr-t-spacings-50);
|
|
228
248
|
}
|
|
249
|
+
|
|
250
|
+
@mixin AI {
|
|
251
|
+
@include outlined;
|
|
252
|
+
|
|
253
|
+
&:not(:disabled) {
|
|
254
|
+
@include color.borderGradient(135deg, var(--palettes-brand-400), var(--palettes-AI-500));
|
|
255
|
+
|
|
256
|
+
.lucca-icon {
|
|
257
|
+
@include icons.AI;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '@lucca-front/icons/src/icon/exports' as icons;
|
|
1
2
|
@use '@lucca-front/scss/src/commons/config';
|
|
2
3
|
@use '@lucca-front/scss/src/commons/core';
|
|
3
4
|
@use '@lucca-front/scss/src/commons/utils/keyframe';
|
|
@@ -22,6 +23,7 @@
|
|
|
22
23
|
--components-button-pointerEvents: none;
|
|
23
24
|
--components-button-color: transparent;
|
|
24
25
|
--components-button-userSelect: none;
|
|
26
|
+
--components-button-boxShadow: none;
|
|
25
27
|
--components-button-backgroundColor: var(--palettes-500, var(--palettes-product-500));
|
|
26
28
|
--commons-loading-frontground: var(--palettes-50, var(--palettes-product-50));
|
|
27
29
|
|
|
@@ -39,9 +41,7 @@
|
|
|
39
41
|
@mixin loadingXS {
|
|
40
42
|
@include loading.spinner(var(--pr-t-font-body-XS-lineHeight));
|
|
41
43
|
|
|
42
|
-
|
|
43
|
-
--commons-loading-borderWidth: 2px;
|
|
44
|
-
}
|
|
44
|
+
--commons-loading-borderWidth: 2px;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
@mixin loadingOutlined {
|
|
@@ -77,6 +77,30 @@
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
+
@mixin loadingAI {
|
|
81
|
+
.lucca-icon {
|
|
82
|
+
@include icons.transparent;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&::before {
|
|
86
|
+
content: none;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@mixin successAI {
|
|
91
|
+
.lucca-icon {
|
|
92
|
+
@include icons.transparent;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&::before {
|
|
96
|
+
content: none;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&::after {
|
|
100
|
+
@include icons.AI;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
80
104
|
@mixin successS {
|
|
81
105
|
&::after {
|
|
82
106
|
font-size: var(--pr-t-font-body-S-lineHeight);
|
|
@@ -111,6 +135,8 @@
|
|
|
111
135
|
|
|
112
136
|
|
|
113
137
|
@mixin error {
|
|
138
|
+
@include keyframe.shake;
|
|
139
|
+
|
|
114
140
|
animation-name: shake;
|
|
115
141
|
animation-iteration-count: 1;
|
|
116
142
|
animation-duration: var(--commons-animations-durations-standard);
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
--components-button-width: auto;
|
|
16
16
|
--components-button-minWidth: none;
|
|
17
17
|
--components-button-userSelect: auto;
|
|
18
|
-
--components-button-boxShadow:
|
|
18
|
+
--components-button-boxShadow: var(--pr-t-elevation-shadow-button);
|
|
19
19
|
--components-button-color: var(--palettes-0, var(--palettes-text, var(--palettes-product-0)));
|
|
20
20
|
--components-button-backgroundColor: var(--palettes-700, var(--palettes-product-700));
|
|
21
21
|
--components-button-arrow-transform: none;
|
|
@@ -1,15 +1,27 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
|
+
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
2
3
|
|
|
3
4
|
.button-group {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
&.mod-outlined {
|
|
8
|
-
@include outlined;
|
|
5
|
+
@layer components {
|
|
6
|
+
@include vars;
|
|
7
|
+
@include component;
|
|
9
8
|
}
|
|
10
9
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
@layer mods {
|
|
11
|
+
&.mod-outlined {
|
|
12
|
+
@include outlined;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// .mod-text deprecated
|
|
16
|
+
&.mod-text,
|
|
17
|
+
&.mod-ghost {
|
|
18
|
+
@include ghost;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:is(ul) {
|
|
22
|
+
.button.mod-more {
|
|
23
|
+
@include button.moreInsideUl;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
14
26
|
}
|
|
15
27
|
}
|
|
@@ -2,75 +2,87 @@
|
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/media';
|
|
3
3
|
|
|
4
4
|
.calendarWrapper {
|
|
5
|
-
@
|
|
6
|
-
|
|
7
|
-
&.mod-daysOffHidden {
|
|
8
|
-
@include daysOffHidden;
|
|
5
|
+
@layer components {
|
|
6
|
+
@include wrapperVars;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-daysOffHidden {
|
|
11
|
+
@include daysOffHidden;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.mod-daysOverflowingHidden {
|
|
15
|
+
@include daysOverflowingHidden;
|
|
16
|
+
}
|
|
13
17
|
}
|
|
14
18
|
}
|
|
15
19
|
|
|
16
20
|
.calendar {
|
|
17
|
-
@
|
|
18
|
-
|
|
21
|
+
@layer components {
|
|
22
|
+
@include vars;
|
|
23
|
+
@include component;
|
|
24
|
+
}
|
|
19
25
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
26
|
+
@layer mods {
|
|
27
|
+
// if rows have three columns (display for months and years)
|
|
28
|
+
&:has(.calendar-table-body-row-cell:nth-child(3):last-child) {
|
|
29
|
+
@include third;
|
|
30
|
+
}
|
|
23
31
|
}
|
|
24
32
|
}
|
|
25
33
|
|
|
26
34
|
.calendarShortcuts {
|
|
27
|
-
@
|
|
28
|
-
|
|
35
|
+
@layer components {
|
|
36
|
+
@include media.max('S') {
|
|
37
|
+
display: none;
|
|
38
|
+
}
|
|
29
39
|
}
|
|
30
40
|
}
|
|
31
41
|
|
|
32
42
|
.calendar-table-body-row-cell {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
&.is-overflow {
|
|
38
|
-
@include overflow;
|
|
39
|
-
}
|
|
43
|
+
@layer states {
|
|
44
|
+
&.is-daysOff {
|
|
45
|
+
@include daysOff;
|
|
46
|
+
}
|
|
40
47
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
48
|
+
&.is-overflow {
|
|
49
|
+
@include overflow;
|
|
50
|
+
}
|
|
44
51
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
&:not(.is-overflow) {
|
|
48
|
-
@include selected;
|
|
52
|
+
&.is-current {
|
|
53
|
+
@include current;
|
|
49
54
|
}
|
|
50
|
-
}
|
|
51
55
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
+
&.is-selected,
|
|
57
|
+
&.is-selectionInProgress {
|
|
58
|
+
&:not(.is-overflow) {
|
|
59
|
+
@include selected;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
56
62
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
63
|
+
&.is-singleDayInProgress,
|
|
64
|
+
&.is-start {
|
|
65
|
+
@include start;
|
|
66
|
+
}
|
|
60
67
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
@include startInProgress;
|
|
68
|
+
&.is-end {
|
|
69
|
+
@include end;
|
|
64
70
|
}
|
|
65
71
|
|
|
66
|
-
&.is-
|
|
67
|
-
|
|
72
|
+
&.is-startInProgress {
|
|
73
|
+
&:not(.is-endInProgress) {
|
|
74
|
+
@include startInProgress;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&.is-endInProgress {
|
|
78
|
+
@include startEndInProgress;
|
|
79
|
+
}
|
|
68
80
|
}
|
|
69
|
-
}
|
|
70
81
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
82
|
+
&.is-endInProgress {
|
|
83
|
+
&:not(.is-startInProgress) {
|
|
84
|
+
@include endInProgress;
|
|
85
|
+
}
|
|
74
86
|
}
|
|
75
87
|
}
|
|
76
88
|
}
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
align-items: flex-start;
|
|
10
10
|
position: relative;
|
|
11
11
|
border-radius: var(--pr-t-border-radius-default);
|
|
12
|
-
background-color: var(--
|
|
12
|
+
background-color: var(--components-callout-backgroundColor);
|
|
13
13
|
color: var(--pr-t-color-text);
|
|
14
|
-
box-shadow:
|
|
14
|
+
box-shadow: var(--components-callout-boxShadow);
|
|
15
15
|
gap: var(--components-callout-gap);
|
|
16
16
|
padding: var(--components-callout-padding);
|
|
17
17
|
font: var(--components-callout-font);
|
|
@@ -40,11 +40,20 @@
|
|
|
40
40
|
font-weight: 600;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.callout-content-description {
|
|
44
|
+
display: var(--components-callout-content-description-display);
|
|
45
|
+
justify-content: space-between;
|
|
46
|
+
gap: var(--pr-t-spacings-150);
|
|
47
|
+
align-items: flex-start;
|
|
48
|
+
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
43
52
|
.callout-content-description-actions {
|
|
44
53
|
display: flex;
|
|
45
54
|
gap: var(--pr-t-spacings-75);
|
|
46
|
-
margin-block-start: var(--
|
|
47
|
-
padding-block: var(--
|
|
55
|
+
margin-block-start: var(--components-callout-content-description-action-marginBlockStart);
|
|
56
|
+
padding-block: var(--components-callout-content-description-action-paddingBlock);
|
|
48
57
|
padding-inline: 0;
|
|
49
58
|
|
|
50
59
|
.button {
|
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.callout {
|
|
4
|
-
@
|
|
5
|
-
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-S {
|
|
11
|
+
@include S;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
6
14
|
|
|
7
|
-
&.mod-
|
|
8
|
-
@include
|
|
15
|
+
&.mod-AI {
|
|
16
|
+
@include AI;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&:has(.callout-content-description-actions.mod-inline) {
|
|
20
|
+
@include actionsInline;
|
|
9
21
|
}
|
|
10
22
|
}
|
|
23
|
+
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
@use '@lucca-front/icons/src/icon/exports' as
|
|
1
|
+
@use '@lucca-front/icons/src/icon/exports' as icons;
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/color';
|
|
2
3
|
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
3
4
|
|
|
4
5
|
@mixin S {
|
|
@@ -7,7 +8,7 @@
|
|
|
7
8
|
--components-callout-kill-size: 1.25rem;
|
|
8
9
|
|
|
9
10
|
.callout-icon {
|
|
10
|
-
@include
|
|
11
|
+
@include icons.S;
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
.callout-content-description-actions {
|
|
@@ -26,3 +27,30 @@
|
|
|
26
27
|
--components-callout-display: inline-flex;
|
|
27
28
|
--components-callout-padding: var(--pr-t-spacings-100);
|
|
28
29
|
}
|
|
30
|
+
|
|
31
|
+
@mixin AI {
|
|
32
|
+
--components-callout-boxShadow: var(--pr-t-elevation-shadow-button);
|
|
33
|
+
--components-callout-backgroundColor: var(--pr-t-elevation-surface-raised);
|
|
34
|
+
|
|
35
|
+
@include color.borderGradient(135deg, var(--palettes-brand-400), var(--palettes-AI-500));
|
|
36
|
+
|
|
37
|
+
.callout-icon {
|
|
38
|
+
.lucca-icon {
|
|
39
|
+
@include icons.AI;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@mixin actionsInline {
|
|
45
|
+
--components-callout-content-description-display: flex;
|
|
46
|
+
--components-callout-content-description-action-marginBlockStart: 0;
|
|
47
|
+
--components-callout-content-description-action-paddingBlock: 0;
|
|
48
|
+
|
|
49
|
+
.button {
|
|
50
|
+
@include button.XS;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.button.mod-onlyIcon {
|
|
54
|
+
@include button.onlyIconXS;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
--components-callout-padding: var(--pr-t-spacings-100) var(--pr-t-spacings-150);
|
|
5
5
|
--components-callout-font: inherit;
|
|
6
6
|
--components-callout-kill-size: 1.5rem;
|
|
7
|
+
--components-callout-boxShadow: 0 0 0 var(--commons-divider-width) var(--palettes-300, var(--palettes-neutral-300));
|
|
8
|
+
--components-callout-backgroundColor: var(--palettes-50, var(--palettes-neutral-50));
|
|
9
|
+
--components-callout-content-description-display: block;
|
|
10
|
+
--components-callout-content-description-action-marginBlockStart: var(--pr-t-spacings-50);
|
|
11
|
+
--components-callout-content-description-action-paddingBlock: var(--pr-t-spacings-50);
|
|
7
12
|
|
|
8
13
|
// Deprecated
|
|
9
14
|
--components-callout-fontSize: inherit;
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.calloutDisclosure {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
&[open] {
|
|
8
|
-
@include open;
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
@layer states {
|
|
10
|
+
&[open] {
|
|
11
|
+
@include open;
|
|
12
|
+
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
@layer mods {
|
|
16
|
+
&.mod-S {
|
|
17
|
+
@include S;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.mod-iconless {
|
|
21
|
+
@include iconless;
|
|
22
|
+
}
|
|
17
23
|
}
|
|
18
24
|
}
|
|
@@ -1,24 +1,30 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.calloutPopover {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
&.mod-S {
|
|
8
|
-
@include S;
|
|
4
|
+
@layer components {
|
|
5
|
+
@include component;
|
|
6
|
+
@include vars;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-S {
|
|
11
|
+
@include S;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.mod-XS {
|
|
15
|
+
@include XS;
|
|
16
|
+
}
|
|
13
17
|
}
|
|
14
18
|
}
|
|
15
19
|
|
|
16
20
|
.calloutPopover-overlay {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
@layer mods {
|
|
22
|
+
&.mod-S {
|
|
23
|
+
@include overlayS;
|
|
24
|
+
}
|
|
20
25
|
|
|
21
|
-
|
|
22
|
-
|
|
26
|
+
&.mod-iconless {
|
|
27
|
+
@include overlayIconless;
|
|
28
|
+
}
|
|
23
29
|
}
|
|
24
30
|
}
|
|
@@ -1,32 +1,38 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.card {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
// .mod-grey is deprecated
|
|
8
|
-
&.mod-neutral,
|
|
9
|
-
&.mod-grey {
|
|
10
|
-
@include neutral;
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
11
7
|
}
|
|
12
8
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
@layer mods {
|
|
10
|
+
// .mod-grey is deprecated
|
|
11
|
+
&.mod-neutral,
|
|
12
|
+
&.mod-grey {
|
|
13
|
+
@include neutral;
|
|
14
|
+
}
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
&.mod-clickable {
|
|
17
|
+
@include clickable;
|
|
18
|
+
}
|
|
20
19
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
&.mod-elevated {
|
|
21
|
+
@include elevated;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.mod-action {
|
|
25
|
+
@include action;
|
|
26
|
+
}
|
|
24
27
|
|
|
25
|
-
|
|
26
|
-
|
|
28
|
+
&.mod-nested {
|
|
29
|
+
@include nested;
|
|
30
|
+
}
|
|
27
31
|
}
|
|
28
32
|
|
|
29
|
-
|
|
30
|
-
|
|
33
|
+
@layer states {
|
|
34
|
+
&:is(.is-disabled, .disabled) {
|
|
35
|
+
@include disabled;
|
|
36
|
+
}
|
|
31
37
|
}
|
|
32
38
|
}
|
|
@@ -1,48 +1,54 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.checkbox {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
&.mod-inline {
|
|
8
|
-
@include inline;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&.mod-S {
|
|
12
|
-
@include S;
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
13
7
|
}
|
|
14
8
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-inline {
|
|
11
|
+
@include inline;
|
|
12
|
+
}
|
|
18
13
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
14
|
+
&.mod-S {
|
|
15
|
+
@include S;
|
|
16
|
+
}
|
|
22
17
|
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
&.mod-noLabel {
|
|
19
|
+
@include noLabel;
|
|
20
|
+
}
|
|
25
21
|
}
|
|
26
22
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
@layer states {
|
|
24
|
+
&:is(.is-required, .required) {
|
|
25
|
+
@include required;
|
|
26
|
+
}
|
|
30
27
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
&:is(.is-error, .error) {
|
|
29
|
+
@include state('error');
|
|
30
|
+
}
|
|
34
31
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
@include incomplete;
|
|
32
|
+
&:is(.is-warning, .warning) {
|
|
33
|
+
@include state('warning');
|
|
38
34
|
}
|
|
39
35
|
|
|
40
|
-
&:is(
|
|
41
|
-
@include
|
|
36
|
+
&:is(.is-success, .success) {
|
|
37
|
+
@include state('success');
|
|
42
38
|
}
|
|
43
39
|
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
.checkbox-input {
|
|
41
|
+
&:is(.is-incomplete, .incomplete) {
|
|
42
|
+
@include incomplete;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:is([disabled], [read-only]) {
|
|
46
|
+
@include disabled;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:is([aria-required]) {
|
|
50
|
+
@include required;
|
|
51
|
+
}
|
|
46
52
|
}
|
|
47
53
|
}
|
|
48
54
|
}
|