react-store-input 0.1.9 → 0.2.0
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.js
CHANGED
|
@@ -301,7 +301,7 @@ function Input({
|
|
|
301
301
|
toInputValue,
|
|
302
302
|
toStateValue
|
|
303
303
|
});
|
|
304
|
-
return /* @__PURE__ */ import_react7.default.createElement("input", { ...props, ...storeProps });
|
|
304
|
+
return /* @__PURE__ */ import_react7.default.createElement("input", { ref, ...props, ...storeProps });
|
|
305
305
|
}
|
|
306
306
|
function Select({
|
|
307
307
|
store,
|
|
@@ -319,7 +319,7 @@ function Select({
|
|
|
319
319
|
toInputValue,
|
|
320
320
|
toStateValue
|
|
321
321
|
});
|
|
322
|
-
return /* @__PURE__ */ import_react7.default.createElement("select", { ...props, ...storeProps });
|
|
322
|
+
return /* @__PURE__ */ import_react7.default.createElement("select", { ref, ...props, ...storeProps });
|
|
323
323
|
}
|
|
324
324
|
function Textarea({
|
|
325
325
|
store,
|
|
@@ -337,7 +337,7 @@ function Textarea({
|
|
|
337
337
|
toInputValue,
|
|
338
338
|
toStateValue
|
|
339
339
|
});
|
|
340
|
-
return /* @__PURE__ */ import_react7.default.createElement("textarea", { ...props, ...storeProps });
|
|
340
|
+
return /* @__PURE__ */ import_react7.default.createElement("textarea", { ref, ...props, ...storeProps });
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
// src/create_render.tsx
|
package/dist/index.mjs
CHANGED
|
@@ -255,7 +255,7 @@ function Input({
|
|
|
255
255
|
toInputValue,
|
|
256
256
|
toStateValue
|
|
257
257
|
});
|
|
258
|
-
return /* @__PURE__ */ React.createElement("input", { ...props, ...storeProps });
|
|
258
|
+
return /* @__PURE__ */ React.createElement("input", { ref, ...props, ...storeProps });
|
|
259
259
|
}
|
|
260
260
|
function Select({
|
|
261
261
|
store,
|
|
@@ -273,7 +273,7 @@ function Select({
|
|
|
273
273
|
toInputValue,
|
|
274
274
|
toStateValue
|
|
275
275
|
});
|
|
276
|
-
return /* @__PURE__ */ React.createElement("select", { ...props, ...storeProps });
|
|
276
|
+
return /* @__PURE__ */ React.createElement("select", { ref, ...props, ...storeProps });
|
|
277
277
|
}
|
|
278
278
|
function Textarea({
|
|
279
279
|
store,
|
|
@@ -291,7 +291,7 @@ function Textarea({
|
|
|
291
291
|
toInputValue,
|
|
292
292
|
toStateValue
|
|
293
293
|
});
|
|
294
|
-
return /* @__PURE__ */ React.createElement("textarea", { ...props, ...storeProps });
|
|
294
|
+
return /* @__PURE__ */ React.createElement("textarea", { ref, ...props, ...storeProps });
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
// src/create_render.tsx
|
package/dist/use_form_store.js
CHANGED
|
@@ -308,7 +308,7 @@ function Input({
|
|
|
308
308
|
toInputValue,
|
|
309
309
|
toStateValue
|
|
310
310
|
});
|
|
311
|
-
return /* @__PURE__ */ import_react8.default.createElement("input", { ...props, ...storeProps });
|
|
311
|
+
return /* @__PURE__ */ import_react8.default.createElement("input", { ref, ...props, ...storeProps });
|
|
312
312
|
}
|
|
313
313
|
function Select({
|
|
314
314
|
store,
|
|
@@ -326,7 +326,7 @@ function Select({
|
|
|
326
326
|
toInputValue,
|
|
327
327
|
toStateValue
|
|
328
328
|
});
|
|
329
|
-
return /* @__PURE__ */ import_react8.default.createElement("select", { ...props, ...storeProps });
|
|
329
|
+
return /* @__PURE__ */ import_react8.default.createElement("select", { ref, ...props, ...storeProps });
|
|
330
330
|
}
|
|
331
331
|
function Textarea({
|
|
332
332
|
store,
|
|
@@ -344,7 +344,7 @@ function Textarea({
|
|
|
344
344
|
toInputValue,
|
|
345
345
|
toStateValue
|
|
346
346
|
});
|
|
347
|
-
return /* @__PURE__ */ import_react8.default.createElement("textarea", { ...props, ...storeProps });
|
|
347
|
+
return /* @__PURE__ */ import_react8.default.createElement("textarea", { ref, ...props, ...storeProps });
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
// src/use_form_store.tsx
|
package/dist/use_form_store.mjs
CHANGED
|
@@ -272,7 +272,7 @@ function Input({
|
|
|
272
272
|
toInputValue,
|
|
273
273
|
toStateValue
|
|
274
274
|
});
|
|
275
|
-
return /* @__PURE__ */ React2.createElement("input", { ...props, ...storeProps });
|
|
275
|
+
return /* @__PURE__ */ React2.createElement("input", { ref, ...props, ...storeProps });
|
|
276
276
|
}
|
|
277
277
|
function Select({
|
|
278
278
|
store,
|
|
@@ -290,7 +290,7 @@ function Select({
|
|
|
290
290
|
toInputValue,
|
|
291
291
|
toStateValue
|
|
292
292
|
});
|
|
293
|
-
return /* @__PURE__ */ React2.createElement("select", { ...props, ...storeProps });
|
|
293
|
+
return /* @__PURE__ */ React2.createElement("select", { ref, ...props, ...storeProps });
|
|
294
294
|
}
|
|
295
295
|
function Textarea({
|
|
296
296
|
store,
|
|
@@ -308,7 +308,7 @@ function Textarea({
|
|
|
308
308
|
toInputValue,
|
|
309
309
|
toStateValue
|
|
310
310
|
});
|
|
311
|
-
return /* @__PURE__ */ React2.createElement("textarea", { ...props, ...storeProps });
|
|
311
|
+
return /* @__PURE__ */ React2.createElement("textarea", { ref, ...props, ...storeProps });
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
// src/use_form_store.tsx
|
|
@@ -238,7 +238,7 @@ function Input({
|
|
|
238
238
|
toInputValue,
|
|
239
239
|
toStateValue
|
|
240
240
|
});
|
|
241
|
-
return /* @__PURE__ */ import_react5.default.createElement("input", { ...props, ...storeProps });
|
|
241
|
+
return /* @__PURE__ */ import_react5.default.createElement("input", { ref, ...props, ...storeProps });
|
|
242
242
|
}
|
|
243
243
|
function Select({
|
|
244
244
|
store,
|
|
@@ -256,7 +256,7 @@ function Select({
|
|
|
256
256
|
toInputValue,
|
|
257
257
|
toStateValue
|
|
258
258
|
});
|
|
259
|
-
return /* @__PURE__ */ import_react5.default.createElement("select", { ...props, ...storeProps });
|
|
259
|
+
return /* @__PURE__ */ import_react5.default.createElement("select", { ref, ...props, ...storeProps });
|
|
260
260
|
}
|
|
261
261
|
function Textarea({
|
|
262
262
|
store,
|
|
@@ -274,7 +274,7 @@ function Textarea({
|
|
|
274
274
|
toInputValue,
|
|
275
275
|
toStateValue
|
|
276
276
|
});
|
|
277
|
-
return /* @__PURE__ */ import_react5.default.createElement("textarea", { ...props, ...storeProps });
|
|
277
|
+
return /* @__PURE__ */ import_react5.default.createElement("textarea", { ref, ...props, ...storeProps });
|
|
278
278
|
}
|
|
279
279
|
// Annotate the CommonJS export names for ESM import in node:
|
|
280
280
|
0 && (module.exports = {
|
|
@@ -201,7 +201,7 @@ function Input({
|
|
|
201
201
|
toInputValue,
|
|
202
202
|
toStateValue
|
|
203
203
|
});
|
|
204
|
-
return /* @__PURE__ */ React.createElement("input", { ...props, ...storeProps });
|
|
204
|
+
return /* @__PURE__ */ React.createElement("input", { ref, ...props, ...storeProps });
|
|
205
205
|
}
|
|
206
206
|
function Select({
|
|
207
207
|
store,
|
|
@@ -219,7 +219,7 @@ function Select({
|
|
|
219
219
|
toInputValue,
|
|
220
220
|
toStateValue
|
|
221
221
|
});
|
|
222
|
-
return /* @__PURE__ */ React.createElement("select", { ...props, ...storeProps });
|
|
222
|
+
return /* @__PURE__ */ React.createElement("select", { ref, ...props, ...storeProps });
|
|
223
223
|
}
|
|
224
224
|
function Textarea({
|
|
225
225
|
store,
|
|
@@ -237,7 +237,7 @@ function Textarea({
|
|
|
237
237
|
toInputValue,
|
|
238
238
|
toStateValue
|
|
239
239
|
});
|
|
240
|
-
return /* @__PURE__ */ React.createElement("textarea", { ...props, ...storeProps });
|
|
240
|
+
return /* @__PURE__ */ React.createElement("textarea", { ref, ...props, ...storeProps });
|
|
241
241
|
}
|
|
242
242
|
export {
|
|
243
243
|
Input,
|