@dartcom/ui-kit 10.2.4 → 10.2.5
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/icon/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/icon/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAwCzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -12050,7 +12050,7 @@ const IconButton = ({ title, iconProps, ...props }) => {
|
|
|
12050
12050
|
props.onClick?.(event);
|
|
12051
12051
|
}, children: jsxRuntime.jsx(Icon, { fontSize: "medium", color: iconColor }) }) }));
|
|
12052
12052
|
}
|
|
12053
|
-
return (jsxRuntime.jsx(material.IconButton, { id: buttonId, onClick: (event) => {
|
|
12053
|
+
return (jsxRuntime.jsx(material.IconButton, { id: buttonId, ...props, onClick: (event) => {
|
|
12054
12054
|
event.stopPropagation();
|
|
12055
12055
|
props.onClick?.(event);
|
|
12056
12056
|
}, children: jsxRuntime.jsx(Icon, { fontSize: "medium", color: iconColor }) }));
|