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