@0610studio/zs-ui 0.14.2 → 0.15.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.
Files changed (58) hide show
  1. package/build/overlay/AlertOverlay/index.d.ts.map +1 -1
  2. package/build/overlay/AlertOverlay/index.js +5 -5
  3. package/build/overlay/AlertOverlay/index.js.map +1 -1
  4. package/build/overlay/BottomSheetOverlay/index.d.ts +1 -1
  5. package/build/overlay/BottomSheetOverlay/index.d.ts.map +1 -1
  6. package/build/overlay/BottomSheetOverlay/index.js +2 -2
  7. package/build/overlay/BottomSheetOverlay/index.js.map +1 -1
  8. package/build/overlay/LoadingNotify/index.d.ts.map +1 -1
  9. package/build/overlay/LoadingNotify/index.js +2 -2
  10. package/build/overlay/LoadingNotify/index.js.map +1 -1
  11. package/build/overlay/Modality/index.d.ts +2 -3
  12. package/build/overlay/Modality/index.d.ts.map +1 -1
  13. package/build/overlay/Modality/index.js +2 -2
  14. package/build/overlay/Modality/index.js.map +1 -1
  15. package/build/overlay/PopOver/PopOverMenu.d.ts.map +1 -1
  16. package/build/overlay/PopOver/PopOverMenu.js +3 -3
  17. package/build/overlay/PopOver/PopOverMenu.js.map +1 -1
  18. package/build/overlay/SnackbarNotify/ui/SnackbarItem.d.ts.map +1 -1
  19. package/build/overlay/SnackbarNotify/ui/SnackbarItem.js +2 -2
  20. package/build/overlay/SnackbarNotify/ui/SnackbarItem.js.map +1 -1
  21. package/build/overlay/ui/ModalBackground.d.ts +2 -3
  22. package/build/overlay/ui/ModalBackground.d.ts.map +1 -1
  23. package/build/overlay/ui/ModalBackground.js +3 -3
  24. package/build/overlay/ui/ModalBackground.js.map +1 -1
  25. package/build/ui/ZSAboveKeyboard/index.d.ts +1 -1
  26. package/build/ui/ZSAboveKeyboard/index.d.ts.map +1 -1
  27. package/build/ui/ZSAboveKeyboard/index.js +2 -2
  28. package/build/ui/ZSAboveKeyboard/index.js.map +1 -1
  29. package/build/ui/ZSBlockButton/index.d.ts +1 -1
  30. package/build/ui/ZSBlockButton/index.d.ts.map +1 -1
  31. package/build/ui/ZSBlockButton/index.js +2 -2
  32. package/build/ui/ZSBlockButton/index.js.map +1 -1
  33. package/build/ui/ZSRadioGroup/index.d.ts +2 -1
  34. package/build/ui/ZSRadioGroup/index.d.ts.map +1 -1
  35. package/build/ui/ZSRadioGroup/index.js +4 -11
  36. package/build/ui/ZSRadioGroup/index.js.map +1 -1
  37. package/build/ui/ZSSkeleton/index.d.ts +1 -1
  38. package/build/ui/ZSSkeleton/index.d.ts.map +1 -1
  39. package/build/ui/ZSSkeleton/index.js +2 -2
  40. package/build/ui/ZSSkeleton/index.js.map +1 -1
  41. package/build/ui/ZSSkeletonBox/index.d.ts +1 -1
  42. package/build/ui/ZSSkeletonBox/index.d.ts.map +1 -1
  43. package/build/ui/ZSSkeletonBox/index.js +2 -2
  44. package/build/ui/ZSSkeletonBox/index.js.map +1 -1
  45. package/build/ui/ZSSwitch/index.d.ts +1 -1
  46. package/build/ui/ZSSwitch/index.d.ts.map +1 -1
  47. package/build/ui/ZSSwitch/index.js +3 -3
  48. package/build/ui/ZSSwitch/index.js.map +1 -1
  49. package/build/ui/ZSTextField/index.d.ts.map +1 -1
  50. package/build/ui/ZSTextField/index.js +18 -14
  51. package/build/ui/ZSTextField/index.js.map +1 -1
  52. package/build/ui/ZSTextField/ui/ButtonClose.d.ts +1 -1
  53. package/build/ui/ZSTextField/ui/ButtonClose.js +2 -2
  54. package/build/ui/ZSTextField/ui/ButtonClose.js.map +1 -1
  55. package/build/ui/ZSTextField/ui/ErrorComponent.d.ts +1 -1
  56. package/build/ui/ZSTextField/ui/ErrorComponent.js +2 -2
  57. package/build/ui/ZSTextField/ui/ErrorComponent.js.map +1 -1
  58. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonClose.js","sourceRoot":"","sources":["../../../../src/ui/ZSTextField/ui/ButtonClose.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAkB,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAE5C,MAAM,WAAW,GAAG,CAAC,EACjB,YAAY,EACZ,SAAS,EACT,GAAG,kBAAkB,EAIZ,EAAE,EAAE;IACb,OAAO,CACH,CAAC,gBAAgB,CACb,KAAK,CAAC,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,SAAS,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,EAAE,CAAC,CACzL,OAAO,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CACtD,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,YAAY,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CACvC,IAAI,kBAAkB,CAAC,CACvB;YAAA,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,EACzB;QAAA,EAAE,gBAAgB,CAAC,CACtB,CAAA;AACL,CAAC,CAAA;AAED,eAAe,WAAW,CAAC","sourcesContent":["import { TouchableOpacity, type ViewProps } from \"react-native\";\nimport { SvgX } from \"../../../assets/SvgX\";\n\nconst ButtonClose = ({\n onChangeText,\n marginTop,\n ...accessibilityProps\n}: {\n onChangeText?: (text: string) => void;\n marginTop?: number;\n} & ViewProps) => {\n return (\n <TouchableOpacity\n style={{ position: 'absolute', padding: 3, right: 15, borderRadius: 30, backgroundColor: '#e6e6e6', justifyContent: 'center', alignItems: 'center', ...marginTop && { top: marginTop } }}\n hitSlop={{ top: 10, right: 10, bottom: 10, left: 10 }}\n onPress={() => { onChangeText?.(''); }}\n {...accessibilityProps}>\n <SvgX color=\"#5E696E\" />\n </TouchableOpacity>\n )\n}\n\nexport default ButtonClose;"]}
1
+ {"version":3,"file":"ButtonClose.js","sourceRoot":"","sources":["../../../../src/ui/ZSTextField/ui/ButtonClose.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAkB,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAE5C,MAAM,WAAW,GAAG,CAAC,EACjB,YAAY,EACZ,SAAS,EACT,GAAG,KAAK,EAIC,EAAE,EAAE;IACb,OAAO,CACH,CAAC,gBAAgB,CACb,KAAK,CAAC,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,SAAS,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,EAAE,CAAC,CACzL,OAAO,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CACtD,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,YAAY,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CACvC,IAAI,KAAK,CAAC,CACV;YAAA,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,EACzB;QAAA,EAAE,gBAAgB,CAAC,CACtB,CAAA;AACL,CAAC,CAAA;AAED,eAAe,WAAW,CAAC","sourcesContent":["import { TouchableOpacity, type ViewProps } from \"react-native\";\nimport { SvgX } from \"../../../assets/SvgX\";\n\nconst ButtonClose = ({\n onChangeText,\n marginTop,\n ...props\n}: {\n onChangeText?: (text: string) => void;\n marginTop?: number;\n} & ViewProps) => {\n return (\n <TouchableOpacity\n style={{ position: 'absolute', padding: 3, right: 15, borderRadius: 30, backgroundColor: '#e6e6e6', justifyContent: 'center', alignItems: 'center', ...marginTop && { top: marginTop } }}\n hitSlop={{ top: 10, right: 10, bottom: 10, left: 10 }}\n onPress={() => { onChangeText?.(''); }}\n {...props}>\n <SvgX color=\"#5E696E\" />\n </TouchableOpacity>\n )\n}\n\nexport default ButtonClose;\n"]}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { type ViewProps } from "react-native";
3
- declare const ErrorComponent: ({ errorMessage, errorColor, ...accessibilityProps }: {
3
+ declare const ErrorComponent: ({ errorMessage, errorColor, ...props }: {
4
4
  errorMessage: string;
5
5
  errorColor: string;
6
6
  } & ViewProps) => import("react").JSX.Element;
@@ -1,8 +1,8 @@
1
1
  import Animated, { FadeInDown } from "react-native-reanimated";
2
2
  import ZSText from "../../ZSText";
3
3
  import SvgExclamation from "../../../assets/SvgExclamation";
4
- const ErrorComponent = ({ errorMessage, errorColor, ...accessibilityProps }) => {
5
- return (<Animated.View entering={FadeInDown} style={{ width: '100%', flexDirection: 'row', alignItems: 'center', paddingLeft: 5, paddingTop: 9 }} {...accessibilityProps}>
4
+ const ErrorComponent = ({ errorMessage, errorColor, ...props }) => {
5
+ return (<Animated.View entering={FadeInDown} style={{ width: '100%', flexDirection: 'row', alignItems: 'center', paddingLeft: 5, paddingTop: 9 }} {...props}>
6
6
  <SvgExclamation size={16} backgroundColor={errorColor}/>
7
7
 
8
8
  <ZSText typo='body.4' style={{ marginLeft: 5, color: errorColor }}>
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorComponent.js","sourceRoot":"","sources":["../../../../src/ui/ZSTextField/ui/ErrorComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,EAAE,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,cAAc,MAAM,gCAAgC,CAAC;AAG5D,MAAM,cAAc,GAAG,CAAC,EACtB,YAAY,EACZ,UAAU,EACV,GAAG,kBAAkB,EAIV,EAAE,EAAE;IACf,OAAO,CACL,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,kBAAkB,CAAC,CAC/J;MAAA,CAAC,cAAc,CACb,IAAI,CAAC,CAAC,EAAE,CAAC,CACT,eAAe,CAAC,CAAC,UAAU,CAAC,EAG9B;;MAAA,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAChE;QAAA,CAAC,YAAY,CACf;MAAA,EAAE,MAAM,CACV;IAAA,EAAE,QAAQ,CAAC,IAAI,CAAC,CACjB,CAAA;AACH,CAAC,CAAA;AAED,eAAe,cAAc,CAAC","sourcesContent":["import Animated, { FadeInDown } from \"react-native-reanimated\";\nimport ZSText from \"../../ZSText\";\nimport SvgExclamation from \"../../../assets/SvgExclamation\";\nimport { type ViewProps } from \"react-native\";\n\nconst ErrorComponent = ({\n errorMessage,\n errorColor,\n ...accessibilityProps\n}: {\n errorMessage: string;\n errorColor: string;\n} & ViewProps) => {\n return (\n <Animated.View entering={FadeInDown} style={{ width: '100%', flexDirection: 'row', alignItems: 'center', paddingLeft: 5, paddingTop: 9 }} {...accessibilityProps}>\n <SvgExclamation\n size={16}\n backgroundColor={errorColor}\n />\n\n <ZSText typo='body.4' style={{ marginLeft: 5, color: errorColor }}>\n {errorMessage}\n </ZSText>\n </Animated.View>\n )\n}\n\nexport default ErrorComponent;"]}
1
+ {"version":3,"file":"ErrorComponent.js","sourceRoot":"","sources":["../../../../src/ui/ZSTextField/ui/ErrorComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,EAAE,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,cAAc,MAAM,gCAAgC,CAAC;AAG5D,MAAM,cAAc,GAAG,CAAC,EACtB,YAAY,EACZ,UAAU,EACV,GAAG,KAAK,EAIG,EAAE,EAAE;IACf,OAAO,CACL,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,KAAK,CAAC,CAClJ;MAAA,CAAC,cAAc,CACb,IAAI,CAAC,CAAC,EAAE,CAAC,CACT,eAAe,CAAC,CAAC,UAAU,CAAC,EAG9B;;MAAA,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAChE;QAAA,CAAC,YAAY,CACf;MAAA,EAAE,MAAM,CACV;IAAA,EAAE,QAAQ,CAAC,IAAI,CAAC,CACjB,CAAA;AACH,CAAC,CAAA;AAED,eAAe,cAAc,CAAC","sourcesContent":["import Animated, { FadeInDown } from \"react-native-reanimated\";\nimport ZSText from \"../../ZSText\";\nimport SvgExclamation from \"../../../assets/SvgExclamation\";\nimport { type ViewProps } from \"react-native\";\n\nconst ErrorComponent = ({\n errorMessage,\n errorColor,\n ...props\n}: {\n errorMessage: string;\n errorColor: string;\n} & ViewProps) => {\n return (\n <Animated.View entering={FadeInDown} style={{ width: '100%', flexDirection: 'row', alignItems: 'center', paddingLeft: 5, paddingTop: 9 }} {...props}>\n <SvgExclamation\n size={16}\n backgroundColor={errorColor}\n />\n\n <ZSText typo='body.4' style={{ marginLeft: 5, color: errorColor }}>\n {errorMessage}\n </ZSText>\n </Animated.View>\n )\n}\n\nexport default ErrorComponent;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0610studio/zs-ui",
3
- "version": "0.14.2",
3
+ "version": "0.15.0",
4
4
  "private": false,
5
5
  "description": "EXPO ZS-UI",
6
6
  "type": "commonjs",
@@ -52,15 +52,15 @@
52
52
  "expo-router": "4.0.21",
53
53
  "jest": "^29",
54
54
  "jest-expo": "^51",
55
- "react-test-renderer": "18.3.1",
56
- "ts-jest": "^29.2.5",
57
- "typescript": "4.9.5",
58
55
  "react": "19.0.0",
59
56
  "react-native": "0.79.6",
60
57
  "react-native-reanimated": "~3.17.4",
61
58
  "react-native-safe-area-context": "5.4.0",
62
59
  "react-native-screens": "~4.11.1",
63
- "react-native-svg": "15.11.2"
60
+ "react-native-svg": "15.11.2",
61
+ "react-test-renderer": "19.0.0",
62
+ "ts-jest": "^29.2.5",
63
+ "typescript": "4.9.5"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "@react-native-async-storage/async-storage": "*",