@cloudtower/eagle 0.26.10 → 0.26.12
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/components/Tag/__test__/h5_css.test.d.ts +1 -0
- package/dist/components/Tag/index.d.ts +3 -5
- package/dist/components/Token/__test__/h5_css.test.d.ts +1 -0
- package/dist/components/Token/index.d.ts +2 -2
- package/dist/components/Token/style.d.ts +1 -0
- package/dist/components.css +29112 -834
- package/dist/esm/index.js +224 -164
- package/dist/esm/stats1.html +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/spec/base.d.ts +10 -4
- package/dist/style.css +29777 -1499
- package/dist/umd/index.js +223 -162
- package/dist/umd/stats1.html +1 -1
- package/package.json +7 -11
- package/antd/dist/antd.less +0 -2
- package/antd/es/affix/style/css.js +0 -2
- package/antd/es/affix/style/index.css +0 -8
- package/antd/es/affix/style/index.d.ts +0 -2
- package/antd/es/affix/style/index.js +0 -2
- package/antd/es/affix/style/index.less +0 -6
- package/antd/es/alert/style/css.js +0 -2
- package/antd/es/alert/style/index.css +0 -260
- package/antd/es/alert/style/index.d.ts +0 -2
- package/antd/es/alert/style/index.js +0 -2
- package/antd/es/alert/style/index.less +0 -196
- package/antd/es/alert/style/rtl.less +0 -74
- package/antd/es/anchor/style/css.js +0 -4
- package/antd/es/anchor/style/index.css +0 -107
- package/antd/es/anchor/style/index.d.ts +0 -3
- package/antd/es/anchor/style/index.js +0 -4
- package/antd/es/anchor/style/index.less +0 -84
- package/antd/es/anchor/style/rtl.less +0 -40
- package/antd/es/auto-complete/style/css.js +0 -4
- package/antd/es/auto-complete/style/index.css +0 -20
- package/antd/es/auto-complete/style/index.d.ts +0 -3
- package/antd/es/auto-complete/style/index.js +0 -4
- package/antd/es/auto-complete/style/index.less +0 -16
- package/antd/es/avatar/style/css.js +0 -4
- package/antd/es/avatar/style/group.less +0 -22
- package/antd/es/avatar/style/index.css +0 -112
- package/antd/es/avatar/style/index.d.ts +0 -3
- package/antd/es/avatar/style/index.js +0 -4
- package/antd/es/avatar/style/index.less +0 -66
- package/antd/es/avatar/style/rtl.less +0 -20
- package/antd/es/back-top/style/css.js +0 -2
- package/antd/es/back-top/style/index.css +0 -62
- package/antd/es/back-top/style/index.d.ts +0 -2
- package/antd/es/back-top/style/index.js +0 -2
- package/antd/es/back-top/style/index.less +0 -49
- package/antd/es/back-top/style/responsive.less +0 -11
- package/antd/es/badge/style/css.js +0 -3
- package/antd/es/badge/style/index.css +0 -372
- package/antd/es/badge/style/index.d.ts +0 -3
- package/antd/es/badge/style/index.js +0 -3
- package/antd/es/badge/style/index.less +0 -193
- package/antd/es/badge/style/ribbon.less +0 -84
- package/antd/es/badge/style/rtl.less +0 -111
- package/antd/es/breadcrumb/style/css.js +0 -4
- package/antd/es/breadcrumb/style/index.css +0 -73
- package/antd/es/breadcrumb/style/index.d.ts +0 -4
- package/antd/es/breadcrumb/style/index.js +0 -4
- package/antd/es/breadcrumb/style/index.less +0 -54
- package/antd/es/breadcrumb/style/rtl.less +0 -34
- package/antd/es/button/style/css.js +0 -2
- package/antd/es/button/style/index.css +0 -1915
- package/antd/es/button/style/index.d.ts +0 -2
- package/antd/es/button/style/index.js +0 -2
- package/antd/es/button/style/index.less +0 -249
- package/antd/es/button/style/mixin.less +0 -518
- package/antd/es/button/style/rtl.less +0 -113
- package/antd/es/calendar/style/css.js +0 -7
- package/antd/es/calendar/style/index.css +0 -180
- package/antd/es/calendar/style/index.d.ts +0 -5
- package/antd/es/calendar/style/index.js +0 -7
- package/antd/es/calendar/style/index.less +0 -192
- package/antd/es/calendar/style/rtl.less +0 -52
- package/antd/es/card/style/css.js +0 -6
- package/antd/es/card/style/index.css +0 -317
- package/antd/es/card/style/index.d.ts +0 -5
- package/antd/es/card/style/index.js +0 -6
- package/antd/es/card/style/index.less +0 -293
- package/antd/es/card/style/size.less +0 -22
- package/antd/es/carousel/style/css.js +0 -2
- package/antd/es/carousel/style/index.css +0 -298
- package/antd/es/carousel/style/index.d.ts +0 -2
- package/antd/es/carousel/style/index.js +0 -2
- package/antd/es/carousel/style/index.less +0 -267
- package/antd/es/carousel/style/rtl.less +0 -52
- package/antd/es/cascader/style/css.js +0 -5
- package/antd/es/cascader/style/index.css +0 -296
- package/antd/es/cascader/style/index.d.ts +0 -4
- package/antd/es/cascader/style/index.js +0 -5
- package/antd/es/cascader/style/index.less +0 -243
- package/antd/es/cascader/style/rtl.less +0 -89
- package/antd/es/checkbox/style/css.js +0 -2
- package/antd/es/checkbox/style/index.css +0 -246
- package/antd/es/checkbox/style/index.d.ts +0 -2
- package/antd/es/checkbox/style/index.js +0 -2
- package/antd/es/checkbox/style/index.less +0 -5
- package/antd/es/checkbox/style/mixin.less +0 -221
- package/antd/es/checkbox/style/rtl.less +0 -26
- package/antd/es/col/style/css.js +0 -4
- package/antd/es/col/style/index.d.ts +0 -2
- package/antd/es/col/style/index.js +0 -4
- package/antd/es/collapse/style/css.js +0 -2
- package/antd/es/collapse/style/index.css +0 -175
- package/antd/es/collapse/style/index.d.ts +0 -2
- package/antd/es/collapse/style/index.js +0 -2
- package/antd/es/collapse/style/index.less +0 -153
- package/antd/es/collapse/style/rtl.less +0 -42
- package/antd/es/comment/style/css.js +0 -2
- package/antd/es/comment/style/index.css +0 -124
- package/antd/es/comment/style/index.d.ts +0 -2
- package/antd/es/comment/style/index.js +0 -2
- package/antd/es/comment/style/index.less +0 -101
- package/antd/es/comment/style/rtl.less +0 -50
- package/antd/es/config-provider/style/css.js +0 -1
- package/antd/es/config-provider/style/index.css +0 -4
- package/antd/es/config-provider/style/index.d.ts +0 -1
- package/antd/es/config-provider/style/index.js +0 -1
- package/antd/es/config-provider/style/index.less +0 -2
- package/antd/es/date-picker/style/css.js +0 -4
- package/antd/es/date-picker/style/index.css +0 -1060
- package/antd/es/date-picker/style/index.d.ts +0 -3
- package/antd/es/date-picker/style/index.js +0 -4
- package/antd/es/date-picker/style/index.less +0 -335
- package/antd/es/date-picker/style/panel.less +0 -681
- package/antd/es/date-picker/style/rtl.less +0 -216
- package/antd/es/descriptions/style/css.js +0 -2
- package/antd/es/descriptions/style/index.css +0 -132
- package/antd/es/descriptions/style/index.d.ts +0 -2
- package/antd/es/descriptions/style/index.js +0 -2
- package/antd/es/descriptions/style/index.less +0 -164
- package/antd/es/descriptions/style/rtl.less +0 -18
- package/antd/es/divider/style/css.js +0 -2
- package/antd/es/divider/style/index.css +0 -115
- package/antd/es/divider/style/index.d.ts +0 -2
- package/antd/es/divider/style/index.js +0 -2
- package/antd/es/divider/style/index.less +0 -103
- package/antd/es/divider/style/rtl.less +0 -36
- package/antd/es/drawer/style/css.js +0 -3
- package/antd/es/drawer/style/customize.less +0 -3
- package/antd/es/drawer/style/drawer.less +0 -256
- package/antd/es/drawer/style/index.css +0 -253
- package/antd/es/drawer/style/index.d.ts +0 -2
- package/antd/es/drawer/style/index.js +0 -3
- package/antd/es/drawer/style/index.less +0 -5
- package/antd/es/drawer/style/rtl.less +0 -16
- package/antd/es/dropdown/style/css.js +0 -4
- package/antd/es/dropdown/style/index.css +0 -405
- package/antd/es/dropdown/style/index.d.ts +0 -3
- package/antd/es/dropdown/style/index.js +0 -4
- package/antd/es/dropdown/style/index.less +0 -369
- package/antd/es/dropdown/style/rtl.less +0 -85
- package/antd/es/dropdown/style/status.less +0 -12
- package/antd/es/empty/style/css.js +0 -2
- package/antd/es/empty/style/index.css +0 -75
- package/antd/es/empty/style/index.d.ts +0 -2
- package/antd/es/empty/style/index.js +0 -2
- package/antd/es/empty/style/index.less +0 -139
- package/antd/es/empty/style/rtl.less +0 -10
- package/antd/es/form/style/components.less +0 -69
- package/antd/es/form/style/css.js +0 -4
- package/antd/es/form/style/horizontal.less +0 -10
- package/antd/es/form/style/index.css +0 -939
- package/antd/es/form/style/index.d.ts +0 -3
- package/antd/es/form/style/index.js +0 -4
- package/antd/es/form/style/index.less +0 -233
- package/antd/es/form/style/inline.less +0 -35
- package/antd/es/form/style/mixin.less +0 -118
- package/antd/es/form/style/rtl.less +0 -178
- package/antd/es/form/style/status.less +0 -251
- package/antd/es/form/style/vertical.less +0 -84
- package/antd/es/grid/style/css.js +0 -2
- package/antd/es/grid/style/index.css +0 -5889
- package/antd/es/grid/style/index.d.ts +0 -2
- package/antd/es/grid/style/index.js +0 -2
- package/antd/es/grid/style/index.less +0 -113
- package/antd/es/grid/style/mixin.less +0 -53
- package/antd/es/grid/style/rtl.less +0 -74
- package/antd/es/icon/style/css.js +0 -2
- package/antd/es/icon/style/index.css +0 -4
- package/antd/es/icon/style/index.d.ts +0 -2
- package/antd/es/icon/style/index.js +0 -2
- package/antd/es/icon/style/index.less +0 -4
- package/antd/es/input/style/IE11.less +0 -20
- package/antd/es/input/style/affix.less +0 -48
- package/antd/es/input/style/allow-clear.less +0 -52
- package/antd/es/input/style/css.js +0 -4
- package/antd/es/input/style/index.css +0 -820
- package/antd/es/input/style/index.d.ts +0 -3
- package/antd/es/input/style/index.js +0 -4
- package/antd/es/input/style/index.less +0 -50
- package/antd/es/input/style/mixin.less +0 -398
- package/antd/es/input/style/rtl.less +0 -235
- package/antd/es/input/style/search-input.less +0 -90
- package/antd/es/input-number/style/css.js +0 -2
- package/antd/es/input-number/style/index.css +0 -338
- package/antd/es/input-number/style/index.d.ts +0 -2
- package/antd/es/input-number/style/index.js +0 -2
- package/antd/es/input-number/style/index.less +0 -186
- package/antd/es/input-number/style/rtl.less +0 -28
- package/antd/es/layout/style/css.js +0 -2
- package/antd/es/layout/style/index.css +0 -135
- package/antd/es/layout/style/index.d.ts +0 -2
- package/antd/es/layout/style/index.js +0 -2
- package/antd/es/layout/style/index.less +0 -126
- package/antd/es/layout/style/light.less +0 -15
- package/antd/es/layout/style/rtl.less +0 -10
- package/antd/es/list/style/bordered.less +0 -44
- package/antd/es/list/style/css.js +0 -7
- package/antd/es/list/style/customize.less +0 -12
- package/antd/es/list/style/index.css +0 -343
- package/antd/es/list/style/index.d.ts +0 -6
- package/antd/es/list/style/index.js +0 -7
- package/antd/es/list/style/index.less +0 -239
- package/antd/es/list/style/responsive.less +0 -40
- package/antd/es/list/style/rtl.less +0 -139
- package/antd/es/locale-provider/style/css.js +0 -1
- package/antd/es/locale-provider/style/index.css +0 -4
- package/antd/es/locale-provider/style/index.d.ts +0 -1
- package/antd/es/locale-provider/style/index.js +0 -1
- package/antd/es/locale-provider/style/index.less +0 -2
- package/antd/es/mentions/style/css.js +0 -4
- package/antd/es/mentions/style/index.css +0 -287
- package/antd/es/mentions/style/index.d.ts +0 -3
- package/antd/es/mentions/style/index.js +0 -4
- package/antd/es/mentions/style/index.less +0 -169
- package/antd/es/mentions/style/rtl.less +0 -10
- package/antd/es/menu/style/css.js +0 -5
- package/antd/es/menu/style/dark.less +0 -148
- package/antd/es/menu/style/index.css +0 -907
- package/antd/es/menu/style/index.d.ts +0 -3
- package/antd/es/menu/style/index.js +0 -5
- package/antd/es/menu/style/index.less +0 -587
- package/antd/es/menu/style/rtl.less +0 -162
- package/antd/es/menu/style/status.less +0 -47
- package/antd/es/message/style/css.js +0 -2
- package/antd/es/message/style/index.css +0 -95
- package/antd/es/message/style/index.d.ts +0 -2
- package/antd/es/message/style/index.js +0 -2
- package/antd/es/message/style/index.less +0 -73
- package/antd/es/message/style/rtl.less +0 -17
- package/antd/es/modal/style/confirm.less +0 -78
- package/antd/es/modal/style/css.js +0 -4
- package/antd/es/modal/style/customize.less +0 -3
- package/antd/es/modal/style/index.css +0 -261
- package/antd/es/modal/style/index.d.ts +0 -3
- package/antd/es/modal/style/index.js +0 -4
- package/antd/es/modal/style/index.less +0 -6
- package/antd/es/modal/style/modal.less +0 -164
- package/antd/es/modal/style/rtl.less +0 -73
- package/antd/es/notification/style/css.js +0 -2
- package/antd/es/notification/style/customize.less +0 -3
- package/antd/es/notification/style/index.css +0 -273
- package/antd/es/notification/style/index.d.ts +0 -2
- package/antd/es/notification/style/index.js +0 -2
- package/antd/es/notification/style/index.less +0 -221
- package/antd/es/notification/style/rtl.less +0 -53
- package/antd/es/page-header/style/css.js +0 -4
- package/antd/es/page-header/style/index.css +0 -167
- package/antd/es/page-header/style/index.d.ts +0 -3
- package/antd/es/page-header/style/index.js +0 -4
- package/antd/es/page-header/style/index.less +0 -125
- package/antd/es/page-header/style/rtl.less +0 -76
- package/antd/es/pagination/style/css.js +0 -5
- package/antd/es/pagination/style/index.css +0 -522
- package/antd/es/pagination/style/index.d.ts +0 -3
- package/antd/es/pagination/style/index.js +0 -5
- package/antd/es/pagination/style/index.less +0 -407
- package/antd/es/pagination/style/rtl.less +0 -75
- package/antd/es/popconfirm/style/css.js +0 -6
- package/antd/es/popconfirm/style/index.css +0 -7
- package/antd/es/popconfirm/style/index.d.ts +0 -4
- package/antd/es/popconfirm/style/index.js +0 -6
- package/antd/es/popconfirm/style/index.less +0 -8
- package/antd/es/popover/style/css.js +0 -3
- package/antd/es/popover/style/customize.less +0 -3
- package/antd/es/popover/style/index.css +0 -224
- package/antd/es/popover/style/index.d.ts +0 -2
- package/antd/es/popover/style/index.js +0 -3
- package/antd/es/popover/style/index.less +0 -208
- package/antd/es/popover/style/rtl.less +0 -33
- package/antd/es/progress/style/css.js +0 -2
- package/antd/es/progress/style/index.css +0 -219
- package/antd/es/progress/style/index.d.ts +0 -2
- package/antd/es/progress/style/index.js +0 -2
- package/antd/es/progress/style/index.less +0 -205
- package/antd/es/progress/style/rtl.less +0 -37
- package/antd/es/radio/style/css.js +0 -2
- package/antd/es/radio/style/index.css +0 -374
- package/antd/es/radio/style/index.d.ts +0 -2
- package/antd/es/radio/style/index.js +0 -2
- package/antd/es/radio/style/index.less +0 -348
- package/antd/es/radio/style/rtl.less +0 -61
- package/antd/es/rate/style/css.js +0 -4
- package/antd/es/rate/style/index.css +0 -97
- package/antd/es/rate/style/index.d.ts +0 -3
- package/antd/es/rate/style/index.js +0 -4
- package/antd/es/rate/style/index.less +0 -87
- package/antd/es/rate/style/rtl.less +0 -26
- package/antd/es/result/style/css.js +0 -2
- package/antd/es/result/style/index.css +0 -68
- package/antd/es/result/style/index.d.ts +0 -2
- package/antd/es/result/style/index.js +0 -2
- package/antd/es/result/style/index.less +0 -74
- package/antd/es/result/style/rtl.less +0 -25
- package/antd/es/row/style/css.js +0 -4
- package/antd/es/row/style/index.d.ts +0 -2
- package/antd/es/row/style/index.js +0 -4
- package/antd/es/select/style/css.js +0 -4
- package/antd/es/select/style/index.css +0 -707
- package/antd/es/select/style/index.d.ts +0 -3
- package/antd/es/select/style/index.js +0 -4
- package/antd/es/select/style/index.less +0 -294
- package/antd/es/select/style/multiple.less +0 -194
- package/antd/es/select/style/rtl.less +0 -186
- package/antd/es/select/style/single.less +0 -180
- package/antd/es/skeleton/style/css.js +0 -2
- package/antd/es/skeleton/style/index.css +0 -284
- package/antd/es/skeleton/style/index.d.ts +0 -2
- package/antd/es/skeleton/style/index.js +0 -2
- package/antd/es/skeleton/style/index.less +0 -265
- package/antd/es/skeleton/style/rtl.less +0 -47
- package/antd/es/slider/style/css.js +0 -4
- package/antd/es/slider/style/index.css +0 -223
- package/antd/es/slider/style/index.d.ts +0 -3
- package/antd/es/slider/style/index.js +0 -4
- package/antd/es/slider/style/index.less +0 -206
- package/antd/es/slider/style/rtl.less +0 -70
- package/antd/es/space/style/css.js +0 -2
- package/antd/es/space/style/index.css +0 -38
- package/antd/es/space/style/index.d.ts +0 -2
- package/antd/es/space/style/index.js +0 -2
- package/antd/es/space/style/index.less +0 -28
- package/antd/es/space/style/rtl.less +0 -10
- package/antd/es/spin/style/css.js +0 -2
- package/antd/es/spin/style/index.css +0 -235
- package/antd/es/spin/style/index.d.ts +0 -2
- package/antd/es/spin/style/index.js +0 -2
- package/antd/es/spin/style/index.less +0 -216
- package/antd/es/spin/style/rtl.less +0 -25
- package/antd/es/statistic/style/css.js +0 -2
- package/antd/es/statistic/style/index.css +0 -56
- package/antd/es/statistic/style/index.d.ts +0 -2
- package/antd/es/statistic/style/index.js +0 -2
- package/antd/es/statistic/style/index.less +0 -44
- package/antd/es/statistic/style/rtl.less +0 -26
- package/antd/es/steps/style/css.js +0 -3
- package/antd/es/steps/style/custom-icon.less +0 -32
- package/antd/es/steps/style/index.css +0 -812
- package/antd/es/steps/style/index.d.ts +0 -3
- package/antd/es/steps/style/index.js +0 -3
- package/antd/es/steps/style/index.less +0 -246
- package/antd/es/steps/style/label-placement.less +0 -39
- package/antd/es/steps/style/nav.less +0 -124
- package/antd/es/steps/style/progress-dot.less +0 -79
- package/antd/es/steps/style/progress.less +0 -21
- package/antd/es/steps/style/rtl.less +0 -249
- package/antd/es/steps/style/small.less +0 -47
- package/antd/es/steps/style/vertical.less +0 -77
- package/antd/es/switch/style/css.js +0 -2
- package/antd/es/switch/style/index.css +0 -166
- package/antd/es/switch/style/index.d.ts +0 -2
- package/antd/es/switch/style/index.js +0 -2
- package/antd/es/switch/style/index.less +0 -153
- package/antd/es/switch/style/rtl.less +0 -50
- package/antd/es/table/style/bordered.less +0 -122
- package/antd/es/table/style/css.js +0 -13
- package/antd/es/table/style/index.css +0 -806
- package/antd/es/table/style/index.d.ts +0 -10
- package/antd/es/table/style/index.js +0 -13
- package/antd/es/table/style/index.less +0 -616
- package/antd/es/table/style/radius.less +0 -45
- package/antd/es/table/style/rtl.less +0 -180
- package/antd/es/table/style/size.less +0 -68
- package/antd/es/tabs/style/card.less +0 -97
- package/antd/es/tabs/style/css.js +0 -2
- package/antd/es/tabs/style/dropdown.less +0 -60
- package/antd/es/tabs/style/index.css +0 -664
- package/antd/es/tabs/style/index.d.ts +0 -2
- package/antd/es/tabs/style/index.js +0 -2
- package/antd/es/tabs/style/index.less +0 -224
- package/antd/es/tabs/style/position.less +0 -195
- package/antd/es/tabs/style/rtl.less +0 -73
- package/antd/es/tabs/style/size.less +0 -41
- package/antd/es/tag/style/css.js +0 -2
- package/antd/es/tag/style/index.css +0 -256
- package/antd/es/tag/style/index.d.ts +0 -2
- package/antd/es/tag/style/index.js +0 -2
- package/antd/es/tag/style/index.less +0 -130
- package/antd/es/tag/style/rtl.less +0 -28
- package/antd/es/time-picker/style/css.js +0 -4
- package/antd/es/time-picker/style/index.css +0 -4
- package/antd/es/time-picker/style/index.d.ts +0 -3
- package/antd/es/time-picker/style/index.js +0 -4
- package/antd/es/time-picker/style/index.less +0 -3
- package/antd/es/timeline/style/css.js +0 -2
- package/antd/es/timeline/style/index.css +0 -240
- package/antd/es/timeline/style/index.d.ts +0 -2
- package/antd/es/timeline/style/index.js +0 -2
- package/antd/es/timeline/style/index.less +0 -186
- package/antd/es/timeline/style/rtl.less +0 -135
- package/antd/es/tooltip/style/css.js +0 -2
- package/antd/es/tooltip/style/index.css +0 -261
- package/antd/es/tooltip/style/index.d.ts +0 -2
- package/antd/es/tooltip/style/index.js +0 -2
- package/antd/es/tooltip/style/index.less +0 -206
- package/antd/es/tooltip/style/rtl.less +0 -14
- package/antd/es/transfer/style/css.js +0 -10
- package/antd/es/transfer/style/customize.less +0 -45
- package/antd/es/transfer/style/index.css +0 -346
- package/antd/es/transfer/style/index.d.ts +0 -9
- package/antd/es/transfer/style/index.js +0 -10
- package/antd/es/transfer/style/index.less +0 -237
- package/antd/es/transfer/style/rtl.less +0 -63
- package/antd/es/tree/style/css.js +0 -2
- package/antd/es/tree/style/directory.less +0 -72
- package/antd/es/tree/style/index.css +0 -508
- package/antd/es/tree/style/index.d.ts +0 -2
- package/antd/es/tree/style/index.js +0 -2
- package/antd/es/tree/style/index.less +0 -14
- package/antd/es/tree/style/mixin.less +0 -264
- package/antd/es/tree/style/rtl.less +0 -64
- package/antd/es/tree-select/style/css.js +0 -6
- package/antd/es/tree-select/style/index.css +0 -463
- package/antd/es/tree-select/style/index.d.ts +0 -4
- package/antd/es/tree-select/style/index.js +0 -6
- package/antd/es/tree-select/style/index.less +0 -55
- package/antd/es/typography/style/css.js +0 -5
- package/antd/es/typography/style/index.css +0 -277
- package/antd/es/typography/style/index.d.ts +0 -4
- package/antd/es/typography/style/index.js +0 -5
- package/antd/es/typography/style/index.less +0 -225
- package/antd/es/typography/style/rtl.less +0 -54
- package/antd/es/upload/style/css.js +0 -6
- package/antd/es/upload/style/index.css +0 -694
- package/antd/es/upload/style/index.d.ts +0 -5
- package/antd/es/upload/style/index.js +0 -6
- package/antd/es/upload/style/index.less +0 -590
- package/antd/es/upload/style/rtl.less +0 -188
- package/antd/es/version/style/css.js +0 -2
- package/antd/es/version/style/index.d.ts +0 -1
- package/antd/es/version/style/index.js +0 -2
- package/antd/lib/affix/style/css.js +0 -5
- package/antd/lib/affix/style/index.css +0 -8
- package/antd/lib/affix/style/index.d.ts +0 -2
- package/antd/lib/affix/style/index.js +0 -5
- package/antd/lib/affix/style/index.less +0 -6
- package/antd/lib/alert/style/css.js +0 -5
- package/antd/lib/alert/style/index.css +0 -260
- package/antd/lib/alert/style/index.d.ts +0 -2
- package/antd/lib/alert/style/index.js +0 -5
- package/antd/lib/alert/style/index.less +0 -196
- package/antd/lib/alert/style/rtl.less +0 -74
- package/antd/lib/anchor/style/css.js +0 -7
- package/antd/lib/anchor/style/index.css +0 -107
- package/antd/lib/anchor/style/index.d.ts +0 -3
- package/antd/lib/anchor/style/index.js +0 -7
- package/antd/lib/anchor/style/index.less +0 -84
- package/antd/lib/anchor/style/rtl.less +0 -40
- package/antd/lib/auto-complete/style/css.js +0 -7
- package/antd/lib/auto-complete/style/index.css +0 -20
- package/antd/lib/auto-complete/style/index.d.ts +0 -3
- package/antd/lib/auto-complete/style/index.js +0 -7
- package/antd/lib/auto-complete/style/index.less +0 -16
- package/antd/lib/avatar/style/css.js +0 -7
- package/antd/lib/avatar/style/group.less +0 -22
- package/antd/lib/avatar/style/index.css +0 -112
- package/antd/lib/avatar/style/index.d.ts +0 -3
- package/antd/lib/avatar/style/index.js +0 -7
- package/antd/lib/avatar/style/index.less +0 -66
- package/antd/lib/avatar/style/rtl.less +0 -20
- package/antd/lib/back-top/style/css.js +0 -5
- package/antd/lib/back-top/style/index.css +0 -62
- package/antd/lib/back-top/style/index.d.ts +0 -2
- package/antd/lib/back-top/style/index.js +0 -5
- package/antd/lib/back-top/style/index.less +0 -49
- package/antd/lib/back-top/style/responsive.less +0 -11
- package/antd/lib/badge/style/css.js +0 -7
- package/antd/lib/badge/style/index.css +0 -372
- package/antd/lib/badge/style/index.d.ts +0 -3
- package/antd/lib/badge/style/index.js +0 -7
- package/antd/lib/badge/style/index.less +0 -193
- package/antd/lib/badge/style/ribbon.less +0 -84
- package/antd/lib/badge/style/rtl.less +0 -111
- package/antd/lib/breadcrumb/style/css.js +0 -9
- package/antd/lib/breadcrumb/style/index.css +0 -73
- package/antd/lib/breadcrumb/style/index.d.ts +0 -4
- package/antd/lib/breadcrumb/style/index.js +0 -9
- package/antd/lib/breadcrumb/style/index.less +0 -54
- package/antd/lib/breadcrumb/style/rtl.less +0 -34
- package/antd/lib/button/style/css.js +0 -5
- package/antd/lib/button/style/index.css +0 -1915
- package/antd/lib/button/style/index.d.ts +0 -2
- package/antd/lib/button/style/index.js +0 -5
- package/antd/lib/button/style/index.less +0 -249
- package/antd/lib/button/style/mixin.less +0 -518
- package/antd/lib/button/style/rtl.less +0 -113
- package/antd/lib/calendar/style/css.js +0 -11
- package/antd/lib/calendar/style/index.css +0 -180
- package/antd/lib/calendar/style/index.d.ts +0 -5
- package/antd/lib/calendar/style/index.js +0 -11
- package/antd/lib/calendar/style/index.less +0 -192
- package/antd/lib/calendar/style/rtl.less +0 -52
- package/antd/lib/card/style/css.js +0 -11
- package/antd/lib/card/style/index.css +0 -317
- package/antd/lib/card/style/index.d.ts +0 -5
- package/antd/lib/card/style/index.js +0 -11
- package/antd/lib/card/style/index.less +0 -293
- package/antd/lib/card/style/size.less +0 -22
- package/antd/lib/carousel/style/css.js +0 -5
- package/antd/lib/carousel/style/index.css +0 -298
- package/antd/lib/carousel/style/index.d.ts +0 -2
- package/antd/lib/carousel/style/index.js +0 -5
- package/antd/lib/carousel/style/index.less +0 -267
- package/antd/lib/carousel/style/rtl.less +0 -52
- package/antd/lib/cascader/style/css.js +0 -9
- package/antd/lib/cascader/style/index.css +0 -296
- package/antd/lib/cascader/style/index.d.ts +0 -4
- package/antd/lib/cascader/style/index.js +0 -9
- package/antd/lib/cascader/style/index.less +0 -243
- package/antd/lib/cascader/style/rtl.less +0 -89
- package/antd/lib/checkbox/style/css.js +0 -5
- package/antd/lib/checkbox/style/index.css +0 -246
- package/antd/lib/checkbox/style/index.d.ts +0 -2
- package/antd/lib/checkbox/style/index.js +0 -5
- package/antd/lib/checkbox/style/index.less +0 -5
- package/antd/lib/checkbox/style/mixin.less +0 -221
- package/antd/lib/checkbox/style/rtl.less +0 -26
- package/antd/lib/col/style/css.js +0 -5
- package/antd/lib/col/style/index.d.ts +0 -2
- package/antd/lib/col/style/index.js +0 -5
- package/antd/lib/collapse/style/css.js +0 -5
- package/antd/lib/collapse/style/index.css +0 -175
- package/antd/lib/collapse/style/index.d.ts +0 -2
- package/antd/lib/collapse/style/index.js +0 -5
- package/antd/lib/collapse/style/index.less +0 -153
- package/antd/lib/collapse/style/rtl.less +0 -42
- package/antd/lib/comment/style/css.js +0 -5
- package/antd/lib/comment/style/index.css +0 -124
- package/antd/lib/comment/style/index.d.ts +0 -2
- package/antd/lib/comment/style/index.js +0 -5
- package/antd/lib/comment/style/index.less +0 -101
- package/antd/lib/comment/style/rtl.less +0 -50
- package/antd/lib/config-provider/style/css.js +0 -3
- package/antd/lib/config-provider/style/index.css +0 -4
- package/antd/lib/config-provider/style/index.d.ts +0 -1
- package/antd/lib/config-provider/style/index.js +0 -3
- package/antd/lib/config-provider/style/index.less +0 -2
- package/antd/lib/date-picker/style/css.js +0 -7
- package/antd/lib/date-picker/style/index.css +0 -1060
- package/antd/lib/date-picker/style/index.d.ts +0 -3
- package/antd/lib/date-picker/style/index.js +0 -7
- package/antd/lib/date-picker/style/index.less +0 -335
- package/antd/lib/date-picker/style/panel.less +0 -681
- package/antd/lib/date-picker/style/rtl.less +0 -216
- package/antd/lib/descriptions/style/css.js +0 -5
- package/antd/lib/descriptions/style/index.css +0 -132
- package/antd/lib/descriptions/style/index.d.ts +0 -2
- package/antd/lib/descriptions/style/index.js +0 -5
- package/antd/lib/descriptions/style/index.less +0 -164
- package/antd/lib/descriptions/style/rtl.less +0 -18
- package/antd/lib/divider/style/css.js +0 -5
- package/antd/lib/divider/style/index.css +0 -115
- package/antd/lib/divider/style/index.d.ts +0 -2
- package/antd/lib/divider/style/index.js +0 -5
- package/antd/lib/divider/style/index.less +0 -103
- package/antd/lib/divider/style/rtl.less +0 -36
- package/antd/lib/drawer/style/css.js +0 -5
- package/antd/lib/drawer/style/customize.less +0 -3
- package/antd/lib/drawer/style/drawer.less +0 -256
- package/antd/lib/drawer/style/index.css +0 -253
- package/antd/lib/drawer/style/index.d.ts +0 -2
- package/antd/lib/drawer/style/index.js +0 -5
- package/antd/lib/drawer/style/index.less +0 -5
- package/antd/lib/drawer/style/rtl.less +0 -16
- package/antd/lib/dropdown/style/css.js +0 -7
- package/antd/lib/dropdown/style/index.css +0 -405
- package/antd/lib/dropdown/style/index.d.ts +0 -3
- package/antd/lib/dropdown/style/index.js +0 -7
- package/antd/lib/dropdown/style/index.less +0 -369
- package/antd/lib/dropdown/style/rtl.less +0 -85
- package/antd/lib/dropdown/style/status.less +0 -12
- package/antd/lib/empty/style/css.js +0 -5
- package/antd/lib/empty/style/index.css +0 -75
- package/antd/lib/empty/style/index.d.ts +0 -2
- package/antd/lib/empty/style/index.js +0 -5
- package/antd/lib/empty/style/index.less +0 -139
- package/antd/lib/empty/style/rtl.less +0 -10
- package/antd/lib/form/style/components.less +0 -69
- package/antd/lib/form/style/css.js +0 -7
- package/antd/lib/form/style/horizontal.less +0 -10
- package/antd/lib/form/style/index.css +0 -939
- package/antd/lib/form/style/index.d.ts +0 -3
- package/antd/lib/form/style/index.js +0 -7
- package/antd/lib/form/style/index.less +0 -233
- package/antd/lib/form/style/inline.less +0 -35
- package/antd/lib/form/style/mixin.less +0 -118
- package/antd/lib/form/style/rtl.less +0 -178
- package/antd/lib/form/style/status.less +0 -251
- package/antd/lib/form/style/vertical.less +0 -84
- package/antd/lib/grid/style/css.js +0 -5
- package/antd/lib/grid/style/index.css +0 -5889
- package/antd/lib/grid/style/index.d.ts +0 -2
- package/antd/lib/grid/style/index.js +0 -5
- package/antd/lib/grid/style/index.less +0 -113
- package/antd/lib/grid/style/mixin.less +0 -53
- package/antd/lib/grid/style/rtl.less +0 -74
- package/antd/lib/icon/style/css.js +0 -5
- package/antd/lib/icon/style/index.css +0 -4
- package/antd/lib/icon/style/index.d.ts +0 -2
- package/antd/lib/icon/style/index.js +0 -5
- package/antd/lib/icon/style/index.less +0 -4
- package/antd/lib/input/style/IE11.less +0 -20
- package/antd/lib/input/style/affix.less +0 -48
- package/antd/lib/input/style/allow-clear.less +0 -52
- package/antd/lib/input/style/css.js +0 -7
- package/antd/lib/input/style/index.css +0 -820
- package/antd/lib/input/style/index.d.ts +0 -3
- package/antd/lib/input/style/index.js +0 -7
- package/antd/lib/input/style/index.less +0 -50
- package/antd/lib/input/style/mixin.less +0 -398
- package/antd/lib/input/style/rtl.less +0 -235
- package/antd/lib/input/style/search-input.less +0 -90
- package/antd/lib/input-number/style/css.js +0 -5
- package/antd/lib/input-number/style/index.css +0 -338
- package/antd/lib/input-number/style/index.d.ts +0 -2
- package/antd/lib/input-number/style/index.js +0 -5
- package/antd/lib/input-number/style/index.less +0 -186
- package/antd/lib/input-number/style/rtl.less +0 -28
- package/antd/lib/layout/style/css.js +0 -5
- package/antd/lib/layout/style/index.css +0 -135
- package/antd/lib/layout/style/index.d.ts +0 -2
- package/antd/lib/layout/style/index.js +0 -5
- package/antd/lib/layout/style/index.less +0 -126
- package/antd/lib/layout/style/light.less +0 -15
- package/antd/lib/layout/style/rtl.less +0 -10
- package/antd/lib/list/style/bordered.less +0 -44
- package/antd/lib/list/style/css.js +0 -13
- package/antd/lib/list/style/customize.less +0 -12
- package/antd/lib/list/style/index.css +0 -343
- package/antd/lib/list/style/index.d.ts +0 -6
- package/antd/lib/list/style/index.js +0 -13
- package/antd/lib/list/style/index.less +0 -239
- package/antd/lib/list/style/responsive.less +0 -40
- package/antd/lib/list/style/rtl.less +0 -139
- package/antd/lib/locale-provider/style/css.js +0 -3
- package/antd/lib/locale-provider/style/index.css +0 -4
- package/antd/lib/locale-provider/style/index.d.ts +0 -1
- package/antd/lib/locale-provider/style/index.js +0 -3
- package/antd/lib/locale-provider/style/index.less +0 -2
- package/antd/lib/mentions/style/css.js +0 -7
- package/antd/lib/mentions/style/index.css +0 -287
- package/antd/lib/mentions/style/index.d.ts +0 -3
- package/antd/lib/mentions/style/index.js +0 -7
- package/antd/lib/mentions/style/index.less +0 -169
- package/antd/lib/mentions/style/rtl.less +0 -10
- package/antd/lib/menu/style/css.js +0 -7
- package/antd/lib/menu/style/dark.less +0 -148
- package/antd/lib/menu/style/index.css +0 -907
- package/antd/lib/menu/style/index.d.ts +0 -3
- package/antd/lib/menu/style/index.js +0 -7
- package/antd/lib/menu/style/index.less +0 -587
- package/antd/lib/menu/style/rtl.less +0 -162
- package/antd/lib/menu/style/status.less +0 -47
- package/antd/lib/message/style/css.js +0 -5
- package/antd/lib/message/style/index.css +0 -95
- package/antd/lib/message/style/index.d.ts +0 -2
- package/antd/lib/message/style/index.js +0 -5
- package/antd/lib/message/style/index.less +0 -73
- package/antd/lib/message/style/rtl.less +0 -17
- package/antd/lib/modal/style/confirm.less +0 -78
- package/antd/lib/modal/style/css.js +0 -7
- package/antd/lib/modal/style/customize.less +0 -3
- package/antd/lib/modal/style/index.css +0 -261
- package/antd/lib/modal/style/index.d.ts +0 -3
- package/antd/lib/modal/style/index.js +0 -7
- package/antd/lib/modal/style/index.less +0 -6
- package/antd/lib/modal/style/modal.less +0 -164
- package/antd/lib/modal/style/rtl.less +0 -73
- package/antd/lib/notification/style/css.js +0 -5
- package/antd/lib/notification/style/customize.less +0 -3
- package/antd/lib/notification/style/index.css +0 -273
- package/antd/lib/notification/style/index.d.ts +0 -2
- package/antd/lib/notification/style/index.js +0 -5
- package/antd/lib/notification/style/index.less +0 -221
- package/antd/lib/notification/style/rtl.less +0 -53
- package/antd/lib/page-header/style/css.js +0 -7
- package/antd/lib/page-header/style/index.css +0 -167
- package/antd/lib/page-header/style/index.d.ts +0 -3
- package/antd/lib/page-header/style/index.js +0 -7
- package/antd/lib/page-header/style/index.less +0 -125
- package/antd/lib/page-header/style/rtl.less +0 -76
- package/antd/lib/pagination/style/css.js +0 -7
- package/antd/lib/pagination/style/index.css +0 -522
- package/antd/lib/pagination/style/index.d.ts +0 -3
- package/antd/lib/pagination/style/index.js +0 -7
- package/antd/lib/pagination/style/index.less +0 -407
- package/antd/lib/pagination/style/rtl.less +0 -75
- package/antd/lib/popconfirm/style/css.js +0 -9
- package/antd/lib/popconfirm/style/index.css +0 -7
- package/antd/lib/popconfirm/style/index.d.ts +0 -4
- package/antd/lib/popconfirm/style/index.js +0 -9
- package/antd/lib/popconfirm/style/index.less +0 -8
- package/antd/lib/popover/style/css.js +0 -5
- package/antd/lib/popover/style/customize.less +0 -3
- package/antd/lib/popover/style/index.css +0 -224
- package/antd/lib/popover/style/index.d.ts +0 -2
- package/antd/lib/popover/style/index.js +0 -5
- package/antd/lib/popover/style/index.less +0 -208
- package/antd/lib/popover/style/rtl.less +0 -33
- package/antd/lib/progress/style/css.js +0 -5
- package/antd/lib/progress/style/index.css +0 -219
- package/antd/lib/progress/style/index.d.ts +0 -2
- package/antd/lib/progress/style/index.js +0 -5
- package/antd/lib/progress/style/index.less +0 -205
- package/antd/lib/progress/style/rtl.less +0 -37
- package/antd/lib/radio/style/css.js +0 -5
- package/antd/lib/radio/style/index.css +0 -374
- package/antd/lib/radio/style/index.d.ts +0 -2
- package/antd/lib/radio/style/index.js +0 -5
- package/antd/lib/radio/style/index.less +0 -348
- package/antd/lib/radio/style/rtl.less +0 -61
- package/antd/lib/rate/style/css.js +0 -7
- package/antd/lib/rate/style/index.css +0 -97
- package/antd/lib/rate/style/index.d.ts +0 -3
- package/antd/lib/rate/style/index.js +0 -7
- package/antd/lib/rate/style/index.less +0 -87
- package/antd/lib/rate/style/rtl.less +0 -26
- package/antd/lib/result/style/css.js +0 -5
- package/antd/lib/result/style/index.css +0 -68
- package/antd/lib/result/style/index.d.ts +0 -2
- package/antd/lib/result/style/index.js +0 -5
- package/antd/lib/result/style/index.less +0 -74
- package/antd/lib/result/style/rtl.less +0 -25
- package/antd/lib/row/style/css.js +0 -5
- package/antd/lib/row/style/index.d.ts +0 -2
- package/antd/lib/row/style/index.js +0 -5
- package/antd/lib/select/style/css.js +0 -7
- package/antd/lib/select/style/index.css +0 -707
- package/antd/lib/select/style/index.d.ts +0 -3
- package/antd/lib/select/style/index.js +0 -7
- package/antd/lib/select/style/index.less +0 -294
- package/antd/lib/select/style/multiple.less +0 -194
- package/antd/lib/select/style/rtl.less +0 -186
- package/antd/lib/select/style/single.less +0 -180
- package/antd/lib/skeleton/style/css.js +0 -5
- package/antd/lib/skeleton/style/index.css +0 -284
- package/antd/lib/skeleton/style/index.d.ts +0 -2
- package/antd/lib/skeleton/style/index.js +0 -5
- package/antd/lib/skeleton/style/index.less +0 -265
- package/antd/lib/skeleton/style/rtl.less +0 -47
- package/antd/lib/slider/style/css.js +0 -7
- package/antd/lib/slider/style/index.css +0 -223
- package/antd/lib/slider/style/index.d.ts +0 -3
- package/antd/lib/slider/style/index.js +0 -7
- package/antd/lib/slider/style/index.less +0 -206
- package/antd/lib/slider/style/rtl.less +0 -70
- package/antd/lib/space/style/css.js +0 -5
- package/antd/lib/space/style/index.css +0 -38
- package/antd/lib/space/style/index.d.ts +0 -2
- package/antd/lib/space/style/index.js +0 -5
- package/antd/lib/space/style/index.less +0 -28
- package/antd/lib/space/style/rtl.less +0 -10
- package/antd/lib/spin/style/css.js +0 -5
- package/antd/lib/spin/style/index.css +0 -235
- package/antd/lib/spin/style/index.d.ts +0 -2
- package/antd/lib/spin/style/index.js +0 -5
- package/antd/lib/spin/style/index.less +0 -216
- package/antd/lib/spin/style/rtl.less +0 -25
- package/antd/lib/statistic/style/css.js +0 -5
- package/antd/lib/statistic/style/index.css +0 -56
- package/antd/lib/statistic/style/index.d.ts +0 -2
- package/antd/lib/statistic/style/index.js +0 -5
- package/antd/lib/statistic/style/index.less +0 -44
- package/antd/lib/statistic/style/rtl.less +0 -26
- package/antd/lib/steps/style/css.js +0 -7
- package/antd/lib/steps/style/custom-icon.less +0 -32
- package/antd/lib/steps/style/index.css +0 -812
- package/antd/lib/steps/style/index.d.ts +0 -3
- package/antd/lib/steps/style/index.js +0 -7
- package/antd/lib/steps/style/index.less +0 -246
- package/antd/lib/steps/style/label-placement.less +0 -39
- package/antd/lib/steps/style/nav.less +0 -124
- package/antd/lib/steps/style/progress-dot.less +0 -79
- package/antd/lib/steps/style/progress.less +0 -21
- package/antd/lib/steps/style/rtl.less +0 -249
- package/antd/lib/steps/style/small.less +0 -47
- package/antd/lib/steps/style/vertical.less +0 -77
- package/antd/lib/style/color/bezierEasing.less +0 -110
- package/antd/lib/style/color/colorPalette.less +0 -81
- package/antd/lib/style/color/colors.less +0 -162
- package/antd/lib/style/color/tinyColor.less +0 -1184
- package/antd/lib/style/compact.less +0 -2
- package/antd/lib/style/components.less +0 -63
- package/antd/lib/style/core/base.less +0 -17
- package/antd/lib/style/core/global.less +0 -501
- package/antd/lib/style/core/iconfont.less +0 -19
- package/antd/lib/style/core/index.less +0 -5
- package/antd/lib/style/core/motion/fade.less +0 -31
- package/antd/lib/style/core/motion/move.less +0 -120
- package/antd/lib/style/core/motion/other.less +0 -51
- package/antd/lib/style/core/motion/slide.less +0 -120
- package/antd/lib/style/core/motion/zoom.less +0 -162
- package/antd/lib/style/core/motion.less +0 -19
- package/antd/lib/style/css.js +0 -3
- package/antd/lib/style/dark.less +0 -2
- package/antd/lib/style/index.css +0 -2005
- package/antd/lib/style/index.d.ts +0 -1
- package/antd/lib/style/index.js +0 -3
- package/antd/lib/style/index.less +0 -2
- package/antd/lib/style/mixins/clearfix.less +0 -15
- package/antd/lib/style/mixins/compatibility.less +0 -17
- package/antd/lib/style/mixins/customize.less +0 -170
- package/antd/lib/style/mixins/iconfont.less +0 -35
- package/antd/lib/style/mixins/index.less +0 -11
- package/antd/lib/style/mixins/motion.less +0 -35
- package/antd/lib/style/mixins/operation-unit.less +0 -18
- package/antd/lib/style/mixins/reset.less +0 -13
- package/antd/lib/style/mixins/size.less +0 -10
- package/antd/lib/style/mixins/typography.less +0 -49
- package/antd/lib/style/themes/compact.less +0 -299
- package/antd/lib/style/themes/dark.less +0 -431
- package/antd/lib/style/themes/default.less +0 -989
- package/antd/lib/style/themes/index.less +0 -1
- package/antd/lib/switch/style/css.js +0 -5
- package/antd/lib/switch/style/index.css +0 -166
- package/antd/lib/switch/style/index.d.ts +0 -2
- package/antd/lib/switch/style/index.js +0 -5
- package/antd/lib/switch/style/index.less +0 -153
- package/antd/lib/switch/style/rtl.less +0 -50
- package/antd/lib/table/style/bordered.less +0 -122
- package/antd/lib/table/style/css.js +0 -21
- package/antd/lib/table/style/index.css +0 -806
- package/antd/lib/table/style/index.d.ts +0 -10
- package/antd/lib/table/style/index.js +0 -21
- package/antd/lib/table/style/index.less +0 -616
- package/antd/lib/table/style/radius.less +0 -45
- package/antd/lib/table/style/rtl.less +0 -180
- package/antd/lib/table/style/size.less +0 -68
- package/antd/lib/tabs/style/card.less +0 -97
- package/antd/lib/tabs/style/css.js +0 -5
- package/antd/lib/tabs/style/dropdown.less +0 -60
- package/antd/lib/tabs/style/index.css +0 -664
- package/antd/lib/tabs/style/index.d.ts +0 -2
- package/antd/lib/tabs/style/index.js +0 -5
- package/antd/lib/tabs/style/index.less +0 -224
- package/antd/lib/tabs/style/position.less +0 -195
- package/antd/lib/tabs/style/rtl.less +0 -73
- package/antd/lib/tabs/style/size.less +0 -41
- package/antd/lib/tag/style/css.js +0 -5
- package/antd/lib/tag/style/index.css +0 -256
- package/antd/lib/tag/style/index.d.ts +0 -2
- package/antd/lib/tag/style/index.js +0 -5
- package/antd/lib/tag/style/index.less +0 -130
- package/antd/lib/tag/style/rtl.less +0 -28
- package/antd/lib/time-picker/style/css.js +0 -7
- package/antd/lib/time-picker/style/index.css +0 -4
- package/antd/lib/time-picker/style/index.d.ts +0 -3
- package/antd/lib/time-picker/style/index.js +0 -7
- package/antd/lib/time-picker/style/index.less +0 -3
- package/antd/lib/timeline/style/css.js +0 -5
- package/antd/lib/timeline/style/index.css +0 -240
- package/antd/lib/timeline/style/index.d.ts +0 -2
- package/antd/lib/timeline/style/index.js +0 -5
- package/antd/lib/timeline/style/index.less +0 -186
- package/antd/lib/timeline/style/rtl.less +0 -135
- package/antd/lib/tooltip/style/css.js +0 -5
- package/antd/lib/tooltip/style/index.css +0 -261
- package/antd/lib/tooltip/style/index.d.ts +0 -2
- package/antd/lib/tooltip/style/index.js +0 -5
- package/antd/lib/tooltip/style/index.less +0 -206
- package/antd/lib/tooltip/style/rtl.less +0 -14
- package/antd/lib/transfer/style/css.js +0 -19
- package/antd/lib/transfer/style/customize.less +0 -45
- package/antd/lib/transfer/style/index.css +0 -346
- package/antd/lib/transfer/style/index.d.ts +0 -9
- package/antd/lib/transfer/style/index.js +0 -19
- package/antd/lib/transfer/style/index.less +0 -237
- package/antd/lib/transfer/style/rtl.less +0 -63
- package/antd/lib/tree/style/css.js +0 -5
- package/antd/lib/tree/style/directory.less +0 -72
- package/antd/lib/tree/style/index.css +0 -508
- package/antd/lib/tree/style/index.d.ts +0 -2
- package/antd/lib/tree/style/index.js +0 -5
- package/antd/lib/tree/style/index.less +0 -14
- package/antd/lib/tree/style/mixin.less +0 -264
- package/antd/lib/tree/style/rtl.less +0 -64
- package/antd/lib/tree-select/style/css.js +0 -9
- package/antd/lib/tree-select/style/index.css +0 -463
- package/antd/lib/tree-select/style/index.d.ts +0 -4
- package/antd/lib/tree-select/style/index.js +0 -9
- package/antd/lib/tree-select/style/index.less +0 -55
- package/antd/lib/typography/style/css.js +0 -9
- package/antd/lib/typography/style/index.css +0 -277
- package/antd/lib/typography/style/index.d.ts +0 -4
- package/antd/lib/typography/style/index.js +0 -9
- package/antd/lib/typography/style/index.less +0 -225
- package/antd/lib/typography/style/rtl.less +0 -54
- package/antd/lib/upload/style/css.js +0 -11
- package/antd/lib/upload/style/index.css +0 -694
- package/antd/lib/upload/style/index.d.ts +0 -5
- package/antd/lib/upload/style/index.js +0 -11
- package/antd/lib/upload/style/index.less +0 -590
- package/antd/lib/upload/style/rtl.less +0 -188
- package/antd/lib/version/style/css.js +0 -3
- package/antd/lib/version/style/index.d.ts +0 -1
- package/antd/lib/version/style/index.js +0 -3
package/dist/umd/index.js
CHANGED
|
@@ -507,22 +507,6 @@
|
|
|
507
507
|
}));
|
|
508
508
|
};
|
|
509
509
|
|
|
510
|
-
const useParrotTranslation = () => {
|
|
511
|
-
return reactI18next.useTranslation(void 0, {
|
|
512
|
-
i18n: parrot.parrotI18n
|
|
513
|
-
});
|
|
514
|
-
};
|
|
515
|
-
|
|
516
|
-
const Arch = (props) => {
|
|
517
|
-
const { t } = useParrotTranslation();
|
|
518
|
-
const { architecture } = props;
|
|
519
|
-
let text = "";
|
|
520
|
-
if (architecture) {
|
|
521
|
-
text = t(`components.Architecture_${architecture}`);
|
|
522
|
-
}
|
|
523
|
-
return /* @__PURE__ */ React__namespace.default.createElement("span", null, text);
|
|
524
|
-
};
|
|
525
|
-
|
|
526
510
|
var __defProp$P = Object.defineProperty;
|
|
527
511
|
var __defProps$z = Object.defineProperties;
|
|
528
512
|
var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
|
|
@@ -554,31 +538,126 @@
|
|
|
554
538
|
}
|
|
555
539
|
return target;
|
|
556
540
|
};
|
|
557
|
-
|
|
558
|
-
|
|
541
|
+
let componentId = 0;
|
|
542
|
+
const Tooltip = (props) => {
|
|
543
|
+
const _a = props, {
|
|
544
|
+
followMouse,
|
|
545
|
+
overlayClassName,
|
|
546
|
+
overlayStyle,
|
|
547
|
+
children
|
|
548
|
+
} = _a, restProps = __objRest$t(_a, [
|
|
549
|
+
"followMouse",
|
|
550
|
+
"overlayClassName",
|
|
551
|
+
"overlayStyle",
|
|
552
|
+
"children"
|
|
553
|
+
]);
|
|
554
|
+
const id = React.useRef(++componentId);
|
|
555
|
+
const uniquePopupClass = `kit-popup-${id.current}`;
|
|
556
|
+
const uniqueContainerClass = `kit-tooltip-${id.current}`;
|
|
557
|
+
const _children = React.useMemo(() => {
|
|
558
|
+
if (followMouse) {
|
|
559
|
+
const child = React__namespace.default.isValidElement(children) ? children : /* @__PURE__ */ React__namespace.default.createElement("span", null, children);
|
|
560
|
+
return React__namespace.default.cloneElement(child, {
|
|
561
|
+
className: cs__default.default(child.props.className, uniqueContainerClass)
|
|
562
|
+
});
|
|
563
|
+
} else {
|
|
564
|
+
return children;
|
|
565
|
+
}
|
|
566
|
+
}, [children, followMouse, uniqueContainerClass]);
|
|
567
|
+
const onmousemove = React.useCallback(
|
|
568
|
+
(event) => {
|
|
569
|
+
const popup = document.querySelector(`.${uniquePopupClass}`);
|
|
570
|
+
if (!popup)
|
|
571
|
+
return;
|
|
572
|
+
popup.style.left = event.pageX + "px";
|
|
573
|
+
popup.style.top = event.pageY + "px";
|
|
574
|
+
},
|
|
575
|
+
[uniquePopupClass]
|
|
576
|
+
);
|
|
577
|
+
React.useEffect(() => {
|
|
578
|
+
if (followMouse) {
|
|
579
|
+
const container = document.querySelector(
|
|
580
|
+
`.${uniqueContainerClass}`
|
|
581
|
+
);
|
|
582
|
+
container == null ? void 0 : container.addEventListener("mousemove", onmousemove);
|
|
583
|
+
return () => {
|
|
584
|
+
container == null ? void 0 : container.removeEventListener("mousemove", onmousemove);
|
|
585
|
+
};
|
|
586
|
+
}
|
|
587
|
+
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
559
588
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
560
|
-
antd.
|
|
561
|
-
__spreadProps$z(__spreadValues$P({
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
589
|
+
antd.Tooltip,
|
|
590
|
+
__spreadProps$z(__spreadValues$P({}, restProps), {
|
|
591
|
+
overlayClassName: followMouse ? cs__default.default(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
592
|
+
children: _children,
|
|
593
|
+
overlayStyle: followMouse ? __spreadValues$P({
|
|
594
|
+
transform: "translate(-50%, -100%)",
|
|
595
|
+
pointerEvents: "none"
|
|
596
|
+
}, overlayStyle) : overlayStyle
|
|
565
597
|
})
|
|
566
598
|
);
|
|
567
599
|
};
|
|
568
600
|
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
601
|
+
const Inline = "i1e4sgug";
|
|
602
|
+
const Truncate = props => {
|
|
603
|
+
const {
|
|
604
|
+
text,
|
|
605
|
+
len = 100,
|
|
606
|
+
frontLen,
|
|
607
|
+
backLen = 4,
|
|
608
|
+
hoverShowFullText = true,
|
|
609
|
+
className,
|
|
610
|
+
inline
|
|
611
|
+
} = props;
|
|
612
|
+
if (len <= 0) {
|
|
613
|
+
console.error("[Truncate] prop len can not be 0 or negative number");
|
|
614
|
+
return null;
|
|
572
615
|
}
|
|
573
|
-
|
|
574
|
-
|
|
616
|
+
if (backLen < 0) {
|
|
617
|
+
console.error("[Truncate] prop backLen can not be negative number");
|
|
618
|
+
return null;
|
|
619
|
+
}
|
|
620
|
+
if (frontLen && frontLen < 0) {
|
|
621
|
+
console.error("[Truncate] prop frontLen can not be negative number");
|
|
622
|
+
return null;
|
|
623
|
+
}
|
|
624
|
+
const ellipse = "...";
|
|
625
|
+
let _backLen = Math.min(backLen, text.length - ellipse.length, len - ellipse.length);
|
|
626
|
+
const _frontLen = frontLen !== void 0 ? Math.min(frontLen, text.length - ellipse.length, len - ellipse.length) : Math.max(len - _backLen - ellipse.length, 0);
|
|
627
|
+
if (_frontLen + _backLen + ellipse.length > len) {
|
|
628
|
+
_backLen = len - _frontLen - ellipse.length;
|
|
629
|
+
}
|
|
630
|
+
const truncated = text.length <= len ? text : text.slice(0, _frontLen) + ellipse + text.slice(text.length - _backLen);
|
|
631
|
+
const Text = /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
632
|
+
className: cs__default.default([className, inline && Inline])
|
|
633
|
+
}, truncated);
|
|
634
|
+
if (!hoverShowFullText || text.length <= len) {
|
|
635
|
+
return Text;
|
|
636
|
+
}
|
|
637
|
+
return /* @__PURE__ */React__namespace.default.createElement(Tooltip, {
|
|
638
|
+
title: text
|
|
639
|
+
}, Text);
|
|
640
|
+
};
|
|
575
641
|
|
|
576
|
-
const
|
|
577
|
-
|
|
578
|
-
|
|
642
|
+
const useParrotTranslation = () => {
|
|
643
|
+
return reactI18next.useTranslation(void 0, {
|
|
644
|
+
i18n: parrot.parrotI18n
|
|
645
|
+
});
|
|
646
|
+
};
|
|
647
|
+
|
|
648
|
+
const Arch = (props) => {
|
|
649
|
+
const { t } = useParrotTranslation();
|
|
650
|
+
const { architecture } = props;
|
|
651
|
+
let text = "";
|
|
652
|
+
if (architecture) {
|
|
653
|
+
text = t(`components.Architecture_${architecture}`);
|
|
654
|
+
}
|
|
655
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", null, text);
|
|
579
656
|
};
|
|
580
657
|
|
|
581
658
|
var __defProp$O = Object.defineProperty;
|
|
659
|
+
var __defProps$y = Object.defineProperties;
|
|
660
|
+
var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
|
|
582
661
|
var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
|
|
583
662
|
var __hasOwnProp$P = Object.prototype.hasOwnProperty;
|
|
584
663
|
var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
|
|
@@ -594,18 +673,41 @@
|
|
|
594
673
|
}
|
|
595
674
|
return a;
|
|
596
675
|
};
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
676
|
+
var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
|
|
677
|
+
var __objRest$s = (source, exclude) => {
|
|
678
|
+
var target = {};
|
|
679
|
+
for (var prop in source)
|
|
680
|
+
if (__hasOwnProp$P.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
681
|
+
target[prop] = source[prop];
|
|
682
|
+
if (source != null && __getOwnPropSymbols$P)
|
|
683
|
+
for (var prop of __getOwnPropSymbols$P(source)) {
|
|
684
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$P.call(source, prop))
|
|
685
|
+
target[prop] = source[prop];
|
|
686
|
+
}
|
|
687
|
+
return target;
|
|
688
|
+
};
|
|
689
|
+
const Badge = (_a) => {
|
|
690
|
+
var _b = _a, { type = "error", className } = _b, props = __objRest$s(_b, ["type", "className"]);
|
|
691
|
+
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
692
|
+
antd.Badge,
|
|
693
|
+
__spreadProps$y(__spreadValues$O({
|
|
694
|
+
className: core.cx(`badge-${type}`, className)
|
|
695
|
+
}, props), {
|
|
696
|
+
showZero: false
|
|
697
|
+
})
|
|
698
|
+
);
|
|
699
|
+
};
|
|
700
|
+
|
|
701
|
+
function isEmpty(rawValue) {
|
|
702
|
+
if (rawValue === null || rawValue === void 0 || rawValue === MAGIC_METRIC_NULL || Number.isNaN(rawValue) || !Number.isFinite(rawValue)) {
|
|
703
|
+
return true;
|
|
606
704
|
}
|
|
607
|
-
|
|
608
|
-
|
|
705
|
+
return false;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
const Empty = (props) => {
|
|
709
|
+
const { className, style } = props;
|
|
710
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", { className, style }, "-");
|
|
609
711
|
};
|
|
610
712
|
|
|
611
713
|
var __defProp$N = Object.defineProperty;
|
|
@@ -624,17 +726,17 @@
|
|
|
624
726
|
}
|
|
625
727
|
return a;
|
|
626
728
|
};
|
|
627
|
-
const
|
|
729
|
+
const Bit = ({
|
|
628
730
|
rawValue,
|
|
629
731
|
decimals,
|
|
630
|
-
valueClassName,
|
|
631
732
|
unitClassName,
|
|
733
|
+
valueClassName,
|
|
632
734
|
emptyProps
|
|
633
735
|
}) => {
|
|
634
736
|
if (isEmpty(rawValue)) {
|
|
635
737
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$N({}, emptyProps));
|
|
636
738
|
}
|
|
637
|
-
const { value, unit } =
|
|
739
|
+
const { value, unit } = formatBits(rawValue, decimals);
|
|
638
740
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
639
741
|
};
|
|
640
742
|
|
|
@@ -654,7 +756,7 @@
|
|
|
654
756
|
}
|
|
655
757
|
return a;
|
|
656
758
|
};
|
|
657
|
-
const
|
|
759
|
+
const BitPerSeconds = ({
|
|
658
760
|
rawValue,
|
|
659
761
|
decimals,
|
|
660
762
|
valueClassName,
|
|
@@ -664,6 +766,36 @@
|
|
|
664
766
|
if (isEmpty(rawValue)) {
|
|
665
767
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$M({}, emptyProps));
|
|
666
768
|
}
|
|
769
|
+
const { value, unit } = formatBitPerSecond(rawValue, decimals);
|
|
770
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
771
|
+
};
|
|
772
|
+
|
|
773
|
+
var __defProp$L = Object.defineProperty;
|
|
774
|
+
var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
|
|
775
|
+
var __hasOwnProp$M = Object.prototype.hasOwnProperty;
|
|
776
|
+
var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
|
|
777
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
778
|
+
var __spreadValues$L = (a, b) => {
|
|
779
|
+
for (var prop in b || (b = {}))
|
|
780
|
+
if (__hasOwnProp$M.call(b, prop))
|
|
781
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
782
|
+
if (__getOwnPropSymbols$M)
|
|
783
|
+
for (var prop of __getOwnPropSymbols$M(b)) {
|
|
784
|
+
if (__propIsEnum$M.call(b, prop))
|
|
785
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
786
|
+
}
|
|
787
|
+
return a;
|
|
788
|
+
};
|
|
789
|
+
const Bps = ({
|
|
790
|
+
rawValue,
|
|
791
|
+
decimals,
|
|
792
|
+
valueClassName,
|
|
793
|
+
unitClassName,
|
|
794
|
+
emptyProps
|
|
795
|
+
}) => {
|
|
796
|
+
if (isEmpty(rawValue)) {
|
|
797
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$L({}, emptyProps));
|
|
798
|
+
}
|
|
667
799
|
const { value, unit } = formatBps(rawValue, decimals);
|
|
668
800
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
669
801
|
};
|
|
@@ -803,28 +935,28 @@
|
|
|
803
935
|
return icon != null ? React__namespace.default.cloneElement(icon, { className }) : null;
|
|
804
936
|
};
|
|
805
937
|
|
|
806
|
-
var __defProp$
|
|
807
|
-
var __getOwnPropSymbols$
|
|
808
|
-
var __hasOwnProp$
|
|
809
|
-
var __propIsEnum$
|
|
810
|
-
var __defNormalProp$
|
|
938
|
+
var __defProp$K = Object.defineProperty;
|
|
939
|
+
var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
|
|
940
|
+
var __hasOwnProp$L = Object.prototype.hasOwnProperty;
|
|
941
|
+
var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
|
|
942
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, {
|
|
811
943
|
enumerable: true,
|
|
812
944
|
configurable: true,
|
|
813
945
|
writable: true,
|
|
814
946
|
value
|
|
815
947
|
}) : obj[key] = value;
|
|
816
|
-
var __spreadValues$
|
|
817
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
818
|
-
if (__getOwnPropSymbols$
|
|
819
|
-
if (__propIsEnum$
|
|
948
|
+
var __spreadValues$K = (a, b) => {
|
|
949
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$L.call(b, prop)) __defNormalProp$K(a, prop, b[prop]);
|
|
950
|
+
if (__getOwnPropSymbols$L) for (var prop of __getOwnPropSymbols$L(b)) {
|
|
951
|
+
if (__propIsEnum$L.call(b, prop)) __defNormalProp$K(a, prop, b[prop]);
|
|
820
952
|
}
|
|
821
953
|
return a;
|
|
822
954
|
};
|
|
823
|
-
var __objRest$
|
|
955
|
+
var __objRest$r = (source, exclude) => {
|
|
824
956
|
var target = {};
|
|
825
|
-
for (var prop in source) if (__hasOwnProp$
|
|
826
|
-
if (source != null && __getOwnPropSymbols$
|
|
827
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
957
|
+
for (var prop in source) if (__hasOwnProp$L.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
958
|
+
if (source != null && __getOwnPropSymbols$L) for (var prop of __getOwnPropSymbols$L(source)) {
|
|
959
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$L.call(source, prop)) target[prop] = source[prop];
|
|
828
960
|
}
|
|
829
961
|
return target;
|
|
830
962
|
};
|
|
@@ -847,11 +979,11 @@
|
|
|
847
979
|
onMouseLeave,
|
|
848
980
|
size = "middle"
|
|
849
981
|
} = _a,
|
|
850
|
-
restProps = __objRest$
|
|
982
|
+
restProps = __objRest$r(_a, ["type", "className", "children", "prefixIcon", "hoverPrefixIcon", "suffixIcon", "hoverSuffixIcon", "onMouseEnter", "onMouseLeave", "size"]);
|
|
851
983
|
const [status, setStatus] = React.useState("normal");
|
|
852
984
|
const hasIcon = prefixIcon || suffixIcon;
|
|
853
985
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
854
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Button, __spreadValues$
|
|
986
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Button, __spreadValues$K({
|
|
855
987
|
ref,
|
|
856
988
|
className: cs__default.default(className, ButtonStyle$1, type === "link" && NoPadding, (prefixIcon || suffixIcon) && "has-icon", size === "large" && Typo.Label.l1_regular_title, size === "middle" && Typo.Label.l2_regular_title, size === "small" && Typo.Label.l3_regular_title, type && `ant-btn-${type}`, !children && children !== 0 && restProps.icon && "ant-btn-icon-only"),
|
|
857
989
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
@@ -881,97 +1013,6 @@
|
|
|
881
1013
|
}));
|
|
882
1014
|
});
|
|
883
1015
|
|
|
884
|
-
var __defProp$K = Object.defineProperty;
|
|
885
|
-
var __defProps$y = Object.defineProperties;
|
|
886
|
-
var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
|
|
887
|
-
var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
|
|
888
|
-
var __hasOwnProp$L = Object.prototype.hasOwnProperty;
|
|
889
|
-
var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
|
|
890
|
-
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
891
|
-
var __spreadValues$K = (a, b) => {
|
|
892
|
-
for (var prop in b || (b = {}))
|
|
893
|
-
if (__hasOwnProp$L.call(b, prop))
|
|
894
|
-
__defNormalProp$K(a, prop, b[prop]);
|
|
895
|
-
if (__getOwnPropSymbols$L)
|
|
896
|
-
for (var prop of __getOwnPropSymbols$L(b)) {
|
|
897
|
-
if (__propIsEnum$L.call(b, prop))
|
|
898
|
-
__defNormalProp$K(a, prop, b[prop]);
|
|
899
|
-
}
|
|
900
|
-
return a;
|
|
901
|
-
};
|
|
902
|
-
var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
|
|
903
|
-
var __objRest$r = (source, exclude) => {
|
|
904
|
-
var target = {};
|
|
905
|
-
for (var prop in source)
|
|
906
|
-
if (__hasOwnProp$L.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
907
|
-
target[prop] = source[prop];
|
|
908
|
-
if (source != null && __getOwnPropSymbols$L)
|
|
909
|
-
for (var prop of __getOwnPropSymbols$L(source)) {
|
|
910
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$L.call(source, prop))
|
|
911
|
-
target[prop] = source[prop];
|
|
912
|
-
}
|
|
913
|
-
return target;
|
|
914
|
-
};
|
|
915
|
-
let componentId = 0;
|
|
916
|
-
const Tooltip = (props) => {
|
|
917
|
-
const _a = props, {
|
|
918
|
-
followMouse,
|
|
919
|
-
overlayClassName,
|
|
920
|
-
overlayStyle,
|
|
921
|
-
children
|
|
922
|
-
} = _a, restProps = __objRest$r(_a, [
|
|
923
|
-
"followMouse",
|
|
924
|
-
"overlayClassName",
|
|
925
|
-
"overlayStyle",
|
|
926
|
-
"children"
|
|
927
|
-
]);
|
|
928
|
-
const id = React.useRef(++componentId);
|
|
929
|
-
const uniquePopupClass = `kit-popup-${id.current}`;
|
|
930
|
-
const uniqueContainerClass = `kit-tooltip-${id.current}`;
|
|
931
|
-
const _children = React.useMemo(() => {
|
|
932
|
-
if (followMouse) {
|
|
933
|
-
const child = React__namespace.default.isValidElement(children) ? children : /* @__PURE__ */ React__namespace.default.createElement("span", null, children);
|
|
934
|
-
return React__namespace.default.cloneElement(child, {
|
|
935
|
-
className: cs__default.default(child.props.className, uniqueContainerClass)
|
|
936
|
-
});
|
|
937
|
-
} else {
|
|
938
|
-
return children;
|
|
939
|
-
}
|
|
940
|
-
}, [children, followMouse, uniqueContainerClass]);
|
|
941
|
-
const onmousemove = React.useCallback(
|
|
942
|
-
(event) => {
|
|
943
|
-
const popup = document.querySelector(`.${uniquePopupClass}`);
|
|
944
|
-
if (!popup)
|
|
945
|
-
return;
|
|
946
|
-
popup.style.left = event.pageX + "px";
|
|
947
|
-
popup.style.top = event.pageY + "px";
|
|
948
|
-
},
|
|
949
|
-
[uniquePopupClass]
|
|
950
|
-
);
|
|
951
|
-
React.useEffect(() => {
|
|
952
|
-
if (followMouse) {
|
|
953
|
-
const container = document.querySelector(
|
|
954
|
-
`.${uniqueContainerClass}`
|
|
955
|
-
);
|
|
956
|
-
container == null ? void 0 : container.addEventListener("mousemove", onmousemove);
|
|
957
|
-
return () => {
|
|
958
|
-
container == null ? void 0 : container.removeEventListener("mousemove", onmousemove);
|
|
959
|
-
};
|
|
960
|
-
}
|
|
961
|
-
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
962
|
-
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
963
|
-
antd.Tooltip,
|
|
964
|
-
__spreadProps$y(__spreadValues$K({}, restProps), {
|
|
965
|
-
overlayClassName: followMouse ? cs__default.default(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
966
|
-
children: _children,
|
|
967
|
-
overlayStyle: followMouse ? __spreadValues$K({
|
|
968
|
-
transform: "translate(-50%, -100%)",
|
|
969
|
-
pointerEvents: "none"
|
|
970
|
-
}, overlayStyle) : overlayStyle
|
|
971
|
-
})
|
|
972
|
-
);
|
|
973
|
-
};
|
|
974
|
-
|
|
975
1016
|
var __defProp$J = Object.defineProperty;
|
|
976
1017
|
var __getOwnPropSymbols$K = Object.getOwnPropertySymbols;
|
|
977
1018
|
var __hasOwnProp$K = Object.prototype.hasOwnProperty;
|
|
@@ -4841,7 +4882,7 @@
|
|
|
4841
4882
|
medium: "mfsz1jz"
|
|
4842
4883
|
};
|
|
4843
4884
|
const TagStyle$1 = "tnd6h4m";
|
|
4844
|
-
const IconStyle = "i1qw4clm";
|
|
4885
|
+
const IconStyle$1 = "i1qw4clm";
|
|
4845
4886
|
|
|
4846
4887
|
var __defProp$5 = Object.defineProperty;
|
|
4847
4888
|
var __defProps$5 = Object.defineProperties;
|
|
@@ -4892,7 +4933,7 @@
|
|
|
4892
4933
|
[`ant-tag-${color}`]: PresetColors$2.includes(color)
|
|
4893
4934
|
}, "inside-tag")
|
|
4894
4935
|
}, icon && /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
4895
|
-
className: cs__default.default("ui-kit-tag-icon", IconStyle)
|
|
4936
|
+
className: cs__default.default("ui-kit-tag-icon", IconStyle$1)
|
|
4896
4937
|
}, icon), primaryContent), secondaryContent);
|
|
4897
4938
|
};
|
|
4898
4939
|
|
|
@@ -4927,7 +4968,18 @@
|
|
|
4927
4968
|
}
|
|
4928
4969
|
return target;
|
|
4929
4970
|
};
|
|
4930
|
-
const PresetColors$1 = [
|
|
4971
|
+
const PresetColors$1 = [
|
|
4972
|
+
...PresetColors$2,
|
|
4973
|
+
"red-ontint",
|
|
4974
|
+
"green-ontint"
|
|
4975
|
+
];
|
|
4976
|
+
const AntdColorMap = {
|
|
4977
|
+
processing: "blue",
|
|
4978
|
+
success: "green",
|
|
4979
|
+
error: "red",
|
|
4980
|
+
warn: "yellow",
|
|
4981
|
+
default: "gray"
|
|
4982
|
+
};
|
|
4931
4983
|
const Tag = (_a) => {
|
|
4932
4984
|
var _b = _a, {
|
|
4933
4985
|
size = "small",
|
|
@@ -4944,17 +4996,18 @@
|
|
|
4944
4996
|
"icon",
|
|
4945
4997
|
"children"
|
|
4946
4998
|
]);
|
|
4999
|
+
const computedColor = AntdColorMap[color] || color;
|
|
4947
5000
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
4948
5001
|
antd.Tag,
|
|
4949
5002
|
__spreadProps$4(__spreadValues$4({}, props), {
|
|
4950
5003
|
className: cs__default.default(className, Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
4951
|
-
[`ant-tag-${
|
|
5004
|
+
[`ant-tag-${computedColor}`]: PresetColors$1.includes(computedColor),
|
|
4952
5005
|
"tag-hover": hoverable
|
|
4953
5006
|
}),
|
|
4954
5007
|
closable: false,
|
|
4955
|
-
color:
|
|
5008
|
+
color: computedColor === "gray" ? void 0 : computedColor
|
|
4956
5009
|
}),
|
|
4957
|
-
icon && /* @__PURE__ */ React__namespace.default.createElement("span", { className:
|
|
5010
|
+
icon && /* @__PURE__ */ React__namespace.default.createElement("span", { className: IconStyle$1 }, icon),
|
|
4958
5011
|
children
|
|
4959
5012
|
);
|
|
4960
5013
|
};
|
|
@@ -5110,6 +5163,8 @@
|
|
|
5110
5163
|
})));
|
|
5111
5164
|
};
|
|
5112
5165
|
|
|
5166
|
+
const IconStyle = "iwsze0q";
|
|
5167
|
+
|
|
5113
5168
|
var __defProp$3 = Object.defineProperty;
|
|
5114
5169
|
var __defProps$3 = Object.defineProperties;
|
|
5115
5170
|
var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
|
|
@@ -5151,9 +5206,11 @@
|
|
|
5151
5206
|
size = "small",
|
|
5152
5207
|
color = "gray",
|
|
5153
5208
|
className,
|
|
5154
|
-
|
|
5209
|
+
icon,
|
|
5210
|
+
checked,
|
|
5211
|
+
children
|
|
5155
5212
|
} = _b,
|
|
5156
|
-
props = __objRest(_b, ["size", "color", "className", "checked"]);
|
|
5213
|
+
props = __objRest(_b, ["size", "color", "className", "icon", "checked", "children"]);
|
|
5157
5214
|
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$3(__spreadValues$3({}, props), {
|
|
5158
5215
|
className: cs__default.default(className, Size[size], TokenStyle, {
|
|
5159
5216
|
[Typo.Label.l4_regular]: size === "small" || size === "medium",
|
|
@@ -5167,7 +5224,9 @@
|
|
|
5167
5224
|
iconWidth: 16
|
|
5168
5225
|
}),
|
|
5169
5226
|
color: color === "gray" ? void 0 : color
|
|
5170
|
-
})
|
|
5227
|
+
}), icon && /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
5228
|
+
className: cs__default.default("ui-kit-tag-icon", IconStyle)
|
|
5229
|
+
}, icon), children);
|
|
5171
5230
|
};
|
|
5172
5231
|
|
|
5173
5232
|
function getAntdKit() {
|
|
@@ -5260,7 +5319,8 @@
|
|
|
5260
5319
|
antdTreeSelect: antd.TreeSelect,
|
|
5261
5320
|
antdDrawer: antd.Drawer,
|
|
5262
5321
|
antdSteps: antd.Steps,
|
|
5263
|
-
card: Card
|
|
5322
|
+
card: Card,
|
|
5323
|
+
truncate: Truncate
|
|
5264
5324
|
};
|
|
5265
5325
|
kit.option.isSelectOption = true;
|
|
5266
5326
|
kit.button.__ANT_BUTTON = true;
|
|
@@ -5589,6 +5649,7 @@
|
|
|
5589
5649
|
exports.KitStoreProvider = KitStoreProvider;
|
|
5590
5650
|
exports.ModalActions = ModalActions;
|
|
5591
5651
|
exports.ModalStack = ModalStack;
|
|
5652
|
+
exports.Truncate = Truncate;
|
|
5592
5653
|
exports.Typo = Typo;
|
|
5593
5654
|
exports.UIKitProvider = UIKitProvider;
|
|
5594
5655
|
exports.UIKitStore = UIKitStore;
|