@phillips/seldon 1.244.0 → 1.246.0
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/components/Accordion/Accordion.stories.d.ts +0 -1
- package/dist/components/Accordion/AccordionItem.d.ts +0 -5
- package/dist/components/Accordion/AccordionItem.js +66 -94
- package/dist/components/Accordion/index.d.ts +1 -1
- package/dist/components/Accordion/types.d.ts +0 -12
- package/dist/components/Accordion/types.js +1 -2
- package/dist/components/Accordion/utils.d.ts +2 -3
- package/dist/components/Accordion/utils.js +7 -9
- package/dist/index.js +222 -223
- package/dist/providers/SeldonProvider/utils.d.ts +1 -1
- package/dist/scss/_utils.scss +0 -19
- package/dist/scss/_vars.scss +1 -27
- package/dist/scss/_vars.scss.js +1 -27
- package/dist/scss/componentStyles.scss +1 -118
- package/dist/scss/components/Accordion/_accordion.scss +0 -26
- package/dist/scss/components/Breadcrumb/_breadcrumb.scss +0 -7
- package/dist/scss/components/PageContentWrapper/_pageContentWrapper.scss +0 -4
- package/dist/scss/components/Select/_select.scss +0 -10
- package/dist/scss/components/Tags/_tags.scss +0 -8
- package/dist/scss/patterns/FavoritesCollectionTile/_favoritesCollectionTile.scss +0 -4
- package/dist/scss/patterns/FiltersInline/_filterDropdownMenu.scss +0 -4
- package/dist/scss/patterns/FiltersInline/_filtersInline.scss +0 -4
- package/dist/scss/patterns/PhoneNumberInput/_phoneNumberInput.scss +1 -1
- package/dist/scss/patterns/SaleCard/_saleCard.scss +0 -4
- package/dist/scss/site-furniture/Header/_header.scss +0 -4
- package/dist/utils/constants.d.ts +0 -1
- package/dist/utils/constants.js +0 -1
- package/package.json +1 -1
|
@@ -155,122 +155,5 @@
|
|
|
155
155
|
|
|
156
156
|
// FONT SIZES
|
|
157
157
|
|
|
158
|
-
@include font-size-vars
|
|
159
|
-
|
|
160
|
-
@media (min-width: $breakpoint-md) {
|
|
161
|
-
@include font-size-vars--md;
|
|
162
|
-
|
|
163
|
-
--quote-size: 1.75rem;
|
|
164
|
-
--quote-line-height: 2.25rem;
|
|
165
|
-
--heading-size1: 1.75rem;
|
|
166
|
-
--heading-line-height-size1: 2rem;
|
|
167
|
-
--heading-size2: 1.75rem;
|
|
168
|
-
--heading-line-height-size2: 2rem;
|
|
169
|
-
--heading-size3: 1.5rem;
|
|
170
|
-
--heading-line-height-size3: 1.75rem;
|
|
171
|
-
--heading-size4: 1.25rem;
|
|
172
|
-
--heading-line-height-size4: 1.5rem;
|
|
173
|
-
--heading-size5: 1rem;
|
|
174
|
-
--heading-line-height-size5: 1.25rem;
|
|
175
|
-
--string-size1: 1.25rem;
|
|
176
|
-
--string-line-height-size1: 1.5rem;
|
|
177
|
-
--string-size2: 1rem;
|
|
178
|
-
--string-line-height-size2: 1.25rem;
|
|
179
|
-
--string-size3: 0.75rem;
|
|
180
|
-
--string-line-height-size3: 1rem;
|
|
181
|
-
--body-size1: 1.25rem;
|
|
182
|
-
--body-line-height-size1: 1.75rem;
|
|
183
|
-
--body-size2: 1rem;
|
|
184
|
-
--body-line-height-size2: 1.5rem;
|
|
185
|
-
--body-size3: 0.75rem;
|
|
186
|
-
--body-line-height-size3: 1.25rem;
|
|
187
|
-
--label-size1: 1.25rem;
|
|
188
|
-
--label-size2: 1rem;
|
|
189
|
-
--label-size3: 0.75rem;
|
|
190
|
-
--label-size4: 0.75rem;
|
|
191
|
-
--link-label-size: 1rem;
|
|
192
|
-
--link-label-line-height: 1rem;
|
|
193
|
-
--button-label-size: 1rem;
|
|
194
|
-
--button-label-line-height: 1.25rem;
|
|
195
|
-
--badge-label-size: 0.75rem;
|
|
196
|
-
--badge-label-line-height: 1rem;
|
|
197
|
-
--snw-header-link-size: 1rem;
|
|
198
|
-
--snw-header-link-line-height: 1.5rem;
|
|
199
|
-
--snw-flyout-link-size: 0.875rem;
|
|
200
|
-
--snw-flyout-link-line-height: 1.75rem;
|
|
201
|
-
--snw-heading-hero-size1: 2.375rem;
|
|
202
|
-
--snw-heading-hero-line-height-size1: 2.875rem;
|
|
203
|
-
--snw-button-padding: 0.5rem;
|
|
204
|
-
--spacing-micro: 0.25rem;
|
|
205
|
-
--spacing-xsm: 0.5rem;
|
|
206
|
-
--spacing-sm: 1rem;
|
|
207
|
-
--spacing-md: 2rem;
|
|
208
|
-
--spacing-lg: 3rem;
|
|
209
|
-
--spacing-xl: 4rem;
|
|
210
|
-
--spacing-xxl: 5rem;
|
|
211
|
-
--spacing-xxxl: 6rem;
|
|
212
|
-
|
|
213
|
-
// --header-height is set dynamically by Header component
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
@media (min-width: $breakpoint-lg) {
|
|
217
|
-
--snw-flyout-link-size: 0.875rem;
|
|
218
|
-
--snw-flyout-link-line-height: 1.75rem;
|
|
219
|
-
|
|
220
|
-
// --header-height is set dynamically by Header component
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
@media (min-width: $breakpoint-xl) {
|
|
224
|
-
// FONT SIZES
|
|
225
|
-
@include font-size-vars--lg;
|
|
226
|
-
|
|
227
|
-
--quote-size: 2rem;
|
|
228
|
-
--quote-line-height: 2.5rem;
|
|
229
|
-
--heading-size1: 2rem;
|
|
230
|
-
--heading-line-height-size1: 2.25rem;
|
|
231
|
-
--heading-size2: 2rem;
|
|
232
|
-
--heading-line-height-size2: 2.25rem;
|
|
233
|
-
--heading-size3: 1.75rem;
|
|
234
|
-
--heading-line-height-size3: 2rem;
|
|
235
|
-
--heading-size4: 1.5rem;
|
|
236
|
-
--heading-line-height-size4: 1.75rem;
|
|
237
|
-
--heading-size5: 1.25rem;
|
|
238
|
-
--heading-line-height-size5: 1.5rem;
|
|
239
|
-
--string-size1: 1.5rem;
|
|
240
|
-
--string-line-height-size1: 1.75rem;
|
|
241
|
-
--string-size2: 1.25rem;
|
|
242
|
-
--string-line-height-size2: 1.5rem;
|
|
243
|
-
--string-size3: 1rem;
|
|
244
|
-
--string-line-height-size3: 1.25rem;
|
|
245
|
-
--body-size1: 1.5rem;
|
|
246
|
-
--body-line-height-size1: 2rem;
|
|
247
|
-
--body-size2: 1.25rem;
|
|
248
|
-
--body-line-height-size2: 1.75rem;
|
|
249
|
-
--body-size3: 1rem;
|
|
250
|
-
--body-line-height-size3: 1.5rem;
|
|
251
|
-
--label-size1: 1.56rem;
|
|
252
|
-
--label-size2: 1.25rem;
|
|
253
|
-
--label-size3: 1rem;
|
|
254
|
-
--link-label-size: 1.25rem;
|
|
255
|
-
--link-label-line-height: 1.25rem;
|
|
256
|
-
--button-label-size: 1.25rem;
|
|
257
|
-
--button-label-line-height: 1.5rem;
|
|
258
|
-
--badge-label-size: 1rem;
|
|
259
|
-
--badge-label-line-height: 1.5rem;
|
|
260
|
-
--snw-header-link-size: 1.125rem;
|
|
261
|
-
--snw-header-link-line-height: 1.75rem;
|
|
262
|
-
--snw-flyout-link-size: 1.125rem;
|
|
263
|
-
--snw-flyout-link-line-height: 2.125rem;
|
|
264
|
-
--snw-button-padding: 0.5rem;
|
|
265
|
-
--spacing-micro: 0.5rem;
|
|
266
|
-
--spacing-xsm: 0.75rem;
|
|
267
|
-
--spacing-sm: 1.25rem;
|
|
268
|
-
--spacing-md: 2.25rem;
|
|
269
|
-
--spacing-lg: 3.25rem;
|
|
270
|
-
--spacing-xl: 4.25rem;
|
|
271
|
-
--spacing-xxl: 5.25rem;
|
|
272
|
-
--spacing-xxxl: 6.25rem;
|
|
273
|
-
--search-size: 2.875rem; // This should be calculated from the scaling text and scaling spacing tokens instead of hardcoding in case they change
|
|
274
|
-
// --header-height is set dynamically by Header component
|
|
275
|
-
}
|
|
158
|
+
@include font-size-vars;
|
|
276
159
|
}
|
|
@@ -134,38 +134,12 @@
|
|
|
134
134
|
width: 1.5rem;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
&__icon--sm {
|
|
138
|
-
flex: initial;
|
|
139
|
-
height: 0.75rem;
|
|
140
|
-
width: 1.25rem;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
137
|
@include media($breakpoint-md) {
|
|
144
138
|
&__icon {
|
|
145
139
|
flex: initial;
|
|
146
140
|
height: 1rem;
|
|
147
141
|
width: 1.5rem;
|
|
148
142
|
}
|
|
149
|
-
|
|
150
|
-
&__icon--sm {
|
|
151
|
-
flex: initial;
|
|
152
|
-
height: 0.875rem;
|
|
153
|
-
width: 1.5rem;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
@include media($breakpoint-xl) {
|
|
158
|
-
&__icon {
|
|
159
|
-
flex: initial;
|
|
160
|
-
height: 1.25rem;
|
|
161
|
-
width: 1.75rem;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
&__icon--sm {
|
|
165
|
-
flex: initial;
|
|
166
|
-
height: 1rem;
|
|
167
|
-
width: 1.5rem;
|
|
168
|
-
}
|
|
169
143
|
}
|
|
170
144
|
|
|
171
145
|
&--blue-fill {
|
|
@@ -20,10 +20,6 @@
|
|
|
20
20
|
@media (min-width: $breakpoint-md) {
|
|
21
21
|
padding-right: 3.25rem;
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
@media (min-width: $breakpoint-xl) {
|
|
25
|
-
padding-right: 4.25rem;
|
|
26
|
-
}
|
|
27
23
|
}
|
|
28
24
|
}
|
|
29
25
|
}
|
|
@@ -43,12 +39,6 @@
|
|
|
43
39
|
width: 1.25rem;
|
|
44
40
|
}
|
|
45
41
|
|
|
46
|
-
@media (min-width: $breakpoint-xl) {
|
|
47
|
-
height: 1.5rem;
|
|
48
|
-
right: 0.55rem;
|
|
49
|
-
width: 1.5rem;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
42
|
path {
|
|
53
43
|
fill: $pure-black;
|
|
54
44
|
}
|
|
@@ -55,10 +55,6 @@
|
|
|
55
55
|
height: 2rem;
|
|
56
56
|
padding: 0 $spacing-sm;
|
|
57
57
|
|
|
58
|
-
@include media($breakpoint-xl) {
|
|
59
|
-
padding: $spacing-sm;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
58
|
svg {
|
|
63
59
|
fill: $black-100;
|
|
64
60
|
height: 1rem;
|
|
@@ -86,10 +82,6 @@
|
|
|
86
82
|
@include focus-ring($border-radius: $radius-3xl);
|
|
87
83
|
|
|
88
84
|
padding: 0 $spacing-sm;
|
|
89
|
-
|
|
90
|
-
@include media($breakpoint-xl) {
|
|
91
|
-
padding: $spacing-sm;
|
|
92
|
-
}
|
|
93
85
|
}
|
|
94
86
|
}
|
|
95
87
|
}
|
package/dist/utils/constants.js
CHANGED