@graphcommerce/next-ui 8.0.5-canary.2 → 8.0.5-canary.3

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,12 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.0.5-canary.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2236](https://github.com/graphcommerce-org/graphcommerce/pull/2236) [`85fb916`](https://github.com/graphcommerce-org/graphcommerce/commit/85fb916e5ec2a1456a93a59bf92a5f414fee8595) - Solve issue where the inert prop wouldnt be properly forwarded
8
+ ([@paales](https://github.com/paales))
9
+
3
10
  ## 8.0.5-canary.2
4
11
 
5
12
  ### Patch Changes
@@ -365,7 +365,7 @@ export function OverlayBase(incomingProps: LayoutOverlayBaseProps) {
365
365
  return (
366
366
  <>
367
367
  <MotionDiv
368
- inert={active ? undefined : true}
368
+ inert={active ? undefined : ('true' as unknown as boolean)}
369
369
  className={classes.backdrop}
370
370
  style={{ opacity: positions.open.visible }}
371
371
  sx={[
@@ -387,7 +387,7 @@ export function OverlayBase(incomingProps: LayoutOverlayBaseProps) {
387
387
  ]}
388
388
  />
389
389
  <Scroller
390
- inert={disableInert || active ? undefined : true}
390
+ inert={disableInert || active ? undefined : ('true' as unknown as boolean)}
391
391
  className={`${classes.scroller} ${className ?? ''}`}
392
392
  grid={false}
393
393
  onClick={onClickAway}
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": "8.0.5-canary.2",
5
+ "version": "8.0.5-canary.3",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -25,14 +25,14 @@
25
25
  "typescript": "5.3.3"
26
26
  },
27
27
  "peerDependencies": {
28
- "@graphcommerce/eslint-config-pwa": "^8.0.5-canary.2",
29
- "@graphcommerce/framer-next-pages": "^8.0.5-canary.2",
30
- "@graphcommerce/framer-scroller": "^8.0.5-canary.2",
31
- "@graphcommerce/framer-utils": "^8.0.5-canary.2",
32
- "@graphcommerce/image": "^8.0.5-canary.2",
33
- "@graphcommerce/lingui-next": "^8.0.5-canary.2",
34
- "@graphcommerce/prettier-config-pwa": "^8.0.5-canary.2",
35
- "@graphcommerce/typescript-config-pwa": "^8.0.5-canary.2",
28
+ "@graphcommerce/eslint-config-pwa": "^8.0.5-canary.3",
29
+ "@graphcommerce/framer-next-pages": "^8.0.5-canary.3",
30
+ "@graphcommerce/framer-scroller": "^8.0.5-canary.3",
31
+ "@graphcommerce/framer-utils": "^8.0.5-canary.3",
32
+ "@graphcommerce/image": "^8.0.5-canary.3",
33
+ "@graphcommerce/lingui-next": "^8.0.5-canary.3",
34
+ "@graphcommerce/prettier-config-pwa": "^8.0.5-canary.3",
35
+ "@graphcommerce/typescript-config-pwa": "^8.0.5-canary.3",
36
36
  "@lingui/core": "^4.2.1",
37
37
  "@lingui/macro": "^4.2.1",
38
38
  "@lingui/react": "^4.2.1",
package/types.d.ts CHANGED
@@ -6,12 +6,6 @@ import './Theme/createTheme'
6
6
  // eslint-disable-next-line react/no-typos
7
7
  import 'react'
8
8
 
9
- declare module 'react' {
10
- interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T> {
11
- inert?: 'true'
12
- }
13
- }
14
-
15
9
  declare module '*.po' {
16
10
  const messages: Record<
17
11
  string,