@willphan1712000/frontend 1.4.3 → 1.4.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.
package/dist/index.js CHANGED
@@ -2012,7 +2012,8 @@ var InputGoogle = function(_param) {
2012
2012
  style: InputGoogle_styles_default.container,
2013
2013
  children: [
2014
2014
  /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("input", _object_spread({
2015
- id: "will-input-google",
2015
+ id: crypto.randomUUID(),
2016
+ name: "will-input-google",
2016
2017
  ref: inputRef,
2017
2018
  value: value,
2018
2019
  onChange: function(e) {
@@ -2122,7 +2123,8 @@ var TextArea = function(_param) {
2122
2123
  style: TextArea_styles_default.container,
2123
2124
  children: [
2124
2125
  /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("textarea", _object_spread({
2125
- id: "will-textarea",
2126
+ id: crypto.randomUUID(),
2127
+ name: "will-textarea",
2126
2128
  ref: inputRef,
2127
2129
  value: value,
2128
2130
  onChange: function(e) {
@@ -2157,9 +2159,10 @@ var InputFile = function(_param) {
2157
2159
  "acceptType"
2158
2160
  ]);
2159
2161
  var _ref = _sliced_to_array((0, import_react13.useState)(Date.now()), 2), key = _ref[0], setKey = _ref[1];
2160
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("input", _object_spread_props(_object_spread({
2161
- type: "file"
2162
- }, props), {
2162
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("input", _object_spread({
2163
+ id: crypto.randomUUID(),
2164
+ name: "will-input",
2165
+ type: "file",
2163
2166
  onChange: function(e) {
2164
2167
  var _target_files;
2165
2168
  var target = e.target;
@@ -2171,7 +2174,7 @@ var InputFile = function(_param) {
2171
2174
  onCancel();
2172
2175
  }
2173
2176
  }
2174
- }), key);
2177
+ }, props), key);
2175
2178
  };
2176
2179
  var InputFile_default = InputFile;
2177
2180
  // src/components/Image/UploadImage.tsx
package/dist/index.mjs CHANGED
@@ -1884,7 +1884,8 @@ var InputGoogle = function(_param) {
1884
1884
  style: InputGoogle_styles_default.container,
1885
1885
  children: [
1886
1886
  /* @__PURE__ */ jsx14("input", _object_spread({
1887
- id: "will-input-google",
1887
+ id: crypto.randomUUID(),
1888
+ name: "will-input-google",
1888
1889
  ref: inputRef,
1889
1890
  value: value,
1890
1891
  onChange: function(e) {
@@ -1994,7 +1995,8 @@ var TextArea = function(_param) {
1994
1995
  style: TextArea_styles_default.container,
1995
1996
  children: [
1996
1997
  /* @__PURE__ */ jsx15("textarea", _object_spread({
1997
- id: "will-textarea",
1998
+ id: crypto.randomUUID(),
1999
+ name: "will-textarea",
1998
2000
  ref: inputRef,
1999
2001
  value: value,
2000
2002
  onChange: function(e) {
@@ -2029,9 +2031,10 @@ var InputFile = function(_param) {
2029
2031
  "acceptType"
2030
2032
  ]);
2031
2033
  var _useState10 = _sliced_to_array(useState10(Date.now()), 2), key = _useState10[0], setKey = _useState10[1];
2032
- return /* @__PURE__ */ jsx16("input", _object_spread_props(_object_spread({
2033
- type: "file"
2034
- }, props), {
2034
+ return /* @__PURE__ */ jsx16("input", _object_spread({
2035
+ id: crypto.randomUUID(),
2036
+ name: "will-input",
2037
+ type: "file",
2035
2038
  onChange: function(e) {
2036
2039
  var _target_files;
2037
2040
  var target = e.target;
@@ -2043,7 +2046,7 @@ var InputFile = function(_param) {
2043
2046
  onCancel();
2044
2047
  }
2045
2048
  }
2046
- }), key);
2049
+ }, props), key);
2047
2050
  };
2048
2051
  var InputFile_default = InputFile;
2049
2052
  // src/components/Image/UploadImage.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willphan1712000/frontend",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "Frontend Library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",