@graphcommerce/next-ui 4.2.3 → 4.3.0

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 (81) hide show
  1. package/AnimatedRow/{index.tsx → AnimatedRow.tsx} +0 -0
  2. package/Blog/BlogAuthor/{index.tsx → BlogAuthor.tsx} +2 -2
  3. package/Blog/BlogContent/{index.tsx → BlogContent.tsx} +0 -0
  4. package/Blog/BlogHeader/{index.tsx → BlogHeader.tsx} +0 -0
  5. package/Blog/BlogList/{index.tsx → BlogList.tsx} +1 -1
  6. package/Blog/BlogListItem/{index.tsx → BlogListItem.tsx} +0 -0
  7. package/Blog/BlogTags/BlogTag.tsx +2 -2
  8. package/Blog/BlogTags/{index.tsx → BlogTags.tsx} +0 -0
  9. package/Blog/BlogTitle/{index.tsx → BlogTitle.tsx} +0 -0
  10. package/Button/LinkOrButton.tsx +23 -11
  11. package/Button/{index.tsx → index.ts} +0 -0
  12. package/CHANGELOG.md +753 -1450
  13. package/ChipMenu/{index.tsx → ChipMenu.tsx} +13 -28
  14. package/ContainerWithHeader/{index.tsx → ContainerWithHeader.tsx} +1 -1
  15. package/FlagAvatar/{index.tsx → FlagAvatar.tsx} +0 -0
  16. package/Footer/Footer.tsx +9 -10
  17. package/FramerScroller/SidebarGallery.tsx +1 -1
  18. package/FramerScroller/SidebarSlider.tsx +1 -1
  19. package/FullPageMessage/{index.tsx → FullPageMessage.tsx} +0 -0
  20. package/Highlight/{index.tsx → Highlight.tsx} +0 -0
  21. package/IconHeader/{index.tsx → IconHeader.tsx} +0 -0
  22. package/JsonLd/{index.tsx → JsonLd.tsx} +0 -0
  23. package/Layout/components/LayoutHeader.tsx +3 -3
  24. package/Layout/components/LayoutHeaderBack.tsx +18 -4
  25. package/Layout/components/LayoutHeaderClose.tsx +1 -1
  26. package/Layout/components/LayoutHeaderContent.tsx +1 -1
  27. package/Layout/components/LayoutProvider.tsx +2 -2
  28. package/Layout/context/layoutContext.tsx +1 -3
  29. package/Layout/hooks/useScrollY.tsx +1 -1
  30. package/LayoutDefault/components/LayoutDefault.tsx +14 -4
  31. package/LayoutOverlay/components/LayoutOverlayBase.tsx +2 -2
  32. package/LayoutParts/DesktopHeaderBadge.tsx +1 -1
  33. package/LayoutParts/MenuFab.tsx +47 -10
  34. package/Page/types.ts +1 -0
  35. package/PageLoadIndicator/{index.tsx → PageLoadIndicator.tsx} +0 -0
  36. package/PageMeta/{index.tsx → PageMeta.tsx} +11 -2
  37. package/Pagination/{index.tsx → Pagination.tsx} +0 -0
  38. package/RenderType/{index.tsx → RenderType.tsx} +0 -0
  39. package/Row/ButtonLinkList/ButtonLinkList.tsx +2 -2
  40. package/Row/ColumnOne/{index.tsx → ColumnOne.tsx} +0 -0
  41. package/Row/ColumnOneBoxed/{index.tsx → ColumnOneBoxed.tsx} +1 -1
  42. package/Row/ColumnOneCentered/{index.tsx → ColumnOneCentered.tsx} +1 -1
  43. package/Row/ColumnThree/{index.tsx → ColumnThree.tsx} +1 -1
  44. package/Row/ColumnTwo/{index.tsx → ColumnTwo.tsx} +1 -1
  45. package/Row/ColumnTwoSpread/{index.tsx → ColumnTwoSpread.tsx} +1 -1
  46. package/Row/ColumnTwoWithTop/{index.tsx → ColumnTwoWithTop.tsx} +1 -1
  47. package/Row/ContentLinks/{index.tsx → ContentLinks.tsx} +0 -0
  48. package/Row/HeroBanner/{index.tsx → HeroBanner.tsx} +1 -1
  49. package/Row/IconBlocks/{IconBlock/index.tsx → IconBlock.tsx} +1 -1
  50. package/Row/IconBlocks/{index.tsx → IconBlocks.tsx} +1 -1
  51. package/Row/ImageText/{index.tsx → ImageText.tsx} +2 -2
  52. package/Row/ImageTextBoxed/{index.tsx → ImageTextBoxed.tsx} +1 -1
  53. package/Row/ParagraphWithSidebarSlide/{index.tsx → ParagraphWithSidebarSlide.tsx} +1 -1
  54. package/Row/Quote/{index.tsx → Quote.tsx} +1 -1
  55. package/Row/{index.tsx → Row.tsx} +0 -0
  56. package/Row/SpecialBanner/{index.tsx → SpecialBanner.tsx} +1 -1
  57. package/Row/index.ts +18 -0
  58. package/SectionContainer/{index.tsx → SectionContainer.tsx} +1 -1
  59. package/SectionHeader/{index.tsx → SectionHeader.tsx} +0 -0
  60. package/Separator/{index.tsx → Separator.tsx} +0 -0
  61. package/Snackbar/MessageSnackbarImpl.tsx +2 -1
  62. package/StarRatingField/{index.tsx → StarRatingField.tsx} +4 -4
  63. package/Styles/{index.tsx → index.ts} +0 -9
  64. package/Styles/withTheme.tsx +1 -0
  65. package/TextInputNumber/{index.tsx → TextInputNumber.tsx} +1 -5
  66. package/Theme/MuiButton.ts +2 -2
  67. package/Theme/MuiChip.ts +86 -0
  68. package/Theme/MuiFab.ts +21 -0
  69. package/Theme/MuiSlider.ts +41 -26
  70. package/Theme/index.ts +4 -3
  71. package/Theme/themeDefaults.ts +1 -1
  72. package/TimeAgo/{index.tsx → TimeAgo.tsx} +0 -0
  73. package/ToggleButton/{index.tsx → ToggleButton.tsx} +1 -0
  74. package/ToggleButtonGroup/{index.tsx → ToggleButtonGroup.tsx} +8 -6
  75. package/UspList/{index.tsx → UspList.tsx} +0 -0
  76. package/docs/components/ComponentChild.tsx +1 -0
  77. package/docs/components/ComponentChildVariant.tsx +1 -0
  78. package/docs/components/ComponentChildVariantExtendable.tsx +1 -0
  79. package/icons/{index.tsx → index.ts} +0 -0
  80. package/index.ts +28 -45
  81. package/package.json +10 -11
@@ -1,6 +1,6 @@
1
1
  import { ContainerProps } from '@mui/material'
2
2
  import React from 'react'
3
- import { Row } from '..'
3
+ import { Row } from '../Row'
4
4
 
5
5
  export type QuoteProps = {
6
6
  children: React.ReactElement
File without changes
@@ -1,7 +1,7 @@
1
1
  import { Box, ContainerProps, Typography } from '@mui/material'
2
- import { Row } from '..'
3
2
  import { extendableComponent } from '../../Styles'
4
3
  import { responsiveVal } from '../../Styles/responsiveVal'
4
+ import { Row } from '../Row'
5
5
 
6
6
  export type SpecialBannerProps = ContainerProps & {
7
7
  asset?: React.ReactNode
package/Row/index.ts ADDED
@@ -0,0 +1,18 @@
1
+ export * from './Row'
2
+ export * from './ButtonLinkList'
3
+ export * from './ColumnOne/ColumnOne'
4
+ export * from './ColumnOneBoxed/ColumnOneBoxed'
5
+ export * from './ColumnOneCentered/ColumnOneCentered'
6
+ export * from './ColumnThree/ColumnThree'
7
+ export * from './ColumnTwo/ColumnTwo'
8
+ export * from './ColumnTwoSpread/ColumnTwoSpread'
9
+ export * from './ColumnTwoWithTop/ColumnTwoWithTop'
10
+ export * from './ContentLinks/ContentLinks'
11
+ export * from './HeroBanner/HeroBanner'
12
+ export * from './IconBlocks/IconBlocks'
13
+ export * from './IconBlocks/IconBlock'
14
+ export * from './ImageText/ImageText'
15
+ export * from './ImageTextBoxed/ImageTextBoxed'
16
+ export * from './ParagraphWithSidebarSlide/ParagraphWithSidebarSlide'
17
+ export * from './Quote/Quote'
18
+ export * from './SpecialBanner/SpecialBanner'
@@ -1,5 +1,5 @@
1
1
  import { Box } from '@mui/material'
2
- import { SectionHeader, SectionHeaderProps } from '../SectionHeader'
2
+ import { SectionHeader, SectionHeaderProps } from '../SectionHeader/SectionHeader'
3
3
  import { extendableComponent } from '../Styles'
4
4
 
5
5
  export type SectionContainerProps = SectionHeaderProps &
File without changes
File without changes
@@ -1,4 +1,3 @@
1
- import { Portal } from '@mui/base'
2
1
  import {
3
2
  Fab,
4
3
  Snackbar,
@@ -8,6 +7,7 @@ import {
8
7
  Box,
9
8
  SxProps,
10
9
  Theme,
10
+ Portal,
11
11
  } from '@mui/material'
12
12
  import React, { useEffect, useState } from 'react'
13
13
  import { IconSvg } from '../IconSvg'
@@ -39,6 +39,7 @@ const name = 'MessageSnackbarImpl' as const
39
39
  const parts = ['root', 'content', 'children', 'actionButton', 'close'] as const
40
40
  const { withState } = extendableComponent<OwnerState, typeof name, typeof parts>(name, parts)
41
41
 
42
+ // eslint-disable-next-line import/no-default-export
42
43
  export default function MessageSnackbarImpl(props: MessageSnackbarImplProps) {
43
44
  const [showSnackbar, setShowSnackbar] = useState<boolean>(false)
44
45
 
@@ -25,16 +25,16 @@ export function StarRatingField(props: StarRatingFieldProps) {
25
25
  <IconSvg
26
26
  src={iconStar}
27
27
  size='large'
28
- className={classes.startEmpty}
29
- sx={{ fill: '#FFDA1C', stroke: 'none', margin: '0 3px' }}
28
+ className={classes.starFull}
29
+ sx={(theme) => ({ fill: theme.palette.divider, stroke: 'none', margin: '0 3px' })}
30
30
  />
31
31
  }
32
32
  icon={
33
33
  <IconSvg
34
34
  src={iconStar}
35
35
  size='large'
36
- className={classes.starFull}
37
- sx={(theme) => ({ fill: theme.palette.divider, stroke: 'none', margin: '0 3px' })}
36
+ className={classes.startEmpty}
37
+ sx={{ fill: '#FFDA1C', stroke: 'none', margin: '0 3px' }}
38
38
  />
39
39
  }
40
40
  onChange={(event, value) => {
@@ -1,12 +1,3 @@
1
- /**
2
- * Consider moving to the `sx` prop with `selectors`
3
- *
4
- * @deprecated
5
- */
6
- export type UseStyles<T extends (...args: never[]) => unknown> = {
7
- classes?: Partial<ReturnType<T>['classes']>
8
- }
9
-
10
1
  export * from './breakpointVal'
11
2
  export * from './EmotionProvider'
12
3
  export * from './extendableComponent'
@@ -36,6 +36,7 @@ type WithSx = { sx?: SxProps<Theme> }
36
36
  * ```
37
37
  */
38
38
  export function withTheme<T>(
39
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
39
40
  Component: (value: T & WithSx) => React.ReactElement<any, any> | null,
40
41
  theme: Theme,
41
42
  ): React.FC<T & WithSx> {
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  IconButton,
3
3
  IconButtonProps,
4
- OutlinedTextFieldProps,
5
4
  SxProps,
6
5
  TextField,
7
6
  TextFieldProps,
@@ -25,10 +24,6 @@ export type TextInputNumberProps = Omit<TextFieldProps, 'type'> & {
25
24
  sx?: SxProps<Theme>
26
25
  }
27
26
 
28
- function isOutlined(props: TextFieldProps): props is OutlinedTextFieldProps {
29
- return props.variant === 'outlined'
30
- }
31
-
32
27
  type OwnerState = { size?: 'small' | 'medium' }
33
28
  const name = 'TextInputNumber' as const
34
29
  const parts = ['quantity', 'quantityInput', 'button'] as const
@@ -50,6 +45,7 @@ export function TextInputNumber(props: TextInputNumberProps) {
50
45
  const forkRef = useForkRef<HTMLInputElement>(ref, inputRef as Ref<HTMLInputElement>)
51
46
 
52
47
  const [direction, setDirection] = useState<'up' | 'down' | 'runUp' | 'runDown' | null>(null)
48
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
53
49
  const [disabled, setDisabled] = useState<'min' | 'max' | null>(null)
54
50
 
55
51
  const stop = useCallback(() => setDirection(null), [])
@@ -12,10 +12,10 @@ type ButtonVariants = NonNullable<ComponentsVariants['MuiButton']>
12
12
  export const MuiButtonResponsive: ButtonVariants = [
13
13
  {
14
14
  props: {},
15
- style: ({ theme }) => ({
15
+ style: {
16
16
  textTransform: 'none',
17
17
  fontWeight: 500,
18
- }),
18
+ },
19
19
  },
20
20
  {
21
21
  props: { size: 'small' },
@@ -0,0 +1,86 @@
1
+ import { ComponentsVariants, darken, experimental_sx as sx } from '@mui/material'
2
+ import { responsiveVal } from '../Styles'
3
+
4
+ declare module '@mui/material/Chip/Chip' {
5
+ interface ChipPropsSizeOverrides {
6
+ responsive: true
7
+ }
8
+ interface ChipPropsVariantOverrides {
9
+ ['outlinedHighlighted']: true
10
+ }
11
+ }
12
+
13
+ type ChipVariants = NonNullable<ComponentsVariants['MuiChip']>
14
+
15
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
16
+ export const MuiChip: ChipVariants = [
17
+ {
18
+ props: {},
19
+ style: { '& .MuiChip-icon': { fontSize: '1.3em' } },
20
+ },
21
+ {
22
+ props: { size: 'small' },
23
+ style: sx({
24
+ typography: 'caption',
25
+ }),
26
+ },
27
+ {
28
+ props: { size: 'medium' },
29
+ style: sx({
30
+ height: responsiveVal(26, 30),
31
+ paddingLeft: responsiveVal(3, 6),
32
+ paddingRight: responsiveVal(3, 6),
33
+ typography: 'caption',
34
+ }),
35
+ },
36
+ {
37
+ props: { size: 'responsive' },
38
+ style: sx({
39
+ height: responsiveVal(32, 40),
40
+ paddingLeft: responsiveVal(4, 8),
41
+ paddingRight: responsiveVal(4, 8),
42
+ borderRadius: '99em',
43
+ typography: 'body2',
44
+ '& .MuiChip-label': {
45
+ paddingLeft: responsiveVal(6, 10),
46
+ paddingRight: responsiveVal(6, 10),
47
+ },
48
+ }),
49
+ },
50
+ {
51
+ props: { variant: 'outlined' },
52
+ style: ({ theme }) => ({
53
+ borderColor: theme.palette.divider,
54
+ backgroundColor: theme.palette.background.default,
55
+ '&:active': {
56
+ boxShadow: 'none',
57
+ },
58
+ '& .MuiChip-deleteIcon': {
59
+ color: theme.palette.text.primary,
60
+ },
61
+ '&.MuiChip-clickable:hover': {
62
+ backgroundColor: darken(theme.palette.background.default, 0.05),
63
+ },
64
+ '& .MuiChip-deleteIcon:hover': {
65
+ color: theme.palette.text.primary,
66
+ },
67
+ }),
68
+ },
69
+ {
70
+ props: { color: 'primary' },
71
+ style: ({ theme }) => ({
72
+ borderColor: theme.palette.text.primary,
73
+ color: theme.palette.text.primary,
74
+ '&:hover': {
75
+ background: `${theme.palette.background.default} !important`,
76
+ borderColor: `${theme.palette.divider} !important`,
77
+ },
78
+ '&:focus': {
79
+ background: `${theme.palette.background.paper} !important`,
80
+ },
81
+ '& .MuiChip-deleteIcon:hover': {
82
+ color: theme.palette.text.primary,
83
+ },
84
+ }),
85
+ },
86
+ ]
package/Theme/MuiFab.ts CHANGED
@@ -44,6 +44,11 @@ declare module '@mui/material/Fab/Fab' {
44
44
  interface FabPropsSizeOverrides {
45
45
  responsive: true
46
46
  }
47
+ // todo: Wait for the color prop to be exendable and then add inverted
48
+ // https://github.com/mui/material-ui/blob/master/packages/mui-material/src/Fab/Fab.js#L193-L202
49
+ // interface FabPropsColorOverrides {
50
+ // inverted: true
51
+ // }
47
52
  }
48
53
 
49
54
  function fabWidthHeight(size: FabSize, theme: Theme) {
@@ -67,3 +72,19 @@ export const MuiFabSizes: FabVariants = sizes.map((size) => ({
67
72
  props: { size },
68
73
  style: ({ theme }) => fabWidthHeight(size, theme),
69
74
  }))
75
+
76
+ // todo: Wait for the color prop to be exendable and add tho theme.
77
+ // https://github.com/mui/material-ui/blob/master/packages/mui-material/src/Fab/Fab.js#L193-L202
78
+ // export const MuiFabInverted: FabVariants = [
79
+ // {
80
+ // props: { color: 'inverted' },
81
+ // style: ({ theme }) => ({
82
+ // boxShadow: 'none',
83
+ // '&:hover, &:focus': {
84
+ // background: theme.palette.text.primary,
85
+ // },
86
+ // background: theme.palette.text.primary,
87
+ // color: theme.palette.background.paper,
88
+ // }),
89
+ // },
90
+ // ]
@@ -1,28 +1,43 @@
1
- import { Components, Theme } from '@mui/material'
1
+ import { ComponentsVariants } from '@mui/material'
2
2
 
3
- /**
4
- * Not yet possible to define a size="large" for the Slider due to a limitation in Material-UI
5
- * https://github.com/mui-org/material-ui/issues/27130#issuecomment-1006425575
6
- *
7
- * If that has been fixed most of the styles can be removed here:
8
- * packages/magento-product/components/ProductListFilters/FilterRangeType.tsx
9
- */
3
+ declare module '@mui/material/Slider/Slider' {
4
+ interface SliderPropsSizeOverrides {
5
+ large: true
6
+ }
7
+ }
8
+ type SliderVariants = NonNullable<ComponentsVariants['MuiSlider']>
10
9
 
11
- // declare module '@mui/material/Slider' {
12
- // interface SliderPropsSizeOverrides {
13
- // large: true
14
- // }
15
- // }
16
-
17
- export const MuiSlider = (theme: Theme): Components['MuiSlider'] => ({
18
- // variants: [
19
- // {
20
- // props: { size: 'large' },
21
- // style: {
22
- // '& .MuiSlider-rail': { height: 4, borderRadius: '2px' },
23
- // '& .MuiSlider-track': { height: 4 },
24
- // '& .MuiSlider-thumb': { width: 28, height: 28 },
25
- // },
26
- // },
27
- // ],
28
- })
10
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
11
+ export const MuiSlider: SliderVariants = [
12
+ {
13
+ props: {},
14
+ style: ({ theme }) => ({
15
+ '& .MuiSlider-rail': {
16
+ color: theme.palette.text.disabled,
17
+ },
18
+ '& .MuiSlider-thumb': {
19
+ background: theme.palette.background.default,
20
+ boxShadow: theme.shadows[6],
21
+ },
22
+ }),
23
+ },
24
+ {
25
+ props: { size: 'large' },
26
+ style: {
27
+ maxWidth: `calc(100% - 28px)`,
28
+ margin: `0 auto`,
29
+ display: 'block',
30
+ '& .MuiSlider-rail': {
31
+ height: 4,
32
+ borderRadius: '2px',
33
+ },
34
+ '& .MuiSlider-track': {
35
+ height: 4,
36
+ },
37
+ '& .MuiSlider-thumb': {
38
+ width: '28px',
39
+ height: '28px',
40
+ },
41
+ },
42
+ },
43
+ ]
package/Theme/index.ts CHANGED
@@ -1,6 +1,7 @@
1
- export * from './MuiSlider'
1
+ export * from './DarkLightModeThemeProvider'
2
2
  export * from './MuiButton'
3
- export * from './MuiSnackbar'
3
+ export * from './MuiChip'
4
4
  export * from './MuiFab'
5
+ export * from './MuiSlider'
6
+ export * from './MuiSnackbar'
5
7
  export * from './themeDefaults'
6
- export * from './DarkLightModeThemeProvider'
@@ -1,4 +1,4 @@
1
- import { BreakpointsOptions, experimental_sx, SxProps, Theme, ThemeOptions } from '@mui/material'
1
+ import { BreakpointsOptions, experimental_sx, SxProps, Theme } from '@mui/material'
2
2
  import { Shadows } from '@mui/material/styles/shadows'
3
3
 
4
4
  import { SetRequired } from 'type-fest'
File without changes
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
1
2
  import { Button, ButtonProps } from '@mui/material'
2
3
  import React, { FormEvent } from 'react'
3
4
  import { extendableComponent } from '../Styles'
@@ -33,14 +33,13 @@ const ToggleButtonGroup = React.forwardRef<HTMLDivElement, ToggleButtonGroupProp
33
33
 
34
34
  const classes = withState({ orientation, size })
35
35
 
36
- /* eslint-disable @typescript-eslint/no-unsafe-argument */
37
- const handleChange = (event, buttonValue) => {
36
+ const handleChange = (event: React.MouseEvent<HTMLElement, MouseEvent>, buttonValue: unknown) => {
38
37
  if (!onChange) return
39
38
 
40
- const index = value && value.indexOf(buttonValue)
39
+ const index = Boolean(value) && (value.indexOf(buttonValue) as number)
41
40
  let newValue: string[]
42
41
 
43
- if (value && index >= 0) {
42
+ if (value && index && index >= 0) {
44
43
  newValue = value.slice()
45
44
  newValue.splice(index, 1)
46
45
  } else {
@@ -49,7 +48,10 @@ const ToggleButtonGroup = React.forwardRef<HTMLDivElement, ToggleButtonGroupProp
49
48
  onChange(event, newValue)
50
49
  }
51
50
 
52
- const handleExclusiveChange = (event, buttonValue) => {
51
+ const handleExclusiveChange = (
52
+ event: React.MouseEvent<HTMLElement, MouseEvent>,
53
+ buttonValue: unknown,
54
+ ) => {
53
55
  if (!onChange || value === buttonValue) return
54
56
  if (required) onChange(event, buttonValue)
55
57
  else onChange(event, value === buttonValue ? null : buttonValue)
@@ -101,7 +103,7 @@ const ToggleButtonGroup = React.forwardRef<HTMLDivElement, ToggleButtonGroupProp
101
103
  onChange: exclusive ? handleExclusiveChange : handleChange,
102
104
  selected:
103
105
  child.props.selected === undefined
104
- ? isValueSelected(child.props.value, value)
106
+ ? isValueSelected(child.props.value as string, value as string | string[])
105
107
  : child.props.selected,
106
108
  })
107
109
  })}
File without changes
@@ -1,3 +1,4 @@
1
+ /* eslint-disable import/no-extraneous-dependencies */
1
2
  import { extendableComponent } from '@graphcommerce/next-ui'
2
3
  import { styled } from '@mui/material'
3
4
  import { ComponentProps } from 'react'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable import/no-extraneous-dependencies */
1
2
  import { extendableComponent } from '@graphcommerce/next-ui'
2
3
  import { styled } from '@mui/material'
3
4
  import { ComponentProps } from 'react'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable import/no-extraneous-dependencies */
1
2
  import { ExtendableComponent, extendableComponent } from '@graphcommerce/next-ui'
2
3
  import { styled } from '@mui/material'
3
4
  import { ComponentProps } from 'react'
File without changes
package/index.ts CHANGED
@@ -1,15 +1,15 @@
1
- export * from './AnimatedRow'
2
- export * from './Blog/BlogAuthor'
3
- export * from './Blog/BlogContent'
4
- export * from './Blog/BlogHeader'
5
- export * from './Blog/BlogList'
6
- export * from './Blog/BlogListItem'
7
- export * from './Blog/BlogTags'
8
- export * from './Blog/BlogTitle'
1
+ export * from './AnimatedRow/AnimatedRow'
2
+ export * from './Blog/BlogAuthor/BlogAuthor'
3
+ export * from './Blog/BlogContent/BlogContent'
4
+ export * from './Blog/BlogHeader/BlogHeader'
5
+ export * from './Blog/BlogList/BlogList'
6
+ export * from './Blog/BlogListItem/BlogListItem'
7
+ export * from './Blog/BlogTags/BlogTags'
8
+ export * from './Blog/BlogTitle/BlogTitle'
9
9
  export * from './Button'
10
- export * from './ChipMenu'
11
- export * from './ContainerWithHeader'
12
- export * from './FlagAvatar'
10
+ export * from './ChipMenu/ChipMenu'
11
+ export * from './ContainerWithHeader/ContainerWithHeader'
12
+ export * from './FlagAvatar/FlagAvatar'
13
13
  export * from './Footer'
14
14
  export * from './Form/Form'
15
15
  export * from './Form/FormActions'
@@ -18,51 +18,34 @@ export * from './Form/FormHeader'
18
18
  export * from './Form/FormRow'
19
19
  export * from './Form/InputCheckmark'
20
20
  export * from './FramerScroller'
21
- export * from './FullPageMessage'
22
- export * from './Highlight'
23
- export * from './IconHeader'
21
+ export * from './FullPageMessage/FullPageMessage'
22
+ export * from './Highlight/Highlight'
23
+ export * from './IconHeader/IconHeader'
24
24
  export * from './icons'
25
- export * from './JsonLd'
25
+ export * from './JsonLd/JsonLd'
26
26
  export * from './Layout'
27
27
  export * from './LayoutDefault'
28
28
  export * from './LayoutOverlay'
29
29
  export * from './LayoutParts'
30
30
  export * from './Page'
31
- export * from './PageLoadIndicator'
32
- export * from './PageMeta'
33
- export * from './Pagination'
34
- export * from './RenderType'
31
+ export * from './PageLoadIndicator/PageLoadIndicator'
32
+ export * from './PageMeta/PageMeta'
33
+ export * from './Pagination/Pagination'
34
+ export * from './RenderType/RenderType'
35
35
  export * from './Row'
36
- export * from './Row/ButtonLinkList'
37
- export * from './Row/ColumnOne'
38
- export * from './Row/ColumnOneBoxed'
39
- export * from './Row/ColumnOneCentered'
40
- export * from './Row/ColumnThree'
41
- export * from './Row/ColumnTwo'
42
- export * from './Row/ColumnTwoSpread'
43
- export * from './Row/ColumnTwoWithTop'
44
- export * from './Row/ContentLinks'
45
- export * from './Row/HeroBanner'
46
- export * from './Row/IconBlocks'
47
- export * from './Row/IconBlocks/IconBlock'
48
- export * from './Row/ImageText'
49
- export * from './Row/ImageTextBoxed'
50
- export * from './Row/ParagraphWithSidebarSlide'
51
- export * from './Row/Quote'
52
- export * from './Row/SpecialBanner'
53
- export * from './SectionContainer'
54
- export * from './SectionHeader'
55
- export * from './Separator'
36
+ export * from './SectionContainer/SectionContainer'
37
+ export * from './SectionHeader/SectionHeader'
38
+ export * from './Separator/Separator'
56
39
  export * from './Snackbar/MessageSnackbar'
57
40
  export * from './Snackbar/MessageSnackbarImpl'
58
- export * from './StarRatingField'
41
+ export * from './StarRatingField/StarRatingField'
59
42
  export * from './Stepper/Stepper'
60
43
  export * from './Styles'
61
44
  export * from './IconSvg'
62
- export * from './TextInputNumber'
45
+ export * from './TextInputNumber/TextInputNumber'
63
46
  export * from './Theme'
64
- export * from './TimeAgo'
65
- export * from './ToggleButton'
66
- export * from './ToggleButtonGroup'
67
- export * from './UspList'
47
+ export * from './TimeAgo/TimeAgo'
48
+ export * from './ToggleButton/ToggleButton'
49
+ export * from './ToggleButtonGroup/ToggleButtonGroup'
50
+ export * from './UspList/UspList'
68
51
  export * from './UspList/UspListItem'
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/next-ui",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "4.2.3",
5
+ "version": "4.3.0",
6
6
  "author": "",
7
7
  "license": "MIT",
8
8
  "sideEffects": false,
@@ -16,13 +16,13 @@
16
16
  "dependencies": {
17
17
  "@emotion/babel-preset-css-prop": "^11.2.0",
18
18
  "@emotion/cache": "^11.7.1",
19
- "@emotion/react": "^11.7.1",
19
+ "@emotion/react": "^11.8.2",
20
20
  "@emotion/server": "^11.4.0",
21
21
  "@emotion/styled": "^11.6.0",
22
- "@graphcommerce/framer-next-pages": "^3.1.1",
23
- "@graphcommerce/framer-scroller": "^2.0.5",
24
- "@graphcommerce/framer-utils": "^3.0.3",
25
- "@graphcommerce/image": "^3.1.0",
22
+ "@graphcommerce/framer-next-pages": "^3.1.2",
23
+ "@graphcommerce/framer-scroller": "^2.1.0",
24
+ "@graphcommerce/framer-utils": "^3.0.5",
25
+ "@graphcommerce/image": "^3.1.1",
26
26
  "react-is": "^17.0.2",
27
27
  "react-schemaorg": "^2.0.0",
28
28
  "schema-dts": "^1.1.0",
@@ -30,7 +30,6 @@
30
30
  },
31
31
  "peerDependencies": {
32
32
  "@lingui/macro": "^3.13.2",
33
- "@mui/base": "^5.0.0-alpha.68",
34
33
  "@mui/lab": "^5.0.0-alpha.68",
35
34
  "@mui/material": "^5.4.1",
36
35
  "framer-motion": "^6.2.4",
@@ -39,11 +38,11 @@
39
38
  "react-dom": "^17.0.2"
40
39
  },
41
40
  "devDependencies": {
42
- "@graphcommerce/eslint-config-pwa": "^4.0.4",
43
- "@graphcommerce/prettier-config-pwa": "^4.0.2",
41
+ "@graphcommerce/eslint-config-pwa": "^4.0.6",
42
+ "@graphcommerce/prettier-config-pwa": "^4.0.4",
44
43
  "@graphcommerce/typescript-config-pwa": "^4.0.2",
45
- "@playwright/test": "^1.19.1",
44
+ "@playwright/test": "^1.19.2",
46
45
  "@types/react-is": "^17.0.3",
47
- "typescript": "^4.5.5"
46
+ "typescript": "^4.6.2"
48
47
  }
49
48
  }