savor-ui 0.2.0 → 0.3.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/CHANGELOG.md +20 -0
- package/dist/es/components/index.d.ts +1 -0
- package/dist/es/components/index.mjs +5 -3
- package/dist/es/components/src/anchor/anchor.vue_vue_type_script_setup_true_vapor_true_lang.mjs +46 -35
- package/dist/es/components/src/avatar/types.d.ts +1 -1
- package/dist/es/components/src/button/button.vue_vue_type_script_setup_true_vapor_true_lang.mjs +29 -32
- package/dist/es/components/src/color-picker/color-picker.vue_vue_type_script_setup_true_vapor_true_lang.mjs +91 -94
- package/dist/es/components/src/config-provider/config-provider.d.ts +9 -17
- package/dist/es/components/src/config-provider/config-provider.vue.mjs +1 -1
- package/dist/es/components/src/config-provider/config-provider.vue_vue_type_script_setup_true_lang.mjs +24 -0
- package/dist/es/components/src/config-provider/index.d.ts +17 -20
- package/dist/es/components/src/config-provider-vapor/config-provider-vapor.d.ts +20 -0
- package/dist/es/components/src/config-provider-vapor/config-provider-vapor.vue.mjs +5 -0
- package/dist/es/components/src/{config-provider/config-provider.vue_vue_type_script_setup_true_vapor_true_lang.mjs → config-provider-vapor/config-provider-vapor.vue_vue_type_script_setup_true_vapor_true_lang.mjs} +4 -4
- package/dist/es/components/src/config-provider-vapor/index.d.ts +21 -0
- package/dist/es/components/src/config-provider-vapor/index.mjs +8 -0
- package/dist/es/components/src/config-provider-vapor/types.d.ts +17 -0
- package/dist/es/components/src/config-provider-vapor/types.mjs +4 -0
- package/dist/es/components/src/drawer/drawer.vue_vue_type_script_setup_true_vapor_true_lang.mjs +4 -4
- package/dist/es/components/src/dropdown/doption.vue_vue_type_script_setup_true_vapor_true_lang.mjs +20 -23
- package/dist/es/components/src/dropdown/dsubmenu.vue_vue_type_script_setup_true_vapor_true_lang.mjs +27 -30
- package/dist/es/components/src/layout/index.d.ts +1 -0
- package/dist/es/components/src/layout/layout.vue_vue_type_script_setup_true_vapor_true_lang.mjs +11 -5
- package/dist/es/components/src/layout/types.d.ts +2 -0
- package/dist/es/components/src/message/types.d.ts +2 -2
- package/dist/es/components/src/scrollbar/index.d.ts +3 -0
- package/dist/es/components/src/scrollbar/scrollbar.vue_vue_type_script_setup_true_vapor_true_lang.mjs +35 -29
- package/dist/es/components/src/scrollbar/types.d.ts +7 -0
- package/dist/es/components/src/select/index.d.ts +6 -5
- package/dist/es/components/src/select/select.d.ts +5 -5
- package/dist/es/components/src/select/select.vue_vue_type_script_setup_true_vapor_true_lang.mjs +189 -125
- package/dist/es/components/src/select/types.d.ts +6 -4
- package/dist/es/components/src/space/index.d.ts +1 -0
- package/dist/es/components/src/space/space.vue_vue_type_script_setup_true_vapor_true_lang.mjs +3 -1
- package/dist/es/components/src/space/types.d.ts +2 -0
- package/dist/es/components/src/table/table.vue_vue_type_script_setup_true_vapor_true_lang.mjs +10 -12
- package/dist/es/components/src/table/types.d.ts +2 -2
- package/dist/es/core/components.mjs +66 -64
- package/dist/es/core/global.d.ts +1 -0
- package/dist/es/core/index.mjs +61 -59
- package/dist/es/hooks/index.d.ts +0 -1
- package/dist/es/hooks/index.mjs +0 -1
- package/dist/es/theme/components/button.scss +22 -3
- package/dist/es/theme/components/cascader.scss +3 -0
- package/dist/es/theme/components/collapse.scss +16 -17
- package/dist/es/theme/components/color-picker.scss +4 -1
- package/dist/es/theme/components/dropdown.scss +34 -24
- package/dist/es/theme/components/layout.scss +0 -1
- package/dist/es/theme/components/pagination.scss +5 -0
- package/dist/es/theme/components/segmented.scss +1 -1
- package/dist/es/theme/components/select.scss +92 -1
- package/dist/es/theme/components/space.scss +4 -0
- package/dist/es/theme/components/tabs.scss +3 -3
- package/dist/es/theme/components/wheel.scss +12 -9
- package/dist/es/theme/mixins/function.scss +9 -4
- package/dist/es/utils/src/theme/themeMap.mjs +4 -4
- package/dist/json/vetur-attributes.json +28 -2
- package/dist/json/vetur-tags.json +15 -4
- package/dist/json/web-types.json +75 -3
- package/package.json +1 -1
- package/dist/es/hooks/src/use-ripple.d.ts +0 -15
- package/dist/es/hooks/src/use-ripple.mjs +0 -86
|
@@ -4,10 +4,10 @@ import { SPopover as r } from "../components/src/popover/index.mjs";
|
|
|
4
4
|
import { STooltip as i } from "../components/src/tooltip/index.mjs";
|
|
5
5
|
import { SForm as a, SFormItem as o } from "../components/src/form/index.mjs";
|
|
6
6
|
import { SInput as s } from "../components/src/input/index.mjs";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
7
|
+
import { SBackTop as c } from "../components/src/back-top/index.mjs";
|
|
8
|
+
import { SScrollbar as l } from "../components/src/scrollbar/index.mjs";
|
|
9
|
+
import { SAutoComplete as u } from "../components/src/auto-complete/index.mjs";
|
|
10
|
+
import { SAvatar as d } from "../components/src/avatar/index.mjs";
|
|
11
11
|
import { SBadge as f } from "../components/src/badge/index.mjs";
|
|
12
12
|
import { SButton as p, SButtonGroup as m } from "../components/src/button/index.mjs";
|
|
13
13
|
import { SCard as h } from "../components/src/card/index.mjs";
|
|
@@ -17,53 +17,54 @@ import { SCheckbox as v, SCheckboxGroup as y } from "../components/src/checkbox/
|
|
|
17
17
|
import { SCollapse as b, SCollapseItem as x } from "../components/src/collapse/index.mjs";
|
|
18
18
|
import { SEmpty as S } from "../components/src/empty/index.mjs";
|
|
19
19
|
import { SIcon as C } from "../components/src/icon/index.mjs";
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
20
|
+
import { STag as w } from "../components/src/tag/index.mjs";
|
|
21
|
+
import { SSelect as T } from "../components/src/select/index.mjs";
|
|
22
|
+
import { SColorPicker as E } from "../components/src/color-picker/index.mjs";
|
|
23
|
+
import { SConfigProviderVapor as D } from "../components/src/config-provider-vapor/index.mjs";
|
|
24
|
+
import { SDatePicker as O } from "../components/src/date-picker/index.mjs";
|
|
25
|
+
import { SDatetimePicker as k } from "../components/src/datetime-picker/index.mjs";
|
|
26
|
+
import { SDescriptions as A, SDescriptionsItem as j } from "../components/src/descriptions/index.mjs";
|
|
27
|
+
import { SDivider as M } from "../components/src/divider/index.mjs";
|
|
28
|
+
import { SDrawer as N } from "../components/src/drawer/index.mjs";
|
|
29
|
+
import { SDoption as P, SDropdown as F, SDsubmenu as I } from "../components/src/dropdown/index.mjs";
|
|
30
|
+
import { SGalleria as L } from "../components/src/galleria/index.mjs";
|
|
31
|
+
import { SGrid as R, SGridItem as z } from "../components/src/grid/index.mjs";
|
|
32
|
+
import { SImage as B, SImageGroup as V, SImagePreview as H } from "../components/src/image/index.mjs";
|
|
33
|
+
import { SInputNumber as U } from "../components/src/input-number/index.mjs";
|
|
34
|
+
import { SInputTag as W } from "../components/src/input-tag/index.mjs";
|
|
35
|
+
import { SLayout as G, SLayoutAside as K, SLayoutContent as q, SLayoutFooter as J, SLayoutHeader as Y } from "../components/src/layout/index.mjs";
|
|
36
|
+
import { SLink as X } from "../components/src/link/index.mjs";
|
|
37
|
+
import { SList as Z } from "../components/src/list/index.mjs";
|
|
38
|
+
import { SMenu as Q, SMenuGroup as $, SMenuItem as ee, SSubMenu as te } from "../components/src/menu/index.mjs";
|
|
39
|
+
import { SMeterGroup as ne } from "../components/src/meter-group/index.mjs";
|
|
40
|
+
import { SModal as re } from "../components/src/modal/index.mjs";
|
|
41
|
+
import { SPagination as ie } from "../components/src/pagination/index.mjs";
|
|
42
|
+
import { SPanel as ae } from "../components/src/panel/index.mjs";
|
|
43
|
+
import { SProgress as oe } from "../components/src/progress/index.mjs";
|
|
44
|
+
import { SRadio as se, SRadioGroup as ce } from "../components/src/radio/index.mjs";
|
|
45
|
+
import { SSegmented as le } from "../components/src/segmented/index.mjs";
|
|
46
|
+
import { SSkeleton as ue } from "../components/src/skeleton/index.mjs";
|
|
47
|
+
import { SSpace as de } from "../components/src/space/index.mjs";
|
|
48
|
+
import { SStatistic as fe } from "../components/src/statistic/index.mjs";
|
|
49
|
+
import { SSwitch as pe } from "../components/src/switch/index.mjs";
|
|
50
|
+
import { STable as me } from "../components/src/table/index.mjs";
|
|
51
|
+
import { STab as he, STabPane as ge, STabs as _e } from "../components/src/tabs/index.mjs";
|
|
52
|
+
import { SText as ve } from "../components/src/text/index.mjs";
|
|
53
|
+
import { STextarea as ye } from "../components/src/textarea/index.mjs";
|
|
54
|
+
import { STimeline as be, STimelineItem as xe } from "../components/src/timeline/index.mjs";
|
|
55
|
+
import { STree as Se } from "../components/src/tree/index.mjs";
|
|
56
|
+
import { SUpload as Ce } from "../components/src/upload/index.mjs";
|
|
57
|
+
import { SWaterfall as we } from "../components/src/waterfall/index.mjs";
|
|
58
|
+
import { SWatermark as Te } from "../components/src/watermark/index.mjs";
|
|
59
|
+
import { SWheel as Ee } from "../components/src/wheel/index.mjs";
|
|
59
60
|
import "../components/index.mjs";
|
|
60
61
|
//#region components.ts
|
|
61
|
-
var
|
|
62
|
+
var De = [
|
|
62
63
|
e,
|
|
63
|
-
l,
|
|
64
|
-
t,
|
|
65
64
|
u,
|
|
65
|
+
t,
|
|
66
66
|
d,
|
|
67
|
+
c,
|
|
67
68
|
f,
|
|
68
69
|
p,
|
|
69
70
|
m,
|
|
@@ -74,30 +75,29 @@ var Ee = [
|
|
|
74
75
|
y,
|
|
75
76
|
b,
|
|
76
77
|
x,
|
|
77
|
-
T,
|
|
78
|
-
n,
|
|
79
78
|
E,
|
|
79
|
+
n,
|
|
80
80
|
D,
|
|
81
81
|
O,
|
|
82
82
|
k,
|
|
83
83
|
A,
|
|
84
|
-
M,
|
|
85
84
|
j,
|
|
86
|
-
|
|
85
|
+
M,
|
|
87
86
|
P,
|
|
87
|
+
N,
|
|
88
|
+
F,
|
|
89
|
+
I,
|
|
88
90
|
S,
|
|
89
91
|
a,
|
|
90
92
|
o,
|
|
91
|
-
F,
|
|
92
|
-
I,
|
|
93
93
|
L,
|
|
94
|
-
C,
|
|
95
94
|
R,
|
|
96
95
|
z,
|
|
96
|
+
C,
|
|
97
97
|
B,
|
|
98
|
-
s,
|
|
99
98
|
V,
|
|
100
99
|
H,
|
|
100
|
+
s,
|
|
101
101
|
U,
|
|
102
102
|
W,
|
|
103
103
|
G,
|
|
@@ -108,37 +108,39 @@ var Ee = [
|
|
|
108
108
|
X,
|
|
109
109
|
Z,
|
|
110
110
|
Q,
|
|
111
|
+
$,
|
|
111
112
|
ee,
|
|
112
|
-
te,
|
|
113
113
|
ne,
|
|
114
114
|
re,
|
|
115
|
-
r,
|
|
116
115
|
ie,
|
|
117
116
|
ae,
|
|
117
|
+
r,
|
|
118
118
|
oe,
|
|
119
|
-
c,
|
|
120
119
|
se,
|
|
121
|
-
w,
|
|
122
120
|
ce,
|
|
121
|
+
l,
|
|
123
122
|
le,
|
|
123
|
+
T,
|
|
124
124
|
ue,
|
|
125
|
-
$,
|
|
126
125
|
de,
|
|
127
|
-
pe,
|
|
128
126
|
fe,
|
|
129
|
-
|
|
127
|
+
te,
|
|
128
|
+
pe,
|
|
130
129
|
he,
|
|
130
|
+
me,
|
|
131
131
|
ge,
|
|
132
132
|
_e,
|
|
133
|
+
w,
|
|
133
134
|
ve,
|
|
134
135
|
ye,
|
|
135
136
|
be,
|
|
136
|
-
i,
|
|
137
137
|
xe,
|
|
138
|
+
i,
|
|
138
139
|
Se,
|
|
139
140
|
Ce,
|
|
140
141
|
we,
|
|
141
|
-
Te
|
|
142
|
+
Te,
|
|
143
|
+
Ee
|
|
142
144
|
];
|
|
143
145
|
//#endregion
|
|
144
|
-
export {
|
|
146
|
+
export { De as default };
|
package/dist/es/core/global.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ declare module "vue" {
|
|
|
17
17
|
SCollapseItem: (typeof import("savor-ui"))["SCollapseItem"];
|
|
18
18
|
SColorPicker: (typeof import("savor-ui"))["SColorPicker"];
|
|
19
19
|
SConfigProvider: (typeof import("savor-ui"))["SConfigProvider"];
|
|
20
|
+
SConfigProviderVapor: (typeof import("savor-ui"))["SConfigProviderVapor"];
|
|
20
21
|
SDatePicker: (typeof import("savor-ui"))["SDatePicker"];
|
|
21
22
|
SDatetimePicker: (typeof import("savor-ui"))["SDatetimePicker"];
|
|
22
23
|
SDescriptions: (typeof import("savor-ui"))["SDescriptions"];
|
package/dist/es/core/index.mjs
CHANGED
|
@@ -9,11 +9,11 @@ import { SPopover as l } from "../components/src/popover/index.mjs";
|
|
|
9
9
|
import { STooltip as u } from "../components/src/tooltip/index.mjs";
|
|
10
10
|
import { SForm as d, SFormItem as f } from "../components/src/form/index.mjs";
|
|
11
11
|
import { SInput as p } from "../components/src/input/index.mjs";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
12
|
+
import { buttonGroupContextKey as m } from "../components/src/button/types.mjs";
|
|
13
|
+
import { SBackTop as h } from "../components/src/back-top/index.mjs";
|
|
14
|
+
import { SScrollbar as g } from "../components/src/scrollbar/index.mjs";
|
|
15
|
+
import { SAutoComplete as _ } from "../components/src/auto-complete/index.mjs";
|
|
16
|
+
import { SAvatar as v } from "../components/src/avatar/index.mjs";
|
|
17
17
|
import { SBadge as y } from "../components/src/badge/index.mjs";
|
|
18
18
|
import { SButton as b, SButtonGroup as x } from "../components/src/button/index.mjs";
|
|
19
19
|
import { SCard as S } from "../components/src/card/index.mjs";
|
|
@@ -25,60 +25,62 @@ import { collapseContextKey as O } from "../components/src/collapse/types.mjs";
|
|
|
25
25
|
import { SCollapse as k, SCollapseItem as A } from "../components/src/collapse/index.mjs";
|
|
26
26
|
import { SEmpty as j } from "../components/src/empty/index.mjs";
|
|
27
27
|
import { SIcon as M } from "../components/src/icon/index.mjs";
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import ne from "../components/src/
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
28
|
+
import { STag as N } from "../components/src/tag/index.mjs";
|
|
29
|
+
import { SSelect as P } from "../components/src/select/index.mjs";
|
|
30
|
+
import { SColorPicker as F } from "../components/src/color-picker/index.mjs";
|
|
31
|
+
import { configProviderVaporContextKey as I } from "../components/src/config-provider-vapor/types.mjs";
|
|
32
|
+
import { SConfigProviderVapor as L } from "../components/src/config-provider-vapor/index.mjs";
|
|
33
|
+
import { SDatePicker as R } from "../components/src/date-picker/index.mjs";
|
|
34
|
+
import { SDatetimePicker as z } from "../components/src/datetime-picker/index.mjs";
|
|
35
|
+
import { descriptionsContextKey as B } from "../components/src/descriptions/types.mjs";
|
|
36
|
+
import { SDescriptions as V, SDescriptionsItem as H } from "../components/src/descriptions/index.mjs";
|
|
37
|
+
import { SDivider as U } from "../components/src/divider/index.mjs";
|
|
38
|
+
import { SDrawer as W } from "../components/src/drawer/index.mjs";
|
|
39
|
+
import { dropdownContextKey as G } from "../components/src/dropdown/types.mjs";
|
|
40
|
+
import { SDoption as K, SDropdown as q, SDsubmenu as J } from "../components/src/dropdown/index.mjs";
|
|
41
|
+
import { SGalleria as Y } from "../components/src/galleria/index.mjs";
|
|
42
|
+
import { gridContextKey as X } from "../components/src/grid/types.mjs";
|
|
43
|
+
import { SGrid as Z, SGridItem as Q } from "../components/src/grid/index.mjs";
|
|
44
|
+
import { imageGroupContextKey as $ } from "../components/src/image/types.mjs";
|
|
45
|
+
import { SImage as ee, SImageGroup as te, SImagePreview as ne } from "../components/src/image/index.mjs";
|
|
46
|
+
import { SInputNumber as re } from "../components/src/input-number/index.mjs";
|
|
47
|
+
import { SInputTag as ie } from "../components/src/input-tag/index.mjs";
|
|
48
|
+
import ae from "../components/src/layer/method.mjs";
|
|
49
|
+
import { SLayout as oe, SLayoutAside as se, SLayoutContent as ce, SLayoutFooter as le, SLayoutHeader as ue } from "../components/src/layout/index.mjs";
|
|
50
|
+
import { SLink as de } from "../components/src/link/index.mjs";
|
|
51
|
+
import { SList as fe } from "../components/src/list/index.mjs";
|
|
52
|
+
import { menuContextKey as pe, menuLevelContextKey as me, subMenuContextKey as he } from "../components/src/menu/types.mjs";
|
|
53
|
+
import { SMenu as ge, SMenuGroup as _e, SMenuItem as ve, SSubMenu as ye } from "../components/src/menu/index.mjs";
|
|
54
|
+
import { useMessage as be } from "../components/src/message/method.mjs";
|
|
55
|
+
import { SMeterGroup as xe } from "../components/src/meter-group/index.mjs";
|
|
56
|
+
import { useModal as Se } from "../components/src/modal/method.mjs";
|
|
57
|
+
import { SModal as Ce } from "../components/src/modal/index.mjs";
|
|
58
|
+
import { SPagination as we } from "../components/src/pagination/index.mjs";
|
|
59
|
+
import { SPanel as Te } from "../components/src/panel/index.mjs";
|
|
60
|
+
import { SProgress as Ee } from "../components/src/progress/index.mjs";
|
|
61
|
+
import { radioGroupContextKey as De } from "../components/src/radio/types.mjs";
|
|
62
|
+
import { SRadio as Oe, SRadioGroup as ke } from "../components/src/radio/index.mjs";
|
|
63
|
+
import { SSegmented as Ae } from "../components/src/segmented/index.mjs";
|
|
64
|
+
import { SSkeleton as je } from "../components/src/skeleton/index.mjs";
|
|
65
|
+
import { SSpace as Me } from "../components/src/space/index.mjs";
|
|
66
|
+
import { SStatistic as Ne } from "../components/src/statistic/index.mjs";
|
|
67
|
+
import { SSwitch as Pe } from "../components/src/switch/index.mjs";
|
|
68
|
+
import { STable as Fe } from "../components/src/table/index.mjs";
|
|
69
|
+
import { tabsContextKey as Ie } from "../components/src/tabs/types.mjs";
|
|
70
|
+
import { STab as Le, STabPane as Re, STabs as ze } from "../components/src/tabs/index.mjs";
|
|
71
|
+
import { SText as Be } from "../components/src/text/index.mjs";
|
|
72
|
+
import { STextarea as Ve } from "../components/src/textarea/index.mjs";
|
|
73
|
+
import { timelineContextKey as He } from "../components/src/timeline/types.mjs";
|
|
74
|
+
import { STimeline as Ue, STimelineItem as We } from "../components/src/timeline/index.mjs";
|
|
75
|
+
import { treeContextKey as Ge } from "../components/src/tree/types.mjs";
|
|
76
|
+
import { STree as Ke } from "../components/src/tree/index.mjs";
|
|
77
|
+
import { SUpload as qe } from "../components/src/upload/index.mjs";
|
|
78
|
+
import { SWaterfall as Je } from "../components/src/waterfall/index.mjs";
|
|
79
|
+
import { SWatermark as Ye } from "../components/src/watermark/index.mjs";
|
|
80
|
+
import { SWheel as Xe } from "../components/src/wheel/index.mjs";
|
|
79
81
|
import "../components/index.mjs";
|
|
80
|
-
import
|
|
82
|
+
import Ze from "./components.mjs";
|
|
81
83
|
//#region index.ts
|
|
82
|
-
var
|
|
84
|
+
var Qe = e(Ze);
|
|
83
85
|
//#endregion
|
|
84
|
-
export { n as SAnchor, r as SAnchorLink,
|
|
86
|
+
export { n as SAnchor, r as SAnchorLink, _ as SAutoComplete, v as SAvatar, h as SBackTop, y as SBadge, b as SButton, x as SButtonGroup, S as SCard, C as SCarousel, w as SCascader, E as SCheckbox, D as SCheckboxGroup, k as SCollapse, A as SCollapseItem, F as SColorPicker, c as SConfigProvider, L as SConfigProviderVapor, R as SDatePicker, z as SDatetimePicker, V as SDescriptions, H as SDescriptionsItem, U as SDivider, K as SDoption, W as SDrawer, q as SDropdown, J as SDsubmenu, j as SEmpty, d as SForm, f as SFormItem, Y as SGalleria, Z as SGrid, Q as SGridItem, M as SIcon, ee as SImage, te as SImageGroup, ne as SImagePreview, p as SInput, re as SInputNumber, ie as SInputTag, oe as SLayout, se as SLayoutAside, ce as SLayoutContent, le as SLayoutFooter, ue as SLayoutHeader, de as SLink, fe as SList, ge as SMenu, _e as SMenuGroup, ve as SMenuItem, xe as SMeterGroup, Ce as SModal, we as SPagination, Te as SPanel, l as SPopover, Ee as SProgress, Oe as SRadio, ke as SRadioGroup, g as SScrollbar, Ae as SSegmented, P as SSelect, je as SSkeleton, Me as SSpace, Ne as SStatistic, ye as SSubMenu, Pe as SSwitch, Le as STab, Re as STabPane, Fe as STable, ze as STabs, N as STag, Be as SText, Ve as STextarea, Ue as STimeline, We as STimelineItem, u as STooltip, Ke as STree, qe as SUpload, Je as SWaterfall, Ye as SWatermark, Xe as SWheel, t as anchorContextKey, m as buttonGroupContextKey, T as checkboxGroupContextKey, O as collapseContextKey, s as configProviderContextKey, I as configProviderVaporContextKey, Qe as default, B as descriptionsContextKey, G as dropdownContextKey, i as formContextKey, a as formItemContextKey, o as formItemStatusContextKey, X as gridContextKey, $ as imageGroupContextKey, pe as menuContextKey, me as menuLevelContextKey, De as radioGroupContextKey, he as subMenuContextKey, Ie as tabsContextKey, He as timelineContextKey, Ge as treeContextKey, ae as useLayer, be as useMessage, Se as useModal };
|
package/dist/es/hooks/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export * from './src/use-namespace';
|
|
|
5
5
|
export * from './src/use-outside-click';
|
|
6
6
|
export * from './src/use-resize';
|
|
7
7
|
export * from './src/use-resize-observer';
|
|
8
|
-
export * from './src/use-ripple';
|
|
9
8
|
export * from './src/use-scroll-hidden';
|
|
10
9
|
export * from './src/use-theme';
|
|
11
10
|
export * from './src/use-zIndex';
|
package/dist/es/hooks/index.mjs
CHANGED
|
@@ -5,7 +5,6 @@ import "./src/use-namespace.mjs";
|
|
|
5
5
|
import "./src/use-outside-click.mjs";
|
|
6
6
|
import "./src/use-resize.mjs";
|
|
7
7
|
import "./src/use-resize-observer.mjs";
|
|
8
|
-
import "./src/use-ripple.mjs";
|
|
9
8
|
import "./src/use-scroll-hidden.mjs";
|
|
10
9
|
import "./src/use-theme.mjs";
|
|
11
10
|
import "./src/use-zIndex.mjs";
|
|
@@ -39,8 +39,13 @@
|
|
|
39
39
|
background-color: getCssVar("color", "fill-3");
|
|
40
40
|
border: 1px solid getCssVar("color", "fill-3");
|
|
41
41
|
}
|
|
42
|
+
&:active {
|
|
43
|
+
color: getCssVar("color", "text-1");
|
|
44
|
+
background-color: getCssVar("color", "fill-4");
|
|
45
|
+
border: 1px solid getCssVar("color", "fill-4");
|
|
46
|
+
}
|
|
42
47
|
@include when(disabled, loading) {
|
|
43
|
-
cursor:
|
|
48
|
+
cursor: not-allowed;
|
|
44
49
|
color: getCssVar("color", "text-3");
|
|
45
50
|
border: 1px solid getCssVar("color", "fill-2");
|
|
46
51
|
background-color: getCssVar("color", "fill-2");
|
|
@@ -59,11 +64,16 @@
|
|
|
59
64
|
color: getCssVar("color", "primary-6");
|
|
60
65
|
border: 1px solid getCssVar("color", "primary-6");
|
|
61
66
|
}
|
|
67
|
+
&:active {
|
|
68
|
+
color: getCssVar("color", "primary-6");
|
|
69
|
+
border: 1px solid getCssVar("color", "primary-6");
|
|
70
|
+
background-color: getCssVar("color", "fill-3");
|
|
71
|
+
}
|
|
62
72
|
&:focus-visible {
|
|
63
73
|
box-shadow: 0 0 0 4px getCssVar("color", "primary-3");
|
|
64
74
|
}
|
|
65
75
|
@include when(disabled, loading) {
|
|
66
|
-
cursor:
|
|
76
|
+
cursor: not-allowed;
|
|
67
77
|
color: getCssVar("color", "text-3");
|
|
68
78
|
border: 1px solid getCssVar("color", "fill-2");
|
|
69
79
|
&:hover {
|
|
@@ -79,6 +89,11 @@
|
|
|
79
89
|
border: 1px solid getCssVar("color", "fill-2");
|
|
80
90
|
color: getCssVar("color", "text-1");
|
|
81
91
|
}
|
|
92
|
+
&:active {
|
|
93
|
+
background-color: getCssVar("color", "fill-3");
|
|
94
|
+
border: 1px solid getCssVar("color", "fill-3");
|
|
95
|
+
color: getCssVar("color", "text-1");
|
|
96
|
+
}
|
|
82
97
|
}
|
|
83
98
|
@include this-is(link) {
|
|
84
99
|
background-color: transparent;
|
|
@@ -104,6 +119,10 @@
|
|
|
104
119
|
background-color: getCssVar("color", #{$type}-5);
|
|
105
120
|
border: 1px solid getCssVar("color", #{$type}-5);
|
|
106
121
|
}
|
|
122
|
+
&:active {
|
|
123
|
+
background-color: getCssVar("color", #{$type}-7);
|
|
124
|
+
border: 1px solid getCssVar("color", #{$type}-7);
|
|
125
|
+
}
|
|
107
126
|
&:focus-visible {
|
|
108
127
|
box-shadow: 0 0 0 4px getCssVar("color", #{$type}-3);
|
|
109
128
|
}
|
|
@@ -111,7 +130,7 @@
|
|
|
111
130
|
color: #fff;
|
|
112
131
|
}
|
|
113
132
|
@include when(disabled, loading) {
|
|
114
|
-
cursor:
|
|
133
|
+
cursor: not-allowed;
|
|
115
134
|
background-color: getCssVar("color", #{$type}-4);
|
|
116
135
|
border: 1px solid getCssVar("color", #{$type}-4);
|
|
117
136
|
&:hover {
|
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
&:hover {
|
|
34
34
|
background-color: getCssVar("color", "fill-2");
|
|
35
35
|
}
|
|
36
|
+
&:active {
|
|
37
|
+
background-color: getCssVar("color", "fill-3");
|
|
38
|
+
}
|
|
36
39
|
@include when(checked) {
|
|
37
40
|
background-color: getCssVar("color", "fill-2");
|
|
38
41
|
color: getCssVar("color", "primary-6");
|
|
@@ -9,6 +9,21 @@
|
|
|
9
9
|
|
|
10
10
|
@include e(item) {
|
|
11
11
|
border-bottom: 1px solid getCssVar("color", "fill-3");
|
|
12
|
+
|
|
13
|
+
@include when(disabled) {
|
|
14
|
+
@include be(collapse, header) {
|
|
15
|
+
cursor: not-allowed;
|
|
16
|
+
color: getCssVar("color", "text-3");
|
|
17
|
+
|
|
18
|
+
&:hover {
|
|
19
|
+
background-color: transparent;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@include be(collapse, header-arrow) {
|
|
24
|
+
color: getCssVar("color", "text-3");
|
|
25
|
+
}
|
|
26
|
+
}
|
|
12
27
|
}
|
|
13
28
|
|
|
14
29
|
@include e(header) {
|
|
@@ -30,7 +45,6 @@
|
|
|
30
45
|
display: flex;
|
|
31
46
|
align-items: center;
|
|
32
47
|
justify-content: center;
|
|
33
|
-
color: getCssVar("color", "text-3");
|
|
34
48
|
transition: transform 0.3s;
|
|
35
49
|
font-size: 18px;
|
|
36
50
|
margin-right: 8px;
|
|
@@ -42,22 +56,7 @@
|
|
|
42
56
|
|
|
43
57
|
@include e(content) {
|
|
44
58
|
font-size: 14px;
|
|
45
|
-
color: getCssVar("color", "text-
|
|
59
|
+
color: getCssVar("color", "text-1");
|
|
46
60
|
background-color: getCssVar("color", "bg-3");
|
|
47
61
|
}
|
|
48
|
-
|
|
49
|
-
@include when(disabled) {
|
|
50
|
-
@include be(collapse-item, header) {
|
|
51
|
-
cursor: not-allowed;
|
|
52
|
-
color: getCssVar("color", "text-4");
|
|
53
|
-
|
|
54
|
-
&:hover {
|
|
55
|
-
background-color: transparent;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
@include be(collapse-item, header-arrow) {
|
|
60
|
-
color: getCssVar("color", "text-4");
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
62
|
}
|
|
@@ -26,7 +26,10 @@
|
|
|
26
26
|
user-select: none;
|
|
27
27
|
cursor: pointer;
|
|
28
28
|
&:hover {
|
|
29
|
-
background-color: getCssVar("color", "fill-
|
|
29
|
+
background-color: getCssVar("color", "fill-3");
|
|
30
|
+
}
|
|
31
|
+
&:active {
|
|
32
|
+
background-color: getCssVar("color", "fill-4");
|
|
30
33
|
}
|
|
31
34
|
@include when(disabled) {
|
|
32
35
|
cursor: not-allowed;
|