@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/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Alert as Alert$1,
|
|
1
|
+
import { Alert as Alert$1, Tooltip as Tooltip$1, Badge as Badge$1, Button as Button$1, Checkbox as Checkbox$1, DatePicker, Select as Select$1, InputNumber as InputNumber$1, Input as Input$1, TimePicker as TimePicker$1, Form as Form$1, Modal as Modal$1, Steps as Steps$1, Dropdown, Menu, Progress as Progress$1, Radio as Radio$1, Switch as Switch$1, Table as Table$1, Space, List, Tag as Tag$1, Row, Col, Tree, Divider, Skeleton, Layout, AutoComplete, Popover, Timeline, Typography, Cascader, Upload, Calendar, Tabs, message, Empty as Empty$1, Collapse, TreeSelect, Drawer, ConfigProvider } from 'antd';
|
|
2
2
|
export { Col, Row } from 'antd';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { useState, useMemo, useRef, useCallback, useEffect, forwardRef, Fragment, useLayoutEffect, createContext, memo, useImperativeHandle, useContext } from 'react';
|
|
@@ -498,22 +498,6 @@ const Alert = _a => {
|
|
|
498
498
|
}));
|
|
499
499
|
};
|
|
500
500
|
|
|
501
|
-
const useParrotTranslation = () => {
|
|
502
|
-
return useTranslation(void 0, {
|
|
503
|
-
i18n: parrotI18n
|
|
504
|
-
});
|
|
505
|
-
};
|
|
506
|
-
|
|
507
|
-
const Arch = (props) => {
|
|
508
|
-
const { t } = useParrotTranslation();
|
|
509
|
-
const { architecture } = props;
|
|
510
|
-
let text = "";
|
|
511
|
-
if (architecture) {
|
|
512
|
-
text = t(`components.Architecture_${architecture}`);
|
|
513
|
-
}
|
|
514
|
-
return /* @__PURE__ */ React__default.createElement("span", null, text);
|
|
515
|
-
};
|
|
516
|
-
|
|
517
501
|
var __defProp$P = Object.defineProperty;
|
|
518
502
|
var __defProps$z = Object.defineProperties;
|
|
519
503
|
var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
|
|
@@ -545,31 +529,126 @@ var __objRest$t = (source, exclude) => {
|
|
|
545
529
|
}
|
|
546
530
|
return target;
|
|
547
531
|
};
|
|
548
|
-
|
|
549
|
-
|
|
532
|
+
let componentId = 0;
|
|
533
|
+
const Tooltip = (props) => {
|
|
534
|
+
const _a = props, {
|
|
535
|
+
followMouse,
|
|
536
|
+
overlayClassName,
|
|
537
|
+
overlayStyle,
|
|
538
|
+
children
|
|
539
|
+
} = _a, restProps = __objRest$t(_a, [
|
|
540
|
+
"followMouse",
|
|
541
|
+
"overlayClassName",
|
|
542
|
+
"overlayStyle",
|
|
543
|
+
"children"
|
|
544
|
+
]);
|
|
545
|
+
const id = useRef(++componentId);
|
|
546
|
+
const uniquePopupClass = `kit-popup-${id.current}`;
|
|
547
|
+
const uniqueContainerClass = `kit-tooltip-${id.current}`;
|
|
548
|
+
const _children = useMemo(() => {
|
|
549
|
+
if (followMouse) {
|
|
550
|
+
const child = React__default.isValidElement(children) ? children : /* @__PURE__ */ React__default.createElement("span", null, children);
|
|
551
|
+
return React__default.cloneElement(child, {
|
|
552
|
+
className: cs(child.props.className, uniqueContainerClass)
|
|
553
|
+
});
|
|
554
|
+
} else {
|
|
555
|
+
return children;
|
|
556
|
+
}
|
|
557
|
+
}, [children, followMouse, uniqueContainerClass]);
|
|
558
|
+
const onmousemove = useCallback(
|
|
559
|
+
(event) => {
|
|
560
|
+
const popup = document.querySelector(`.${uniquePopupClass}`);
|
|
561
|
+
if (!popup)
|
|
562
|
+
return;
|
|
563
|
+
popup.style.left = event.pageX + "px";
|
|
564
|
+
popup.style.top = event.pageY + "px";
|
|
565
|
+
},
|
|
566
|
+
[uniquePopupClass]
|
|
567
|
+
);
|
|
568
|
+
useEffect(() => {
|
|
569
|
+
if (followMouse) {
|
|
570
|
+
const container = document.querySelector(
|
|
571
|
+
`.${uniqueContainerClass}`
|
|
572
|
+
);
|
|
573
|
+
container == null ? void 0 : container.addEventListener("mousemove", onmousemove);
|
|
574
|
+
return () => {
|
|
575
|
+
container == null ? void 0 : container.removeEventListener("mousemove", onmousemove);
|
|
576
|
+
};
|
|
577
|
+
}
|
|
578
|
+
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
550
579
|
return /* @__PURE__ */ React__default.createElement(
|
|
551
|
-
|
|
552
|
-
__spreadProps$z(__spreadValues$P({
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
580
|
+
Tooltip$1,
|
|
581
|
+
__spreadProps$z(__spreadValues$P({}, restProps), {
|
|
582
|
+
overlayClassName: followMouse ? cs(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
583
|
+
children: _children,
|
|
584
|
+
overlayStyle: followMouse ? __spreadValues$P({
|
|
585
|
+
transform: "translate(-50%, -100%)",
|
|
586
|
+
pointerEvents: "none"
|
|
587
|
+
}, overlayStyle) : overlayStyle
|
|
556
588
|
})
|
|
557
589
|
);
|
|
558
590
|
};
|
|
559
591
|
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
592
|
+
const Inline = "i1e4sgug";
|
|
593
|
+
const Truncate = props => {
|
|
594
|
+
const {
|
|
595
|
+
text,
|
|
596
|
+
len = 100,
|
|
597
|
+
frontLen,
|
|
598
|
+
backLen = 4,
|
|
599
|
+
hoverShowFullText = true,
|
|
600
|
+
className,
|
|
601
|
+
inline
|
|
602
|
+
} = props;
|
|
603
|
+
if (len <= 0) {
|
|
604
|
+
console.error("[Truncate] prop len can not be 0 or negative number");
|
|
605
|
+
return null;
|
|
563
606
|
}
|
|
564
|
-
|
|
565
|
-
|
|
607
|
+
if (backLen < 0) {
|
|
608
|
+
console.error("[Truncate] prop backLen can not be negative number");
|
|
609
|
+
return null;
|
|
610
|
+
}
|
|
611
|
+
if (frontLen && frontLen < 0) {
|
|
612
|
+
console.error("[Truncate] prop frontLen can not be negative number");
|
|
613
|
+
return null;
|
|
614
|
+
}
|
|
615
|
+
const ellipse = "...";
|
|
616
|
+
let _backLen = Math.min(backLen, text.length - ellipse.length, len - ellipse.length);
|
|
617
|
+
const _frontLen = frontLen !== void 0 ? Math.min(frontLen, text.length - ellipse.length, len - ellipse.length) : Math.max(len - _backLen - ellipse.length, 0);
|
|
618
|
+
if (_frontLen + _backLen + ellipse.length > len) {
|
|
619
|
+
_backLen = len - _frontLen - ellipse.length;
|
|
620
|
+
}
|
|
621
|
+
const truncated = text.length <= len ? text : text.slice(0, _frontLen) + ellipse + text.slice(text.length - _backLen);
|
|
622
|
+
const Text = /* @__PURE__ */React__default.createElement("div", {
|
|
623
|
+
className: cs([className, inline && Inline])
|
|
624
|
+
}, truncated);
|
|
625
|
+
if (!hoverShowFullText || text.length <= len) {
|
|
626
|
+
return Text;
|
|
627
|
+
}
|
|
628
|
+
return /* @__PURE__ */React__default.createElement(Tooltip, {
|
|
629
|
+
title: text
|
|
630
|
+
}, Text);
|
|
631
|
+
};
|
|
566
632
|
|
|
567
|
-
const
|
|
568
|
-
|
|
569
|
-
|
|
633
|
+
const useParrotTranslation = () => {
|
|
634
|
+
return useTranslation(void 0, {
|
|
635
|
+
i18n: parrotI18n
|
|
636
|
+
});
|
|
637
|
+
};
|
|
638
|
+
|
|
639
|
+
const Arch = (props) => {
|
|
640
|
+
const { t } = useParrotTranslation();
|
|
641
|
+
const { architecture } = props;
|
|
642
|
+
let text = "";
|
|
643
|
+
if (architecture) {
|
|
644
|
+
text = t(`components.Architecture_${architecture}`);
|
|
645
|
+
}
|
|
646
|
+
return /* @__PURE__ */ React__default.createElement("span", null, text);
|
|
570
647
|
};
|
|
571
648
|
|
|
572
649
|
var __defProp$O = Object.defineProperty;
|
|
650
|
+
var __defProps$y = Object.defineProperties;
|
|
651
|
+
var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
|
|
573
652
|
var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
|
|
574
653
|
var __hasOwnProp$P = Object.prototype.hasOwnProperty;
|
|
575
654
|
var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
|
|
@@ -585,18 +664,41 @@ var __spreadValues$O = (a, b) => {
|
|
|
585
664
|
}
|
|
586
665
|
return a;
|
|
587
666
|
};
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
667
|
+
var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
|
|
668
|
+
var __objRest$s = (source, exclude) => {
|
|
669
|
+
var target = {};
|
|
670
|
+
for (var prop in source)
|
|
671
|
+
if (__hasOwnProp$P.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
672
|
+
target[prop] = source[prop];
|
|
673
|
+
if (source != null && __getOwnPropSymbols$P)
|
|
674
|
+
for (var prop of __getOwnPropSymbols$P(source)) {
|
|
675
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$P.call(source, prop))
|
|
676
|
+
target[prop] = source[prop];
|
|
677
|
+
}
|
|
678
|
+
return target;
|
|
679
|
+
};
|
|
680
|
+
const Badge = (_a) => {
|
|
681
|
+
var _b = _a, { type = "error", className } = _b, props = __objRest$s(_b, ["type", "className"]);
|
|
682
|
+
return /* @__PURE__ */ React__default.createElement(
|
|
683
|
+
Badge$1,
|
|
684
|
+
__spreadProps$y(__spreadValues$O({
|
|
685
|
+
className: cx(`badge-${type}`, className)
|
|
686
|
+
}, props), {
|
|
687
|
+
showZero: false
|
|
688
|
+
})
|
|
689
|
+
);
|
|
690
|
+
};
|
|
691
|
+
|
|
692
|
+
function isEmpty(rawValue) {
|
|
693
|
+
if (rawValue === null || rawValue === void 0 || rawValue === MAGIC_METRIC_NULL || Number.isNaN(rawValue) || !Number.isFinite(rawValue)) {
|
|
694
|
+
return true;
|
|
597
695
|
}
|
|
598
|
-
|
|
599
|
-
|
|
696
|
+
return false;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
const Empty = (props) => {
|
|
700
|
+
const { className, style } = props;
|
|
701
|
+
return /* @__PURE__ */ React__default.createElement("span", { className, style }, "-");
|
|
600
702
|
};
|
|
601
703
|
|
|
602
704
|
var __defProp$N = Object.defineProperty;
|
|
@@ -615,17 +717,17 @@ var __spreadValues$N = (a, b) => {
|
|
|
615
717
|
}
|
|
616
718
|
return a;
|
|
617
719
|
};
|
|
618
|
-
const
|
|
720
|
+
const Bit = ({
|
|
619
721
|
rawValue,
|
|
620
722
|
decimals,
|
|
621
|
-
valueClassName,
|
|
622
723
|
unitClassName,
|
|
724
|
+
valueClassName,
|
|
623
725
|
emptyProps
|
|
624
726
|
}) => {
|
|
625
727
|
if (isEmpty(rawValue)) {
|
|
626
728
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$N({}, emptyProps));
|
|
627
729
|
}
|
|
628
|
-
const { value, unit } =
|
|
730
|
+
const { value, unit } = formatBits(rawValue, decimals);
|
|
629
731
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
630
732
|
};
|
|
631
733
|
|
|
@@ -645,7 +747,7 @@ var __spreadValues$M = (a, b) => {
|
|
|
645
747
|
}
|
|
646
748
|
return a;
|
|
647
749
|
};
|
|
648
|
-
const
|
|
750
|
+
const BitPerSeconds = ({
|
|
649
751
|
rawValue,
|
|
650
752
|
decimals,
|
|
651
753
|
valueClassName,
|
|
@@ -655,6 +757,36 @@ const Bps = ({
|
|
|
655
757
|
if (isEmpty(rawValue)) {
|
|
656
758
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$M({}, emptyProps));
|
|
657
759
|
}
|
|
760
|
+
const { value, unit } = formatBitPerSecond(rawValue, decimals);
|
|
761
|
+
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
762
|
+
};
|
|
763
|
+
|
|
764
|
+
var __defProp$L = Object.defineProperty;
|
|
765
|
+
var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
|
|
766
|
+
var __hasOwnProp$M = Object.prototype.hasOwnProperty;
|
|
767
|
+
var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
|
|
768
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
769
|
+
var __spreadValues$L = (a, b) => {
|
|
770
|
+
for (var prop in b || (b = {}))
|
|
771
|
+
if (__hasOwnProp$M.call(b, prop))
|
|
772
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
773
|
+
if (__getOwnPropSymbols$M)
|
|
774
|
+
for (var prop of __getOwnPropSymbols$M(b)) {
|
|
775
|
+
if (__propIsEnum$M.call(b, prop))
|
|
776
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
777
|
+
}
|
|
778
|
+
return a;
|
|
779
|
+
};
|
|
780
|
+
const Bps = ({
|
|
781
|
+
rawValue,
|
|
782
|
+
decimals,
|
|
783
|
+
valueClassName,
|
|
784
|
+
unitClassName,
|
|
785
|
+
emptyProps
|
|
786
|
+
}) => {
|
|
787
|
+
if (isEmpty(rawValue)) {
|
|
788
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$L({}, emptyProps));
|
|
789
|
+
}
|
|
658
790
|
const { value, unit } = formatBps(rawValue, decimals);
|
|
659
791
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
660
792
|
};
|
|
@@ -794,28 +926,28 @@ const HoverableElement = (props) => {
|
|
|
794
926
|
return icon != null ? React__default.cloneElement(icon, { className }) : null;
|
|
795
927
|
};
|
|
796
928
|
|
|
797
|
-
var __defProp$
|
|
798
|
-
var __getOwnPropSymbols$
|
|
799
|
-
var __hasOwnProp$
|
|
800
|
-
var __propIsEnum$
|
|
801
|
-
var __defNormalProp$
|
|
929
|
+
var __defProp$K = Object.defineProperty;
|
|
930
|
+
var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
|
|
931
|
+
var __hasOwnProp$L = Object.prototype.hasOwnProperty;
|
|
932
|
+
var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
|
|
933
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, {
|
|
802
934
|
enumerable: true,
|
|
803
935
|
configurable: true,
|
|
804
936
|
writable: true,
|
|
805
937
|
value
|
|
806
938
|
}) : obj[key] = value;
|
|
807
|
-
var __spreadValues$
|
|
808
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
809
|
-
if (__getOwnPropSymbols$
|
|
810
|
-
if (__propIsEnum$
|
|
939
|
+
var __spreadValues$K = (a, b) => {
|
|
940
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$L.call(b, prop)) __defNormalProp$K(a, prop, b[prop]);
|
|
941
|
+
if (__getOwnPropSymbols$L) for (var prop of __getOwnPropSymbols$L(b)) {
|
|
942
|
+
if (__propIsEnum$L.call(b, prop)) __defNormalProp$K(a, prop, b[prop]);
|
|
811
943
|
}
|
|
812
944
|
return a;
|
|
813
945
|
};
|
|
814
|
-
var __objRest$
|
|
946
|
+
var __objRest$r = (source, exclude) => {
|
|
815
947
|
var target = {};
|
|
816
|
-
for (var prop in source) if (__hasOwnProp$
|
|
817
|
-
if (source != null && __getOwnPropSymbols$
|
|
818
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
948
|
+
for (var prop in source) if (__hasOwnProp$L.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
949
|
+
if (source != null && __getOwnPropSymbols$L) for (var prop of __getOwnPropSymbols$L(source)) {
|
|
950
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$L.call(source, prop)) target[prop] = source[prop];
|
|
819
951
|
}
|
|
820
952
|
return target;
|
|
821
953
|
};
|
|
@@ -838,11 +970,11 @@ const Button = React__default.forwardRef((props, ref) => {
|
|
|
838
970
|
onMouseLeave,
|
|
839
971
|
size = "middle"
|
|
840
972
|
} = _a,
|
|
841
|
-
restProps = __objRest$
|
|
973
|
+
restProps = __objRest$r(_a, ["type", "className", "children", "prefixIcon", "hoverPrefixIcon", "suffixIcon", "hoverSuffixIcon", "onMouseEnter", "onMouseLeave", "size"]);
|
|
842
974
|
const [status, setStatus] = useState("normal");
|
|
843
975
|
const hasIcon = prefixIcon || suffixIcon;
|
|
844
976
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
845
|
-
return /* @__PURE__ */React__default.createElement(Button$1, __spreadValues$
|
|
977
|
+
return /* @__PURE__ */React__default.createElement(Button$1, __spreadValues$K({
|
|
846
978
|
ref,
|
|
847
979
|
className: cs(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"),
|
|
848
980
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
@@ -872,97 +1004,6 @@ const Button = React__default.forwardRef((props, ref) => {
|
|
|
872
1004
|
}));
|
|
873
1005
|
});
|
|
874
1006
|
|
|
875
|
-
var __defProp$K = Object.defineProperty;
|
|
876
|
-
var __defProps$y = Object.defineProperties;
|
|
877
|
-
var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
|
|
878
|
-
var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
|
|
879
|
-
var __hasOwnProp$L = Object.prototype.hasOwnProperty;
|
|
880
|
-
var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
|
|
881
|
-
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
882
|
-
var __spreadValues$K = (a, b) => {
|
|
883
|
-
for (var prop in b || (b = {}))
|
|
884
|
-
if (__hasOwnProp$L.call(b, prop))
|
|
885
|
-
__defNormalProp$K(a, prop, b[prop]);
|
|
886
|
-
if (__getOwnPropSymbols$L)
|
|
887
|
-
for (var prop of __getOwnPropSymbols$L(b)) {
|
|
888
|
-
if (__propIsEnum$L.call(b, prop))
|
|
889
|
-
__defNormalProp$K(a, prop, b[prop]);
|
|
890
|
-
}
|
|
891
|
-
return a;
|
|
892
|
-
};
|
|
893
|
-
var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
|
|
894
|
-
var __objRest$r = (source, exclude) => {
|
|
895
|
-
var target = {};
|
|
896
|
-
for (var prop in source)
|
|
897
|
-
if (__hasOwnProp$L.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
898
|
-
target[prop] = source[prop];
|
|
899
|
-
if (source != null && __getOwnPropSymbols$L)
|
|
900
|
-
for (var prop of __getOwnPropSymbols$L(source)) {
|
|
901
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$L.call(source, prop))
|
|
902
|
-
target[prop] = source[prop];
|
|
903
|
-
}
|
|
904
|
-
return target;
|
|
905
|
-
};
|
|
906
|
-
let componentId = 0;
|
|
907
|
-
const Tooltip = (props) => {
|
|
908
|
-
const _a = props, {
|
|
909
|
-
followMouse,
|
|
910
|
-
overlayClassName,
|
|
911
|
-
overlayStyle,
|
|
912
|
-
children
|
|
913
|
-
} = _a, restProps = __objRest$r(_a, [
|
|
914
|
-
"followMouse",
|
|
915
|
-
"overlayClassName",
|
|
916
|
-
"overlayStyle",
|
|
917
|
-
"children"
|
|
918
|
-
]);
|
|
919
|
-
const id = useRef(++componentId);
|
|
920
|
-
const uniquePopupClass = `kit-popup-${id.current}`;
|
|
921
|
-
const uniqueContainerClass = `kit-tooltip-${id.current}`;
|
|
922
|
-
const _children = useMemo(() => {
|
|
923
|
-
if (followMouse) {
|
|
924
|
-
const child = React__default.isValidElement(children) ? children : /* @__PURE__ */ React__default.createElement("span", null, children);
|
|
925
|
-
return React__default.cloneElement(child, {
|
|
926
|
-
className: cs(child.props.className, uniqueContainerClass)
|
|
927
|
-
});
|
|
928
|
-
} else {
|
|
929
|
-
return children;
|
|
930
|
-
}
|
|
931
|
-
}, [children, followMouse, uniqueContainerClass]);
|
|
932
|
-
const onmousemove = useCallback(
|
|
933
|
-
(event) => {
|
|
934
|
-
const popup = document.querySelector(`.${uniquePopupClass}`);
|
|
935
|
-
if (!popup)
|
|
936
|
-
return;
|
|
937
|
-
popup.style.left = event.pageX + "px";
|
|
938
|
-
popup.style.top = event.pageY + "px";
|
|
939
|
-
},
|
|
940
|
-
[uniquePopupClass]
|
|
941
|
-
);
|
|
942
|
-
useEffect(() => {
|
|
943
|
-
if (followMouse) {
|
|
944
|
-
const container = document.querySelector(
|
|
945
|
-
`.${uniqueContainerClass}`
|
|
946
|
-
);
|
|
947
|
-
container == null ? void 0 : container.addEventListener("mousemove", onmousemove);
|
|
948
|
-
return () => {
|
|
949
|
-
container == null ? void 0 : container.removeEventListener("mousemove", onmousemove);
|
|
950
|
-
};
|
|
951
|
-
}
|
|
952
|
-
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
953
|
-
return /* @__PURE__ */ React__default.createElement(
|
|
954
|
-
Tooltip$1,
|
|
955
|
-
__spreadProps$y(__spreadValues$K({}, restProps), {
|
|
956
|
-
overlayClassName: followMouse ? cs(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
957
|
-
children: _children,
|
|
958
|
-
overlayStyle: followMouse ? __spreadValues$K({
|
|
959
|
-
transform: "translate(-50%, -100%)",
|
|
960
|
-
pointerEvents: "none"
|
|
961
|
-
}, overlayStyle) : overlayStyle
|
|
962
|
-
})
|
|
963
|
-
);
|
|
964
|
-
};
|
|
965
|
-
|
|
966
1007
|
var __defProp$J = Object.defineProperty;
|
|
967
1008
|
var __getOwnPropSymbols$K = Object.getOwnPropertySymbols;
|
|
968
1009
|
var __hasOwnProp$K = Object.prototype.hasOwnProperty;
|
|
@@ -4832,7 +4873,7 @@ const Size$1 = {
|
|
|
4832
4873
|
medium: "mfsz1jz"
|
|
4833
4874
|
};
|
|
4834
4875
|
const TagStyle$1 = "tnd6h4m";
|
|
4835
|
-
const IconStyle = "i1qw4clm";
|
|
4876
|
+
const IconStyle$1 = "i1qw4clm";
|
|
4836
4877
|
|
|
4837
4878
|
var __defProp$5 = Object.defineProperty;
|
|
4838
4879
|
var __defProps$5 = Object.defineProperties;
|
|
@@ -4883,7 +4924,7 @@ const SplitTag = _a => {
|
|
|
4883
4924
|
[`ant-tag-${color}`]: PresetColors$2.includes(color)
|
|
4884
4925
|
}, "inside-tag")
|
|
4885
4926
|
}, icon && /* @__PURE__ */React__default.createElement("span", {
|
|
4886
|
-
className: cs("ui-kit-tag-icon", IconStyle)
|
|
4927
|
+
className: cs("ui-kit-tag-icon", IconStyle$1)
|
|
4887
4928
|
}, icon), primaryContent), secondaryContent);
|
|
4888
4929
|
};
|
|
4889
4930
|
|
|
@@ -4918,7 +4959,18 @@ var __objRest$1 = (source, exclude) => {
|
|
|
4918
4959
|
}
|
|
4919
4960
|
return target;
|
|
4920
4961
|
};
|
|
4921
|
-
const PresetColors$1 = [
|
|
4962
|
+
const PresetColors$1 = [
|
|
4963
|
+
...PresetColors$2,
|
|
4964
|
+
"red-ontint",
|
|
4965
|
+
"green-ontint"
|
|
4966
|
+
];
|
|
4967
|
+
const AntdColorMap = {
|
|
4968
|
+
processing: "blue",
|
|
4969
|
+
success: "green",
|
|
4970
|
+
error: "red",
|
|
4971
|
+
warn: "yellow",
|
|
4972
|
+
default: "gray"
|
|
4973
|
+
};
|
|
4922
4974
|
const Tag = (_a) => {
|
|
4923
4975
|
var _b = _a, {
|
|
4924
4976
|
size = "small",
|
|
@@ -4935,17 +4987,18 @@ const Tag = (_a) => {
|
|
|
4935
4987
|
"icon",
|
|
4936
4988
|
"children"
|
|
4937
4989
|
]);
|
|
4990
|
+
const computedColor = AntdColorMap[color] || color;
|
|
4938
4991
|
return /* @__PURE__ */ React__default.createElement(
|
|
4939
4992
|
Tag$1,
|
|
4940
4993
|
__spreadProps$4(__spreadValues$4({}, props), {
|
|
4941
4994
|
className: cs(className, Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
4942
|
-
[`ant-tag-${
|
|
4995
|
+
[`ant-tag-${computedColor}`]: PresetColors$1.includes(computedColor),
|
|
4943
4996
|
"tag-hover": hoverable
|
|
4944
4997
|
}),
|
|
4945
4998
|
closable: false,
|
|
4946
|
-
color:
|
|
4999
|
+
color: computedColor === "gray" ? void 0 : computedColor
|
|
4947
5000
|
}),
|
|
4948
|
-
icon && /* @__PURE__ */ React__default.createElement("span", { className:
|
|
5001
|
+
icon && /* @__PURE__ */ React__default.createElement("span", { className: IconStyle$1 }, icon),
|
|
4949
5002
|
children
|
|
4950
5003
|
);
|
|
4951
5004
|
};
|
|
@@ -5101,6 +5154,8 @@ const TimeZoneOption = ({
|
|
|
5101
5154
|
})));
|
|
5102
5155
|
};
|
|
5103
5156
|
|
|
5157
|
+
const IconStyle = "iwsze0q";
|
|
5158
|
+
|
|
5104
5159
|
var __defProp$3 = Object.defineProperty;
|
|
5105
5160
|
var __defProps$3 = Object.defineProperties;
|
|
5106
5161
|
var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
|
|
@@ -5142,9 +5197,11 @@ const Token = _a => {
|
|
|
5142
5197
|
size = "small",
|
|
5143
5198
|
color = "gray",
|
|
5144
5199
|
className,
|
|
5145
|
-
|
|
5200
|
+
icon,
|
|
5201
|
+
checked,
|
|
5202
|
+
children
|
|
5146
5203
|
} = _b,
|
|
5147
|
-
props = __objRest(_b, ["size", "color", "className", "checked"]);
|
|
5204
|
+
props = __objRest(_b, ["size", "color", "className", "icon", "checked", "children"]);
|
|
5148
5205
|
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$3(__spreadValues$3({}, props), {
|
|
5149
5206
|
className: cs(className, Size[size], TokenStyle, {
|
|
5150
5207
|
[Typo.Label.l4_regular]: size === "small" || size === "medium",
|
|
@@ -5158,7 +5215,9 @@ const Token = _a => {
|
|
|
5158
5215
|
iconWidth: 16
|
|
5159
5216
|
}),
|
|
5160
5217
|
color: color === "gray" ? void 0 : color
|
|
5161
|
-
})
|
|
5218
|
+
}), icon && /* @__PURE__ */React__default.createElement("span", {
|
|
5219
|
+
className: cs("ui-kit-tag-icon", IconStyle)
|
|
5220
|
+
}, icon), children);
|
|
5162
5221
|
};
|
|
5163
5222
|
|
|
5164
5223
|
function getAntdKit() {
|
|
@@ -5251,7 +5310,8 @@ function getAntdKit() {
|
|
|
5251
5310
|
antdTreeSelect: TreeSelect,
|
|
5252
5311
|
antdDrawer: Drawer,
|
|
5253
5312
|
antdSteps: Steps$1,
|
|
5254
|
-
card: Card
|
|
5313
|
+
card: Card,
|
|
5314
|
+
truncate: Truncate
|
|
5255
5315
|
};
|
|
5256
5316
|
kit.option.isSelectOption = true;
|
|
5257
5317
|
kit.button.__ANT_BUTTON = true;
|
|
@@ -5561,4 +5621,4 @@ const useUIKit = () => {
|
|
|
5561
5621
|
return useContext(kitContext);
|
|
5562
5622
|
};
|
|
5563
5623
|
|
|
5564
|
-
export { Architecture, BaseIcon, Button, ButtonStyle, FailedLoad, FullView, Icon, InputTagItem, KitStoreProvider, ModalActions, ModalStack, Typo, UIKitProvider, UIKitStore, ValidateTriggerType, WizardBody, antdKit, closeModal, createBatchMessageMethods, kitContext, popModal, pushModal, tableStyleCover, tickFormatter, useElementsSize, useKitDispatch, useKitSelector, useUIKit };
|
|
5624
|
+
export { Architecture, BaseIcon, Button, ButtonStyle, FailedLoad, FullView, Icon, InputTagItem, KitStoreProvider, ModalActions, ModalStack, Truncate, Typo, UIKitProvider, UIKitStore, ValidateTriggerType, WizardBody, antdKit, closeModal, createBatchMessageMethods, kitContext, popModal, pushModal, tableStyleCover, tickFormatter, useElementsSize, useKitDispatch, useKitSelector, useUIKit };
|