@tecsinapse/cortex-react 1.7.2 → 1.7.4
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.
|
@@ -42,7 +42,7 @@ const item = tailwindVariants.tv({
|
|
|
42
42
|
const category = tailwindVariants.tv({
|
|
43
43
|
slots: {
|
|
44
44
|
text: "mb-mili font-bold",
|
|
45
|
-
hr: "mb-mili border-secondary-light",
|
|
45
|
+
hr: "mb-mili border-0 h-px bg-secondary-light",
|
|
46
46
|
container: "flex flex-col gap-y-mili"
|
|
47
47
|
}
|
|
48
48
|
});
|
package/dist/cjs/utils/date.js
CHANGED
|
@@ -5,7 +5,7 @@ var date = require('@internationalized/date');
|
|
|
5
5
|
const dateToCalendarDate = (value) => {
|
|
6
6
|
return new date.CalendarDate(
|
|
7
7
|
value?.getFullYear() ?? (/* @__PURE__ */ new Date()).getFullYear(),
|
|
8
|
-
value?.getMonth() ? value.getMonth() + 1 : (/* @__PURE__ */ new Date()).getMonth() + 1,
|
|
8
|
+
value?.getMonth() !== void 0 ? value.getMonth() + 1 : (/* @__PURE__ */ new Date()).getMonth() + 1,
|
|
9
9
|
value?.getDate() ?? (/* @__PURE__ */ new Date()).getDate()
|
|
10
10
|
);
|
|
11
11
|
};
|
package/dist/esm/utils/date.js
CHANGED
|
@@ -3,7 +3,7 @@ import { CalendarDate, getLocalTimeZone } from '@internationalized/date';
|
|
|
3
3
|
const dateToCalendarDate = (value) => {
|
|
4
4
|
return new CalendarDate(
|
|
5
5
|
value?.getFullYear() ?? (/* @__PURE__ */ new Date()).getFullYear(),
|
|
6
|
-
value?.getMonth() ? value.getMonth() + 1 : (/* @__PURE__ */ new Date()).getMonth() + 1,
|
|
6
|
+
value?.getMonth() !== void 0 ? value.getMonth() + 1 : (/* @__PURE__ */ new Date()).getMonth() + 1,
|
|
7
7
|
value?.getDate() ?? (/* @__PURE__ */ new Date()).getDate()
|
|
8
8
|
);
|
|
9
9
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/cortex-react",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.4",
|
|
4
4
|
"description": "React components based in @tecsinapse/cortex-core",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"react-dom": ">=18.0.0",
|
|
49
49
|
"tailwind": ">=3.3.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "c17ef22696e26fa1477418d359ad242d47ddb72c"
|
|
52
52
|
}
|