@haoyulong1112/jh-ui 0.1.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/dist/components/alert/index.d.ts +125 -0
- package/dist/components/alert/src/alert.vue.d.ts +73 -0
- package/dist/components/alert/src/props.d.ts +32 -0
- package/dist/components/alert/src/types.d.ts +2 -0
- package/dist/components/backtop/index.d.ts +102 -0
- package/dist/components/backtop/src/backtop.vue.d.ts +57 -0
- package/dist/components/backtop/src/props.d.ts +22 -0
- package/dist/components/backtop/src/types.d.ts +3 -0
- package/dist/components/badge/index.d.ts +101 -0
- package/dist/components/badge/src/badge.vue.d.ts +59 -0
- package/dist/components/badge/src/props.d.ts +24 -0
- package/dist/components/badge/src/types.d.ts +2 -0
- package/dist/components/button/index.d.ts +123 -0
- package/dist/components/button/src/button.vue.d.ts +69 -0
- package/dist/components/button/src/props.d.ts +33 -0
- package/dist/components/button/src/types.d.ts +3 -0
- package/dist/components/carousel/index.d.ts +187 -0
- package/dist/components/carousel/src/carousel-item.vue.d.ts +24 -0
- package/dist/components/carousel/src/carousel.vue.d.ts +86 -0
- package/dist/components/carousel/src/props.d.ts +44 -0
- package/dist/components/carousel/src/types.d.ts +11 -0
- package/dist/components/cascader/index.d.ts +68 -0
- package/dist/components/cascader/src/cascader.vue.d.ts +67 -0
- package/dist/components/cascader/src/props.d.ts +33 -0
- package/dist/components/cascader/src/types.d.ts +13 -0
- package/dist/components/checkbox/index.d.ts +139 -0
- package/dist/components/checkbox/src/checkbox-group.vue.d.ts +34 -0
- package/dist/components/checkbox/src/checkbox.vue.d.ts +44 -0
- package/dist/components/checkbox/src/props.d.ts +31 -0
- package/dist/components/checkbox/src/types.d.ts +8 -0
- package/dist/components/collapse/index.d.ts +120 -0
- package/dist/components/collapse/src/collapse-item.vue.d.ts +37 -0
- package/dist/components/collapse/src/collapse.vue.d.ts +33 -0
- package/dist/components/collapse/src/props.d.ts +24 -0
- package/dist/components/collapse/src/types.d.ts +8 -0
- package/dist/components/date-picker/index.d.ts +32 -0
- package/dist/components/date-picker/src/date-picker.vue.d.ts +30 -0
- package/dist/components/date-picker/src/props.d.ts +16 -0
- package/dist/components/date-picker/src/types.d.ts +1 -0
- package/dist/components/date-time-picker/index.d.ts +32 -0
- package/dist/components/date-time-picker/src/date-time-picker.vue.d.ts +30 -0
- package/dist/components/date-time-picker/src/props.d.ts +16 -0
- package/dist/components/date-time-picker/src/types.d.ts +1 -0
- package/dist/components/dialog/index.d.ts +97 -0
- package/dist/components/dialog/src/dialog.vue.d.ts +54 -0
- package/dist/components/dialog/src/props.d.ts +22 -0
- package/dist/components/dialog/src/types.d.ts +1 -0
- package/dist/components/drawer/index.d.ts +139 -0
- package/dist/components/drawer/src/drawer.vue.d.ts +79 -0
- package/dist/components/drawer/src/props.d.ts +33 -0
- package/dist/components/drawer/src/types.d.ts +2 -0
- package/dist/components/dropdown/index.d.ts +115 -0
- package/dist/components/dropdown/src/dropdown.vue.d.ts +67 -0
- package/dist/components/dropdown/src/props.d.ts +30 -0
- package/dist/components/dropdown/src/types.d.ts +9 -0
- package/dist/components/form/index.d.ts +127 -0
- package/dist/components/form/src/form-item.vue.d.ts +27 -0
- package/dist/components/form/src/form.vue.d.ts +45 -0
- package/dist/components/form/src/props.d.ts +24 -0
- package/dist/components/form/src/types.d.ts +19 -0
- package/dist/components/icon/index.d.ts +53 -0
- package/dist/components/icon/src/icon.vue.d.ts +31 -0
- package/dist/components/icon/src/props.d.ts +13 -0
- package/dist/components/icon/src/types.d.ts +1 -0
- package/dist/components/index.d.ts +6387 -0
- package/dist/components/infinite-scroll/index.d.ts +107 -0
- package/dist/components/infinite-scroll/src/infinite-scroll.vue.d.ts +59 -0
- package/dist/components/infinite-scroll/src/props.d.ts +21 -0
- package/dist/components/infinite-scroll/src/types.d.ts +5 -0
- package/dist/components/input/index.d.ts +110 -0
- package/dist/components/input/src/input.vue.d.ts +58 -0
- package/dist/components/input/src/props.d.ts +26 -0
- package/dist/components/input/src/types.d.ts +1 -0
- package/dist/components/link/index.d.ts +84 -0
- package/dist/components/link/src/link.vue.d.ts +48 -0
- package/dist/components/link/src/props.d.ts +23 -0
- package/dist/components/link/src/types.d.ts +2 -0
- package/dist/components/message/index.d.ts +7 -0
- package/dist/components/message/src/message.vue.d.ts +79 -0
- package/dist/components/message/src/props.d.ts +33 -0
- package/dist/components/message/src/types.d.ts +32 -0
- package/dist/components/message-box/index.d.ts +7 -0
- package/dist/components/message-box/src/message-box.vue.d.ts +101 -0
- package/dist/components/message-box/src/props.d.ts +42 -0
- package/dist/components/message-box/src/types.d.ts +27 -0
- package/dist/components/notification/index.d.ts +7 -0
- package/dist/components/notification/src/notification.vue.d.ts +95 -0
- package/dist/components/notification/src/props.d.ts +46 -0
- package/dist/components/notification/src/types.d.ts +36 -0
- package/dist/components/pagination/index.d.ts +45 -0
- package/dist/components/pagination/src/pagination.vue.d.ts +43 -0
- package/dist/components/pagination/src/props.d.ts +23 -0
- package/dist/components/pagination/src/types.d.ts +4 -0
- package/dist/components/radio/index.d.ts +112 -0
- package/dist/components/radio/src/props.d.ts +25 -0
- package/dist/components/radio/src/radio-group.vue.d.ts +27 -0
- package/dist/components/radio/src/radio.vue.d.ts +36 -0
- package/dist/components/radio/src/types.d.ts +8 -0
- package/dist/components/scrollbar/index.d.ts +60 -0
- package/dist/components/scrollbar/src/props.d.ts +14 -0
- package/dist/components/scrollbar/src/scrollbar.vue.d.ts +33 -0
- package/dist/components/scrollbar/src/types.d.ts +4 -0
- package/dist/components/select/index.d.ts +43 -0
- package/dist/components/select/src/props.d.ts +22 -0
- package/dist/components/select/src/select.vue.d.ts +42 -0
- package/dist/components/select/src/types.d.ts +6 -0
- package/dist/components/table/index.d.ts +147 -0
- package/dist/components/table/src/props.d.ts +31 -0
- package/dist/components/table/src/table.vue.d.ts +88 -0
- package/dist/components/table/src/types.d.ts +11 -0
- package/dist/components/tabs/index.d.ts +112 -0
- package/dist/components/tabs/src/props.d.ts +23 -0
- package/dist/components/tabs/src/tab-pane.vue.d.ts +35 -0
- package/dist/components/tabs/src/tabs.vue.d.ts +31 -0
- package/dist/components/tabs/src/types.d.ts +14 -0
- package/dist/components/text/index.d.ts +86 -0
- package/dist/components/text/src/props.d.ts +23 -0
- package/dist/components/text/src/text.vue.d.ts +51 -0
- package/dist/components/text/src/types.d.ts +3 -0
- package/dist/components/time-select/index.d.ts +64 -0
- package/dist/components/time-select/src/props.d.ts +29 -0
- package/dist/components/time-select/src/time-select.vue.d.ts +63 -0
- package/dist/components/time-select/src/types.d.ts +4 -0
- package/dist/components/tree/index.d.ts +167 -0
- package/dist/components/tree/src/props.d.ts +39 -0
- package/dist/components/tree/src/tree.vue.d.ts +97 -0
- package/dist/components/tree/src/types.d.ts +21 -0
- package/dist/components/upload/index.d.ts +89 -0
- package/dist/components/upload/src/props.d.ts +41 -0
- package/dist/components/upload/src/types.d.ts +11 -0
- package/dist/components/upload/src/upload.vue.d.ts +88 -0
- package/dist/components/waterfall/index.d.ts +195 -0
- package/dist/components/waterfall/src/props.d.ts +42 -0
- package/dist/components/waterfall/src/types.d.ts +17 -0
- package/dist/components/waterfall/src/waterfall.vue.d.ts +122 -0
- package/dist/es/components/alert/style/css.js +1 -0
- package/dist/es/components/alert/style/style.css +128 -0
- package/dist/es/components/backtop/style/css.js +1 -0
- package/dist/es/components/backtop/style/style.css +67 -0
- package/dist/es/components/badge/style/css.js +1 -0
- package/dist/es/components/badge/style/style.css +88 -0
- package/dist/es/components/button/style/css.js +1 -0
- package/dist/es/components/button/style/style.css +207 -0
- package/dist/es/components/carousel/style/css.js +1 -0
- package/dist/es/components/carousel/style/style.css +118 -0
- package/dist/es/components/cascader/style/css.js +1 -0
- package/dist/es/components/cascader/style/style.css +172 -0
- package/dist/es/components/checkbox/style/css.js +1 -0
- package/dist/es/components/checkbox/style/style.css +95 -0
- package/dist/es/components/collapse/style/css.js +1 -0
- package/dist/es/components/collapse/style/style.css +91 -0
- package/dist/es/components/date-picker/style/css.js +1 -0
- package/dist/es/components/date-picker/style/style.css +78 -0
- package/dist/es/components/date-time-picker/style/css.js +1 -0
- package/dist/es/components/date-time-picker/style/style.css +78 -0
- package/dist/es/components/dialog/style/css.js +1 -0
- package/dist/es/components/dialog/style/style.css +129 -0
- package/dist/es/components/drawer/style/css.js +1 -0
- package/dist/es/components/drawer/style/style.css +162 -0
- package/dist/es/components/dropdown/style/css.js +1 -0
- package/dist/es/components/dropdown/style/style.css +138 -0
- package/dist/es/components/form/style/css.js +1 -0
- package/dist/es/components/form/style/style.css +73 -0
- package/dist/es/components/icon/style/css.js +1 -0
- package/dist/es/components/icon/style/style.css +61 -0
- package/dist/es/components/infinite-scroll/style/css.js +1 -0
- package/dist/es/components/infinite-scroll/style/style.css +54 -0
- package/dist/es/components/input/style/css.js +1 -0
- package/dist/es/components/input/style/style.css +152 -0
- package/dist/es/components/link/style/css.js +1 -0
- package/dist/es/components/link/style/style.css +82 -0
- package/dist/es/components/message/style/css.js +1 -0
- package/dist/es/components/message/style/style.css +111 -0
- package/dist/es/components/message-box/style/css.js +1 -0
- package/dist/es/components/message-box/style/style.css +156 -0
- package/dist/es/components/notification/style/css.js +1 -0
- package/dist/es/components/notification/style/style.css +128 -0
- package/dist/es/components/pagination/style/css.js +1 -0
- package/dist/es/components/pagination/style/style.css +89 -0
- package/dist/es/components/radio/style/css.js +1 -0
- package/dist/es/components/radio/style/style.css +91 -0
- package/dist/es/components/scrollbar/style/css.js +1 -0
- package/dist/es/components/scrollbar/style/style.css +75 -0
- package/dist/es/components/select/style/css.js +1 -0
- package/dist/es/components/select/style/style.css +140 -0
- package/dist/es/components/table/style/css.js +1 -0
- package/dist/es/components/table/style/style.css +177 -0
- package/dist/es/components/tabs/style/css.js +1 -0
- package/dist/es/components/tabs/style/style.css +85 -0
- package/dist/es/components/text/style/css.js +1 -0
- package/dist/es/components/text/style/style.css +84 -0
- package/dist/es/components/time-select/style/css.js +1 -0
- package/dist/es/components/time-select/style/style.css +153 -0
- package/dist/es/components/tree/style/css.js +1 -0
- package/dist/es/components/tree/style/style.css +113 -0
- package/dist/es/components/upload/style/css.js +1 -0
- package/dist/es/components/upload/style/style.css +148 -0
- package/dist/es/components/waterfall/style/css.js +1 -0
- package/dist/es/components/waterfall/style/style.css +85 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +63 -0
- package/dist/index.mjs +3341 -0
- package/dist/index.mjs.map +1 -0
- package/dist/resolver.cjs +2 -0
- package/dist/resolver.cjs.map +1 -0
- package/dist/resolver.d.ts +14 -0
- package/dist/resolver.mjs +59 -0
- package/dist/resolver.mjs.map +1 -0
- package/dist/utils/src/index.d.ts +1 -0
- package/dist/utils/src/install.d.ts +3 -0
- package/package.json +70 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--jh-color-white: #ffffff;
|
|
3
|
+
--jh-color-black: #000000;
|
|
4
|
+
--jh-color-primary: #7958d5;
|
|
5
|
+
--jh-color-success: #67c23a;
|
|
6
|
+
--jh-color-warning: #e6a23c;
|
|
7
|
+
--jh-color-danger: #f56c6c;
|
|
8
|
+
--jh-color-info: #909399;
|
|
9
|
+
--jh-text-color-primary: #303133;
|
|
10
|
+
--jh-text-color-regular: #606266;
|
|
11
|
+
--jh-border-color: #dcdfe6;
|
|
12
|
+
--jh-border-color-light: #e4e7ed;
|
|
13
|
+
--jh-fill-color-light: #f5f7fa;
|
|
14
|
+
--jh-disabled-bg-color: #f5f7fa;
|
|
15
|
+
--jh-disabled-text-color: #a8abb2;
|
|
16
|
+
--jh-border-radius-base: 4px;
|
|
17
|
+
--jh-border-radius-round: 20px;
|
|
18
|
+
--jh-transition-duration: 0.2s;
|
|
19
|
+
--jh-font-size-base: 14px;
|
|
20
|
+
--jh-font-size-small: 12px;
|
|
21
|
+
--jh-font-size-large: 16px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
html.dark {
|
|
25
|
+
--jh-color-white: #1d1e1f;
|
|
26
|
+
--jh-color-black: #ffffff;
|
|
27
|
+
--jh-text-color-primary: #e5eaf3;
|
|
28
|
+
--jh-text-color-regular: #cfd3dc;
|
|
29
|
+
--jh-border-color: #4c4d4f;
|
|
30
|
+
--jh-border-color-light: #363637;
|
|
31
|
+
--jh-fill-color-light: #262727;
|
|
32
|
+
--jh-disabled-bg-color: #262727;
|
|
33
|
+
--jh-disabled-text-color: #6c6e72;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.jh-date-picker {
|
|
37
|
+
position: relative;
|
|
38
|
+
display: inline-flex;
|
|
39
|
+
width: 220px;
|
|
40
|
+
font-size: var(--jh-font-size-base);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.jh-date-picker__inner {
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
width: 100%;
|
|
46
|
+
height: 32px;
|
|
47
|
+
padding: 1px 34px 1px 11px;
|
|
48
|
+
border: 1px solid var(--jh-border-color);
|
|
49
|
+
border-radius: var(--jh-border-radius-base);
|
|
50
|
+
background-color: var(--jh-color-white);
|
|
51
|
+
color: var(--jh-text-color-primary);
|
|
52
|
+
font: inherit;
|
|
53
|
+
outline: none;
|
|
54
|
+
}
|
|
55
|
+
.jh-date-picker__inner:hover, .jh-date-picker__inner:focus {
|
|
56
|
+
border-color: var(--jh-color-primary);
|
|
57
|
+
}
|
|
58
|
+
.jh-date-picker__inner:disabled {
|
|
59
|
+
background-color: var(--jh-disabled-bg-color);
|
|
60
|
+
color: var(--jh-disabled-text-color);
|
|
61
|
+
cursor: not-allowed;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.jh-date-picker__clear {
|
|
65
|
+
position: absolute;
|
|
66
|
+
top: 6px;
|
|
67
|
+
right: 8px;
|
|
68
|
+
display: inline-flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
width: 20px;
|
|
72
|
+
height: 20px;
|
|
73
|
+
padding: 0;
|
|
74
|
+
border: 0;
|
|
75
|
+
background: transparent;
|
|
76
|
+
color: var(--jh-color-info);
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './style.css'
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--jh-color-white: #ffffff;
|
|
3
|
+
--jh-color-black: #000000;
|
|
4
|
+
--jh-color-primary: #7958d5;
|
|
5
|
+
--jh-color-success: #67c23a;
|
|
6
|
+
--jh-color-warning: #e6a23c;
|
|
7
|
+
--jh-color-danger: #f56c6c;
|
|
8
|
+
--jh-color-info: #909399;
|
|
9
|
+
--jh-text-color-primary: #303133;
|
|
10
|
+
--jh-text-color-regular: #606266;
|
|
11
|
+
--jh-border-color: #dcdfe6;
|
|
12
|
+
--jh-border-color-light: #e4e7ed;
|
|
13
|
+
--jh-fill-color-light: #f5f7fa;
|
|
14
|
+
--jh-disabled-bg-color: #f5f7fa;
|
|
15
|
+
--jh-disabled-text-color: #a8abb2;
|
|
16
|
+
--jh-border-radius-base: 4px;
|
|
17
|
+
--jh-border-radius-round: 20px;
|
|
18
|
+
--jh-transition-duration: 0.2s;
|
|
19
|
+
--jh-font-size-base: 14px;
|
|
20
|
+
--jh-font-size-small: 12px;
|
|
21
|
+
--jh-font-size-large: 16px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
html.dark {
|
|
25
|
+
--jh-color-white: #1d1e1f;
|
|
26
|
+
--jh-color-black: #ffffff;
|
|
27
|
+
--jh-text-color-primary: #e5eaf3;
|
|
28
|
+
--jh-text-color-regular: #cfd3dc;
|
|
29
|
+
--jh-border-color: #4c4d4f;
|
|
30
|
+
--jh-border-color-light: #363637;
|
|
31
|
+
--jh-fill-color-light: #262727;
|
|
32
|
+
--jh-disabled-bg-color: #262727;
|
|
33
|
+
--jh-disabled-text-color: #6c6e72;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.jh-date-picker {
|
|
37
|
+
position: relative;
|
|
38
|
+
display: inline-flex;
|
|
39
|
+
width: 220px;
|
|
40
|
+
font-size: var(--jh-font-size-base);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.jh-date-picker__inner {
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
width: 100%;
|
|
46
|
+
height: 32px;
|
|
47
|
+
padding: 1px 34px 1px 11px;
|
|
48
|
+
border: 1px solid var(--jh-border-color);
|
|
49
|
+
border-radius: var(--jh-border-radius-base);
|
|
50
|
+
background-color: var(--jh-color-white);
|
|
51
|
+
color: var(--jh-text-color-primary);
|
|
52
|
+
font: inherit;
|
|
53
|
+
outline: none;
|
|
54
|
+
}
|
|
55
|
+
.jh-date-picker__inner:hover, .jh-date-picker__inner:focus {
|
|
56
|
+
border-color: var(--jh-color-primary);
|
|
57
|
+
}
|
|
58
|
+
.jh-date-picker__inner:disabled {
|
|
59
|
+
background-color: var(--jh-disabled-bg-color);
|
|
60
|
+
color: var(--jh-disabled-text-color);
|
|
61
|
+
cursor: not-allowed;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.jh-date-picker__clear {
|
|
65
|
+
position: absolute;
|
|
66
|
+
top: 6px;
|
|
67
|
+
right: 8px;
|
|
68
|
+
display: inline-flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
width: 20px;
|
|
72
|
+
height: 20px;
|
|
73
|
+
padding: 0;
|
|
74
|
+
border: 0;
|
|
75
|
+
background: transparent;
|
|
76
|
+
color: var(--jh-color-info);
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './style.css'
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--jh-color-white: #ffffff;
|
|
3
|
+
--jh-color-black: #000000;
|
|
4
|
+
--jh-color-primary: #7958d5;
|
|
5
|
+
--jh-color-success: #67c23a;
|
|
6
|
+
--jh-color-warning: #e6a23c;
|
|
7
|
+
--jh-color-danger: #f56c6c;
|
|
8
|
+
--jh-color-info: #909399;
|
|
9
|
+
--jh-text-color-primary: #303133;
|
|
10
|
+
--jh-text-color-regular: #606266;
|
|
11
|
+
--jh-border-color: #dcdfe6;
|
|
12
|
+
--jh-border-color-light: #e4e7ed;
|
|
13
|
+
--jh-fill-color-light: #f5f7fa;
|
|
14
|
+
--jh-disabled-bg-color: #f5f7fa;
|
|
15
|
+
--jh-disabled-text-color: #a8abb2;
|
|
16
|
+
--jh-border-radius-base: 4px;
|
|
17
|
+
--jh-border-radius-round: 20px;
|
|
18
|
+
--jh-transition-duration: 0.2s;
|
|
19
|
+
--jh-font-size-base: 14px;
|
|
20
|
+
--jh-font-size-small: 12px;
|
|
21
|
+
--jh-font-size-large: 16px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
html.dark {
|
|
25
|
+
--jh-color-white: #1d1e1f;
|
|
26
|
+
--jh-color-black: #ffffff;
|
|
27
|
+
--jh-text-color-primary: #e5eaf3;
|
|
28
|
+
--jh-text-color-regular: #cfd3dc;
|
|
29
|
+
--jh-border-color: #4c4d4f;
|
|
30
|
+
--jh-border-color-light: #363637;
|
|
31
|
+
--jh-fill-color-light: #262727;
|
|
32
|
+
--jh-disabled-bg-color: #262727;
|
|
33
|
+
--jh-disabled-text-color: #6c6e72;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.jh-overlay {
|
|
37
|
+
position: fixed;
|
|
38
|
+
inset: 0;
|
|
39
|
+
z-index: 2000;
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: flex-start;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
padding: 15vh 16px 40px;
|
|
45
|
+
background-color: rgba(0, 0, 0, 0.45);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.jh-dialog {
|
|
49
|
+
--jh-dialog-bg-color: var(--jh-color-white);
|
|
50
|
+
--jh-dialog-text-color: var(--jh-text-color-primary);
|
|
51
|
+
--jh-dialog-padding: 20px;
|
|
52
|
+
box-sizing: border-box;
|
|
53
|
+
max-width: calc(100vw - 32px);
|
|
54
|
+
border-radius: var(--jh-border-radius-base);
|
|
55
|
+
background-color: var(--jh-dialog-bg-color);
|
|
56
|
+
color: var(--jh-dialog-text-color);
|
|
57
|
+
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.08);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.jh-dialog__header {
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
justify-content: space-between;
|
|
64
|
+
gap: 16px;
|
|
65
|
+
padding: var(--jh-dialog-padding) var(--jh-dialog-padding) 10px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.jh-dialog__title {
|
|
69
|
+
margin: 0;
|
|
70
|
+
color: var(--jh-text-color-primary);
|
|
71
|
+
font-size: 18px;
|
|
72
|
+
font-weight: 600;
|
|
73
|
+
line-height: 1.4;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.jh-dialog__close {
|
|
77
|
+
display: inline-flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
width: 28px;
|
|
81
|
+
height: 28px;
|
|
82
|
+
padding: 0;
|
|
83
|
+
border: 0;
|
|
84
|
+
border-radius: var(--jh-border-radius-base);
|
|
85
|
+
background: transparent;
|
|
86
|
+
color: var(--jh-color-info);
|
|
87
|
+
font: inherit;
|
|
88
|
+
font-size: 16px;
|
|
89
|
+
line-height: 1;
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
}
|
|
92
|
+
.jh-dialog__close:hover, .jh-dialog__close:focus {
|
|
93
|
+
color: var(--jh-color-primary);
|
|
94
|
+
outline: none;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.jh-dialog__body {
|
|
98
|
+
padding: 10px var(--jh-dialog-padding) var(--jh-dialog-padding);
|
|
99
|
+
color: var(--jh-text-color-regular);
|
|
100
|
+
font-size: var(--jh-font-size-base);
|
|
101
|
+
line-height: 1.6;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.jh-dialog__footer {
|
|
105
|
+
display: flex;
|
|
106
|
+
justify-content: flex-end;
|
|
107
|
+
gap: 12px;
|
|
108
|
+
padding: 10px var(--jh-dialog-padding) var(--jh-dialog-padding);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.jh-dialog-fade-enter-active,
|
|
112
|
+
.jh-dialog-fade-leave-active {
|
|
113
|
+
transition: opacity var(--jh-transition-duration);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.jh-dialog-fade-enter-active .jh-dialog,
|
|
117
|
+
.jh-dialog-fade-leave-active .jh-dialog {
|
|
118
|
+
transition: transform var(--jh-transition-duration);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.jh-dialog-fade-enter-from,
|
|
122
|
+
.jh-dialog-fade-leave-to {
|
|
123
|
+
opacity: 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.jh-dialog-fade-enter-from .jh-dialog,
|
|
127
|
+
.jh-dialog-fade-leave-to .jh-dialog {
|
|
128
|
+
transform: translateY(-12px);
|
|
129
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './style.css'
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--jh-color-white: #ffffff;
|
|
3
|
+
--jh-color-black: #000000;
|
|
4
|
+
--jh-color-primary: #7958d5;
|
|
5
|
+
--jh-color-success: #67c23a;
|
|
6
|
+
--jh-color-warning: #e6a23c;
|
|
7
|
+
--jh-color-danger: #f56c6c;
|
|
8
|
+
--jh-color-info: #909399;
|
|
9
|
+
--jh-text-color-primary: #303133;
|
|
10
|
+
--jh-text-color-regular: #606266;
|
|
11
|
+
--jh-border-color: #dcdfe6;
|
|
12
|
+
--jh-border-color-light: #e4e7ed;
|
|
13
|
+
--jh-fill-color-light: #f5f7fa;
|
|
14
|
+
--jh-disabled-bg-color: #f5f7fa;
|
|
15
|
+
--jh-disabled-text-color: #a8abb2;
|
|
16
|
+
--jh-border-radius-base: 4px;
|
|
17
|
+
--jh-border-radius-round: 20px;
|
|
18
|
+
--jh-transition-duration: 0.2s;
|
|
19
|
+
--jh-font-size-base: 14px;
|
|
20
|
+
--jh-font-size-small: 12px;
|
|
21
|
+
--jh-font-size-large: 16px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
html.dark {
|
|
25
|
+
--jh-color-white: #1d1e1f;
|
|
26
|
+
--jh-color-black: #ffffff;
|
|
27
|
+
--jh-text-color-primary: #e5eaf3;
|
|
28
|
+
--jh-text-color-regular: #cfd3dc;
|
|
29
|
+
--jh-border-color: #4c4d4f;
|
|
30
|
+
--jh-border-color-light: #363637;
|
|
31
|
+
--jh-fill-color-light: #262727;
|
|
32
|
+
--jh-disabled-bg-color: #262727;
|
|
33
|
+
--jh-disabled-text-color: #6c6e72;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.jh-drawer-overlay {
|
|
37
|
+
position: fixed;
|
|
38
|
+
inset: 0;
|
|
39
|
+
z-index: 2000;
|
|
40
|
+
background-color: rgba(0, 0, 0, 0.45);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.jh-drawer {
|
|
44
|
+
position: absolute;
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
background-color: var(--jh-color-white);
|
|
49
|
+
color: var(--jh-text-color-primary);
|
|
50
|
+
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.08);
|
|
51
|
+
will-change: transform;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.jh-drawer--rtl {
|
|
55
|
+
top: 0;
|
|
56
|
+
right: 0;
|
|
57
|
+
bottom: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.jh-drawer--ltr {
|
|
61
|
+
top: 0;
|
|
62
|
+
bottom: 0;
|
|
63
|
+
left: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.jh-drawer--ttb {
|
|
67
|
+
top: 0;
|
|
68
|
+
right: 0;
|
|
69
|
+
left: 0;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.jh-drawer--btt {
|
|
73
|
+
right: 0;
|
|
74
|
+
bottom: 0;
|
|
75
|
+
left: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.jh-drawer__header {
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
justify-content: space-between;
|
|
82
|
+
gap: 16px;
|
|
83
|
+
padding: 18px 20px;
|
|
84
|
+
border-bottom: 1px solid var(--jh-border-color-light);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.jh-drawer__title {
|
|
88
|
+
font-size: 18px;
|
|
89
|
+
font-weight: 600;
|
|
90
|
+
line-height: 1.4;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.jh-drawer__close {
|
|
94
|
+
display: inline-flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
justify-content: center;
|
|
97
|
+
width: 28px;
|
|
98
|
+
height: 28px;
|
|
99
|
+
padding: 0;
|
|
100
|
+
border: 0;
|
|
101
|
+
border-radius: var(--jh-border-radius-base);
|
|
102
|
+
background: transparent;
|
|
103
|
+
color: var(--jh-color-info);
|
|
104
|
+
cursor: pointer;
|
|
105
|
+
}
|
|
106
|
+
.jh-drawer__close:hover, .jh-drawer__close:focus {
|
|
107
|
+
color: var(--jh-color-primary);
|
|
108
|
+
outline: none;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.jh-drawer__body {
|
|
112
|
+
flex: 1 1 auto;
|
|
113
|
+
min-height: 0;
|
|
114
|
+
padding: 20px;
|
|
115
|
+
overflow: auto;
|
|
116
|
+
color: var(--jh-text-color-regular);
|
|
117
|
+
font-size: var(--jh-font-size-base);
|
|
118
|
+
line-height: 1.6;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.jh-drawer__footer {
|
|
122
|
+
display: flex;
|
|
123
|
+
justify-content: flex-end;
|
|
124
|
+
gap: 12px;
|
|
125
|
+
padding: 16px 20px;
|
|
126
|
+
border-top: 1px solid var(--jh-border-color-light);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.jh-drawer-fade-enter-active,
|
|
130
|
+
.jh-drawer-fade-leave-active {
|
|
131
|
+
transition: opacity var(--jh-transition-duration);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.jh-drawer-fade-enter-active .jh-drawer,
|
|
135
|
+
.jh-drawer-fade-leave-active .jh-drawer {
|
|
136
|
+
transition: transform var(--jh-transition-duration) ease;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.jh-drawer-fade-enter-from,
|
|
140
|
+
.jh-drawer-fade-leave-to {
|
|
141
|
+
opacity: 0;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.jh-drawer-fade-enter-from.jh-drawer-overlay--rtl .jh-drawer,
|
|
145
|
+
.jh-drawer-fade-leave-to.jh-drawer-overlay--rtl .jh-drawer {
|
|
146
|
+
transform: translateX(100%);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.jh-drawer-fade-enter-from.jh-drawer-overlay--ltr .jh-drawer,
|
|
150
|
+
.jh-drawer-fade-leave-to.jh-drawer-overlay--ltr .jh-drawer {
|
|
151
|
+
transform: translateX(-100%);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.jh-drawer-fade-enter-from.jh-drawer-overlay--ttb .jh-drawer,
|
|
155
|
+
.jh-drawer-fade-leave-to.jh-drawer-overlay--ttb .jh-drawer {
|
|
156
|
+
transform: translateY(-100%);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.jh-drawer-fade-enter-from.jh-drawer-overlay--btt .jh-drawer,
|
|
160
|
+
.jh-drawer-fade-leave-to.jh-drawer-overlay--btt .jh-drawer {
|
|
161
|
+
transform: translateY(100%);
|
|
162
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './style.css'
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--jh-color-white: #ffffff;
|
|
3
|
+
--jh-color-black: #000000;
|
|
4
|
+
--jh-color-primary: #7958d5;
|
|
5
|
+
--jh-color-success: #67c23a;
|
|
6
|
+
--jh-color-warning: #e6a23c;
|
|
7
|
+
--jh-color-danger: #f56c6c;
|
|
8
|
+
--jh-color-info: #909399;
|
|
9
|
+
--jh-text-color-primary: #303133;
|
|
10
|
+
--jh-text-color-regular: #606266;
|
|
11
|
+
--jh-border-color: #dcdfe6;
|
|
12
|
+
--jh-border-color-light: #e4e7ed;
|
|
13
|
+
--jh-fill-color-light: #f5f7fa;
|
|
14
|
+
--jh-disabled-bg-color: #f5f7fa;
|
|
15
|
+
--jh-disabled-text-color: #a8abb2;
|
|
16
|
+
--jh-border-radius-base: 4px;
|
|
17
|
+
--jh-border-radius-round: 20px;
|
|
18
|
+
--jh-transition-duration: 0.2s;
|
|
19
|
+
--jh-font-size-base: 14px;
|
|
20
|
+
--jh-font-size-small: 12px;
|
|
21
|
+
--jh-font-size-large: 16px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
html.dark {
|
|
25
|
+
--jh-color-white: #1d1e1f;
|
|
26
|
+
--jh-color-black: #ffffff;
|
|
27
|
+
--jh-text-color-primary: #e5eaf3;
|
|
28
|
+
--jh-text-color-regular: #cfd3dc;
|
|
29
|
+
--jh-border-color: #4c4d4f;
|
|
30
|
+
--jh-border-color-light: #363637;
|
|
31
|
+
--jh-fill-color-light: #262727;
|
|
32
|
+
--jh-disabled-bg-color: #262727;
|
|
33
|
+
--jh-disabled-text-color: #6c6e72;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.jh-dropdown {
|
|
37
|
+
position: relative;
|
|
38
|
+
display: inline-flex;
|
|
39
|
+
color: var(--jh-text-color-primary);
|
|
40
|
+
font-size: var(--jh-font-size-base);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.jh-dropdown__trigger {
|
|
44
|
+
display: inline-flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
justify-content: center;
|
|
47
|
+
gap: 6px;
|
|
48
|
+
box-sizing: border-box;
|
|
49
|
+
min-height: 32px;
|
|
50
|
+
padding: 8px 15px;
|
|
51
|
+
border: 1px solid var(--jh-border-color);
|
|
52
|
+
border-radius: var(--jh-border-radius-base);
|
|
53
|
+
background-color: var(--jh-color-white);
|
|
54
|
+
color: var(--jh-text-color-primary);
|
|
55
|
+
font: inherit;
|
|
56
|
+
line-height: 1;
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
transition: color var(--jh-transition-duration), border-color var(--jh-transition-duration);
|
|
59
|
+
}
|
|
60
|
+
.jh-dropdown__trigger:hover, .jh-dropdown__trigger:focus {
|
|
61
|
+
border-color: var(--jh-color-primary);
|
|
62
|
+
color: var(--jh-color-primary);
|
|
63
|
+
outline: none;
|
|
64
|
+
}
|
|
65
|
+
.jh-dropdown__trigger:disabled {
|
|
66
|
+
background-color: var(--jh-disabled-bg-color);
|
|
67
|
+
color: var(--jh-disabled-text-color);
|
|
68
|
+
cursor: not-allowed;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.jh-dropdown__arrow {
|
|
72
|
+
transform: rotate(90deg);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.jh-dropdown.is-disabled .jh-dropdown__trigger {
|
|
76
|
+
cursor: not-allowed;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.jh-dropdown__menu {
|
|
80
|
+
position: absolute;
|
|
81
|
+
top: calc(100% + 8px);
|
|
82
|
+
z-index: 2010;
|
|
83
|
+
display: flex;
|
|
84
|
+
flex-direction: column;
|
|
85
|
+
min-width: 120px;
|
|
86
|
+
padding: 6px 0;
|
|
87
|
+
border: 1px solid var(--jh-border-color-light);
|
|
88
|
+
border-radius: var(--jh-border-radius-base);
|
|
89
|
+
background-color: var(--jh-color-white);
|
|
90
|
+
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.08);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.jh-dropdown--bottom-start .jh-dropdown__menu {
|
|
94
|
+
left: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.jh-dropdown--bottom-end .jh-dropdown__menu {
|
|
98
|
+
right: 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.jh-dropdown__item {
|
|
102
|
+
box-sizing: border-box;
|
|
103
|
+
width: 100%;
|
|
104
|
+
min-height: 34px;
|
|
105
|
+
padding: 0 16px;
|
|
106
|
+
border: 0;
|
|
107
|
+
background: transparent;
|
|
108
|
+
color: var(--jh-text-color-regular);
|
|
109
|
+
font: inherit;
|
|
110
|
+
line-height: 1;
|
|
111
|
+
text-align: left;
|
|
112
|
+
white-space: nowrap;
|
|
113
|
+
cursor: pointer;
|
|
114
|
+
}
|
|
115
|
+
.jh-dropdown__item:hover, .jh-dropdown__item:focus {
|
|
116
|
+
background-color: var(--jh-fill-color-light);
|
|
117
|
+
color: var(--jh-color-primary);
|
|
118
|
+
outline: none;
|
|
119
|
+
}
|
|
120
|
+
.jh-dropdown__item.is-disabled, .jh-dropdown__item:disabled {
|
|
121
|
+
color: var(--jh-disabled-text-color);
|
|
122
|
+
cursor: not-allowed;
|
|
123
|
+
}
|
|
124
|
+
.jh-dropdown__item.is-divided {
|
|
125
|
+
margin-top: 6px;
|
|
126
|
+
border-top: 1px solid var(--jh-border-color-light);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.jh-dropdown-fade-enter-active,
|
|
130
|
+
.jh-dropdown-fade-leave-active {
|
|
131
|
+
transition: opacity var(--jh-transition-duration), transform var(--jh-transition-duration);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.jh-dropdown-fade-enter-from,
|
|
135
|
+
.jh-dropdown-fade-leave-to {
|
|
136
|
+
opacity: 0;
|
|
137
|
+
transform: translateY(-4px);
|
|
138
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './style.css'
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--jh-color-white: #ffffff;
|
|
3
|
+
--jh-color-black: #000000;
|
|
4
|
+
--jh-color-primary: #7958d5;
|
|
5
|
+
--jh-color-success: #67c23a;
|
|
6
|
+
--jh-color-warning: #e6a23c;
|
|
7
|
+
--jh-color-danger: #f56c6c;
|
|
8
|
+
--jh-color-info: #909399;
|
|
9
|
+
--jh-text-color-primary: #303133;
|
|
10
|
+
--jh-text-color-regular: #606266;
|
|
11
|
+
--jh-border-color: #dcdfe6;
|
|
12
|
+
--jh-border-color-light: #e4e7ed;
|
|
13
|
+
--jh-fill-color-light: #f5f7fa;
|
|
14
|
+
--jh-disabled-bg-color: #f5f7fa;
|
|
15
|
+
--jh-disabled-text-color: #a8abb2;
|
|
16
|
+
--jh-border-radius-base: 4px;
|
|
17
|
+
--jh-border-radius-round: 20px;
|
|
18
|
+
--jh-transition-duration: 0.2s;
|
|
19
|
+
--jh-font-size-base: 14px;
|
|
20
|
+
--jh-font-size-small: 12px;
|
|
21
|
+
--jh-font-size-large: 16px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
html.dark {
|
|
25
|
+
--jh-color-white: #1d1e1f;
|
|
26
|
+
--jh-color-black: #ffffff;
|
|
27
|
+
--jh-text-color-primary: #e5eaf3;
|
|
28
|
+
--jh-text-color-regular: #cfd3dc;
|
|
29
|
+
--jh-border-color: #4c4d4f;
|
|
30
|
+
--jh-border-color-light: #363637;
|
|
31
|
+
--jh-fill-color-light: #262727;
|
|
32
|
+
--jh-disabled-bg-color: #262727;
|
|
33
|
+
--jh-disabled-text-color: #6c6e72;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.jh-form {
|
|
37
|
+
--jh-form-label-width: 100px;
|
|
38
|
+
display: block;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.jh-form-item {
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: flex-start;
|
|
44
|
+
margin-bottom: 18px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.jh-form-item__label {
|
|
48
|
+
box-sizing: border-box;
|
|
49
|
+
width: var(--jh-form-label-width);
|
|
50
|
+
padding-right: 12px;
|
|
51
|
+
color: var(--jh-text-color-regular);
|
|
52
|
+
font-size: var(--jh-font-size-base);
|
|
53
|
+
line-height: 32px;
|
|
54
|
+
text-align: right;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.jh-form-item.is-required .jh-form-item__label::before {
|
|
58
|
+
margin-right: 4px;
|
|
59
|
+
color: var(--jh-color-danger);
|
|
60
|
+
content: "*";
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.jh-form-item__content {
|
|
64
|
+
flex: 1 1 auto;
|
|
65
|
+
min-width: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.jh-form-item__error {
|
|
69
|
+
margin-top: 6px;
|
|
70
|
+
color: var(--jh-color-danger);
|
|
71
|
+
font-size: var(--jh-font-size-small);
|
|
72
|
+
line-height: 1.3;
|
|
73
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './style.css'
|