@graphcommerce/ecommerce-ui 9.0.0-canary.103 → 9.0.0-canary.104
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 +3 -1
- package/components/ComposedSubmitButton/ComposedSubmitButton.tsx +1 -1
- package/components/ComposedSubmitButton/ComposedSubmitLinkOrButton.tsx +1 -1
- package/components/FormComponents/AutoCompleteElement.tsx +1 -1
- package/components/FormComponents/MultiSelectElement.tsx +1 -1
- package/components/FormComponents/NumberFieldElement.tsx +3 -3
- package/components/FormComponents/PasswordElement.tsx +1 -1
- package/components/FormComponents/SwitchElement.tsx +1 -1
- package/components/PreviewMode/LightTooltip.tsx +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @graphcommerce/ecommerce-ui
|
|
2
2
|
|
|
3
|
+
## 9.0.0-canary.104
|
|
4
|
+
|
|
3
5
|
## 9.0.0-canary.103
|
|
4
6
|
|
|
5
7
|
### Patch Changes
|
|
@@ -528,8 +530,8 @@
|
|
|
528
530
|
Needs to be replaced with:
|
|
529
531
|
|
|
530
532
|
```tsx
|
|
531
|
-
import { Trans } from '@lingui/react'
|
|
532
533
|
import { i18n } from '@lingui/core'
|
|
534
|
+
import { Trans } from '@lingui/react'
|
|
533
535
|
|
|
534
536
|
function MyComponent() {
|
|
535
537
|
const foo = 'bar'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ButtonProps } from '@graphcommerce/next-ui'
|
|
2
|
-
import {
|
|
2
|
+
import { Button, IconSvg, iconChevronRight } from '@graphcommerce/next-ui'
|
|
3
3
|
import type { ComposedSubmitRenderComponentProps } from '@graphcommerce/react-hook-form'
|
|
4
4
|
import { forwardRef } from 'react'
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LinkOrButtonProps } from '@graphcommerce/next-ui'
|
|
2
|
-
import {
|
|
2
|
+
import { IconSvg, LinkOrButton, iconChevronRight } from '@graphcommerce/next-ui'
|
|
3
3
|
import type { ComposedSubmitRenderComponentProps } from '@graphcommerce/react-hook-form'
|
|
4
4
|
import { forwardRef } from 'react'
|
|
5
5
|
|
|
@@ -3,7 +3,7 @@ import type { ControllerProps, FieldValues } from '@graphcommerce/react-hook-for
|
|
|
3
3
|
import { useController } from '@graphcommerce/react-hook-form'
|
|
4
4
|
import { i18n } from '@lingui/core'
|
|
5
5
|
import type { AutocompleteProps, TextFieldProps } from '@mui/material'
|
|
6
|
-
import { Autocomplete, Checkbox,
|
|
6
|
+
import { Autocomplete, Checkbox, CircularProgress, TextField } from '@mui/material'
|
|
7
7
|
|
|
8
8
|
export type AutocompleteElementProps<
|
|
9
9
|
F extends FieldValues,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable no-nested-ternary */
|
|
2
2
|
import { IconSvg, iconClose } from '@graphcommerce/next-ui'
|
|
3
|
-
import type {
|
|
3
|
+
import type { ControllerProps, FieldValues } from '@graphcommerce/react-hook-form'
|
|
4
4
|
import { useController } from '@graphcommerce/react-hook-form'
|
|
5
5
|
import { i18n } from '@lingui/core'
|
|
6
6
|
import type { FormControlProps, SelectProps } from '@mui/material'
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
+
IconSvg,
|
|
2
3
|
extendableComponent,
|
|
3
4
|
iconMin,
|
|
4
5
|
iconPlus,
|
|
5
|
-
IconSvg,
|
|
6
6
|
responsiveVal,
|
|
7
7
|
} from '@graphcommerce/next-ui'
|
|
8
8
|
import type { ControllerProps, FieldValues } from '@graphcommerce/react-hook-form'
|
|
9
9
|
import { Controller, useController } from '@graphcommerce/react-hook-form'
|
|
10
10
|
import { i18n } from '@lingui/core'
|
|
11
|
-
import type { IconButtonProps, SxProps,
|
|
12
|
-
import {
|
|
11
|
+
import type { IconButtonProps, SxProps, TextFieldProps, Theme } from '@mui/material'
|
|
12
|
+
import { Fab, TextField } from '@mui/material'
|
|
13
13
|
|
|
14
14
|
export type NumberFieldElementProps<T extends FieldValues = FieldValues> = Omit<
|
|
15
15
|
TextFieldProps,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { iconEye, iconEyeCrossed
|
|
1
|
+
import { IconSvg, iconEye, iconEyeCrossed } from '@graphcommerce/next-ui'
|
|
2
2
|
import type { FieldValues } from '@graphcommerce/react-hook-form'
|
|
3
3
|
import type { IconButtonProps } from '@mui/material'
|
|
4
4
|
import { IconButton, InputAdornment } from '@mui/material'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ControllerProps, FieldValues } from '@graphcommerce/react-hook-form'
|
|
2
2
|
import { useController } from '@graphcommerce/react-hook-form'
|
|
3
3
|
import type { FormControlLabelProps } from '@mui/material'
|
|
4
4
|
import { FormControlLabel, Switch } from '@mui/material'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Tooltip, styled, tooltipClasses } from '@mui/material'
|
|
2
2
|
|
|
3
3
|
export const LightTooltip = styled<typeof Tooltip>(({ className, ...props }) => (
|
|
4
4
|
<Tooltip {...props} classes={{ popper: className }} />
|
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.
|
|
5
|
+
"version": "9.0.0-canary.104",
|
|
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.
|
|
16
|
-
"@graphcommerce/graphql": "^9.0.0-canary.
|
|
17
|
-
"@graphcommerce/next-ui": "^9.0.0-canary.
|
|
18
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.
|
|
19
|
-
"@graphcommerce/react-hook-form": "^9.0.0-canary.
|
|
20
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.104",
|
|
16
|
+
"@graphcommerce/graphql": "^9.0.0-canary.104",
|
|
17
|
+
"@graphcommerce/next-ui": "^9.0.0-canary.104",
|
|
18
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.104",
|
|
19
|
+
"@graphcommerce/react-hook-form": "^9.0.0-canary.104",
|
|
20
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.104",
|
|
21
21
|
"@lingui/core": "^4.2.1",
|
|
22
22
|
"@lingui/macro": "^4.2.1",
|
|
23
23
|
"@lingui/react": "^4.2.1",
|