@mirohq/design-system-stitches 2.2.0 → 2.2.2

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 (2) hide show
  1. package/dist/types.d.ts +1 -1
  2. package/package.json +3 -3
package/dist/types.d.ts CHANGED
@@ -2708,7 +2708,7 @@ declare type StyledComponentProps<Element extends ElementType> = SafeProps<Compo
2708
2708
  * type React.ComponentProps<typeof Foo> // all radix, html and styled props
2709
2709
  * type StrictComponentProps<typeof Foo> // only html and styled props
2710
2710
  */
2711
- declare type StrictComponentProps<Element extends ElementType> = Omit<StyledComponentProps<Element>, keyof Omit<StyledComponentProps<Element>, keyof OnlyHTMLAttributes<Element> | AllowedProps>>;
2711
+ declare type StrictComponentProps<Element extends ElementType> = Omit<StyledComponentProps<Element>, keyof Omit<StyledComponentProps<Element>, keyof OnlyHTMLAttributes<Element> | keyof VariantProps<Element extends {} ? Element : {}> | AllowedProps>>;
2712
2712
  /**
2713
2713
  * Get a union type from styled variant
2714
2714
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-stitches",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -26,8 +26,8 @@
26
26
  "react": "^16.14 || ^17 || ^18"
27
27
  },
28
28
  "dependencies": {
29
- "@mirohq/design-system-types": "^0.4.0",
30
- "@mirohq/design-tokens": "^2.3.0"
29
+ "@mirohq/design-system-types": "^0.4.1",
30
+ "@mirohq/design-tokens": "^2.3.1"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@mirohq/design-system-primitive": "^1.1.0"