@lucca-front/scss 21.1.1 → 21.1.2-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/config.scss +4 -3
- package/src/commons/utils/highlight-prisme.scss +272 -0
- package/src/commons/utils/index.scss +1 -0
- package/src/components/color/mods.scss +1 -1
- package/src/components/color/vars.scss +1 -1
- package/src/components/fancyBox/index.scss +3 -3
- package/src/components/fileUpload/component.scss +6 -0
- package/src/components/listing/component.scss +1 -1
- package/src/components/mainLayout/index.scss +4 -6
- package/src/components/mainLayout/mods.scss +12 -10
- package/src/components/timeline/mods.scss +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/scss",
|
|
3
|
-
"version": "21.1.1",
|
|
3
|
+
"version": "21.1.2-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.1",
|
|
27
|
-
"@lucca/prisme": "21.1.1"
|
|
26
|
+
"@lucca-front/icons": "21.1.2-rc.1",
|
|
27
|
+
"@lucca/prisme": "21.1.2-rc.1"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/src/commons/config.scss
CHANGED
|
@@ -183,7 +183,7 @@ $cleemy: (
|
|
|
183
183
|
200: #a4e0da,
|
|
184
184
|
300: #7acdc6,
|
|
185
185
|
400: #54bbb2,
|
|
186
|
-
500: #
|
|
186
|
+
500: #00a39c,
|
|
187
187
|
600: #009491,
|
|
188
188
|
700: #007a78,
|
|
189
189
|
800: #00545c,
|
|
@@ -231,8 +231,8 @@ $poplee: (
|
|
|
231
231
|
200: #b1def6,
|
|
232
232
|
300: #98d2f1,
|
|
233
233
|
400: #7bc3ea,
|
|
234
|
-
500: #
|
|
235
|
-
600: #
|
|
234
|
+
500: #48abe0,
|
|
235
|
+
600: #2b8fc5,
|
|
236
236
|
700: #0b77b1,
|
|
237
237
|
800: #005685,
|
|
238
238
|
900: #003c5c
|
|
@@ -663,6 +663,7 @@ $spacings: (
|
|
|
663
663
|
'100': 0.5rem,
|
|
664
664
|
'150': 0.75rem,
|
|
665
665
|
'200': 1rem,
|
|
666
|
+
'250': 1.25rem,
|
|
666
667
|
'300': 1.5rem,
|
|
667
668
|
'400': 2rem,
|
|
668
669
|
'500': 2.5rem,
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
.pr-u-highlightPrisme {
|
|
2
|
+
// HTML COMPONENTS OUTSIDE
|
|
3
|
+
|
|
4
|
+
// Actions
|
|
5
|
+
.button,
|
|
6
|
+
.buttonGroup,
|
|
7
|
+
.link,
|
|
8
|
+
|
|
9
|
+
// Icons
|
|
10
|
+
.bubbleIllustration,
|
|
11
|
+
.bubbleIcon,
|
|
12
|
+
.softwareIcon,
|
|
13
|
+
.lucca-icon,
|
|
14
|
+
|
|
15
|
+
// Texts
|
|
16
|
+
.code,
|
|
17
|
+
.comment,
|
|
18
|
+
.newBadge,
|
|
19
|
+
.numericBadge,
|
|
20
|
+
.plgPush,
|
|
21
|
+
.readMore,
|
|
22
|
+
.statusBadge,
|
|
23
|
+
.tag,
|
|
24
|
+
.textFlow,
|
|
25
|
+
.mobilePush,
|
|
26
|
+
.presentation,
|
|
27
|
+
|
|
28
|
+
// Lists
|
|
29
|
+
.chip,
|
|
30
|
+
.indexTable,
|
|
31
|
+
.sortableList,
|
|
32
|
+
.listing,
|
|
33
|
+
|
|
34
|
+
// Forms
|
|
35
|
+
.calendar,
|
|
36
|
+
.color,
|
|
37
|
+
.textField,
|
|
38
|
+
.checkboxField,
|
|
39
|
+
.switchField,
|
|
40
|
+
.radioField,
|
|
41
|
+
.clear,
|
|
42
|
+
.dateField,
|
|
43
|
+
.dateRangeField,
|
|
44
|
+
.timepicker,
|
|
45
|
+
.form,
|
|
46
|
+
.fieldset,
|
|
47
|
+
.fileUpload,
|
|
48
|
+
.fileEntry,
|
|
49
|
+
.fileToolbar,
|
|
50
|
+
.formLabel,
|
|
51
|
+
.inlineMessage,
|
|
52
|
+
.inputFramed,
|
|
53
|
+
.richText,
|
|
54
|
+
.simpleSelect,
|
|
55
|
+
.multiSelect,
|
|
56
|
+
.listboxOption,
|
|
57
|
+
|
|
58
|
+
// Feedback
|
|
59
|
+
.callout,
|
|
60
|
+
.calloutDisclosure,
|
|
61
|
+
.calloutPopover,
|
|
62
|
+
.calloutPopover-overlay,
|
|
63
|
+
.calloutFeedbackList,
|
|
64
|
+
.errorPage,
|
|
65
|
+
.gauge,
|
|
66
|
+
.toast,
|
|
67
|
+
|
|
68
|
+
// Navigation
|
|
69
|
+
.breadcrumbs,
|
|
70
|
+
.mobileNavigation,
|
|
71
|
+
.navside,
|
|
72
|
+
.pagination,
|
|
73
|
+
.segmentedControl,
|
|
74
|
+
.skipLinks,
|
|
75
|
+
.horizontalNavigation,
|
|
76
|
+
.timeline,
|
|
77
|
+
.tableOfContent,
|
|
78
|
+
.verticalNavigation,
|
|
79
|
+
|
|
80
|
+
// Overlays
|
|
81
|
+
.popover,
|
|
82
|
+
.dropdown,
|
|
83
|
+
.dialog,
|
|
84
|
+
.tooltip,
|
|
85
|
+
|
|
86
|
+
// Structure
|
|
87
|
+
.box,
|
|
88
|
+
.card,
|
|
89
|
+
.container,
|
|
90
|
+
.divider,
|
|
91
|
+
.emptyState,
|
|
92
|
+
.fancyBox,
|
|
93
|
+
.filterPill,
|
|
94
|
+
.filterBar,
|
|
95
|
+
.footer,
|
|
96
|
+
.grid,
|
|
97
|
+
.highlightData,
|
|
98
|
+
.mobileHeader,
|
|
99
|
+
.pageHeader,
|
|
100
|
+
.resourceCard,
|
|
101
|
+
.appLayout,
|
|
102
|
+
.mainLayout,
|
|
103
|
+
|
|
104
|
+
// Users
|
|
105
|
+
.avatar,
|
|
106
|
+
.userPopover,
|
|
107
|
+
.userTile,
|
|
108
|
+
|
|
109
|
+
// Loaders
|
|
110
|
+
.loading,
|
|
111
|
+
.progress,
|
|
112
|
+
.skeleton,
|
|
113
|
+
|
|
114
|
+
// Misc & oldies
|
|
115
|
+
.scrollBox,
|
|
116
|
+
.suggestion,
|
|
117
|
+
.section,
|
|
118
|
+
.collapse,
|
|
119
|
+
.titleSection,
|
|
120
|
+
.contentSection {
|
|
121
|
+
outline: 2px dashed springgreen;
|
|
122
|
+
outline-offset: 3px;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// HTML COMPONENTS INSIDE
|
|
126
|
+
|
|
127
|
+
.dataTable {
|
|
128
|
+
outline: 2px dashed springgreen;
|
|
129
|
+
outline-offset: -3px;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// ANGULAR COMPONENTS
|
|
133
|
+
|
|
134
|
+
[luButton],
|
|
135
|
+
[luLink],
|
|
136
|
+
|
|
137
|
+
// Icons
|
|
138
|
+
lu-bubble-illustration,
|
|
139
|
+
lu-bubble-icon,
|
|
140
|
+
lu-software-icon .softwareIcon,
|
|
141
|
+
lu-icon .lucca-icon,
|
|
142
|
+
|
|
143
|
+
// Texts
|
|
144
|
+
lu-code .code,
|
|
145
|
+
lu-comment,
|
|
146
|
+
lu-new-badge,
|
|
147
|
+
lu-numeric-badge,
|
|
148
|
+
lu-plg-push,
|
|
149
|
+
lu-read-more,
|
|
150
|
+
lu-status-badge,
|
|
151
|
+
lu-tag .tag,
|
|
152
|
+
lu-text-flow,
|
|
153
|
+
lu-mobile-push,
|
|
154
|
+
lu-data-presentation,
|
|
155
|
+
|
|
156
|
+
// Lists
|
|
157
|
+
lu-chip, [luChip]
|
|
158
|
+
lu-data-table .dataTable,
|
|
159
|
+
lu-index-table,
|
|
160
|
+
lu-sortable-list .sortableList,
|
|
161
|
+
lu-listing-item,
|
|
162
|
+
|
|
163
|
+
// Forms
|
|
164
|
+
lu-form-field,
|
|
165
|
+
lu-color-input,
|
|
166
|
+
lu-text-input,
|
|
167
|
+
lu-checkbox-input,
|
|
168
|
+
lu-switch-input,
|
|
169
|
+
lu-radio-input,
|
|
170
|
+
lu-clear,
|
|
171
|
+
lu-date-input,
|
|
172
|
+
lu-date-range-input,
|
|
173
|
+
lu-time-picker,
|
|
174
|
+
lu-duration-picker,
|
|
175
|
+
[luForm],
|
|
176
|
+
lu-fieldset,
|
|
177
|
+
lu-single-file-upload,
|
|
178
|
+
lu-multi-file-upload,
|
|
179
|
+
lu-file-entry,
|
|
180
|
+
lu-inline-message,
|
|
181
|
+
lu-input-framed,
|
|
182
|
+
lu-rich-text-input,
|
|
183
|
+
lu-simple-select,
|
|
184
|
+
lu-multi-select,
|
|
185
|
+
lu-listbox-option,
|
|
186
|
+
|
|
187
|
+
// Feedback
|
|
188
|
+
lu-callout .callout,
|
|
189
|
+
lu-callout-disclosure,
|
|
190
|
+
lu-callout-popover,
|
|
191
|
+
lu-callout-feedback-list,
|
|
192
|
+
lu-gauge .gauge,
|
|
193
|
+
lu-toasts,
|
|
194
|
+
|
|
195
|
+
// Navigation
|
|
196
|
+
lu-breadcrumbs,
|
|
197
|
+
lu-mobile-navigation,
|
|
198
|
+
lu-pagination,
|
|
199
|
+
lu-segmented-control,
|
|
200
|
+
lu-skip-links,
|
|
201
|
+
lu-horizontal-navigation,
|
|
202
|
+
lu-table-of-content,
|
|
203
|
+
lu-vertical-navigation,
|
|
204
|
+
|
|
205
|
+
// Overlays
|
|
206
|
+
lu-popover-content,
|
|
207
|
+
lu-dropdown-item,
|
|
208
|
+
lu-dialog,
|
|
209
|
+
lu-dialog-header,
|
|
210
|
+
lu-dialog-content,
|
|
211
|
+
lu-dialog-footer,
|
|
212
|
+
lu-tooltip-panel,
|
|
213
|
+
|
|
214
|
+
// Structure
|
|
215
|
+
lu-box,
|
|
216
|
+
lu-container,
|
|
217
|
+
lu-divider,
|
|
218
|
+
lu-empty-state-page,
|
|
219
|
+
lu-empty-state-section,
|
|
220
|
+
lu-fancy-box,
|
|
221
|
+
lu-filter-pill,
|
|
222
|
+
lu-filter-bar,
|
|
223
|
+
lu-footer,
|
|
224
|
+
lu-grid,
|
|
225
|
+
lu-highlight-data,
|
|
226
|
+
lu-mobile-header,
|
|
227
|
+
lu-page-header,
|
|
228
|
+
lu-resource-card,
|
|
229
|
+
lu-app-layout,
|
|
230
|
+
lu-main-layout,
|
|
231
|
+
|
|
232
|
+
// Users
|
|
233
|
+
lu-user-picture,
|
|
234
|
+
lu-user-tile,
|
|
235
|
+
|
|
236
|
+
// Loaders
|
|
237
|
+
lu-loading,
|
|
238
|
+
lu-progress-bar .progress,
|
|
239
|
+
lu-skeleton-button,
|
|
240
|
+
lu-skeleton-field,
|
|
241
|
+
lu-skeleton-header,
|
|
242
|
+
lu-skeleton-index-table,
|
|
243
|
+
lu-skeleton-data-table,
|
|
244
|
+
|
|
245
|
+
// Misc & oldies
|
|
246
|
+
lu-scroll-box {
|
|
247
|
+
outline: 2px solid springgreen !important;
|
|
248
|
+
outline-offset: 3px;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
// DEPRECATED COMPONENTS
|
|
252
|
+
|
|
253
|
+
.checkbox,
|
|
254
|
+
.switch,
|
|
255
|
+
.radio,
|
|
256
|
+
.file,
|
|
257
|
+
.list,
|
|
258
|
+
.label,
|
|
259
|
+
.radioButtons,
|
|
260
|
+
.textfield,
|
|
261
|
+
.table,
|
|
262
|
+
.main,
|
|
263
|
+
.filters,
|
|
264
|
+
.notchBox,
|
|
265
|
+
.layout,
|
|
266
|
+
.header,
|
|
267
|
+
.filterBarDeprecated,
|
|
268
|
+
lu-skeleton-table {
|
|
269
|
+
outline: 2px solid red;
|
|
270
|
+
outline-offset: 3px;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
@use '@lucca-front/icons/src/commons/core' as transform;
|
|
5
5
|
@use '@lucca-front/scss/src/commons/core';
|
|
6
6
|
|
|
7
|
+
@use '@lucca-front/scss/src/commons/utils/highlight-prisme';
|
|
7
8
|
@use '@lucca-front/scss/src/commons/utils/keyframe';
|
|
8
9
|
@use '@lucca-front/scss/src/commons/utils/reset';
|
|
9
10
|
@use '@lucca-front/scss/src/commons/utils/text';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
2
|
--components-color-value-before-display: none;
|
|
3
3
|
--components-color-value-scale: 1;
|
|
4
|
-
--components-color-value-inlineSize:
|
|
4
|
+
--components-color-value-inlineSize: var(--pr-t-spacings-250);
|
|
5
5
|
--components-color-value-boxShadowColor: transparent;
|
|
6
6
|
--components-color-value-backgroundColor: transparent;
|
|
7
7
|
--components-color-value-channel: clamp(0, (((r * .299) + (g * .587) + (b * .114)) - 128) * -1000, 255);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/color';
|
|
2
3
|
|
|
3
4
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
4
5
|
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
@@ -89,6 +90,11 @@
|
|
|
89
90
|
.fileUpload-button.button {
|
|
90
91
|
visibility: var(--components-fileUpload-button-visibility);
|
|
91
92
|
display: var(--components-fileUpload-button-display);
|
|
93
|
+
|
|
94
|
+
&:not(.mod-filled) {
|
|
95
|
+
@include button.outlined;
|
|
96
|
+
@include color.palette('product');
|
|
97
|
+
}
|
|
92
98
|
}
|
|
93
99
|
|
|
94
100
|
.fileUpload-instruction-filename {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.listing-item-icon {
|
|
37
|
-
inline-size:
|
|
37
|
+
inline-size: var(--pr-t-spacings-250);
|
|
38
38
|
aspect-ratio: 1;
|
|
39
39
|
margin-top: var(--pr-t-spacings-25);
|
|
40
40
|
background-color: var(--components-listing-item-icon-backgroundColor);
|
|
@@ -13,13 +13,11 @@
|
|
|
13
13
|
|
|
14
14
|
@layer mods {
|
|
15
15
|
&:has(.mainLayout-content-inside-header.mod-sticky) {
|
|
16
|
-
@include
|
|
17
|
-
@include stickyTop;
|
|
16
|
+
@include stickyHeaderVertical;
|
|
18
17
|
}
|
|
19
18
|
|
|
20
19
|
&:has(.mainLayout-content-inside-footer.mod-sticky) {
|
|
21
|
-
@include
|
|
22
|
-
@include stickyBottom;
|
|
20
|
+
@include stickyFooterVertical;
|
|
23
21
|
}
|
|
24
22
|
}
|
|
25
23
|
}
|
|
@@ -28,11 +26,11 @@
|
|
|
28
26
|
.mainLayout-content-inside {
|
|
29
27
|
&:has(.mainLayout-content-inside-block.mod-overflow) {
|
|
30
28
|
.mainLayout-content-inside-header {
|
|
31
|
-
@include
|
|
29
|
+
@include stickyHeaderHorizontal;
|
|
32
30
|
}
|
|
33
31
|
|
|
34
32
|
.mainLayout-content-inside-footer {
|
|
35
|
-
@include
|
|
33
|
+
@include stickyFooterHorizontal;
|
|
36
34
|
}
|
|
37
35
|
|
|
38
36
|
.mainLayout-content-inside-block:not(.mod-overflow) {
|
|
@@ -2,24 +2,26 @@
|
|
|
2
2
|
--components-mainLayout-flexDirection: row;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
@mixin
|
|
5
|
+
@mixin stickyHeaderHorizontal {
|
|
6
6
|
--components-mainLayout-content-inside-header-position: sticky;
|
|
7
|
-
--components-mainLayout-content-inside-header-backgroundColor: var(--commons-background-base);
|
|
8
7
|
}
|
|
9
8
|
|
|
10
|
-
@mixin
|
|
9
|
+
@mixin stickyFooterHorizontal {
|
|
11
10
|
--components-mainLayout-content-inside-footer-position: sticky;
|
|
12
|
-
--components-mainLayout-content-inside-footer-backgroundColor: var(--commons-background-base);
|
|
13
11
|
}
|
|
14
12
|
|
|
15
|
-
@mixin
|
|
16
|
-
--components-mainLayout-content-inside-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@mixin stickyTop {
|
|
13
|
+
@mixin stickyHeaderVertical {
|
|
14
|
+
--components-mainLayout-content-inside-header-position: sticky;
|
|
20
15
|
--components-mainLayout-content-inside-header-insetBlockStart: 0;
|
|
16
|
+
--components-mainLayout-content-inside-header-backgroundColor: var(--commons-background-base);
|
|
21
17
|
}
|
|
22
18
|
|
|
23
|
-
@mixin
|
|
19
|
+
@mixin stickyFooterVertical {
|
|
20
|
+
--components-mainLayout-content-inside-footer-position: sticky;
|
|
24
21
|
--components-mainLayout-content-inside-footer-insetBlockEnd: 0;
|
|
22
|
+
--components-mainLayout-content-inside-footer-backgroundColor: var(--commons-background-base);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@mixin stickyBlock {
|
|
26
|
+
--components-mainLayout-content-inside-block-position: sticky;
|
|
25
27
|
}
|