@graphcommerce/next-ui 10.0.0-canary.67 → 10.0.0-canary.68
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/ActionCard/ActionCard.tsx +30 -21
- package/ActionCard/ActionCardAccordion.tsx +2 -2
- package/ActionCard/ActionCardLayout.tsx +4 -3
- package/ActionCard/ActionCardList.tsx +13 -6
- package/Blog/BlogAuthor/BlogAuthor.tsx +9 -7
- package/Blog/BlogContent/BlogContent.tsx +7 -4
- package/Blog/BlogHeader/BlogHeader.tsx +7 -4
- package/Blog/BlogList/BlogList.tsx +4 -3
- package/Blog/BlogListItem/BlogListItem.tsx +6 -5
- package/Blog/BlogTags/BlogTag.tsx +2 -4
- package/Blog/BlogTitle/BlogTitle.tsx +2 -6
- package/Breadcrumbs/Breadcrumbs.tsx +24 -38
- package/Breadcrumbs/BreadcrumbsList.tsx +9 -9
- package/Button/Button.tsx +4 -4
- package/Button/LinkOrButton.tsx +8 -7
- package/CHANGELOG.md +8 -0
- package/ChipMenu/ChipMenu.tsx +5 -5
- package/Container/Container.tsx +4 -4
- package/Fab/Fab.tsx +1 -1
- package/Footer/Footer.tsx +5 -5
- package/Form/Form.tsx +6 -6
- package/Form/FormDivider.tsx +1 -1
- package/Form/InputCheckmark.tsx +2 -1
- package/FramerScroller/SidebarGallery.tsx +43 -34
- package/FullPageMessage/FullPageMessage.tsx +13 -4
- package/IconHeader/IconHeader.tsx +22 -8
- package/IconSvg/IconSvg.tsx +1 -1
- package/Layout/components/LayoutHeader.tsx +7 -6
- package/Layout/components/LayoutHeaderBack.tsx +0 -2
- package/Layout/components/LayoutHeaderContent.tsx +22 -18
- package/Layout/components/LayoutTitle.tsx +4 -3
- package/LayoutDefault/components/LayoutDefault.tsx +5 -4
- package/LayoutOverlay/components/LayoutOverlayHeader.tsx +4 -3
- package/LayoutOverlay/components/LayoutOverlayHeader2.tsx +0 -6
- package/LayoutParts/DesktopHeaderBadge.tsx +4 -3
- package/LayoutParts/DesktopNavBar.tsx +10 -11
- package/LayoutParts/DesktopNavBarItem.tsx +22 -16
- package/LayoutParts/GlobalHead.tsx +1 -1
- package/LayoutParts/Logo.tsx +2 -1
- package/LayoutParts/MenuFab.tsx +36 -14
- package/LayoutParts/MenuFabItem.tsx +2 -1
- package/LayoutParts/MenuFabSecondaryItem.tsx +6 -3
- package/LayoutParts/PlaceholderFab.tsx +2 -1
- package/LayoutParts/StickyBelowHeader.tsx +4 -3
- package/MediaQuery/MediaQuery.tsx +2 -4
- package/Navigation/components/NavigationFab.tsx +31 -11
- package/Navigation/components/NavigationItem.tsx +14 -10
- package/Navigation/components/NavigationOverlay.tsx +39 -20
- package/Overlay/components/OverlayBase.tsx +21 -23
- package/Overlay/components/OverlayContainer.tsx +35 -12
- package/Overlay/components/OverlayHeader.tsx +2 -1
- package/Overlay/components/OverlayStickyBottom.tsx +2 -5
- package/OverlayOrPopperChip/OverlayOrPopperChip.tsx +35 -31
- package/OverlayOrPopperChip/OverlayPanel.tsx +4 -5
- package/OverlayOrPopperChip/OverlayPanelActions.tsx +2 -1
- package/OverlayOrPopperChip/PopperPanelActions.tsx +2 -1
- package/Pagination/Pagination.tsx +9 -6
- package/Pagination/PaginationExtended.tsx +4 -3
- package/Row/ButtonLinkList/ButtonLinkList.tsx +14 -15
- package/Row/ButtonLinkList/ButtonLinkListItem.tsx +1 -1
- package/Row/ColumnThree/ColumnThree.tsx +4 -3
- package/Row/ColumnTwo/ColumnTwo.tsx +16 -5
- package/Row/ColumnTwoSpread/ColumnTwoSpread.tsx +15 -4
- package/Row/ColumnTwoWithTop/ColumnTwoWithTop.tsx +22 -6
- package/Row/ContentLinks/ContentLinks.tsx +4 -3
- package/Row/HeroBanner/HeroBanner.tsx +3 -7
- package/Row/IconBlocks/IconBlock.tsx +4 -3
- package/Row/IconBlocks/IconBlocks.tsx +2 -1
- package/Row/ImageText/ImageText.tsx +5 -5
- package/Row/ImageTextBoxed/ImageTextBoxed.tsx +2 -2
- package/Row/ParagraphWithSidebarSlide/ParagraphWithSidebarSlide.tsx +1 -1
- package/Row/RowLinks/variant/VariantImageLabelSwiper.tsx +4 -3
- package/Row/RowLinks/variant/VariantInline.tsx +2 -4
- package/Row/RowLinks/variant/VariantLogoSwiper.tsx +4 -3
- package/Row/RowLinks/variant/VariantUsps.tsx +4 -3
- package/Row/SpecialBanner/SpecialBanner.tsx +2 -2
- package/SectionContainer/SectionContainer.tsx +6 -5
- package/SectionHeader/SectionHeader.tsx +4 -3
- package/Separator/Separator.tsx +4 -3
- package/SkipLink/SkipLink.tsx +2 -2
- package/Snackbar/MessageSnackbarImpl.tsx +22 -10
- package/StarRatingField/StarRatingField.tsx +1 -1
- package/Stepper/Stepper.tsx +6 -5
- package/Styles/withTheme.tsx +6 -5
- package/Tabs/TabItem.tsx +4 -5
- package/TextInputNumber/TextInputNumber.tsx +76 -50
- package/Theme/DarkLightModeThemeProvider.tsx +41 -88
- package/Theme/MuiButton.ts +23 -22
- package/Theme/MuiChip.ts +12 -13
- package/Theme/MuiFab.ts +5 -5
- package/Theme/MuiSlider.ts +5 -5
- package/Theme/createTheme.ts +1 -3
- package/Theme/themeDefaults.ts +1 -1
- package/ToggleButton/ToggleButton.tsx +10 -11
- package/ToggleButtonGroup/ToggleButtonGroup.tsx +4 -3
- package/UspList/UspList.tsx +4 -3
- package/UspList/UspListItem.tsx +4 -3
- package/package.json +10 -10
- package/types.ts +1 -0
- package/utils/sxx.ts +1 -1
package/UspList/UspListItem.tsx
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { sxx } from '@graphcommerce/next-ui'
|
|
1
2
|
import type { SxProps, Theme } from '@mui/material'
|
|
2
3
|
import { Box } from '@mui/material'
|
|
3
4
|
import { extendableComponent } from '../Styles'
|
|
@@ -22,7 +23,7 @@ export function UspListItem(props: UspListItemProps) {
|
|
|
22
23
|
<Box
|
|
23
24
|
component='li'
|
|
24
25
|
className={classes.root}
|
|
25
|
-
sx={
|
|
26
|
+
sx={sxx(
|
|
26
27
|
(theme) => ({
|
|
27
28
|
display: 'grid',
|
|
28
29
|
gridAutoFlow: 'column',
|
|
@@ -37,8 +38,8 @@ export function UspListItem(props: UspListItemProps) {
|
|
|
37
38
|
gap: theme.spacings.xxs,
|
|
38
39
|
},
|
|
39
40
|
}),
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
sx,
|
|
42
|
+
)}
|
|
42
43
|
>
|
|
43
44
|
<Box
|
|
44
45
|
className={classes.icon}
|
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": "10.0.0-canary.
|
|
5
|
+
"version": "10.0.0-canary.68",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -42,18 +42,18 @@
|
|
|
42
42
|
"@emotion/react": "^11",
|
|
43
43
|
"@emotion/server": "^11",
|
|
44
44
|
"@emotion/styled": "^11",
|
|
45
|
-
"@graphcommerce/eslint-config-pwa": "^10.0.0-canary.
|
|
46
|
-
"@graphcommerce/framer-next-pages": "^10.0.0-canary.
|
|
47
|
-
"@graphcommerce/framer-scroller": "^10.0.0-canary.
|
|
48
|
-
"@graphcommerce/framer-utils": "^10.0.0-canary.
|
|
49
|
-
"@graphcommerce/image": "^10.0.0-canary.
|
|
50
|
-
"@graphcommerce/prettier-config-pwa": "^10.0.0-canary.
|
|
51
|
-
"@graphcommerce/typescript-config-pwa": "^10.0.0-canary.
|
|
45
|
+
"@graphcommerce/eslint-config-pwa": "^10.0.0-canary.68",
|
|
46
|
+
"@graphcommerce/framer-next-pages": "^10.0.0-canary.68",
|
|
47
|
+
"@graphcommerce/framer-scroller": "^10.0.0-canary.68",
|
|
48
|
+
"@graphcommerce/framer-utils": "^10.0.0-canary.68",
|
|
49
|
+
"@graphcommerce/image": "^10.0.0-canary.68",
|
|
50
|
+
"@graphcommerce/prettier-config-pwa": "^10.0.0-canary.68",
|
|
51
|
+
"@graphcommerce/typescript-config-pwa": "^10.0.0-canary.68",
|
|
52
52
|
"@lingui/core": "^5",
|
|
53
53
|
"@lingui/macro": "^5",
|
|
54
54
|
"@lingui/react": "^5",
|
|
55
|
-
"@mui/lab": "^
|
|
56
|
-
"@mui/material": "^
|
|
55
|
+
"@mui/lab": "^7.0.0-beta.0",
|
|
56
|
+
"@mui/material": "^7.0.0",
|
|
57
57
|
"framer-motion": "^11.0.0",
|
|
58
58
|
"next": "*",
|
|
59
59
|
"next-sitemap": "4.2.3",
|
package/types.ts
CHANGED
package/utils/sxx.ts
CHANGED
|
@@ -10,7 +10,7 @@ import type { SxProps, Theme } from '@mui/material'
|
|
|
10
10
|
* ```
|
|
11
11
|
*/
|
|
12
12
|
export const sxx = (
|
|
13
|
-
...sxPropsArray: (SxProps<Theme> | undefined | null | false)[]
|
|
13
|
+
...sxPropsArray: (SxProps<Theme> | undefined | null | false | ``)[]
|
|
14
14
|
): SxProps<Theme> =>
|
|
15
15
|
sxPropsArray
|
|
16
16
|
.filter((v) => !!v)
|