@xhsreds/reds-rn-next 0.9.1-beta202510291448 → 0.9.1-beta202510291550

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
- {"/builds/fe/infra/reds/packages/reds-rn/src/components/Stepper/interface/index.ts":{"path":"/builds/fe/infra/reds/packages/reds-rn/src/components/Stepper/interface/index.ts","statementMap":{"0":{"start":{"line":1,"column":35},"end":{"line":4,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1},"f":{},"b":{},"inputSourceMap":{"version":3,"sources":["/builds/fe/infra/reds/packages/reds-rn/src/components/Stepper/interface/index.ts"],"sourcesContent":["import { GestureResponderEvent } from \"react-native\";\nimport { lightColor } from \"@xhs/reds-token-next\";\nexport interface RedsStepper {\n value?: number;\n max?: number;\n min?: number;\n disable?: boolean;\n onChange?: (value: number) => any;\n isControl?: boolean;\n}\n\nexport interface RedsStepperEvent {}\nexport const StepperDefaultProps = {\n disable: false,\n isControl: true,\n};\n"],"mappings":"AAYO,aAAM,sBAAsB;AAAA,EACjC,SAAS;AAAA,EACT,WAAW;AACb;","names":[]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"b713a64f355d69521f481b2ff80b5b69bce75557"},"/builds/fe/infra/reds/packages/reds-rn/src/components/Stepper/styles.ts":{"path":"/builds/fe/infra/reds/packages/reds-rn/src/components/Stepper/styles.ts","statementMap":{"0":{"start":{"line":2,"column":25},"end":{"line":38,"column":1}},"1":{"start":{"line":3,"column":2},"end":{"line":37,"column":5}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":2,"column":25},"end":{"line":2,"column":26}},"loc":{"start":{"line":2,"column":53},"end":{"line":38,"column":1}},"line":2}},"branchMap":{},"s":{"0":1,"1":0},"f":{"0":0},"b":{},"inputSourceMap":{"version":3,"sources":["/builds/fe/infra/reds/packages/reds-rn/src/components/Stepper/styles.ts"],"sourcesContent":["import { StyleSheet } from \"react-native\";\nexport const getStyles = (themeColor: any, typography: any) => {\n return StyleSheet.create({\n container: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"center\",\n },\n opacity: {\n opacity: 0.5,\n },\n icon: {\n width: 20,\n height: 20,\n backgroundColor: themeColor.Fill1,\n borderRadius: 20,\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n lineHeight: 20,\n },\n text: {\n paddingHorizontal: 8,\n fontWeight: typography.B1LooseFontWeight,\n fontSize: typography.T3FontSize,\n color: themeColor.Title,\n },\n minus: {\n height: 1.5,\n width: 10,\n },\n add: {\n height: 10,\n width: 10,\n },\n });\n};\n"],"mappings":"AAAA,SAAS,kBAAkB;AACpB,aAAM,YAAY,CAAC,YAAiB,eAAoB;AAC7D,SAAO,WAAW,OAAO;AAAA,IACvB,WAAW;AAAA,MACT,SAAS;AAAA,MACT,eAAe;AAAA,MACf,YAAY;AAAA,MACZ,gBAAgB;AAAA,IAClB;AAAA,IACA,SAAS;AAAA,MACP,SAAS;AAAA,IACX;AAAA,IACA,MAAM;AAAA,MACJ,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,iBAAiB,WAAW;AAAA,MAC5B,cAAc;AAAA,MACd,SAAS;AAAA,MACT,gBAAgB;AAAA,MAChB,YAAY;AAAA,MACZ,YAAY;AAAA,IACd;AAAA,IACA,MAAM;AAAA,MACJ,mBAAmB;AAAA,MACnB,YAAY,WAAW;AAAA,MACvB,UAAU,WAAW;AAAA,MACrB,OAAO,WAAW;AAAA,IACpB;AAAA,IACA,OAAO;AAAA,MACL,QAAQ;AAAA,MACR,OAAO;AAAA,IACT;AAAA,IACA,KAAK;AAAA,MACH,QAAQ;AAAA,MACR,OAAO;AAAA,IACT;AAAA,EACF,CAAC;AACH;","names":[]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"62e00e64124b6d3cd2d37a0935e860de34b57269"}}
1
+ {"/builds/fe/infra/reds/packages/reds-rn/src/components/DatePicker/interface/index.ts":{"path":"/builds/fe/infra/reds/packages/reds-rn/src/components/DatePicker/interface/index.ts","statementMap":{"0":{"start":{"line":1,"column":44},"end":{"line":11,"column":24}},"1":{"start":{"line":2,"column":2},"end":{"line":2,"column":51}},"2":{"start":{"line":3,"column":2},"end":{"line":3,"column":45}},"3":{"start":{"line":4,"column":2},"end":{"line":4,"column":35}},"4":{"start":{"line":5,"column":2},"end":{"line":5,"column":35}},"5":{"start":{"line":6,"column":2},"end":{"line":6,"column":47}},"6":{"start":{"line":7,"column":2},"end":{"line":7,"column":59}},"7":{"start":{"line":8,"column":2},"end":{"line":8,"column":71}},"8":{"start":{"line":9,"column":2},"end":{"line":9,"column":59}},"9":{"start":{"line":10,"column":2},"end":{"line":10,"column":25}},"10":{"start":{"line":12,"column":38},"end":{"line":24,"column":1}},"11":{"start":{"line":15,"column":24},"end":{"line":15,"column":29}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":1,"column":45},"end":{"line":1,"column":46}},"loc":{"start":{"line":1,"column":66},"end":{"line":11,"column":1}},"line":1},"1":{"name":"(anonymous_1)","decl":{"start":{"line":15,"column":13},"end":{"line":15,"column":14}},"loc":{"start":{"line":15,"column":24},"end":{"line":15,"column":29}},"line":15},"2":{"name":"(anonymous_2)","decl":{"start":{"line":16,"column":12},"end":{"line":16,"column":13}},"loc":{"start":{"line":16,"column":23},"end":{"line":17,"column":3}},"line":16},"3":{"name":"(anonymous_3)","decl":{"start":{"line":18,"column":12},"end":{"line":18,"column":13}},"loc":{"start":{"line":18,"column":18},"end":{"line":19,"column":3}},"line":18},"4":{"name":"(anonymous_4)","decl":{"start":{"line":20,"column":13},"end":{"line":20,"column":14}},"loc":{"start":{"line":20,"column":24},"end":{"line":21,"column":3}},"line":20}},"branchMap":{"0":{"loc":{"start":{"line":11,"column":3},"end":{"line":11,"column":23}},"type":"binary-expr","locations":[{"start":{"line":11,"column":3},"end":{"line":11,"column":17}},{"start":{"line":11,"column":21},"end":{"line":11,"column":23}}],"line":11}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":0},"f":{"0":1,"1":0,"2":0,"3":0,"4":0},"b":{"0":[1,1]},"inputSourceMap":{"version":3,"sources":["/builds/fe/infra/reds/packages/reds-rn/src/components/DatePicker/interface/index.ts"],"sourcesContent":["export enum DatePickerMode {\n YearMonthDay = \"yearmonthday\",\n YearMonth = \"yearmonth\",\n Year = \"year\",\n Hour = \"hour\",\n HourMinute = \"hourminute\",\n HourMinuteSecond = \"hourminutesecond\",\n YearMonthDayHourMinute = \"yearmonthdayhourminute\",\n YearMonthDayHour = \"yearmonthdayhour\",\n}\nexport interface RedsDatePicker {\n visible: boolean;\n value: string;\n cancelText?: string;\n mode?: DatePickerMode;\n startYear?: number;\n endYear?: number;\n startTime?: string;\n endTime?: string;\n label: string;\n formatter?: (value: string) => any;\n onChange?: (value: string) => void;\n onCancel?: () => void;\n onConfirm?: (value: string) => void;\n isDatePattern?: boolean;\n closeText?: string;\n mask?: boolean;\n hostName?: string;\n}\n\nexport interface RedsDatePickerEvent {}\nexport const DatePickerDefaultProps = {\n visible: false,\n mode: DatePickerMode.YearMonthDay,\n formatter: (value: string) => value,\n onChange: (value: string) => {},\n onCancel: () => {},\n onConfirm: (value: string) => {},\n isDatePattern: false,\n hostName: \"root\",\n};\n"],"mappings":"AAAO,WAAK,iBAAL,kBAAKA,oBAAL;AACL,EAAAA,gBAAA,kBAAe;AACf,EAAAA,gBAAA,eAAY;AACZ,EAAAA,gBAAA,UAAO;AACP,EAAAA,gBAAA,UAAO;AACP,EAAAA,gBAAA,gBAAa;AACb,EAAAA,gBAAA,sBAAmB;AACnB,EAAAA,gBAAA,4BAAyB;AACzB,EAAAA,gBAAA,sBAAmB;AART,SAAAA;AAAA,GAAA;AA+BL,aAAM,yBAAyB;AAAA,EACpC,SAAS;AAAA,EACT,MAAM;AAAA,EACN,WAAW,CAAC,UAAkB;AAAA,EAC9B,UAAU,CAAC,UAAkB;AAAA,EAAC;AAAA,EAC9B,UAAU,MAAM;AAAA,EAAC;AAAA,EACjB,WAAW,CAAC,UAAkB;AAAA,EAAC;AAAA,EAC/B,eAAe;AAAA,EACf,UAAU;AACZ;","names":["DatePickerMode"]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"9e76fc27de5c3917033e01222a48d018ce0fa2fd"},"/builds/fe/infra/reds/packages/reds-rn/src/components/Picker/interface/index.ts":{"path":"/builds/fe/infra/reds/packages/reds-rn/src/components/Picker/interface/index.ts","statementMap":{"0":{"start":{"line":1,"column":34},"end":{"line":12,"column":1}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":2,"column":13},"end":{"line":2,"column":14}},"loc":{"start":{"line":2,"column":19},"end":{"line":3,"column":3}},"line":2},"1":{"name":"(anonymous_1)","decl":{"start":{"line":4,"column":12},"end":{"line":4,"column":13}},"loc":{"start":{"line":4,"column":18},"end":{"line":5,"column":3}},"line":4},"2":{"name":"(anonymous_2)","decl":{"start":{"line":6,"column":12},"end":{"line":6,"column":13}},"loc":{"start":{"line":6,"column":18},"end":{"line":7,"column":3}},"line":6}},"branchMap":{},"s":{"0":1},"f":{"0":0,"1":0,"2":0},"b":{},"inputSourceMap":{"version":3,"sources":["/builds/fe/infra/reds/packages/reds-rn/src/components/Picker/interface/index.ts"],"sourcesContent":["import { GestureResponderEvent } from \"react-native\";\nimport { lightColor } from \"@xhs/reds-token-next\";\nimport { SheetsType } from \"../../Sheets\";\n\ntype SheetsSize = SheetsType.SheetsSize;\n\nexport interface Column {\n label: string;\n value: string;\n}\nexport interface RedsPicker {\n onConfirm?: (val: string[]) => void;\n onCancel?: () => void;\n onChange?: (val: string[]) => void;\n columns: Column[][];\n value: string[];\n visible: boolean;\n accessibility?: Object;\n hostName?: string;\n bottom?: any;\n}\n\nexport interface RedsPickerEvent {}\nexport const PickerDefaultProps = {\n onConfirm: () => {},\n onCancel: () => {},\n onChange: () => {},\n columns: [],\n value: [],\n visible: false,\n accessibility: {},\n};\n"],"mappings":"AAuBO,aAAM,qBAAqB;AAAA,EAChC,WAAW,MAAM;AAAA,EAAC;AAAA,EAClB,UAAU,MAAM;AAAA,EAAC;AAAA,EACjB,UAAU,MAAM;AAAA,EAAC;AAAA,EACjB,SAAS,CAAC;AAAA,EACV,OAAO,CAAC;AAAA,EACR,SAAS;AAAA,EACT,eAAe,CAAC;AAClB;","names":[]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"a054bd43402933bffcf3758b7f508a8aa18b200a"}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xhsreds/reds-rn-next",
3
- "version": "0.9.1-beta202510291448",
3
+ "version": "0.9.1-beta202510291550",
4
4
  "author": "贾斌(呀哈) <jiabin@xiaohongshu.com>",
5
5
  "license": "ISC",
6
6
  "dependencies": {
@@ -26,7 +26,7 @@
26
26
  "react-native-fs": "2.20.0",
27
27
  "react-native-svg": "13.14.0",
28
28
  "@xhs/react-native-harmony": "*",
29
- "@xhsreds/reds-token-next": "0.9.1-beta202510291448"
29
+ "@xhsreds/reds-token-next": "0.9.1-beta202510291550"
30
30
  },
31
31
  "peerDependenciesMeta": {
32
32
  "ozone-schema-web": {
@@ -1,32 +1,32 @@
1
1
  interface Resources {
2
2
  componentKey: {
3
- sureKey: "确定";
4
- satisfyKey: "满意";
5
- confirmKey: "确认";
6
- uploadingKey: "上传中";
7
- resetKey: "重置";
8
- NoDataKey: "暂无数据";
9
- liveStreamingKey: "直播";
10
- generallyKey: "一般";
11
- uploadFailedKey: "上传失败";
12
- submitKey: "提交";
13
- requestSuccessfulKey: "请求成功";
14
- cancelKey: "取消";
15
- PullDownToRefreshKey: "下拉刷新";
16
- selectAllKey: "全选";
17
- requestDataKey: "请求数据中";
18
- closeKey: "收起";
19
- veryBadKey: "极差";
20
- searchKey: "搜索";
21
- expandKey: "展开";
22
- IDCardPhotoKey: "身份证人像面";
23
- finishKey: "完成";
24
- surpriseKey: "惊喜";
25
- releaseRefreshKey: "松开刷新";
26
- nationalEmblemSideOfIDCardKey: "身份证国徽面";
27
- buttonKey: "按钮";
28
- jumpKey: "跳转";
29
- disappointmentKey: "失望";
3
+ sureKey: "Confirm";
4
+ satisfyKey: "Satisfy";
5
+ confirmKey: "Confirm";
6
+ uploadingKey: "Uploading";
7
+ resetKey: "Reset";
8
+ NoDataKey: "No data available at the moment";
9
+ liveStreamingKey: "live";
10
+ generallyKey: "Generally";
11
+ uploadFailedKey: "Upload failed";
12
+ submitKey: "Submit";
13
+ requestSuccessfulKey: "Request successful";
14
+ cancelKey: "Cancel";
15
+ PullDownToRefreshKey: "Pull down to refresh";
16
+ selectAllKey: "SelectAll";
17
+ requestDataKey: "Request data";
18
+ closeKey: "Close";
19
+ veryBadKey: "Very bad";
20
+ searchKey: "Search";
21
+ expandKey: "Expand";
22
+ IDCardPhotoKey: "ID card photo";
23
+ finishKey: "Finish";
24
+ surpriseKey: "Surprise";
25
+ releaseRefreshKey: "Release refresh";
26
+ nationalEmblemSideOfIDCardKey: "National emblem side of ID card";
27
+ buttonKey: "Button";
28
+ jumpKey: "Jump";
29
+ disappointmentKey: "Disappointment";
30
30
  };
31
31
  }
32
32
  export default Resources;
@@ -1,4 +1,35 @@
1
1
  {
2
+ "en_us": {
3
+ "componentKey": {
4
+ "sureKey": "Confirm",
5
+ "satisfyKey": "Satisfy",
6
+ "confirmKey": "Confirm",
7
+ "uploadingKey": "Uploading",
8
+ "resetKey": "Reset",
9
+ "NoDataKey": "No data available at the moment",
10
+ "liveStreamingKey": "live",
11
+ "generallyKey": "Generally",
12
+ "uploadFailedKey": "Upload failed",
13
+ "submitKey": "Submit",
14
+ "requestSuccessfulKey": "Request successful",
15
+ "cancelKey": "Cancel",
16
+ "PullDownToRefreshKey": "Pull down to refresh",
17
+ "selectAllKey": "SelectAll",
18
+ "requestDataKey": "Request data",
19
+ "closeKey": "Close",
20
+ "veryBadKey": "Very bad",
21
+ "searchKey": "Search",
22
+ "expandKey": "Expand",
23
+ "IDCardPhotoKey": "ID card photo",
24
+ "finishKey": "Finish",
25
+ "surpriseKey": "Surprise",
26
+ "releaseRefreshKey": "Release refresh",
27
+ "nationalEmblemSideOfIDCardKey": "National emblem side of ID card",
28
+ "buttonKey": "Button",
29
+ "jumpKey": "Jump",
30
+ "disappointmentKey": "Disappointment"
31
+ }
32
+ },
2
33
  "zh_cn": {
3
34
  "componentKey": {
4
35
  "sureKey": "确定",
@@ -60,36 +91,5 @@
60
91
  "jumpKey": "跳轉",
61
92
  "disappointmentKey": "失望"
62
93
  }
63
- },
64
- "en_us": {
65
- "componentKey": {
66
- "sureKey": "Confirm",
67
- "satisfyKey": "Satisfy",
68
- "confirmKey": "Confirm",
69
- "uploadingKey": "Uploading",
70
- "resetKey": "Reset",
71
- "NoDataKey": "No data available at the moment",
72
- "liveStreamingKey": "live",
73
- "generallyKey": "Generally",
74
- "uploadFailedKey": "Upload failed",
75
- "submitKey": "Submit",
76
- "requestSuccessfulKey": "Request successful",
77
- "cancelKey": "Cancel",
78
- "PullDownToRefreshKey": "Pull down to refresh",
79
- "selectAllKey": "SelectAll",
80
- "requestDataKey": "Request data",
81
- "closeKey": "Close",
82
- "veryBadKey": "Very bad",
83
- "searchKey": "Search",
84
- "expandKey": "Expand",
85
- "IDCardPhotoKey": "ID card photo",
86
- "finishKey": "Finish",
87
- "surpriseKey": "Surprise",
88
- "releaseRefreshKey": "Release refresh",
89
- "nationalEmblemSideOfIDCardKey": "National emblem side of ID card",
90
- "buttonKey": "Button",
91
- "jumpKey": "Jump",
92
- "disappointmentKey": "Disappointment"
93
- }
94
94
  }
95
95
  }