@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.
Files changed (124) hide show
  1. package/dist/lucca-front.min.css +1 -1
  2. package/package.json +2 -2
  3. package/src/commons/base.scss +11 -3
  4. package/src/commons/config.scss +11 -1
  5. package/src/commons/core.scss +25 -13
  6. package/src/commons/utils/color.scss +2 -0
  7. package/src/commons/utils/index.scss +6 -2
  8. package/src/commons/utils/keyframe.scss +1 -0
  9. package/src/commons/utils/loading.scss +1 -1
  10. package/src/commons/utils/media.scss +4 -0
  11. package/src/commons/utils/reset.scss +1 -1
  12. package/src/commons/vars.scss +8 -0
  13. package/src/components/_sample/component.scss +3 -3
  14. package/src/components/avatar/component.scss +0 -1
  15. package/src/components/avatar/mods.scss +1 -0
  16. package/src/components/box/index.scss +4 -0
  17. package/src/components/box/mods.scss +5 -0
  18. package/src/components/button/component.scss +2 -2
  19. package/src/components/calendar/component.scss +2 -0
  20. package/src/components/calendar/states.scss +3 -1
  21. package/src/components/callout/component.scss +1 -1
  22. package/src/components/calloutAccordion/component.scss +1 -1
  23. package/src/components/calloutAccordion/mods.scss +0 -4
  24. package/src/components/calloutDisclosure/component.scss +1 -1
  25. package/src/components/calloutPopover/component.scss +2 -1
  26. package/src/components/card/mods.scss +1 -1
  27. package/src/components/checkbox/mods.scss +1 -0
  28. package/src/components/checkboxField/component.scss +2 -1
  29. package/src/components/checkboxField/states.scss +1 -8
  30. package/src/components/clear/component.scss +1 -1
  31. package/src/components/comment/component.scss +2 -5
  32. package/src/components/dataTable/mods.scss +0 -7
  33. package/src/components/dataTableSticked/mods.scss +12 -15
  34. package/src/components/dateRangeField/vars.scss +1 -1
  35. package/src/components/dialog/mods.scss +0 -1
  36. package/src/components/divider/component.scss +2 -5
  37. package/src/components/dropdown/component.scss +2 -1
  38. package/src/components/emptyState/component.scss +1 -0
  39. package/src/components/errorPage/component.scss +2 -0
  40. package/src/components/fancyBox/component.scss +2 -0
  41. package/src/components/fileEntry/component.scss +199 -0
  42. package/src/components/fileEntry/exports.scss +4 -0
  43. package/src/components/fileEntry/index.scss +34 -0
  44. package/src/components/fileEntry/mods.scss +39 -0
  45. package/src/components/fileEntry/states.scss +22 -0
  46. package/src/components/fileEntry/vars.scss +27 -0
  47. package/src/components/fileToolbar/component.scss +35 -0
  48. package/src/components/fileToolbar/exports.scss +4 -0
  49. package/src/components/fileToolbar/index.scss +14 -0
  50. package/src/components/fileToolbar/mods.scss +9 -0
  51. package/src/components/fileToolbar/states.scss +0 -0
  52. package/src/components/fileToolbar/vars.scss +5 -0
  53. package/src/components/fileUpload/component.scss +103 -0
  54. package/src/components/fileUpload/exports.scss +4 -0
  55. package/src/components/fileUpload/index.scss +46 -0
  56. package/src/components/fileUpload/mods.scss +24 -0
  57. package/src/components/fileUpload/states.scss +37 -0
  58. package/src/components/fileUpload/vars.scss +26 -0
  59. package/src/components/filterBar/mods.scss +2 -2
  60. package/src/components/filterBarDeprecated/component.scss +3 -0
  61. package/src/components/filterPill/component.scss +2 -1
  62. package/src/components/filterPill/states.scss +2 -3
  63. package/src/components/footer/component.scss +1 -0
  64. package/src/components/form/index.scss +2 -0
  65. package/src/components/form/mods.scss +0 -1
  66. package/src/components/grid/component.scss +2 -3
  67. package/src/components/grid/mods.scss +1 -0
  68. package/src/components/highlightData/component.scss +5 -3
  69. package/src/components/highlightData/mods.scss +1 -0
  70. package/src/components/horizontalNavigation/component.scss +1 -3
  71. package/src/components/horizontalNavigation/index.scss +1 -0
  72. package/src/components/horizontalNavigation/mods.scss +2 -2
  73. package/src/components/index.scss +3 -0
  74. package/src/components/indexTable/component.scss +6 -9
  75. package/src/components/indexTable/index.scss +2 -1
  76. package/src/components/indexTable/mods.scss +41 -16
  77. package/src/components/indexTable/states.scss +5 -0
  78. package/src/components/indexTable/vars.scss +3 -0
  79. package/src/components/inlineMessage/component.scss +16 -3
  80. package/src/components/link/mods.scss +8 -8
  81. package/src/components/list/mods.scss +1 -0
  82. package/src/components/loading/component.scss +1 -1
  83. package/src/components/loading/mods.scss +4 -0
  84. package/src/components/mobileNavigation/component.scss +3 -1
  85. package/src/components/multiSelect/component.scss +1 -0
  86. package/src/components/multiSelect/mods.scss +4 -1
  87. package/src/components/multiSelect/states.scss +1 -0
  88. package/src/components/navside/component.scss +0 -2
  89. package/src/components/notchBox/component.scss +2 -0
  90. package/src/components/notchBox/mods.scss +3 -0
  91. package/src/components/numericBadge/component.scss +1 -2
  92. package/src/components/pagination/component.scss +1 -1
  93. package/src/components/popover/component.scss +1 -0
  94. package/src/components/radio/component.scss +1 -1
  95. package/src/components/radioButtons/component.scss +9 -11
  96. package/src/components/radioField/component.scss +1 -0
  97. package/src/components/radioField/states.scss +1 -8
  98. package/src/components/segmentedControl/component.scss +3 -3
  99. package/src/components/simpleSelect/component.scss +1 -0
  100. package/src/components/skeleton/component.scss +1 -0
  101. package/src/components/skeleton/states.scss +3 -0
  102. package/src/components/sortableList/component.scss +1 -0
  103. package/src/components/statusBadge/component.scss +1 -1
  104. package/src/components/switchField/component.scss +3 -1
  105. package/src/components/table/mods.scss +0 -14
  106. package/src/components/tableSortable/mods.scss +4 -2
  107. package/src/components/tableSortable/states.scss +2 -2
  108. package/src/components/tableSticked/index.scss +2 -2
  109. package/src/components/tableSticked/mods.scss +16 -6
  110. package/src/components/tag/component.scss +0 -2
  111. package/src/components/textField/component.scss +1 -0
  112. package/src/components/textfields/component.scss +1 -1
  113. package/src/components/textfields/index.scss +2 -2
  114. package/src/components/textfields/mods.scss +3 -2
  115. package/src/components/textfields/states.scss +3 -4
  116. package/src/components/timeline/component.scss +3 -2
  117. package/src/components/timeline/index.scss +13 -3
  118. package/src/components/timeline/mods.scss +22 -8
  119. package/src/components/timepicker/component.scss +0 -1
  120. package/src/components/timepickerDeprecated/component.scss +3 -2
  121. package/src/components/title/component.scss +1 -0
  122. package/src/components/tooltip/component.scss +1 -0
  123. package/src/components/verticalNavigation/component.scss +5 -1
  124. 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.2",
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.2"
26
+ "@lucca-front/icons": "19.3.0-rc.4"
27
27
  }
28
28
  }
@@ -23,10 +23,16 @@
23
23
 
24
24
  @mixin base($atRoot: namespace.$defaultAtRoot) {
25
25
  @at-root ($atRoot) {
26
- @include core.fontFace(config.$fontFamily, config.$fontWeights);
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
 
@@ -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-600),
586
+ hover: var(--palettes-product-800),
577
587
  disabled: var(--palettes-neutral-500), // disabled token candidate
578
588
  );
579
589
 
@@ -6,10 +6,8 @@
6
6
 
7
7
  $contents: '100\\%', 'fit-content';
8
8
  $boxModel: 'margin', 'padding', 'border';
9
- $boxDirection:
10
- '', 'top', 'bottom', 'left', 'right', 'inline', 'block', 'block-start', 'block-end', 'inline-start', 'inline-end'; // top, bottom, left and right are deprecated
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', $style: normal) {
128
+ @mixin fontFace($family, $weights, $styles, $path: '//cdn.lucca.fr/transverse/fonts') {
131
129
  @each $keyword, $number in $weights {
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;
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
- -webkit-appearance: none !important;
261
+ appearance: none !important;
262
262
  }
263
263
 
264
264
  &[type='number'] {
265
- -moz-appearance: textfield !important;
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;
@@ -177,6 +177,7 @@
177
177
  0% {
178
178
  transform: rotate(0deg);
179
179
  }
180
+
180
181
  100% {
181
182
  transform: rotate(360deg);
182
183
  }
@@ -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
  }
@@ -37,7 +37,7 @@
37
37
  display: table #{$suffix};
38
38
  }
39
39
 
40
- &:after {
40
+ &::after {
41
41
  clear: both #{$suffix};
42
42
  }
43
43
  }
@@ -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
  }
@@ -60,7 +60,6 @@
60
60
 
61
61
  display: flex;
62
62
  text-decoration: none;
63
- color: var(--palettes-neutral-800);
64
63
  transition: transform var(--commons-animations-durations-fast);
65
64
  transform: scale(var(--components-avatarWrapper-scale));
66
65
  color: currentColor;
@@ -79,6 +79,7 @@
79
79
 
80
80
  &::before {
81
81
  @include icon.generate('people_person');
82
+
82
83
  color: var(--palettes-neutral-600);
83
84
  font-weight: 400;
84
85
  font-size: var(--components-avatar-placeholder-size);
@@ -19,3 +19,7 @@
19
19
  @include toggle;
20
20
  }
21
21
  }
22
+
23
+ .box-arrow {
24
+ @include arrow;
25
+ }
@@ -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-600, var(--palettes-product-600));
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-800, var(--palettes-product-800));
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
  }
@@ -24,7 +24,7 @@
24
24
  a,
25
25
  .link {
26
26
  --commons-text-link-color: var(--palettes-neutral-800);
27
- --commons-text-link-hover: var(--palettes-neutral-700);
27
+ --commons-text-link-hover: var(--palettes-neutral-900);
28
28
  }
29
29
 
30
30
  @at-root ($atRoot) {
@@ -14,7 +14,7 @@
14
14
  a,
15
15
  .link {
16
16
  --commons-text-link-color: var(--palettes-neutral-800);
17
- --commons-text-link-hover: var(--palettes-neutral-700);
17
+ --commons-text-link-hover: var(--palettes-neutral-900);
18
18
  }
19
19
 
20
20
  @at-root ($atRoot) {
@@ -20,10 +20,6 @@
20
20
  @include icon.S;
21
21
  }
22
22
 
23
- .calloutAccordion-details {
24
- margin-inline-start: 2.75rem;
25
- }
26
-
27
23
  .calloutFeedbackList {
28
24
  @include calloutFeedbackList.S;
29
25
  }
@@ -12,7 +12,7 @@
12
12
  a,
13
13
  .link {
14
14
  --commons-text-link-color: var(--palettes-neutral-800);
15
- --commons-text-link-hover: var(--palettes-neutral-700);
15
+ --commons-text-link-hover: var(--palettes-neutral-900);
16
16
  }
17
17
 
18
18
  @at-root ($atRoot) {
@@ -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
 
@@ -16,7 +16,7 @@
16
16
  }
17
17
 
18
18
  &:focus-visible {
19
- @include a11y.focusVisible();
19
+ @include a11y.focusVisible;
20
20
  }
21
21
  }
22
22
 
@@ -6,6 +6,7 @@
6
6
 
7
7
  @mixin S {
8
8
  --components-checkbox-input-size: 1rem;
9
+
9
10
  line-height: var(--sizes-S-lineHeight);
10
11
 
11
12
  .checkbox-label {
@@ -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
  }
@@ -46,7 +46,7 @@
46
46
  --components-clear-background: var(--palettes-neutral-800);
47
47
  }
48
48
 
49
- //to prevent breaking change. lucca-icon is no longer needed.
49
+ // to prevent breaking change. lucca-icon is no longer needed.
50
50
  .lucca-icon {
51
51
  display: none;
52
52
  }
@@ -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
 
@@ -87,13 +87,6 @@
87
87
  text-align: end;
88
88
  white-space: nowrap;
89
89
 
90
- &:is(.dataTable-head-row-cell) {
91
- .button {
92
- position: relative;
93
- inset-block-end: var(--pr-t-spacings-50);
94
- }
95
- }
96
-
97
90
  .button {
98
91
  @include button.S;
99
92
  @include button.onlyIcon;
@@ -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 {
@@ -56,6 +56,7 @@
56
56
 
57
57
  .lucca-icon {
58
58
  @include icon.S;
59
+
59
60
  margin-block-start: var(--pr-t-spacings-25);
60
61
  }
61
62
 
@@ -74,7 +75,7 @@
74
75
  }
75
76
 
76
77
  &:focus-visible {
77
- @include a11y.focusVisible();
78
+ @include a11y.focusVisible;
78
79
  }
79
80
  }
80
81
  }
@@ -48,6 +48,7 @@
48
48
  @include title.h3;
49
49
 
50
50
  margin-block-end: var(--pr-t-spacings-50);
51
+
51
52
  @if config.$deprecatedSpacings {
52
53
  margin-block-end: 0;
53
54
  }