period-ui 0.2.9 → 0.2.10

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.
@@ -1 +1 @@
1
- {"version":3,"file":"select-input.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/select/components/select-input.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,WAAW,+GAsCtB,CAAC"}
1
+ {"version":3,"file":"select-input.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/select/components/select-input.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,WAAW,+GA0CtB,CAAC"}
@@ -8,6 +8,9 @@ const components_1 = require("../../../../components");
8
8
  const tailwind_utils_1 = require("../../../../utils/tailwind-utils");
9
9
  exports.SelectInput = (0, react_1.forwardRef)(function SelectInput({ mask, className, inputValue = '', isDisabled = false, onBlur, handleInputChange, }, ref) {
10
10
  return ((0, jsx_runtime_1.jsx)(react_imask_1.IMaskInput, { inputRef: ref, mask: mask, disabled: isDisabled, value: inputValue, autoComplete: "off", className: (0, tailwind_utils_1.tailwind)('w-full bg-transparent outline-none cursor-pointer', 'text-gray-01', 'disabled:text-gray-03 disabled:cursor-not-allowed', `${components_1.TextStyle[components_1.TextVariant.BODY]}`, className), onBlur: onBlur, onAccept: (value) => {
11
+ if (value === inputValue) {
12
+ return;
13
+ }
11
14
  handleInputChange(value);
12
15
  }, onChange: (e) => {
13
16
  if (mask) {
@@ -1 +1 @@
1
- {"version":3,"file":"select-input.js","sourceRoot":"","sources":["../../../../../src/components/molecules/select/components/select-input.tsx"],"names":[],"mappings":";;;;AAAA,6CAAyC;AACzC,iCAAiD;AACjD,uDAAgE;AAChE,qEAA4D;AAW/C,QAAA,WAAW,GAAG,IAAA,kBAAU,EAAC,SAAS,WAAW,CACxD,EACE,IAAI,EACJ,SAAS,EACT,UAAU,GAAG,EAAE,EACf,UAAU,GAAG,KAAK,EAClB,MAAM,EACN,iBAAiB,GACA,EACnB,GAAmC;IAEnC,OAAO,CACL,uBAAC,wBAAU,IACT,QAAQ,EAAE,GAAG,EACb,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,UAAU,EACpB,KAAK,EAAE,UAAU,EACjB,YAAY,EAAC,KAAK,EAClB,SAAS,EAAE,IAAA,yBAAQ,EACjB,mDAAmD,EACnD,cAAc,EACd,mDAAmD,EACnD,GAAG,sBAAS,CAAC,wBAAW,CAAC,IAAI,CAAC,EAAE,EAChC,SAAS,CACV,EACD,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,CAAC,KAAa,EAAE,EAAE;YAC1B,iBAAiB,CAAC,KAAK,CAAC,CAAC;QAC3B,CAAC,EACD,QAAQ,EAAE,CAAC,CAAsC,EAAE,EAAE;YACnD,IAAI,IAAI,EAAE,CAAC;gBACT,OAAO;YACT,CAAC;YAED,iBAAiB,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACpC,CAAC,GACD,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"select-input.js","sourceRoot":"","sources":["../../../../../src/components/molecules/select/components/select-input.tsx"],"names":[],"mappings":";;;;AAAA,6CAAyC;AACzC,iCAAiD;AACjD,uDAAgE;AAChE,qEAA4D;AAW/C,QAAA,WAAW,GAAG,IAAA,kBAAU,EAAC,SAAS,WAAW,CACxD,EACE,IAAI,EACJ,SAAS,EACT,UAAU,GAAG,EAAE,EACf,UAAU,GAAG,KAAK,EAClB,MAAM,EACN,iBAAiB,GACA,EACnB,GAAmC;IAEnC,OAAO,CACL,uBAAC,wBAAU,IACT,QAAQ,EAAE,GAAG,EACb,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,UAAU,EACpB,KAAK,EAAE,UAAU,EACjB,YAAY,EAAC,KAAK,EAClB,SAAS,EAAE,IAAA,yBAAQ,EACjB,mDAAmD,EACnD,cAAc,EACd,mDAAmD,EACnD,GAAG,sBAAS,CAAC,wBAAW,CAAC,IAAI,CAAC,EAAE,EAChC,SAAS,CACV,EACD,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,CAAC,KAAa,EAAE,EAAE;YAC1B,IAAI,KAAK,KAAK,UAAU,EAAE,CAAC;gBACzB,OAAO;YACT,CAAC;YAED,iBAAiB,CAAC,KAAK,CAAC,CAAC;QAC3B,CAAC,EACD,QAAQ,EAAE,CAAC,CAAsC,EAAE,EAAE;YACnD,IAAI,IAAI,EAAE,CAAC;gBACT,OAAO;YACT,CAAC;YAED,iBAAiB,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACpC,CAAC,GACD,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "period-ui",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "style": "dist/index.css",