@graphcommerce/ecommerce-ui 9.0.0 → 9.0.1-canary.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +12 -105
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,12 +1,23 @@
1
1
  # @graphcommerce/ecommerce-ui
2
2
 
3
+ ## 9.0.1-canary.1
4
+
3
5
  ## 9.0.0
4
6
 
7
+ ### Major Changes
8
+
9
+ - [#2366](https://github.com/graphcommerce-org/graphcommerce/pull/2366) [`3612c99`](https://github.com/graphcommerce-org/graphcommerce/commit/3612c994b80bb3b1bc02de10668f69a332402dc4) - Add `permissions` configuration to disable functionalities.
10
+
11
+ - Added new `permissions` configuration for GraphCommerce
12
+ - Added `permissions.cart`: `ENABLED` | `CUSTOMER_ONLY` | `DISABLED`
13
+ - Added `permissions.checkout`: `ENABLED` | `CUSTOMER_ONLY` | `DISABLED`
14
+ - Added `permissions.customerAccount`: `ENABLED` | `DISABLE_REGISTRATION` | `DISABLE` ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
15
+
5
16
  ### Minor Changes
6
17
 
7
18
  - [#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))
8
19
 
9
- - [#2366](https://github.com/graphcommerce-org/graphcommerce/pull/2366) [`3612c99`](https://github.com/graphcommerce-org/graphcommerce/commit/3612c994b80bb3b1bc02de10668f69a332402dc4) - Add `permissions` config so the website or store can be configurated to run in different modes. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
20
+ - [#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))
10
21
 
11
22
  ### Patch Changes
12
23
 
@@ -20,8 +31,6 @@
20
31
 
21
32
  - [#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))
22
33
 
23
- - [#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))
24
-
25
34
  - [#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))
26
35
 
27
36
  - [#2380](https://github.com/graphcommerce-org/graphcommerce/pull/2380) [`c17e5f1`](https://github.com/graphcommerce-org/graphcommerce/commit/c17e5f1cf9fb291b9bbf1fca0620c2721dceb331) - Solve issue: Warning: Cannot update a component (`FormAutoSubmitBase`) while rendering a different component (`ActionCardListForm`). ([@paales](https://github.com/paales))
@@ -38,108 +47,6 @@
38
47
 
39
48
  - [#2438](https://github.com/graphcommerce-org/graphcommerce/pull/2438) [`49937fd`](https://github.com/graphcommerce-org/graphcommerce/commit/49937fd765338e25899d427ee4d799fa7978faeb) - Allow changing various props for internal components ([@bramvanderholst](https://github.com/bramvanderholst))
40
49
 
41
- ## 9.0.0-canary.118
42
-
43
- ## 9.0.0-canary.117
44
-
45
- ## 9.0.0-canary.116
46
-
47
- ## 9.0.0-canary.115
48
-
49
- ## 9.0.0-canary.114
50
-
51
- ## 9.0.0-canary.113
52
-
53
- ## 9.0.0-canary.112
54
-
55
- ## 9.0.0-canary.111
56
-
57
- ## 9.0.0-canary.110
58
-
59
- ## 9.0.0-canary.109
60
-
61
- ## 9.0.0-canary.108
62
-
63
- ### Patch Changes
64
-
65
- - [#2424](https://github.com/graphcommerce-org/graphcommerce/pull/2424) [`66b4188`](https://github.com/graphcommerce-org/graphcommerce/commit/66b418809ad4db2a465c4112ff9850ce0cfe611c) - Omit disableUnderline prop for ‘outlined’ variant, because its not supported. ([@carlocarels90](https://github.com/carlocarels90))
66
-
67
- - [#2438](https://github.com/graphcommerce-org/graphcommerce/pull/2438) [`cb8d2f0`](https://github.com/graphcommerce-org/graphcommerce/commit/cb8d2f0059d64242260e30ce34655868f204ef4c) - Made all component prop types exported ([@bramvanderholst](https://github.com/bramvanderholst))
68
-
69
- - [#2438](https://github.com/graphcommerce-org/graphcommerce/pull/2438) [`49937fd`](https://github.com/graphcommerce-org/graphcommerce/commit/49937fd765338e25899d427ee4d799fa7978faeb) - Allow changing various props for internal components ([@bramvanderholst](https://github.com/bramvanderholst))
70
-
71
- ## 9.0.0-canary.107
72
-
73
- ### Patch Changes
74
-
75
- - [#2436](https://github.com/graphcommerce-org/graphcommerce/pull/2436) [`55f94c5`](https://github.com/graphcommerce-org/graphcommerce/commit/55f94c5dd70e88b8fbfb46e75b500db296937c33) - Added ref forwarding for the inputRef ([@paales](https://github.com/paales))
76
-
77
- ## 9.0.0-canary.106
78
-
79
- ## 9.0.0-canary.105
80
-
81
- ## 9.0.0-canary.104
82
-
83
- ## 9.0.0-canary.103
84
-
85
- ### Patch Changes
86
-
87
- - [#2419](https://github.com/graphcommerce-org/graphcommerce/pull/2419) [`ccd952e`](https://github.com/graphcommerce-org/graphcommerce/commit/ccd952e60904e91d62819d5abaea1798e4d4d95d) - Destructure InputProps to ensure they are passed only to relevant components. ([@carlocarels90](https://github.com/carlocarels90))
88
-
89
- ## 9.0.0-canary.101
90
-
91
- ### Patch Changes
92
-
93
- - [#2380](https://github.com/graphcommerce-org/graphcommerce/pull/2380) [`c17e5f1`](https://github.com/graphcommerce-org/graphcommerce/commit/c17e5f1cf9fb291b9bbf1fca0620c2721dceb331) - Solve issue: Warning: Cannot update a component (`FormAutoSubmitBase`) while rendering a different component (`ActionCardListForm`). ([@paales](https://github.com/paales))
94
-
95
- ## 9.0.0-canary.90
96
-
97
- ### Patch Changes
98
-
99
- - [#2397](https://github.com/graphcommerce-org/graphcommerce/pull/2397) [`d4d5a98`](https://github.com/graphcommerce-org/graphcommerce/commit/d4d5a983dea6d034dcbdeed9cf30fb33133dde39) - Add requireOptionSelection boolean to prevent users from deselecting configurable options ([@carlocarels90](https://github.com/carlocarels90))
100
-
101
- ## 9.0.0-canary.82
102
-
103
- ### Minor Changes
104
-
105
- - [#2366](https://github.com/graphcommerce-org/graphcommerce/pull/2366) [`3612c99`](https://github.com/graphcommerce-org/graphcommerce/commit/3612c994b80bb3b1bc02de10668f69a332402dc4) - Add `permissions` config so the website or store can be configurated to run in different modes. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
106
-
107
- ## 9.0.0-canary.80
108
-
109
- ### Patch Changes
110
-
111
- - [#2341](https://github.com/graphcommerce-org/graphcommerce/pull/2341) [`7085b4a`](https://github.com/graphcommerce-org/graphcommerce/commit/7085b4a86088328fe54dc4e82ccd296d6459cae7) - Updated all form FieldElements to also accept defaultValue, shouldUnregister and disabled. Moved AutoCompleteElement, CheckboxElement, MultiSelectElement, SliderElement, SwitchElement, ToggleButtonGroup to useController. Removed all parseError props ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
112
-
113
- - [#2341](https://github.com/graphcommerce-org/graphcommerce/pull/2341) [`022cbd6`](https://github.com/graphcommerce-org/graphcommerce/commit/022cbd664ea4e8a82997c5edf4451b9182558429) - Moved ActionCardListForm to @graphcommerce/ecommerce-ui to resolve issue with circular dependencies. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
114
-
115
- ## 9.0.0-canary.74
116
-
117
- ### Patch Changes
118
-
119
- - [#2349](https://github.com/graphcommerce-org/graphcommerce/pull/2349) [`7c8529e`](https://github.com/graphcommerce-org/graphcommerce/commit/7c8529ea54c0e91f6b0e72129611cd6bf4f85d87) - Fix NumberFieldElement when min = 0 ([@JoshuaS98](https://github.com/JoshuaS98))
120
-
121
- ## 8.1.0-canary.48
122
-
123
- ### Minor Changes
124
-
125
- - [#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))
126
-
127
- ## 8.1.0-canary.35
128
-
129
- ### Patch Changes
130
-
131
- - [#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))
132
-
133
- ## 8.0.6-canary.2
134
-
135
- ### Patch Changes
136
-
137
- - [#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))
138
-
139
- - [#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))
140
-
141
- - [#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))
142
-
143
50
  ## 8.0.3
144
51
 
145
52
  ### Patch Changes
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",
5
+ "version": "9.0.1-canary.1",
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",
16
- "@graphcommerce/graphql": "^9.0.0",
17
- "@graphcommerce/next-ui": "^9.0.0",
18
- "@graphcommerce/prettier-config-pwa": "^9.0.0",
19
- "@graphcommerce/react-hook-form": "^9.0.0",
20
- "@graphcommerce/typescript-config-pwa": "^9.0.0",
15
+ "@graphcommerce/eslint-config-pwa": "^9.0.1-canary.1",
16
+ "@graphcommerce/graphql": "^9.0.1-canary.1",
17
+ "@graphcommerce/next-ui": "^9.0.1-canary.1",
18
+ "@graphcommerce/prettier-config-pwa": "^9.0.1-canary.1",
19
+ "@graphcommerce/react-hook-form": "^9.0.1-canary.1",
20
+ "@graphcommerce/typescript-config-pwa": "^9.0.1-canary.1",
21
21
  "@lingui/core": "^4.2.1",
22
22
  "@lingui/macro": "^4.2.1",
23
23
  "@lingui/react": "^4.2.1",