@mirohq/design-system-stitches
Advanced tools
Comparing version 2.3.3 to 2.3.4-use-press.0
@@ -7,2 +7,3 @@ 'use strict'; | ||
var designTokens = require('@mirohq/design-tokens'); | ||
var jsxRuntime = require('react/jsx-runtime'); | ||
var React = require('react'); | ||
@@ -184,3 +185,7 @@ | ||
const media = {}; | ||
const media = { | ||
// reducedMotion: '(prefers-reduced-motion: reduce)', | ||
// motion: '(prefers-reduced-motion: no-preference)', | ||
// hover: '(any-hover: hover)', | ||
}; | ||
@@ -245,2 +250,3 @@ const stitches = react.createStitches({ | ||
UNSAFE_style, | ||
// eslint-disable-line @typescript-eslint/naming-convention | ||
...restProps | ||
@@ -256,8 +262,11 @@ } = props; | ||
} | ||
return /* @__PURE__ */ React__default["default"].createElement(StyledComponent, { | ||
...restProps, | ||
className: onlyStyledClasses, | ||
style: parsedStyle, | ||
ref: forwardRef | ||
}); | ||
return /* @__PURE__ */ jsxRuntime.jsx( | ||
StyledComponent, | ||
{ | ||
...restProps, | ||
className: onlyStyledClasses, | ||
style: parsedStyle, | ||
ref: forwardRef | ||
} | ||
); | ||
} | ||
@@ -264,0 +273,0 @@ ); |
import { createStitches } from '@stitches/react'; | ||
import { Tokens } from '@mirohq/design-tokens'; | ||
import { jsx } from 'react/jsx-runtime'; | ||
import React from 'react'; | ||
@@ -175,3 +176,7 @@ | ||
const media = {}; | ||
const media = { | ||
// reducedMotion: '(prefers-reduced-motion: reduce)', | ||
// motion: '(prefers-reduced-motion: no-preference)', | ||
// hover: '(any-hover: hover)', | ||
}; | ||
@@ -236,2 +241,3 @@ const stitches = createStitches({ | ||
UNSAFE_style, | ||
// eslint-disable-line @typescript-eslint/naming-convention | ||
...restProps | ||
@@ -247,8 +253,11 @@ } = props; | ||
} | ||
return /* @__PURE__ */ React.createElement(StyledComponent, { | ||
...restProps, | ||
className: onlyStyledClasses, | ||
style: parsedStyle, | ||
ref: forwardRef | ||
}); | ||
return /* @__PURE__ */ jsx( | ||
StyledComponent, | ||
{ | ||
...restProps, | ||
className: onlyStyledClasses, | ||
style: parsedStyle, | ||
ref: forwardRef | ||
} | ||
); | ||
} | ||
@@ -255,0 +264,0 @@ ); |
{ | ||
"name": "@mirohq/design-system-stitches", | ||
"version": "2.3.3", | ||
"version": "2.3.4-use-press.0", | ||
"description": "", | ||
@@ -29,3 +29,3 @@ "author": "Miro", | ||
"dependencies": { | ||
"@mirohq/design-system-types": "^0.5.0", | ||
"@mirohq/design-system-types": "^0.6.0-use-press.0", | ||
"@mirohq/design-tokens": "^2.7.1" | ||
@@ -32,0 +32,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
235236
4470
2
+ Added@mirohq/design-system-types@0.6.2(transitive)
- Removed@mirohq/design-system-types@0.5.0(transitive)