@parrot-co/parrot-ui 0.1.8 → 0.1.9
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 +8 -21
- package/dist/main.js.map +1 -1
- package/dist/module.js +8 -22
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +14 -26
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -2
package/dist/main.js
CHANGED
|
@@ -71,6 +71,7 @@ $parcel$export(module.exports, "ColorField", () => $ca14d49a10ed918f$export$b865
|
|
|
71
71
|
$parcel$export(module.exports, "ColorPicker", () => $b4c448f742efa2a7$export$9feb1bc2e5f1ccb3);
|
|
72
72
|
$parcel$export(module.exports, "ColorSlider", () => $7796dcb4fe09bf12$export$44fd664bcca5b6fb);
|
|
73
73
|
$parcel$export(module.exports, "ColorSwatchPicker", () => $799f02b9b0e744b9$export$b46792416e3d8515);
|
|
74
|
+
$parcel$export(module.exports, "parseColor", () => $e93fd810053d36a8$export$6e865ea70d7724f);
|
|
74
75
|
|
|
75
76
|
|
|
76
77
|
function $d99c85a751d7ffbd$export$7e4aa119212bc614(value) {
|
|
@@ -558,7 +559,6 @@ function $d9ffc65197682590$export$f5b8910cec6cf069({ className: className, class
|
|
|
558
559
|
})
|
|
559
560
|
});
|
|
560
561
|
}
|
|
561
|
-
$d9ffc65197682590$export$f5b8910cec6cf069.displayName = "Input";
|
|
562
562
|
|
|
563
563
|
|
|
564
564
|
|
|
@@ -852,10 +852,10 @@ function $77c71203b3212c65$export$6bf0cd3a219bbade({ appearance: appearance = "o
|
|
|
852
852
|
|
|
853
853
|
|
|
854
854
|
|
|
855
|
-
|
|
855
|
+
function $868b95cd1882a2c1$export$b28585a458fee016({ wrapperRef: wrapperRef, ...props }) {
|
|
856
856
|
const [showPassword, setShowPassword] = (0, ($parcel$interopDefault($8zHUo$react))).useState(false);
|
|
857
857
|
return /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)((0, $d9ffc65197682590$export$f5b8910cec6cf069), {
|
|
858
|
-
|
|
858
|
+
wrapperRef: wrapperRef,
|
|
859
859
|
...props,
|
|
860
860
|
type: showPassword ? "text" : "password",
|
|
861
861
|
append: /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)((0, $3af04cd154cf4de1$export$c25acd513dcc8062), {
|
|
@@ -867,8 +867,7 @@ const $868b95cd1882a2c1$export$b28585a458fee016 = /*#__PURE__*/ (0, ($parcel$int
|
|
|
867
867
|
})
|
|
868
868
|
})
|
|
869
869
|
});
|
|
870
|
-
}
|
|
871
|
-
$868b95cd1882a2c1$export$b28585a458fee016.displayName = "PasswordInput";
|
|
870
|
+
}
|
|
872
871
|
|
|
873
872
|
|
|
874
873
|
|
|
@@ -1532,10 +1531,12 @@ function $dcfc4542aa84c062$var$ListOption({ state: state, item: item }) {
|
|
|
1532
1531
|
...optionProps,
|
|
1533
1532
|
...otherProps,
|
|
1534
1533
|
ref: optionRef,
|
|
1534
|
+
"data-text-value": textValue,
|
|
1535
|
+
"data-title": title,
|
|
1535
1536
|
children: [
|
|
1536
1537
|
item.rendered,
|
|
1537
1538
|
isSelected && showSelectionIndicator && (renderSelectionIndicator?.(item) ?? /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)("div", {
|
|
1538
|
-
children: "
|
|
1539
|
+
children: "/"
|
|
1539
1540
|
}))
|
|
1540
1541
|
]
|
|
1541
1542
|
});
|
|
@@ -1899,7 +1900,7 @@ $cfadb0728cf907ff$export$3288d34c523a1192.displayName = "Tag";
|
|
|
1899
1900
|
|
|
1900
1901
|
|
|
1901
1902
|
|
|
1902
|
-
function $e37831ebf64d8e7d$export$ef9b1a59e592288f({ label: label, selectionMode: selectionMode = "single", appearance: appearance = "outline", renderValue: renderValue, color: color = "gray", error: error, description: description, size: size = "sm", radius: radius, listBoxColor: listBoxColor, className: className, value: value,
|
|
1903
|
+
function $e37831ebf64d8e7d$export$ef9b1a59e592288f({ label: label, selectionMode: selectionMode = "single", appearance: appearance = "outline", renderValue: renderValue, color: color = "gray", error: error, description: description, size: size = "sm", radius: radius, listBoxColor: listBoxColor, className: className, value: value, onChange: onChange, onSelectionChange: onSelectionChange, style: style, classNames: classNames, styles: styles, showSectionSeparator: showSectionSeparator = true, showSelectionIndicator: showSelectionIndicator = true, ...props }) {
|
|
1903
1904
|
const isMultiple = selectionMode === "multiple";
|
|
1904
1905
|
const _value = $8zHUo$react.useMemo(()=>{
|
|
1905
1906
|
if (!value) return null;
|
|
@@ -2150,20 +2151,6 @@ function $9bce4a3d5b18599c$export$b4085f3d3ede4716(array, keys) {
|
|
|
2150
2151
|
}
|
|
2151
2152
|
|
|
2152
2153
|
|
|
2153
|
-
const $284d30e280d297d3$var$monthsByIndex = [
|
|
2154
|
-
"January",
|
|
2155
|
-
"February",
|
|
2156
|
-
"March",
|
|
2157
|
-
"April",
|
|
2158
|
-
"May",
|
|
2159
|
-
"June",
|
|
2160
|
-
"July",
|
|
2161
|
-
"August",
|
|
2162
|
-
"Septemper",
|
|
2163
|
-
"October",
|
|
2164
|
-
"November",
|
|
2165
|
-
"December"
|
|
2166
|
-
];
|
|
2167
2154
|
const $284d30e280d297d3$export$e1aef45b828286de = /*#__PURE__*/ $8zHUo$react.forwardRef(({ numberOfMonths: numberOfMonths = 1, color: color, ...props }, ref)=>{
|
|
2168
2155
|
const { locale: locale } = (0, $8zHUo$reactaria.useLocale)();
|
|
2169
2156
|
const state = (0, $8zHUo$reactstately.useCalendarState)({
|