@gm-pc/react 1.27.0 → 1.27.1-beta.0
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/package.json +3 -3
- package/src/common/hooks/index.ts +5 -5
- package/src/common/hooks/use_form/index.ts +2 -2
- package/src/common/hooks/use_form/use_form.ts +184 -184
- package/src/common/hooks/use_form/utils.ts +23 -23
- package/src/common/hooks/use_mutation_observer.ts +19 -19
- package/src/common/utils/date.ts +28 -28
- package/src/common/utils/get_record_partical_object.ts +4 -4
- package/src/common/utils/index.ts +3 -3
- package/src/common/utils/utils.ts +16 -16
- package/src/component/affix/affix.tsx +31 -31
- package/src/component/affix/index.ts +2 -2
- package/src/component/affix/stories.tsx +16 -16
- package/src/component/affix/style.less +3 -3
- package/src/component/auto_complete/auto_complete.tsx +202 -202
- package/src/component/auto_complete/index.ts +6 -6
- package/src/component/auto_complete/stories.tsx +37 -37
- package/src/component/auto_full/auto_full.tsx +36 -36
- package/src/component/auto_full/index.ts +1 -1
- package/src/component/box/box.tsx +29 -29
- package/src/component/box/box_form.tsx +83 -83
- package/src/component/box/box_pagination.tsx +12 -12
- package/src/component/box/box_panel.tsx +91 -91
- package/src/component/box/box_table.tsx +57 -57
- package/src/component/box/index.ts +10 -10
- package/src/component/box/stories.tsx +119 -119
- package/src/component/box/style.less +41 -41
- package/src/component/button/button.tsx +94 -94
- package/src/component/button/button_text.tsx +33 -33
- package/src/component/button/index.ts +4 -4
- package/src/component/button/stories.tsx +131 -131
- package/src/component/button/style.less +158 -158
- package/src/component/calendar/calendar.tsx +25 -25
- package/src/component/calendar/content.tsx +87 -87
- package/src/component/calendar/day.tsx +106 -106
- package/src/component/calendar/head.tsx +244 -244
- package/src/component/calendar/index.ts +4 -4
- package/src/component/calendar/range_calendar.tsx +121 -121
- package/src/component/calendar/stories.tsx +54 -54
- package/src/component/calendar/style.less +136 -136
- package/src/component/calendar/types.ts +56 -56
- package/src/component/calendar/week.tsx +27 -27
- package/src/component/card/card.tsx +148 -148
- package/src/component/card/form_card.tsx +42 -42
- package/src/component/card/index.ts +2 -2
- package/src/component/card/stories.tsx +90 -90
- package/src/component/card/style.less +125 -125
- package/src/component/checkbox/checkbox.tsx +75 -75
- package/src/component/checkbox/checkbox_group.tsx +51 -51
- package/src/component/checkbox/index.ts +5 -5
- package/src/component/checkbox/stories.tsx +152 -152
- package/src/component/checkbox/style.less +73 -73
- package/src/component/checkbox/util.ts +19 -19
- package/src/component/collapse/collapse.tsx +27 -27
- package/src/component/collapse/index.ts +2 -2
- package/src/component/collapse/stories.tsx +21 -21
- package/src/component/color_picker/color_list.ts +34 -34
- package/src/component/color_picker/color_picker.tsx +43 -43
- package/src/component/color_picker/color_select.tsx +97 -97
- package/src/component/color_picker/index.ts +2 -2
- package/src/component/color_picker/stories.tsx +20 -20
- package/src/component/color_picker/style.less +41 -41
- package/src/component/config_provider/config_provider.tsx +16 -16
- package/src/component/config_provider/context.ts +10 -10
- package/src/component/config_provider/index.ts +3 -3
- package/src/component/controlled_form/context.tsx +18 -18
- package/src/component/controlled_form/controlled_form.tsx +141 -141
- package/src/component/controlled_form/index.ts +8 -8
- package/src/component/controlled_form/items/index.tsx +115 -115
- package/src/component/controlled_form/items/utils.ts +132 -132
- package/src/component/controlled_form/stories/components/date_range_filter.tsx +83 -83
- package/src/component/controlled_form/stories/components/index.ts +2 -2
- package/src/component/controlled_form/stories/components/search_filter.tsx +52 -52
- package/src/component/controlled_form/stories/stories.tsx +372 -372
- package/src/component/date_picker/date_picker.tsx +187 -187
- package/src/component/date_picker/index.ts +2 -2
- package/src/component/date_picker/overlay.tsx +115 -115
- package/src/component/date_picker/stories.tsx +109 -109
- package/src/component/date_picker/style.less +23 -23
- package/src/component/date_picker/time_select.tsx +58 -58
- package/src/component/date_picker/types.ts +7 -7
- package/src/component/date_range_picker/date_range_picker.tsx +144 -144
- package/src/component/date_range_picker/index.ts +2 -2
- package/src/component/date_range_picker/left.tsx +107 -107
- package/src/component/date_range_picker/overlay.tsx +204 -204
- package/src/component/date_range_picker/stories.tsx +181 -181
- package/src/component/date_range_picker/style.less +41 -41
- package/src/component/date_range_picker/time_range_select.tsx +144 -144
- package/src/component/date_range_picker/two.tsx +108 -108
- package/src/component/date_range_picker/types.ts +42 -42
- package/src/component/date_range_picker/util.ts +11 -11
- package/src/component/dialog/alert.tsx +38 -38
- package/src/component/dialog/confirm.tsx +120 -120
- package/src/component/dialog/delete_com.tsx +27 -27
- package/src/component/dialog/dialog.tsx +70 -70
- package/src/component/dialog/index.ts +16 -16
- package/src/component/dialog/prompt.tsx +95 -95
- package/src/component/dialog/stories.tsx +195 -195
- package/src/component/dialog/types.ts +70 -70
- package/src/component/divider/divider.tsx +25 -25
- package/src/component/divider/index.ts +2 -2
- package/src/component/divider/stories.tsx +14 -14
- package/src/component/divider/style.less +29 -29
- package/src/component/flex/flex.tsx +133 -133
- package/src/component/flex/index.ts +2 -2
- package/src/component/flex/stories.tsx +17 -17
- package/src/component/flex/style.less +105 -105
- package/src/component/flip_number/flip_number.tsx +209 -209
- package/src/component/flip_number/index.ts +2 -2
- package/src/component/flip_number/stories.tsx +28 -28
- package/src/component/flip_number/utils.ts +58 -58
- package/src/component/form/context.tsx +15 -15
- package/src/component/form/form.tsx +142 -142
- package/src/component/form/form_block.tsx +39 -39
- package/src/component/form/form_button.tsx +28 -28
- package/src/component/form/form_group.tsx +157 -157
- package/src/component/form/form_item.tsx +141 -141
- package/src/component/form/form_panel.tsx +63 -63
- package/src/component/form/index.ts +15 -15
- package/src/component/form/stories.tsx +448 -448
- package/src/component/form/style.less +159 -159
- package/src/component/form/types.ts +110 -110
- package/src/component/function_set/function_set.tsx +84 -84
- package/src/component/function_set/index.ts +2 -2
- package/src/component/function_set/overlay.tsx +41 -41
- package/src/component/function_set/stories.tsx +71 -71
- package/src/component/function_set/types.ts +15 -15
- package/src/component/function_set/utils.ts +21 -21
- package/src/component/grid/col.tsx +55 -55
- package/src/component/grid/index.ts +3 -3
- package/src/component/grid/mixin.less +48 -48
- package/src/component/grid/row.tsx +27 -27
- package/src/component/grid/stories.tsx +65 -65
- package/src/component/grid/style.less +27 -27
- package/src/component/grid/types.ts +35 -35
- package/src/component/grid/util.ts +12 -12
- package/src/component/icon_down_up/icon_down_up.tsx +22 -22
- package/src/component/icon_down_up/index.ts +2 -2
- package/src/component/icon_down_up/stories.tsx +21 -21
- package/src/component/icon_down_up/style.less +10 -10
- package/src/component/icon_expand/icon_expand.tsx +22 -22
- package/src/component/icon_expand/index.ts +1 -1
- package/src/component/img_uploader/img_uploader.tsx +168 -168
- package/src/component/img_uploader/index.ts +2 -2
- package/src/component/img_uploader/stories.tsx +58 -58
- package/src/component/img_uploader/style.less +22 -22
- package/src/component/input/index.ts +5 -5
- package/src/component/input/input.tsx +24 -24
- package/src/component/input/input_close.tsx +51 -51
- package/src/component/input/stories.tsx +56 -56
- package/src/component/input/style.less +33 -33
- package/src/component/input_number/index.ts +2 -2
- package/src/component/input_number/input_number.tsx +115 -115
- package/src/component/input_number/stories.tsx +27 -27
- package/src/component/input_number/style.less +10 -10
- package/src/component/input_number/utils.ts +44 -44
- package/src/component/label/index.tsx +19 -19
- package/src/component/label/stories.tsx +26 -26
- package/src/component/label/style.less +34 -34
- package/src/component/layout_root/index.ts +2 -2
- package/src/component/layout_root/layout_root.tsx +116 -116
- package/src/component/layout_root/types.ts +38 -38
- package/src/component/level_list/index.ts +2 -2
- package/src/component/level_list/level_item.tsx +79 -79
- package/src/component/level_list/level_list.tsx +123 -123
- package/src/component/level_list/stories/constants.ts +72 -72
- package/src/component/level_list/stories/stories.tsx +87 -87
- package/src/component/level_list/style.less +41 -41
- package/src/component/level_list/types.ts +36 -36
- package/src/component/level_list/utils.ts +19 -19
- package/src/component/level_select/index.ts +7 -7
- package/src/component/level_select/level_select.tsx +216 -216
- package/src/component/level_select/multiple_level_select.tsx +104 -104
- package/src/component/level_select/stories.tsx +102 -102
- package/src/component/level_select/types.ts +38 -38
- package/src/component/level_select/util.ts +20 -20
- package/src/component/list/base.tsx +129 -129
- package/src/component/list/index.ts +3 -3
- package/src/component/list/list.tsx +61 -61
- package/src/component/list/stories.tsx +113 -113
- package/src/component/list/style.less +58 -58
- package/src/component/list/types.ts +37 -37
- package/src/component/loading/index.ts +10 -10
- package/src/component/loading/loading.tsx +26 -26
- package/src/component/loading/loading_chunk.tsx +37 -37
- package/src/component/loading/loading_full_screen.tsx +45 -45
- package/src/component/loading/stories.tsx +43 -43
- package/src/component/loading/style.less +69 -69
- package/src/component/loading/types.ts +30 -30
- package/src/component/mask/index.ts +2 -2
- package/src/component/mask/mask.tsx +22 -22
- package/src/component/mask/style.less +10 -10
- package/src/component/modal/clean_modal.tsx +14 -14
- package/src/component/modal/index.ts +5 -5
- package/src/component/modal/modal.tsx +145 -145
- package/src/component/modal/right_side_modal.tsx +22 -22
- package/src/component/modal/stories.tsx +132 -132
- package/src/component/modal/style.less +138 -138
- package/src/component/modal/types.ts +27 -27
- package/src/component/more_select/base.tsx +408 -408
- package/src/component/more_select/index.ts +6 -6
- package/src/component/more_select/more_select.tsx +137 -137
- package/src/component/more_select/render_list_filter.ts +39 -39
- package/src/component/more_select/stories.tsx +323 -323
- package/src/component/more_select/style.less +72 -72
- package/src/component/more_select/types.ts +114 -114
- package/src/component/multiple_selection/index.ts +2 -2
- package/src/component/multiple_selection/multiple_selection.tsx +118 -118
- package/src/component/multiple_selection/stories.tsx +37 -37
- package/src/component/multiple_selection/style.less +57 -57
- package/src/component/n_progress/index.ts +1 -1
- package/src/component/n_progress/n_progress.tsx +39 -39
- package/src/component/n_progress/stories.tsx +25 -25
- package/src/component/n_progress/style.less +39 -39
- package/src/component/nav/a.tsx +7 -7
- package/src/component/nav/index.ts +10 -10
- package/src/component/nav/nav.tsx +114 -114
- package/src/component/nav/nav_item.tsx +98 -98
- package/src/component/nav/nav_single_item.tsx +28 -28
- package/src/component/nav/popup.tsx +100 -100
- package/src/component/nav/portal.ts +17 -17
- package/src/component/nav/stories.tsx +152 -152
- package/src/component/nav/style.less +246 -246
- package/src/component/nav/types.ts +93 -93
- package/src/component/pagination/index.ts +2 -2
- package/src/component/pagination/left.tsx +56 -56
- package/src/component/pagination/page_with_count.tsx +115 -115
- package/src/component/pagination/page_without_count.tsx +64 -64
- package/src/component/pagination/pagination.tsx +23 -23
- package/src/component/pagination/right.tsx +79 -79
- package/src/component/pagination/stories.tsx +63 -63
- package/src/component/pagination/style.less +51 -51
- package/src/component/pagination/types.ts +18 -18
- package/src/component/pagination/util.ts +7 -7
- package/src/component/popover/index.ts +2 -2
- package/src/component/popover/popover.tsx +279 -279
- package/src/component/popover/stories.tsx +104 -104
- package/src/component/popover/types.ts +25 -25
- package/src/component/popover/utils.ts +22 -22
- package/src/component/popup/element_in_viewport.ts +33 -33
- package/src/component/popup/index.ts +4 -4
- package/src/component/popup/popup.tsx +149 -149
- package/src/component/popup/popup_content_confirm.tsx +106 -106
- package/src/component/popup/style.less +107 -107
- package/src/component/price/constant.ts +4 -4
- package/src/component/price/event_bus.ts +13 -13
- package/src/component/price/index.ts +2 -2
- package/src/component/price/price.tsx +154 -154
- package/src/component/price/stories.tsx +22 -22
- package/src/component/progress/index.ts +2 -2
- package/src/component/progress/progress.tsx +53 -53
- package/src/component/progress/stories.tsx +20 -20
- package/src/component/progress/style.less +35 -35
- package/src/component/progress_circle/index.ts +2 -2
- package/src/component/progress_circle/progress_circle.tsx +85 -85
- package/src/component/progress_circle/stories.tsx +31 -31
- package/src/component/progress_circle/style.less +21 -21
- package/src/component/radio/index.ts +5 -5
- package/src/component/radio/radio.tsx +72 -72
- package/src/component/radio/radio_group.tsx +48 -48
- package/src/component/radio/stories.tsx +103 -103
- package/src/component/radio/style.less +56 -56
- package/src/component/radio/util.ts +19 -19
- package/src/component/recommend_input/index.ts +2 -2
- package/src/component/recommend_input/recommend_input.tsx +100 -100
- package/src/component/recommend_input/stories.tsx +47 -47
- package/src/component/recommend_input/style.less +25 -25
- package/src/component/select/index.ts +2 -2
- package/src/component/select/select.tsx +172 -172
- package/src/component/select/stories.tsx +140 -140
- package/src/component/select/style.less +4 -4
- package/src/component/select/types.ts +29 -29
- package/src/component/selection/index.ts +2 -2
- package/src/component/selection/selection.tsx +162 -162
- package/src/component/selection/stories.tsx +45 -45
- package/src/component/selection/style.less +65 -65
- package/src/component/steps/index.ts +2 -2
- package/src/component/steps/steps.tsx +61 -61
- package/src/component/steps/stories.tsx +18 -18
- package/src/component/steps/style.less +39 -39
- package/src/component/storage/index.ts +1 -1
- package/src/component/storage/storage.ts +7 -7
- package/src/component/storage/stories.tsx +7 -7
- package/src/component/switch/index.ts +2 -2
- package/src/component/switch/stories.tsx +39 -39
- package/src/component/switch/style.less +60 -60
- package/src/component/switch/switch.tsx +127 -127
- package/src/component/table_select/index.ts +2 -2
- package/src/component/table_select/stories.tsx +97 -97
- package/src/component/table_select/style.less +20 -20
- package/src/component/table_select/table_select.tsx +92 -92
- package/src/component/table_select/types.ts +30 -30
- package/src/component/table_select/util.ts +15 -15
- package/src/component/tabs/index.ts +2 -2
- package/src/component/tabs/stories.tsx +172 -172
- package/src/component/tabs/style.less +149 -149
- package/src/component/tabs/tabs.tsx +232 -232
- package/src/component/textarea/index.ts +3 -3
- package/src/component/textarea/stories.tsx +37 -37
- package/src/component/textarea/style.less +12 -12
- package/src/component/textarea/textarea.tsx +22 -22
- package/src/component/time_span/index.ts +4 -4
- package/src/component/time_span/stories.tsx +87 -87
- package/src/component/time_span/style.less +45 -45
- package/src/component/time_span/time_span.tsx +129 -129
- package/src/component/time_span/time_span_picker.tsx +71 -71
- package/src/component/time_span/types.ts +58 -58
- package/src/component/time_span/util.ts +18 -18
- package/src/component/tip/index.ts +2 -2
- package/src/component/tip/stories.tsx +44 -44
- package/src/component/tip/style.less +53 -53
- package/src/component/tip/tip.tsx +95 -95
- package/src/component/tip/types.ts +20 -20
- package/src/component/tooltip/index.ts +2 -2
- package/src/component/tooltip/stories.tsx +32 -32
- package/src/component/tooltip/tooltip.tsx +40 -40
- package/src/component/transfer/index.ts +2 -2
- package/src/component/transfer/stories.tsx +140 -140
- package/src/component/transfer/transfer.tsx +147 -147
- package/src/component/transfer/types.ts +42 -42
- package/src/component/tree/bottom.tsx +34 -34
- package/src/component/tree/find.tsx +73 -73
- package/src/component/tree/index.ts +2 -2
- package/src/component/tree/item.tsx +75 -75
- package/src/component/tree/list.tsx +123 -123
- package/src/component/tree/search.tsx +29 -29
- package/src/component/tree/stories.tsx +309 -309
- package/src/component/tree/style.less +35 -35
- package/src/component/tree/tree.tsx +238 -238
- package/src/component/tree/types.ts +155 -155
- package/src/component/tree/util.ts +208 -208
- package/src/component/uploader/default_container.tsx +24 -24
- package/src/component/uploader/default_image.tsx +15 -15
- package/src/component/uploader/index.ts +10 -10
- package/src/component/uploader/stories.tsx +53 -53
- package/src/component/uploader/style.less +22 -22
- package/src/component/uploader/types.ts +25 -25
- package/src/component/uploader/uploader.tsx +62 -62
- package/src/component/v_browser/context/browser.ts +7 -7
- package/src/component/v_browser/context/browserWindow.ts +7 -7
- package/src/component/v_browser/hooks/useWindowEffect.ts +53 -53
- package/src/component/v_browser/index.ts +4 -4
- package/src/component/v_browser/types.ts +46 -46
- package/src/component/v_browser/ui/iframe_portal.tsx +28 -28
- package/src/component/v_browser/ui/index.tsx +213 -213
- package/src/component/v_browser/ui/style.less +113 -113
- package/src/component/v_browser/ui/window_wrapper.tsx +74 -74
- package/src/component/v_browser/v_browser.stories.mdx +128 -128
- package/src/component/v_browser/v_browser.tsx +287 -287
- package/src/css/base.less +64 -64
- package/src/css/bg.less +52 -52
- package/src/css/border.less +40 -40
- package/src/css/cursor.less +19 -19
- package/src/css/display.less +16 -16
- package/src/css/distance.less +93 -93
- package/src/css/error.less +8 -8
- package/src/css/other.less +15 -15
- package/src/css/overflow.less +23 -23
- package/src/css/position.less +11 -11
- package/src/css/svg.less +48 -48
- package/src/css/text.less +127 -127
- package/src/css/var/mixin.less +75 -75
- package/src/css/var/variables.less +125 -125
- package/src/event_type.ts +11 -11
- package/src/index.less +64 -64
- package/src/index.ts +61 -61
- package/src/svg/calendar-month.svg +8 -8
- package/src/svg/calendar-year.svg +13 -13
- package/src/svg/calendar.svg +17 -17
- package/src/svg/check-detail.svg +18 -18
- package/src/svg/close-circle.svg +13 -13
- package/src/svg/close-square.svg +12 -12
- package/src/svg/closeup.svg +20 -20
- package/src/svg/delete.svg +10 -10
- package/src/svg/down-small.svg +1 -1
- package/src/svg/down.svg +1 -1
- package/src/svg/edit-box.svg +17 -17
- package/src/svg/edit-pen.svg +17 -17
- package/src/svg/empty.svg +27 -27
- package/src/svg/expand.svg +21 -21
- package/src/svg/left-small.svg +1 -1
- package/src/svg/more.svg +10 -10
- package/src/svg/next.svg +40 -40
- package/src/svg/pen.svg +12 -12
- package/src/svg/remove.svg +1 -1
- package/src/svg/right-small.svg +1 -1
- package/src/svg/search.svg +8 -8
- package/src/svg/setting.svg +17 -17
- package/src/svg/up-small.svg +1 -1
- package/src/svg/up.svg +1 -1
- package/src/svg/vbrowser-tab-delete.svg +8 -8
- package/src/svg/vbrowser-tab-left.svg +8 -8
- package/src/svg/vbrowser-tab-right.svg +8 -8
- package/src/types.ts +33 -33
- package/src/validator/index.ts +16 -16
- package/src/validator/rules.ts +61 -61
- package/src/validator/types.ts +10 -10
- package/src/validator/validator.ts +95 -95
- package/src/var.less +2 -2
|
@@ -1,125 +1,125 @@
|
|
|
1
|
-
// stylelint-disable
|
|
2
|
-
|
|
3
|
-
@gm-screen-sm: 768px;
|
|
4
|
-
@gm-screen-md: 992px;
|
|
5
|
-
@gm-screen-lg: 1200px;
|
|
6
|
-
@gm-screen-xl: 1920px;
|
|
7
|
-
|
|
8
|
-
@gm-screen-sm-min: @gm-screen-sm;
|
|
9
|
-
@gm-screen-md-min: @gm-screen-md;
|
|
10
|
-
@gm-screen-lg-min: @gm-screen-lg;
|
|
11
|
-
@gm-screen-xl-min: @gm-screen-xl;
|
|
12
|
-
|
|
13
|
-
@gm-screen-sm-max: @gm-screen-md - 1px;
|
|
14
|
-
@gm-screen-md-max: @gm-screen-lg - 1px;
|
|
15
|
-
@gm-screen-lg-max: @gm-screen-xl - 1px;
|
|
16
|
-
|
|
17
|
-
// grid
|
|
18
|
-
@gm-grid-columns: 24;
|
|
19
|
-
|
|
20
|
-
// 字体大小
|
|
21
|
-
@gm-font-size-xs: 12px;
|
|
22
|
-
@gm-font-size-sm: 14px;
|
|
23
|
-
|
|
24
|
-
// 颜色会变
|
|
25
|
-
:root {
|
|
26
|
-
// color
|
|
27
|
-
--gm-color-default: #000923; // 主内容
|
|
28
|
-
--gm-color-secondary: rgba(36, 51, 81, 0.8); // 次要内容
|
|
29
|
-
--gm-color-desc: #798294; // 描述内容
|
|
30
|
-
--gm-color-primary: #56a3f2;
|
|
31
|
-
--gm-color-disabled: rgba(0, 0, 0, 0.5);
|
|
32
|
-
|
|
33
|
-
--gm-color-white: white;
|
|
34
|
-
--gm-color-black: black;
|
|
35
|
-
|
|
36
|
-
// bg
|
|
37
|
-
--gm-color-bg-white: white;
|
|
38
|
-
--gm-color-bg-back: #f7f8fa; // 背景色
|
|
39
|
-
--gm-color-bg-primary: #56a3f2;
|
|
40
|
-
--gm-color-bg-primary-light: #d7e8fc;
|
|
41
|
-
--gm-color-bg-primary-more-light: #edf3f9;
|
|
42
|
-
|
|
43
|
-
// active
|
|
44
|
-
--gm-color-primary-active: darken(#56a3f2, 10%);
|
|
45
|
-
--gm-color-bg-primary-active: darken(#56a3f2, 10%);
|
|
46
|
-
|
|
47
|
-
// border
|
|
48
|
-
--gm-color-border-primary: #56a3f2;
|
|
49
|
-
--gm-color-border-special: rgba(216, 222, 231, 0.5);
|
|
50
|
-
|
|
51
|
-
// table
|
|
52
|
-
--gm-color-table-td-active: #b2d5ff;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// 不变的
|
|
56
|
-
:root {
|
|
57
|
-
// color
|
|
58
|
-
--gm-color-placeholder: #b2b2b2;
|
|
59
|
-
--gm-color-success: #1eac52;
|
|
60
|
-
--gm-color-danger: #fa5151;
|
|
61
|
-
--gm-color-link: #1e80e5;
|
|
62
|
-
--gm-color-red: red;
|
|
63
|
-
--gm-color-true-white: white; // 一定是白色
|
|
64
|
-
--gm-color-true-black: black; // 一定是黑色
|
|
65
|
-
|
|
66
|
-
--gm-color-border: fade(#d8dee7, 50%);
|
|
67
|
-
|
|
68
|
-
// bg
|
|
69
|
-
--gm-color-bg-success: #1eac52;
|
|
70
|
-
--gm-color-bg-danger: #fa5151;
|
|
71
|
-
--gm-color-bg-switch: #afb5c0;
|
|
72
|
-
--gm-color-bg-disabled: #f0f1f3;
|
|
73
|
-
|
|
74
|
-
// active
|
|
75
|
-
--gm-color-success-active: darken(#1eac52, 10%);
|
|
76
|
-
--gm-color-danger-active: darken(#fa5151, 10%);
|
|
77
|
-
--gm-color-bg-success-active: darken(#1eac52, 10%);
|
|
78
|
-
--gm-color-bg-danger-active: darken(#fa5151, 10%);
|
|
79
|
-
|
|
80
|
-
// 字体尺寸
|
|
81
|
-
--gm-size-line-height: 1.33;
|
|
82
|
-
--gm-size-text-12: 12px;
|
|
83
|
-
--gm-size-text-14: 14px;
|
|
84
|
-
--gm-size-text-16: 16px;
|
|
85
|
-
--gm-size-text-18: 18px;
|
|
86
|
-
--gm-size-text-20: 20px;
|
|
87
|
-
|
|
88
|
-
--gm-size-text-xs: @gm-font-size-xs;
|
|
89
|
-
--gm-size-text-sm: @gm-font-size-sm;
|
|
90
|
-
|
|
91
|
-
// 大小
|
|
92
|
-
--gm-size-form-height: 30px;
|
|
93
|
-
--gm-size-border-radius: 2px;
|
|
94
|
-
|
|
95
|
-
// 层级
|
|
96
|
-
--gm-z-index-affix: 950;
|
|
97
|
-
--gm-z-index-mask: 1000;
|
|
98
|
-
--gm-z-index-right-side-modal-mask: 1040;
|
|
99
|
-
--gm-z-index-right-side-modal: 1041;
|
|
100
|
-
--gm-z-index-modal-mask: 1050;
|
|
101
|
-
--gm-z-index-modal: 1051;
|
|
102
|
-
--gm-z-index-tips: 7000;
|
|
103
|
-
|
|
104
|
-
// 具体业务
|
|
105
|
-
// nav
|
|
106
|
-
--gm-nav-size-width: 136px;
|
|
107
|
-
// modal
|
|
108
|
-
--gm-modal-size-title-height: 40px;
|
|
109
|
-
// switch
|
|
110
|
-
--gm-switch-size-height: 22px;
|
|
111
|
-
// border
|
|
112
|
-
--gm-table-color-bg-head: #e8eaf0;
|
|
113
|
-
// head 上的动作,比如排序
|
|
114
|
-
--gm-table-color-bg-head-action: #ccc;
|
|
115
|
-
--gm-table-color-bg-head-action-active: #999;
|
|
116
|
-
--gm-table-size-height-action-bar: 50px;
|
|
117
|
-
// card 标签
|
|
118
|
-
--gm-card-bg-inactive: #d4d8d8;
|
|
119
|
-
// label 标签
|
|
120
|
-
--gm-label-color-gray: #e8eaf0;
|
|
121
|
-
--gm-label-color-inactive: #a5a8ad;
|
|
122
|
-
--gm-label-color-danger: #d35147;
|
|
123
|
-
// checkbox radio
|
|
124
|
-
--gm-checkbox-radio-color-disabled: #d4d8d8;
|
|
125
|
-
}
|
|
1
|
+
// stylelint-disable
|
|
2
|
+
|
|
3
|
+
@gm-screen-sm: 768px;
|
|
4
|
+
@gm-screen-md: 992px;
|
|
5
|
+
@gm-screen-lg: 1200px;
|
|
6
|
+
@gm-screen-xl: 1920px;
|
|
7
|
+
|
|
8
|
+
@gm-screen-sm-min: @gm-screen-sm;
|
|
9
|
+
@gm-screen-md-min: @gm-screen-md;
|
|
10
|
+
@gm-screen-lg-min: @gm-screen-lg;
|
|
11
|
+
@gm-screen-xl-min: @gm-screen-xl;
|
|
12
|
+
|
|
13
|
+
@gm-screen-sm-max: @gm-screen-md - 1px;
|
|
14
|
+
@gm-screen-md-max: @gm-screen-lg - 1px;
|
|
15
|
+
@gm-screen-lg-max: @gm-screen-xl - 1px;
|
|
16
|
+
|
|
17
|
+
// grid
|
|
18
|
+
@gm-grid-columns: 24;
|
|
19
|
+
|
|
20
|
+
// 字体大小
|
|
21
|
+
@gm-font-size-xs: 12px;
|
|
22
|
+
@gm-font-size-sm: 14px;
|
|
23
|
+
|
|
24
|
+
// 颜色会变
|
|
25
|
+
:root {
|
|
26
|
+
// color
|
|
27
|
+
--gm-color-default: #000923; // 主内容
|
|
28
|
+
--gm-color-secondary: rgba(36, 51, 81, 0.8); // 次要内容
|
|
29
|
+
--gm-color-desc: #798294; // 描述内容
|
|
30
|
+
--gm-color-primary: #56a3f2;
|
|
31
|
+
--gm-color-disabled: rgba(0, 0, 0, 0.5);
|
|
32
|
+
|
|
33
|
+
--gm-color-white: white;
|
|
34
|
+
--gm-color-black: black;
|
|
35
|
+
|
|
36
|
+
// bg
|
|
37
|
+
--gm-color-bg-white: white;
|
|
38
|
+
--gm-color-bg-back: #f7f8fa; // 背景色
|
|
39
|
+
--gm-color-bg-primary: #56a3f2;
|
|
40
|
+
--gm-color-bg-primary-light: #d7e8fc;
|
|
41
|
+
--gm-color-bg-primary-more-light: #edf3f9;
|
|
42
|
+
|
|
43
|
+
// active
|
|
44
|
+
--gm-color-primary-active: darken(#56a3f2, 10%);
|
|
45
|
+
--gm-color-bg-primary-active: darken(#56a3f2, 10%);
|
|
46
|
+
|
|
47
|
+
// border
|
|
48
|
+
--gm-color-border-primary: #56a3f2;
|
|
49
|
+
--gm-color-border-special: rgba(216, 222, 231, 0.5);
|
|
50
|
+
|
|
51
|
+
// table
|
|
52
|
+
--gm-color-table-td-active: #b2d5ff;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// 不变的
|
|
56
|
+
:root {
|
|
57
|
+
// color
|
|
58
|
+
--gm-color-placeholder: #b2b2b2;
|
|
59
|
+
--gm-color-success: #1eac52;
|
|
60
|
+
--gm-color-danger: #fa5151;
|
|
61
|
+
--gm-color-link: #1e80e5;
|
|
62
|
+
--gm-color-red: red;
|
|
63
|
+
--gm-color-true-white: white; // 一定是白色
|
|
64
|
+
--gm-color-true-black: black; // 一定是黑色
|
|
65
|
+
|
|
66
|
+
--gm-color-border: fade(#d8dee7, 50%);
|
|
67
|
+
|
|
68
|
+
// bg
|
|
69
|
+
--gm-color-bg-success: #1eac52;
|
|
70
|
+
--gm-color-bg-danger: #fa5151;
|
|
71
|
+
--gm-color-bg-switch: #afb5c0;
|
|
72
|
+
--gm-color-bg-disabled: #f0f1f3;
|
|
73
|
+
|
|
74
|
+
// active
|
|
75
|
+
--gm-color-success-active: darken(#1eac52, 10%);
|
|
76
|
+
--gm-color-danger-active: darken(#fa5151, 10%);
|
|
77
|
+
--gm-color-bg-success-active: darken(#1eac52, 10%);
|
|
78
|
+
--gm-color-bg-danger-active: darken(#fa5151, 10%);
|
|
79
|
+
|
|
80
|
+
// 字体尺寸
|
|
81
|
+
--gm-size-line-height: 1.33;
|
|
82
|
+
--gm-size-text-12: 12px;
|
|
83
|
+
--gm-size-text-14: 14px;
|
|
84
|
+
--gm-size-text-16: 16px;
|
|
85
|
+
--gm-size-text-18: 18px;
|
|
86
|
+
--gm-size-text-20: 20px;
|
|
87
|
+
|
|
88
|
+
--gm-size-text-xs: @gm-font-size-xs;
|
|
89
|
+
--gm-size-text-sm: @gm-font-size-sm;
|
|
90
|
+
|
|
91
|
+
// 大小
|
|
92
|
+
--gm-size-form-height: 30px;
|
|
93
|
+
--gm-size-border-radius: 2px;
|
|
94
|
+
|
|
95
|
+
// 层级
|
|
96
|
+
--gm-z-index-affix: 950;
|
|
97
|
+
--gm-z-index-mask: 1000;
|
|
98
|
+
--gm-z-index-right-side-modal-mask: 1040;
|
|
99
|
+
--gm-z-index-right-side-modal: 1041;
|
|
100
|
+
--gm-z-index-modal-mask: 1050;
|
|
101
|
+
--gm-z-index-modal: 1051;
|
|
102
|
+
--gm-z-index-tips: 7000;
|
|
103
|
+
|
|
104
|
+
// 具体业务
|
|
105
|
+
// nav
|
|
106
|
+
--gm-nav-size-width: 136px;
|
|
107
|
+
// modal
|
|
108
|
+
--gm-modal-size-title-height: 40px;
|
|
109
|
+
// switch
|
|
110
|
+
--gm-switch-size-height: 22px;
|
|
111
|
+
// border
|
|
112
|
+
--gm-table-color-bg-head: #e8eaf0;
|
|
113
|
+
// head 上的动作,比如排序
|
|
114
|
+
--gm-table-color-bg-head-action: #ccc;
|
|
115
|
+
--gm-table-color-bg-head-action-active: #999;
|
|
116
|
+
--gm-table-size-height-action-bar: 50px;
|
|
117
|
+
// card 标签
|
|
118
|
+
--gm-card-bg-inactive: #d4d8d8;
|
|
119
|
+
// label 标签
|
|
120
|
+
--gm-label-color-gray: #e8eaf0;
|
|
121
|
+
--gm-label-color-inactive: #a5a8ad;
|
|
122
|
+
--gm-label-color-danger: #d35147;
|
|
123
|
+
// checkbox radio
|
|
124
|
+
--gm-checkbox-radio-color-disabled: #d4d8d8;
|
|
125
|
+
}
|
package/src/event_type.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
enum EVENT_TYPE {
|
|
2
|
-
MODAL_SHOW = 'GM_EVENT_MODAL_SHOW',
|
|
3
|
-
MODAL_HIDE = 'GM_EVENT_MODAL_HIDE',
|
|
4
|
-
MODAL_SCROLL = 'GM_EVENT_MODAL_SCROLL',
|
|
5
|
-
BROWSER_SCROLL = 'GM_EVENT_BROWSER_SCROLL',
|
|
6
|
-
TABLE_SCROLL = 'GM_EVENT_TABLE_SCROLL',
|
|
7
|
-
FULL_LOADING_SHOW = 'GM_EVENT_FULL_LOADING_SHOW',
|
|
8
|
-
FULL_LOADING_HIDE = 'GM_EVENT_FULL_LOADING_HIDE',
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export default EVENT_TYPE
|
|
1
|
+
enum EVENT_TYPE {
|
|
2
|
+
MODAL_SHOW = 'GM_EVENT_MODAL_SHOW',
|
|
3
|
+
MODAL_HIDE = 'GM_EVENT_MODAL_HIDE',
|
|
4
|
+
MODAL_SCROLL = 'GM_EVENT_MODAL_SCROLL',
|
|
5
|
+
BROWSER_SCROLL = 'GM_EVENT_BROWSER_SCROLL',
|
|
6
|
+
TABLE_SCROLL = 'GM_EVENT_TABLE_SCROLL',
|
|
7
|
+
FULL_LOADING_SHOW = 'GM_EVENT_FULL_LOADING_SHOW',
|
|
8
|
+
FULL_LOADING_HIDE = 'GM_EVENT_FULL_LOADING_HIDE',
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export default EVENT_TYPE
|
package/src/index.less
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
@import '~modern-normalize';
|
|
2
|
-
@import './var';
|
|
3
|
-
|
|
4
|
-
// stylelint-disable
|
|
5
|
-
@tailwind components;
|
|
6
|
-
@tailwind utilities;
|
|
7
|
-
// stylelint-enable
|
|
8
|
-
|
|
9
|
-
@import 'css/base';
|
|
10
|
-
@import 'css/svg';
|
|
11
|
-
@import 'css/text';
|
|
12
|
-
@import 'css/distance';
|
|
13
|
-
@import 'css/bg';
|
|
14
|
-
@import 'css/border';
|
|
15
|
-
@import 'css/display';
|
|
16
|
-
@import 'css/cursor';
|
|
17
|
-
@import 'css/overflow';
|
|
18
|
-
@import 'css/position';
|
|
19
|
-
@import 'css/error';
|
|
20
|
-
@import 'css/other';
|
|
21
|
-
@import 'component/affix/style';
|
|
22
|
-
@import 'component/selection/style';
|
|
23
|
-
@import 'component/multiple_selection/style';
|
|
24
|
-
@import 'component/icon_down_up/style';
|
|
25
|
-
@import 'component/calendar/style';
|
|
26
|
-
@import 'component/date_range_picker/style';
|
|
27
|
-
@import 'component/tip/style';
|
|
28
|
-
@import 'component/n_progress/style';
|
|
29
|
-
@import 'component/divider/style';
|
|
30
|
-
@import 'component/flex/style';
|
|
31
|
-
@import 'component/time_span/style';
|
|
32
|
-
@import 'component/switch/style';
|
|
33
|
-
@import 'component/more_select/style';
|
|
34
|
-
@import 'component/loading/style';
|
|
35
|
-
@import 'component/modal/style';
|
|
36
|
-
@import 'component/form/style';
|
|
37
|
-
@import 'component/nav/style';
|
|
38
|
-
@import 'component/radio/style';
|
|
39
|
-
@import 'component/checkbox/style';
|
|
40
|
-
@import 'component/input_number/style';
|
|
41
|
-
@import 'component/progress/style';
|
|
42
|
-
@import 'component/progress_circle/style';
|
|
43
|
-
@import 'component/mask/style';
|
|
44
|
-
@import 'component/popup/style';
|
|
45
|
-
@import 'component/color_picker/style';
|
|
46
|
-
@import 'component/button/style';
|
|
47
|
-
@import 'component/list/style';
|
|
48
|
-
@import 'component/uploader/style';
|
|
49
|
-
@import 'component/pagination/style';
|
|
50
|
-
@import 'component/level_list/style';
|
|
51
|
-
@import 'component/table_select/style';
|
|
52
|
-
@import 'component/box/style';
|
|
53
|
-
@import 'component/grid/style';
|
|
54
|
-
@import 'component/select/style';
|
|
55
|
-
@import 'component/img_uploader/style';
|
|
56
|
-
@import 'component/tabs/style';
|
|
57
|
-
@import 'component/steps/style';
|
|
58
|
-
@import 'component/tree/style';
|
|
59
|
-
@import 'component/date_picker/style';
|
|
60
|
-
@import 'component/recommend_input/style';
|
|
61
|
-
@import 'component/label/style';
|
|
62
|
-
@import 'component/input/style';
|
|
63
|
-
@import 'component/textarea/style';
|
|
64
|
-
@import 'component/card/style';
|
|
1
|
+
@import '~modern-normalize';
|
|
2
|
+
@import './var';
|
|
3
|
+
|
|
4
|
+
// stylelint-disable
|
|
5
|
+
@tailwind components;
|
|
6
|
+
@tailwind utilities;
|
|
7
|
+
// stylelint-enable
|
|
8
|
+
|
|
9
|
+
@import 'css/base';
|
|
10
|
+
@import 'css/svg';
|
|
11
|
+
@import 'css/text';
|
|
12
|
+
@import 'css/distance';
|
|
13
|
+
@import 'css/bg';
|
|
14
|
+
@import 'css/border';
|
|
15
|
+
@import 'css/display';
|
|
16
|
+
@import 'css/cursor';
|
|
17
|
+
@import 'css/overflow';
|
|
18
|
+
@import 'css/position';
|
|
19
|
+
@import 'css/error';
|
|
20
|
+
@import 'css/other';
|
|
21
|
+
@import 'component/affix/style';
|
|
22
|
+
@import 'component/selection/style';
|
|
23
|
+
@import 'component/multiple_selection/style';
|
|
24
|
+
@import 'component/icon_down_up/style';
|
|
25
|
+
@import 'component/calendar/style';
|
|
26
|
+
@import 'component/date_range_picker/style';
|
|
27
|
+
@import 'component/tip/style';
|
|
28
|
+
@import 'component/n_progress/style';
|
|
29
|
+
@import 'component/divider/style';
|
|
30
|
+
@import 'component/flex/style';
|
|
31
|
+
@import 'component/time_span/style';
|
|
32
|
+
@import 'component/switch/style';
|
|
33
|
+
@import 'component/more_select/style';
|
|
34
|
+
@import 'component/loading/style';
|
|
35
|
+
@import 'component/modal/style';
|
|
36
|
+
@import 'component/form/style';
|
|
37
|
+
@import 'component/nav/style';
|
|
38
|
+
@import 'component/radio/style';
|
|
39
|
+
@import 'component/checkbox/style';
|
|
40
|
+
@import 'component/input_number/style';
|
|
41
|
+
@import 'component/progress/style';
|
|
42
|
+
@import 'component/progress_circle/style';
|
|
43
|
+
@import 'component/mask/style';
|
|
44
|
+
@import 'component/popup/style';
|
|
45
|
+
@import 'component/color_picker/style';
|
|
46
|
+
@import 'component/button/style';
|
|
47
|
+
@import 'component/list/style';
|
|
48
|
+
@import 'component/uploader/style';
|
|
49
|
+
@import 'component/pagination/style';
|
|
50
|
+
@import 'component/level_list/style';
|
|
51
|
+
@import 'component/table_select/style';
|
|
52
|
+
@import 'component/box/style';
|
|
53
|
+
@import 'component/grid/style';
|
|
54
|
+
@import 'component/select/style';
|
|
55
|
+
@import 'component/img_uploader/style';
|
|
56
|
+
@import 'component/tabs/style';
|
|
57
|
+
@import 'component/steps/style';
|
|
58
|
+
@import 'component/tree/style';
|
|
59
|
+
@import 'component/date_picker/style';
|
|
60
|
+
@import 'component/recommend_input/style';
|
|
61
|
+
@import 'component/label/style';
|
|
62
|
+
@import 'component/input/style';
|
|
63
|
+
@import 'component/textarea/style';
|
|
64
|
+
@import 'component/card/style';
|
package/src/index.ts
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
export * from './types'
|
|
2
|
-
export { default as EVENT_TYPE } from './event_type'
|
|
3
|
-
export { default as Validator } from './validator'
|
|
4
|
-
export * from './component/affix'
|
|
5
|
-
export * from './component/auto_complete'
|
|
6
|
-
export * from './component/box'
|
|
7
|
-
export * from './component/button'
|
|
8
|
-
export * from './component/calendar'
|
|
9
|
-
export * from './component/checkbox'
|
|
10
|
-
export * from './component/collapse'
|
|
11
|
-
export * from './component/color_picker'
|
|
12
|
-
export * from './component/date_picker'
|
|
13
|
-
export * from './component/date_range_picker'
|
|
14
|
-
export * from './component/dialog'
|
|
15
|
-
export * from './component/divider'
|
|
16
|
-
export * from './component/flex'
|
|
17
|
-
export * from './component/flip_number'
|
|
18
|
-
export * from './component/form'
|
|
19
|
-
export * from './component/function_set'
|
|
20
|
-
export * from './component/grid'
|
|
21
|
-
export * from './component/icon_down_up'
|
|
22
|
-
export * from './component/img_uploader'
|
|
23
|
-
export * from './component/input'
|
|
24
|
-
export * from './component/input_number'
|
|
25
|
-
export * from './component/textarea'
|
|
26
|
-
export * from './component/layout_root'
|
|
27
|
-
export * from './component/level_list'
|
|
28
|
-
export * from './component/level_select'
|
|
29
|
-
export * from './component/list'
|
|
30
|
-
export * from './component/loading'
|
|
31
|
-
export * from './component/mask'
|
|
32
|
-
export * from './component/modal'
|
|
33
|
-
export * from './component/more_select'
|
|
34
|
-
export * from './component/nav'
|
|
35
|
-
export * from './component/n_progress'
|
|
36
|
-
export * from './component/pagination'
|
|
37
|
-
export * from './component/popover'
|
|
38
|
-
export { PopupContentConfirm } from './component/popup'
|
|
39
|
-
export type { PopupContentConfirmProps } from './component/popup'
|
|
40
|
-
export * from './component/price'
|
|
41
|
-
export * from './component/progress'
|
|
42
|
-
export * from './component/progress_circle'
|
|
43
|
-
export * from './component/radio'
|
|
44
|
-
export * from './component/select'
|
|
45
|
-
export * from './component/selection'
|
|
46
|
-
export * from './component/steps'
|
|
47
|
-
export * from './component/storage'
|
|
48
|
-
export * from './component/switch'
|
|
49
|
-
export * from './component/table_select'
|
|
50
|
-
export * from './component/tabs'
|
|
51
|
-
export * from './component/time_span'
|
|
52
|
-
export * from './component/tip'
|
|
53
|
-
export * from './component/tooltip'
|
|
54
|
-
export * from './component/transfer'
|
|
55
|
-
export * from './component/tree'
|
|
56
|
-
export * from './component/uploader'
|
|
57
|
-
export * from './component/recommend_input'
|
|
58
|
-
export * from './component/card'
|
|
59
|
-
export * from './component/controlled_form'
|
|
60
|
-
export * from './component/v_browser'
|
|
61
|
-
export * from './component/config_provider'
|
|
1
|
+
export * from './types'
|
|
2
|
+
export { default as EVENT_TYPE } from './event_type'
|
|
3
|
+
export { default as Validator } from './validator'
|
|
4
|
+
export * from './component/affix'
|
|
5
|
+
export * from './component/auto_complete'
|
|
6
|
+
export * from './component/box'
|
|
7
|
+
export * from './component/button'
|
|
8
|
+
export * from './component/calendar'
|
|
9
|
+
export * from './component/checkbox'
|
|
10
|
+
export * from './component/collapse'
|
|
11
|
+
export * from './component/color_picker'
|
|
12
|
+
export * from './component/date_picker'
|
|
13
|
+
export * from './component/date_range_picker'
|
|
14
|
+
export * from './component/dialog'
|
|
15
|
+
export * from './component/divider'
|
|
16
|
+
export * from './component/flex'
|
|
17
|
+
export * from './component/flip_number'
|
|
18
|
+
export * from './component/form'
|
|
19
|
+
export * from './component/function_set'
|
|
20
|
+
export * from './component/grid'
|
|
21
|
+
export * from './component/icon_down_up'
|
|
22
|
+
export * from './component/img_uploader'
|
|
23
|
+
export * from './component/input'
|
|
24
|
+
export * from './component/input_number'
|
|
25
|
+
export * from './component/textarea'
|
|
26
|
+
export * from './component/layout_root'
|
|
27
|
+
export * from './component/level_list'
|
|
28
|
+
export * from './component/level_select'
|
|
29
|
+
export * from './component/list'
|
|
30
|
+
export * from './component/loading'
|
|
31
|
+
export * from './component/mask'
|
|
32
|
+
export * from './component/modal'
|
|
33
|
+
export * from './component/more_select'
|
|
34
|
+
export * from './component/nav'
|
|
35
|
+
export * from './component/n_progress'
|
|
36
|
+
export * from './component/pagination'
|
|
37
|
+
export * from './component/popover'
|
|
38
|
+
export { PopupContentConfirm } from './component/popup'
|
|
39
|
+
export type { PopupContentConfirmProps } from './component/popup'
|
|
40
|
+
export * from './component/price'
|
|
41
|
+
export * from './component/progress'
|
|
42
|
+
export * from './component/progress_circle'
|
|
43
|
+
export * from './component/radio'
|
|
44
|
+
export * from './component/select'
|
|
45
|
+
export * from './component/selection'
|
|
46
|
+
export * from './component/steps'
|
|
47
|
+
export * from './component/storage'
|
|
48
|
+
export * from './component/switch'
|
|
49
|
+
export * from './component/table_select'
|
|
50
|
+
export * from './component/tabs'
|
|
51
|
+
export * from './component/time_span'
|
|
52
|
+
export * from './component/tip'
|
|
53
|
+
export * from './component/tooltip'
|
|
54
|
+
export * from './component/transfer'
|
|
55
|
+
export * from './component/tree'
|
|
56
|
+
export * from './component/uploader'
|
|
57
|
+
export * from './component/recommend_input'
|
|
58
|
+
export * from './component/card'
|
|
59
|
+
export * from './component/controlled_form'
|
|
60
|
+
export * from './component/v_browser'
|
|
61
|
+
export * from './component/config_provider'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
-
viewBox="0 0 10 10" enable-background="new 0 0 10 10" xml:space="preserve">
|
|
5
|
-
<path d="M2.8,4.6c-0.2,0.2-0.2,0.6,0,0.8l3.3,4.3C6.2,9.9,6.4,10,6.6,10c0.2,0,0.3,0,0.5-0.2
|
|
6
|
-
c0.2-0.1,0.2-0.2,0.2-0.4s0-0.3-0.2-0.5L4.1,5l3.1-3.9C7.3,1,7.3,0.8,7.3,0.6S7.2,0.3,7.1,0.1C7,0.1,6.8,0,6.6,0.1
|
|
7
|
-
c-0.2,0-0.3,0.1-0.4,0.2L2.8,4.6z"/>
|
|
8
|
-
</svg>
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
+
viewBox="0 0 10 10" enable-background="new 0 0 10 10" xml:space="preserve">
|
|
5
|
+
<path d="M2.8,4.6c-0.2,0.2-0.2,0.6,0,0.8l3.3,4.3C6.2,9.9,6.4,10,6.6,10c0.2,0,0.3,0,0.5-0.2
|
|
6
|
+
c0.2-0.1,0.2-0.2,0.2-0.4s0-0.3-0.2-0.5L4.1,5l3.1-3.9C7.3,1,7.3,0.8,7.3,0.6S7.2,0.3,7.1,0.1C7,0.1,6.8,0,6.6,0.1
|
|
7
|
+
c-0.2,0-0.3,0.1-0.4,0.2L2.8,4.6z"/>
|
|
8
|
+
</svg>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
-
viewBox="0 0 10 10" enable-background="new 0 0 10 10" xml:space="preserve">
|
|
5
|
-
<g>
|
|
6
|
-
<g>
|
|
7
|
-
<path d="M4.8,8.9L1.8,5l3.1-3.9C4.9,1,5,0.8,5,0.6S4.9,0.3,4.8,0.1C4.7,0.1,4.5,0,4.4,0.1C4.2,0.1,4,0.1,3.9,0.2
|
|
8
|
-
L0.4,4.6c-0.2,0.2-0.2,0.6,0,0.8l3.3,4.3C3.9,9.9,4,10,4.2,10s0.3,0,0.5-0.2c0.2-0.1,0.2-0.2,0.2-0.4S4.9,9.1,4.8,8.9L4.8,8.9z"/>
|
|
9
|
-
<path d="M5.2,4.6C5,4.8,5,5.1,5.2,5.4l3.3,4.3C8.6,9.9,8.8,10,8.9,10s0.3,0,0.5-0.2c0.2-0.1,0.2-0.2,0.2-0.4
|
|
10
|
-
s0-0.3-0.2-0.5L6.4,5l3.1-3.9C9.6,1,9.7,0.8,9.7,0.6S9.6,0.3,9.4,0.1C9.3,0.1,9.2,0,9,0.1c-0.2,0-0.3,0.1-0.4,0.2L5.2,4.6z"/>
|
|
11
|
-
</g>
|
|
12
|
-
</g>
|
|
13
|
-
</svg>
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
+
viewBox="0 0 10 10" enable-background="new 0 0 10 10" xml:space="preserve">
|
|
5
|
+
<g>
|
|
6
|
+
<g>
|
|
7
|
+
<path d="M4.8,8.9L1.8,5l3.1-3.9C4.9,1,5,0.8,5,0.6S4.9,0.3,4.8,0.1C4.7,0.1,4.5,0,4.4,0.1C4.2,0.1,4,0.1,3.9,0.2
|
|
8
|
+
L0.4,4.6c-0.2,0.2-0.2,0.6,0,0.8l3.3,4.3C3.9,9.9,4,10,4.2,10s0.3,0,0.5-0.2c0.2-0.1,0.2-0.2,0.2-0.4S4.9,9.1,4.8,8.9L4.8,8.9z"/>
|
|
9
|
+
<path d="M5.2,4.6C5,4.8,5,5.1,5.2,5.4l3.3,4.3C8.6,9.9,8.8,10,8.9,10s0.3,0,0.5-0.2c0.2-0.1,0.2-0.2,0.2-0.4
|
|
10
|
+
s0-0.3-0.2-0.5L6.4,5l3.1-3.9C9.6,1,9.7,0.8,9.7,0.6S9.6,0.3,9.4,0.1C9.3,0.1,9.2,0,9,0.1c-0.2,0-0.3,0.1-0.4,0.2L5.2,4.6z"/>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</svg>
|
package/src/svg/calendar.svg
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
-
viewBox="0 0 14 14" enable-background="new 0 0 14 14" xml:space="preserve">
|
|
5
|
-
<g>
|
|
6
|
-
<path d="M11.9,1.6h-0.7c-0.3,0-0.5,0.2-0.5,0.5c0,0.3,0.2,0.5,0.5,0.5h0.7c0.5,0,0.9,0.4,0.9,0.9v1.8H1.1V3.6
|
|
7
|
-
c0-0.2,0.1-0.5,0.3-0.7c0.2-0.2,0.4-0.3,0.7-0.3h0.7c0.3,0,0.5-0.2,0.5-0.5c0-0.3-0.2-0.5-0.5-0.5H2.1c-1.1,0-2,0.9-2,2v8
|
|
8
|
-
c0,1.1,0.9,2,2,2h9.9c1.1,0,2-0.9,2-2v-8C13.9,2.5,13,1.6,11.9,1.6z M11.9,12.5H2.1c-0.2,0-0.5-0.1-0.7-0.3
|
|
9
|
-
c-0.2-0.2-0.3-0.4-0.3-0.7V6.4h11.8v5.2C12.9,12.1,12.5,12.5,11.9,12.5z"/>
|
|
10
|
-
<path d="M4,4.1c0.3,0,0.5-0.2,0.5-0.5V0.9c0-0.3-0.2-0.5-0.5-0.5c-0.3,0-0.5,0.2-0.5,0.5v2.6C3.5,3.8,3.7,4.1,4,4.1
|
|
11
|
-
z"/>
|
|
12
|
-
<path d="M10,4.1c0.1,0,0.3-0.1,0.4-0.2c0.1-0.1,0.2-0.2,0.2-0.4V0.9c0-0.3-0.2-0.5-0.5-0.5c-0.3,0-0.5,0.2-0.5,0.5
|
|
13
|
-
v2.6c0,0.1,0.1,0.3,0.2,0.4C9.7,4,9.8,4.1,10,4.1z"/>
|
|
14
|
-
<path d="M5.3,2.6h3.3c0.3,0,0.5-0.2,0.5-0.5c0-0.3-0.2-0.5-0.5-0.5H5.3C5,1.6,4.8,1.8,4.8,2.1
|
|
15
|
-
C4.8,2.4,5,2.6,5.3,2.6z"/>
|
|
16
|
-
</g>
|
|
17
|
-
</svg>
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
+
viewBox="0 0 14 14" enable-background="new 0 0 14 14" xml:space="preserve">
|
|
5
|
+
<g>
|
|
6
|
+
<path d="M11.9,1.6h-0.7c-0.3,0-0.5,0.2-0.5,0.5c0,0.3,0.2,0.5,0.5,0.5h0.7c0.5,0,0.9,0.4,0.9,0.9v1.8H1.1V3.6
|
|
7
|
+
c0-0.2,0.1-0.5,0.3-0.7c0.2-0.2,0.4-0.3,0.7-0.3h0.7c0.3,0,0.5-0.2,0.5-0.5c0-0.3-0.2-0.5-0.5-0.5H2.1c-1.1,0-2,0.9-2,2v8
|
|
8
|
+
c0,1.1,0.9,2,2,2h9.9c1.1,0,2-0.9,2-2v-8C13.9,2.5,13,1.6,11.9,1.6z M11.9,12.5H2.1c-0.2,0-0.5-0.1-0.7-0.3
|
|
9
|
+
c-0.2-0.2-0.3-0.4-0.3-0.7V6.4h11.8v5.2C12.9,12.1,12.5,12.5,11.9,12.5z"/>
|
|
10
|
+
<path d="M4,4.1c0.3,0,0.5-0.2,0.5-0.5V0.9c0-0.3-0.2-0.5-0.5-0.5c-0.3,0-0.5,0.2-0.5,0.5v2.6C3.5,3.8,3.7,4.1,4,4.1
|
|
11
|
+
z"/>
|
|
12
|
+
<path d="M10,4.1c0.1,0,0.3-0.1,0.4-0.2c0.1-0.1,0.2-0.2,0.2-0.4V0.9c0-0.3-0.2-0.5-0.5-0.5c-0.3,0-0.5,0.2-0.5,0.5
|
|
13
|
+
v2.6c0,0.1,0.1,0.3,0.2,0.4C9.7,4,9.8,4.1,10,4.1z"/>
|
|
14
|
+
<path d="M5.3,2.6h3.3c0.3,0,0.5-0.2,0.5-0.5c0-0.3-0.2-0.5-0.5-0.5H5.3C5,1.6,4.8,1.8,4.8,2.1
|
|
15
|
+
C4.8,2.4,5,2.6,5.3,2.6z"/>
|
|
16
|
+
</g>
|
|
17
|
+
</svg>
|
package/src/svg/check-detail.svg
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
-
viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
|
|
5
|
-
<g>
|
|
6
|
-
<g>
|
|
7
|
-
<path d="M12.4,4.1c0-0.3-0.3-0.6-0.6-0.6H4.6c-0.3,0-0.6,0.3-0.6,0.6c0,0.3,0.3,0.6,0.6,0.6h7.2
|
|
8
|
-
C12.2,4.6,12.4,4.4,12.4,4.1L12.4,4.1z M4.6,6.9c-0.3,0-0.6,0.3-0.6,0.6C4.1,7.8,4.3,8,4.6,8H8c0.3,0,0.6-0.3,0.6-0.6
|
|
9
|
-
c0-0.3-0.3-0.6-0.6-0.6H4.6z M12.8,12.7c0,0-0.1-0.1-0.1-0.1c0.3-0.5,0.5-1,0.5-1.6c0-1.6-1.3-2.8-2.9-2.8c-1.6,0-2.9,1.3-2.9,2.8
|
|
10
|
-
c0,1.6,1.3,2.8,2.9,2.8c0.6,0,1.1-0.2,1.6-0.5c0,0.1,0.1,0.1,0.1,0.1l1.5,1.5c0.2,0.2,0.6,0.2,0.8,0c0.2-0.2,0.2-0.6,0-0.8
|
|
11
|
-
L12.8,12.7z M10.3,12.7c-1,0-1.7-0.8-1.7-1.7c0-0.9,0.8-1.7,1.7-1.7c1,0,1.7,0.8,1.7,1.7C12,11.9,11.2,12.7,10.3,12.7L10.3,12.7z
|
|
12
|
-
M10.3,12.7"/>
|
|
13
|
-
<path d="M9.4,14.8H3.1c-0.6,0-1.1-0.5-1.1-1.1V2.4c0-0.6,0.5-1.1,1.1-1.1h9.7c0.6,0,1.1,0.5,1.1,1.1V8h0v0
|
|
14
|
-
c0,0.3,0.3,0.6,0.6,0.6c0.3,0,0.6-0.3,0.6-0.6c0,0,0,0,0-0.1V2.4c0-1.2-0.5-2.3-1.7-2.3H3.2c-1.2,0-2.3,1-2.3,2.3v11.3
|
|
15
|
-
c0,1.2,1,2.3,2.3,2.3h6.2c0.3,0,0.6-0.3,0.6-0.6C10,15,9.7,14.8,9.4,14.8L9.4,14.8z M9.4,14.8"/>
|
|
16
|
-
</g>
|
|
17
|
-
</g>
|
|
18
|
-
</svg>
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
+
viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
|
|
5
|
+
<g>
|
|
6
|
+
<g>
|
|
7
|
+
<path d="M12.4,4.1c0-0.3-0.3-0.6-0.6-0.6H4.6c-0.3,0-0.6,0.3-0.6,0.6c0,0.3,0.3,0.6,0.6,0.6h7.2
|
|
8
|
+
C12.2,4.6,12.4,4.4,12.4,4.1L12.4,4.1z M4.6,6.9c-0.3,0-0.6,0.3-0.6,0.6C4.1,7.8,4.3,8,4.6,8H8c0.3,0,0.6-0.3,0.6-0.6
|
|
9
|
+
c0-0.3-0.3-0.6-0.6-0.6H4.6z M12.8,12.7c0,0-0.1-0.1-0.1-0.1c0.3-0.5,0.5-1,0.5-1.6c0-1.6-1.3-2.8-2.9-2.8c-1.6,0-2.9,1.3-2.9,2.8
|
|
10
|
+
c0,1.6,1.3,2.8,2.9,2.8c0.6,0,1.1-0.2,1.6-0.5c0,0.1,0.1,0.1,0.1,0.1l1.5,1.5c0.2,0.2,0.6,0.2,0.8,0c0.2-0.2,0.2-0.6,0-0.8
|
|
11
|
+
L12.8,12.7z M10.3,12.7c-1,0-1.7-0.8-1.7-1.7c0-0.9,0.8-1.7,1.7-1.7c1,0,1.7,0.8,1.7,1.7C12,11.9,11.2,12.7,10.3,12.7L10.3,12.7z
|
|
12
|
+
M10.3,12.7"/>
|
|
13
|
+
<path d="M9.4,14.8H3.1c-0.6,0-1.1-0.5-1.1-1.1V2.4c0-0.6,0.5-1.1,1.1-1.1h9.7c0.6,0,1.1,0.5,1.1,1.1V8h0v0
|
|
14
|
+
c0,0.3,0.3,0.6,0.6,0.6c0.3,0,0.6-0.3,0.6-0.6c0,0,0,0,0-0.1V2.4c0-1.2-0.5-2.3-1.7-2.3H3.2c-1.2,0-2.3,1-2.3,2.3v11.3
|
|
15
|
+
c0,1.2,1,2.3,2.3,2.3h6.2c0.3,0,0.6-0.3,0.6-0.6C10,15,9.7,14.8,9.4,14.8L9.4,14.8z M9.4,14.8"/>
|
|
16
|
+
</g>
|
|
17
|
+
</g>
|
|
18
|
+
</svg>
|