antdv-next 1.8.2 → 1.8.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.
- package/dist/_util/hooks/useClosable.d.ts +3 -3
- package/dist/_util/hooks/useClosable.js +9 -9
- package/dist/affix/index.js +2 -7
- package/dist/antd-with-locales.esm.js +16050 -15720
- package/dist/antd-with-locales.js +79 -79
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +13249 -12919
- package/dist/antd.js +81 -81
- package/dist/badge/index.d.ts +4 -1
- package/dist/badge/index.js +4 -4
- package/dist/button/buttonHelper.d.ts +1 -1
- package/dist/button/style/index.js +8 -2
- package/dist/calendar/generateCalendar.js +1 -1
- package/dist/checkbox/Checkbox.js +1 -0
- package/dist/color-picker/ColorPicker.js +4 -0
- package/dist/color-picker/ColorPickerPanel.js +4 -0
- package/dist/color-picker/components/ColorSlider.js +12 -4
- package/dist/color-picker/components/PanelPicker/GradientColorBar.js +2 -0
- package/dist/components.d.ts +12 -8
- package/dist/components.js +3 -3
- package/dist/config-provider/context.d.ts +3 -3
- package/dist/config-provider/context.js +3 -3
- package/dist/descriptions/hooks/useItems.d.ts +6 -6
- package/dist/descriptions/hooks/useRow.js +1 -1
- package/dist/form/Form.d.ts +17 -44
- package/dist/form/Form.js +54 -5
- package/dist/form/FormItem/index.d.ts +3 -3
- package/dist/form/context.d.ts +3 -3
- package/dist/form/hooks/useForm.d.ts +4 -5
- package/dist/form/index.d.ts +29 -3
- package/dist/form/index.js +6 -6
- package/dist/form/types.d.ts +15 -7
- package/dist/image/hooks/usePreviewConfig.d.ts +4 -4
- package/dist/image/index.d.ts +5 -5
- package/dist/index.d.ts +14 -7
- package/dist/index.js +2 -2
- package/dist/input-number/style/index.js +3 -2
- package/dist/layout/layout.js +2 -3
- package/dist/mentions/index.js +2 -1
- package/dist/menu/MenuItem.js +1 -1
- package/dist/menu/index.d.ts +2 -1
- package/dist/menu/index.js +29 -5
- package/dist/menu/menu.js +39 -15
- package/dist/message/index.js +11 -9
- package/dist/modal/confirm.js +2 -3
- package/dist/modal/index.d.ts +2 -2
- package/dist/modal/interface.d.ts +1 -1
- package/dist/modal/useModal/index.js +9 -4
- package/dist/notification/index.js +3 -7
- package/dist/package.js +1 -1
- package/dist/package.json.d.ts +1 -0
- package/dist/segmented/style/index.js +3 -2
- package/dist/select/index.d.ts +1 -0
- package/dist/select/index.js +1 -1
- package/dist/skeleton/style/index.js +9 -13
- package/dist/slider/SliderTooltip.js +0 -1
- package/dist/slider/index.d.ts +2 -0
- package/dist/slider/index.js +4 -0
- package/dist/statistic/Timer.d.ts +2 -2
- package/dist/steps/index.js +2 -1
- package/dist/table/hooks/useFilter/FilterDropdown.js +1 -1
- package/dist/table/hooks/usePagination.d.ts +1 -2
- package/dist/table/hooks/usePagination.js +1 -3
- package/dist/table/hooks/useSorter.js +4 -8
- package/dist/table/style/index.js +1 -0
- package/dist/table/style/size.js +1 -0
- package/dist/table/util.d.ts +1 -1
- package/dist/tabs/style/index.js +5 -1
- package/dist/tag/hooks/useColor.d.ts +1 -1
- package/dist/tour/index.js +4 -1
- package/dist/transfer/hooks/useSelection.js +2 -1
- package/dist/tree/DirectoryTree.js +4 -3
- package/dist/tree/utils/dictUtil.js +5 -8
- package/dist/typography/Base/index.js +3 -1
- package/dist/typography/Base/util.js +2 -1
- package/dist/upload/Upload.js +14 -10
- package/dist/upload/UploadList/ListItem.js +4 -0
- package/dist/version/token.json +1 -1
- package/dist/watermark/utils.js +1 -1
- package/package.json +40 -39
- package/web-tags.json +16 -12
- package/web-types.json +32 -18
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "antdv-next",
|
|
4
|
-
"version": "1.8.
|
|
4
|
+
"version": "1.8.3",
|
|
5
5
|
"js-types-syntax": "typescript",
|
|
6
6
|
"description-markup": "markdown",
|
|
7
7
|
"framework": "vue",
|
|
@@ -98,6 +98,7 @@
|
|
|
98
98
|
{
|
|
99
99
|
"name": "color",
|
|
100
100
|
"description": "(ZH) 设置按钮的颜色\n\n(EN) Set button color",
|
|
101
|
+
"default": "primary when variant=\"solid\"",
|
|
101
102
|
"value": {
|
|
102
103
|
"kind": "expression",
|
|
103
104
|
"type": "default | primary | danger | PresetColors"
|
|
@@ -147,6 +148,14 @@
|
|
|
147
148
|
"type": "submit | reset | button"
|
|
148
149
|
}
|
|
149
150
|
},
|
|
151
|
+
{
|
|
152
|
+
"name": "icon",
|
|
153
|
+
"description": "(ZH) 设置按钮的图标组件\n\n(EN) Set the icon component of button",
|
|
154
|
+
"value": {
|
|
155
|
+
"kind": "expression",
|
|
156
|
+
"type": "VueNode"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
150
159
|
{
|
|
151
160
|
"name": "icon-placement",
|
|
152
161
|
"description": "(ZH) 设置按钮图标组件的位置\n\n(EN) Set the icon position of button",
|
|
@@ -6680,6 +6689,10 @@
|
|
|
6680
6689
|
]
|
|
6681
6690
|
},
|
|
6682
6691
|
"slots": [
|
|
6692
|
+
{
|
|
6693
|
+
"name": "default",
|
|
6694
|
+
"description": "(ZH) 头像显示的内容\n\n(EN) Content of the avatar"
|
|
6695
|
+
},
|
|
6683
6696
|
{
|
|
6684
6697
|
"name": "icon",
|
|
6685
6698
|
"description": "(ZH) 设置头像的自定义图标\n\n(EN) Custom icon type for an icon avatar"
|
|
@@ -6699,20 +6712,12 @@
|
|
|
6699
6712
|
"symbol": "AvatarGroup"
|
|
6700
6713
|
},
|
|
6701
6714
|
"attributes": [
|
|
6702
|
-
{
|
|
6703
|
-
"name": "prefix-cls",
|
|
6704
|
-
"description": "(ZH) -\n\n(EN) -",
|
|
6705
|
-
"value": {
|
|
6706
|
-
"kind": "expression",
|
|
6707
|
-
"type": "string"
|
|
6708
|
-
}
|
|
6709
|
-
},
|
|
6710
6715
|
{
|
|
6711
6716
|
"name": "max",
|
|
6712
|
-
"description": "(ZH)
|
|
6717
|
+
"description": "(ZH) 设置最多显示相关配置\n\n(EN) Set maximum display related configurations",
|
|
6713
6718
|
"value": {
|
|
6714
6719
|
"kind": "expression",
|
|
6715
|
-
"type": "{ count?: number style?: CSSProperties popover?: PopoverProps }"
|
|
6720
|
+
"type": "{ count?: number; style?: CSSProperties; popover?: PopoverProps }"
|
|
6716
6721
|
}
|
|
6717
6722
|
},
|
|
6718
6723
|
{
|
|
@@ -6721,16 +6726,16 @@
|
|
|
6721
6726
|
"default": "medium",
|
|
6722
6727
|
"value": {
|
|
6723
6728
|
"kind": "expression",
|
|
6724
|
-
"type": "
|
|
6729
|
+
"type": "number | large | medium | small | { xs: number, sm: number, ... }"
|
|
6725
6730
|
}
|
|
6726
6731
|
},
|
|
6727
6732
|
{
|
|
6728
6733
|
"name": "shape",
|
|
6729
|
-
"description": "(ZH)
|
|
6734
|
+
"description": "(ZH) 设置头像的形状\n\n(EN) The shape of the avatar",
|
|
6730
6735
|
"default": "circle",
|
|
6731
6736
|
"value": {
|
|
6732
6737
|
"kind": "expression",
|
|
6733
|
-
"type": "
|
|
6738
|
+
"type": "circle | square"
|
|
6734
6739
|
}
|
|
6735
6740
|
}
|
|
6736
6741
|
],
|
|
@@ -8289,6 +8294,15 @@
|
|
|
8289
8294
|
"type": "boolean"
|
|
8290
8295
|
}
|
|
8291
8296
|
},
|
|
8297
|
+
{
|
|
8298
|
+
"name": "start-point",
|
|
8299
|
+
"description": "(ZH) 单滑块模式下高亮轨道的起始值\n\n(EN) The start value of the highlighted track in single mode",
|
|
8300
|
+
"default": "min",
|
|
8301
|
+
"value": {
|
|
8302
|
+
"kind": "expression",
|
|
8303
|
+
"type": "number"
|
|
8304
|
+
}
|
|
8305
|
+
},
|
|
8292
8306
|
{
|
|
8293
8307
|
"name": "step",
|
|
8294
8308
|
"description": "(ZH) 步长,取值必须大于 0,并且可被 (max - min) 整除。当 marks 不为空对象时,可以设置 step 为 null,此时 Slider 的可选值仅有 marks、min 和 max\n\n(EN) The granularity the slider can step through values. Must be greater than 0, and be divisible by (max - min). When step is null and marks exist, valid points will only be marks, min and max",
|
|
@@ -13860,7 +13874,7 @@
|
|
|
13860
13874
|
},
|
|
13861
13875
|
{
|
|
13862
13876
|
"name": "height",
|
|
13863
|
-
"description": "(ZH)
|
|
13877
|
+
"description": "(ZH) height 为正数时,无论 virtual 如何设置,均限制树的纵向滚动区域的最大高度。省略 height 或将其设为 0 时,树的高度随内容增长。\n\n(EN) A positive value sets the maximum height of the Tree's vertical scroll area with either virtual setting. The Tree grows with its content when height is omitted or 0.",
|
|
13864
13878
|
"value": {
|
|
13865
13879
|
"kind": "expression",
|
|
13866
13880
|
"type": "number"
|
|
@@ -13986,7 +14000,7 @@
|
|
|
13986
14000
|
},
|
|
13987
14001
|
{
|
|
13988
14002
|
"name": "virtual",
|
|
13989
|
-
"description": "(ZH)
|
|
14003
|
+
"description": "(ZH) height 为正数时是否启用节点的虚拟渲染\n\n(EN) Whether to virtualize node rendering when height is positive",
|
|
13990
14004
|
"default": "true",
|
|
13991
14005
|
"value": {
|
|
13992
14006
|
"kind": "expression",
|
|
@@ -14301,7 +14315,7 @@
|
|
|
14301
14315
|
},
|
|
14302
14316
|
{
|
|
14303
14317
|
"name": "height",
|
|
14304
|
-
"description": "(ZH)
|
|
14318
|
+
"description": "(ZH) height 为正数时,无论 virtual 如何设置,均限制树的纵向滚动区域的最大高度。省略 height 或将其设为 0 时,树的高度随内容增长。\n\n(EN) A positive value sets the maximum height of the Tree's vertical scroll area with either virtual setting. The Tree grows with its content when height is omitted or 0.",
|
|
14305
14319
|
"value": {
|
|
14306
14320
|
"kind": "expression",
|
|
14307
14321
|
"type": "number"
|
|
@@ -14427,7 +14441,7 @@
|
|
|
14427
14441
|
},
|
|
14428
14442
|
{
|
|
14429
14443
|
"name": "virtual",
|
|
14430
|
-
"description": "(ZH)
|
|
14444
|
+
"description": "(ZH) height 为正数时是否启用节点的虚拟渲染\n\n(EN) Whether to virtualize node rendering when height is positive",
|
|
14431
14445
|
"default": "true",
|
|
14432
14446
|
"value": {
|
|
14433
14447
|
"kind": "expression",
|