@apexcura/ui-components 0.0.14-Beta230 → 0.0.14-Beta231

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.js CHANGED
@@ -403,11 +403,11 @@ var ButtonElement = (props) => {
403
403
  className: props.iconsClassName,
404
404
  dangerouslySetInnerHTML: { __html: props.icon || "" }
405
405
  }
406
- ), /* @__PURE__ */ import_react11.default.createElement("style", null, textColorClass ? `.${props.className} path {
406
+ ), /* @__PURE__ */ import_react11.default.createElement("style", null, textColorClass ? `.${props.className?.match(/text-[\w-]+/g)?.[0]} path {
407
407
  filter: brightness(0) invert(1);
408
- }` : `.${props.className} path {
408
+ }` : `.${props.className?.match(/text-[\w-]+/g)?.[0]} path {
409
409
  fill: #A3A3A3;
410
- }`, `.${props.className}:hover path {
410
+ }`, `.${props.className?.match(/text-[\w-]+/g)?.[0]}:hover path {
411
411
  filter: brightness(0) invert(1);
412
412
  }`)),
413
413
  props.label
package/dist/index.mjs CHANGED
@@ -337,11 +337,11 @@ var ButtonElement = (props) => {
337
337
  className: props.iconsClassName,
338
338
  dangerouslySetInnerHTML: { __html: props.icon || "" }
339
339
  }
340
- ), /* @__PURE__ */ React11.createElement("style", null, textColorClass ? `.${props.className} path {
340
+ ), /* @__PURE__ */ React11.createElement("style", null, textColorClass ? `.${props.className?.match(/text-[\w-]+/g)?.[0]} path {
341
341
  filter: brightness(0) invert(1);
342
- }` : `.${props.className} path {
342
+ }` : `.${props.className?.match(/text-[\w-]+/g)?.[0]} path {
343
343
  fill: #A3A3A3;
344
- }`, `.${props.className}:hover path {
344
+ }`, `.${props.className?.match(/text-[\w-]+/g)?.[0]}:hover path {
345
345
  filter: brightness(0) invert(1);
346
346
  }`)),
347
347
  props.label
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.14-Beta230",
3
+ "version": "0.0.14-Beta231",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",