@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.
- package/dist/lucca-front.min.css +1 -1
- package/package.json +3 -3
- package/src/commons/base.scss +25 -1
- package/src/commons/config.scss +30 -21
- package/src/commons/index.scss +2 -2
- package/src/commons/utils/a11y.scss +1 -1
- package/src/commons/utils/highlight-prisme.scss +4 -1
- package/src/commons/utils/index.scss +7 -8
- package/src/commons/utils/media.scss +9 -9
- package/src/commons/utils/namespace.scss +1 -0
- package/src/commons/utils/overflow.scss +2 -3
- package/src/commons/utils/reset.scss +0 -1
- package/src/commons/vars.scss +24 -10
- package/src/components/activityFeed/component.scss +76 -0
- package/src/components/activityFeed/exports.scss +4 -0
- package/src/components/activityFeed/index.scss +29 -0
- package/src/components/activityFeed/mods.scss +0 -0
- package/src/components/activityFeed/states.scss +7 -0
- package/src/components/activityFeed/vars.scss +4 -0
- package/src/components/appLayout/component.scss +0 -1
- package/src/components/appLayout/mods.scss +8 -8
- package/src/components/appLayout/vars.scss +5 -5
- package/src/components/avatar/mods.scss +0 -1
- package/src/components/breadcrumbs/component.scss +2 -1
- package/src/components/breadcrumbs/index.scss +3 -2
- package/src/components/breadcrumbs/mods.scss +2 -1
- package/src/components/bubbleIcon/index.scss +0 -2
- package/src/components/bubbleIllustration/component.scss +0 -1
- package/src/components/bubbleIllustration/states.scss +0 -1
- package/src/components/button/index.scss +19 -18
- package/src/components/button/mods.scss +24 -6
- package/src/components/button/states.scss +3 -1
- package/src/components/calendar/component.scss +4 -5
- package/src/components/calendar/index.scss +0 -1
- package/src/components/callout/index.scss +0 -1
- package/src/components/calloutAccordion/states.scss +3 -3
- package/src/components/calloutDisclosure/mods.scss +1 -1
- package/src/components/calloutDisclosure/states.scss +3 -3
- package/src/components/calloutDisclosure/vars.scss +2 -2
- package/src/components/calloutFeedbackList/vars.scss +2 -2
- package/src/components/calloutPopover/component.scss +0 -1
- package/src/components/checkboxField/component.scss +1 -1
- package/src/components/checkboxField/mods.scss +4 -3
- package/src/components/checkboxField/states.scss +0 -1
- package/src/components/color/component.scss +1 -1
- package/src/components/color/index.scss +2 -2
- package/src/components/color/states.scss +1 -1
- package/src/components/color/vars.scss +1 -1
- package/src/components/comment/component.scss +4 -1
- package/src/components/comment/index.scss +4 -2
- package/src/components/comment/mods.scss +4 -1
- package/src/components/dataTable/index.scss +1 -1
- package/src/components/dataTable/mods.scss +6 -4
- package/src/components/dataTableSticked/mods.scss +3 -1
- package/src/components/dialog/component.scss +48 -17
- package/src/components/dialog/index.scss +12 -3
- package/src/components/dialog/mods.scss +46 -7
- package/src/components/dialog/vars.scss +16 -2
- package/src/components/dropdown/component.scss +9 -9
- package/src/components/dropdown/index.scss +6 -6
- package/src/components/emptyState/component.scss +21 -6
- package/src/components/emptyState/index.scss +15 -0
- package/src/components/emptyState/mods.scss +20 -2
- package/src/components/emptyState/vars.scss +16 -16
- package/src/components/fancyBox/vars.scss +3 -3
- package/src/components/field/mods.scss +6 -4
- package/src/components/fieldset/index.scss +0 -1
- package/src/components/filterBarDeprecated/component.scss +1 -0
- package/src/components/filterBarDeprecated/index.scss +1 -0
- package/src/components/filterPill/component.scss +1 -1
- package/src/components/footer/component.scss +4 -3
- package/src/components/footer/mods.scss +8 -0
- package/src/components/footer/vars.scss +4 -0
- package/src/components/form/index.scss +5 -8
- package/src/components/form/mods.scss +10 -11
- package/src/components/gauge/vars.scss +2 -3
- package/src/components/header/component.scss +1 -1
- package/src/components/header/mods.scss +5 -0
- package/src/components/header/vars.scss +1 -0
- package/src/components/highlightData/mods.scss +4 -3
- package/src/components/highlightData/vars.scss +4 -3
- package/src/components/horizontalNavigation/component.scss +14 -16
- package/src/components/horizontalNavigation/index.scss +14 -18
- package/src/components/horizontalNavigation/mods.scss +30 -28
- package/src/components/horizontalNavigation/states.scss +4 -4
- package/src/components/horizontalNavigation/vars.scss +2 -1
- package/src/components/index.scss +1 -1
- package/src/components/indexTable/component.scss +21 -10
- package/src/components/indexTable/mods.scss +21 -13
- package/src/components/indexTable/states.scss +3 -3
- package/src/components/indexTable/vars.scss +4 -3
- package/src/components/inputFramed/index.scss +1 -1
- package/src/components/inputFramed/states.scss +0 -1
- package/src/components/label/index.scss +1 -0
- package/src/components/layout/component.scss +6 -6
- package/src/components/layout/mods.scss +2 -2
- package/src/components/link/component.scss +30 -6
- package/src/components/link/index.scss +16 -4
- package/src/components/link/mods.scss +11 -54
- package/src/components/link/states.scss +10 -2
- package/src/components/link/vars.scss +6 -0
- package/src/components/listboxOption/index.scss +15 -15
- package/src/components/listboxOption/mods.scss +3 -4
- package/src/components/listboxOption/states.scss +12 -13
- package/src/components/listing/component.scss +24 -1
- package/src/components/listing/index.scss +4 -0
- package/src/components/listing/mods.scss +18 -7
- package/src/components/listing/vars.scss +5 -1
- package/src/components/mobilePush/component.scss +1 -1
- package/src/components/navside/index.scss +3 -0
- package/src/components/navside/states.scss +2 -1
- package/src/components/notchBox/component.scss +30 -26
- package/src/components/notchBox/mods.scss +119 -77
- package/src/components/numericBadge/component.scss +0 -1
- package/src/components/numericBadge/mods.scss +10 -0
- package/src/components/pageHeader/mods.scss +4 -4
- package/src/components/pagination/mods.scss +2 -2
- package/src/components/presentation/index.scss +0 -1
- package/src/components/progress/vars.scss +6 -5
- package/src/components/readMore/component.scss +6 -5
- package/src/components/resourceCard/mods.scss +20 -18
- package/src/components/resourceCard/states.scss +2 -3
- package/src/components/resourceCard/vars.scss +4 -3
- package/src/components/richText/index.scss +0 -1
- package/src/components/scrollBox/component.scss +4 -2
- package/src/components/segmentedControl/component.scss +4 -2
- package/src/components/segmentedControl/index.scss +1 -0
- package/src/components/segmentedControl/states.scss +0 -2
- package/src/components/skeleton/mods.scss +15 -8
- package/src/components/skeleton/states.scss +15 -21
- package/src/components/softwareIcon/component.scss +0 -1
- package/src/components/sortableList/index.scss +3 -3
- package/src/components/sortableList/vars.scss +4 -4
- package/src/components/statusBadge/component.scss +0 -1
- package/src/components/switch/states.scss +6 -3
- package/src/components/switchField/vars.scss +4 -4
- package/src/components/tableOfContent/component.scss +2 -1
- package/src/components/tableOfContent/index.scss +2 -1
- package/src/components/tableSortable/index.scss +1 -1
- package/src/components/tableSticked/mods.scss +16 -9
- package/src/components/tableStickedDeprecated/mods.scss +12 -6
- package/src/components/tag/component.scss +4 -0
- package/src/components/textField/component.scss +2 -0
- package/src/components/textField/mods.scss +0 -1
- package/src/components/textfields/index.scss +0 -1
- package/src/components/textfields/mods.scss +12 -7
- package/src/components/textfields/states.scss +6 -5
- package/src/components/timeline/mods.scss +35 -31
- package/src/components/timepicker/component.scss +1 -1
- package/src/components/timepickerDeprecated/vars.scss +3 -3
- package/src/components/title/mods.scss +2 -2
- package/src/components/titleSection/component.scss +2 -2
- package/src/components/toast/vars.scss +1 -1
- package/src/components/userTile/mods.scss +25 -25
- package/src/components/userTile/vars.scss +5 -5
- package/src/components/verticalNavigation/vars.scss +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/scss",
|
|
3
|
-
"version": "21.1
|
|
3
|
+
"version": "21.2.0-rc.1",
|
|
4
4
|
"description": "A Sass framework for Lucca products.",
|
|
5
5
|
"main": "src/main.scss",
|
|
6
6
|
"scripts": {},
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"normalize.css": "^8.0.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@lucca-front/icons": "21.1
|
|
27
|
-
"@lucca/prisme": "21.1
|
|
26
|
+
"@lucca-front/icons": "21.2.0-rc.1",
|
|
27
|
+
"@lucca/prisme": "21.2.0-rc.1"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/src/commons/base.scss
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
color: var(--pr-t-color-text);
|
|
11
11
|
font: var(--pr-t-font-body-M);
|
|
12
12
|
text-rendering: geometricPrecision;
|
|
13
|
+
margin-inline-end: var(--commons-pushPanel-width);
|
|
13
14
|
|
|
14
15
|
@supports (-webkit-touch-callout: none) {
|
|
15
16
|
min-block-size: -webkit-fill-available;
|
|
@@ -46,6 +47,7 @@
|
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
@if config.$isNamespaced {
|
|
50
|
+
// stylelint-disable-next-line block-no-redundant-nested-style-rules -- & references the selector calling this mixin.
|
|
49
51
|
& {
|
|
50
52
|
@include body;
|
|
51
53
|
@include html;
|
|
@@ -99,7 +101,8 @@
|
|
|
99
101
|
}
|
|
100
102
|
}
|
|
101
103
|
|
|
102
|
-
button,
|
|
104
|
+
button,
|
|
105
|
+
button[type] {
|
|
103
106
|
text-rendering: inherit;
|
|
104
107
|
|
|
105
108
|
&:focus-visible {
|
|
@@ -126,5 +129,26 @@
|
|
|
126
129
|
}
|
|
127
130
|
}
|
|
128
131
|
}
|
|
132
|
+
|
|
133
|
+
@each $productName, $productMap in config.$palettesAssets {
|
|
134
|
+
.palette-#{$productName} {
|
|
135
|
+
--palettes-assets-primary-lighter: var(--palettes-#{$productName}-50);
|
|
136
|
+
--palettes-assets-primary-light: var(--palettes-#{$productName}-100);
|
|
137
|
+
--palettes-assets-primary-dark: var(--palettes-#{$productName}-200);
|
|
138
|
+
|
|
139
|
+
@each $level, $palette in $productMap {
|
|
140
|
+
@if $level == 'secondary' {
|
|
141
|
+
--palettes-assets-secondary-lighter: var(--palettes-#{$palette}-50);
|
|
142
|
+
--palettes-assets-secondary-light: var(--palettes-#{$palette}-100);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
@if $level == 'brand' {
|
|
146
|
+
--palettes-assets-brand-lighter: var(--palettes-#{$palette}-50);
|
|
147
|
+
--palettes-assets-brand-light: var(--palettes-#{$palette}-100);
|
|
148
|
+
--palettes-assets-brand-dark: var(--palettes-#{$palette}-200);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
129
153
|
}
|
|
130
154
|
}
|
package/src/commons/config.scss
CHANGED
|
@@ -109,15 +109,16 @@ $borderRadiusTokens: (
|
|
|
109
109
|
'input': var(--pr-t-border-radius-default),
|
|
110
110
|
);
|
|
111
111
|
|
|
112
|
-
|
|
113
112
|
$product: 'brand' !default;
|
|
114
113
|
$palettesShades: text, 0, 25, 50, 100, 200, 300, 400, 500, 600, 700, 800, 900; // text is deprecated
|
|
115
114
|
$palettesStates: 'critical', 'error', 'warning', 'success', 'successContrasted', 'warningContrasted';
|
|
116
115
|
$palettesDefault: 'brand', 'brandContrasted', 'neutral', 'navigation', 'AI';
|
|
117
116
|
$palettesProduct: 'product';
|
|
118
117
|
$palettesOtherProduct: () !default;
|
|
119
|
-
$palettesDecorative: 'kiwi', '
|
|
120
|
-
|
|
118
|
+
$palettesDecorative: 'kiwi', 'cucumber', 'mint', 'lagoon', 'blueberry', 'lavender', 'watermelon', 'pumpkin' !default;
|
|
119
|
+
$palettesDecorativeMandatory: 'pineapple', 'lime', 'grape', 'glacier';
|
|
120
|
+
|
|
121
|
+
// pineapple, lime, grape, glacier
|
|
121
122
|
$palettesDeprecated: ('lucca', 'grey', 'primary', 'secondary') !default;
|
|
122
123
|
|
|
123
124
|
@if $palettesOtherProduct == 'all' {
|
|
@@ -130,16 +131,27 @@ $palettesAll: function.flatMap(
|
|
|
130
131
|
$palettesProduct,
|
|
131
132
|
$palettesOtherProduct,
|
|
132
133
|
$palettesDecorative,
|
|
134
|
+
$palettesDecorativeMandatory,
|
|
133
135
|
$palettesDeprecated
|
|
134
136
|
);
|
|
135
137
|
|
|
138
|
+
$palettesAssets: (
|
|
139
|
+
'brand': ('brand': 'pineapple', 'secondary': 'lime'),
|
|
140
|
+
'cc': ('brand': 'brand', 'secondary': 'lime'),
|
|
141
|
+
'pagga': ('brand': 'brand', 'secondary': 'lime'),
|
|
142
|
+
'poplee': ('brand': 'brand', 'secondary': 'pineapple'),
|
|
143
|
+
'coreHR': ('brand': 'brand', 'secondary': 'pineapple'),
|
|
144
|
+
'cleemy': ('brand': 'brand', 'secondary': 'grape'),
|
|
145
|
+
'timmi': ('brand': 'brand', 'secondary': 'glacier')
|
|
146
|
+
);
|
|
147
|
+
|
|
136
148
|
$fieldsWidth: 20, 30, 40, 50, 60 !default;
|
|
137
149
|
|
|
138
150
|
// Palettes
|
|
139
151
|
|
|
140
152
|
$ai: (
|
|
141
|
-
500: #
|
|
142
|
-
600: #
|
|
153
|
+
500: #bc6fdd,
|
|
154
|
+
600: #a440cf,
|
|
143
155
|
);
|
|
144
156
|
|
|
145
157
|
$brand: (
|
|
@@ -348,17 +360,17 @@ $warning: (
|
|
|
348
360
|
$warningContrasted: (
|
|
349
361
|
// text is deprecated
|
|
350
362
|
text: #ffffff,
|
|
351
|
-
0: #
|
|
352
|
-
50: #
|
|
353
|
-
100: #
|
|
354
|
-
200: #
|
|
355
|
-
300: #
|
|
356
|
-
400: #
|
|
357
|
-
500: #
|
|
363
|
+
0: #ffffff,
|
|
364
|
+
50: #fff2db,
|
|
365
|
+
100: #ffe9c2,
|
|
366
|
+
200: #ffdb9e,
|
|
367
|
+
300: #ffd080,
|
|
368
|
+
400: #ffc35c,
|
|
369
|
+
500: #ffb13d,
|
|
358
370
|
600: #d97e26,
|
|
359
|
-
700: #
|
|
360
|
-
800: #
|
|
361
|
-
900: #
|
|
371
|
+
700: #b34b0f,
|
|
372
|
+
800: #9a3b08,
|
|
373
|
+
900: #802a00
|
|
362
374
|
);
|
|
363
375
|
|
|
364
376
|
$critical: (
|
|
@@ -592,13 +604,10 @@ $elevation: (
|
|
|
592
604
|
'backdrop': color-mix(in srgb, var(--palettes-neutral-400) 40%, transparent),
|
|
593
605
|
),
|
|
594
606
|
shadow: (
|
|
595
|
-
'raised':
|
|
596
|
-
'0 0 0 1px color-mix(in srgb, var(--palettes-neutral-400) 8%, transparent), 0 1px 2px color-mix(in srgb, var(--palettes-neutral-400) 40%, transparent), 0 2px 4px color-mix(in srgb, var(--palettes-neutral-400) 20%, transparent)',
|
|
607
|
+
'raised': '0 0 0 1px color-mix(in srgb, var(--palettes-neutral-400) 8%, transparent), 0 1px 2px color-mix(in srgb, var(--palettes-neutral-400) 40%, transparent), 0 2px 4px color-mix(in srgb, var(--palettes-neutral-400) 20%, transparent)',
|
|
597
608
|
'button': '0 2px 2px 0 color-mix(in srgb, var(--palettes-neutral-900) 4%, transparent)',
|
|
598
|
-
'overflow':
|
|
599
|
-
|
|
600
|
-
'overlay':
|
|
601
|
-
'0 0 0 1px color-mix(in srgb, var(--palettes-neutral-400) 8%, transparent), 0 4px 8px color-mix(in srgb, var(--palettes-neutral-400) 24%, transparent), 0 4px 12px 2px color-mix(in srgb, var(--palettes-neutral-400) 8%, transparent)',
|
|
609
|
+
'overflow': '0 0 0 1px color-mix(in srgb, var(--palettes-neutral-400) 8%, transparent), 0 0 4px color-mix(in srgb, var(--palettes-neutral-400) 32%, transparent), 0 0 8px color-mix(in srgb, var(--palettes-neutral-400) 24%, transparent)',
|
|
610
|
+
'overlay': '0 0 0 1px color-mix(in srgb, var(--palettes-neutral-400) 8%, transparent), 0 4px 8px color-mix(in srgb, var(--palettes-neutral-400) 24%, transparent), 0 4px 12px 2px color-mix(in srgb, var(--palettes-neutral-400) 8%, transparent)',
|
|
602
611
|
),
|
|
603
612
|
);
|
|
604
613
|
|
package/src/commons/index.scss
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use 'sass:meta';
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
3
3
|
@use '@lucca-front/scss/src/commons/config';
|
|
4
4
|
@use 'exports' as *;
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// stylelint-disable-next-line layer-name-pattern
|
|
7
7
|
@layer #{config.$layers};
|
|
8
8
|
|
|
9
9
|
@layer reset {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* stylelint-disable @stylistic/selector-max-empty-lines */
|
|
2
|
+
|
|
1
3
|
.pr-u-highlightPrisme {
|
|
2
4
|
// HTML COMPONENTS OUTSIDE
|
|
3
5
|
|
|
@@ -154,7 +156,8 @@
|
|
|
154
156
|
lu-data-presentation,
|
|
155
157
|
|
|
156
158
|
// Lists
|
|
157
|
-
lu-chip,
|
|
159
|
+
lu-chip,
|
|
160
|
+
[luChip],
|
|
158
161
|
lu-data-table .dataTable,
|
|
159
162
|
lu-index-table,
|
|
160
163
|
lu-sortable-list .sortableList,
|
|
@@ -279,8 +279,6 @@
|
|
|
279
279
|
place-items: center;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
|
|
283
|
-
|
|
284
282
|
[data-content-before] {
|
|
285
283
|
&::before {
|
|
286
284
|
content: attr(data-content-before);
|
|
@@ -406,7 +404,8 @@
|
|
|
406
404
|
}
|
|
407
405
|
|
|
408
406
|
// textPlaceholder is deprecated
|
|
409
|
-
.pr-u-textPlaceholder,
|
|
407
|
+
.pr-u-textPlaceholder,
|
|
408
|
+
.pr-u-colorInputTextPlaceholder {
|
|
410
409
|
@extend %textPlaceholder;
|
|
411
410
|
}
|
|
412
411
|
|
|
@@ -530,7 +529,7 @@
|
|
|
530
529
|
|
|
531
530
|
@each $colorText, $value in config.$colorText {
|
|
532
531
|
.pr-u-color#{transform.capitalize(transform.camelize($colorText))} {
|
|
533
|
-
color: var(--pr-t-color-#{$colorText}) !important
|
|
532
|
+
color: var(--pr-t-color-#{$colorText}) !important;
|
|
534
533
|
}
|
|
535
534
|
}
|
|
536
535
|
|
|
@@ -663,21 +662,22 @@
|
|
|
663
662
|
@extend %bodyXS;
|
|
664
663
|
}
|
|
665
664
|
|
|
666
|
-
// textLeft is deprecated
|
|
665
|
+
// stylelint-disable-next-line selector-disallowed-list -- textLeft is deprecated
|
|
667
666
|
.u-textLeft {
|
|
668
667
|
@extend %textLeft;
|
|
669
668
|
}
|
|
670
669
|
|
|
671
|
-
// textRight is deprecated
|
|
670
|
+
// stylelint-disable-next-line selector-disallowed-list -- textRight is deprecated
|
|
672
671
|
.u-textRight {
|
|
673
672
|
@extend %textRight;
|
|
674
673
|
}
|
|
675
674
|
|
|
676
|
-
// textCenter is deprecated
|
|
675
|
+
// stylelint-disable-next-line selector-disallowed-list -- textCenter is deprecated
|
|
677
676
|
.u-textCenter {
|
|
678
677
|
@extend %textCenter;
|
|
679
678
|
}
|
|
680
679
|
|
|
680
|
+
// stylelint-disable-next-line selector-disallowed-list -- textLight is deprecated
|
|
681
681
|
.u-textLight {
|
|
682
682
|
@extend %textLight;
|
|
683
683
|
}
|
|
@@ -714,7 +714,6 @@
|
|
|
714
714
|
@extend %fontFamilyBrand;
|
|
715
715
|
}
|
|
716
716
|
|
|
717
|
-
|
|
718
717
|
@each $display in core.$displays {
|
|
719
718
|
@if $display != 'none' {
|
|
720
719
|
.u-onlyPrintDisplay#{transform.capitalize(transform.camelize($display))} {
|
|
@@ -126,18 +126,18 @@
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
@mixin pointer($query, $any: false, $reversed: false) {
|
|
129
|
-
$mediaString: 'media';
|
|
130
|
-
$anyString: '';
|
|
129
|
+
$mediaString: 'media';
|
|
130
|
+
$anyString: '';
|
|
131
131
|
|
|
132
|
-
@if $reversed {
|
|
133
|
-
|
|
134
|
-
}
|
|
132
|
+
@if $reversed {
|
|
133
|
+
$mediaString: 'media not';
|
|
134
|
+
}
|
|
135
135
|
|
|
136
|
-
@if $any {
|
|
137
|
-
|
|
138
|
-
}
|
|
136
|
+
@if $any {
|
|
137
|
+
$anyString: 'any-';
|
|
138
|
+
}
|
|
139
139
|
|
|
140
|
-
// stylelint-disable-next-line scss/at-rule-no-unknown
|
|
140
|
+
// stylelint-disable-next-line scss/at-rule-no-unknown, @stylistic/at-rule-name-case
|
|
141
141
|
@#{$mediaString} (#{$anyString}pointer: #{$query}) {
|
|
142
142
|
@content;
|
|
143
143
|
}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
@mixin hide($suffix: '') {
|
|
2
|
-
-ms-overflow-style: none #{$suffix};
|
|
3
2
|
scrollbar-width: none #{$suffix};
|
|
4
3
|
|
|
5
4
|
&::-webkit-scrollbar {
|
|
6
5
|
display: none #{$suffix};
|
|
7
|
-
|
|
6
|
+
}
|
|
8
7
|
}
|
|
9
8
|
|
|
10
9
|
@mixin scrollblock($suffix: '') {
|
|
11
10
|
overflow: hidden #{$suffix};
|
|
12
|
-
|
|
11
|
+
|
|
13
12
|
&,
|
|
14
13
|
body {
|
|
15
14
|
touch-action: none #{$suffix};
|
package/src/commons/vars.scss
CHANGED
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
@include core.cssvars('pr-t-font-fontWeight', config.$fontWeights);
|
|
23
23
|
@include core.cssvars('pr-t-font', config.$fontTokens);
|
|
24
24
|
|
|
25
|
-
--pr-t-font-heading-1: var(--pr-t-font-heading-1-fontWeight) var(--pr-t-font-heading-1-fontSize)/var(--pr-t-font-heading-1-lineHeight) var(--pr-t-font-family-brand);
|
|
26
|
-
--pr-t-font-heading-2: var(--pr-t-font-heading-2-fontWeight) var(--pr-t-font-heading-2-fontSize)/var(--pr-t-font-heading-2-lineHeight) var(--pr-t-font-family-brand);
|
|
27
|
-
--pr-t-font-heading-3: var(--pr-t-font-heading-3-fontWeight) var(--pr-t-font-heading-3-fontSize)/var(--pr-t-font-heading-3-lineHeight) var(--pr-t-font-family);
|
|
28
|
-
--pr-t-font-heading-4: var(--pr-t-font-heading-4-fontWeight) var(--pr-t-font-heading-4-fontSize)/var(--pr-t-font-heading-4-lineHeight) var(--pr-t-font-family);
|
|
29
|
-
--pr-t-font-highlight-XXL: var(--pr-t-font-highlight-XXL-fontWeight) var(--pr-t-font-highlight-XXL-fontSize)/var(--pr-t-font-highlight-XXL-lineHeight) var(--pr-t-font-family-brand);
|
|
30
|
-
--pr-t-font-highlight-XL: var(--pr-t-font-highlight-XL-fontWeight) var(--pr-t-font-highlight-XL-fontSize)/var(--pr-t-font-highlight-XL-lineHeight) var(--pr-t-font-family-brand);
|
|
31
|
-
--pr-t-font-highlight-L: var(--pr-t-font-highlight-L-fontWeight) var(--pr-t-font-highlight-L-fontSize)/var(--pr-t-font-highlight-L-lineHeight) var(--pr-t-font-family-brand);
|
|
32
|
-
--pr-t-font-body-M: var(--pr-t-font-body-M-fontSize)/var(--pr-t-font-body-M-lineHeight) var(--pr-t-font-family);
|
|
33
|
-
--pr-t-font-body-S: var(--pr-t-font-body-S-fontSize)/var(--pr-t-font-body-S-lineHeight) var(--pr-t-font-family);
|
|
34
|
-
--pr-t-font-body-XS: var(--pr-t-font-body-XS-fontSize)/var(--pr-t-font-body-XS-lineHeight) var(--pr-t-font-family);
|
|
25
|
+
--pr-t-font-heading-1: var(--pr-t-font-heading-1-fontWeight) var(--pr-t-font-heading-1-fontSize) / var(--pr-t-font-heading-1-lineHeight) var(--pr-t-font-family-brand);
|
|
26
|
+
--pr-t-font-heading-2: var(--pr-t-font-heading-2-fontWeight) var(--pr-t-font-heading-2-fontSize) / var(--pr-t-font-heading-2-lineHeight) var(--pr-t-font-family-brand);
|
|
27
|
+
--pr-t-font-heading-3: var(--pr-t-font-heading-3-fontWeight) var(--pr-t-font-heading-3-fontSize) / var(--pr-t-font-heading-3-lineHeight) var(--pr-t-font-family);
|
|
28
|
+
--pr-t-font-heading-4: var(--pr-t-font-heading-4-fontWeight) var(--pr-t-font-heading-4-fontSize) / var(--pr-t-font-heading-4-lineHeight) var(--pr-t-font-family);
|
|
29
|
+
--pr-t-font-highlight-XXL: var(--pr-t-font-highlight-XXL-fontWeight) var(--pr-t-font-highlight-XXL-fontSize) / var(--pr-t-font-highlight-XXL-lineHeight) var(--pr-t-font-family-brand);
|
|
30
|
+
--pr-t-font-highlight-XL: var(--pr-t-font-highlight-XL-fontWeight) var(--pr-t-font-highlight-XL-fontSize) / var(--pr-t-font-highlight-XL-lineHeight) var(--pr-t-font-family-brand);
|
|
31
|
+
--pr-t-font-highlight-L: var(--pr-t-font-highlight-L-fontWeight) var(--pr-t-font-highlight-L-fontSize) / var(--pr-t-font-highlight-L-lineHeight) var(--pr-t-font-family-brand);
|
|
32
|
+
--pr-t-font-body-M: var(--pr-t-font-body-M-fontSize) / var(--pr-t-font-body-M-lineHeight) var(--pr-t-font-family);
|
|
33
|
+
--pr-t-font-body-S: var(--pr-t-font-body-S-fontSize) / var(--pr-t-font-body-S-lineHeight) var(--pr-t-font-family);
|
|
34
|
+
--pr-t-font-body-XS: var(--pr-t-font-body-XS-fontSize) / var(--pr-t-font-body-XS-lineHeight) var(--pr-t-font-family);
|
|
35
35
|
|
|
36
36
|
// TOKENS : RADIUS
|
|
37
37
|
|
|
@@ -68,6 +68,20 @@
|
|
|
68
68
|
@include core.cssvars('palettes-#{$palette}', map.get(config.$palettesInterpolation, $palette));
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
// Provided by Lucca.Store Push Panel
|
|
72
|
+
--commons-pushPanel-width: var(--component-lu-app-lifecycle-push-panel, 0px);
|
|
73
|
+
|
|
74
|
+
// stylelint-disable custom-property-pattern
|
|
75
|
+
--palettes-assets-primary-lighter: var(--palettes-#{config.$product}-50);
|
|
76
|
+
--palettes-assets-primary-light: var(--palettes-#{config.$product}-100);
|
|
77
|
+
--palettes-assets-primary-dark: var(--palettes-#{config.$product}-200);
|
|
78
|
+
--palettes-assets-brand-lighter: var(--palettes-#{map.get(map.get(config.$palettesAssets, config.$product), 'brand')}-50);
|
|
79
|
+
--palettes-assets-brand-light: var(--palettes-#{map.get(map.get(config.$palettesAssets, config.$product), 'brand')}-100);
|
|
80
|
+
--palettes-assets-brand-dark: var(--palettes-#{map.get(map.get(config.$palettesAssets, config.$product), 'brand')}-200);
|
|
81
|
+
--palettes-assets-secondary-lighter: var(--palettes-#{map.get(map.get(config.$palettesAssets, config.$product), 'secondary')}-50);
|
|
82
|
+
--palettes-assets-secondary-light: var(--palettes-#{map.get(map.get(config.$palettesAssets, config.$product), 'secondary')}-100);
|
|
83
|
+
// stylelint-enable custom-property-pattern
|
|
84
|
+
|
|
71
85
|
@include core.cssvars('colors', config.$colors, '-color');
|
|
72
86
|
@include core.cssvars('colors', config.$colorsRgb, '-rgb');
|
|
73
87
|
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
|
+
|
|
3
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
|
+
list-style-type: '';
|
|
5
|
+
padding: 0;
|
|
6
|
+
font: var(--pr-t-font-body-M);
|
|
7
|
+
color: var(--pr-t-color-text);
|
|
8
|
+
|
|
9
|
+
@at-root ($atRoot) {
|
|
10
|
+
.activityFeed-step {
|
|
11
|
+
position: relative;
|
|
12
|
+
display: flex;
|
|
13
|
+
gap: var(--pr-t-spacings-100);
|
|
14
|
+
|
|
15
|
+
&:not(:last-child) {
|
|
16
|
+
padding-block-end: var(--pr-t-spacings-200);
|
|
17
|
+
|
|
18
|
+
&::before {
|
|
19
|
+
content: '';
|
|
20
|
+
inline-size: var(--pr-t-spacings-25);
|
|
21
|
+
background-color: var(--palettes-neutral-100);
|
|
22
|
+
position: absolute;
|
|
23
|
+
inset-block-end: 0;
|
|
24
|
+
border-radius: var(--pr-t-border-radius-full);
|
|
25
|
+
inset-block-start: calc(var(--pr-t-spacings-500) + var(--pr-t-spacings-50));
|
|
26
|
+
inset-inline-start: calc(var(--pr-t-spacings-200) - var(--pr-t-spacings-25) / 2);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.activityFeed-step-avatar {
|
|
32
|
+
margin-block: var(--pr-t-spacings-75);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.activityFeed-step-description {
|
|
36
|
+
flex-grow: 1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.activityFeed-step-description-time {
|
|
40
|
+
font: var(--pr-t-font-body-S);
|
|
41
|
+
color: var(--pr-t-color-text-subtle);
|
|
42
|
+
display: block;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.activityFeed-content-update-icon {
|
|
46
|
+
display: var(--components-activityFeed-content-update-icon-display);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.activityFeed-content-update {
|
|
50
|
+
display: var(--components-activityFeed-content-update-display);
|
|
51
|
+
align-items: center;
|
|
52
|
+
gap: var(--pr-t-spacings-100);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.activityFeed-content-update-before,
|
|
56
|
+
.activityFeed-content-update-after {
|
|
57
|
+
display: flex;
|
|
58
|
+
|
|
59
|
+
&:empty {
|
|
60
|
+
display: none;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.activityFeed-content {
|
|
65
|
+
margin-block-start: var(--pr-t-spacings-100);
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
gap: var(--pr-t-spacings-100);
|
|
69
|
+
align-items: flex-start;
|
|
70
|
+
|
|
71
|
+
&:empty {
|
|
72
|
+
display: none;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@use 'exports' as *;
|
|
2
|
+
@use '@lucca-front/scss/src/components/avatar/exports' as avatar;
|
|
3
|
+
|
|
4
|
+
.activityFeed {
|
|
5
|
+
@layer components {
|
|
6
|
+
@include vars;
|
|
7
|
+
@include component;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.activityFeed-step-avatar {
|
|
12
|
+
@layer mods {
|
|
13
|
+
@include avatar.S;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.activityFeed-content-update {
|
|
18
|
+
@layer mods {
|
|
19
|
+
&:has(.activityFeed-content-update-before:empty, .activityFeed-content-update-after:empty) {
|
|
20
|
+
@include single;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&:has(.activityFeed-content-update-before:empty) {
|
|
24
|
+
&:has(.activityFeed-content-update-after:empty) {
|
|
25
|
+
@include empty;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
File without changes
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
|
|
2
1
|
@mixin wide {
|
|
3
|
-
--components-appLayout-gridTemplate:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
--components-appLayout-gridTemplate:
|
|
3
|
+
'banner banner' var(--commons-banner-height)
|
|
4
|
+
'navSide main ' 1fr
|
|
5
|
+
/ auto 1fr;
|
|
7
6
|
}
|
|
8
7
|
|
|
9
8
|
@mixin mobileNavSideBottom {
|
|
10
|
-
--components-appLayout-gridTemplate:
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
--components-appLayout-gridTemplate:
|
|
10
|
+
'banner ' var(--commons-banner-height)
|
|
11
|
+
'main' 1fr
|
|
12
|
+
'navSide' auto;
|
|
13
13
|
--components-appLayout-navSide-overflowX: visible;
|
|
14
14
|
--components-appLayout-navSide-overflowY: visible;
|
|
15
15
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
2
|
--components-appLayout-blockSize: 100dvh;
|
|
3
|
-
--components-appLayout-inlineSize:
|
|
3
|
+
--components-appLayout-inlineSize: 100%;
|
|
4
4
|
--components-appLayout-navSide-overflowX: hidden;
|
|
5
5
|
--components-appLayout-navSide-overflowY: auto;
|
|
6
|
-
--components-appLayout-gridTemplate:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
--components-appLayout-gridTemplate:
|
|
7
|
+
'banner ' var(--commons-banner-height)
|
|
8
|
+
'navSide' auto
|
|
9
|
+
'main ' 1fr;
|
|
10
10
|
}
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
// Second selector to get rid of breadcrumbs-list-item-action on angular component
|
|
35
|
-
.breadcrumbs-list-item-action,
|
|
35
|
+
.breadcrumbs-list-item-action,
|
|
36
|
+
.breadcrumbs-list-item > a {
|
|
36
37
|
color: var(--pr-t-color-text-subtle);
|
|
37
38
|
transition-duration: var(--commons-animations-durations-fast);
|
|
38
39
|
transition-property: color;
|
|
@@ -15,11 +15,12 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
// Second selector to get rid of breadcrumbs-list-item-action on angular component
|
|
18
|
-
.breadcrumbs-list-item-action,
|
|
18
|
+
.breadcrumbs-list-item-action,
|
|
19
|
+
.breadcrumbs-list-item > a {
|
|
19
20
|
@layer mods {
|
|
20
21
|
// .active is deprecated
|
|
21
|
-
&.is-active,
|
|
22
22
|
&.active,
|
|
23
|
+
&.is-active,
|
|
23
24
|
&[aria-current='page'] {
|
|
24
25
|
@include active;
|
|
25
26
|
}
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
&:first-child {
|
|
13
13
|
// Second selector to get rid of breadcrumbs-list-item-action on angular component
|
|
14
|
-
.breadcrumbs-list-item-action,
|
|
14
|
+
.breadcrumbs-list-item-action,
|
|
15
|
+
.breadcrumbs-list-item > a {
|
|
15
16
|
&::before {
|
|
16
17
|
@include icon.generate('arrow_left');
|
|
17
18
|
|