@ray-js/smart-ui 2.13.3 → 2.13.4-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' | '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' | '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/es/cell/README.md
CHANGED
|
@@ -302,6 +302,8 @@ export default function Demo() {
|
|
|
302
302
|
| --cell-label-line-height | _18px_ | 单元格标签行高 |
|
|
303
303
|
| --cell-label-margin-top | _3px_ | 单元格标签上边距 |
|
|
304
304
|
| --cell-value-color | _var(--app-B6-N3, rgba(0, 0, 0, 0.5))_ | 单元格值文字颜色 |
|
|
305
|
+
| --cell-value-max-width `v2.13.4` | _none_ | 单元格值区域最大宽度,超出部分隐藏;默认不限制 |
|
|
306
|
+
| --cell-value-margin-left `v2.13.4` | _8px_ | 单元格值区域与标题的间距 |
|
|
305
307
|
| --cell-icon-size | _24px_ | 单元格图标大小 |
|
|
306
308
|
| --cell-right-icon-color | _var(--app-B6-N6, rgba(0, 0, 0, 0.2))_ | 单元格右侧图标颜色 |
|
|
307
309
|
| --cell-border-color `v2.1.4` | _var(--app-B6-N7, rgba(0, 0, 0, 0.1))_ | 单元格边框颜色 |
|
|
@@ -382,6 +382,7 @@ export default function Demo() {
|
|
|
382
382
|
| columnStyles `v2.3.7` | 任意列的样式 | _Record\<string, string>_ | - |
|
|
383
383
|
| fontStyles `v2.3.7` | 任意列的字体样式 | _Record\<string, string>_ | - |
|
|
384
384
|
| activeStyle `v2.3.7` | 选中项的样式 | _React.CSSProperties_ | - |
|
|
385
|
+
| loopMap `v2.13.4` | 控制每一列是否循环滚动(`type` 可选值为 `year`, `month`, `day`, `hour`, `minute`, `12HourClock`),未配置的列保持默认行为:`year` 与 `12HourClock` 不循环,其余列循环 | _Record\<type, boolean>_ | - |
|
|
385
386
|
|
|
386
387
|
### Events
|
|
387
388
|
|
|
@@ -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' | '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' | '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/lib/cell/README.md
CHANGED
|
@@ -302,6 +302,8 @@ export default function Demo() {
|
|
|
302
302
|
| --cell-label-line-height | _18px_ | 单元格标签行高 |
|
|
303
303
|
| --cell-label-margin-top | _3px_ | 单元格标签上边距 |
|
|
304
304
|
| --cell-value-color | _var(--app-B6-N3, rgba(0, 0, 0, 0.5))_ | 单元格值文字颜色 |
|
|
305
|
+
| --cell-value-max-width `v2.13.4` | _none_ | 单元格值区域最大宽度,超出部分隐藏;默认不限制 |
|
|
306
|
+
| --cell-value-margin-left `v2.13.4` | _8px_ | 单元格值区域与标题的间距 |
|
|
305
307
|
| --cell-icon-size | _24px_ | 单元格图标大小 |
|
|
306
308
|
| --cell-right-icon-color | _var(--app-B6-N6, rgba(0, 0, 0, 0.2))_ | 单元格右侧图标颜色 |
|
|
307
309
|
| --cell-border-color `v2.1.4` | _var(--app-B6-N7, rgba(0, 0, 0, 0.1))_ | 单元格边框颜色 |
|
|
@@ -382,6 +382,7 @@ export default function Demo() {
|
|
|
382
382
|
| columnStyles `v2.3.7` | 任意列的样式 | _Record\<string, string>_ | - |
|
|
383
383
|
| fontStyles `v2.3.7` | 任意列的字体样式 | _Record\<string, string>_ | - |
|
|
384
384
|
| activeStyle `v2.3.7` | 选中项的样式 | _React.CSSProperties_ | - |
|
|
385
|
+
| loopMap `v2.13.4` | 控制每一列是否循环滚动(`type` 可选值为 `year`, `month`, `day`, `hour`, `minute`, `12HourClock`),未配置的列保持默认行为:`year` 与 `12HourClock` 不循环,其余列循环 | _Record\<type, boolean>_ | - |
|
|
385
386
|
|
|
386
387
|
### Events
|
|
387
388
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/smart-ui",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.4-beta-2",
|
|
4
4
|
"description": "轻量、可靠的智能小程序 UI 组件库",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"syncMiniappData": "node ./build/syncMiniappData.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@ray-js/components-ty-slider": "^0.3.9",
|
|
45
|
-
"@tuya-miniapp/smart-ui": "
|
|
45
|
+
"@tuya-miniapp/smart-ui": "2.13.4-beta-2",
|
|
46
46
|
"lodash-es": "^4.17.21"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|