@xhsreds/reds-rn-next 0.11.1-beta202601161832 → 0.11.1-beta202601191704

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 (71) hide show
  1. package/coverage/.tmp/coverage-0.json +1 -1
  2. package/coverage/.tmp/coverage-1.json +1 -1
  3. package/coverage/.tmp/coverage-11.json +1 -1
  4. package/coverage/.tmp/coverage-12.json +1 -1
  5. package/coverage/.tmp/coverage-13.json +1 -1
  6. package/coverage/.tmp/coverage-14.json +1 -1
  7. package/coverage/.tmp/coverage-15.json +1 -1
  8. package/coverage/.tmp/coverage-16.json +1 -1
  9. package/coverage/.tmp/coverage-17.json +1 -1
  10. package/coverage/.tmp/coverage-18.json +1 -1
  11. package/coverage/.tmp/coverage-19.json +1 -1
  12. package/coverage/.tmp/coverage-2.json +1 -1
  13. package/coverage/.tmp/coverage-20.json +1 -1
  14. package/coverage/.tmp/coverage-25.json +1 -1
  15. package/coverage/.tmp/coverage-26.json +1 -1
  16. package/coverage/.tmp/coverage-27.json +1 -1
  17. package/coverage/.tmp/coverage-3.json +1 -1
  18. package/coverage/.tmp/coverage-30.json +1 -1
  19. package/coverage/.tmp/coverage-31.json +1 -1
  20. package/coverage/.tmp/coverage-32.json +1 -1
  21. package/coverage/.tmp/coverage-33.json +1 -1
  22. package/coverage/.tmp/coverage-34.json +1 -1
  23. package/coverage/.tmp/coverage-35.json +1 -1
  24. package/coverage/.tmp/coverage-36.json +1 -1
  25. package/coverage/.tmp/coverage-37.json +1 -1
  26. package/coverage/.tmp/coverage-38.json +1 -1
  27. package/coverage/.tmp/coverage-39.json +1 -1
  28. package/coverage/.tmp/coverage-40.json +1 -1
  29. package/coverage/.tmp/coverage-41.json +1 -1
  30. package/coverage/.tmp/coverage-42.json +1 -1
  31. package/coverage/.tmp/coverage-43.json +1 -1
  32. package/coverage/.tmp/coverage-5.json +1 -1
  33. package/coverage/.tmp/coverage-7.json +1 -1
  34. package/coverage/.tmp/coverage-9.json +1 -1
  35. package/lib/cjs/_chunks/{B6BxX_sn.js → D9vEt_Qk.js} +3 -2
  36. package/lib/cjs/_chunks/D9vEt_Qk.js.map +1 -0
  37. package/lib/cjs/components/Alert/Alert.js +7 -7
  38. package/lib/cjs/components/Alert/Alert.js.map +1 -1
  39. package/lib/cjs/components/Alert/hooks/alert.js +1 -1
  40. package/lib/cjs/components/Alert/index.js +1 -1
  41. package/lib/cjs/components/Alert/interface/index.js +1 -1
  42. package/lib/cjs/components/Alert/styles.js +13 -55
  43. package/lib/cjs/components/Alert/styles.js.map +1 -1
  44. package/lib/cjs/components/Radio/Radio.js +1 -1
  45. package/lib/cjs/components/Radio/index.js +1 -1
  46. package/lib/cjs/index.js +1 -1
  47. package/lib/esm/_chunks/{BP2FxtYY.js → CNx6YBDL.js} +3 -2
  48. package/lib/esm/_chunks/CNx6YBDL.js.map +1 -0
  49. package/lib/esm/components/Alert/Alert.js +7 -7
  50. package/lib/esm/components/Alert/Alert.js.map +1 -1
  51. package/lib/esm/components/Alert/hooks/alert.js +1 -1
  52. package/lib/esm/components/Alert/index.js +1 -1
  53. package/lib/esm/components/Alert/interface/index.js +1 -1
  54. package/lib/esm/components/Alert/styles.js +13 -55
  55. package/lib/esm/components/Alert/styles.js.map +1 -1
  56. package/lib/esm/components/Radio/Radio.js +1 -1
  57. package/lib/esm/components/Radio/index.js +1 -1
  58. package/lib/esm/index.js +1 -1
  59. package/lib/src/components/Alert/interface/index.d.ts +2 -0
  60. package/lib/src/components/Alert/styles.d.ts +11 -43
  61. package/lib/types/components/Alert/interface/index.d.ts +2 -0
  62. package/lib/types/components/Alert/styles.d.ts +11 -43
  63. package/package.json +2 -2
  64. package/src/components/Alert/Alert.tsx +7 -78
  65. package/src/components/Alert/doc/index.mdx +1 -0
  66. package/src/components/Alert/interface/index.ts +2 -0
  67. package/src/components/Alert/styles.ts +12 -49
  68. package/src/i18n/@types/resources.d.ts +18 -18
  69. package/src/i18n/index.json +31 -31
  70. package/lib/cjs/_chunks/B6BxX_sn.js.map +0 -1
  71. package/lib/esm/_chunks/BP2FxtYY.js.map +0 -1
@@ -1,31 +1,31 @@
1
1
  interface Resources {
2
2
  componentKey: {
3
- sureKey: "確定";
4
- satisfyKey: "滿意";
5
- confirmKey: "確認";
6
- uploadingKey: "上傳中";
3
+ sureKey: "确定";
4
+ satisfyKey: "满意";
5
+ confirmKey: "确认";
6
+ uploadingKey: "上传中";
7
7
  resetKey: "重置";
8
- NoDataKey: "暫無數據";
8
+ NoDataKey: "暂无数据";
9
9
  liveStreamingKey: "直播";
10
10
  generallyKey: "一般";
11
- uploadFailedKey: "上傳失敗";
11
+ uploadFailedKey: "上传失败";
12
12
  submitKey: "提交";
13
- requestSuccessfulKey: "請求成功";
13
+ requestSuccessfulKey: "请求成功";
14
14
  cancelKey: "取消";
15
- PullDownToRefreshKey: "下拉重繪";
16
- selectAllKey: "全選";
17
- requestDataKey: "請求數據中";
15
+ PullDownToRefreshKey: "下拉刷新";
16
+ selectAllKey: "全选";
17
+ requestDataKey: "请求数据中";
18
18
  closeKey: "收起";
19
- veryBadKey: "極差";
20
- searchKey: "蒐索";
21
- expandKey: "展開";
22
- IDCardPhotoKey: "身份證人像面";
19
+ veryBadKey: "极差";
20
+ searchKey: "搜索";
21
+ expandKey: "展开";
22
+ IDCardPhotoKey: "身份证人像面";
23
23
  finishKey: "完成";
24
- surpriseKey: "驚喜";
25
- releaseRefreshKey: "鬆開重繪";
24
+ surpriseKey: "惊喜";
25
+ releaseRefreshKey: "松开刷新";
26
26
  nationalEmblemSideOfIDCardKey: "身份证国徽面";
27
- buttonKey: "按鈕";
28
- jumpKey: "跳轉";
27
+ buttonKey: "按钮";
28
+ jumpKey: "跳转";
29
29
  disappointmentKey: "失望";
30
30
  };
31
31
  }
@@ -1,4 +1,35 @@
1
1
  {
2
+ "zh_cn": {
3
+ "componentKey": {
4
+ "sureKey": "确定",
5
+ "satisfyKey": "满意",
6
+ "confirmKey": "确认",
7
+ "uploadingKey": "上传中",
8
+ "resetKey": "重置",
9
+ "NoDataKey": "暂无数据",
10
+ "liveStreamingKey": "直播",
11
+ "generallyKey": "一般",
12
+ "uploadFailedKey": "上传失败",
13
+ "submitKey": "提交",
14
+ "requestSuccessfulKey": "请求成功",
15
+ "cancelKey": "取消",
16
+ "PullDownToRefreshKey": "下拉刷新",
17
+ "selectAllKey": "全选",
18
+ "requestDataKey": "请求数据中",
19
+ "closeKey": "收起",
20
+ "veryBadKey": "极差",
21
+ "searchKey": "搜索",
22
+ "expandKey": "展开",
23
+ "IDCardPhotoKey": "身份证人像面",
24
+ "finishKey": "完成",
25
+ "surpriseKey": "惊喜",
26
+ "releaseRefreshKey": "松开刷新",
27
+ "nationalEmblemSideOfIDCardKey": "身份证国徽面",
28
+ "buttonKey": "按钮",
29
+ "jumpKey": "跳转",
30
+ "disappointmentKey": "失望"
31
+ }
32
+ },
2
33
  "zh_tw": {
3
34
  "componentKey": {
4
35
  "sureKey": "確定",
@@ -60,36 +91,5 @@
60
91
  "jumpKey": "Jump",
61
92
  "disappointmentKey": "Disappointment"
62
93
  }
63
- },
64
- "zh_cn": {
65
- "componentKey": {
66
- "sureKey": "确定",
67
- "satisfyKey": "满意",
68
- "confirmKey": "确认",
69
- "uploadingKey": "上传中",
70
- "resetKey": "重置",
71
- "NoDataKey": "暂无数据",
72
- "liveStreamingKey": "直播",
73
- "generallyKey": "一般",
74
- "uploadFailedKey": "上传失败",
75
- "submitKey": "提交",
76
- "requestSuccessfulKey": "请求成功",
77
- "cancelKey": "取消",
78
- "PullDownToRefreshKey": "下拉刷新",
79
- "selectAllKey": "全选",
80
- "requestDataKey": "请求数据中",
81
- "closeKey": "收起",
82
- "veryBadKey": "极差",
83
- "searchKey": "搜索",
84
- "expandKey": "展开",
85
- "IDCardPhotoKey": "身份证人像面",
86
- "finishKey": "完成",
87
- "surpriseKey": "惊喜",
88
- "releaseRefreshKey": "松开刷新",
89
- "nationalEmblemSideOfIDCardKey": "身份证国徽面",
90
- "buttonKey": "按钮",
91
- "jumpKey": "跳转",
92
- "disappointmentKey": "失望"
93
- }
94
94
  }
95
95
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"B6BxX_sn.js","sources":["../../../src/components/Alert/interface/index.ts"],"sourcesContent":["import { GestureResponderEvent, ViewStyle, TextStyle } from \"react-native\";\nimport { lightColor } from \"@xhsreds/reds-token-next\";\n\ninterface AlertOffset {\n x: number;\n y: number;\n}\nexport interface RedsAlert {\n show?: boolean;\n title?: string;\n message?: string;\n align?: \"left\" | \"center\" | string;\n footerLayout?: \"horizontal\" | \"vertical\" | string;\n showConfirmButton?: boolean;\n showCancelButton?: boolean;\n confirmText?: string;\n cancelText?: string;\n mask?: boolean;\n footerType?: \"text\" | \"button\" | string;\n children?: React.ReactNode;\n footer?: React.ReactNode;\n header?: React.ReactNode;\n onConfirm?: (value: GestureResponderEvent) => void;\n onCancel?: (value: GestureResponderEvent) => void;\n onOpen?: () => void;\n onClose?: () => void;\n onMask?: (value: GestureResponderEvent) => void;\n contentStyle?: ViewStyle;\n cancelBtnStyle?: ViewStyle;\n confirmBtnStyle?: ViewStyle;\n footerStyle?: ViewStyle;\n offset?: AlertOffset;\n hostName?: string;\n confirmBtnTextStyle?: TextStyle;\n cancelBtnTextStyle?: TextStyle;\n confirmBtnProps?: any;\n cancelBtnProps?: any;\n}\n\nexport interface RedsAlertEvent {}\nexport const AlertDefaultProps = {\n show: false,\n align: \"center\",\n footerLayout: \"horizontal\",\n showConfirmButton: true,\n showCancelButton: true,\n mask: true,\n footerType: \"button\",\n contentStyle: {},\n cancelBtnStyle: {},\n confirmBtnStyle: {},\n footerStyle: {},\n offset: { x: 0, y: 0 },\n hostName: \"root\",\n confirmBtnTextStyle: {},\n cancelBtnTextStyle: {},\n confirmBtnProps: {},\n cancelBtnProps: {},\n};\n"],"names":["AlertDefaultProps","show","align","footerLayout","showConfirmButton","showCancelButton","mask","footerType","contentStyle","cancelBtnStyle","confirmBtnStyle","footerStyle","offset","x","y","hostName","confirmBtnTextStyle","cancelBtnTextStyle","confirmBtnProps","cancelBtnProps"],"mappings":";;AAwCO,IAAMA,iBAAoB,GAAA;AAC/BC,EAAAA,IAAM,EAAA,KAAA;AACNC,EAAAA,KAAO,EAAA,QAAA;AACPC,EAAAA,YAAc,EAAA,YAAA;AACdC,EAAAA,iBAAmB,EAAA,IAAA;AACnBC,EAAAA,gBAAkB,EAAA,IAAA;AAClBC,EAAAA,IAAM,EAAA,IAAA;AACNC,EAAAA,UAAY,EAAA,QAAA;EACZC,cAAc,EAAC;EACfC,gBAAgB,EAAC;EACjBC,iBAAiB,EAAC;EAClBC,aAAa,EAAC;AACdC,EAAAA,MAAQ,EAAA;AAAEC,IAAAA,CAAG,EAAA,CAAA;AAAGC,IAAAA,GAAG,CAAA;GAAE;AACrBC,EAAAA,QAAU,EAAA,MAAA;EACVC,qBAAqB,EAAC;EACtBC,oBAAoB,EAAC;EACrBC,iBAAiB,EAAC;AAClBC,EAAAA,gBAAgB,EAAC;AACnB;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"BP2FxtYY.js","sources":["../../../src/components/Alert/interface/index.ts"],"sourcesContent":["import { GestureResponderEvent, ViewStyle, TextStyle } from \"react-native\";\nimport { lightColor } from \"@xhsreds/reds-token-next\";\n\ninterface AlertOffset {\n x: number;\n y: number;\n}\nexport interface RedsAlert {\n show?: boolean;\n title?: string;\n message?: string;\n align?: \"left\" | \"center\" | string;\n footerLayout?: \"horizontal\" | \"vertical\" | string;\n showConfirmButton?: boolean;\n showCancelButton?: boolean;\n confirmText?: string;\n cancelText?: string;\n mask?: boolean;\n footerType?: \"text\" | \"button\" | string;\n children?: React.ReactNode;\n footer?: React.ReactNode;\n header?: React.ReactNode;\n onConfirm?: (value: GestureResponderEvent) => void;\n onCancel?: (value: GestureResponderEvent) => void;\n onOpen?: () => void;\n onClose?: () => void;\n onMask?: (value: GestureResponderEvent) => void;\n contentStyle?: ViewStyle;\n cancelBtnStyle?: ViewStyle;\n confirmBtnStyle?: ViewStyle;\n footerStyle?: ViewStyle;\n offset?: AlertOffset;\n hostName?: string;\n confirmBtnTextStyle?: TextStyle;\n cancelBtnTextStyle?: TextStyle;\n confirmBtnProps?: any;\n cancelBtnProps?: any;\n}\n\nexport interface RedsAlertEvent {}\nexport const AlertDefaultProps = {\n show: false,\n align: \"center\",\n footerLayout: \"horizontal\",\n showConfirmButton: true,\n showCancelButton: true,\n mask: true,\n footerType: \"button\",\n contentStyle: {},\n cancelBtnStyle: {},\n confirmBtnStyle: {},\n footerStyle: {},\n offset: { x: 0, y: 0 },\n hostName: \"root\",\n confirmBtnTextStyle: {},\n cancelBtnTextStyle: {},\n confirmBtnProps: {},\n cancelBtnProps: {},\n};\n"],"names":["AlertDefaultProps","show","align","footerLayout","showConfirmButton","showCancelButton","mask","footerType","contentStyle","cancelBtnStyle","confirmBtnStyle","footerStyle","offset","x","y","hostName","confirmBtnTextStyle","cancelBtnTextStyle","confirmBtnProps","cancelBtnProps"],"mappings":"AAwCO,IAAMA,iBAAoB,GAAA;AAC/BC,EAAAA,IAAM,EAAA,KAAA;AACNC,EAAAA,KAAO,EAAA,QAAA;AACPC,EAAAA,YAAc,EAAA,YAAA;AACdC,EAAAA,iBAAmB,EAAA,IAAA;AACnBC,EAAAA,gBAAkB,EAAA,IAAA;AAClBC,EAAAA,IAAM,EAAA,IAAA;AACNC,EAAAA,UAAY,EAAA,QAAA;EACZC,cAAc,EAAC;EACfC,gBAAgB,EAAC;EACjBC,iBAAiB,EAAC;EAClBC,aAAa,EAAC;AACdC,EAAAA,MAAQ,EAAA;AAAEC,IAAAA,CAAG,EAAA,CAAA;AAAGC,IAAAA,GAAG,CAAA;GAAE;AACrBC,EAAAA,QAAU,EAAA,MAAA;EACVC,qBAAqB,EAAC;EACtBC,oBAAoB,EAAC;EACrBC,iBAAiB,EAAC;AAClBC,EAAAA,gBAAgB,EAAC;AACnB;;;;;;;;;"}