@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/main.js
CHANGED
|
@@ -926,7 +926,6 @@ const $5a6f28f3fd58ff6e$export$353f5b6fc5456de1 = /*#__PURE__*/ (0, ($parcel$int
|
|
|
926
926
|
};
|
|
927
927
|
}
|
|
928
928
|
const Comp = as;
|
|
929
|
-
console.log(buttonProps);
|
|
930
929
|
return /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsxs)(Comp, {
|
|
931
930
|
style: {
|
|
932
931
|
...style,
|
|
@@ -2755,7 +2754,6 @@ const $5f87818f4e8f8603$export$1a5cb5295a7d2749 = /*#__PURE__*/ $8zHUo$react.for
|
|
|
2755
2754
|
}
|
|
2756
2755
|
});
|
|
2757
2756
|
function onUpload(uploads) {
|
|
2758
|
-
console.log(uploads);
|
|
2759
2757
|
if ((0, $d99c85a751d7ffbd$export$4c0262a4f954db45)(uploads)) return;
|
|
2760
2758
|
setUploads(uploads);
|
|
2761
2759
|
onFileUpload?.(uploads);
|
|
@@ -3900,11 +3898,8 @@ function $b4c448f742efa2a7$export$9feb1bc2e5f1ccb3({ onChange: onChange, color:
|
|
|
3900
3898
|
}
|
|
3901
3899
|
function setAlpha(alpha) {
|
|
3902
3900
|
if (isNaN(alpha)) return;
|
|
3903
|
-
console.log(alpha);
|
|
3904
|
-
console.log(color);
|
|
3905
3901
|
const newColor = color.withChannelValue("alpha", alpha);
|
|
3906
3902
|
setColor(newColor);
|
|
3907
|
-
console.log(newColor);
|
|
3908
3903
|
}
|
|
3909
3904
|
const [h, s, l] = color.getColorChannels();
|
|
3910
3905
|
const rgbaColor = color.toFormat("rgba");
|