Skip to content

Commit

Permalink
fix(Slider): remove externalClasses props
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao committed Sep 3, 2024
1 parent 05c8f71 commit 9650de0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 48 deletions.
Binary file modified db/TDesign.db
Binary file not shown.
4 changes: 0 additions & 4 deletions packages/products/tdesign-miniprogram/src/slider/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ const props: TdSliderProps = {
type: null,
value: undefined,
},
/** 组件类名,分别用于设置 组件外层元素、滑道底部、滑道激活态、滑道禁用态、游标 等元素类名 */
externalClasses: {
type: Array,
},
/** 滑块当前值文本。<br />值为 true 显示默认文案;值为 false 不显示滑块当前值文本;<br />值为 `${value}%` 则表示组件会根据占位符渲染文案;<br />值类型为函数时,参数 `value` 标识滑块值,参数 `position=start` 表示范围滑块的起始值,参数 `position=end` 表示范围滑块的终点值 */
label: {
type: null,
Expand Down
7 changes: 0 additions & 7 deletions packages/products/tdesign-miniprogram/src/slider/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ export interface TdSliderProps {
type: BooleanConstructor;
value?: boolean;
};
/**
* 组件类名,分别用于设置 组件外层元素、滑道底部、滑道激活态、滑道禁用态、游标 等元素类名
*/
externalClasses?: {
type: ArrayConstructor;
value?: ['t-class', 't-class-bar', 't-class-bar-active', 't-class-bar-disabled', 't-class-cursor'];
};
/**
* 滑块当前值文本。<br />值为 true 显示默认文案;值为 false 不显示滑块当前值文本;<br />值为 `${value}%` 则表示组件会根据占位符渲染文案;<br />值类型为函数时,参数 `value` 标识滑块值,参数 `position=start` 表示范围滑块的起始值,参数 `position=end` 表示范围滑块的终点值
* @default false
Expand Down
37 changes: 0 additions & 37 deletions packages/scripts/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -101244,43 +101244,6 @@
"Array"
]
},
{
"id": 1324,
"platform_framework": [
"64"
],
"component": "Slider",
"field_category": 1,
"field_name": "externalClasses",
"field_type": [
"16"
],
"field_default_value": "",
"field_enum": "",
"field_desc_zh": "组件类名,分别用于设置 组件外层元素、滑道底部、滑道激活态、滑道禁用态、游标 等元素类名",
"field_desc_en": null,
"field_required": 0,
"event_input": "",
"create_time": "2021-07-16 11:44:05",
"update_time": "2021-07-18 10:03:44",
"event_output": null,
"custom_field_type": "['t-class', 't-class-bar', 't-class-bar-active', 't-class-bar-disabled', 't-class-cursor']",
"syntactic_sugar": null,
"readonly": 1,
"html_attribute": 0,
"trigger_elements": "",
"deprecated": 0,
"version": null,
"test_description": null,
"support_default_value": 0,
"field_category_text": "Props",
"platform_framework_text": [
"Miniprogram"
],
"field_type_text": [
"Array"
]
},
{
"id": 1201,
"platform_framework": [
Expand Down

0 comments on commit 9650de0

Please sign in to comment.