@mirohq/design-system-stitches 2.6.31-sync-design-tokens.1 → 2.6.31

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 +4 -2
  2. package/package.json +3 -3
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { ElementType, PropsWithChildren, ComponentPropsWithRef, ExoticComponent, JSXElementConstructor, ComponentType } from 'react';
2
+ import React__default, { ElementType, ComponentPropsWithRef, ExoticComponent, JSXElementConstructor, ComponentType } from 'react';
3
3
  import { CSS as CSS$1, VariantProps } from '@stitches/react';
4
4
  import { OmitFromUnion, OnlyHTMLAttributes, ExtractValidKeys } from '@mirohq/design-system-types';
5
5
  import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
@@ -6424,7 +6424,9 @@ type CSS = CSS$1<typeof config>;
6424
6424
  * Build a type with all props from a element and Stitches CSS keys
6425
6425
  * and remove dangerous attributes that could cause styles issues
6426
6426
  */
6427
- type StyledComponentProps<Element extends ElementType> = PropsWithChildren<SafeProps<ComponentPropsWithRef<Element>>>;
6427
+ type StyledComponentProps<Element extends ElementType> = SafeProps<ComponentPropsWithRef<Element>> & {
6428
+ children?: React.ReactNode;
6429
+ };
6428
6430
  /**
6429
6431
  * Filter out all non-html props and forbidden attributes from the extended component.
6430
6432
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-stitches",
3
- "version": "2.6.31-sync-design-tokens.1",
3
+ "version": "2.6.31",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -27,9 +27,9 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "lodash.merge": "^4.6.2",
30
- "@mirohq/design-system-themes": "^0.14.0-sync-design-tokens.1",
30
+ "@mirohq/design-system-themes": "^0.13.1",
31
31
  "@mirohq/design-system-types": "^0.10.0",
32
- "@mirohq/design-tokens": "^6.6.0-sync-design-tokens.1"
32
+ "@mirohq/design-tokens": "^6.5.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/lodash.merge": "^4.6.7"