nexaas-ui-components 1.0.60 → 1.0.62
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.cjs +5 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -112,7 +112,7 @@ var variants = {
|
|
|
112
112
|
text: "shadow-button bg-surface border-[0.5px] border-rose-500 text-rose-500 hover:bg-rose-50 hover:text-rose-600 active:bg-rose-100 active:text-rose-600 disabled:bg-surface disabled:border-[0.5px] disabled:border-rose-700 disabled:opacity-50 active:shadow-none"
|
|
113
113
|
},
|
|
114
114
|
link: {
|
|
115
|
-
text: "
|
|
115
|
+
text: "text-left text-blue-500 hover:text-blue-600 hover:underline active:text-blue-600 disabled:text-blue-400 disabled:no-underline outline-none focus:outline-none shadow-none font-normal"
|
|
116
116
|
},
|
|
117
117
|
dangerOutline: {
|
|
118
118
|
text: "shadow-button text-dangerous-500 bg-surface border-[0.5px] border-dangerous-300 hover:bg-dangerous-100 hover:text-dangerous-600 active:bg-dangerous-500 active:text-white disabled:opacity-50 disabled:bg-white disabled:text-dangerous-500 active:shadow-none"
|
|
@@ -748,7 +748,7 @@ var DatePickerInput = React5.forwardRef(
|
|
|
748
748
|
];
|
|
749
749
|
const hasError = fieldValidationMessages.some((item) => item !== void 0);
|
|
750
750
|
const styles = {
|
|
751
|
-
input: `text-p-md border rounded block pb-[10px] h-[46px] w-full disabled:bg-light-gray-100 `,
|
|
751
|
+
input: `text-p-md border border-neutral-300 rounded block pb-[10px] h-[46px] w-full disabled:bg-light-gray-100 focus:border-blue-500 `,
|
|
752
752
|
icon: `absolute bg-light-gray-100 h-[44px] w-[38px] top-[1px] left-[1px] rounded-l-lg rounded-r-none ${hasError ? "text-dangerous-700" : "text-label"}`,
|
|
753
753
|
label: "absolute text-label text-sm",
|
|
754
754
|
clear: "absolute top-[8px] right-[8px] cursor-pointer text-label text-[22px]"
|
|
@@ -840,7 +840,9 @@ var DatePickerInput = React5.forwardRef(
|
|
|
840
840
|
locale: "pt-BR",
|
|
841
841
|
highlightCurrentDay: true,
|
|
842
842
|
formatDate: (value) => {
|
|
843
|
-
const adjusted = new Date(
|
|
843
|
+
const adjusted = new Date(
|
|
844
|
+
value.getTime() + value.getTimezoneOffset() * 6e4
|
|
845
|
+
);
|
|
844
846
|
return dateFns.format(adjusted, dateFnsFormat);
|
|
845
847
|
},
|
|
846
848
|
parseDate: (value) => dateFns.parse(value, dateFnsFormat, /* @__PURE__ */ new Date()),
|