@contentful/f36-copybutton
Advanced tools
Comparing version 4.0.1-beta.2590 to 4.0.1-beta.2595
@@ -0,1 +1,2 @@ | ||
var $2mOCL$reactjsxruntime = require("react/jsx-runtime"); | ||
var $2mOCL$emotion = require("emotion"); | ||
@@ -6,3 +7,2 @@ var $2mOCL$react = require("react"); | ||
var $2mOCL$contentfulf36tooltip = require("@contentful/f36-tooltip"); | ||
var $2mOCL$reactjsxruntime = require("react/jsx-runtime"); | ||
var $2mOCL$contentfulf36tokens = require("@contentful/f36-tokens"); | ||
@@ -37,4 +37,4 @@ | ||
alignItems: 'center', | ||
background: $parcel$interopDefault($2mOCL$contentfulf36tokens).colorWhite, | ||
border: `1px solid ${$parcel$interopDefault($2mOCL$contentfulf36tokens).gray300}`, | ||
background: ($parcel$interopDefault($2mOCL$contentfulf36tokens)).colorWhite, | ||
border: `1px solid ${($parcel$interopDefault($2mOCL$contentfulf36tokens)).gray300}`, | ||
display: 'inline-flex', | ||
@@ -45,14 +45,14 @@ height: '100%', | ||
padding: 0, | ||
transition: `background ${$parcel$interopDefault($2mOCL$contentfulf36tokens).transitionDurationShort} ${$parcel$interopDefault($2mOCL$contentfulf36tokens).transitionEasingDefault}`, | ||
transition: `background ${($parcel$interopDefault($2mOCL$contentfulf36tokens)).transitionDurationShort} ${($parcel$interopDefault($2mOCL$contentfulf36tokens)).transitionEasingDefault}`, | ||
width: '100%', | ||
'&:hover': { | ||
backgroundColor: $parcel$interopDefault($2mOCL$contentfulf36tokens).gray100, | ||
backgroundColor: ($parcel$interopDefault($2mOCL$contentfulf36tokens)).gray100, | ||
cursor: 'pointer' | ||
}, | ||
'&:active': { | ||
backgroundColor: $parcel$interopDefault($2mOCL$contentfulf36tokens).gray200, | ||
backgroundColor: ($parcel$interopDefault($2mOCL$contentfulf36tokens)).gray200, | ||
cursor: 'pointer' | ||
}, | ||
'&:focus': { | ||
boxShadow: $parcel$interopDefault($2mOCL$contentfulf36tokens).glowMuted | ||
boxShadow: ($parcel$interopDefault($2mOCL$contentfulf36tokens)).glowMuted | ||
} | ||
@@ -62,13 +62,13 @@ }), | ||
cursor: 'not-allowed', | ||
backgroundColor: $parcel$interopDefault($2mOCL$contentfulf36tokens).gray100, | ||
backgroundColor: ($parcel$interopDefault($2mOCL$contentfulf36tokens)).gray100, | ||
'&:hover': { | ||
cursor: 'not-allowed', | ||
backgroundColor: $parcel$interopDefault($2mOCL$contentfulf36tokens).gray100 | ||
backgroundColor: ($parcel$interopDefault($2mOCL$contentfulf36tokens)).gray100 | ||
}, | ||
'&:focus': { | ||
borderColor: $parcel$interopDefault($2mOCL$contentfulf36tokens).gray300, | ||
borderColor: ($parcel$interopDefault($2mOCL$contentfulf36tokens)).gray300, | ||
boxShadow: 'none' | ||
}, | ||
'&:active, &:active:hover': { | ||
borderColor: $parcel$interopDefault($2mOCL$contentfulf36tokens).gray300, | ||
borderColor: ($parcel$interopDefault($2mOCL$contentfulf36tokens)).gray300, | ||
boxShadow: 'none' | ||
@@ -103,3 +103,3 @@ } | ||
...otherProps, | ||
children: /*#__PURE__*/ $2mOCL$reactjsxruntime.jsx($parcel$interopDefault($2mOCL$reactcopytoclipboard), { | ||
children: /*#__PURE__*/ $2mOCL$reactjsxruntime.jsx(($parcel$interopDefault($2mOCL$reactcopytoclipboard)), { | ||
text: value, | ||
@@ -129,3 +129,3 @@ onCopy: handleOnCopy, | ||
} | ||
const $7cfc52ec8d291deb$export$4f2558dd25106ae2 = /*#__PURE__*/ $parcel$interopDefault($2mOCL$react).forwardRef($7cfc52ec8d291deb$var$_CopyButton); | ||
const $7cfc52ec8d291deb$export$4f2558dd25106ae2 = /*#__PURE__*/ ($parcel$interopDefault($2mOCL$react)).forwardRef($7cfc52ec8d291deb$var$_CopyButton); | ||
@@ -132,0 +132,0 @@ |
@@ -0,1 +1,2 @@ | ||
import {jsx as $dnnsg$jsx} from "react/jsx-runtime"; | ||
import {cx as $dnnsg$cx, css as $dnnsg$css} from "emotion"; | ||
@@ -6,3 +7,2 @@ import $dnnsg$react, {useState as $dnnsg$useState, useRef as $dnnsg$useRef, useCallback as $dnnsg$useCallback} from "react"; | ||
import {Tooltip as $dnnsg$Tooltip} from "@contentful/f36-tooltip"; | ||
import {jsx as $dnnsg$jsx} from "react/jsx-runtime"; | ||
import $dnnsg$contentfulf36tokens from "@contentful/f36-tokens"; | ||
@@ -9,0 +9,0 @@ |
{ | ||
"name": "@contentful/f36-copybutton", | ||
"version": "4.0.1-beta.2590+bfd9a9a5", | ||
"version": "4.0.1-beta.2595+7499852fef", | ||
"description": "Forma 36: CopyButton component", | ||
@@ -10,6 +10,6 @@ "scripts": { | ||
"@babel/runtime": "^7.6.2", | ||
"@contentful/f36-core": "4.0.1-beta.2590+bfd9a9a5", | ||
"@contentful/f36-icons": "4.0.1-beta.2590+bfd9a9a5", | ||
"@contentful/f36-tokens": "4.0.1-beta.2590+bfd9a9a5", | ||
"@contentful/f36-tooltip": "4.0.1-beta.2590+bfd9a9a5", | ||
"@contentful/f36-core": "4.0.1-beta.2595+7499852fef", | ||
"@contentful/f36-icons": "4.0.1-beta.2595+7499852fef", | ||
"@contentful/f36-tokens": "4.0.1-beta.2595+7499852fef", | ||
"@contentful/f36-tooltip": "4.0.1-beta.2595+7499852fef", | ||
"emotion": "^10.0.17", | ||
@@ -38,3 +38,3 @@ "react-copy-to-clipboard": "^5.0.3" | ||
}, | ||
"gitHead": "bfd9a9a5affcb943abbc97639ebae3abc67844fd" | ||
"gitHead": "7499852fef1921bc0636f4d544fde90ae91cb05c" | ||
} |
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
32640