@cashub/ui 0.20.0 → 0.21.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/assets/css/autocomplete.css +16 -16
- package/assets/css/font.css +4 -4
- package/assets/css/global.css +3 -3
- package/assets/css/normalize.css +386 -386
- package/datetimePicker/TimePickerStyle.js +21 -0
- package/datetimePicker/index.js +8 -0
- package/package.json +1 -1
- package/tagify/TagifyStyle.js +21 -0
- package/tagify/index.js +8 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Fix autocomplete style
|
|
3
|
-
*/
|
|
4
|
-
input:-webkit-autofill,
|
|
5
|
-
input:-webkit-autofill:hover,
|
|
6
|
-
input:-webkit-autofill:focus,
|
|
7
|
-
textarea:-webkit-autofill,
|
|
8
|
-
textarea:-webkit-autofill:hover,
|
|
9
|
-
textarea:-webkit-autofill:focus,
|
|
10
|
-
select:-webkit-autofill,
|
|
11
|
-
select:-webkit-autofill:hover,
|
|
12
|
-
select:-webkit-autofill:focus {
|
|
13
|
-
transition: color 5000s ease-in-out 0s, background-color 5000s ease-in-out 0s;
|
|
14
|
-
box-shadow: 0 0 0px 100px var(--color-background2) inset;
|
|
15
|
-
-webkit-text-fill-color: var(--font-on-background);
|
|
16
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Fix autocomplete style
|
|
3
|
+
*/
|
|
4
|
+
input:-webkit-autofill,
|
|
5
|
+
input:-webkit-autofill:hover,
|
|
6
|
+
input:-webkit-autofill:focus,
|
|
7
|
+
textarea:-webkit-autofill,
|
|
8
|
+
textarea:-webkit-autofill:hover,
|
|
9
|
+
textarea:-webkit-autofill:focus,
|
|
10
|
+
select:-webkit-autofill,
|
|
11
|
+
select:-webkit-autofill:hover,
|
|
12
|
+
select:-webkit-autofill:focus {
|
|
13
|
+
transition: color 5000s ease-in-out 0s, background-color 5000s ease-in-out 0s;
|
|
14
|
+
box-shadow: 0 0 0px 100px var(--color-background2) inset;
|
|
15
|
+
-webkit-text-fill-color: var(--font-on-background);
|
|
16
|
+
}
|
package/assets/css/font.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: 'Helvetica';
|
|
3
|
-
src: url('../font/helvetica/Helvetica.ttf');
|
|
4
|
-
}
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'Helvetica';
|
|
3
|
+
src: url('../font/helvetica/Helvetica.ttf');
|
|
4
|
+
}
|
package/assets/css/global.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
@import './font.css';
|
|
2
|
-
@import './normalize.css';
|
|
3
|
-
@import './autocomplete.css';
|
|
1
|
+
@import './font.css';
|
|
2
|
+
@import './normalize.css';
|
|
3
|
+
@import './autocomplete.css';
|
package/assets/css/normalize.css
CHANGED
|
@@ -1,386 +1,386 @@
|
|
|
1
|
-
/*! Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) */
|
|
2
|
-
|
|
3
|
-
/* Document */
|
|
4
|
-
*,
|
|
5
|
-
*::before,
|
|
6
|
-
*::after {
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* 1. Correct the line height in all browsers.
|
|
12
|
-
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
html {
|
|
16
|
-
line-height: 1; /* 1 */
|
|
17
|
-
-webkit-text-size-adjust: 100%; /* 2 */
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/* Sections */
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Remove the margin in all browsers.
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
body {
|
|
27
|
-
margin: 0;
|
|
28
|
-
font-size: 16px;
|
|
29
|
-
font-family: Helvetica;
|
|
30
|
-
overflow-x: hidden;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Render the `main` element consistently in IE.
|
|
35
|
-
*/
|
|
36
|
-
|
|
37
|
-
main {
|
|
38
|
-
display: block;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Correct the font size and margin on `h1` elements within `section` and
|
|
43
|
-
* `article` contexts in Chrome, Firefox, and Safari.
|
|
44
|
-
*/
|
|
45
|
-
|
|
46
|
-
h1 {
|
|
47
|
-
font-size: 2em;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
h1,
|
|
51
|
-
h2,
|
|
52
|
-
h3,
|
|
53
|
-
h4,
|
|
54
|
-
h5,
|
|
55
|
-
h6 {
|
|
56
|
-
margin: 0;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/* Grouping content */
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* 1. Add the correct box sizing in Firefox.
|
|
63
|
-
* 2. Show the overflow in Edge and IE.
|
|
64
|
-
*/
|
|
65
|
-
|
|
66
|
-
hr {
|
|
67
|
-
box-sizing: content-box; /* 1 */
|
|
68
|
-
height: 0; /* 1 */
|
|
69
|
-
overflow: visible; /* 2 */
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
74
|
-
* 2. Correct the odd `em` font sizing in all browsers.
|
|
75
|
-
*/
|
|
76
|
-
|
|
77
|
-
pre {
|
|
78
|
-
font-family: Helvetica;
|
|
79
|
-
font-size: 1em; /* 2 */
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/* Text-level semantics */
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Remove the gray background on active links in IE 10.
|
|
86
|
-
*/
|
|
87
|
-
|
|
88
|
-
a {
|
|
89
|
-
background-color: transparent;
|
|
90
|
-
text-decoration: none;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* 1. Remove the bottom border in Chrome 57-
|
|
95
|
-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
96
|
-
*/
|
|
97
|
-
|
|
98
|
-
abbr[title] {
|
|
99
|
-
border-bottom: none; /* 1 */
|
|
100
|
-
text-decoration: underline; /* 2 */
|
|
101
|
-
text-decoration: underline dotted; /* 2 */
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* Add the correct font weight in Chrome, Edge, and Safari.
|
|
106
|
-
*/
|
|
107
|
-
|
|
108
|
-
b,
|
|
109
|
-
strong {
|
|
110
|
-
font-weight: bolder;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
115
|
-
* 2. Correct the odd `em` font sizing in all browsers.
|
|
116
|
-
*/
|
|
117
|
-
|
|
118
|
-
code,
|
|
119
|
-
kbd,
|
|
120
|
-
samp {
|
|
121
|
-
font-family: Helvetica;
|
|
122
|
-
font-size: 1em; /* 2 */
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Add the correct font size in all browsers.
|
|
127
|
-
*/
|
|
128
|
-
|
|
129
|
-
small {
|
|
130
|
-
font-size: 80%;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Prevent `sub` and `sup` elements from affecting the line height in
|
|
135
|
-
* all browsers.
|
|
136
|
-
*/
|
|
137
|
-
|
|
138
|
-
sub,
|
|
139
|
-
sup {
|
|
140
|
-
font-size: 75%;
|
|
141
|
-
line-height: 0;
|
|
142
|
-
position: relative;
|
|
143
|
-
vertical-align: baseline;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
sub {
|
|
147
|
-
bottom: -0.25em;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
sup {
|
|
151
|
-
top: -0.5em;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/* Embedded content */
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* Remove the border on images inside links in IE 10.
|
|
158
|
-
*/
|
|
159
|
-
|
|
160
|
-
img {
|
|
161
|
-
border-style: none;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
/* Forms */
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* 1. Change the font styles in all browsers.
|
|
168
|
-
* 2. Remove the margin in Firefox and Safari.
|
|
169
|
-
*/
|
|
170
|
-
|
|
171
|
-
button,
|
|
172
|
-
input,
|
|
173
|
-
optgroup,
|
|
174
|
-
select,
|
|
175
|
-
textarea {
|
|
176
|
-
font-family: Helvetica;
|
|
177
|
-
font-size: 100%; /* 1 */
|
|
178
|
-
line-height: 1; /* 1 */
|
|
179
|
-
margin: 0; /* 2 */
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* Show the overflow in IE.
|
|
184
|
-
* 1. Show the overflow in Edge.
|
|
185
|
-
*/
|
|
186
|
-
|
|
187
|
-
button,
|
|
188
|
-
input {
|
|
189
|
-
/* 1 */
|
|
190
|
-
overflow: visible;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
|
195
|
-
* 1. Remove the inheritance of text transform in Firefox.
|
|
196
|
-
*/
|
|
197
|
-
|
|
198
|
-
button,
|
|
199
|
-
select {
|
|
200
|
-
/* 1 */
|
|
201
|
-
text-transform: none;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* Correct the inability to style clickable types in iOS and Safari.
|
|
206
|
-
*/
|
|
207
|
-
|
|
208
|
-
button,
|
|
209
|
-
[type='button'],
|
|
210
|
-
[type='reset'],
|
|
211
|
-
[type='submit'] {
|
|
212
|
-
-webkit-appearance: button;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* Remove the inner border and padding in Firefox.
|
|
217
|
-
*/
|
|
218
|
-
|
|
219
|
-
button::-moz-focus-inner,
|
|
220
|
-
[type='button']::-moz-focus-inner,
|
|
221
|
-
[type='reset']::-moz-focus-inner,
|
|
222
|
-
[type='submit']::-moz-focus-inner {
|
|
223
|
-
border-style: none;
|
|
224
|
-
padding: 0;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* Restore the focus styles unset by the previous rule.
|
|
229
|
-
*/
|
|
230
|
-
|
|
231
|
-
button:-moz-focusring,
|
|
232
|
-
[type='button']:-moz-focusring,
|
|
233
|
-
[type='reset']:-moz-focusring,
|
|
234
|
-
[type='submit']:-moz-focusring {
|
|
235
|
-
outline: 1px dotted ButtonText;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* Correct the padding in Firefox.
|
|
240
|
-
*/
|
|
241
|
-
|
|
242
|
-
fieldset {
|
|
243
|
-
padding: 0.35em 0.75em 0.625em;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* 1. Correct the text wrapping in Edge and IE.
|
|
248
|
-
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
|
249
|
-
* 3. Remove the padding so developers are not caught out when they zero out
|
|
250
|
-
* `fieldset` elements in all browsers.
|
|
251
|
-
*/
|
|
252
|
-
|
|
253
|
-
legend {
|
|
254
|
-
box-sizing: border-box; /* 1 */
|
|
255
|
-
color: inherit; /* 2 */
|
|
256
|
-
display: table; /* 1 */
|
|
257
|
-
max-width: 100%; /* 1 */
|
|
258
|
-
padding: 0; /* 3 */
|
|
259
|
-
white-space: normal; /* 1 */
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
264
|
-
*/
|
|
265
|
-
|
|
266
|
-
progress {
|
|
267
|
-
vertical-align: baseline;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* Remove the default vertical scrollbar in IE 10+.
|
|
272
|
-
*/
|
|
273
|
-
|
|
274
|
-
textarea {
|
|
275
|
-
overflow: auto;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
/**
|
|
279
|
-
* 1. Add the correct box sizing in IE 10.
|
|
280
|
-
* 2. Remove the padding in IE 10.
|
|
281
|
-
*/
|
|
282
|
-
|
|
283
|
-
[type='checkbox'],
|
|
284
|
-
[type='radio'] {
|
|
285
|
-
box-sizing: border-box; /* 1 */
|
|
286
|
-
padding: 0; /* 2 */
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* Correct the cursor style of increment and decrement buttons in Chrome.
|
|
291
|
-
*/
|
|
292
|
-
|
|
293
|
-
[type='number']::-webkit-inner-spin-button,
|
|
294
|
-
[type='number']::-webkit-outer-spin-button {
|
|
295
|
-
height: auto;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
* 1. Correct the odd appearance in Chrome and Safari.
|
|
300
|
-
* 2. Correct the outline style in Safari.
|
|
301
|
-
*/
|
|
302
|
-
|
|
303
|
-
[type='search'] {
|
|
304
|
-
-webkit-appearance: textfield; /* 1 */
|
|
305
|
-
outline-offset: -2px; /* 2 */
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
/**
|
|
309
|
-
* Remove the inner padding in Chrome and Safari on macOS.
|
|
310
|
-
*/
|
|
311
|
-
|
|
312
|
-
[type='search']::-webkit-search-decoration {
|
|
313
|
-
-webkit-appearance: none;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* 1. Correct the inability to style clickable types in iOS and Safari.
|
|
318
|
-
* 2. Change font properties to `inherit` in Safari.
|
|
319
|
-
*/
|
|
320
|
-
|
|
321
|
-
::-webkit-file-upload-button {
|
|
322
|
-
-webkit-appearance: button; /* 1 */
|
|
323
|
-
font: inherit; /* 2 */
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
/* Interactive */
|
|
327
|
-
|
|
328
|
-
/*
|
|
329
|
-
* Add the correct display in Edge, IE 10+, and Firefox.
|
|
330
|
-
*/
|
|
331
|
-
|
|
332
|
-
details {
|
|
333
|
-
display: block;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
/*
|
|
337
|
-
* Add the correct display in all browsers.
|
|
338
|
-
*/
|
|
339
|
-
|
|
340
|
-
summary {
|
|
341
|
-
display: list-item;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
/* Misc */
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* Add the correct display in IE 10+.
|
|
348
|
-
*/
|
|
349
|
-
|
|
350
|
-
template {
|
|
351
|
-
display: none;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* Add the correct display in IE 10.
|
|
356
|
-
*/
|
|
357
|
-
|
|
358
|
-
[hidden] {
|
|
359
|
-
display: none;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
/* Custom reset */
|
|
363
|
-
|
|
364
|
-
ul {
|
|
365
|
-
padding: 0;
|
|
366
|
-
margin: 0;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
li {
|
|
370
|
-
list-style: none;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
figure {
|
|
374
|
-
margin: 0;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
p,
|
|
378
|
-
h3 {
|
|
379
|
-
margin: 0;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
dl,
|
|
383
|
-
dt,
|
|
384
|
-
dd {
|
|
385
|
-
margin: 0;
|
|
386
|
-
}
|
|
1
|
+
/*! Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) */
|
|
2
|
+
|
|
3
|
+
/* Document */
|
|
4
|
+
*,
|
|
5
|
+
*::before,
|
|
6
|
+
*::after {
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* 1. Correct the line height in all browsers.
|
|
12
|
+
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
html {
|
|
16
|
+
line-height: 1; /* 1 */
|
|
17
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* Sections */
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Remove the margin in all browsers.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
body {
|
|
27
|
+
margin: 0;
|
|
28
|
+
font-size: 16px;
|
|
29
|
+
font-family: Helvetica;
|
|
30
|
+
overflow-x: hidden;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Render the `main` element consistently in IE.
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
main {
|
|
38
|
+
display: block;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
|
43
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
h1 {
|
|
47
|
+
font-size: 2em;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
h1,
|
|
51
|
+
h2,
|
|
52
|
+
h3,
|
|
53
|
+
h4,
|
|
54
|
+
h5,
|
|
55
|
+
h6 {
|
|
56
|
+
margin: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* Grouping content */
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* 1. Add the correct box sizing in Firefox.
|
|
63
|
+
* 2. Show the overflow in Edge and IE.
|
|
64
|
+
*/
|
|
65
|
+
|
|
66
|
+
hr {
|
|
67
|
+
box-sizing: content-box; /* 1 */
|
|
68
|
+
height: 0; /* 1 */
|
|
69
|
+
overflow: visible; /* 2 */
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
74
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
|
75
|
+
*/
|
|
76
|
+
|
|
77
|
+
pre {
|
|
78
|
+
font-family: Helvetica;
|
|
79
|
+
font-size: 1em; /* 2 */
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* Text-level semantics */
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Remove the gray background on active links in IE 10.
|
|
86
|
+
*/
|
|
87
|
+
|
|
88
|
+
a {
|
|
89
|
+
background-color: transparent;
|
|
90
|
+
text-decoration: none;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* 1. Remove the bottom border in Chrome 57-
|
|
95
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
96
|
+
*/
|
|
97
|
+
|
|
98
|
+
abbr[title] {
|
|
99
|
+
border-bottom: none; /* 1 */
|
|
100
|
+
text-decoration: underline; /* 2 */
|
|
101
|
+
text-decoration: underline dotted; /* 2 */
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
|
106
|
+
*/
|
|
107
|
+
|
|
108
|
+
b,
|
|
109
|
+
strong {
|
|
110
|
+
font-weight: bolder;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
115
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
|
116
|
+
*/
|
|
117
|
+
|
|
118
|
+
code,
|
|
119
|
+
kbd,
|
|
120
|
+
samp {
|
|
121
|
+
font-family: Helvetica;
|
|
122
|
+
font-size: 1em; /* 2 */
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Add the correct font size in all browsers.
|
|
127
|
+
*/
|
|
128
|
+
|
|
129
|
+
small {
|
|
130
|
+
font-size: 80%;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
|
135
|
+
* all browsers.
|
|
136
|
+
*/
|
|
137
|
+
|
|
138
|
+
sub,
|
|
139
|
+
sup {
|
|
140
|
+
font-size: 75%;
|
|
141
|
+
line-height: 0;
|
|
142
|
+
position: relative;
|
|
143
|
+
vertical-align: baseline;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
sub {
|
|
147
|
+
bottom: -0.25em;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
sup {
|
|
151
|
+
top: -0.5em;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* Embedded content */
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Remove the border on images inside links in IE 10.
|
|
158
|
+
*/
|
|
159
|
+
|
|
160
|
+
img {
|
|
161
|
+
border-style: none;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/* Forms */
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* 1. Change the font styles in all browsers.
|
|
168
|
+
* 2. Remove the margin in Firefox and Safari.
|
|
169
|
+
*/
|
|
170
|
+
|
|
171
|
+
button,
|
|
172
|
+
input,
|
|
173
|
+
optgroup,
|
|
174
|
+
select,
|
|
175
|
+
textarea {
|
|
176
|
+
font-family: Helvetica;
|
|
177
|
+
font-size: 100%; /* 1 */
|
|
178
|
+
line-height: 1; /* 1 */
|
|
179
|
+
margin: 0; /* 2 */
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Show the overflow in IE.
|
|
184
|
+
* 1. Show the overflow in Edge.
|
|
185
|
+
*/
|
|
186
|
+
|
|
187
|
+
button,
|
|
188
|
+
input {
|
|
189
|
+
/* 1 */
|
|
190
|
+
overflow: visible;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
|
195
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
|
196
|
+
*/
|
|
197
|
+
|
|
198
|
+
button,
|
|
199
|
+
select {
|
|
200
|
+
/* 1 */
|
|
201
|
+
text-transform: none;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Correct the inability to style clickable types in iOS and Safari.
|
|
206
|
+
*/
|
|
207
|
+
|
|
208
|
+
button,
|
|
209
|
+
[type='button'],
|
|
210
|
+
[type='reset'],
|
|
211
|
+
[type='submit'] {
|
|
212
|
+
-webkit-appearance: button;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Remove the inner border and padding in Firefox.
|
|
217
|
+
*/
|
|
218
|
+
|
|
219
|
+
button::-moz-focus-inner,
|
|
220
|
+
[type='button']::-moz-focus-inner,
|
|
221
|
+
[type='reset']::-moz-focus-inner,
|
|
222
|
+
[type='submit']::-moz-focus-inner {
|
|
223
|
+
border-style: none;
|
|
224
|
+
padding: 0;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Restore the focus styles unset by the previous rule.
|
|
229
|
+
*/
|
|
230
|
+
|
|
231
|
+
button:-moz-focusring,
|
|
232
|
+
[type='button']:-moz-focusring,
|
|
233
|
+
[type='reset']:-moz-focusring,
|
|
234
|
+
[type='submit']:-moz-focusring {
|
|
235
|
+
outline: 1px dotted ButtonText;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Correct the padding in Firefox.
|
|
240
|
+
*/
|
|
241
|
+
|
|
242
|
+
fieldset {
|
|
243
|
+
padding: 0.35em 0.75em 0.625em;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* 1. Correct the text wrapping in Edge and IE.
|
|
248
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
|
249
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
|
250
|
+
* `fieldset` elements in all browsers.
|
|
251
|
+
*/
|
|
252
|
+
|
|
253
|
+
legend {
|
|
254
|
+
box-sizing: border-box; /* 1 */
|
|
255
|
+
color: inherit; /* 2 */
|
|
256
|
+
display: table; /* 1 */
|
|
257
|
+
max-width: 100%; /* 1 */
|
|
258
|
+
padding: 0; /* 3 */
|
|
259
|
+
white-space: normal; /* 1 */
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
264
|
+
*/
|
|
265
|
+
|
|
266
|
+
progress {
|
|
267
|
+
vertical-align: baseline;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Remove the default vertical scrollbar in IE 10+.
|
|
272
|
+
*/
|
|
273
|
+
|
|
274
|
+
textarea {
|
|
275
|
+
overflow: auto;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* 1. Add the correct box sizing in IE 10.
|
|
280
|
+
* 2. Remove the padding in IE 10.
|
|
281
|
+
*/
|
|
282
|
+
|
|
283
|
+
[type='checkbox'],
|
|
284
|
+
[type='radio'] {
|
|
285
|
+
box-sizing: border-box; /* 1 */
|
|
286
|
+
padding: 0; /* 2 */
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
|
291
|
+
*/
|
|
292
|
+
|
|
293
|
+
[type='number']::-webkit-inner-spin-button,
|
|
294
|
+
[type='number']::-webkit-outer-spin-button {
|
|
295
|
+
height: auto;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
|
300
|
+
* 2. Correct the outline style in Safari.
|
|
301
|
+
*/
|
|
302
|
+
|
|
303
|
+
[type='search'] {
|
|
304
|
+
-webkit-appearance: textfield; /* 1 */
|
|
305
|
+
outline-offset: -2px; /* 2 */
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Remove the inner padding in Chrome and Safari on macOS.
|
|
310
|
+
*/
|
|
311
|
+
|
|
312
|
+
[type='search']::-webkit-search-decoration {
|
|
313
|
+
-webkit-appearance: none;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
|
318
|
+
* 2. Change font properties to `inherit` in Safari.
|
|
319
|
+
*/
|
|
320
|
+
|
|
321
|
+
::-webkit-file-upload-button {
|
|
322
|
+
-webkit-appearance: button; /* 1 */
|
|
323
|
+
font: inherit; /* 2 */
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/* Interactive */
|
|
327
|
+
|
|
328
|
+
/*
|
|
329
|
+
* Add the correct display in Edge, IE 10+, and Firefox.
|
|
330
|
+
*/
|
|
331
|
+
|
|
332
|
+
details {
|
|
333
|
+
display: block;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/*
|
|
337
|
+
* Add the correct display in all browsers.
|
|
338
|
+
*/
|
|
339
|
+
|
|
340
|
+
summary {
|
|
341
|
+
display: list-item;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/* Misc */
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Add the correct display in IE 10+.
|
|
348
|
+
*/
|
|
349
|
+
|
|
350
|
+
template {
|
|
351
|
+
display: none;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Add the correct display in IE 10.
|
|
356
|
+
*/
|
|
357
|
+
|
|
358
|
+
[hidden] {
|
|
359
|
+
display: none;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
/* Custom reset */
|
|
363
|
+
|
|
364
|
+
ul {
|
|
365
|
+
padding: 0;
|
|
366
|
+
margin: 0;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
li {
|
|
370
|
+
list-style: none;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
figure {
|
|
374
|
+
margin: 0;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
p,
|
|
378
|
+
h3 {
|
|
379
|
+
margin: 0;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
dl,
|
|
383
|
+
dt,
|
|
384
|
+
dd {
|
|
385
|
+
margin: 0;
|
|
386
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _styledComponents = require("styled-components");
|
|
9
|
+
|
|
10
|
+
var _scrollbar = _interopRequireDefault(require("../styles/mixin/scrollbar"));
|
|
11
|
+
|
|
12
|
+
var _templateObject;
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
17
|
+
|
|
18
|
+
// integrate rc-time-picker component
|
|
19
|
+
var TimePickerStyle = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .rc-time-picker-panel-narrow {\n max-width: none;\n }\n\n .rc-time-picker-panel {\n .rc-time-picker-panel-inner {\n background: transparent;\n border: none;\n box-shadow: none;\n\n .rc-time-picker-panel-input-wrap {\n display: none;\n }\n\n .rc-time-picker-panel-combobox {\n height: 144px;\n border: var(--border-width) solid var(--border-color);\n color: var(--font-on-background);\n box-shadow: var(--box-shadow);\n border-radius: var(--border-radius);\n background: var(--color-background2);\n\n .rc-time-picker-panel-select {\n font-size: var(--font-body1);\n \n ", "\n\n li {\n &:hover {\n background: var(--color-hover);\n }\n \n &.rc-time-picker-panel-select-option-selected {\n background: var(--color-hover);\n }\n }\n\n &:first-child {\n border-top-left-radius: var(--border-radius);\n border-bottom-left-radius: var(--border-radius);\n }\n }\n }\n }\n\n &.rc-time-picker-panel-placement-bottomLeft {\n .rc-time-picker-panel-inner {\n padding-top: calc(36px + var(--spacing-xs));\n }\n }\n }\n"])), _scrollbar.default);
|
|
20
|
+
var _default = TimePickerStyle;
|
|
21
|
+
exports.default = _default;
|
package/datetimePicker/index.js
CHANGED
|
@@ -39,6 +39,12 @@ Object.defineProperty(exports, "TimePicker", {
|
|
|
39
39
|
return _TimePicker.default;
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
+
Object.defineProperty(exports, "TimePickerStyle", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function get() {
|
|
45
|
+
return _TimePickerStyle.default;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
42
48
|
|
|
43
49
|
var _DatePicker = _interopRequireDefault(require("./DatePicker"));
|
|
44
50
|
|
|
@@ -52,4 +58,6 @@ var _TimeInput = _interopRequireDefault(require("./TimeInput"));
|
|
|
52
58
|
|
|
53
59
|
var _TimePicker = _interopRequireDefault(require("./TimePicker"));
|
|
54
60
|
|
|
61
|
+
var _TimePickerStyle = _interopRequireDefault(require("./TimePickerStyle"));
|
|
62
|
+
|
|
55
63
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
package/package.json
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _styledComponents = require("styled-components");
|
|
9
|
+
|
|
10
|
+
var _scrollbar = _interopRequireDefault(require("../styles/mixin/scrollbar"));
|
|
11
|
+
|
|
12
|
+
var _templateObject;
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
17
|
+
|
|
18
|
+
// integrate tagify component
|
|
19
|
+
var TagifyStyle = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .tagify__dropdown {\n &__wrapper {\n max-height: 320px;\n border: 1px solid var(--border-color);\n color: var(--font-on-background);\n background: var(--color-background1);\n box-shadow: var(--box-shadow);\n border-radius: var(--border-radius);\n padding: var(--spacing-s) 0;\n overflow-y: auto;\n overflow-x: visible;\n\n ", "\n }\n\n &__item {\n max-width: 100%;\n word-break: break-all;\n padding: 12px var(--spacing-s);\n background: var(--color-background1);\n transition: 0.3s;\n\n &:hover {\n background: var(--color-hover);\n }\n }\n }\n"])), _scrollbar.default);
|
|
20
|
+
var _default = TagifyStyle;
|
|
21
|
+
exports.default = _default;
|
package/tagify/index.js
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
Object.defineProperty(exports, "TagifyStyle", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _TagifyStyle.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
6
12
|
Object.defineProperty(exports, "Tags", {
|
|
7
13
|
enumerable: true,
|
|
8
14
|
get: function get() {
|
|
@@ -12,4 +18,6 @@ Object.defineProperty(exports, "Tags", {
|
|
|
12
18
|
|
|
13
19
|
var _Tags = _interopRequireDefault(require("./Tags"));
|
|
14
20
|
|
|
21
|
+
var _TagifyStyle = _interopRequireDefault(require("./TagifyStyle"));
|
|
22
|
+
|
|
15
23
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|