@apexcura/ui-components 0.0.14-Beta215 → 0.0.14-Beta217
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/index.css +0 -3
- package/dist/index.js +6 -8
- package/dist/index.mjs +6 -8
- package/package.json +1 -1
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -400,15 +400,13 @@ var ButtonElement = (props) => {
|
|
|
400
400
|
"span",
|
|
401
401
|
{
|
|
402
402
|
className: props.iconsClassName,
|
|
403
|
-
dangerouslySetInnerHTML: { __html: props.icon || "" }
|
|
404
|
-
style: {
|
|
405
|
-
display: "inline-block",
|
|
406
|
-
color: textColorClass ? textColorClass : "inherit"
|
|
407
|
-
}
|
|
403
|
+
dangerouslySetInnerHTML: { __html: props.icon || "" }
|
|
408
404
|
}
|
|
409
|
-
), /* @__PURE__ */ import_react11.default.createElement("style", null, `.${props.iconsClassName}
|
|
410
|
-
|
|
411
|
-
|
|
405
|
+
), /* @__PURE__ */ import_react11.default.createElement("style", null, `.${props.iconsClassName} path {
|
|
406
|
+
fill: ${textColorClass};
|
|
407
|
+
}`, `.${props.iconsClassName}:hover path {
|
|
408
|
+
filter: brightness(0) invert(1);
|
|
409
|
+
}`)), props.label)
|
|
412
410
|
);
|
|
413
411
|
};
|
|
414
412
|
|
package/dist/index.mjs
CHANGED
|
@@ -334,15 +334,13 @@ var ButtonElement = (props) => {
|
|
|
334
334
|
"span",
|
|
335
335
|
{
|
|
336
336
|
className: props.iconsClassName,
|
|
337
|
-
dangerouslySetInnerHTML: { __html: props.icon || "" }
|
|
338
|
-
style: {
|
|
339
|
-
display: "inline-block",
|
|
340
|
-
color: textColorClass ? textColorClass : "inherit"
|
|
341
|
-
}
|
|
337
|
+
dangerouslySetInnerHTML: { __html: props.icon || "" }
|
|
342
338
|
}
|
|
343
|
-
), /* @__PURE__ */ React11.createElement("style", null, `.${props.iconsClassName}
|
|
344
|
-
|
|
345
|
-
|
|
339
|
+
), /* @__PURE__ */ React11.createElement("style", null, `.${props.iconsClassName} path {
|
|
340
|
+
fill: ${textColorClass};
|
|
341
|
+
}`, `.${props.iconsClassName}:hover path {
|
|
342
|
+
filter: brightness(0) invert(1);
|
|
343
|
+
}`)), props.label)
|
|
346
344
|
);
|
|
347
345
|
};
|
|
348
346
|
|