@graphcommerce/ecommerce-ui 9.0.4-canary.3 → 9.0.4-canary.5

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @graphcommerce/ecommerce-ui
2
2
 
3
+ ## 9.0.4-canary.5
4
+
5
+ ## 9.0.4-canary.4
6
+
7
+ ### Patch Changes
8
+
9
+ - [`026114e`](https://github.com/graphcommerce-org/graphcommerce/commit/026114ece325d8f675ba8820c6b63345e48532fa) - Sovle issue where showValid would be forwarded to the textField element ([@paales](https://github.com/paales))
10
+
3
11
  ## 9.0.4-canary.3
4
12
 
5
13
  ## 9.0.4-canary.2
@@ -26,9 +26,11 @@ function TextFieldElementBase(props: TextFieldElementProps): JSX.Element {
26
26
  rules = {},
27
27
  shouldUnregister,
28
28
  disabled,
29
- } = props as BaseControllerProps
30
- const { showValid } = props as ShowValidProps
31
- const { type, required, ...rest } = props as TextFieldProps
29
+ type,
30
+ required,
31
+ showValid,
32
+ ...rest
33
+ } = props as TextFieldProps & ShowValidProps & BaseControllerProps
32
34
 
33
35
  if (required && !rules.required) {
34
36
  rules.required = i18n._(/* i18n */ 'This field is required')
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.4-canary.3",
5
+ "version": "9.0.4-canary.5",
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.4-canary.3",
16
- "@graphcommerce/graphql": "^9.0.4-canary.3",
17
- "@graphcommerce/next-ui": "^9.0.4-canary.3",
18
- "@graphcommerce/prettier-config-pwa": "^9.0.4-canary.3",
19
- "@graphcommerce/react-hook-form": "^9.0.4-canary.3",
20
- "@graphcommerce/typescript-config-pwa": "^9.0.4-canary.3",
15
+ "@graphcommerce/eslint-config-pwa": "^9.0.4-canary.5",
16
+ "@graphcommerce/graphql": "^9.0.4-canary.5",
17
+ "@graphcommerce/next-ui": "^9.0.4-canary.5",
18
+ "@graphcommerce/prettier-config-pwa": "^9.0.4-canary.5",
19
+ "@graphcommerce/react-hook-form": "^9.0.4-canary.5",
20
+ "@graphcommerce/typescript-config-pwa": "^9.0.4-canary.5",
21
21
  "@lingui/core": "^4.2.1",
22
22
  "@lingui/macro": "^4.2.1",
23
23
  "@lingui/react": "^4.2.1",