@lucca-front/scss 21.1.2 → 21.2.0-rc.1

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 (156) hide show
  1. package/dist/lucca-front.min.css +1 -1
  2. package/package.json +3 -3
  3. package/src/commons/base.scss +25 -1
  4. package/src/commons/config.scss +30 -21
  5. package/src/commons/index.scss +2 -2
  6. package/src/commons/utils/a11y.scss +1 -1
  7. package/src/commons/utils/highlight-prisme.scss +4 -1
  8. package/src/commons/utils/index.scss +7 -8
  9. package/src/commons/utils/media.scss +9 -9
  10. package/src/commons/utils/namespace.scss +1 -0
  11. package/src/commons/utils/overflow.scss +2 -3
  12. package/src/commons/utils/reset.scss +0 -1
  13. package/src/commons/vars.scss +24 -10
  14. package/src/components/activityFeed/component.scss +76 -0
  15. package/src/components/activityFeed/exports.scss +4 -0
  16. package/src/components/activityFeed/index.scss +29 -0
  17. package/src/components/activityFeed/mods.scss +0 -0
  18. package/src/components/activityFeed/states.scss +7 -0
  19. package/src/components/activityFeed/vars.scss +4 -0
  20. package/src/components/appLayout/component.scss +0 -1
  21. package/src/components/appLayout/mods.scss +8 -8
  22. package/src/components/appLayout/vars.scss +5 -5
  23. package/src/components/avatar/mods.scss +0 -1
  24. package/src/components/breadcrumbs/component.scss +2 -1
  25. package/src/components/breadcrumbs/index.scss +3 -2
  26. package/src/components/breadcrumbs/mods.scss +2 -1
  27. package/src/components/bubbleIcon/index.scss +0 -2
  28. package/src/components/bubbleIllustration/component.scss +0 -1
  29. package/src/components/bubbleIllustration/states.scss +0 -1
  30. package/src/components/button/index.scss +19 -18
  31. package/src/components/button/mods.scss +24 -6
  32. package/src/components/button/states.scss +3 -1
  33. package/src/components/calendar/component.scss +4 -5
  34. package/src/components/calendar/index.scss +0 -1
  35. package/src/components/callout/index.scss +0 -1
  36. package/src/components/calloutAccordion/states.scss +3 -3
  37. package/src/components/calloutDisclosure/mods.scss +1 -1
  38. package/src/components/calloutDisclosure/states.scss +3 -3
  39. package/src/components/calloutDisclosure/vars.scss +2 -2
  40. package/src/components/calloutFeedbackList/vars.scss +2 -2
  41. package/src/components/calloutPopover/component.scss +0 -1
  42. package/src/components/checkboxField/component.scss +1 -1
  43. package/src/components/checkboxField/mods.scss +4 -3
  44. package/src/components/checkboxField/states.scss +0 -1
  45. package/src/components/color/component.scss +1 -1
  46. package/src/components/color/index.scss +2 -2
  47. package/src/components/color/states.scss +1 -1
  48. package/src/components/color/vars.scss +1 -1
  49. package/src/components/comment/component.scss +4 -1
  50. package/src/components/comment/index.scss +4 -2
  51. package/src/components/comment/mods.scss +4 -1
  52. package/src/components/dataTable/index.scss +1 -1
  53. package/src/components/dataTable/mods.scss +6 -4
  54. package/src/components/dataTableSticked/mods.scss +3 -1
  55. package/src/components/dialog/component.scss +48 -17
  56. package/src/components/dialog/index.scss +12 -3
  57. package/src/components/dialog/mods.scss +46 -7
  58. package/src/components/dialog/vars.scss +16 -2
  59. package/src/components/dropdown/component.scss +9 -9
  60. package/src/components/dropdown/index.scss +6 -6
  61. package/src/components/emptyState/component.scss +21 -6
  62. package/src/components/emptyState/index.scss +15 -0
  63. package/src/components/emptyState/mods.scss +20 -2
  64. package/src/components/emptyState/vars.scss +16 -16
  65. package/src/components/fancyBox/vars.scss +3 -3
  66. package/src/components/field/mods.scss +6 -4
  67. package/src/components/fieldset/index.scss +0 -1
  68. package/src/components/filterBarDeprecated/component.scss +1 -0
  69. package/src/components/filterBarDeprecated/index.scss +1 -0
  70. package/src/components/filterPill/component.scss +1 -1
  71. package/src/components/footer/component.scss +4 -3
  72. package/src/components/footer/mods.scss +8 -0
  73. package/src/components/footer/vars.scss +4 -0
  74. package/src/components/form/index.scss +5 -8
  75. package/src/components/form/mods.scss +10 -11
  76. package/src/components/gauge/vars.scss +2 -3
  77. package/src/components/header/component.scss +1 -1
  78. package/src/components/header/mods.scss +5 -0
  79. package/src/components/header/vars.scss +1 -0
  80. package/src/components/highlightData/mods.scss +4 -3
  81. package/src/components/highlightData/vars.scss +4 -3
  82. package/src/components/horizontalNavigation/component.scss +14 -16
  83. package/src/components/horizontalNavigation/index.scss +14 -18
  84. package/src/components/horizontalNavigation/mods.scss +30 -28
  85. package/src/components/horizontalNavigation/states.scss +4 -4
  86. package/src/components/horizontalNavigation/vars.scss +2 -1
  87. package/src/components/index.scss +1 -1
  88. package/src/components/indexTable/component.scss +21 -10
  89. package/src/components/indexTable/mods.scss +21 -13
  90. package/src/components/indexTable/states.scss +3 -3
  91. package/src/components/indexTable/vars.scss +4 -3
  92. package/src/components/inputFramed/index.scss +1 -1
  93. package/src/components/inputFramed/states.scss +0 -1
  94. package/src/components/label/index.scss +1 -0
  95. package/src/components/layout/component.scss +6 -6
  96. package/src/components/layout/mods.scss +2 -2
  97. package/src/components/link/component.scss +30 -6
  98. package/src/components/link/index.scss +16 -4
  99. package/src/components/link/mods.scss +11 -54
  100. package/src/components/link/states.scss +10 -2
  101. package/src/components/link/vars.scss +6 -0
  102. package/src/components/listboxOption/index.scss +15 -15
  103. package/src/components/listboxOption/mods.scss +3 -4
  104. package/src/components/listboxOption/states.scss +12 -13
  105. package/src/components/listing/component.scss +24 -1
  106. package/src/components/listing/index.scss +4 -0
  107. package/src/components/listing/mods.scss +18 -7
  108. package/src/components/listing/vars.scss +5 -1
  109. package/src/components/mobilePush/component.scss +1 -1
  110. package/src/components/navside/index.scss +3 -0
  111. package/src/components/navside/states.scss +2 -1
  112. package/src/components/notchBox/component.scss +30 -26
  113. package/src/components/notchBox/mods.scss +119 -77
  114. package/src/components/numericBadge/component.scss +0 -1
  115. package/src/components/numericBadge/mods.scss +10 -0
  116. package/src/components/pageHeader/mods.scss +4 -4
  117. package/src/components/pagination/mods.scss +2 -2
  118. package/src/components/presentation/index.scss +0 -1
  119. package/src/components/progress/vars.scss +6 -5
  120. package/src/components/readMore/component.scss +6 -5
  121. package/src/components/resourceCard/mods.scss +20 -18
  122. package/src/components/resourceCard/states.scss +2 -3
  123. package/src/components/resourceCard/vars.scss +4 -3
  124. package/src/components/richText/index.scss +0 -1
  125. package/src/components/scrollBox/component.scss +4 -2
  126. package/src/components/segmentedControl/component.scss +4 -2
  127. package/src/components/segmentedControl/index.scss +1 -0
  128. package/src/components/segmentedControl/states.scss +0 -2
  129. package/src/components/skeleton/mods.scss +15 -8
  130. package/src/components/skeleton/states.scss +15 -21
  131. package/src/components/softwareIcon/component.scss +0 -1
  132. package/src/components/sortableList/index.scss +3 -3
  133. package/src/components/sortableList/vars.scss +4 -4
  134. package/src/components/statusBadge/component.scss +0 -1
  135. package/src/components/switch/states.scss +6 -3
  136. package/src/components/switchField/vars.scss +4 -4
  137. package/src/components/tableOfContent/component.scss +2 -1
  138. package/src/components/tableOfContent/index.scss +2 -1
  139. package/src/components/tableSortable/index.scss +1 -1
  140. package/src/components/tableSticked/mods.scss +16 -9
  141. package/src/components/tableStickedDeprecated/mods.scss +12 -6
  142. package/src/components/tag/component.scss +4 -0
  143. package/src/components/textField/component.scss +2 -0
  144. package/src/components/textField/mods.scss +0 -1
  145. package/src/components/textfields/index.scss +0 -1
  146. package/src/components/textfields/mods.scss +12 -7
  147. package/src/components/textfields/states.scss +6 -5
  148. package/src/components/timeline/mods.scss +35 -31
  149. package/src/components/timepicker/component.scss +1 -1
  150. package/src/components/timepickerDeprecated/vars.scss +3 -3
  151. package/src/components/title/mods.scss +2 -2
  152. package/src/components/titleSection/component.scss +2 -2
  153. package/src/components/toast/vars.scss +1 -1
  154. package/src/components/userTile/mods.scss +25 -25
  155. package/src/components/userTile/vars.scss +5 -5
  156. package/src/components/verticalNavigation/vars.scss +3 -3
@@ -20,7 +20,7 @@
20
20
  inset: auto 0 0;
21
21
  }
22
22
 
23
- // .label is deprecated
23
+ // stylelint-disable-next-line selector-disallowed-list -- .label is deprecated
24
24
  .label {
25
25
  margin-inline-end: 0;
26
26
  background-color: var(--palettes-neutral-100);
@@ -28,16 +28,16 @@
28
28
  }
29
29
 
30
30
  @at-root ($atRoot) {
31
- // .menu-containerOptional is deprecated
32
- .horizontalNavigation-containerOptional,
33
- .menu-containerOptional {
31
+ // stylelint-disable-next-line selector-disallowed-list -- .menu-containerOptional is deprecated
32
+ .menu-containerOptional,
33
+ .horizontalNavigation-containerOptional {
34
34
  max-inline-size: var(--commons-container-maxWidth);
35
35
  padding: var(--commons-container-padding);
36
36
  }
37
37
 
38
- // .menu-list is deprecated
39
- .horizontalNavigation-list,
40
- .menu-list {
38
+ // stylelint-disable-next-line selector-disallowed-list -- .menu-list is deprecated
39
+ .menu-list,
40
+ .horizontalNavigation-list {
41
41
  @include reset.list;
42
42
 
43
43
  align-items: var(--components-horizontalNavigation-listAlign);
@@ -52,11 +52,9 @@
52
52
  }
53
53
  }
54
54
 
55
- // .menu-link is deprecated
56
- // .menu-list-item-action is deprecated
57
- .horizontalNavigation-list-item-action,
58
- .menu-list-item-action,
59
- .menu-link {
55
+ .menu-link, // stylelint-disable-line selector-disallowed-list -- .menu-list is deprecated
56
+ .menu-list-item-action, // stylelint-disable-line selector-disallowed-list -- .menu-link-item-action is deprecated
57
+ .horizontalNavigation-list-item-action {
60
58
  @include reset.button;
61
59
 
62
60
  font: var(--components-horizontalNavigation-listItemActionFont);
@@ -112,7 +110,7 @@
112
110
  color: var(--palettes-neutral-900);
113
111
  }
114
112
 
115
- // .label is deprecated
113
+ // stylelint-disable-next-line selector-disallowed-list -- .label is deprecated
116
114
  .label {
117
115
  background-color: var(--palettes-100, var(--palettes-product-100));
118
116
  color: var(--palettes-700, var(--palettes-product-700));
@@ -129,9 +127,9 @@
129
127
  }
130
128
  }
131
129
 
132
- // .menu-link-placeholder is deprecated
133
- .horizontalNavigation-link-placeholder,
134
- .menu-link-placeholder {
130
+ // stylelint-disable-next-line selector-disallowed-list -- .menu-link-placeholder is deprecated
131
+ .menu-link-placeholder,
132
+ .horizontalNavigation-link-placeholder {
135
133
  &::after {
136
134
  content: attr(data-content-after);
137
135
  display: block;
@@ -1,8 +1,8 @@
1
1
  @use 'exports' as *;
2
2
 
3
- // .menu is deprecated
4
- .horizontalNavigation,
5
- .menu {
3
+ // stylelint-disable-next-line selector-disallowed-list -- .menu is deprecated
4
+ .menu,
5
+ .horizontalNavigation {
6
6
  @layer components {
7
7
  @include vars;
8
8
  @include component;
@@ -24,9 +24,9 @@
24
24
  &.mod-vertical {
25
25
  @include vertical;
26
26
 
27
- // .menu-list-item-action is deprecated
28
- .horizontalNavigation-list-item-action,
29
- .menu-list-item-action {
27
+ // stylelint-disable-next-line selector-disallowed-list -- .menu-list-item-action is deprecated
28
+ .menu-list-item-action,
29
+ .horizontalNavigation-list-item-action {
30
30
  &[aria-current='page'],
31
31
  &.is-active {
32
32
  @include activeVertical;
@@ -40,24 +40,20 @@
40
40
  }
41
41
  }
42
42
 
43
- // .menu-link is deprecated
44
- // .menu-list-item-action is deprecated
45
- .horizontalNavigation-list-item-action,
46
- .menu-link,
47
- .menu-list-item-action {
43
+ .menu-link, // stylelint-disable-line selector-disallowed-list -- .menu-link is deprecated
44
+ .menu-list-item-action, // stylelint-disable-line selector-disallowed-list -- .menu-list-item-action is deprecated
45
+ .horizontalNavigation-list-item-action {
48
46
  @layer mods {
49
47
  // .active is deprecated
48
+ &.active,
50
49
  &[aria-current='page'],
51
- &.is-active,
52
- &.active {
50
+ &.is-active {
53
51
  @include active;
54
52
  }
55
53
 
56
- // .disabled is deprecated
57
- // [disabled] is deprecated
58
- &.is-disabled,
59
- &.disabled,
60
- &[disabled] {
54
+ &.disabled, // .disabled is deprecated
55
+ &[disabled], // [disabled] is deprecated
56
+ &.is-disabled {
61
57
  @include disabled;
62
58
  }
63
59
  }
@@ -5,11 +5,9 @@
5
5
  }
6
6
 
7
7
  @mixin S {
8
- // .menu-link is deprecated
9
- // .menu-list-item-action is deprecated
10
- .horizontalNavigation-list-item-action,
11
- .menu-list-item-action,
12
- .menu-link {
8
+ .menu-list-item-action, // stylelint-disable-line selector-disallowed-list -- .menu-list-item-action is deprecated
9
+ .menu-link, // stylelint-disable-line selector-disallowed-list -- .menu-link is deprecated
10
+ .horizontalNavigation-list-item-action {
13
11
  --components-horizontalNavigation-listItemActionFont: var(--pr-t-font-body-S);
14
12
  --components-horizontalNavigation-listItemActionPadding: var(--pr-t-spacings-150) 0;
15
13
 
@@ -19,12 +17,12 @@
19
17
  }
20
18
  }
21
19
 
22
- // .menu-link is deprecated
20
+ // stylelint-disable-next-line selector-disallowed-list -- .menu-link is deprecated
23
21
  .menu-link {
24
22
  margin-inline-end: var(--pr-t-spacings-300);
25
23
  }
26
24
 
27
- // .label is deprecated
25
+ // stylelint-disable-next-line selector-disallowed-list -- .label is deprecated
28
26
  .label {
29
27
  block-size: var(--pr-t-font-body-S-lineHeight);
30
28
  min-inline-size: var(--pr-t-font-body-S-lineHeight);
@@ -46,27 +44,29 @@
46
44
  @mixin vertical {
47
45
  @include noBorder;
48
46
 
49
- // .menu-list is deprecated
50
- .horizontalNavigation-list,
51
- .menu-list {
47
+ // stylelint-disable-next-line selector-disallowed-list -- .menu-list is deprecated
48
+ .menu-list,
49
+ .horizontalNavigation-list {
52
50
  --components-horizontalNavigation-listDirection: column;
53
51
  --components-horizontalNavigation-listGap: 0;
54
52
  --components-horizontalNavigation-listAlign: stretch;
55
53
  }
56
54
 
57
- // .menu-list-item-action is deprecated
58
- .horizontalNavigation-list-item-action,
59
- .menu-list-item-action {
55
+ // stylelint-disable-next-line selector-disallowed-list -- .menu-list-item-action is deprecated
56
+ .menu-list-item-action,
57
+ .horizontalNavigation-list-item-action {
60
58
  --components-horizontalNavigation-listItemActionPadding: var(--pr-t-spacings-50) var(--pr-t-spacings-200);
61
59
  --components-horizontalNavigation-listItemActionAlign: left;
62
60
 
63
61
  &::before {
64
- inset-block: calc(
65
- var(--components-horizontalNavigation-listItemActionPaddingBlock) - var(--pr-t-spacings-150) - var(--pr-t-spacings-25)
66
- );
67
- inset-inline: calc(
68
- var(--components-horizontalNavigation-listItemActionPaddingInline) + var(--pr-t-spacings-150) + var(--pr-t-spacings-25)
69
- );
62
+ inset-block:
63
+ calc(
64
+ var(--components-horizontalNavigation-listItemActionPaddingBlock) - var(--pr-t-spacings-150) - var(--pr-t-spacings-25)
65
+ );
66
+ inset-inline:
67
+ calc(
68
+ var(--components-horizontalNavigation-listItemActionPaddingInline) + var(--pr-t-spacings-150) + var(--pr-t-spacings-25)
69
+ );
70
70
  }
71
71
 
72
72
  &::after {
@@ -89,18 +89,20 @@
89
89
  }
90
90
 
91
91
  @mixin verticalS {
92
- // .menu-list-item-action is deprecated
93
- .horizontalNavigation-list-item-action,
94
- .menu-list-item-action {
92
+ // stylelint-disable-next-line selector-disallowed-list -- .menu-list-item-action is deprecated
93
+ .menu-list-item-action,
94
+ .horizontalNavigation-list-item-action {
95
95
  --components-horizontalNavigation-listItemActionPadding: var(--pr-t-spacings-50) var(--pr-t-spacings-150);
96
96
 
97
97
  &::before {
98
- inset-block: calc(
99
- var(--components-horizontalNavigation-listItemActionPaddingBlock) - var(--pr-t-spacings-150) - var(--pr-t-spacings-25)
100
- );
101
- inset-inline: calc(
102
- var(--components-horizontalNavigation-listItemActionPaddingInline) + var(--pr-t-spacings-100) + var(--pr-t-spacings-25)
103
- );
98
+ inset-block:
99
+ calc(
100
+ var(--components-horizontalNavigation-listItemActionPaddingBlock) - var(--pr-t-spacings-150) - var(--pr-t-spacings-25)
101
+ );
102
+ inset-inline:
103
+ calc(
104
+ var(--components-horizontalNavigation-listItemActionPaddingInline) + var(--pr-t-spacings-100) + var(--pr-t-spacings-25)
105
+ );
104
106
  }
105
107
  }
106
108
  }
@@ -3,7 +3,7 @@
3
3
  @mixin active {
4
4
  --components-horizontalNavigation-listItemActionColor: var(--palettes-700, var(--palettes-product-700));
5
5
 
6
- // .label is deprecated
6
+ // stylelint-disable-next-line selector-disallowed-list -- .label is deprecated
7
7
  .label {
8
8
  background-color: var(--palettes-100, var(--palettes-product-100));
9
9
  color: var(--palettes-700, var(--palettes-product-700));
@@ -25,9 +25,9 @@
25
25
  }
26
26
 
27
27
  @mixin disabled {
28
- // .label is deprecated
29
- &,
30
- .label {
28
+ // stylelint-disable-next-line selector-disallowed-list -- .label is deprecated
29
+ .label,
30
+ & {
31
31
  color: var(--palettes-neutral-500); // disabled token candidate
32
32
  pointer-events: none;
33
33
  }
@@ -3,7 +3,8 @@
3
3
  --components-horizontalNavigation-listPadding: 0;
4
4
  --components-horizontalNavigation-listItemActionPaddingBlock: var(--pr-t-spacings-200);
5
5
  --components-horizontalNavigation-listItemActionPaddingInline: 0px;
6
- --components-horizontalNavigation-listItemActionPadding: var(--components-horizontalNavigation-listItemActionPaddingBlock)
6
+ --components-horizontalNavigation-listItemActionPadding:
7
+ var(--components-horizontalNavigation-listItemActionPaddingBlock)
7
8
  var(--components-horizontalNavigation-listItemActionPaddingInline);
8
9
  --components-horizontalNavigation-listGap: 0 var(--pr-t-spacings-400);
9
10
  --components-horizontalNavigation-listDirection: row;
@@ -115,8 +115,8 @@
115
115
  @forward 'bubbleIllustration';
116
116
  @forward 'bubbleIcon';
117
117
  @forward 'softwareIcon';
118
+ @forward 'activityFeed';
118
119
 
119
120
  @forward 'filterBarDeprecated';
120
121
  @forward 'tableFixedDeprecated';
121
122
  @forward 'tableStickedDeprecated';
122
-
@@ -123,7 +123,8 @@
123
123
  // Apparence of the nexts cells
124
124
  ~ .indexTable-body-row-cell {
125
125
  --components-indexTable-cell-inset-x-left: 0px;
126
- --components-indexTable-shadow-mask: calc(var(--pr-t-spacings-100) * -1) 0px 0px 0px
126
+ --components-indexTable-shadow-mask:
127
+ calc(var(--pr-t-spacings-100) * -1) 0px 0px 0px
127
128
  var(--components-indexTable-cell-background-color, var(--components-indexTable-cell-background-color-default));
128
129
  --components-indexTable-cell-border-radius-left: 0;
129
130
  --components-indexTable-outline-border-radius-left: 0;
@@ -148,27 +149,38 @@
148
149
 
149
150
  // The "card" apparence is put on a ::before pseudo element
150
151
  &::before {
151
- inset: var(--components-indexTable-cell-inset-y, 0) var(--components-indexTable-cell-inset-x-right, 0)
152
- var(--components-indexTable-cell-inset-y, 0) var(--components-indexTable-cell-inset-x-left, 0);
153
- border-radius: var(--components-indexTable-cell-border-radius-left) var(--components-indexTable-cell-border-radius-right)
154
- var(--components-indexTable-cell-border-radius-right) var(--components-indexTable-cell-border-radius-left);
152
+ inset:
153
+ var(--components-indexTable-cell-inset-y, 0)
154
+ var(--components-indexTable-cell-inset-x-right, 0)
155
+ var(--components-indexTable-cell-inset-y, 0)
156
+ var(--components-indexTable-cell-inset-x-left, 0);
157
+ border-radius:
158
+ var(--components-indexTable-cell-border-radius-left)
159
+ var(--components-indexTable-cell-border-radius-right)
160
+ var(--components-indexTable-cell-border-radius-right)
161
+ var(--components-indexTable-cell-border-radius-left);
155
162
  background-color: var(--components-indexTable-cell-background-color, var(--components-indexTable-cell-background-color-default));
156
163
 
157
164
  // shadow-mask : since the card apparence is put on every cell (du to a Safari bug), we need to hide the left part of the box shadow for everycell exept the first one.
158
165
  // We do this with a rectangular white box-shadow above it.
159
- box-shadow: var(--components-indexTable-shadow-mask, 0 0 0 0),
166
+ box-shadow:
167
+ var(--components-indexTable-shadow-mask, 0 0 0 0),
160
168
  var(--components-indexTable-cell-shadow, var(--components-indexTable-cell-shadow-default));
161
169
  transition-property: inset, box-shadow, background-color;
162
170
  }
163
171
 
164
172
  // The focus outline, when needed
165
173
  &::after {
166
- inset: calc(var(--components-indexTable-cell-inset-y, 0px) - var(--components-indexTable-outline-offset))
174
+ inset:
175
+ calc(var(--components-indexTable-cell-inset-y, 0px) - var(--components-indexTable-outline-offset))
167
176
  calc(var(--components-indexTable-cell-inset-x-right, 0px) - var(--components-indexTable-outline-offset))
168
177
  calc(var(--components-indexTable-cell-inset-y, 0px) - var(--components-indexTable-outline-offset))
169
178
  calc(var(--components-indexTable-cell-inset-x-left, 0px) - var(--components-indexTable-outline-offset));
170
- border-radius: var(--components-indexTable-outline-border-radius-left) var(--components-indexTable-outline-border-radius-right)
171
- var(--components-indexTable-outline-border-radius-right) var(--components-indexTable-outline-border-radius-left);
179
+ border-radius:
180
+ var(--components-indexTable-outline-border-radius-left)
181
+ var(--components-indexTable-outline-border-radius-right)
182
+ var(--components-indexTable-outline-border-radius-right)
183
+ var(--components-indexTable-outline-border-radius-left);
172
184
  border-block-width: var(--components-indexTable-outline-border-width);
173
185
  border-inline-width: var(--components-indexTable-outline-border-width-left) var(--components-indexTable-outline-border-width-right);
174
186
  border-style: solid;
@@ -224,7 +236,6 @@
224
236
  font-weight: var(--pr-t-font-fontWeight-semibold);
225
237
  }
226
238
 
227
-
228
239
  .indexTable-body-row-cellTitle-title {
229
240
  font-weight: var(--pr-t-font-fontWeight-semibold);
230
241
  }
@@ -39,9 +39,11 @@
39
39
  border-block-end: var(--components-indexTable-row-stack-border-bottom) solid transparent;
40
40
 
41
41
  // stack apparence
42
- background-image: var(--components-indexTable-row-stack2-background-image, none),
42
+ background-image:
43
+ var(--components-indexTable-row-stack2-background-image, none),
43
44
  var(--components-indexTable-row-stack3-background-image, none);
44
- background-position: var(--components-indexTable-row-stack2-background-position, 0 0),
45
+ background-position:
46
+ var(--components-indexTable-row-stack2-background-position, 0 0),
45
47
  var(--components-indexTable-row-stack3-background-position, 0 0);
46
48
  background-repeat: no-repeat, no-repeat;
47
49
  transition-property: background-image, background-position;
@@ -49,9 +51,11 @@
49
51
 
50
52
  // apparence of the first cell with a card apparence.
51
53
  // we do this because there migh be one or two cells before without background and containing a checkbox
52
- --components-indexTable-row-stack2-background-position: left calc(-2px + var(--components-indexTable-cell-inset-x-left, 0px))
54
+ --components-indexTable-row-stack2-background-position:
55
+ left calc(-2px + var(--components-indexTable-cell-inset-x-left, 0px))
53
56
  bottom -10px;
54
- --components-indexTable-row-stack3-background-position: left calc(1px + var(--components-indexTable-cell-inset-x-left, 0px))
57
+ --components-indexTable-row-stack3-background-position:
58
+ left calc(1px + var(--components-indexTable-cell-inset-x-left, 0px))
55
59
  bottom -14px;
56
60
 
57
61
  // apparence of the nexts cells
@@ -62,9 +66,11 @@
62
66
 
63
67
  // apparence of the last cell with a card apparence
64
68
  &:last-child {
65
- --components-indexTable-row-stack2-background-position: right calc(-2px + var(--components-indexTable-cell-inset-x-right, 0px))
69
+ --components-indexTable-row-stack2-background-position:
70
+ right calc(-2px + var(--components-indexTable-cell-inset-x-right, 0px))
66
71
  bottom -10px;
67
- --components-indexTable-row-stack3-background-position: right calc(1px + var(--components-indexTable-cell-inset-x-right, 0px))
72
+ --components-indexTable-row-stack3-background-position:
73
+ right calc(1px + var(--components-indexTable-cell-inset-x-right, 0px))
68
74
  bottom -14px;
69
75
  }
70
76
  }
@@ -200,10 +206,9 @@
200
206
 
201
207
  @mixin selectableResponsiveCardList {
202
208
  .indexTable-body-row {
203
- grid-template-columns: var(--components-indexTable-row-cell-transparent-width) var(
204
- --components-indexTable-row-responsive-grid-template-columns,
205
- 1fr
206
- );
209
+ grid-template-columns:
210
+ var(--components-indexTable-row-cell-transparent-width)
211
+ var(--components-indexTable-row-responsive-grid-template-columns, 1fr);
207
212
  }
208
213
 
209
214
  .indexTable-body-row-transparentCell {
@@ -242,9 +247,11 @@
242
247
  position: absolute;
243
248
  inset-block-start: 0;
244
249
  inset-block-end: calc((var(--components-indexTable-row-spacing-responsive) + var(--components-indexTable-stack3-row-spacing)) * -1);
245
- background-image: var(--components-indexTable-row-stack2-background-image, none),
250
+ background-image:
251
+ var(--components-indexTable-row-stack2-background-image, none),
246
252
  var(--components-indexTable-row-stack3-background-image, none);
247
- background-position: var(--components-indexTable-row-stack2-background-position, 0 0),
253
+ background-position:
254
+ var(--components-indexTable-row-stack2-background-position, 0 0),
248
255
  var(--components-indexTable-row-stack3-background-position, 0 0);
249
256
  background-repeat: no-repeat, no-repeat;
250
257
  transition-property: background-image, background-position;
@@ -286,7 +293,8 @@
286
293
  @include button.onlyIconS;
287
294
 
288
295
  // .mod-delete is deprecated
289
- &.mod-critical, &.mod-delete {
296
+ &.mod-critical,
297
+ &.mod-delete {
290
298
  // For specificity purpose. Could be removed if we decide to remove automatic CSS imports in Angular components
291
299
  @include button.critical;
292
300
  }
@@ -24,9 +24,9 @@
24
24
  .indexTable-body-row {
25
25
  // We can't use focus-within because it would show actions when focusing checkboxs
26
26
  &:has(
27
- .indexTable-body-row-cell-link:focus-visible,
28
- .indexTable-body-row-cell.mod-actions:focus-within
29
- ) {
27
+ .indexTable-body-row-cell-link:focus-visible,
28
+ .indexTable-body-row-cell.mod-actions:focus-within
29
+ ) {
30
30
  --components-indexTable-cell-subAction-opacity: 1;
31
31
  }
32
32
 
@@ -39,8 +39,9 @@
39
39
  // Selectable specific outline
40
40
  --components-indexTable-outline-offset: 4px;
41
41
  --components-indexTable-outline-border-width: 2px;
42
- --components-indexTable-outline-border-radius: calc(
43
- var(--components-indexTable-cell-border-radius) + var(--components-indexTable-outline-offset)
44
- );
42
+ --components-indexTable-outline-border-radius:
43
+ calc(
44
+ var(--components-indexTable-cell-border-radius) + var(--components-indexTable-outline-offset)
45
+ );
45
46
  --components-indexTable-outline-color: var(--palettes-product-700);
46
47
  }
@@ -26,7 +26,7 @@
26
26
  @include focusVisible;
27
27
  }
28
28
 
29
- &:has(.inputFramed-header-input[aria-invalid="true"]) {
29
+ &:has(.inputFramed-header-input[aria-invalid='true']) {
30
30
  @include critical;
31
31
 
32
32
  &:hover {
@@ -1,4 +1,3 @@
1
-
2
1
  @mixin hover {
3
2
  --components-inputFramed-borderColor: var(--pr-t-color-input-border-hover);
4
3
  }
@@ -1,5 +1,6 @@
1
1
  @use 'exports' as *;
2
2
 
3
+ // stylelint-disable-next-line selector-disallowed-list -- .label is deprecated
3
4
  .label {
4
5
  @layer components {
5
6
  @include vars;
@@ -13,27 +13,27 @@
13
13
  grid-template-columns: var(--commons-navSide-width) 1fr var(--components-aside-width);
14
14
  grid-template-rows: var(--commons-banner-height) 1fr;
15
15
  grid-template-areas:
16
- 'banner banner banner'
17
- 'navside content aside';
16
+ 'banner banner banner'
17
+ 'navside content aside ';
18
18
  }
19
19
 
20
20
  @include media.max('L') {
21
21
  grid-template-columns: var(--commons-navSide-width) 1fr;
22
22
  grid-template-rows: var(--commons-banner-height) 1fr auto;
23
23
  grid-template-areas:
24
- 'banner banner'
24
+ 'banner banner '
25
25
  'navside content'
26
- 'navside aside';
26
+ 'navside aside ';
27
27
  }
28
28
 
29
29
  @include media.max('S') {
30
30
  grid-template-columns: 1fr;
31
31
  grid-template-rows: var(--commons-banner-height) auto 1fr auto;
32
32
  grid-template-areas:
33
- 'banner'
33
+ 'banner '
34
34
  'navside'
35
35
  'content'
36
- 'aside';
36
+ 'aside ';
37
37
  }
38
38
 
39
39
  @at-root ($atRoot) {
@@ -42,8 +42,8 @@
42
42
  @include media.min('L') {
43
43
  grid-template-columns: var(--commons-navSide-width) var(--components-aside-width) 1fr;
44
44
  grid-template-areas:
45
- 'banner banner banner'
46
- 'navside aside content';
45
+ 'banner banner banner '
46
+ 'navside aside content';
47
47
 
48
48
  &.mod-navsideLarge {
49
49
  grid-template-columns: var(--commons-navSide-width) var(--components-aside-width) 1fr;
@@ -1,22 +1,46 @@
1
+ @use '@lucca-front/scss/src/commons/utils/namespace';
1
2
  @use '@lucca-front/scss/src/commons/utils/a11y';
2
3
 
3
- @mixin component {
4
+ @mixin component($atRoot: namespace.$defaultAtRoot) {
4
5
  background-color: transparent;
5
- border: 0;
6
- color: var(--commons-text-link-color);
7
- cursor: pointer;
6
+ color: var(--components-link-color);
7
+ cursor: var(--components-link-cursor);
8
8
  font-family: inherit;
9
+ border: 0;
9
10
  margin: 0;
10
11
  padding: 0;
11
- text-decoration: underline;
12
+ text-decoration: var(--components-link-textDecoration);
12
13
 
13
14
  &:not(:disabled, .is-disabled) {
14
15
  &:hover {
15
- color: var(--commons-text-link-hover);
16
+ color: var(--components-link-color-hover);
16
17
  }
17
18
 
18
19
  &:focus-visible {
19
20
  @include a11y.focusVisible($borderRadius: var(--pr-t-border-radius-small));
20
21
  }
21
22
  }
23
+
24
+ .lucca-icon {
25
+ text-decoration: none;
26
+ font-size: 1em;
27
+ vertical-align: baseline;
28
+ position: relative;
29
+ top: 0.075rem;
30
+ margin-inline-start: var(--components-link-icon-marginInlineStart);
31
+ }
32
+
33
+ .link-text {
34
+ text-decoration: var(--components-link-text-textDecoration);
35
+ }
36
+
37
+ @at-root ($atRoot) {
38
+ .link-icon {
39
+ white-space: nowrap;
40
+
41
+ &::before {
42
+ content: ' ' / '';
43
+ }
44
+ }
45
+ }
22
46
  }
@@ -7,16 +7,28 @@
7
7
  }
8
8
 
9
9
  @layer mods {
10
- &.mod-icon {
11
- @include icon;
12
- }
13
-
14
10
  &.mod-decorationHover {
15
11
  @include decorationHover;
12
+
13
+ &:hover {
14
+ @include decorationHoverHovered;
15
+
16
+ &:not(:has(.link-text)) {
17
+ @include decorationHoverHoveredLegacy;
18
+ }
19
+ }
16
20
  }
17
21
 
18
22
  &:is(:disabled, .is-disabled) {
19
23
  @include disabled;
20
24
  }
25
+
26
+ &:has(.link-text) {
27
+ @include hasLinkText;
28
+ }
29
+
30
+ &:not(:has(.link-icon)) {
31
+ @include legacyIcon;
32
+ }
21
33
  }
22
34
  }