soda-heroui 0.8.4 → 0.8.7
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.
|
@@ -37,8 +37,8 @@ function FormCalendar({ field, valueMode, emptyValue, component: Calendar2 = rea
|
|
|
37
37
|
const context = (0, external_react_namespaceObject.useContext)(external_FormProvider_cjs_namespaceObject.FormContext);
|
|
38
38
|
emptyValue ??= context.emptyValue;
|
|
39
39
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Calendar2, {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
focusedValue: (0, external_FormTimeInput_cjs_namespaceObject.getFieldValue)(field),
|
|
41
|
+
onFocusChange: (0, external_FormTimeInput_cjs_namespaceObject.getOnChange)({
|
|
42
42
|
field,
|
|
43
43
|
valueMode,
|
|
44
44
|
emptyValue
|
|
@@ -9,8 +9,8 @@ function FormCalendar({ field, valueMode, emptyValue, component: Calendar2 = __W
|
|
|
9
9
|
const context = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(__WEBPACK_EXTERNAL_MODULE__FormProvider_js_a80efa64__.FormContext);
|
|
10
10
|
emptyValue ??= context.emptyValue;
|
|
11
11
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Calendar2, {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
focusedValue: (0, __WEBPACK_EXTERNAL_MODULE__FormTimeInput_js_9364800a__.getFieldValue)(field),
|
|
13
|
+
onFocusChange: (0, __WEBPACK_EXTERNAL_MODULE__FormTimeInput_js_9364800a__.getOnChange)({
|
|
14
14
|
field,
|
|
15
15
|
valueMode,
|
|
16
16
|
emptyValue
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "soda-heroui",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/1adybug/deepsea/tree/main/packages/soda-heroui",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@internationalized/date": "^3.
|
|
39
|
-
"@tanstack/react-form": "^1.
|
|
40
|
-
"
|
|
41
|
-
"soda-hooks": "6.10.12",
|
|
38
|
+
"@internationalized/date": "^3.8.2",
|
|
39
|
+
"@tanstack/react-form": "^1.14.1",
|
|
40
|
+
"soda-hooks": "6.11.0",
|
|
42
41
|
"soda-type": "6.3.0",
|
|
42
|
+
"deepsea-tools": "5.38.2",
|
|
43
43
|
"soda-tanstack-form": "0.2.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@ianvs/prettier-plugin-sort-imports": "^4.
|
|
47
|
-
"@react-types/shared": "^3.
|
|
48
|
-
"glob": "^11.0.
|
|
49
|
-
"prettier": "^3.
|
|
46
|
+
"@ianvs/prettier-plugin-sort-imports": "^4.5.1",
|
|
47
|
+
"@react-types/shared": "^3.30.0",
|
|
48
|
+
"glob": "^11.0.3",
|
|
49
|
+
"prettier": "^3.6.2",
|
|
50
50
|
"typescript": "^5.8.3"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
@@ -25,5 +25,5 @@ export function FormCalendar<
|
|
|
25
25
|
const context = useContext(FormContext)
|
|
26
26
|
emptyValue ??= context.emptyValue
|
|
27
27
|
|
|
28
|
-
return <Calendar2
|
|
28
|
+
return <Calendar2 focusedValue={getFieldValue(field)} onFocusChange={getOnChange({ field, valueMode, emptyValue })} {...getFieldProps(field)} {...rest} />
|
|
29
29
|
}
|