@lucca-front/scss 19.3.0-rc.2 → 19.3.0-rc.4
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 +11 -3
- package/src/commons/config.scss +11 -1
- package/src/commons/core.scss +25 -13
- package/src/commons/utils/color.scss +2 -0
- package/src/commons/utils/index.scss +6 -2
- package/src/commons/utils/keyframe.scss +1 -0
- package/src/commons/utils/loading.scss +1 -1
- package/src/commons/utils/media.scss +4 -0
- package/src/commons/utils/reset.scss +1 -1
- package/src/commons/vars.scss +8 -0
- package/src/components/_sample/component.scss +3 -3
- package/src/components/avatar/component.scss +0 -1
- package/src/components/avatar/mods.scss +1 -0
- package/src/components/box/index.scss +4 -0
- package/src/components/box/mods.scss +5 -0
- package/src/components/button/component.scss +2 -2
- package/src/components/calendar/component.scss +2 -0
- package/src/components/calendar/states.scss +3 -1
- package/src/components/callout/component.scss +1 -1
- package/src/components/calloutAccordion/component.scss +1 -1
- package/src/components/calloutAccordion/mods.scss +0 -4
- package/src/components/calloutDisclosure/component.scss +1 -1
- package/src/components/calloutPopover/component.scss +2 -1
- package/src/components/card/mods.scss +1 -1
- package/src/components/checkbox/mods.scss +1 -0
- package/src/components/checkboxField/component.scss +2 -1
- package/src/components/checkboxField/states.scss +1 -8
- package/src/components/clear/component.scss +1 -1
- package/src/components/comment/component.scss +2 -5
- package/src/components/dataTable/mods.scss +0 -7
- package/src/components/dataTableSticked/mods.scss +12 -15
- package/src/components/dateRangeField/vars.scss +1 -1
- package/src/components/dialog/mods.scss +0 -1
- package/src/components/divider/component.scss +2 -5
- package/src/components/dropdown/component.scss +2 -1
- package/src/components/emptyState/component.scss +1 -0
- package/src/components/errorPage/component.scss +2 -0
- package/src/components/fancyBox/component.scss +2 -0
- package/src/components/fileEntry/component.scss +199 -0
- package/src/components/fileEntry/exports.scss +4 -0
- package/src/components/fileEntry/index.scss +34 -0
- package/src/components/fileEntry/mods.scss +39 -0
- package/src/components/fileEntry/states.scss +22 -0
- package/src/components/fileEntry/vars.scss +27 -0
- package/src/components/fileToolbar/component.scss +35 -0
- package/src/components/fileToolbar/exports.scss +4 -0
- package/src/components/fileToolbar/index.scss +14 -0
- package/src/components/fileToolbar/mods.scss +9 -0
- package/src/components/fileToolbar/states.scss +0 -0
- package/src/components/fileToolbar/vars.scss +5 -0
- package/src/components/fileUpload/component.scss +103 -0
- package/src/components/fileUpload/exports.scss +4 -0
- package/src/components/fileUpload/index.scss +46 -0
- package/src/components/fileUpload/mods.scss +24 -0
- package/src/components/fileUpload/states.scss +37 -0
- package/src/components/fileUpload/vars.scss +26 -0
- package/src/components/filterBar/mods.scss +2 -2
- package/src/components/filterBarDeprecated/component.scss +3 -0
- package/src/components/filterPill/component.scss +2 -1
- package/src/components/filterPill/states.scss +2 -3
- package/src/components/footer/component.scss +1 -0
- package/src/components/form/index.scss +2 -0
- package/src/components/form/mods.scss +0 -1
- package/src/components/grid/component.scss +2 -3
- package/src/components/grid/mods.scss +1 -0
- package/src/components/highlightData/component.scss +5 -3
- package/src/components/highlightData/mods.scss +1 -0
- package/src/components/horizontalNavigation/component.scss +1 -3
- package/src/components/horizontalNavigation/index.scss +1 -0
- package/src/components/horizontalNavigation/mods.scss +2 -2
- package/src/components/index.scss +3 -0
- package/src/components/indexTable/component.scss +6 -9
- package/src/components/indexTable/index.scss +2 -1
- package/src/components/indexTable/mods.scss +41 -16
- package/src/components/indexTable/states.scss +5 -0
- package/src/components/indexTable/vars.scss +3 -0
- package/src/components/inlineMessage/component.scss +16 -3
- package/src/components/link/mods.scss +8 -8
- package/src/components/list/mods.scss +1 -0
- package/src/components/loading/component.scss +1 -1
- package/src/components/loading/mods.scss +4 -0
- package/src/components/mobileNavigation/component.scss +3 -1
- package/src/components/multiSelect/component.scss +1 -0
- package/src/components/multiSelect/mods.scss +4 -1
- package/src/components/multiSelect/states.scss +1 -0
- package/src/components/navside/component.scss +0 -2
- package/src/components/notchBox/component.scss +2 -0
- package/src/components/notchBox/mods.scss +3 -0
- package/src/components/numericBadge/component.scss +1 -2
- package/src/components/pagination/component.scss +1 -1
- package/src/components/popover/component.scss +1 -0
- package/src/components/radio/component.scss +1 -1
- package/src/components/radioButtons/component.scss +9 -11
- package/src/components/radioField/component.scss +1 -0
- package/src/components/radioField/states.scss +1 -8
- package/src/components/segmentedControl/component.scss +3 -3
- package/src/components/simpleSelect/component.scss +1 -0
- package/src/components/skeleton/component.scss +1 -0
- package/src/components/skeleton/states.scss +3 -0
- package/src/components/sortableList/component.scss +1 -0
- package/src/components/statusBadge/component.scss +1 -1
- package/src/components/switchField/component.scss +3 -1
- package/src/components/table/mods.scss +0 -14
- package/src/components/tableSortable/mods.scss +4 -2
- package/src/components/tableSortable/states.scss +2 -2
- package/src/components/tableSticked/index.scss +2 -2
- package/src/components/tableSticked/mods.scss +16 -6
- package/src/components/tag/component.scss +0 -2
- package/src/components/textField/component.scss +1 -0
- package/src/components/textfields/component.scss +1 -1
- package/src/components/textfields/index.scss +2 -2
- package/src/components/textfields/mods.scss +3 -2
- package/src/components/textfields/states.scss +3 -4
- package/src/components/timeline/component.scss +3 -2
- package/src/components/timeline/index.scss +13 -3
- package/src/components/timeline/mods.scss +22 -8
- package/src/components/timepicker/component.scss +0 -1
- package/src/components/timepickerDeprecated/component.scss +3 -2
- package/src/components/title/component.scss +1 -0
- package/src/components/tooltip/component.scss +1 -0
- package/src/components/verticalNavigation/component.scss +5 -1
- package/src/components/verticalNavigation/states.scss +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/scss",
|
|
3
|
-
"version": "19.3.0-rc.
|
|
3
|
+
"version": "19.3.0-rc.4",
|
|
4
4
|
"description": "A Sass framework for Lucca products.",
|
|
5
5
|
"main": "src/main.scss",
|
|
6
6
|
"scripts": {},
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"normalize.css": "^8.0.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@lucca-front/icons": "19.3.0-rc.
|
|
26
|
+
"@lucca-front/icons": "19.3.0-rc.4"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/src/commons/base.scss
CHANGED
|
@@ -23,10 +23,16 @@
|
|
|
23
23
|
|
|
24
24
|
@mixin base($atRoot: namespace.$defaultAtRoot) {
|
|
25
25
|
@at-root ($atRoot) {
|
|
26
|
-
@
|
|
26
|
+
@if config.$fontFamily {
|
|
27
|
+
@include core.fontFace(config.$fontFamily, config.$fontWeights, config.$fontStyles);
|
|
28
|
+
}
|
|
27
29
|
|
|
28
30
|
@if config.$fontFamilyCursive {
|
|
29
|
-
@include core.fontFace(config.$fontFamilyCursive, config.$fontWeightsCursive);
|
|
31
|
+
@include core.fontFace(config.$fontFamilyCursive, config.$fontWeightsCursive, config.$fontStylesCursive);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@if config.$fontFamilyBrand {
|
|
35
|
+
@include core.fontFace(config.$fontFamilyBrand, config.$fontWeightsBrand, config.$fontStylesBrand);
|
|
30
36
|
}
|
|
31
37
|
|
|
32
38
|
*,
|
|
@@ -56,6 +62,7 @@
|
|
|
56
62
|
|
|
57
63
|
p {
|
|
58
64
|
margin: 0;
|
|
65
|
+
|
|
59
66
|
@if config.$deprecatedSpacings {
|
|
60
67
|
margin-block-end: var(--pr-t-spacings-150);
|
|
61
68
|
}
|
|
@@ -65,6 +72,7 @@
|
|
|
65
72
|
ol {
|
|
66
73
|
margin: 0;
|
|
67
74
|
padding-inline-start: var(--pr-t-spacings-400);
|
|
75
|
+
|
|
68
76
|
@if config.$deprecatedSpacings {
|
|
69
77
|
margin-block-end: var(--pr-t-spacings-150);
|
|
70
78
|
}
|
|
@@ -93,7 +101,7 @@
|
|
|
93
101
|
|
|
94
102
|
button {
|
|
95
103
|
&:focus-visible {
|
|
96
|
-
@include a11y.focusVisible
|
|
104
|
+
@include a11y.focusVisible;
|
|
97
105
|
}
|
|
98
106
|
}
|
|
99
107
|
|
package/src/commons/config.scss
CHANGED
|
@@ -13,12 +13,22 @@ $fontWeights: (
|
|
|
13
13
|
'bold': 700,
|
|
14
14
|
'black': 800,
|
|
15
15
|
) !default;
|
|
16
|
+
$fontStyles: ('normal') !default;
|
|
17
|
+
|
|
18
|
+
$fontFamilyBrand: false !default;
|
|
19
|
+
$fontWeightsBrand: (
|
|
20
|
+
'regular': 400,
|
|
21
|
+
'bold': 700,
|
|
22
|
+
'black': 800,
|
|
23
|
+
) !default;
|
|
24
|
+
$fontStylesBrand: ('normal', 'italic') !default;
|
|
16
25
|
|
|
17
26
|
$fontFamilyCursive: false !default;
|
|
18
27
|
$fontWeightsCursive: (
|
|
19
28
|
'regular': 400,
|
|
20
29
|
'bold': 700,
|
|
21
30
|
) !default;
|
|
31
|
+
$fontStylesCursive: ('normal') !default;
|
|
22
32
|
|
|
23
33
|
$product: 'brand' !default;
|
|
24
34
|
$palettesShades: text, 0, 25, 50, 100, 200, 300, 400, 500, 600, 700, 800, 900; // text is deprecated
|
|
@@ -573,7 +583,7 @@ $loading: (
|
|
|
573
583
|
|
|
574
584
|
$textLink: (
|
|
575
585
|
color: var(--palettes-product-700),
|
|
576
|
-
hover: var(--palettes-product-
|
|
586
|
+
hover: var(--palettes-product-800),
|
|
577
587
|
disabled: var(--palettes-neutral-500), // disabled token candidate
|
|
578
588
|
);
|
|
579
589
|
|
package/src/commons/core.scss
CHANGED
|
@@ -6,10 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
$contents: '100\\%', 'fit-content';
|
|
8
8
|
$boxModel: 'margin', 'padding', 'border';
|
|
9
|
-
$boxDirection:
|
|
10
|
-
|
|
11
|
-
$corners:
|
|
12
|
-
'', 'top-left-', 'top-right-', 'bottom-left-', 'bottom-right-', 'start-start-', 'start-end-', 'end-start-', 'end-end-'; // top-left, top-right, bottom-left and bottom-right are deprecated
|
|
9
|
+
$boxDirection: '', 'top', 'bottom', 'left', 'right', 'inline', 'block', 'block-start', 'block-end', 'inline-start', 'inline-end'; // top, bottom, left and right are deprecated
|
|
10
|
+
$corners: '', 'top-left-', 'top-right-', 'bottom-left-', 'bottom-right-', 'start-start-', 'start-end-', 'end-start-', 'end-end-'; // top-left, top-right, bottom-left and bottom-right are deprecated
|
|
13
11
|
$gaps: 'column-gap', 'row-gap', 'gap';
|
|
14
12
|
$displays: 'block', 'flex', 'grid', 'inline', 'inline-flex', 'inline-block', 'inline-grid', 'contents', 'none';
|
|
15
13
|
$direction: 'column', 'column-reverse', 'row', 'row-reverse';
|
|
@@ -127,16 +125,30 @@ $overflow: 'hidden', 'auto', 'visible', 'scroll';
|
|
|
127
125
|
}
|
|
128
126
|
}
|
|
129
127
|
|
|
130
|
-
@mixin fontFace($family, $weights, $path: '//cdn.lucca.fr/transverse/fonts'
|
|
128
|
+
@mixin fontFace($family, $weights, $styles, $path: '//cdn.lucca.fr/transverse/fonts') {
|
|
131
129
|
@each $keyword, $number in $weights {
|
|
132
|
-
@
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
130
|
+
@each $style in $styles {
|
|
131
|
+
@if $style == 'normal' {
|
|
132
|
+
@font-face {
|
|
133
|
+
font-family: '#{$family}';
|
|
134
|
+
src:
|
|
135
|
+
url('#{$path}/#{$family}/#{$keyword}.woff2') format('woff2'),
|
|
136
|
+
url('#{$path}/#{$family}/#{$keyword}.woff') format('woff');
|
|
137
|
+
font-weight: #{$number};
|
|
138
|
+
font-style: #{$style};
|
|
139
|
+
font-display: swap;
|
|
140
|
+
}
|
|
141
|
+
} @else {
|
|
142
|
+
@font-face {
|
|
143
|
+
font-family: '#{$family}';
|
|
144
|
+
src:
|
|
145
|
+
url('#{$path}/#{$family}/#{$keyword}-#{$style}.woff2') format('woff2'),
|
|
146
|
+
url('#{$path}/#{$family}/#{$keyword}-#{$style}.woff') format('woff');
|
|
147
|
+
font-weight: #{$number};
|
|
148
|
+
font-style: #{$style};
|
|
149
|
+
font-display: swap;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
140
152
|
}
|
|
141
153
|
}
|
|
142
154
|
}
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
@use 'sass:math';
|
|
3
3
|
@use '@lucca-front/scss/src/commons/config';
|
|
4
4
|
|
|
5
|
+
// stylelint-disable-next-line scss/no-global-function-names -- This is a redefinition of a deprecated SCSS function.
|
|
5
6
|
@function transparentize($color, $amount: 50%, $space: var(--commons-colorSpace, srgb)) {
|
|
6
7
|
@if math.unit($amount) != '%' {
|
|
7
8
|
$amount: $amount * 100%;
|
|
8
9
|
}
|
|
10
|
+
|
|
9
11
|
@return color-mix(in $space, $color $amount, transparent);
|
|
10
12
|
}
|
|
11
13
|
|
|
@@ -258,11 +258,11 @@
|
|
|
258
258
|
.u-noSpinButtons {
|
|
259
259
|
&::-webkit-outer-spin-button,
|
|
260
260
|
&::-webkit-inner-spin-button {
|
|
261
|
-
|
|
261
|
+
appearance: none !important;
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
&[type='number'] {
|
|
265
|
-
|
|
265
|
+
appearance: textfield !important;
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
268
|
|
|
@@ -274,6 +274,10 @@
|
|
|
274
274
|
font-family: var(--commons-font-family-cursive) !important;
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
+
.u-fontFamilyBrand {
|
|
278
|
+
font-family: var(--commons-font-family-brand) !important;
|
|
279
|
+
}
|
|
280
|
+
|
|
277
281
|
.pr-u-focusVisible {
|
|
278
282
|
&:focus-visible {
|
|
279
283
|
@include a11y.focusVisible;
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
margin: auto;
|
|
14
14
|
position: absolute;
|
|
15
15
|
border-style: solid;
|
|
16
|
-
|
|
17
16
|
animation-name: rotate;
|
|
18
17
|
animation-duration: var(--commons-loading-speed);
|
|
19
18
|
animation-timing-function: linear;
|
|
@@ -40,6 +39,7 @@
|
|
|
40
39
|
0% {
|
|
41
40
|
background-position: 100% 0%;
|
|
42
41
|
}
|
|
42
|
+
|
|
43
43
|
100% {
|
|
44
44
|
background-position: -100% 0%;
|
|
45
45
|
}
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
$breakpoint: pxToEm(map.get(config.$breakpoints, $breakpoint));
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
// stylelint-disable-next-line scss/at-rule-no-unknown
|
|
31
32
|
@#{$at} #{$name} #{$reversed} (min-#{$property}: #{$breakpoint}) {
|
|
32
33
|
@content;
|
|
33
34
|
}
|
|
@@ -55,11 +56,13 @@
|
|
|
55
56
|
$breakpoint1: $breakpointTmp;
|
|
56
57
|
}
|
|
57
58
|
|
|
59
|
+
// stylelint-disable scss/at-rule-no-unknown
|
|
58
60
|
@#{$at} #{$name} (min-#{$property}: #{$breakpoint1}) {
|
|
59
61
|
@#{$at} #{$name} #{$reversed} (min-#{$property}: #{$breakpoint2}) {
|
|
60
62
|
@content;
|
|
61
63
|
}
|
|
62
64
|
}
|
|
65
|
+
// stylelint-enable
|
|
63
66
|
}
|
|
64
67
|
|
|
65
68
|
// les raccourcis vers les requêtes pour min/max/between
|
|
@@ -123,6 +126,7 @@
|
|
|
123
126
|
}
|
|
124
127
|
|
|
125
128
|
@mixin pointer($query, $any: false, $reversed: false) {
|
|
129
|
+
// stylelint-disable-next-line scss/at-rule-no-unknown
|
|
126
130
|
@#{if($reversed, 'media not', 'media')} (#{if($any, 'any-', '')}pointer: #{$query}) {
|
|
127
131
|
@content;
|
|
128
132
|
}
|
package/src/commons/vars.scss
CHANGED
|
@@ -47,10 +47,18 @@
|
|
|
47
47
|
--commons-border-100: var(--palettes-neutral-100);
|
|
48
48
|
--commons-border-200: var(--palettes-neutral-200);
|
|
49
49
|
|
|
50
|
+
@if (config.$fontFamily) {
|
|
51
|
+
--commons-font-family: '#{config.$fontFamily}', Tahoma, sans-serif;
|
|
52
|
+
}
|
|
53
|
+
|
|
50
54
|
@if (config.$fontFamilyCursive) {
|
|
51
55
|
--commons-font-family-cursive: '#{config.$fontFamilyCursive}', cursive;
|
|
52
56
|
}
|
|
53
57
|
|
|
58
|
+
@if (config.$fontFamilyBrand) {
|
|
59
|
+
--commons-font-family-brand: '#{config.$fontFamilyBrand}', sans-serif;
|
|
60
|
+
}
|
|
61
|
+
|
|
54
62
|
// Deprecated
|
|
55
63
|
--commons-background-base: var(--palettes-neutral-25);
|
|
56
64
|
--commons-divider-color: var(--palettes-neutral-200);
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
6
6
|
|
|
7
7
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
8
|
-
property: value;
|
|
9
|
-
property: var(--components-sample-property1);
|
|
8
|
+
// property: value;
|
|
9
|
+
// property: var(--components-sample-property1);
|
|
10
10
|
|
|
11
11
|
@at-root ($atRoot) {
|
|
12
12
|
.sample-subComponent {
|
|
13
|
-
property: var(--components-sample-property2);
|
|
13
|
+
// property: var(--components-sample-property2);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -46,6 +46,11 @@
|
|
|
46
46
|
@mixin withArrow {
|
|
47
47
|
--components-box-border-radius: var(--commons-borderRadius-M);
|
|
48
48
|
--components-box-padding: var(--pr-t-spacings-200);
|
|
49
|
+
|
|
50
|
+
.box-arrow {
|
|
51
|
+
--components-box-arrow-bottom: 100%;
|
|
52
|
+
--components-box-arrow-left: var(--pr-t-spacings-75);
|
|
53
|
+
}
|
|
49
54
|
}
|
|
50
55
|
|
|
51
56
|
@mixin arrowS {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
&:hover {
|
|
58
58
|
--components-button-color: var(--palettes-0, var(--palettes-text, var(--palettes-product-0)));
|
|
59
|
-
--components-button-backgroundColor: var(--palettes-
|
|
59
|
+
--components-button-backgroundColor: var(--palettes-800, var(--palettes-product-800));
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&:focus-visible {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
&:active {
|
|
67
|
-
--components-button-backgroundColor: var(--palettes-
|
|
67
|
+
--components-button-backgroundColor: var(--palettes-900, var(--palettes-product-900));
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
&:disabled {
|
|
@@ -88,6 +88,7 @@
|
|
|
88
88
|
&::-webkit-scrollbar {
|
|
89
89
|
display: none;
|
|
90
90
|
}
|
|
91
|
+
|
|
91
92
|
&:focus-visible {
|
|
92
93
|
@include a11y.focusVisible;
|
|
93
94
|
}
|
|
@@ -228,6 +229,7 @@
|
|
|
228
229
|
&:disabled,
|
|
229
230
|
&[aria-disabled='true'] {
|
|
230
231
|
--components-calendar-table-body-row-cell-actionColor: var(--palettes-neutral-500);
|
|
232
|
+
|
|
231
233
|
text-decoration: line-through;
|
|
232
234
|
cursor: default;
|
|
233
235
|
}
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
|
|
83
83
|
&::before {
|
|
84
84
|
inset-inline-start: var(--pr-t-spacings-75);
|
|
85
|
+
|
|
85
86
|
--components-calendar-table-body-row-cellSelectedBeforeBorderRadius: var(--commons-borderRadius-L) 0 0 var(--commons-borderRadius-L);
|
|
86
87
|
}
|
|
87
88
|
}
|
|
@@ -91,6 +92,7 @@
|
|
|
91
92
|
|
|
92
93
|
&::before {
|
|
93
94
|
inset-inline-end: var(--pr-t-spacings-75);
|
|
95
|
+
|
|
94
96
|
--components-calendar-table-body-row-cellSelectedBeforeBorderRadius: 0 var(--commons-borderRadius-L) var(--commons-borderRadius-L) 0;
|
|
95
97
|
}
|
|
96
98
|
}
|
|
@@ -118,6 +120,7 @@
|
|
|
118
120
|
|
|
119
121
|
&::before {
|
|
120
122
|
inset-inline-end: 0;
|
|
123
|
+
|
|
121
124
|
--components-calendar-table-body-row-cellSelectedBeforeContent: '';
|
|
122
125
|
--components-calendar-table-body-row-cellSelectedBeforeBorderRadius: var(--commons-borderRadius-L) 0 0 var(--commons-borderRadius-L);
|
|
123
126
|
}
|
|
@@ -161,7 +164,6 @@
|
|
|
161
164
|
}
|
|
162
165
|
|
|
163
166
|
@mixin overflow {
|
|
164
|
-
.calendar-table-body-row-cell-action,
|
|
165
167
|
.calendar-table-body-row-cell-action {
|
|
166
168
|
--components-calendar-table-body-row-cell-actionColor: var(--palettes-neutral-600);
|
|
167
169
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
&:focus-visible {
|
|
22
|
-
@include a11y.focusVisible
|
|
22
|
+
@include a11y.focusVisible;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
@at-root ($atRoot) {
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
|
|
48
48
|
.calloutPopover-overlay-head-icon {
|
|
49
49
|
@include icon.M;
|
|
50
|
+
|
|
50
51
|
color: var(--palettes-700, var(--palettes-neutral-700));
|
|
51
52
|
}
|
|
52
53
|
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
position: relative;
|
|
7
7
|
inline-size: fit-content;
|
|
8
8
|
block-size: fit-content;
|
|
9
|
-
|
|
10
9
|
display: grid;
|
|
11
10
|
grid-template-areas: 'checkbox';
|
|
12
11
|
grid-template-columns: var(--component-checkboxField-size);
|
|
@@ -56,6 +55,8 @@
|
|
|
56
55
|
font-weight: 400;
|
|
57
56
|
font-size: var(--component-checkboxField-icon-fontSize);
|
|
58
57
|
direction: ltr;
|
|
58
|
+
|
|
59
|
+
// stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- This font is for icons and should not have fallback.
|
|
59
60
|
font-family: 'Lucca icons';
|
|
60
61
|
font-feature-settings: 'liga';
|
|
61
62
|
font-style: normal;
|
|
@@ -31,13 +31,6 @@
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
@mixin checkedHover {
|
|
35
|
-
~ .checkboxField-icon {
|
|
36
|
-
background-color: var(--palettes-product-600);
|
|
37
|
-
border-color: var(--palettes-product-600);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
34
|
@mixin checkedActive {
|
|
42
35
|
~ .checkboxField-icon {
|
|
43
36
|
background-color: var(--palettes-product-800);
|
|
@@ -84,7 +77,7 @@
|
|
|
84
77
|
@mixin focusVisible {
|
|
85
78
|
~ .checkboxField-icon {
|
|
86
79
|
&::after {
|
|
87
|
-
@include a11y.focusVisible
|
|
80
|
+
@include a11y.focusVisible;
|
|
88
81
|
}
|
|
89
82
|
}
|
|
90
83
|
}
|
|
@@ -78,6 +78,8 @@
|
|
|
78
78
|
.comment-content-text {
|
|
79
79
|
margin-block-end: 0;
|
|
80
80
|
overflow-wrap: break-word;
|
|
81
|
+
font-size: var(--components-comment-text-fontSize);
|
|
82
|
+
line-height: var(--components-comment-text-lineHeight);
|
|
81
83
|
}
|
|
82
84
|
|
|
83
85
|
// .comment-content-textContainer is deprecated
|
|
@@ -93,11 +95,6 @@
|
|
|
93
95
|
margin: 0;
|
|
94
96
|
}
|
|
95
97
|
}
|
|
96
|
-
|
|
97
|
-
.comment-content-text {
|
|
98
|
-
font-size: var(--components-comment-text-fontSize);
|
|
99
|
-
line-height: var(--components-comment-text-lineHeight);
|
|
100
|
-
}
|
|
101
98
|
}
|
|
102
99
|
}
|
|
103
100
|
|
|
@@ -110,6 +110,18 @@
|
|
|
110
110
|
|
|
111
111
|
:is(.dataTable-head-row-cell, .dataTable-body-row-cell, .dataTable-foot-row-cell) {
|
|
112
112
|
&.mod-stickyColumn {
|
|
113
|
+
position: sticky;
|
|
114
|
+
|
|
115
|
+
&:first-child {
|
|
116
|
+
inset-inline-start: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&:last-child {
|
|
120
|
+
inset-inline-end: 0;
|
|
121
|
+
|
|
122
|
+
--components-dataTable-cell-shadow: 0 1px inset var(--commons-border-200), 1px 0 var(--palettes-neutral-0); // white shadow is for Chrome
|
|
123
|
+
}
|
|
124
|
+
|
|
113
125
|
&:has(~ :is(.dataTable-body-row-cell, .dataTable-head-row-cell, .dataTable-foot-row-cell):not(.mod-stickyColumn)) {
|
|
114
126
|
transform: translateX(-1px);
|
|
115
127
|
|
|
@@ -139,21 +151,6 @@
|
|
|
139
151
|
}
|
|
140
152
|
}
|
|
141
153
|
}
|
|
142
|
-
|
|
143
|
-
:is(.dataTable-head-row-cell, .dataTable-body-row-cell, .dataTable-foot-row-cell) {
|
|
144
|
-
&.mod-stickyColumn {
|
|
145
|
-
position: sticky;
|
|
146
|
-
|
|
147
|
-
&:first-child {
|
|
148
|
-
inset-inline-start: 0;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
&:last-child {
|
|
152
|
-
inset-inline-end: 0;
|
|
153
|
-
--components-dataTable-cell-shadow: 0 1px inset var(--commons-border-200), 1px 0 var(--palettes-neutral-0); // white shadow is for Chrome
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
154
|
}
|
|
158
155
|
|
|
159
156
|
@mixin stickyColumnBorder {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
--components-dateRangeField-maxWidthDayS: 16.5rem;
|
|
8
8
|
--components-dateRangeField-maxWidthMonthS: 13.5rem; // 12.75rem;
|
|
9
|
-
--components-dateRangeField-maxWidthYearS: 10.25rem; //9.75rem;
|
|
9
|
+
--components-dateRangeField-maxWidthYearS: 10.25rem; // 9.75rem;
|
|
10
10
|
|
|
11
11
|
--components-dateRangeField-content-inlineStart: calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25));
|
|
12
12
|
--components-dateRangeField-content-width: calc(50% + var(--pr-t-spacings-300) + var(--pr-t-spacings-50));
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
--components-dialog-maxWidth: none;
|
|
42
42
|
--components-dialog-inset: auto 0 0 0;
|
|
43
43
|
--components-dialog-borderRadius: var(--commons-borderRadius-L) var(--commons-borderRadius-L) 0 0;
|
|
44
|
-
|
|
45
44
|
--components-dialog-width: 100%;
|
|
46
45
|
--components-dialog-height: fit-content;
|
|
47
46
|
|
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
|
|
39
39
|
.lucca-icon {
|
|
40
40
|
color: var(--palettes-neutral-600);
|
|
41
|
+
position: relative;
|
|
42
|
+
inset-block-end: var(--components-divider-iconBottom);
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
&:not(.mod-vertical) {
|
|
@@ -47,11 +49,6 @@
|
|
|
47
49
|
min-inline-size: var(--components-divider-minSize);
|
|
48
50
|
}
|
|
49
51
|
}
|
|
50
|
-
|
|
51
|
-
.lucca-icon {
|
|
52
|
-
position: relative;
|
|
53
|
-
inset-block-end: var(--components-divider-iconBottom);
|
|
54
|
-
}
|
|
55
52
|
}
|
|
56
53
|
|
|
57
54
|
.button {
|