@apexcura/ui-components 0.0.14-Beta212 → 0.0.14-Beta214
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 +4 -3
- package/dist/index.js +8 -3
- package/dist/index.mjs +8 -3
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -356,9 +356,6 @@ video {
|
|
|
356
356
|
.grid {
|
|
357
357
|
display: grid;
|
|
358
358
|
}
|
|
359
|
-
.transform {
|
|
360
|
-
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
361
|
-
}
|
|
362
359
|
.rounded-\[8px\] {
|
|
363
360
|
border-radius: 8px;
|
|
364
361
|
}
|
|
@@ -413,6 +410,10 @@ video {
|
|
|
413
410
|
var(--tw-ring-shadow, 0 0 #0000),
|
|
414
411
|
var(--tw-shadow);
|
|
415
412
|
}
|
|
413
|
+
.invert {
|
|
414
|
+
--tw-invert: invert(100%);
|
|
415
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
416
|
+
}
|
|
416
417
|
.filter {
|
|
417
418
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
418
419
|
}
|
package/dist/index.js
CHANGED
|
@@ -384,6 +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];
|
|
387
388
|
return /* @__PURE__ */ import_react11.default.createElement(
|
|
388
389
|
"button",
|
|
389
390
|
{
|
|
@@ -394,14 +395,18 @@ var ButtonElement = (props) => {
|
|
|
394
395
|
cursor: props.loading ? "no-drop" : "pointer"
|
|
395
396
|
}
|
|
396
397
|
},
|
|
397
|
-
/* @__PURE__ */ import_react11.default.createElement(import_react11.default.Fragment, null, /* @__PURE__ */ import_react11.default.createElement("span", { className: props.iconsClassName, style: { position: "relative" } },
|
|
398
|
+
/* @__PURE__ */ import_react11.default.createElement(import_react11.default.Fragment, null, /* @__PURE__ */ import_react11.default.createElement("span", { className: props.iconsClassName, style: { position: "relative" } }, /* @__PURE__ */ import_react11.default.createElement(
|
|
398
399
|
"span",
|
|
399
400
|
{
|
|
401
|
+
className: props.iconsClassName,
|
|
400
402
|
dangerouslySetInnerHTML: { __html: props.icon || "" },
|
|
401
|
-
style: {
|
|
403
|
+
style: {
|
|
404
|
+
display: "inline-block",
|
|
405
|
+
color: textColorClass ? textColorClass : "inherit"
|
|
406
|
+
}
|
|
402
407
|
}
|
|
403
408
|
), /* @__PURE__ */ import_react11.default.createElement("style", null, `.${props.iconsClassName}:hover {
|
|
404
|
-
|
|
409
|
+
filter: brightness(0) invert(1);
|
|
405
410
|
}`)), props.label)
|
|
406
411
|
);
|
|
407
412
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -318,6 +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];
|
|
321
322
|
return /* @__PURE__ */ React11.createElement(
|
|
322
323
|
"button",
|
|
323
324
|
{
|
|
@@ -328,14 +329,18 @@ var ButtonElement = (props) => {
|
|
|
328
329
|
cursor: props.loading ? "no-drop" : "pointer"
|
|
329
330
|
}
|
|
330
331
|
},
|
|
331
|
-
/* @__PURE__ */ React11.createElement(React11.Fragment, null, /* @__PURE__ */ React11.createElement("span", { className: props.iconsClassName, style: { position: "relative" } },
|
|
332
|
+
/* @__PURE__ */ React11.createElement(React11.Fragment, null, /* @__PURE__ */ React11.createElement("span", { className: props.iconsClassName, style: { position: "relative" } }, /* @__PURE__ */ React11.createElement(
|
|
332
333
|
"span",
|
|
333
334
|
{
|
|
335
|
+
className: props.iconsClassName,
|
|
334
336
|
dangerouslySetInnerHTML: { __html: props.icon || "" },
|
|
335
|
-
style: {
|
|
337
|
+
style: {
|
|
338
|
+
display: "inline-block",
|
|
339
|
+
color: textColorClass ? textColorClass : "inherit"
|
|
340
|
+
}
|
|
336
341
|
}
|
|
337
342
|
), /* @__PURE__ */ React11.createElement("style", null, `.${props.iconsClassName}:hover {
|
|
338
|
-
|
|
343
|
+
filter: brightness(0) invert(1);
|
|
339
344
|
}`)), props.label)
|
|
340
345
|
);
|
|
341
346
|
};
|