@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 CHANGED
@@ -344,9 +344,6 @@ video {
344
344
  .m-\[10px\] {
345
345
  margin: 10px;
346
346
  }
347
- .inline-block {
348
- display: inline-block;
349
- }
350
347
  .flex {
351
348
  display: flex;
352
349
  }
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}:hover {
410
- filter: brightness(0) invert(1);
411
- }`)), props.label)
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}:hover {
344
- filter: brightness(0) invert(1);
345
- }`)), props.label)
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.14-Beta215",
3
+ "version": "0.0.14-Beta217",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",