@lucca-front/scss 20.3.0-rc.10 → 20.3.0-rc.11
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/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/calloutDisclosure/index.scss +14 -10
- 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/index.scss +29 -25
- package/src/components/contentSection/index.scss +4 -2
- package/src/components/dataTable/index.scss +79 -69
- package/src/components/dataTableSticked/index.scss +30 -26
- package/src/components/dateField/index.scss +24 -20
- package/src/components/dateRangeField/index.scss +29 -25
- package/src/components/dialog/component.scss +4 -4
- 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 +18 -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/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/index.scss +27 -21
- 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/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/index.scss +8 -4
- 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 +21 -17
- 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/index.scss +28 -24
- 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
|
@@ -2,79 +2,75 @@
|
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/media';
|
|
3
3
|
|
|
4
4
|
.indexTable {
|
|
5
|
-
@
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
&.mod-selectable {
|
|
9
|
-
@include selectable;
|
|
10
|
-
|
|
11
|
-
// Selectable states
|
|
12
|
-
@include selectableSelectedRow;
|
|
13
|
-
@include selectableHoveredRow;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&.mod-stackable {
|
|
17
|
-
@include stackable;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&.mod-stickyHeader {
|
|
21
|
-
@include stickyHeader;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// Allow selection of mod-layoutFixed with or without breakpoints like mod-layoutFixedAtMediaMinXS or mod-layoutFixedAtMediaMaxL
|
|
25
|
-
&[class*='mod-layoutFixed'] {
|
|
26
|
-
@include layoutFixed;
|
|
5
|
+
@layer components {
|
|
6
|
+
@include vars;
|
|
7
|
+
@include component;
|
|
27
8
|
}
|
|
28
9
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
10
|
+
@layer mods {
|
|
11
|
+
&.mod-selectable {
|
|
12
|
+
@include selectable;
|
|
13
|
+
@include selectableSelectedRow;
|
|
14
|
+
@include selectableHoveredRow;
|
|
15
|
+
}
|
|
32
16
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
17
|
+
&.mod-stackable {
|
|
18
|
+
@include stackable;
|
|
19
|
+
}
|
|
36
20
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
.indexTable-body-row-transparentCell,
|
|
40
|
-
.indexTable-foot-row-cell {
|
|
41
|
-
&.mod-alignRight {
|
|
42
|
-
@include alignRight;
|
|
21
|
+
&.mod-stickyHeader {
|
|
22
|
+
@include stickyHeader;
|
|
43
23
|
}
|
|
44
24
|
|
|
45
|
-
|
|
46
|
-
|
|
25
|
+
// Allow selection of mod-layoutFixed with or without breakpoints like mod-layoutFixedAtMediaMinXS or mod-layoutFixedAtMediaMaxL
|
|
26
|
+
&[class*='mod-layoutFixed'] {
|
|
27
|
+
@include layoutFixed;
|
|
47
28
|
}
|
|
48
|
-
}
|
|
49
29
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
&.mod-responsiveCardList {
|
|
53
|
-
@include responsiveCardList;
|
|
30
|
+
.indexTable-head-row.mod-massSelection {
|
|
31
|
+
@include massSelection;
|
|
54
32
|
}
|
|
55
33
|
|
|
56
|
-
|
|
57
|
-
@include
|
|
34
|
+
.indexTable-body-row-cell.mod-actions {
|
|
35
|
+
@include actions;
|
|
58
36
|
}
|
|
59
37
|
|
|
60
|
-
|
|
61
|
-
|
|
38
|
+
.indexTable-head-row-cell,
|
|
39
|
+
.indexTable-body-row-cell,
|
|
40
|
+
.indexTable-body-row-transparentCell,
|
|
41
|
+
.indexTable-foot-row-cell {
|
|
42
|
+
&.mod-alignRight {
|
|
43
|
+
@include alignRight;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&.mod-alignCenter {
|
|
47
|
+
@include alignCenter;
|
|
48
|
+
}
|
|
62
49
|
}
|
|
63
50
|
|
|
64
|
-
|
|
65
|
-
|
|
51
|
+
@include media.max('S') {
|
|
52
|
+
&.mod-responsiveCardList {
|
|
53
|
+
@include responsiveCardList;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.mod-selectable.mod-responsiveCardList {
|
|
57
|
+
@include selectableResponsiveCardList;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.mod-stackable.mod-responsiveCardList {
|
|
61
|
+
@include stackableResponsiveCardList;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.mod-selectable.mod-stackable.mod-responsiveCardList {
|
|
65
|
+
@include selectableStackableResponsiveCardList;
|
|
66
|
+
}
|
|
66
67
|
}
|
|
67
|
-
}
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
&:not(:has(.indexTable-head[inert='inert'])) {
|
|
70
|
+
@include focusedRow;
|
|
71
|
+
@include hoveredRow;
|
|
72
|
+
}
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
@include hoveredRow;
|
|
74
|
+
@include openClosedRow;
|
|
76
75
|
}
|
|
77
|
-
|
|
78
|
-
// nested open / closed row
|
|
79
|
-
@include openClosedRow;
|
|
80
76
|
}
|
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.inlineMessage {
|
|
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
|
+
&.is-success {
|
|
15
|
+
@include success;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.is-warning {
|
|
19
|
+
@include warning;
|
|
20
|
+
}
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
&.is-error {
|
|
23
|
+
@include error;
|
|
24
|
+
}
|
|
21
25
|
}
|
|
22
26
|
}
|
|
@@ -2,37 +2,41 @@
|
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
3
3
|
|
|
4
4
|
.inputFramed {
|
|
5
|
-
@
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
&:hover {
|
|
9
|
-
@include hover;
|
|
5
|
+
@layer components {
|
|
6
|
+
@include vars;
|
|
7
|
+
@include component;
|
|
10
8
|
}
|
|
11
9
|
|
|
12
|
-
|
|
13
|
-
@include checked;
|
|
14
|
-
|
|
10
|
+
@layer mods {
|
|
15
11
|
&:hover {
|
|
16
|
-
@include
|
|
12
|
+
@include hover;
|
|
17
13
|
}
|
|
18
|
-
}
|
|
19
14
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
15
|
+
&:has(.inputFramed-header-input:checked) {
|
|
16
|
+
@include checked;
|
|
23
17
|
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
&:hover {
|
|
19
|
+
@include checkedHover;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
26
22
|
|
|
27
|
-
&:
|
|
28
|
-
@include
|
|
23
|
+
&:has(.inputFramed-header-input:focus-visible) {
|
|
24
|
+
@include a11y.focusVisible;
|
|
29
25
|
}
|
|
30
|
-
}
|
|
31
26
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
27
|
+
&:has(.inputFramed-header-input[aria-invalid="true"]) {
|
|
28
|
+
@include critical;
|
|
29
|
+
|
|
30
|
+
&:hover {
|
|
31
|
+
@include criticalHover;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:has(.inputFramed-header-input:disabled) {
|
|
36
|
+
&,
|
|
37
|
+
&:hover {
|
|
38
|
+
@include disabled;
|
|
39
|
+
}
|
|
36
40
|
}
|
|
37
41
|
}
|
|
38
42
|
|
|
@@ -42,6 +46,8 @@
|
|
|
42
46
|
}
|
|
43
47
|
|
|
44
48
|
.inputFramedWrapper {
|
|
45
|
-
@
|
|
46
|
-
|
|
49
|
+
@layer components {
|
|
50
|
+
@include vars;
|
|
51
|
+
@include wrapper;
|
|
52
|
+
}
|
|
47
53
|
}
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.label {
|
|
4
|
-
@
|
|
5
|
-
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
7
|
+
}
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-number {
|
|
11
|
+
@include number;
|
|
9
12
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
&.mod-S {
|
|
14
|
+
@include numberS;
|
|
15
|
+
}
|
|
13
16
|
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
&.mod-XS {
|
|
18
|
+
@include numberXS;
|
|
19
|
+
}
|
|
16
20
|
}
|
|
17
21
|
}
|
|
18
22
|
}
|
|
@@ -1,68 +1,74 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.layout {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
&.mod-navsideWithoutScrollbar {
|
|
8
|
-
@include navsideWithoutScrollbar;
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-navsideWithoutScrollbar {
|
|
11
|
+
@include navsideWithoutScrollbar;
|
|
12
|
+
}
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
&.mod-contentHeaderStatic {
|
|
15
|
+
@include contentHeaderStatic;
|
|
16
|
+
}
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
&.mod-contentSubheaderStatic {
|
|
19
|
+
@include contentSubheaderStatic;
|
|
20
|
+
}
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
&.mod-navsideFooterStatic {
|
|
23
|
+
@include navsideFooterStatic;
|
|
24
|
+
}
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
&.mod-asideFooterStatic {
|
|
27
|
+
@include asideFooterStatic;
|
|
28
|
+
}
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
&.mod-contentFooterStatic {
|
|
31
|
+
@include contentFooterStatic;
|
|
32
|
+
}
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
&.mod-asideBefore {
|
|
35
|
+
@include asideBefore;
|
|
36
|
+
}
|
|
38
37
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
&.mod-headerRemoved {
|
|
39
|
+
@include headerRemoved;
|
|
40
|
+
}
|
|
42
41
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
&.mod-subheaderRemoved {
|
|
43
|
+
@include subheaderRemoved;
|
|
44
|
+
}
|
|
46
45
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
&.mod-asideRemoved {
|
|
47
|
+
@include asideRemoved;
|
|
48
|
+
}
|
|
50
49
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
&.mod-asideFooterRemoved {
|
|
51
|
+
@include asideFooterRemoved;
|
|
52
|
+
}
|
|
54
53
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
&.mod-contentFooterRemoved {
|
|
55
|
+
@include contentFooterRemoved;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&.mod-navsideFooterRemoved {
|
|
59
|
+
@include navsideFooterRemoved;
|
|
60
|
+
}
|
|
58
61
|
|
|
59
|
-
|
|
60
|
-
|
|
62
|
+
&.mod-navsideLarge {
|
|
63
|
+
@include navsideLarge;
|
|
64
|
+
}
|
|
61
65
|
}
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
html {
|
|
65
|
-
|
|
66
|
-
|
|
69
|
+
@layer mods {
|
|
70
|
+
&:is(.has-overlay, .withOverlay) {
|
|
71
|
+
@include overlay;
|
|
72
|
+
}
|
|
67
73
|
}
|
|
68
74
|
}
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.link {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
&.mod-icon {
|
|
8
|
-
@include icon;
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-icon {
|
|
11
|
+
@include icon;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.mod-decorationHover {
|
|
15
|
+
@include decorationHover;
|
|
16
|
+
}
|
|
14
17
|
|
|
15
|
-
|
|
16
|
-
|
|
18
|
+
&:is(:disabled, .is-disabled) {
|
|
19
|
+
@include disabled;
|
|
20
|
+
}
|
|
17
21
|
}
|
|
18
22
|
}
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.list {
|
|
4
|
-
@
|
|
5
|
-
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
7
|
+
}
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
.list-item {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
@layer mods {
|
|
12
|
+
&.mod-clickable {
|
|
13
|
+
@include clickable;
|
|
14
|
+
}
|
|
12
15
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
&.mod-draggable {
|
|
17
|
+
@include draggable;
|
|
18
|
+
}
|
|
16
19
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
// .mod-actionsHidden is deprecated
|
|
21
|
+
&.mod-actionsHidden {
|
|
22
|
+
@include actionsHidden;
|
|
23
|
+
}
|
|
20
24
|
}
|
|
21
25
|
}
|