@parrot-co/parrot-ui 0.1.2 → 0.1.3
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 +20 -15
- package/dist/main.js.map +1 -1
- package/dist/module.js +20 -15
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +3 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -498,6 +498,11 @@ const $d9ffc65197682590$export$f5b8910cec6cf069 = /*#__PURE__*/ (0, ($parcel$int
|
|
|
498
498
|
})
|
|
499
499
|
]
|
|
500
500
|
}),
|
|
501
|
+
error && /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)((0, $4b54f76a59afa8a5$export$2e2bcd8739ae039), {
|
|
502
|
+
validationStatus: validationStatus,
|
|
503
|
+
...errorMessageProps,
|
|
504
|
+
children: error
|
|
505
|
+
}),
|
|
501
506
|
description && /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)((0, $88fa102d91bf323a$export$5f1af8db9871e1d6), {
|
|
502
507
|
as: "div",
|
|
503
508
|
variant: "light",
|
|
@@ -506,11 +511,6 @@ const $d9ffc65197682590$export$f5b8910cec6cf069 = /*#__PURE__*/ (0, ($parcel$int
|
|
|
506
511
|
lineHeight: "base",
|
|
507
512
|
...descriptionProps,
|
|
508
513
|
children: description
|
|
509
|
-
}),
|
|
510
|
-
error && /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)((0, $4b54f76a59afa8a5$export$2e2bcd8739ae039), {
|
|
511
|
-
validationStatus: validationStatus,
|
|
512
|
-
...errorMessageProps,
|
|
513
|
-
children: error
|
|
514
514
|
})
|
|
515
515
|
]
|
|
516
516
|
});
|
|
@@ -675,6 +675,7 @@ const $5a6f28f3fd58ff6e$export$353f5b6fc5456de1 = /*#__PURE__*/ (0, ($parcel$int
|
|
|
675
675
|
const Comp = as;
|
|
676
676
|
return /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsxs)(Comp, {
|
|
677
677
|
style: style,
|
|
678
|
+
"data-is-toggle": isToggle,
|
|
678
679
|
"data-pressed": isPressed,
|
|
679
680
|
"data-radius": radius,
|
|
680
681
|
"data-icon-button": isIconButton,
|
|
@@ -882,6 +883,10 @@ const $491b98ef80f40f98$export$379139ebc1c2b235 = /*#__PURE__*/ (0, ($parcel$int
|
|
|
882
883
|
"data-appearance": appearance,
|
|
883
884
|
...inputProps
|
|
884
885
|
}),
|
|
886
|
+
error && /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)((0, $4b54f76a59afa8a5$export$2e2bcd8739ae039), {
|
|
887
|
+
...errorMessageProps,
|
|
888
|
+
children: error
|
|
889
|
+
}),
|
|
885
890
|
description && /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)((0, $88fa102d91bf323a$export$5f1af8db9871e1d6), {
|
|
886
891
|
lineHeight: "base",
|
|
887
892
|
...descriptionProps,
|
|
@@ -889,10 +894,6 @@ const $491b98ef80f40f98$export$379139ebc1c2b235 = /*#__PURE__*/ (0, ($parcel$int
|
|
|
889
894
|
as: "div",
|
|
890
895
|
size: "sm",
|
|
891
896
|
children: description
|
|
892
|
-
}),
|
|
893
|
-
error && /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)((0, $4b54f76a59afa8a5$export$2e2bcd8739ae039), {
|
|
894
|
-
...errorMessageProps,
|
|
895
|
-
children: error
|
|
896
897
|
})
|
|
897
898
|
]
|
|
898
899
|
});
|
|
@@ -2862,7 +2863,7 @@ function $43de550aebbf1320$export$50e381fea3a45244(props) {
|
|
|
2862
2863
|
|
|
2863
2864
|
|
|
2864
2865
|
|
|
2865
|
-
const $fedef2bba4e6812a$export$ea98c603db73aee7 = /*#__PURE__*/ (0, ($parcel$interopDefault($8zHUo$react))).forwardRef(({ variant: variant = "outline", color: color = "violet", padded: padded = true, gap: gap = "sm", radius: radius, ...props }, ref)=>{
|
|
2866
|
+
const $fedef2bba4e6812a$export$ea98c603db73aee7 = /*#__PURE__*/ (0, ($parcel$interopDefault($8zHUo$react))).forwardRef(({ variant: variant = "outline", color: color = "violet", padded: padded = true, gap: gap = "sm", radius: radius, children: children, ...props }, ref)=>{
|
|
2866
2867
|
const theme = (0, $f2fd0cbe11b7f0dd$export$93d4e7f90805808f)();
|
|
2867
2868
|
return /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)((0, $c3a954a7c0cb5109$export$f51f4c4ede09e011), {
|
|
2868
2869
|
"data-radius": radius ?? theme?.radius ?? "lg",
|
|
@@ -2874,7 +2875,8 @@ const $fedef2bba4e6812a$export$ea98c603db73aee7 = /*#__PURE__*/ (0, ($parcel$int
|
|
|
2874
2875
|
"data-color": color,
|
|
2875
2876
|
ref: ref,
|
|
2876
2877
|
gap: gap,
|
|
2877
|
-
...props
|
|
2878
|
+
...props,
|
|
2879
|
+
children: children
|
|
2878
2880
|
});
|
|
2879
2881
|
});
|
|
2880
2882
|
$fedef2bba4e6812a$export$ea98c603db73aee7.displayName = "Sticker";
|
|
@@ -3010,11 +3012,14 @@ function $1278141024f0bc4d$var$Dialog({ width: width = 400, title: title, onCanc
|
|
|
3010
3012
|
})
|
|
3011
3013
|
]
|
|
3012
3014
|
}),
|
|
3013
|
-
props.isDismissable && showCloseButton && /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)(
|
|
3015
|
+
props.isDismissable && showCloseButton && /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)("button", {
|
|
3014
3016
|
color: "gray",
|
|
3015
|
-
|
|
3016
|
-
variant: "ghost",
|
|
3017
|
-
|
|
3017
|
+
onClick: handleClose,
|
|
3018
|
+
"data-variant": "ghost",
|
|
3019
|
+
"data-color": "gray",
|
|
3020
|
+
className: "p-button size-sm",
|
|
3021
|
+
"data-radius": "full",
|
|
3022
|
+
"data-icon-button": true,
|
|
3018
3023
|
children: /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)((0, $8zHUo$reacticonshi.HiX), {
|
|
3019
3024
|
size: 18
|
|
3020
3025
|
})
|