@parrot-co/parrot-ui 0.1.18 → 0.1.19
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.
- package/dist/main.js +0 -5
- package/dist/main.js.map +1 -1
- package/dist/module.js +0 -5
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -857,7 +857,6 @@ const $d95a2216d3ccf702$export$353f5b6fc5456de1 = /*#__PURE__*/ (0, $hgUW1$react
|
|
|
857
857
|
};
|
|
858
858
|
}
|
|
859
859
|
const Comp = as;
|
|
860
|
-
console.log(buttonProps);
|
|
861
860
|
return /*#__PURE__*/ (0, $hgUW1$jsxs)(Comp, {
|
|
862
861
|
style: {
|
|
863
862
|
...style,
|
|
@@ -2686,7 +2685,6 @@ const $f9f5a5b674d0a63f$export$1a5cb5295a7d2749 = /*#__PURE__*/ $hgUW1$forwardRe
|
|
|
2686
2685
|
}
|
|
2687
2686
|
});
|
|
2688
2687
|
function onUpload(uploads) {
|
|
2689
|
-
console.log(uploads);
|
|
2690
2688
|
if ((0, $0f90ef71a188bc45$export$4c0262a4f954db45)(uploads)) return;
|
|
2691
2689
|
setUploads(uploads);
|
|
2692
2690
|
onFileUpload?.(uploads);
|
|
@@ -3831,11 +3829,8 @@ function $b925f0cf89a3187d$export$9feb1bc2e5f1ccb3({ onChange: onChange, color:
|
|
|
3831
3829
|
}
|
|
3832
3830
|
function setAlpha(alpha) {
|
|
3833
3831
|
if (isNaN(alpha)) return;
|
|
3834
|
-
console.log(alpha);
|
|
3835
|
-
console.log(color);
|
|
3836
3832
|
const newColor = color.withChannelValue("alpha", alpha);
|
|
3837
3833
|
setColor(newColor);
|
|
3838
|
-
console.log(newColor);
|
|
3839
3834
|
}
|
|
3840
3835
|
const [h, s, l] = color.getColorChannels();
|
|
3841
3836
|
const rgbaColor = color.toFormat("rgba");
|