@apexcura/ui-components 0.0.14-Beta225 → 0.0.14-Beta227
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 +3 -0
- package/dist/index.js +7 -7
- package/dist/index.mjs +7 -7
- package/package.json +1 -1
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -385,29 +385,29 @@ 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] === "text-white";
|
|
388
|
+
console.log(textColorClass);
|
|
389
|
+
console.log(props.className?.match(/text-[\w-]+/g)?.[0]);
|
|
388
390
|
return /* @__PURE__ */ import_react11.default.createElement(
|
|
389
391
|
"button",
|
|
390
392
|
{
|
|
391
393
|
onClick: props.onClick,
|
|
392
|
-
className:
|
|
394
|
+
className: props.className ? props.className : "",
|
|
393
395
|
disabled: props.loading,
|
|
394
396
|
style: {
|
|
395
397
|
cursor: props.loading ? "no-drop" : "pointer"
|
|
396
398
|
}
|
|
397
399
|
},
|
|
398
|
-
|
|
399
|
-
/* @__PURE__ */ import_react11.default.createElement(
|
|
400
|
+
/* @__PURE__ */ import_react11.default.createElement("span", { className: props.iconsClassName, style: { position: "relative" } }, /* @__PURE__ */ import_react11.default.createElement(
|
|
400
401
|
"span",
|
|
401
402
|
{
|
|
402
403
|
className: props.iconsClassName,
|
|
403
404
|
dangerouslySetInnerHTML: { __html: props.icon || "" }
|
|
404
405
|
}
|
|
405
|
-
),
|
|
406
|
-
/* @__PURE__ */ import_react11.default.createElement("style", null, textColorClass && `.${props.iconsClassName} path {
|
|
406
|
+
), /* @__PURE__ */ import_react11.default.createElement("style", null, textColorClass && `.${props.iconsClassName} path {
|
|
407
407
|
filter: brightness(0) invert(1);
|
|
408
408
|
}`, `.${props.iconsClassName}:hover path {
|
|
409
|
-
|
|
410
|
-
|
|
409
|
+
filter: brightness(0) invert(1);
|
|
410
|
+
}`)),
|
|
411
411
|
props.label
|
|
412
412
|
);
|
|
413
413
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -319,29 +319,29 @@ 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] === "text-white";
|
|
322
|
+
console.log(textColorClass);
|
|
323
|
+
console.log(props.className?.match(/text-[\w-]+/g)?.[0]);
|
|
322
324
|
return /* @__PURE__ */ React11.createElement(
|
|
323
325
|
"button",
|
|
324
326
|
{
|
|
325
327
|
onClick: props.onClick,
|
|
326
|
-
className:
|
|
328
|
+
className: props.className ? props.className : "",
|
|
327
329
|
disabled: props.loading,
|
|
328
330
|
style: {
|
|
329
331
|
cursor: props.loading ? "no-drop" : "pointer"
|
|
330
332
|
}
|
|
331
333
|
},
|
|
332
|
-
|
|
333
|
-
/* @__PURE__ */ React11.createElement(
|
|
334
|
+
/* @__PURE__ */ React11.createElement("span", { className: props.iconsClassName, style: { position: "relative" } }, /* @__PURE__ */ React11.createElement(
|
|
334
335
|
"span",
|
|
335
336
|
{
|
|
336
337
|
className: props.iconsClassName,
|
|
337
338
|
dangerouslySetInnerHTML: { __html: props.icon || "" }
|
|
338
339
|
}
|
|
339
|
-
),
|
|
340
|
-
/* @__PURE__ */ React11.createElement("style", null, textColorClass && `.${props.iconsClassName} path {
|
|
340
|
+
), /* @__PURE__ */ React11.createElement("style", null, textColorClass && `.${props.iconsClassName} path {
|
|
341
341
|
filter: brightness(0) invert(1);
|
|
342
342
|
}`, `.${props.iconsClassName}:hover path {
|
|
343
|
-
|
|
344
|
-
|
|
343
|
+
filter: brightness(0) invert(1);
|
|
344
|
+
}`)),
|
|
345
345
|
props.label
|
|
346
346
|
);
|
|
347
347
|
};
|