3h1-ui 3.0.0-next.3 → 3.0.0-next.4
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/es/index.js +6099 -696
- package/es/style.css +126 -10
- package/index.ts +38 -0
- package/lib/index.js +6006 -603
- package/lib/style.css +126 -10
- package/package.json +5 -5
package/es/style.css
CHANGED
|
@@ -187,6 +187,28 @@ body {
|
|
|
187
187
|
font-family: inherit;
|
|
188
188
|
line-height: inherit;
|
|
189
189
|
}
|
|
190
|
+
button, input, select {
|
|
191
|
+
font-family: inherit;
|
|
192
|
+
font-size: 100%;
|
|
193
|
+
line-height: 1.15;
|
|
194
|
+
margin: 0;
|
|
195
|
+
padding: 0;
|
|
196
|
+
line-height: inherit;
|
|
197
|
+
color: inherit;
|
|
198
|
+
}
|
|
199
|
+
button, select {
|
|
200
|
+
text-transform: none;
|
|
201
|
+
}
|
|
202
|
+
button, [type='button'], [type='reset'], [type='submit'] {
|
|
203
|
+
-webkit-appearance: button;
|
|
204
|
+
}
|
|
205
|
+
button {
|
|
206
|
+
background-color: transparent;
|
|
207
|
+
background-image: none;
|
|
208
|
+
}
|
|
209
|
+
button, [role="button"] {
|
|
210
|
+
cursor: pointer;
|
|
211
|
+
}
|
|
190
212
|
html {
|
|
191
213
|
-webkit-text-size-adjust: 100%;
|
|
192
214
|
font-family: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
|
|
@@ -197,6 +219,26 @@ img {
|
|
|
197
219
|
max-width: 100%;
|
|
198
220
|
height: auto;
|
|
199
221
|
}
|
|
222
|
+
input::placeholder {
|
|
223
|
+
opacity: 1;
|
|
224
|
+
color: #9ca3af;
|
|
225
|
+
}
|
|
226
|
+
input::webkit-input-placeholder {
|
|
227
|
+
opacity: 1;
|
|
228
|
+
color: #9ca3af;
|
|
229
|
+
}
|
|
230
|
+
input::-moz-placeholder {
|
|
231
|
+
opacity: 1;
|
|
232
|
+
color: #9ca3af;
|
|
233
|
+
}
|
|
234
|
+
input:-ms-input-placeholder {
|
|
235
|
+
opacity: 1;
|
|
236
|
+
color: #9ca3af;
|
|
237
|
+
}
|
|
238
|
+
input::-ms-input-placeholder {
|
|
239
|
+
opacity: 1;
|
|
240
|
+
color: #9ca3af;
|
|
241
|
+
}
|
|
200
242
|
img, svg {
|
|
201
243
|
display: block;
|
|
202
244
|
vertical-align: middle;
|
|
@@ -204,16 +246,6 @@ img, svg {
|
|
|
204
246
|
p {
|
|
205
247
|
margin: 0;
|
|
206
248
|
}
|
|
207
|
-
select {
|
|
208
|
-
font-family: inherit;
|
|
209
|
-
font-size: 100%;
|
|
210
|
-
line-height: 1.15;
|
|
211
|
-
margin: 0;
|
|
212
|
-
text-transform: none;
|
|
213
|
-
padding: 0;
|
|
214
|
-
line-height: inherit;
|
|
215
|
-
color: inherit;
|
|
216
|
-
}
|
|
217
249
|
table {
|
|
218
250
|
text-indent: 0;
|
|
219
251
|
border-color: inherit;
|
|
@@ -8030,4 +8062,88 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
|
|
|
8030
8062
|
overflow: auto;
|
|
8031
8063
|
padding: 0 0;
|
|
8032
8064
|
height: 100%;
|
|
8065
|
+
}.vue-colorful {
|
|
8066
|
+
position: relative;
|
|
8067
|
+
display: flex;
|
|
8068
|
+
flex-direction: column;
|
|
8069
|
+
width: 200px;
|
|
8070
|
+
height: 200px;
|
|
8071
|
+
user-select: none;
|
|
8072
|
+
cursor: default;
|
|
8073
|
+
}
|
|
8074
|
+
.vue-colorful__saturation {
|
|
8075
|
+
position: relative;
|
|
8076
|
+
flex-grow: 1;
|
|
8077
|
+
border-color: transparent;
|
|
8078
|
+
border-bottom: 12px solid #000;
|
|
8079
|
+
border-radius: 8px 8px 0 0;
|
|
8080
|
+
background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),
|
|
8081
|
+
linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
|
|
8082
|
+
}
|
|
8083
|
+
.vue-colorful__pointer-fill, .vue-colorful__alpha-gradient {
|
|
8084
|
+
content: '';
|
|
8085
|
+
position: absolute;
|
|
8086
|
+
left: 0;
|
|
8087
|
+
top: 0;
|
|
8088
|
+
right: 0;
|
|
8089
|
+
bottom: 0;
|
|
8090
|
+
pointer-events: none;
|
|
8091
|
+
border-radius: inherit;
|
|
8092
|
+
}
|
|
8093
|
+
.vue-colorful__alpha-gradient, .vue-colorful__saturation {
|
|
8094
|
+
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
|
|
8095
|
+
}
|
|
8096
|
+
.vue-colorful__hue, .vue-colorful__alpha {
|
|
8097
|
+
position: relative;
|
|
8098
|
+
height: 24px;
|
|
8099
|
+
}
|
|
8100
|
+
.vue-colorful__hue {
|
|
8101
|
+
background: linear-gradient(
|
|
8102
|
+
to right,
|
|
8103
|
+
#f00 0%,
|
|
8104
|
+
#ff0 17%,
|
|
8105
|
+
#0f0 33%,
|
|
8106
|
+
#0ff 50%,
|
|
8107
|
+
#00f 67%,
|
|
8108
|
+
#f0f 83%,
|
|
8109
|
+
#f00 100%
|
|
8110
|
+
);
|
|
8111
|
+
}
|
|
8112
|
+
.vue-colorful__last-control {
|
|
8113
|
+
border-radius: 0 0 8px 8px;
|
|
8114
|
+
}
|
|
8115
|
+
.vue-colorful__interactive {
|
|
8116
|
+
position: absolute;
|
|
8117
|
+
left: 0;
|
|
8118
|
+
top: 0;
|
|
8119
|
+
right: 0;
|
|
8120
|
+
bottom: 0;
|
|
8121
|
+
border-radius: inherit;
|
|
8122
|
+
outline: none;
|
|
8123
|
+
touch-action: none;
|
|
8124
|
+
}
|
|
8125
|
+
.vue-colorful__pointer {
|
|
8126
|
+
position: absolute;
|
|
8127
|
+
z-index: 1;
|
|
8128
|
+
box-sizing: border-box;
|
|
8129
|
+
width: 28px;
|
|
8130
|
+
height: 28px;
|
|
8131
|
+
transform: translate(-50%, -50%);
|
|
8132
|
+
background-color: #fff;
|
|
8133
|
+
border: 2px solid #fff;
|
|
8134
|
+
border-radius: 50%;
|
|
8135
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
8136
|
+
}
|
|
8137
|
+
.vue-colorful__interactive:focus .vue-colorful__pointer {
|
|
8138
|
+
transform: translate(-50%, -50%) scale(1.1);
|
|
8139
|
+
}
|
|
8140
|
+
.vue-colorful__alpha, .vue-colorful__alpha-pointer {
|
|
8141
|
+
background-color: #fff;
|
|
8142
|
+
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><rect x="8" width="8" height="8"/><rect y="8" width="8" height="8"/></svg>');
|
|
8143
|
+
}
|
|
8144
|
+
.vue-colorful__saturation-pointer {
|
|
8145
|
+
z-index: 3;
|
|
8146
|
+
}
|
|
8147
|
+
.vue-colorful__hue-pointer {
|
|
8148
|
+
z-index: 2;
|
|
8033
8149
|
}
|
package/index.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import 'virtual:windi-base.css'
|
|
2
|
+
import 'virtual:windi-components.css'
|
|
3
|
+
import 'virtual:windi-utilities.css'
|
|
4
|
+
import 'ant-design-vue/dist/reset.css';
|
|
5
|
+
|
|
6
|
+
export * from './src/Form'
|
|
7
|
+
export * from './src/Container'
|
|
8
|
+
export * from './src/Table'
|
|
9
|
+
export * from './src/Modal'
|
|
10
|
+
export * from './src/Page'
|
|
11
|
+
export * from './src/Description'
|
|
12
|
+
export * from './src/Scrollbar'
|
|
13
|
+
// export * from './src/FlowChart'
|
|
14
|
+
export * from './src/Dropdown'
|
|
15
|
+
export * from './src/Drawer'
|
|
16
|
+
export * from './src/Cropper'
|
|
17
|
+
export * from './src/CountTo'
|
|
18
|
+
export * from './src/CountDown'
|
|
19
|
+
export * from './src/Container'
|
|
20
|
+
export * from './src/ClickOutSide'
|
|
21
|
+
// export * from './src/DictTag'
|
|
22
|
+
export * from './src/Button'
|
|
23
|
+
export * from './src/Basic'
|
|
24
|
+
export * from './src/Tree'
|
|
25
|
+
export * from './src/Icon'
|
|
26
|
+
export * from './src/Loading'
|
|
27
|
+
export * from './src/StrengthMeter'
|
|
28
|
+
export * from './src/TablePlus'
|
|
29
|
+
export * from './src/AdvancedSearch'
|
|
30
|
+
export * from './src/Label'
|
|
31
|
+
export * from './src/BasicContainer'
|
|
32
|
+
export * from './src/DescriptionsForm'
|
|
33
|
+
export * from './src/BasicResizeWrapper'
|
|
34
|
+
export * from './src/ColorPickerPanel'
|
|
35
|
+
|
|
36
|
+
import { registerGlobalConfig } from './config/index'
|
|
37
|
+
|
|
38
|
+
export { registerGlobalConfig }
|