@parrot-co/parrot-ui 0.0.72 → 0.0.74
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 +3 -2
- package/dist/main.js.map +1 -1
- package/dist/module.js +3 -2
- 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 +2 -2
package/dist/main.js
CHANGED
|
@@ -1930,7 +1930,7 @@ function $d7cee7e3a6144235$export$d2dae087199d2383(object) {
|
|
|
1930
1930
|
|
|
1931
1931
|
|
|
1932
1932
|
const $89714b081cb78a2f$var$ButtonGroupContext = /*#__PURE__*/ $E4F9t$react.createContext({});
|
|
1933
|
-
function $89714b081cb78a2f$export$69b1032f2ecdf404({ color: color , variant: variant , size: size , compact: compact , shape: shape , gap: gap , children: children , idleColor: idleColor , activeColor: activeColor , idleVariant: idleVariant , activeVariant: activeVariant , isToggle: isToggle }) {
|
|
1933
|
+
function $89714b081cb78a2f$export$69b1032f2ecdf404({ color: color , variant: variant , size: size , compact: compact , shape: shape , gap: gap , children: children , idleColor: idleColor , activeColor: activeColor , idleVariant: idleVariant , activeVariant: activeVariant , isToggle: isToggle , css: css }) {
|
|
1934
1934
|
const cleanProps = (0, $d7cee7e3a6144235$export$d2dae087199d2383)({
|
|
1935
1935
|
color: color,
|
|
1936
1936
|
variant: variant,
|
|
@@ -1945,6 +1945,7 @@ function $89714b081cb78a2f$export$69b1032f2ecdf404({ color: color , variant: var
|
|
|
1945
1945
|
return /*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)($89714b081cb78a2f$var$ButtonGroupContext.Provider, {
|
|
1946
1946
|
value: cleanProps,
|
|
1947
1947
|
children: /*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)((0, $78991f4fdd965321$export$eef1e68107c58ef2), {
|
|
1948
|
+
css: css,
|
|
1948
1949
|
gap: gap,
|
|
1949
1950
|
compact: compact,
|
|
1950
1951
|
children: children
|
|
@@ -4769,7 +4770,7 @@ function $39b5e387b93e95b5$export$e44a253a59704894(props) {
|
|
|
4769
4770
|
}
|
|
4770
4771
|
return /*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)($39b5e387b93e95b5$var$_Dropdown, {
|
|
4771
4772
|
...props,
|
|
4772
|
-
onAction: findAction,
|
|
4773
|
+
onAction: findAction ?? props.onAction,
|
|
4773
4774
|
children: (item)=>/*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)((0, $E4F9t$reactstately.Item), {
|
|
4774
4775
|
textValue: item.key,
|
|
4775
4776
|
children: props.renderOption ? props.renderOption(item) : item.label
|