@graphcommerce/next-ui 4.30.0 → 4.31.0-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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.31.0-canary.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1718](https://github.com/graphcommerce-org/graphcommerce/pull/1718) [`37e86cdc8`](https://github.com/graphcommerce-org/graphcommerce/commit/37e86cdc86ccca3db77d6c59b1e14c8112bb7893) - Remove usage of PropsWithChildren ([@paales](https://github.com/paales))
8
+
9
+ ## 4.31.0-canary.0
10
+
3
11
  ## 4.30.0
4
12
 
5
13
  ### Patch Changes
@@ -1,19 +1,18 @@
1
1
  import { Chip, ChipProps, Menu, MenuProps, menuClasses, SxProps, Theme } from '@mui/material'
2
- import React, { PropsWithChildren, useState } from 'react'
2
+ import React, { useState } from 'react'
3
3
  import { IconSvg } from '../IconSvg'
4
4
  import { SectionHeader } from '../SectionHeader/SectionHeader'
5
5
  import { responsiveVal } from '../Styles/responsiveVal'
6
6
  import { iconChevronDown, iconChevronUp, iconCancelAlt } from '../icons'
7
7
 
8
- export type ChipMenuProps = PropsWithChildren<
9
- Omit<ChipProps<'button'>, 'children' | 'component'>
10
- > & {
8
+ export type ChipMenuProps = Omit<ChipProps<'button'>, 'children' | 'component'> & {
11
9
  selectedLabel?: React.ReactNode
12
10
  selected: boolean
13
11
  onClose?: () => void
14
12
  labelRight?: React.ReactNode
15
13
  sx?: SxProps<Theme>
16
14
  menuProps?: Partial<MenuProps>
15
+ children?: React.ReactNode
17
16
  }
18
17
 
19
18
  export function ChipMenu(props: ChipMenuProps) {
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.30.0",
5
+ "version": "4.31.0-canary.1",
6
6
  "author": "",
7
7
  "license": "MIT",
8
8
  "sideEffects": false,
@@ -19,10 +19,10 @@
19
19
  "@emotion/react": "^11.9.3",
20
20
  "@emotion/server": "^11.4.0",
21
21
  "@emotion/styled": "^11.9.3",
22
- "@graphcommerce/framer-next-pages": "4.30.0",
23
- "@graphcommerce/framer-scroller": "4.30.0",
24
- "@graphcommerce/framer-utils": "4.30.0",
25
- "@graphcommerce/image": "4.30.0",
22
+ "@graphcommerce/framer-next-pages": "4.31.0-canary.1",
23
+ "@graphcommerce/framer-scroller": "4.31.0-canary.1",
24
+ "@graphcommerce/framer-utils": "4.31.0-canary.1",
25
+ "@graphcommerce/image": "4.31.0-canary.1",
26
26
  "cookie": "^0.5.0",
27
27
  "react-is": "^18.2.0",
28
28
  "schema-dts": "^1.1.0"