Skip to content

Commit 0d11b87

Browse files
committed
Merge branch 'canary' into integrations/b2b-buyer-portal
2 parents 5fad3e8 + 1d6cf64 commit 0d11b87

332 files changed

Lines changed: 12998 additions & 4055 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/bright-rabbits-joke.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
"@bigcommerce/catalyst-core": patch
3+
---
4+
5+
Fixes the error warning by having a `ProductPickList` with no images, by making the `image` prop optional for when it is not needed.
6+
7+
## Migration
8+
9+
- Update `schema.ts` to allow optional `image` prop for `CardRadioField`
10+
- Update `productOptionsTransformer` switch to have two cases for `ProductPickList`
11+
- `ProductPickList` with no image object
12+
- `ProductPickListWithImages` with image object
13+
- Update ui component to make the `image` prop optional and conditionally render the image.

.changeset/chatty-taxis-beam.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@bigcommerce/catalyst-core": patch
3+
---
4+
5+
Remove cache from a customer-specific wishlist query.

.changeset/clean-times-tie.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@bigcommerce/catalyst-core": patch
3+
---
4+
5+
fix: `useCompareDrawer` does not throw on missing context

.changeset/cold-meals-sin.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
"@bigcommerce/catalyst-core": patch
3+
---
4+
5+
- Fixes an issue with the checkbox not properly triggering the required validation.
6+
- Fixes an issue with the checkbox not setting the default value from the API.
7+
- Fixes an issue with the field value being incorrectly set as `undefined`
8+
9+
## Migration
10+
11+
Update the props to set a `checked` value and pasa an empty string when checked box is unselected.
12+
13+
```
14+
case 'checkbox':
15+
return (
16+
<Checkbox
17+
checked={controls.value === 'true'}
18+
errors={formField.errors}
19+
key={formField.id}
20+
label={field.label}
21+
name={formField.name}
22+
onBlur={controls.blur}
23+
onCheckedChange={(value) => handleChange(value ? 'true' : '')}
24+
onFocus={controls.focus}
25+
required={formField.required}
26+
value={controls.value ?? ''}
27+
/>
28+
);
29+
```

.changeset/crazy-wings-smell.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
"@bigcommerce/catalyst-core": patch
3+
---
4+
5+
Add missing border style for `Input`, `NumberInput` and `DatePicker`.
6+
7+
## Migration
8+
9+
Following convention, add these conditional classes to the fields using `clsx`:
10+
11+
```
12+
{
13+
light:
14+
errors && errors.length > 0
15+
? 'border-[var(--input-light-border-error,hsl(var(--error)))]'
16+
: 'border-[var(--input-light-border,hsl(var(--contrast-100)))]',
17+
dark:
18+
errors && errors.length > 0
19+
? 'border-[var(--input-dark-border-error,hsl(var(--error)))]'
20+
: 'border-[var(--input-dark-border,hsl(var(--contrast-500)))]',
21+
}[colorScheme],
22+
```

.changeset/dry-frogs-pump.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/dull-chairs-invite.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"@bigcommerce/catalyst-core": patch
3+
---
4+
5+
Allow a list of CDN hostnames for cases when there can be more than one CDN available for image loader.
6+
7+
Migration:
8+
9+
- Update `build-config` schema to make `cdnUrls` an array of strings.
10+
- Update `next.config.ts` to set `cdnUrls` as an array, and set multiple preconnected Link headers (one per CDN).
11+
- `shouldUseLoaderProp` function now reads from array.

.changeset/fancy-clowns-shout.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@bigcommerce/catalyst-core": minor
3+
---
4+
5+
Render address fields for customer registration form.

.changeset/fast-pumas-unite.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@bigcommerce/catalyst-core": minor
3+
---
4+
5+
Use isomorphic-dompurify to santize any sort of shopper supplied input.

.changeset/fluffy-oranges-act.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@bigcommerce/catalyst-core": patch
3+
---
4+
5+
Soft fail analytics events if the provider is not rendered

0 commit comments

Comments
 (0)