@ray-js/adapter 1.4.0 → 1.4.3

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.
@@ -60,5 +60,7 @@ export interface PickerProps extends BaseProps {
60
60
  * 可为每一列的顶部添加一个自定义的项
61
61
  */
62
62
  customItem?: string;
63
+ cancelText?: string;
64
+ confirmText?: string;
63
65
  }
64
66
  export declare const Picker: React.ComponentType<PickerProps>;
@@ -18,6 +18,8 @@ export declare const alias: {
18
18
  disabled: string;
19
19
  onClick: string;
20
20
  onTap: string;
21
+ confirmText: string;
22
+ cancelText: string;
21
23
  disableScroll: string;
22
24
  hoverClass: string;
23
25
  hoverClassName: string;
@@ -2,5 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
4
  const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', name: 'name', className: 'class', animation: 'animation', style: 'style', mode: 'mode', range: 'range', rangeKey: 'range-key', value: 'value', onChange: 'bindchange', onCancel: 'bindcancel', onColumnChange: 'bindcolumnchange', start: 'start', end: 'end', fields: 'fields', customItem: 'custom-item', disabled: 'disabled', onClick: 'bindtap', onTap: 'bindtap' });
5
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', name: 'name', className: 'class', animation: 'animation', style: 'style', mode: 'mode', range: 'range', rangeKey: 'range-key', value: 'value', onChange: 'bindchange', onCancel: 'bindcancel', onColumnChange: 'bindcolumnchange', start: 'start', end: 'end', fields: 'fields', customItem: 'custom-item', disabled: 'disabled', onClick: 'bindtap', onTap: 'bindtap',
6
+ // 1.4.1 支持属性
7
+ confirmText: 'confirm-text', cancelText: 'cancel-text' });
6
8
  exports.props = Object.values(exports.alias);
@@ -60,5 +60,7 @@ export interface PickerProps extends BaseProps {
60
60
  * 可为每一列的顶部添加一个自定义的项
61
61
  */
62
62
  customItem?: string;
63
+ cancelText?: string;
64
+ confirmText?: string;
63
65
  }
64
66
  export declare const Picker: React.ComponentType<PickerProps>;
@@ -18,6 +18,8 @@ export declare const alias: {
18
18
  disabled: string;
19
19
  onClick: string;
20
20
  onTap: string;
21
+ confirmText: string;
22
+ cancelText: string;
21
23
  disableScroll: string;
22
24
  hoverClass: string;
23
25
  hoverClassName: string;
@@ -1,3 +1,5 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', name: 'name', className: 'class', animation: 'animation', style: 'style', mode: 'mode', range: 'range', rangeKey: 'range-key', value: 'value', onChange: 'bindchange', onCancel: 'bindcancel', onColumnChange: 'bindcolumnchange', start: 'start', end: 'end', fields: 'fields', customItem: 'custom-item', disabled: 'disabled', onClick: 'bindtap', onTap: 'bindtap' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', name: 'name', className: 'class', animation: 'animation', style: 'style', mode: 'mode', range: 'range', rangeKey: 'range-key', value: 'value', onChange: 'bindchange', onCancel: 'bindcancel', onColumnChange: 'bindcolumnchange', start: 'start', end: 'end', fields: 'fields', customItem: 'custom-item', disabled: 'disabled', onClick: 'bindtap', onTap: 'bindtap',
3
+ // 1.4.1 支持属性
4
+ confirmText: 'confirm-text', cancelText: 'cancel-text' });
3
5
  export const props = Object.values(alias);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/adapter",
3
- "version": "1.4.0",
3
+ "version": "1.4.3",
4
4
  "description": "Ray adapter for tuya",
5
5
  "keywords": [
6
6
  "ray"
@@ -34,7 +34,7 @@
34
34
  "@ray-core/types": "^0.3.6"
35
35
  },
36
36
  "devDependencies": {
37
- "@ray-js/types": "^1.4.0",
37
+ "@ray-js/types": "^1.4.3",
38
38
  "concurrently": "^6.5.1"
39
39
  },
40
40
  "publishConfig": {