@apexcura/ui-components 0.0.14-Beta224 → 0.0.14-Beta225
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 +7 -6
- package/dist/index.mjs +7 -6
- package/package.json +1 -1
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -384,7 +384,7 @@ var MultipleSelectElement = (props) => {
|
|
|
384
384
|
// src/Components/Button.tsx
|
|
385
385
|
var import_react11 = __toESM(require("react"));
|
|
386
386
|
var ButtonElement = (props) => {
|
|
387
|
-
const textColorClass = props.className?.match(/text-[\w-]+/g)?.[0] === "text-white"
|
|
387
|
+
const textColorClass = props.className?.match(/text-[\w-]+/g)?.[0] === "text-white";
|
|
388
388
|
return /* @__PURE__ */ import_react11.default.createElement(
|
|
389
389
|
"button",
|
|
390
390
|
{
|
|
@@ -396,17 +396,18 @@ var ButtonElement = (props) => {
|
|
|
396
396
|
}
|
|
397
397
|
},
|
|
398
398
|
props.icon && JSON.parse(props.icon),
|
|
399
|
-
/* @__PURE__ */ import_react11.default.createElement(
|
|
399
|
+
/* @__PURE__ */ import_react11.default.createElement(
|
|
400
400
|
"span",
|
|
401
401
|
{
|
|
402
402
|
className: props.iconsClassName,
|
|
403
403
|
dangerouslySetInnerHTML: { __html: props.icon || "" }
|
|
404
404
|
}
|
|
405
|
-
),
|
|
405
|
+
),
|
|
406
|
+
/* @__PURE__ */ import_react11.default.createElement("style", null, textColorClass && `.${props.iconsClassName} path {
|
|
407
|
+
filter: brightness(0) invert(1);
|
|
408
|
+
}`, `.${props.iconsClassName}:hover path {
|
|
406
409
|
filter: brightness(0) invert(1);
|
|
407
|
-
}
|
|
408
|
-
filter: brightness(0) invert(1);
|
|
409
|
-
}`)),
|
|
410
|
+
}`),
|
|
410
411
|
props.label
|
|
411
412
|
);
|
|
412
413
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -318,7 +318,7 @@ var MultipleSelectElement = (props) => {
|
|
|
318
318
|
// src/Components/Button.tsx
|
|
319
319
|
import React11 from "react";
|
|
320
320
|
var ButtonElement = (props) => {
|
|
321
|
-
const textColorClass = props.className?.match(/text-[\w-]+/g)?.[0] === "text-white"
|
|
321
|
+
const textColorClass = props.className?.match(/text-[\w-]+/g)?.[0] === "text-white";
|
|
322
322
|
return /* @__PURE__ */ React11.createElement(
|
|
323
323
|
"button",
|
|
324
324
|
{
|
|
@@ -330,17 +330,18 @@ var ButtonElement = (props) => {
|
|
|
330
330
|
}
|
|
331
331
|
},
|
|
332
332
|
props.icon && JSON.parse(props.icon),
|
|
333
|
-
/* @__PURE__ */ React11.createElement(
|
|
333
|
+
/* @__PURE__ */ React11.createElement(
|
|
334
334
|
"span",
|
|
335
335
|
{
|
|
336
336
|
className: props.iconsClassName,
|
|
337
337
|
dangerouslySetInnerHTML: { __html: props.icon || "" }
|
|
338
338
|
}
|
|
339
|
-
),
|
|
339
|
+
),
|
|
340
|
+
/* @__PURE__ */ React11.createElement("style", null, textColorClass && `.${props.iconsClassName} path {
|
|
341
|
+
filter: brightness(0) invert(1);
|
|
342
|
+
}`, `.${props.iconsClassName}:hover path {
|
|
340
343
|
filter: brightness(0) invert(1);
|
|
341
|
-
}
|
|
342
|
-
filter: brightness(0) invert(1);
|
|
343
|
-
}`)),
|
|
344
|
+
}`),
|
|
344
345
|
props.label
|
|
345
346
|
);
|
|
346
347
|
};
|