@apexcura/ui-components 0.0.14-Beta185 → 0.0.14-Beta187
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 +4 -3
- package/dist/index.mjs +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -452,14 +452,14 @@ var ButtonElement = (props) => {
|
|
|
452
452
|
cursor: props.loading ? "no-drop" : "pointer"
|
|
453
453
|
}
|
|
454
454
|
},
|
|
455
|
-
props.isLoading ? /* @__PURE__ */ import_react11.default.createElement(import_react11.default.Fragment, null, /* @__PURE__ */ import_react11.default.createElement("svg", { className: "animate-spin h-5 w-5 mr-3", viewBox: "0 0 24 24" }), props.label) : /* @__PURE__ */ import_react11.default.createElement(import_react11.default.Fragment, null, props.isSVGStylesOverride === false ? props.icon
|
|
455
|
+
props.isLoading ? /* @__PURE__ */ import_react11.default.createElement(import_react11.default.Fragment, null, /* @__PURE__ */ import_react11.default.createElement("svg", { className: "animate-spin h-5 w-5 mr-3", viewBox: "0 0 24 24" }), props.label) : /* @__PURE__ */ import_react11.default.createElement(import_react11.default.Fragment, null, props.isSVGStylesOverride === false ? props.icon && /* @__PURE__ */ import_react11.default.createElement(
|
|
456
456
|
"img",
|
|
457
457
|
{
|
|
458
458
|
className: props.iconsClassName,
|
|
459
459
|
src: props.icon,
|
|
460
460
|
alt: props.label
|
|
461
461
|
}
|
|
462
|
-
) : /* @__PURE__ */ import_react11.default.createElement("
|
|
462
|
+
) : svgContent ? /* @__PURE__ */ import_react11.default.createElement("span", { dangerouslySetInnerHTML: { __html: svgContent } }) : /* @__PURE__ */ import_react11.default.createElement("img", { src: "", className: props.iconsClassName }), props.label)
|
|
463
463
|
);
|
|
464
464
|
};
|
|
465
465
|
|
|
@@ -982,7 +982,8 @@ var DateRangePickerElement = (props) => {
|
|
|
982
982
|
{
|
|
983
983
|
disabledDate,
|
|
984
984
|
presets: rangePresets,
|
|
985
|
-
onChange: handleChange
|
|
985
|
+
onChange: handleChange,
|
|
986
|
+
value: props.value
|
|
986
987
|
}
|
|
987
988
|
));
|
|
988
989
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -386,14 +386,14 @@ var ButtonElement = (props) => {
|
|
|
386
386
|
cursor: props.loading ? "no-drop" : "pointer"
|
|
387
387
|
}
|
|
388
388
|
},
|
|
389
|
-
props.isLoading ? /* @__PURE__ */ React11.createElement(React11.Fragment, null, /* @__PURE__ */ React11.createElement("svg", { className: "animate-spin h-5 w-5 mr-3", viewBox: "0 0 24 24" }), props.label) : /* @__PURE__ */ React11.createElement(React11.Fragment, null, props.isSVGStylesOverride === false ? props.icon
|
|
389
|
+
props.isLoading ? /* @__PURE__ */ React11.createElement(React11.Fragment, null, /* @__PURE__ */ React11.createElement("svg", { className: "animate-spin h-5 w-5 mr-3", viewBox: "0 0 24 24" }), props.label) : /* @__PURE__ */ React11.createElement(React11.Fragment, null, props.isSVGStylesOverride === false ? props.icon && /* @__PURE__ */ React11.createElement(
|
|
390
390
|
"img",
|
|
391
391
|
{
|
|
392
392
|
className: props.iconsClassName,
|
|
393
393
|
src: props.icon,
|
|
394
394
|
alt: props.label
|
|
395
395
|
}
|
|
396
|
-
) : /* @__PURE__ */ React11.createElement("
|
|
396
|
+
) : svgContent ? /* @__PURE__ */ React11.createElement("span", { dangerouslySetInnerHTML: { __html: svgContent } }) : /* @__PURE__ */ React11.createElement("img", { src: "", className: props.iconsClassName }), props.label)
|
|
397
397
|
);
|
|
398
398
|
};
|
|
399
399
|
|
|
@@ -916,7 +916,8 @@ var DateRangePickerElement = (props) => {
|
|
|
916
916
|
{
|
|
917
917
|
disabledDate,
|
|
918
918
|
presets: rangePresets,
|
|
919
|
-
onChange: handleChange
|
|
919
|
+
onChange: handleChange,
|
|
920
|
+
value: props.value
|
|
920
921
|
}
|
|
921
922
|
));
|
|
922
923
|
};
|