@ray-js/smart-ui 2.13.4 → 2.13.5-beta-2

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.
@@ -7,7 +7,7 @@ type ActionSheetThemeVars = 'actionSheetWidth' | 'actionSheetLeft' | 'actionShee
7
7
  type BottomSheetThemeVars = 'bottomSheetWidth' | 'bottomSheetMinHeight' | 'bottomSheetMaxHeight' | 'bottomSheetPadding' | 'bottomSheetHeaderPadding' | 'bottomSheetIconMargin' | 'bottomSheetHeaderHeight' | 'bottomSheetHeaderColor' | 'bottomSheetHeaderFontSize' | 'bottomSheetHeaderFontWeight' | 'bottomSheetFontColor' | 'bottomSheetDraggerPadding' | 'bottomSheetDraggerNodeWidth' | 'bottomSheetDraggerNodeHeight' | 'bottomSheetDraggerNodeBorderRadius' | 'bottomSheetDraggerNodeBackground';
8
8
  type ButtonThemeVars = 'buttonMiniHeight' | 'buttonMiniMinWidth' | 'buttonMiniFontSize' | 'buttonSmallHeight' | 'buttonSmallFontSize' | 'buttonSmallMinWidth' | 'buttonNormalFontSize' | 'buttonLargeHeight' | 'buttonDefaultColor' | 'buttonDefaultHeight' | 'buttonDefaultFontSize' | 'buttonDefaultBackgroundColor' | 'buttonDefaultBorderColor' | 'buttonPrimaryColor' | 'buttonPrimaryBackgroundColor' | 'buttonPrimaryBorderColor' | 'buttonInfoColor' | 'buttonInfoBackgroundColor' | 'buttonInfoBorderColor' | 'buttonDangerColor' | 'buttonDangerBackgroundColor' | 'buttonDangerBorderColor' | 'buttonWarningColor' | 'buttonWarningBackgroundColor' | 'buttonWarningBorderColor' | 'buttonLineHeight' | 'buttonBorderWidth' | 'buttonBorderRadius' | 'buttonRoundBorderRadius' | 'buttonPlainBackgroundColor' | 'buttonDisabledOpacity' | 'buttonFontWeight' | 'buttonPrimaryFontWeight' | 'buttonPlainColor';
9
9
  type CalendarThemeVars = 'calendarBackgroundColor' | 'calendarHeaderBoxShadow' | 'calendarHeaderTitleHeight' | 'calendarHeaderTitleFontSize' | 'calendarHeaderTitleWeight' | 'calendarHeaderTitleFontColor' | 'calendarHeaderSubtitleFontSize' | 'calendarWeekdaysHeight' | 'calendarWeekdaysFontSize' | 'calendarWeekdaysFontColor' | 'calendarMonthTitleFontSize' | 'calendarMonthMarkColor' | 'calendarMonthMarkFontSize' | 'calendarDayHeight' | 'calendarCellItemFontSize' | 'calendarCellItemWidth' | 'calendarCellItemHeight' | 'calendarCellItemMargin' | 'calendarCellItemFontColor' | 'calendarCellItemBorderRadius' | 'calendarDayFontWeight' | 'calendarDaySelectBorderRadius' | 'calendarRangeEdgeColor' | 'calendarRangeEdgeBackgroundColor' | 'calendarRangeMiddleColor' | 'calendarRangeMiddleBackgroundOpacity' | 'calendarSelectedDaySize' | 'calendarSelectedDayColor' | 'calendarInfoFontSize' | 'calendarInfoLineHeight' | 'calendarSelectedDayBackgroundColor' | 'calendarConfirmButtonHeight' | 'calendarConfirmButtonMargin' | 'calendarConfirmButtonLineHeight' | 'calendarTextColor' | 'calendarPopupHeight' | 'calendarPopupHeightMonth' | 'calendarPopupHeightYear' | 'calendarHeaderSaveColor' | 'calendarHeaderIconBgColor' | 'calendarHeaderIconColor';
10
- type CellThemeVars = 'cellFontSize' | 'cellLineHeight' | 'cellVerticalPadding' | 'cellHorizontalPadding' | 'cellTextColor' | 'cellBackgroundColor' | 'cellActiveColor' | 'cellRequiredColor' | 'cellLabelColor' | 'cellLabelFontSize' | 'cellLabelLineHeight' | 'cellLabelMarginTop' | 'cellValueColor' | 'cellValueMaxWidth' | 'cellValueMarginLeft' | 'cellIconSize' | 'cellRightIconColor' | 'cellBorderColor' | 'cellBorderLeftPosition' | 'cellBorderRightPosition' | 'cellGroupBackgroundColor' | 'cellGroupTitleColor' | 'cellGroupTitlePadding' | 'cellGroupTitleFontSize' | 'cellGroupTitleLineHeight' | 'cellGroupInsetPadding' | 'cellGroupInsetBorderRadius' | 'cellGroupInsetTitlePadding';
10
+ type CellThemeVars = 'cellFontSize' | 'cellLineHeight' | 'cellVerticalPadding' | 'cellHorizontalPadding' | 'cellTextColor' | 'cellBackgroundColor' | 'cellActiveColor' | 'cellRequiredColor' | 'cellLabelColor' | 'cellLabelFontSize' | 'cellLabelLineHeight' | 'cellLabelMarginTop' | 'cellValueColor' | 'cellValueMaxWidth' | 'cellValueMarginLeft' | 'cellValueFlex' | 'cellIconSize' | 'cellRightIconColor' | 'cellBorderColor' | 'cellBorderLeftPosition' | 'cellBorderRightPosition' | 'cellGroupBackgroundColor' | 'cellGroupTitleColor' | 'cellGroupTitlePadding' | 'cellGroupTitleFontSize' | 'cellGroupTitleLineHeight' | 'cellGroupInsetPadding' | 'cellGroupInsetBorderRadius' | 'cellGroupInsetTitlePadding';
11
11
  type CheckboxThemeVars = 'checkboxSize' | 'checkboxBorderColor' | 'checkboxBorderRadius' | 'checkboxTransitionDuration' | 'checkboxLabelSize' | 'checkboxLabelMargin' | 'checkboxLabelColor' | 'checkboxCheckedIconColor' | 'checkboxDisabledLabelColor' | 'checkboxDisabledOpacity';
12
12
  type CircleThemeVars = 'circleTextColor';
13
13
  type CollapseThemeVars = 'collapseItemTransitionDuration' | 'collapseItemContentPadding' | 'collapseItemContentFontSize' | 'collapseItemContentLineHeight' | 'collapseItemContentTextColor' | 'collapseItemContentBackgroundColor' | 'collapseItemTitleDisabledColor';
@@ -7,7 +7,7 @@ type ActionSheetThemeVars = 'actionSheetWidth' | 'actionSheetLeft' | 'actionShee
7
7
  type BottomSheetThemeVars = 'bottomSheetWidth' | 'bottomSheetMinHeight' | 'bottomSheetMaxHeight' | 'bottomSheetPadding' | 'bottomSheetHeaderPadding' | 'bottomSheetIconMargin' | 'bottomSheetHeaderHeight' | 'bottomSheetHeaderColor' | 'bottomSheetHeaderFontSize' | 'bottomSheetHeaderFontWeight' | 'bottomSheetFontColor' | 'bottomSheetDraggerPadding' | 'bottomSheetDraggerNodeWidth' | 'bottomSheetDraggerNodeHeight' | 'bottomSheetDraggerNodeBorderRadius' | 'bottomSheetDraggerNodeBackground';
8
8
  type ButtonThemeVars = 'buttonMiniHeight' | 'buttonMiniMinWidth' | 'buttonMiniFontSize' | 'buttonSmallHeight' | 'buttonSmallFontSize' | 'buttonSmallMinWidth' | 'buttonNormalFontSize' | 'buttonLargeHeight' | 'buttonDefaultColor' | 'buttonDefaultHeight' | 'buttonDefaultFontSize' | 'buttonDefaultBackgroundColor' | 'buttonDefaultBorderColor' | 'buttonPrimaryColor' | 'buttonPrimaryBackgroundColor' | 'buttonPrimaryBorderColor' | 'buttonInfoColor' | 'buttonInfoBackgroundColor' | 'buttonInfoBorderColor' | 'buttonDangerColor' | 'buttonDangerBackgroundColor' | 'buttonDangerBorderColor' | 'buttonWarningColor' | 'buttonWarningBackgroundColor' | 'buttonWarningBorderColor' | 'buttonLineHeight' | 'buttonBorderWidth' | 'buttonBorderRadius' | 'buttonRoundBorderRadius' | 'buttonPlainBackgroundColor' | 'buttonDisabledOpacity' | 'buttonFontWeight' | 'buttonPrimaryFontWeight' | 'buttonPlainColor';
9
9
  type CalendarThemeVars = 'calendarBackgroundColor' | 'calendarHeaderBoxShadow' | 'calendarHeaderTitleHeight' | 'calendarHeaderTitleFontSize' | 'calendarHeaderTitleWeight' | 'calendarHeaderTitleFontColor' | 'calendarHeaderSubtitleFontSize' | 'calendarWeekdaysHeight' | 'calendarWeekdaysFontSize' | 'calendarWeekdaysFontColor' | 'calendarMonthTitleFontSize' | 'calendarMonthMarkColor' | 'calendarMonthMarkFontSize' | 'calendarDayHeight' | 'calendarCellItemFontSize' | 'calendarCellItemWidth' | 'calendarCellItemHeight' | 'calendarCellItemMargin' | 'calendarCellItemFontColor' | 'calendarCellItemBorderRadius' | 'calendarDayFontWeight' | 'calendarDaySelectBorderRadius' | 'calendarRangeEdgeColor' | 'calendarRangeEdgeBackgroundColor' | 'calendarRangeMiddleColor' | 'calendarRangeMiddleBackgroundOpacity' | 'calendarSelectedDaySize' | 'calendarSelectedDayColor' | 'calendarInfoFontSize' | 'calendarInfoLineHeight' | 'calendarSelectedDayBackgroundColor' | 'calendarConfirmButtonHeight' | 'calendarConfirmButtonMargin' | 'calendarConfirmButtonLineHeight' | 'calendarTextColor' | 'calendarPopupHeight' | 'calendarPopupHeightMonth' | 'calendarPopupHeightYear' | 'calendarHeaderSaveColor' | 'calendarHeaderIconBgColor' | 'calendarHeaderIconColor';
10
- type CellThemeVars = 'cellFontSize' | 'cellLineHeight' | 'cellVerticalPadding' | 'cellHorizontalPadding' | 'cellTextColor' | 'cellBackgroundColor' | 'cellActiveColor' | 'cellRequiredColor' | 'cellLabelColor' | 'cellLabelFontSize' | 'cellLabelLineHeight' | 'cellLabelMarginTop' | 'cellValueColor' | 'cellValueMaxWidth' | 'cellValueMarginLeft' | 'cellIconSize' | 'cellRightIconColor' | 'cellBorderColor' | 'cellBorderLeftPosition' | 'cellBorderRightPosition' | 'cellGroupBackgroundColor' | 'cellGroupTitleColor' | 'cellGroupTitlePadding' | 'cellGroupTitleFontSize' | 'cellGroupTitleLineHeight' | 'cellGroupInsetPadding' | 'cellGroupInsetBorderRadius' | 'cellGroupInsetTitlePadding';
10
+ type CellThemeVars = 'cellFontSize' | 'cellLineHeight' | 'cellVerticalPadding' | 'cellHorizontalPadding' | 'cellTextColor' | 'cellBackgroundColor' | 'cellActiveColor' | 'cellRequiredColor' | 'cellLabelColor' | 'cellLabelFontSize' | 'cellLabelLineHeight' | 'cellLabelMarginTop' | 'cellValueColor' | 'cellValueMaxWidth' | 'cellValueMarginLeft' | 'cellValueFlex' | 'cellIconSize' | 'cellRightIconColor' | 'cellBorderColor' | 'cellBorderLeftPosition' | 'cellBorderRightPosition' | 'cellGroupBackgroundColor' | 'cellGroupTitleColor' | 'cellGroupTitlePadding' | 'cellGroupTitleFontSize' | 'cellGroupTitleLineHeight' | 'cellGroupInsetPadding' | 'cellGroupInsetBorderRadius' | 'cellGroupInsetTitlePadding';
11
11
  type CheckboxThemeVars = 'checkboxSize' | 'checkboxBorderColor' | 'checkboxBorderRadius' | 'checkboxTransitionDuration' | 'checkboxLabelSize' | 'checkboxLabelMargin' | 'checkboxLabelColor' | 'checkboxCheckedIconColor' | 'checkboxDisabledLabelColor' | 'checkboxDisabledOpacity';
12
12
  type CircleThemeVars = 'circleTextColor';
13
13
  type CollapseThemeVars = 'collapseItemTransitionDuration' | 'collapseItemContentPadding' | 'collapseItemContentFontSize' | 'collapseItemContentLineHeight' | 'collapseItemContentTextColor' | 'collapseItemContentBackgroundColor' | 'collapseItemTitleDisabledColor';
package/package.json CHANGED
@@ -1,16 +1,59 @@
1
1
  {
2
2
  "name": "@ray-js/smart-ui",
3
- "version": "2.13.4",
4
- "description": "轻量、可靠的智能小程序 UI 组件库",
5
- "scripts": {
6
- "syncMiniappData": "node ./build/syncMiniappData.js",
7
- "dev": "tsc -w -p tsconfig.build.es.json",
8
- "build": "rimraf es lib && tsc -p tsconfig.build.es.json && tsc -p tsconfig.build.lib.json && node ./build/postBuild.js",
9
- "build:tuya": "yarn build && cd ./example && ray build --target=tuya"
3
+ "version": "2.13.5-beta-2",
4
+ "description": "轻量、可靠的 Ray 面板小程序 UI 组件库",
5
+ "keywords": [
6
+ "@ray-js/smart-ui",
7
+ "ray",
8
+ "smart-ui",
9
+ "weapp"
10
+ ],
11
+ "license": "MIT",
12
+ "exports": {
13
+ ".": {
14
+ "types": "./es/index.d.ts",
15
+ "import": "./es/index.js",
16
+ "require": "./lib/index.js",
17
+ "default": "./es/index.js"
18
+ },
19
+ "./package.json": "./package.json",
20
+ "./es/index": {
21
+ "types": "./es/index.d.ts",
22
+ "default": "./es/index.js"
23
+ },
24
+ "./lib/index": {
25
+ "types": "./lib/index.d.ts",
26
+ "default": "./lib/index.js"
27
+ },
28
+ "./es/*.js": "./es/*.js",
29
+ "./lib/*.js": "./lib/*.js",
30
+ "./es/*/index": {
31
+ "types": "./es/*/index.d.ts",
32
+ "default": "./es/*/index.js"
33
+ },
34
+ "./lib/*/index": {
35
+ "types": "./lib/*/index.d.ts",
36
+ "default": "./lib/*/index.js"
37
+ },
38
+ "./es/*": {
39
+ "types": "./es/*/index.d.ts",
40
+ "default": "./es/*/index.js"
41
+ },
42
+ "./lib/*": {
43
+ "types": "./lib/*/index.d.ts",
44
+ "default": "./lib/*/index.js"
45
+ },
46
+ "./*": {
47
+ "types": "./es/*/index.d.ts",
48
+ "import": "./es/*/index.js",
49
+ "require": "./lib/*/index.js",
50
+ "default": "./es/*/index.js"
51
+ }
10
52
  },
11
53
  "main": "lib/index.js",
12
54
  "module": "es/index.js",
13
55
  "typings": "es/index.d.ts",
56
+ "sideEffects": false,
14
57
  "files": [
15
58
  "es",
16
59
  "lib",
@@ -22,27 +65,15 @@
22
65
  "access": "public",
23
66
  "registry": "https://registry.npmjs.org/"
24
67
  },
25
- "keywords": [
26
- "@ray-js/smart-ui",
27
- "ray",
28
- "smart-ui",
29
- "weapp"
30
- ],
31
- "license": "MIT",
32
- "lint-staged": {
33
- "*.{js,ts,md,json}": [
34
- "prettier --write"
35
- ]
36
- },
37
- "husky": {
38
- "hooks": {
39
- "commit-msg": "commitlint -E HUSKY_GIT_PARAMS --config commitlint.config.js",
40
- "pre-commit": "lint-staged"
41
- }
68
+ "scripts": {
69
+ "syncMiniappData": "node ./build/syncMiniappData.js",
70
+ "dev": "tsc -w -p tsconfig.build.es.json",
71
+ "build": "rimraf es lib && tsc -p tsconfig.build.es.json && tsc -p tsconfig.build.lib.json && node ./build/postBuild.js",
72
+ "build:tuya": "yarn build && cd ./example && ray build --target=tuya"
42
73
  },
43
74
  "dependencies": {
44
75
  "@ray-js/components-ty-slider": "^0.3.9",
45
- "@tuya-miniapp/smart-ui": "2.13.4-beta-3",
76
+ "@tuya-miniapp/smart-ui": "2.13.5-beta-2",
46
77
  "lodash-es": "^4.17.21"
47
78
  },
48
79
  "devDependencies": {
@@ -75,6 +106,17 @@
75
106
  "typescript": "^4.4.3",
76
107
  "yorkie": "^2.0.0"
77
108
  },
109
+ "lint-staged": {
110
+ "*.{js,ts,md,json}": [
111
+ "prettier --write"
112
+ ]
113
+ },
114
+ "husky": {
115
+ "hooks": {
116
+ "commit-msg": "commitlint -E HUSKY_GIT_PARAMS --config commitlint.config.js",
117
+ "pre-commit": "lint-staged"
118
+ }
119
+ },
78
120
  "maintainers": [
79
121
  {
80
122
  "name": "tuyafe",