@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
|
@@ -3,23 +3,27 @@
|
|
|
3
3
|
@use 'exports' as *;
|
|
4
4
|
|
|
5
5
|
.table {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
@layer mods {
|
|
7
|
+
&.mod-layoutFixed {
|
|
8
|
+
@include layoutFixed;
|
|
9
|
+
}
|
|
8
10
|
}
|
|
9
11
|
}
|
|
10
12
|
|
|
11
13
|
.table-head-row-cell,
|
|
12
14
|
.table-body-row-cell,
|
|
13
15
|
.table-foot-row-cell {
|
|
14
|
-
@
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
@layer mods {
|
|
17
|
+
@for $i from 2 through 20 {
|
|
18
|
+
&.mod-layoutFixed-#{$i} {
|
|
19
|
+
@include layoutFixedCell($i);
|
|
20
|
+
}
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
@each $breakpoint, $value in config.$breakpoints {
|
|
23
|
+
@include media.min($breakpoint) {
|
|
24
|
+
&.mod-layoutFixed-#{$i}\@mediaMin#{$breakpoint} {
|
|
25
|
+
@include layoutFixedCell($i);
|
|
26
|
+
}
|
|
23
27
|
}
|
|
24
28
|
}
|
|
25
29
|
}
|
|
@@ -1,42 +1,46 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.tableOfContent {
|
|
4
|
-
@
|
|
5
|
-
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
7
|
+
}
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
.tableOfContent-list-item-action {
|
|
9
|
-
|
|
10
|
-
&:is
|
|
11
|
-
@include hover;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&:is(:focus) {
|
|
15
|
-
@include focus;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&:is(:active) {
|
|
19
|
-
@include active;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&.is-active {
|
|
23
|
-
@include isActive;
|
|
24
|
-
|
|
11
|
+
@layer states {
|
|
12
|
+
&:not(.disabled, .is-disabled, [disabled]) {
|
|
25
13
|
&:is(:hover) {
|
|
26
|
-
@include
|
|
14
|
+
@include hover;
|
|
27
15
|
}
|
|
28
16
|
|
|
29
17
|
&:is(:focus) {
|
|
30
|
-
@include
|
|
18
|
+
@include focus;
|
|
31
19
|
}
|
|
32
20
|
|
|
33
21
|
&:is(:active) {
|
|
34
|
-
@include
|
|
22
|
+
@include active;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.is-active {
|
|
26
|
+
@include isActive;
|
|
27
|
+
|
|
28
|
+
&:is(:hover) {
|
|
29
|
+
@include isActiveHover;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:is(:focus) {
|
|
33
|
+
@include isActiveFocus;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&:is(:active) {
|
|
37
|
+
@include isActiveActive;
|
|
38
|
+
}
|
|
35
39
|
}
|
|
36
40
|
}
|
|
37
|
-
}
|
|
38
41
|
|
|
39
|
-
|
|
40
|
-
|
|
42
|
+
&:is(.disabled, .is-disabled, [disabled]) {
|
|
43
|
+
@include disabled;
|
|
44
|
+
}
|
|
41
45
|
}
|
|
42
46
|
}
|
|
@@ -1,34 +1,40 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.tableSortable.button {
|
|
4
|
-
@
|
|
5
|
-
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
7
|
+
}
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
.table-head-row-cell,
|
|
9
11
|
.dataTable-head-row-cell,
|
|
10
12
|
.indexTable-head-row-cell {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
@layer mods {
|
|
14
|
+
&.mod-alignRight {
|
|
15
|
+
.tableSortable {
|
|
16
|
+
@include sortAlignRight;
|
|
17
|
+
}
|
|
14
18
|
}
|
|
15
|
-
}
|
|
16
19
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
&.mod-alignCenter {
|
|
21
|
+
.tableSortable {
|
|
22
|
+
@include sortAlignCenter;
|
|
23
|
+
}
|
|
20
24
|
}
|
|
21
25
|
}
|
|
22
26
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
27
|
+
@layer states {
|
|
28
|
+
&[aria-sort='ascending'] {
|
|
29
|
+
.tableSortable{
|
|
30
|
+
@include sortAscending;
|
|
31
|
+
}
|
|
26
32
|
}
|
|
27
|
-
}
|
|
28
33
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
34
|
+
&[aria-sort='descending'] {
|
|
35
|
+
.tableSortable {
|
|
36
|
+
@include sortDescending;
|
|
37
|
+
}
|
|
32
38
|
}
|
|
33
39
|
}
|
|
34
40
|
}
|
|
@@ -3,39 +3,43 @@
|
|
|
3
3
|
@use 'exports' as *;
|
|
4
4
|
|
|
5
5
|
.table {
|
|
6
|
-
@
|
|
7
|
-
|
|
8
|
-
// For both mod-stickyColumn + responsive variant
|
|
9
|
-
&[class*='mod-stickyColumn'] {
|
|
10
|
-
@include stickyColumn;
|
|
6
|
+
@layer components {
|
|
7
|
+
@include vars;
|
|
11
8
|
}
|
|
12
9
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
@layer mods {
|
|
11
|
+
// For both mod-stickyColumn + responsive variant
|
|
12
|
+
&[class*='mod-stickyColumn'] {
|
|
13
|
+
@include stickyColumn;
|
|
14
|
+
}
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
&.mod-stickyColumn {
|
|
17
|
+
@include stickyColumnOffset;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@each $breakpoint, $value in config.$breakpoints {
|
|
21
|
+
@include media.min($breakpoint) {
|
|
22
|
+
&.mod-stickyColumnAtMediaMin#{$breakpoint} {
|
|
23
|
+
@include stickyColumnOffset;
|
|
24
|
+
}
|
|
21
25
|
}
|
|
22
26
|
}
|
|
23
|
-
}
|
|
24
27
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
// For both stickyHeader + -withBanner variant
|
|
29
|
+
&[class*='mod-stickyHeader'] {
|
|
30
|
+
@include stickyHeaderCommon;
|
|
28
31
|
|
|
29
|
-
|
|
30
|
-
|
|
32
|
+
.mod-stickyHeader-shadow {
|
|
33
|
+
@include stickyHeaderShadow;
|
|
34
|
+
}
|
|
31
35
|
}
|
|
32
|
-
}
|
|
33
36
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
&.mod-stickyHeader {
|
|
38
|
+
@include stickyHeader;
|
|
39
|
+
}
|
|
37
40
|
|
|
38
|
-
|
|
39
|
-
|
|
41
|
+
&.mod-stickyHeader-withBanner {
|
|
42
|
+
@include stickyHeaderBanner;
|
|
43
|
+
}
|
|
40
44
|
}
|
|
41
45
|
}
|
|
@@ -104,9 +104,9 @@
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
Sticky header
|
|
109
|
-
|
|
107
|
+
// *****
|
|
108
|
+
// Sticky header
|
|
109
|
+
// ****
|
|
110
110
|
|
|
111
111
|
@mixin stickyHeader {
|
|
112
112
|
.table-head-row-cell {
|
|
@@ -144,9 +144,9 @@
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
|
|
148
|
-
Sticky header drop shadow
|
|
149
|
-
|
|
147
|
+
// *****
|
|
148
|
+
// Sticky header drop shadow
|
|
149
|
+
// ****
|
|
150
150
|
|
|
151
151
|
@mixin stickyHeaderShadow {
|
|
152
152
|
.indexTable-head-row-cell,
|
|
@@ -3,68 +3,74 @@
|
|
|
3
3
|
@use 'exports' as *;
|
|
4
4
|
|
|
5
5
|
.table {
|
|
6
|
-
@
|
|
7
|
-
|
|
8
|
-
&.mod-stickyColumn {
|
|
9
|
-
@include stickyColumn;
|
|
6
|
+
@layer components {
|
|
7
|
+
@include vars;
|
|
10
8
|
}
|
|
11
9
|
|
|
12
|
-
@
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
@layer mods {
|
|
11
|
+
&.mod-stickyColumn {
|
|
12
|
+
@include stickyColumn;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@each $breakpoint, $value in config.$breakpoints {
|
|
16
|
+
@include media.min($breakpoint) {
|
|
17
|
+
&.mod-stickyColumn\@mediaMin#{$breakpoint} {
|
|
18
|
+
@include stickyColumn;
|
|
19
|
+
}
|
|
16
20
|
}
|
|
17
21
|
}
|
|
18
|
-
}
|
|
19
22
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
+
&.mod-stickyColumn-shadow {
|
|
24
|
+
@include shadow;
|
|
25
|
+
}
|
|
23
26
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
&[class*='mod-stickyColumn'] {
|
|
28
|
+
.table-head-row-cell,
|
|
29
|
+
.table-body-row-cell,
|
|
30
|
+
.table-foot-row-cell {
|
|
31
|
+
@for $i from 0 through 50 {
|
|
32
|
+
&.mod-stickyColumn-leftOffset#{$i} {
|
|
33
|
+
@include leftOffset($i);
|
|
34
|
+
}
|
|
32
35
|
|
|
33
|
-
|
|
34
|
-
|
|
36
|
+
&.mod-stickyColumn-rightOffset#{$i} {
|
|
37
|
+
@include rightOffset($i);
|
|
38
|
+
}
|
|
35
39
|
}
|
|
36
40
|
}
|
|
37
41
|
}
|
|
38
|
-
}
|
|
39
42
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
+
[class*='sticky'][class*='shadow-wrapper'] {
|
|
44
|
+
@include wrapper;
|
|
45
|
+
}
|
|
43
46
|
|
|
44
|
-
|
|
45
|
-
|
|
47
|
+
&[class*='mod-stickyHeader'] {
|
|
48
|
+
@include stickyHeaderCommon;
|
|
46
49
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
@each $breakpoint, $value in config.$breakpoints {
|
|
51
|
+
@include media.max($breakpoint) {
|
|
52
|
+
&.mod-stickyColumn\@mediaMin#{$breakpoint} {
|
|
53
|
+
@include stickyColumnBreakpoint;
|
|
54
|
+
}
|
|
51
55
|
}
|
|
52
56
|
}
|
|
53
57
|
}
|
|
54
|
-
}
|
|
55
58
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
&.mod-stickyHeader {
|
|
60
|
+
@include stickyHeader;
|
|
61
|
+
}
|
|
59
62
|
|
|
60
|
-
|
|
61
|
-
|
|
63
|
+
&.mod-stickyHeader-withBanner {
|
|
64
|
+
@include stickyHeaderBanner;
|
|
65
|
+
}
|
|
62
66
|
}
|
|
63
67
|
}
|
|
64
68
|
|
|
65
69
|
.table-body-row,
|
|
66
70
|
.table-foot-row {
|
|
67
|
-
|
|
68
|
-
|
|
71
|
+
@layer mods {
|
|
72
|
+
&.mod-stickyHeader-shadow {
|
|
73
|
+
@include stickyHeaderShadow;
|
|
74
|
+
}
|
|
69
75
|
}
|
|
70
76
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
padding-inline: var(--pr-t-spacings-50);
|
|
9
9
|
text-decoration: var(--components-tag-decoration);
|
|
10
10
|
box-shadow: 0 0 0 1px var(--components-tag-shadow);
|
|
11
|
-
gap: var(--
|
|
11
|
+
gap: var(--components-tag-gap);
|
|
12
12
|
cursor: var(--components-tag-cursor);
|
|
13
13
|
display: inline-flex;
|
|
14
14
|
align-items: center;
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
font: var(--components-tag-font);
|
|
20
20
|
font-size: var(--components-tag-fontSize); // Deprecated
|
|
21
21
|
line-height: var(--components-tag-lineHeight); // Deprecated
|
|
22
|
+
max-inline-size: 100%;
|
|
23
|
+
position: relative;
|
|
22
24
|
|
|
23
25
|
&,
|
|
24
26
|
&:is(a, button) {
|
|
@@ -31,6 +33,7 @@
|
|
|
31
33
|
|
|
32
34
|
@at-root ($atRoot) {
|
|
33
35
|
.tag-content {
|
|
36
|
+
outline: none;
|
|
34
37
|
text-decoration: var(--components-tag-decoration);
|
|
35
38
|
}
|
|
36
39
|
}
|
|
@@ -1,24 +1,42 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.tag {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
&.mod-L {
|
|
8
|
-
@include L;
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-S {
|
|
11
|
+
@include S;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.mod-L {
|
|
15
|
+
@include L;
|
|
16
|
+
}
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
// .mod-clickable is deprecated
|
|
19
|
+
&:is(a, button),
|
|
20
|
+
&.mod-clickable {
|
|
21
|
+
@include clickable;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.mod-outlined {
|
|
25
|
+
@include outlined;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.mod-AI {
|
|
29
|
+
@include AI;
|
|
30
|
+
}
|
|
19
31
|
}
|
|
20
32
|
|
|
21
|
-
|
|
22
|
-
|
|
33
|
+
@layer states {
|
|
34
|
+
&.mod-disabled {
|
|
35
|
+
@include disabled;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&:has(.tag-content:focus-visible) {
|
|
39
|
+
@include focusVisible;
|
|
40
|
+
}
|
|
23
41
|
}
|
|
24
42
|
}
|
|
@@ -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
|
|
|
3
4
|
@mixin clickable {
|
|
4
5
|
--components-tag-cursor: pointer;
|
|
@@ -20,12 +21,24 @@
|
|
|
20
21
|
}
|
|
21
22
|
}
|
|
22
23
|
|
|
24
|
+
@mixin S {
|
|
25
|
+
--components-tag-font: var(--pr-t-font-body-XS);
|
|
26
|
+
--components-tag-gap: var(--pr-t-spacings-25);
|
|
27
|
+
|
|
28
|
+
.lucca-icon {
|
|
29
|
+
@include icons.XXS;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// Deprecated
|
|
33
|
+
--components-tag-fontSize: var(--pr-t-font-body-XS-fontSize);
|
|
34
|
+
--components-tag-lineHeight: var(--pr-t-font-body-XS-lineHeight);
|
|
35
|
+
}
|
|
36
|
+
|
|
23
37
|
@mixin L {
|
|
24
38
|
--components-tag-font: var(--pr-t-font-body-M);
|
|
25
|
-
--components-tag-iconBottom: 0;
|
|
26
39
|
|
|
27
40
|
.lucca-icon {
|
|
28
|
-
@include
|
|
41
|
+
@include icons.S;
|
|
29
42
|
}
|
|
30
43
|
|
|
31
44
|
// Deprecated
|
|
@@ -42,3 +55,17 @@
|
|
|
42
55
|
--components-tag-background: var(--palettes-100, var(--palettes-product-100));
|
|
43
56
|
--components-tag-color: var(--palettes-800, var(--palettes-product-800));
|
|
44
57
|
}
|
|
58
|
+
|
|
59
|
+
@mixin AI {
|
|
60
|
+
@include outlined;
|
|
61
|
+
|
|
62
|
+
&:not(:disabled) {
|
|
63
|
+
--components-tag-boxShadow: none;
|
|
64
|
+
|
|
65
|
+
@include color.borderGradient(135deg, var(--palettes-brand-400), var(--palettes-AI-500), var(--pr-t-border-radius-small));
|
|
66
|
+
|
|
67
|
+
.lucca-icon {
|
|
68
|
+
@include icons.AI;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
--components-tag-color: var(--palettes-800, var(--palettes-neutral-800));
|
|
4
4
|
--components-tag-shadow: transparent;
|
|
5
5
|
--components-tag-font: var(--pr-t-font-body-S);
|
|
6
|
+
--components-tag-gap: var(--pr-t-spacings-50);
|
|
6
7
|
--components-tag-decoration: none;
|
|
7
8
|
--components-tag-cursor: inherit;
|
|
9
|
+
--components-tag-boxShadow: 0 0 0 1px var(--components-tag-shadow);
|
|
8
10
|
|
|
9
11
|
// Deprecated
|
|
10
12
|
--components-tag-fontSize: var(--pr-t-font-body-S-fontSize);
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
padding-inline: var(--component-textField-padding) var(--component-textField-affix-padding);
|
|
68
68
|
background-color: transparent;
|
|
69
69
|
color: var(--component-textField-color);
|
|
70
|
+
text-decoration: var(--component-textField-textDecoration);
|
|
70
71
|
text-overflow: ellipsis;
|
|
71
72
|
|
|
72
73
|
&:is(textarea, div) {
|
|
@@ -1,36 +1,48 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.textField {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
&.mod-S {
|
|
8
|
-
@include S;
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-S {
|
|
11
|
+
@include S;
|
|
12
|
+
}
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
&.mod-XS {
|
|
15
|
+
@include XS;
|
|
16
|
+
}
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
&.mod-valueAlignRight {
|
|
19
|
+
@include valueAlignRight;
|
|
20
|
+
}
|
|
22
21
|
}
|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
@layer states {
|
|
24
|
+
&.is-invalid,
|
|
25
|
+
&:has(.textField-input-value[aria-invalid='true']) {
|
|
26
|
+
@include invalid;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.is-disabled,
|
|
30
|
+
&:has(.textField-input-value:disabled) {
|
|
31
|
+
@include disabled;
|
|
32
|
+
}
|
|
27
33
|
}
|
|
28
34
|
|
|
29
|
-
|
|
30
|
-
|
|
35
|
+
@layer mods {
|
|
36
|
+
&.mod-autoResize {
|
|
37
|
+
@include autoResize;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.mod-filterPill {
|
|
41
|
+
@include filterPill;
|
|
42
|
+
}
|
|
31
43
|
}
|
|
32
44
|
|
|
33
|
-
&.
|
|
34
|
-
@include
|
|
45
|
+
&.is-lineThrough {
|
|
46
|
+
@include lineThrough;
|
|
35
47
|
}
|
|
36
48
|
}
|
|
@@ -12,3 +12,8 @@
|
|
|
12
12
|
--component-textField-background: var(--pr-t-color-input-background-disabled);
|
|
13
13
|
--component-textField-color: var(--pr-t-color-input-text-disabled);
|
|
14
14
|
}
|
|
15
|
+
|
|
16
|
+
@mixin lineThrough {
|
|
17
|
+
--component-textField-color: var(--pr-t-color-text-subtle);
|
|
18
|
+
--component-textField-textDecoration: line-through;
|
|
19
|
+
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
--component-textField-border: var(--pr-t-color-input-border);
|
|
6
6
|
--component-textField-borderHover: var(--pr-t-color-input-border-hover);
|
|
7
7
|
--component-textField-color: var(--pr-t-color-input-text);
|
|
8
|
+
--component-textField-textDecoration: none;
|
|
8
9
|
--component-textField-padding: var(--pr-t-spacings-100);
|
|
9
10
|
--component-textField-affix-padding: var(--component-textField-padding);
|
|
10
11
|
--component-textField-affix-size: 1.75rem;
|