@yakad/ui 1.2.90-beta → 1.2.92-beta

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.
@@ -4,8 +4,8 @@ import styles from "./codeField.module.css";
4
4
  function onInputHandler(event, inputLength, onFilled) {
5
5
  const targetInputElement = event.target;
6
6
  removeUnNumberChars(targetInputElement);
7
- if (inputLength == targetInputElement.value.length)
8
- onFilled?.();
7
+ if (inputLength == targetInputElement.value.length && onFilled)
8
+ onFilled();
9
9
  sliceOverLength(targetInputElement, inputLength);
10
10
  }
11
11
  function sliceOverLength(inputElement, inputLength) {
@@ -1 +1 @@
1
- {"version":3,"file":"codeField.js","sourceRoot":"","sources":["codeField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAW5C,SAAS,cAAc,CACnB,KAAwC,EACxC,WAAmB,EACnB,QAA8B;IAE9B,MAAM,kBAAkB,GAAG,KAAK,CAAC,MAA0B,CAAC;IAC5D,mBAAmB,CAAC,kBAAkB,CAAC,CAAC;IACxC,IAAI,WAAW,IAAI,kBAAkB,CAAC,KAAK,CAAC,MAAM;QAAE,QAAQ,EAAE,EAAE,CAAC;IACjE,eAAe,CAAC,kBAAkB,EAAE,WAAW,CAAC,CAAC;AACrD,CAAC;AACD,SAAS,eAAe,CACpB,YAA8B,EAC9B,WAAmB;IAEnB,MAAM,YAAY,GAAG,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC;IAC/C,IAAI,YAAY,GAAG,WAAW;QAC1B,YAAY,CAAC,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;AACtE,CAAC;AACD,SAAS,mBAAmB,CAAC,YAA8B;IACvD,YAAY,CAAC,KAAK,GAAG,YAAY,CAAC,KA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AAO,EAAC,OAAO,EACf,SAAS,EAAE,KAAK,CAAC,SAAS,GAC5B,CACL,CAAC;AACN,CAAC"}
@@ -18,7 +18,7 @@ function onInputHandler(
18
18
  ): void {
19
19
  const targetInputElement = event.target as HTMLInputElement;
20
20
  removeUnNumberChars(targetInputElement);
21
- if (inputLength == targetInputElement.value.length) onFilled?.();
21
+ if (inputLength == targetInputElement.value.length && onFilled) onFilled();
22
22
  sliceOverLength(targetInputElement, inputLength);
23
23
  }
24
24
  function sliceOverLength(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yakad/ui",
3
- "version": "1.2.90-beta",
3
+ "version": "1.2.92-beta",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
package/types.d.ts CHANGED
@@ -12,4 +12,4 @@ import { MainProps } from "./main/main";
12
12
  import { NavigationProps } from "./navigation/navigation";
13
13
  import { SvgIconProps } from "./svgIcon/svgIcon";
14
14
  import { ThemeProps } from "./theme/theme";
15
- export { type ButtonProps, ClickAwayListenerProps, CodeFieldsProps, ContainerProps, GridContainerProps, GridItemProps, HrProps, InputFieldProps, ListProps, LoadingProps, MainProps, NavigationProps, SvgIconProps, ThemeProps, };
15
+ export { type ButtonProps, type ClickAwayListenerProps, type CodeFieldsProps, type ContainerProps, type GridContainerProps, type GridItemProps, type HrProps, type InputFieldProps, type ListProps, type LoadingProps, type MainProps, type NavigationProps, type SvgIconProps, type ThemeProps, };
package/types.tsx CHANGED
@@ -14,17 +14,17 @@ import { SvgIconProps } from "./svgIcon/svgIcon";
14
14
  import { ThemeProps } from "./theme/theme";
15
15
  export {
16
16
  type ButtonProps,
17
- ClickAwayListenerProps,
18
- CodeFieldsProps,
19
- ContainerProps,
20
- GridContainerProps,
21
- GridItemProps,
22
- HrProps,
23
- InputFieldProps,
24
- ListProps,
25
- LoadingProps,
26
- MainProps,
27
- NavigationProps,
28
- SvgIconProps,
29
- ThemeProps,
17
+ type ClickAwayListenerProps,
18
+ type CodeFieldsProps,
19
+ type ContainerProps,
20
+ type GridContainerProps,
21
+ type GridItemProps,
22
+ type HrProps,
23
+ type InputFieldProps,
24
+ type ListProps,
25
+ type LoadingProps,
26
+ type MainProps,
27
+ type NavigationProps,
28
+ type SvgIconProps,
29
+ type ThemeProps,
30
30
  };