@graphcommerce/ecommerce-ui 9.0.0-canary.56 → 9.0.0-canary.58

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +28 -41
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @graphcommerce/ecommerce-ui
2
2
 
3
+ ## 9.0.0-canary.58
4
+
5
+ ## 9.0.0-canary.57
6
+
3
7
  ## 9.0.0-canary.56
4
8
 
5
9
  ## 9.0.0-canary.55
@@ -20,8 +24,7 @@
20
24
 
21
25
  ### Minor Changes
22
26
 
23
- - [#2319](https://github.com/graphcommerce-org/graphcommerce/pull/2319) [`a3409e8`](https://github.com/graphcommerce-org/graphcommerce/commit/a3409e8a629ee95413da6547cbdcf48aa2502c23) - Created a new TelephoneElement component to make re-use easier
24
- ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
27
+ - [#2319](https://github.com/graphcommerce-org/graphcommerce/pull/2319) [`a3409e8`](https://github.com/graphcommerce-org/graphcommerce/commit/a3409e8a629ee95413da6547cbdcf48aa2502c23) - Created a new TelephoneElement component to make re-use easier ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
25
28
 
26
29
  ## 8.1.0-canary.47
27
30
 
@@ -51,8 +54,7 @@
51
54
 
52
55
  ### Patch Changes
53
56
 
54
- - [#2301](https://github.com/graphcommerce-org/graphcommerce/pull/2301) [`13d0649`](https://github.com/graphcommerce-org/graphcommerce/commit/13d06498d121f93b52c25930e50aa3b0bd12a818) - Created a new EmailElement component to make re-use easier
55
- ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
57
+ - [#2301](https://github.com/graphcommerce-org/graphcommerce/pull/2301) [`13d0649`](https://github.com/graphcommerce-org/graphcommerce/commit/13d06498d121f93b52c25930e50aa3b0bd12a818) - Created a new EmailElement component to make re-use easier ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
56
58
 
57
59
  ## 8.1.0-canary.34
58
60
 
@@ -122,15 +124,11 @@
122
124
 
123
125
  ### Patch Changes
124
126
 
125
- - [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`0767bc4`](https://github.com/graphcommerce-org/graphcommerce/commit/0767bc40f7b596209f24ca4e745ff0441f3275c9) - Upgrade input components to no longer use muiRegister, which improves INP scores
126
- ([@FrankHarland](https://github.com/FrankHarland))
127
+ - [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`0767bc4`](https://github.com/graphcommerce-org/graphcommerce/commit/0767bc40f7b596209f24ca4e745ff0441f3275c9) - Upgrade input components to no longer use muiRegister, which improves INP scores ([@FrankHarland](https://github.com/FrankHarland))
127
128
 
128
- - [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`43bd04a`](https://github.com/graphcommerce-org/graphcommerce/commit/43bd04a777c5800cc7e01bee1e123a5aad82f194) - Make sure the TextFieldElement doesn’t give a uncontrolled to controlled warning.
129
- Convert SelectElement to useController instead of a separate Controller component.
130
- Make sure the original endAdornment is always shown only until the value is valid ([@FrankHarland](https://github.com/FrankHarland))
129
+ - [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`43bd04a`](https://github.com/graphcommerce-org/graphcommerce/commit/43bd04a777c5800cc7e01bee1e123a5aad82f194) - Make sure the TextFieldElement doesn’t give a uncontrolled to controlled warning. Convert SelectElement to useController instead of a separate Controller component. Make sure the original endAdornment is always shown only until the value is valid ([@FrankHarland](https://github.com/FrankHarland))
131
130
 
132
- - [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`d4e693d`](https://github.com/graphcommerce-org/graphcommerce/commit/d4e693d553198c9a1ef398d000ca23d209e6c2ba) - The `<WaitForQueries/>` component now uses the useIsSSR hook which prevents loading spinners when navigating on the client, which make all account/cart/checkout pages faster.
133
- ([@FrankHarland](https://github.com/FrankHarland))
131
+ - [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`d4e693d`](https://github.com/graphcommerce-org/graphcommerce/commit/d4e693d553198c9a1ef398d000ca23d209e6c2ba) - The `<WaitForQueries/>` component now uses the useIsSSR hook which prevents loading spinners when navigating on the client, which make all account/cart/checkout pages faster. ([@FrankHarland](https://github.com/FrankHarland))
134
132
 
135
133
  ## 8.0.6-canary.1
136
134
 
@@ -170,14 +168,11 @@
170
168
 
171
169
  ### Patch Changes
172
170
 
173
- - [#2212](https://github.com/graphcommerce-org/graphcommerce/pull/2212) [`e12d1dc`](https://github.com/graphcommerce-org/graphcommerce/commit/e12d1dc201bf7b23a996bd58a256a117b91a9334) - Rename validation to rules for all Form field components and deprecate validation
174
- ([@paales](https://github.com/paales))
171
+ - [#2212](https://github.com/graphcommerce-org/graphcommerce/pull/2212) [`e12d1dc`](https://github.com/graphcommerce-org/graphcommerce/commit/e12d1dc201bf7b23a996bd58a256a117b91a9334) - Rename validation to rules for all Form field components and deprecate validation ([@paales](https://github.com/paales))
175
172
 
176
- - [#2203](https://github.com/graphcommerce-org/graphcommerce/pull/2203) [`7ef7dc7`](https://github.com/graphcommerce-org/graphcommerce/commit/7ef7dc7631f61a2feba67a531a210df9c22fed4b) - CheckboxElement, MultiSelectElement, NumberFieldElement, SelectElement, SliderElement and TextFieldElement have their inputRef passed, allowing focus to be set by the form.
177
- ([@Jessevdpoel](https://github.com/Jessevdpoel))
173
+ - [#2203](https://github.com/graphcommerce-org/graphcommerce/pull/2203) [`7ef7dc7`](https://github.com/graphcommerce-org/graphcommerce/commit/7ef7dc7631f61a2feba67a531a210df9c22fed4b) - CheckboxElement, MultiSelectElement, NumberFieldElement, SelectElement, SliderElement and TextFieldElement have their inputRef passed, allowing focus to be set by the form. ([@Jessevdpoel](https://github.com/Jessevdpoel))
178
174
 
179
- - [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`eb14696`](https://github.com/graphcommerce-org/graphcommerce/commit/eb14696fc65e084a06790c88a8218fb3003f7c2c) - `<WaitForQueries/>` will default to loading, restoring the previous behavior. This might introduce , this might introduce an additional spinner but prevents a flash where it is shown that there is no cart
180
- ([@paales](https://github.com/paales))
175
+ - [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`eb14696`](https://github.com/graphcommerce-org/graphcommerce/commit/eb14696fc65e084a06790c88a8218fb3003f7c2c) - `<WaitForQueries/>` will default to loading, restoring the previous behavior. This might introduce , this might introduce an additional spinner but prevents a flash where it is shown that there is no cart ([@paales](https://github.com/paales))
181
176
 
182
177
  ## 8.0.3-canary.6
183
178
 
@@ -185,15 +180,13 @@
185
180
 
186
181
  ### Patch Changes
187
182
 
188
- - [#2212](https://github.com/graphcommerce-org/graphcommerce/pull/2212) [`e12d1dc`](https://github.com/graphcommerce-org/graphcommerce/commit/e12d1dc201bf7b23a996bd58a256a117b91a9334) - Rename validation to rules for all Form field components and deprecate validation
189
- ([@paales](https://github.com/paales))
183
+ - [#2212](https://github.com/graphcommerce-org/graphcommerce/pull/2212) [`e12d1dc`](https://github.com/graphcommerce-org/graphcommerce/commit/e12d1dc201bf7b23a996bd58a256a117b91a9334) - Rename validation to rules for all Form field components and deprecate validation ([@paales](https://github.com/paales))
190
184
 
191
185
  ## 8.0.3-canary.4
192
186
 
193
187
  ### Patch Changes
194
188
 
195
- - [#2203](https://github.com/graphcommerce-org/graphcommerce/pull/2203) [`7ef7dc7`](https://github.com/graphcommerce-org/graphcommerce/commit/7ef7dc7631f61a2feba67a531a210df9c22fed4b) - CheckboxElement, MultiSelectElement, NumberFieldElement, SelectElement, SliderElement and TextFieldElement have their inputRef passed, allowing focus to be set by the form.
196
- ([@Jessevdpoel](https://github.com/Jessevdpoel))
189
+ - [#2203](https://github.com/graphcommerce-org/graphcommerce/pull/2203) [`7ef7dc7`](https://github.com/graphcommerce-org/graphcommerce/commit/7ef7dc7631f61a2feba67a531a210df9c22fed4b) - CheckboxElement, MultiSelectElement, NumberFieldElement, SelectElement, SliderElement and TextFieldElement have their inputRef passed, allowing focus to be set by the form. ([@Jessevdpoel](https://github.com/Jessevdpoel))
197
190
 
198
191
  ## 8.0.3-canary.3
199
192
 
@@ -201,8 +194,7 @@
201
194
 
202
195
  ### Patch Changes
203
196
 
204
- - [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`eb14696`](https://github.com/graphcommerce-org/graphcommerce/commit/eb14696fc65e084a06790c88a8218fb3003f7c2c) - `<WaitForQueries/>` will default to loading, restoring the previous behavior. This might introduce , this might introduce an additional spinner but prevents a flash where it is shown that there is no cart
205
- ([@paales](https://github.com/paales))
197
+ - [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`eb14696`](https://github.com/graphcommerce-org/graphcommerce/commit/eb14696fc65e084a06790c88a8218fb3003f7c2c) - `<WaitForQueries/>` will default to loading, restoring the previous behavior. This might introduce , this might introduce an additional spinner but prevents a flash where it is shown that there is no cart ([@paales](https://github.com/paales))
206
198
 
207
199
  ## 8.0.3-canary.1
208
200
 
@@ -234,19 +226,15 @@
234
226
 
235
227
  ### Minor Changes
236
228
 
237
- - [#2111](https://github.com/graphcommerce-org/graphcommerce/pull/2111) [`35f3d3e`](https://github.com/graphcommerce-org/graphcommerce/commit/35f3d3eaf46f4b782bb1149e0efb0ec3819442d6) - Only show network errors in development mode.
238
- ([@Jessevdpoel](https://github.com/Jessevdpoel))
229
+ - [#2111](https://github.com/graphcommerce-org/graphcommerce/pull/2111) [`35f3d3e`](https://github.com/graphcommerce-org/graphcommerce/commit/35f3d3eaf46f4b782bb1149e0efb0ec3819442d6) - Only show network errors in development mode. ([@Jessevdpoel](https://github.com/Jessevdpoel))
239
230
 
240
- - [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`13e23e4`](https://github.com/graphcommerce-org/graphcommerce/commit/13e23e4265bac70fb4d0830e4661019e71ce299f) - Wishlist will now support configurable products and uses the `<ActionCardLayout/>`
241
- ([@Jessevdpoel](https://github.com/Jessevdpoel))
231
+ - [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`13e23e4`](https://github.com/graphcommerce-org/graphcommerce/commit/13e23e4265bac70fb4d0830e4661019e71ce299f) - Wishlist will now support configurable products and uses the `<ActionCardLayout/>` ([@Jessevdpoel](https://github.com/Jessevdpoel))
242
232
 
243
- - [#2018](https://github.com/graphcommerce-org/graphcommerce/pull/2018) [`750aa6a`](https://github.com/graphcommerce-org/graphcommerce/commit/750aa6a72710869d54244467253212e551d335e0) - Changed the layout of the succes page. We are using ActionCards right now to match the design of the cart.
244
- ([@Jessevdpoel](https://github.com/Jessevdpoel))
233
+ - [#2018](https://github.com/graphcommerce-org/graphcommerce/pull/2018) [`750aa6a`](https://github.com/graphcommerce-org/graphcommerce/commit/750aa6a72710869d54244467253212e551d335e0) - Changed the layout of the succes page. We are using ActionCards right now to match the design of the cart. ([@Jessevdpoel](https://github.com/Jessevdpoel))
245
234
 
246
235
  ### Patch Changes
247
236
 
248
- - [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - Accessibility improvements for the frontend: Added skip content link. Removed empty buttons from tab flow. Gave focus to elements (such as the menu) that appear when after clicking a button. Improved aria labels where needed
249
- ([@FrankHarland](https://github.com/FrankHarland))
237
+ - [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - Accessibility improvements for the frontend: Added skip content link. Removed empty buttons from tab flow. Gave focus to elements (such as the menu) that appear when after clicking a button. Improved aria labels where needed ([@FrankHarland](https://github.com/FrankHarland))
250
238
 
251
239
  ## 8.0.0-canary.100
252
240
 
@@ -298,8 +286,7 @@
298
286
 
299
287
  ### Patch Changes
300
288
 
301
- - [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - a11y improvements (see https://github.com/graphcommerce-org/graphcommerce/issues/1995 for more info)
302
- ([@FrankHarland](https://github.com/FrankHarland))
289
+ - [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - a11y improvements (see https://github.com/graphcommerce-org/graphcommerce/issues/1995 for more info) ([@FrankHarland](https://github.com/FrankHarland))
303
290
 
304
291
  ## 8.0.0-canary.76
305
292
 
@@ -1391,31 +1378,31 @@
1391
1378
  All occurences of `<Trans>` and `t` need to be replaced:
1392
1379
 
1393
1380
  ```tsx
1394
- import { Trans, t } from "@lingui/macro";
1381
+ import { Trans, t } from '@lingui/macro'
1395
1382
 
1396
1383
  function MyComponent() {
1397
- const foo = "bar";
1384
+ const foo = 'bar'
1398
1385
  return (
1399
1386
  <div aria-label={t`Account ${foo}`}>
1400
1387
  <Trans>My Translation {foo}</Trans>
1401
1388
  </div>
1402
- );
1389
+ )
1403
1390
  }
1404
1391
  ```
1405
1392
 
1406
1393
  Needs to be replaced with:
1407
1394
 
1408
1395
  ```tsx
1409
- import { Trans } from "@lingui/react";
1410
- import { i18n } from "@lingui/core";
1396
+ import { Trans } from '@lingui/react'
1397
+ import { i18n } from '@lingui/core'
1411
1398
 
1412
1399
  function MyComponent() {
1413
- const foo = "bar";
1400
+ const foo = 'bar'
1414
1401
  return (
1415
1402
  <div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
1416
- <Trans key="My Translation {foo}" values={{ foo }}></Trans>
1403
+ <Trans key='My Translation {foo}' values={{ foo }}></Trans>
1417
1404
  </div>
1418
- );
1405
+ )
1419
1406
  }
1420
1407
  ```
1421
1408
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/ecommerce-ui",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.0-canary.56",
5
+ "version": "9.0.0-canary.58",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,12 +12,12 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.56",
16
- "@graphcommerce/graphql": "^9.0.0-canary.56",
17
- "@graphcommerce/next-ui": "^9.0.0-canary.56",
18
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.56",
19
- "@graphcommerce/react-hook-form": "^9.0.0-canary.56",
20
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.56",
15
+ "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.58",
16
+ "@graphcommerce/graphql": "^9.0.0-canary.58",
17
+ "@graphcommerce/next-ui": "^9.0.0-canary.58",
18
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.58",
19
+ "@graphcommerce/react-hook-form": "^9.0.0-canary.58",
20
+ "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.58",
21
21
  "@lingui/core": "^4.2.1",
22
22
  "@lingui/macro": "^4.2.1",
23
23
  "@lingui/react": "^4.2.1",