@apexcura/ui-components 0.0.14-Beta214 → 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
@@ -385,6 +385,7 @@ var MultipleSelectElement = (props) => {
385
385
  var import_react11 = __toESM(require("react"));
386
386
  var ButtonElement = (props) => {
387
387
  const textColorClass = props.className?.match(/text-[\w-]+/g)?.[0];
388
+ console.log(textColorClass);
388
389
  return /* @__PURE__ */ import_react11.default.createElement(
389
390
  "button",
390
391
  {
@@ -399,15 +400,13 @@ var ButtonElement = (props) => {
399
400
  "span",
400
401
  {
401
402
  className: props.iconsClassName,
402
- dangerouslySetInnerHTML: { __html: props.icon || "" },
403
- style: {
404
- display: "inline-block",
405
- color: textColorClass ? textColorClass : "inherit"
406
- }
403
+ dangerouslySetInnerHTML: { __html: props.icon || "" }
407
404
  }
408
- ), /* @__PURE__ */ import_react11.default.createElement("style", null, `.${props.iconsClassName}:hover {
409
- filter: brightness(0) invert(1);
410
- }`)), 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)
411
410
  );
412
411
  };
413
412
 
package/dist/index.mjs CHANGED
@@ -319,6 +319,7 @@ var MultipleSelectElement = (props) => {
319
319
  import React11 from "react";
320
320
  var ButtonElement = (props) => {
321
321
  const textColorClass = props.className?.match(/text-[\w-]+/g)?.[0];
322
+ console.log(textColorClass);
322
323
  return /* @__PURE__ */ React11.createElement(
323
324
  "button",
324
325
  {
@@ -333,15 +334,13 @@ var ButtonElement = (props) => {
333
334
  "span",
334
335
  {
335
336
  className: props.iconsClassName,
336
- dangerouslySetInnerHTML: { __html: props.icon || "" },
337
- style: {
338
- display: "inline-block",
339
- color: textColorClass ? textColorClass : "inherit"
340
- }
337
+ dangerouslySetInnerHTML: { __html: props.icon || "" }
341
338
  }
342
- ), /* @__PURE__ */ React11.createElement("style", null, `.${props.iconsClassName}:hover {
343
- filter: brightness(0) invert(1);
344
- }`)), 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)
345
344
  );
346
345
  };
347
346
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.14-Beta214",
3
+ "version": "0.0.14-Beta217",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",