nexaas-ui-components 1.0.38 → 1.0.40
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 +9 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +9 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -107,6 +107,9 @@ var variants = {
|
|
|
107
107
|
outline: {
|
|
108
108
|
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"
|
|
109
109
|
},
|
|
110
|
+
link: {
|
|
111
|
+
text: "shadow-button text-left text-blue-700 hover:text-blue-800 hover:underline active:text-blue-900 disabled:text-blue-700 disabled:no-underline shadow-none font-normal"
|
|
112
|
+
},
|
|
110
113
|
dangerOutline: {
|
|
111
114
|
text: "shadow-button text-dangerous-500 bg-surface border-[0.5px] border-dangerous-500 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"
|
|
112
115
|
},
|
|
@@ -780,7 +783,7 @@ var DatePickerInput = React5.forwardRef(
|
|
|
780
783
|
}
|
|
781
784
|
},
|
|
782
785
|
value: field.value,
|
|
783
|
-
locale: "pt",
|
|
786
|
+
locale: "pt-BR",
|
|
784
787
|
highlightCurrentDay: true,
|
|
785
788
|
formatDate: (value) => dateFns.format(value, dateFnsFormat),
|
|
786
789
|
parseDate: (value) => dateFns.parse(value, dateFnsFormat, /* @__PURE__ */ new Date()),
|
|
@@ -1091,7 +1094,7 @@ var Calendar = ({
|
|
|
1091
1094
|
highlightCurrentDay: true,
|
|
1092
1095
|
minDate: dateFns.subYears(/* @__PURE__ */ new Date(), 50),
|
|
1093
1096
|
maxDate,
|
|
1094
|
-
locale: "pt",
|
|
1097
|
+
locale: "pt-BR",
|
|
1095
1098
|
onShortcutChange: (e) => {
|
|
1096
1099
|
const index = shorcuts.findIndex(
|
|
1097
1100
|
(item) => item.label === e.label
|
|
@@ -1110,7 +1113,7 @@ var Calendar = ({
|
|
|
1110
1113
|
},
|
|
1111
1114
|
value,
|
|
1112
1115
|
highlightCurrentDay: true,
|
|
1113
|
-
locale: "pt"
|
|
1116
|
+
locale: "pt-BR"
|
|
1114
1117
|
}
|
|
1115
1118
|
) })
|
|
1116
1119
|
}
|
|
@@ -1375,7 +1378,7 @@ var FilterCalendar = ({
|
|
|
1375
1378
|
highlightCurrentDay: true,
|
|
1376
1379
|
minDate: dateFns.subYears(/* @__PURE__ */ new Date(), 50),
|
|
1377
1380
|
maxDate,
|
|
1378
|
-
locale: "pt",
|
|
1381
|
+
locale: "pt-BR",
|
|
1379
1382
|
onShortcutChange: (e) => {
|
|
1380
1383
|
const index = shorcuts.findIndex((item) => item.label === e.label);
|
|
1381
1384
|
if (index !== -1 && setSelectedShortcut) {
|
|
@@ -1392,7 +1395,7 @@ var FilterCalendar = ({
|
|
|
1392
1395
|
},
|
|
1393
1396
|
value: currentValue,
|
|
1394
1397
|
highlightCurrentDay: true,
|
|
1395
|
-
locale: "pt"
|
|
1398
|
+
locale: "pt-BR"
|
|
1396
1399
|
}
|
|
1397
1400
|
) });
|
|
1398
1401
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1482,7 +1485,7 @@ var FilterCalendar = ({
|
|
|
1482
1485
|
onClear && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mr-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1483
1486
|
Button,
|
|
1484
1487
|
{
|
|
1485
|
-
variant: "
|
|
1488
|
+
variant: "link",
|
|
1486
1489
|
size: "xxs",
|
|
1487
1490
|
onClick: () => {
|
|
1488
1491
|
if (onClear) {
|