@react-fabric/date 1.0.0-beta.49 → 1.0.0-beta.51
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.
|
@@ -25,7 +25,7 @@ var DateDisplay = function DateDisplay(_ref) {
|
|
|
25
25
|
disabled: !showAlternateDate,
|
|
26
26
|
content: dateUtil.DateUtil.format(date, format, currentLocale, currentCalendar !== "hijri"),
|
|
27
27
|
children: /*#__PURE__*/jsxRuntime.jsx("span", _objectSpread(_objectSpread({
|
|
28
|
-
className: classNames(className, children && "underline decoration-dotted cursor-pointer")
|
|
28
|
+
className: classNames(className, !!children && "underline decoration-dotted cursor-pointer")
|
|
29
29
|
}, aria), {}, {
|
|
30
30
|
children: dateUtil.DateUtil.format(date, format, currentLocale, currentCalendar === "hijri")
|
|
31
31
|
}))
|
|
@@ -112,7 +112,7 @@ var DateDuration = function DateDuration(_ref) {
|
|
|
112
112
|
var dtLabel = /*#__PURE__*/jsxRuntime.jsx(core.Tooltip, {
|
|
113
113
|
content: utilities.Format.date(date, format),
|
|
114
114
|
children: /*#__PURE__*/jsxRuntime.jsx("span", _objectSpread(_objectSpread({
|
|
115
|
-
className: classNames(className, children && "underline decoration-dotted cursor-pointer")
|
|
115
|
+
className: classNames(className, !!children && "underline decoration-dotted cursor-pointer")
|
|
116
116
|
}, props), {}, {
|
|
117
117
|
children: label
|
|
118
118
|
}))
|
|
@@ -25,7 +25,7 @@ var DateDisplay = function DateDisplay(_ref) {
|
|
|
25
25
|
disabled: !showAlternateDate,
|
|
26
26
|
content: DateUtil.format(date, format, currentLocale, currentCalendar !== "hijri"),
|
|
27
27
|
children: /*#__PURE__*/jsx("span", _objectSpread(_objectSpread({
|
|
28
|
-
className: classNames(className, children && "underline decoration-dotted cursor-pointer")
|
|
28
|
+
className: classNames(className, !!children && "underline decoration-dotted cursor-pointer")
|
|
29
29
|
}, aria), {}, {
|
|
30
30
|
children: DateUtil.format(date, format, currentLocale, currentCalendar === "hijri")
|
|
31
31
|
}))
|
|
@@ -112,7 +112,7 @@ var DateDuration = function DateDuration(_ref) {
|
|
|
112
112
|
var dtLabel = /*#__PURE__*/jsx(Tooltip, {
|
|
113
113
|
content: Format.date(date, format),
|
|
114
114
|
children: /*#__PURE__*/jsx("span", _objectSpread(_objectSpread({
|
|
115
|
-
className: classNames(className, children && "underline decoration-dotted cursor-pointer")
|
|
115
|
+
className: classNames(className, !!children && "underline decoration-dotted cursor-pointer")
|
|
116
116
|
}, props), {}, {
|
|
117
117
|
children: label
|
|
118
118
|
}))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-fabric/date",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.51",
|
|
4
4
|
"description": "RUF: Date package",
|
|
5
5
|
"author": "Adarsh Pastakia <adarshpastakia@outlook.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
"watch": "npm-run-all -p watch:rollup watch:dts"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@react-fabric/core": "^1.0.0-beta.
|
|
39
|
-
"@react-fabric/utilities": "^1.0.0-beta.
|
|
38
|
+
"@react-fabric/core": "^1.0.0-beta.51",
|
|
39
|
+
"@react-fabric/utilities": "^1.0.0-beta.50",
|
|
40
40
|
"classnames": "^2.5.1",
|
|
41
41
|
"date-fns": "^4.1.0",
|
|
42
42
|
"resize-observer-polyfill": "^1.5.1"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"i18next": "^
|
|
45
|
+
"i18next": "^25.2.1",
|
|
46
46
|
"react": "^19.0.0",
|
|
47
47
|
"react-dom": "^19.0.0",
|
|
48
|
-
"react-i18next": "^15.
|
|
48
|
+
"react-i18next": "^15.5.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/react-color": "^3.0.12"
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"node": ">=18.12.0",
|
|
55
55
|
"npm": ">=8.19.0"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "a1b04de4663045f82992bff2aef8db26608eac74"
|
|
58
58
|
}
|