@simplybusiness/theme-core 7.0.2

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/CHANGELOG.md ADDED
@@ -0,0 +1,505 @@
1
+ # @simplybusiness/theme-sb
2
+
3
+ ## 7.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [0c9b97d]
8
+ - Updated dependencies [b4e62d9]
9
+ - @simplybusiness/mobius@5.0.1
10
+ - @simplybusiness/mobius-chopin@6.1.1
11
+
12
+ ## 7.0.1
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [8d1c1f2]
17
+ - @simplybusiness/mobius-chopin@6.1.0
18
+
19
+ ## 7.0.0
20
+
21
+ ### Major Changes
22
+
23
+ - b4ed8a1: ### Breaking Change
24
+
25
+ Renamed `margin` prop on `Segment` to be `gap`.
26
+
27
+ ### Why
28
+
29
+ The `margin` prop name was misleading and did not accurately describe its purpose. The new name `gap` better reflects the spacing functionality it provides.
30
+
31
+ ### How to Update
32
+
33
+ Update your code to replace the `margin` prop with the `gap` prop on the `Segment` and `<SegmentGroup >` components. For example:
34
+
35
+ Before:
36
+
37
+ ```jsx
38
+ <Segment margin="size-xs" />
39
+ <SegmentGroup margin="size-xs" />
40
+ ```
41
+
42
+ After:
43
+
44
+ ```jsx
45
+ <Segment gap="size-xs" />
46
+ <SegmentGroup gap="size-xs" />
47
+ ```
48
+
49
+ - 93b9c39: ### Breaking Change
50
+
51
+ External margins removed from the following components:
52
+
53
+ - `Accordion`
54
+ - `Alert`
55
+ - `Checkbox`
56
+ - `ErrorMessage`
57
+ - `List`
58
+ - `NumberField`
59
+ - `Radio`
60
+ - `Select`
61
+ - `TextArea`
62
+ - `TextField`
63
+
64
+ ### Why
65
+
66
+ Having external margins on a component can make it difficult to compose components together. By removing these margins, it allows for more flexibility when composing components together.
67
+
68
+ ### How to Update
69
+
70
+ Spacing can be added back by using a `<Box />` component with the appropriate padding props.
71
+
72
+ - 8525e04: Use BEM for CSS classes
73
+
74
+ ### Minor Changes
75
+
76
+ - 4631011: Add `<InsuranceBenefits>` component; display on `<Page>`
77
+ - 7e166e1: Add `<Stack />` component
78
+ - ece03a7: Remove breakpoints from themes
79
+
80
+ ### Patch Changes
81
+
82
+ - e421edc: Restrict asset inlining to assets smaller than 10kB
83
+ - bad89a5: Use postcss to inline images in styles
84
+ - 6c2d415: Add helpdesk link to `QuoteHelp` component
85
+ - 5cfd1e7: Add Contractorplus theme; DRY up CSS in partner themes
86
+ - e586938: Switch to using built CSS for extending themes from theme-sb
87
+ - Updated dependencies [4631011]
88
+ - Updated dependencies [e755c17]
89
+ - Updated dependencies [61126b3]
90
+ - Updated dependencies [7f300d5]
91
+ - Updated dependencies [7e166e1]
92
+ - Updated dependencies [93b9c39]
93
+ - Updated dependencies [5a6692c]
94
+ - Updated dependencies [bad89a5]
95
+ - Updated dependencies [27ff678]
96
+ - Updated dependencies [8525e04]
97
+ - Updated dependencies [5d9d4b5]
98
+ - Updated dependencies [6c2d415]
99
+ - Updated dependencies [5cfd1e7]
100
+ - Updated dependencies [259bf98]
101
+ - Updated dependencies [de3ae3e]
102
+ - Updated dependencies [82ae482]
103
+ - Updated dependencies [829b3a5]
104
+ - Updated dependencies [266c36c]
105
+ - Updated dependencies [e586938]
106
+ - Updated dependencies [7137a3f]
107
+ - Updated dependencies [9fe9734]
108
+ - @simplybusiness/mobius-chopin@6.0.0
109
+ - @simplybusiness/icons@4.14.0
110
+ - @simplybusiness/mobius@5.0.0
111
+
112
+ ## 6.0.3
113
+
114
+ ### Patch Changes
115
+
116
+ - 2e7ab01: Colocate CSS files and component source
117
+ - Updated dependencies [9a47144]
118
+ - Updated dependencies [2e7ab01]
119
+ - Updated dependencies [0798620]
120
+ - Updated dependencies [be9afef]
121
+ - @simplybusiness/mobius-chopin@5.1.2
122
+ - @simplybusiness/mobius@4.16.1
123
+
124
+ ## 6.0.2
125
+
126
+ ### Patch Changes
127
+
128
+ - Updated dependencies [41f36e9]
129
+ - Updated dependencies [3abeb14]
130
+ - @simplybusiness/mobius-chopin@5.1.1
131
+
132
+ ## 6.0.1
133
+
134
+ ### Patch Changes
135
+
136
+ - 556966e: Fixes `ThankYou` component styles to correctly be `Referral`
137
+ - Updated dependencies [fdd9831]
138
+ - @simplybusiness/mobius-chopin@5.1.0
139
+
140
+ ## 6.0.0
141
+
142
+ ### Major Changes
143
+
144
+ - 9f9e1b2: **BREAKING CHANGE** - Move all sass files to css.
145
+
146
+ This is a breaking change because it will require all consumers of this package to update their import paths. If you are using this package, and importing the sass files directly, these imports will need to be replaced with the css files instead. For example:
147
+
148
+ ```scss
149
+ // Before
150
+ @import "@simplybusiness/theme-sb/src/index.scss";
151
+
152
+ // After
153
+ @import "@simplybusiness/theme-sb/src/index.css";
154
+ ```
155
+
156
+ ### Patch Changes
157
+
158
+ - cd7aef6: Avoid clipping `<Accordion />` content when open
159
+
160
+ ## 5.0.0
161
+
162
+ ### Major Changes
163
+
164
+ - c801be9: **Breaking change** - Rename all `ThankYou` components to `Referral`
165
+
166
+ ### Minor Changes
167
+
168
+ - 48af0b3: Add `<CertificateOfInsurance>`
169
+ - 9fb2572: Added Loading Skeleton for QCP page components
170
+ - e65b096: Added Quote Details PaymentInformation Variant for Iterated QCP
171
+ - b9b2f62: Added `<InfoCard>` component
172
+ - 08cadb0: Implement page content for `<AgentReferralPage />`
173
+ - 6f7a0ea: Add `<AgentResources>`
174
+ - 45e9667: Add `<EditLimits>` to `<HeadlineExperimentIteratedQCP>`
175
+
176
+ ### Patch Changes
177
+
178
+ - d1d1631: Allow `<Container>` `elementType` to be a range of HTML element tags; allow `style` prop
179
+ - Updated dependencies [5ab68d0]
180
+ - Updated dependencies [6f7a0ea]
181
+ - @simplybusiness/icons@4.13.0
182
+
183
+ ## 4.16.0
184
+
185
+ ### Minor Changes
186
+
187
+ - d23307a: Add `<Headline>` variant
188
+ - 6220b31: Render `<Ratings>` component based on experiment value
189
+ - 93d8a75: Bump react-day-picker to latest; improve accessibility
190
+
191
+ ## 4.15.0
192
+
193
+ ### Minor Changes
194
+
195
+ - af4c32b: Add `<NextCoverage>` component
196
+
197
+ ### Patch Changes
198
+
199
+ - 9280836: Enable drawer functionality in quote cards
200
+
201
+ ## 4.14.0
202
+
203
+ ### Minor Changes
204
+
205
+ - c59bff1: Add `<QuoteCard>` component
206
+ - fee3466: Add `<QuoteCards>` component
207
+
208
+ ### Patch Changes
209
+
210
+ - c667159: Quote card spacing and bullet
211
+ - 11e7ef7: Display `<QuoteCards>` on `<USQCPPage>`
212
+ - 1f347dd: Dependency updates
213
+ - 4a49d5b: Propagate variant to component props
214
+ - Updated dependencies [1f347dd]
215
+ - @simplybusiness/icons@4.12.1
216
+
217
+ ## 4.13.0
218
+
219
+ ### Minor Changes
220
+
221
+ - f03f5ad: Add `<PaymentToggle>`
222
+
223
+ ### Patch Changes
224
+
225
+ - 2c6cdcd: Add `<CoverTogglesContainer>`
226
+
227
+ ## 4.12.0
228
+
229
+ ### Minor Changes
230
+
231
+ - 36d27cc: Add QuoteHelp component
232
+ - e8b6adf: Remove `<RadioButton>`; align component styles with design guidelines
233
+ - b260279: Add `<ProgressSteps>`; add `size` prop to `<Container>`
234
+ - 351e818: Add <Headline> component to @simplybusiness/mobius-chopin
235
+ - 6be84e4: Add <CoverSummary> component to @simplybusiness/mobius-chopin
236
+
237
+ ## 4.11.0
238
+
239
+ ### Minor Changes
240
+
241
+ - 98445a1: Bump dependencies
242
+
243
+ ### Patch Changes
244
+
245
+ - Updated dependencies [98445a1]
246
+ - @simplybusiness/icons@4.12.0
247
+
248
+ ## 4.10.0
249
+
250
+ ### Minor Changes
251
+
252
+ - fd89aed: Move embedded-cd trade selector styles back into Mobius
253
+
254
+ ## 4.9.0
255
+
256
+ ### Minor Changes
257
+
258
+ - b778a4b: Merge @simplybusiness/theme-chopin into @simplybusiness/theme-sb
259
+
260
+ ## 4.8.0
261
+
262
+ ### Minor Changes
263
+
264
+ - e9a6c03: Align `<Checkbox>`, `<TextField>` and `<Button>` default styles with Figma
265
+
266
+ ### Patch Changes
267
+
268
+ - Updated dependencies [e9a6c03]
269
+ - @simplybusiness/icons@4.11.0
270
+
271
+ ## 4.7.1
272
+
273
+ ### Patch Changes
274
+
275
+ - Updated dependencies [b942106]
276
+ - @simplybusiness/icons@4.10.1
277
+
278
+ ## 4.7.0
279
+
280
+ ### Minor Changes
281
+
282
+ - 40ce46a: Add `<Trust>`, `<TrustSection>`, `<PreFooter>`; fix `circleTick` name prop; plop generator for Chopin components
283
+
284
+ ### Patch Changes
285
+
286
+ - Updated dependencies [fc30887]
287
+ - Updated dependencies [40ce46a]
288
+ - @simplybusiness/icons@4.10.0
289
+
290
+ ## 4.6.0
291
+
292
+ ### Minor Changes
293
+
294
+ - 989ba8d: Update Chopin `<Header>` to reflect data contract
295
+
296
+ ## 4.5.2
297
+
298
+ ### Patch Changes
299
+
300
+ - d490c1b: Add `<GeneralPage>` Chopin component
301
+
302
+ ## 4.5.1
303
+
304
+ ### Patch Changes
305
+
306
+ - Updated dependencies [7e6c030]
307
+ - @simplybusiness/icons@4.9.0
308
+
309
+ ## 4.5.0
310
+
311
+ ### Minor Changes
312
+
313
+ - 13c6553: Bump dependencies (minor and patch)
314
+
315
+ ### Patch Changes
316
+
317
+ - Updated dependencies [13c6553]
318
+ - @simplybusiness/icons@4.8.0
319
+
320
+ ## 4.4.1
321
+
322
+ ### Patch Changes
323
+
324
+ - 2392b6b: Fix handling of `isInvalid` prop; remove internal use of `validationState`
325
+
326
+ ## 4.4.0
327
+
328
+ ### Minor Changes
329
+
330
+ - c8b5a7b: Add `<PaymentConfirmation>` component to @simplybusiness/mobius-chopin
331
+
332
+ ## 4.3.15
333
+
334
+ ### Patch Changes
335
+
336
+ - 4444a85: Update @simplybusiness/mobius-chopin `<Footer>` design; share opening hours props between `<Header>` and `<Footer>`
337
+ - 2445e7e: Fix `<Accordion>` toggle text line height
338
+
339
+ ## 4.3.14
340
+
341
+ ### Patch Changes
342
+
343
+ - Updated dependencies [addd8fb]
344
+ - @simplybusiness/icons@4.7.1
345
+
346
+ ## 4.3.13
347
+
348
+ ### Patch Changes
349
+
350
+ - Updated dependencies [34295d7]
351
+ - @simplybusiness/icons@4.7.0
352
+
353
+ ## 4.3.12
354
+
355
+ ### Patch Changes
356
+
357
+ - 600dfd4: Fix `<Flex>` not honouring CSS `display` overwrite; fix Chopin `<Header>` styles
358
+ - 1439ba7: Fix `<Checkbox>` not passing additional props to `<input>` when provided; fix `<CheckboxGroup orientation="horizontal">` not working
359
+
360
+ ## 4.3.11
361
+
362
+ ### Patch Changes
363
+
364
+ - Updated dependencies [3424b0a]
365
+ - @simplybusiness/icons@4.6.0
366
+
367
+ ## 4.3.10
368
+
369
+ ### Patch Changes
370
+
371
+ - Updated dependencies [886bc6d]
372
+ - @simplybusiness/icons@4.5.0
373
+
374
+ ## 4.3.9
375
+
376
+ ### Patch Changes
377
+
378
+ - Updated dependencies [455d898]
379
+ - @simplybusiness/icons@4.4.0
380
+
381
+ ## 4.3.8
382
+
383
+ ### Patch Changes
384
+
385
+ - b9269af: Set font-display to swap for all fonts
386
+
387
+ ## 4.3.7
388
+
389
+ ### Patch Changes
390
+
391
+ - 22360de: Allow DropdownMenu.Item to be a component that inherits default CSS
392
+
393
+ ## 4.3.6
394
+
395
+ ### Patch Changes
396
+
397
+ - cf617b8: Fix `<Button variant="secondary" isDisabled>` hover state; map `inverse`, `inverse-ghost` to alternatives
398
+
399
+ ## 4.3.5
400
+
401
+ ### Patch Changes
402
+
403
+ - d73f6f3: Replace 'Palette' with 'CSS Variables' docs page in Storybook; remove `colors.js` from theme packages
404
+
405
+ ## 4.3.4
406
+
407
+ ### Patch Changes
408
+
409
+ - Updated dependencies [f49a94b]
410
+ - @simplybusiness/icons@4.3.1
411
+
412
+ ## 4.3.3
413
+
414
+ ### Patch Changes
415
+
416
+ - a8651a3: Fix alignment in Breadcrumbs
417
+
418
+ ## 4.3.2
419
+
420
+ ### Patch Changes
421
+
422
+ - 0061f97: Add InsuranceBee partner theme
423
+
424
+ ## 4.3.1
425
+
426
+ ### Patch Changes
427
+
428
+ - de96bac: Remove `<body>` background color in theme-sb package
429
+
430
+ ## 4.3.0
431
+
432
+ ### Minor Changes
433
+
434
+ - b0d7505: Add new variant "link" to `<Button>`
435
+
436
+ ## 4.2.16
437
+
438
+ ### Patch Changes
439
+
440
+ - f2616fd: - Fix `<Flex>` flex props being overwritten by style attribute
441
+ - Fix `<Radio>` additional props not propagating
442
+ - Fix `<Radio>` style when checked and with keyboard focus
443
+ - Add testing docs for `<Modal>` and `<Drawer>`
444
+
445
+ ## 4.2.15
446
+
447
+ ### Patch Changes
448
+
449
+ - Updated dependencies [d1fb294]
450
+ - @simplybusiness/icons@4.3.0
451
+
452
+ ## 4.2.14
453
+
454
+ ### Patch Changes
455
+
456
+ - b798033: Do not minify CSS
457
+
458
+ ## 4.2.13
459
+
460
+ ### Patch Changes
461
+
462
+ - Updated dependencies [c310b67]
463
+ - @simplybusiness/icons@4.2.9
464
+
465
+ ## 4.2.12
466
+
467
+ ### Patch Changes
468
+
469
+ - a572d54: Fix `<Icon>` server-side rendering
470
+ - 5d9e203: Fix spacing under `<TradeSelector>` label
471
+
472
+ ## 4.2.11
473
+
474
+ ### Patch Changes
475
+
476
+ - d624244: Fix default `<select>` arrows showing in iOS <= 15.2
477
+ - d718207: Fix parsing issue in theme css in older versions of postcss
478
+ - b5a1844: Set form input components to a consistent 48px height
479
+
480
+ ## 4.2.10
481
+
482
+ ### Patch Changes
483
+
484
+ - Updated dependencies [424ba56]
485
+ - @simplybusiness/icons@4.2.8
486
+
487
+ ## 4.2.9
488
+
489
+ ### Patch Changes
490
+
491
+ - ee6a685: Fix an issue where `<Drawer>` positions incorrectly on iPhone/iPad rotation. This also fixes `<Modal>` positioning in iOS <= 15.2
492
+
493
+ ## 4.2.8
494
+
495
+ ### Patch Changes
496
+
497
+ - 4e86bc6: Add gap between title and close button in Drawer header
498
+
499
+ ## 4.2.7
500
+
501
+ ### Patch Changes
502
+
503
+ - 8b6c5d6: Uplift outdated dependencies
504
+ - Updated dependencies [8b6c5d6]
505
+ - @simplybusiness/icons@4.2.7
Binary file
Binary file
package/dist/fonts.css ADDED
@@ -0,0 +1,16 @@
1
+ @font-face{
2
+ font-family:museosans;
3
+ font-weight:500;
4
+ font-style:normal;
5
+ font-display:swap;
6
+ src:url(80fa984d12321ab7bf3d.woff2) format("woff2");
7
+ }
8
+
9
+ @font-face{
10
+ font-family:museosans;
11
+ font-weight:700;
12
+ font-style:normal;
13
+ font-display:swap;
14
+ src:url(33a3e6d23ada9a4659a2.woff2) format("woff2");
15
+ }
16
+