@mirohq/design-system-stitches 2.3.0 → 2.3.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.
Files changed (2) hide show
  1. package/dist/types.d.ts +2 -2
  2. package/package.json +3 -3
package/dist/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { ElementType, PropsWithChildren, ComponentPropsWithRef, ComponentType } from 'react';
3
3
  import { CSS as CSS$1, VariantProps } from '@stitches/react';
4
- import { OnlyHTMLAttributes } from '@mirohq/design-system-types';
4
+ import { OnlyHTMLAttributes, ExtractValidKeys } from '@mirohq/design-system-types';
5
5
  import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
6
6
  import { $$StyledComponentType, $$StyledComponentProps, $$StyledComponentMedia, StyledComponentProps as StyledComponentProps$1, TransformProps } from '@stitches/react/types/styled-component';
7
7
  import * as _stitches_react_types_util from '@stitches/react/types/util';
@@ -2787,7 +2787,7 @@ declare type StrictComponentProps<Element extends ElementType> = Omit<StyledComp
2787
2787
  /**
2788
2788
  * Get a union type from styled variant
2789
2789
  */
2790
- declare type NonResponsiveVariantProps<Element extends {}, Prop extends keyof VariantProps<Element>> = Extract<VariantProps<Element>[Prop], string | number | boolean>;
2790
+ declare type NonResponsiveVariantProps<Element extends {}, Prop extends keyof VariantProps<Element>> = ExtractValidKeys<VariantProps<Element>[Prop]>;
2791
2791
 
2792
2792
  declare const themeMap: {
2793
2793
  readonly background: "colors";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-stitches",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
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-tokens": "^2.6.0",
30
- "@mirohq/design-system-types": "^0.4.1"
29
+ "@mirohq/design-system-types": "^0.5.0",
30
+ "@mirohq/design-tokens": "^2.6.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@mirohq/design-system-primitive": "^1.1.0"