lit-litelements 2.3.6 → 2.3.7

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.
@@ -1,14 +0,0 @@
1
- export declare const SpinnerName: {
2
- spinner1: string;
3
- spinner2: string;
4
- spinner3: string;
5
- spinner4: string;
6
- spinner5: string;
7
- spinner6: string;
8
- spinner7: string;
9
- spinner8: string;
10
- spinner9: string;
11
- spinner10: string;
12
- spinner11: string;
13
- };
14
- export declare const SpinnerStyle: import("lit").CSSResult;
@@ -1,493 +0,0 @@
1
- import { css } from "lit";
2
- export const SpinnerName = {
3
- spinner1: "lds-dual-ring",
4
- spinner2: "lds-circle",
5
- spinner3: "loader",
6
- spinner4: "lds-hourglass",
7
- spinner5: "loader-3rd",
8
- spinner6: "loader-ying-yang",
9
- spinner7: "loader-in-out-circle",
10
- spinner8: "loader-arrow",
11
- spinner9: "loader-jump-stair",
12
- spinner10: "loader-yin-yang-2",
13
- spinner11: "loader-sent-email",
14
- };
15
- export const SpinnerStyle = css `
16
- .spin-container {
17
- display: flex;
18
- justify-content: center;
19
- align-items: center;
20
- background-color: var(--lds-backgroundColor, rgb(153, 153, 153));
21
- z-index: 99999;
22
- position: fixed;
23
- top: 0;
24
- left: 0;
25
- right: 0;
26
- bottom: 0;
27
- width: 100%;
28
- height: 100%;
29
- opacity: 1;
30
- }
31
-
32
- .lds-dual-ring,
33
- .lds-dual-ring:after {
34
- box-sizing: border-box;
35
- }
36
- .lds-dual-ring {
37
- display: inline-block;
38
- width: 80px;
39
- height: 80px;
40
- }
41
- .lds-dual-ring:after {
42
- content: " ";
43
- display: block;
44
- width: var(--lds-dual-ring-size, 64px);
45
- height: var(--lds-dual-ring-size, 64px);
46
- margin: 8px;
47
- border-radius: 50%;
48
- border: 6.4px solid currentColor;
49
- border-color: currentColor transparent currentColor transparent;
50
- animation: lds-dual-ring 1.2s linear infinite;
51
- }
52
- @keyframes lds-dual-ring {
53
- 0% {
54
- transform: rotate(0deg);
55
- }
56
- 100% {
57
- transform: rotate(360deg);
58
- }
59
- }
60
-
61
- .loader {
62
- width: var(--lds-dual-ring-size, 64px);
63
- aspect-ratio: 1;
64
- border-radius: 50%;
65
- border: 8px solid;
66
- animation: l20-1 0.8s infinite linear alternate, l20-2 1.6s infinite linear;
67
- }
68
- @keyframes l20-1 {
69
- 0% {
70
- clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
71
- }
72
- 12.5% {
73
- clip-path: polygon(
74
- 50% 50%,
75
- 0 0,
76
- 50% 0%,
77
- 100% 0%,
78
- 100% 0%,
79
- 100% 0%,
80
- 100% 0%
81
- );
82
- }
83
- 25% {
84
- clip-path: polygon(
85
- 50% 50%,
86
- 0 0,
87
- 50% 0%,
88
- 100% 0%,
89
- 100% 100%,
90
- 100% 100%,
91
- 100% 100%
92
- );
93
- }
94
- 50% {
95
- clip-path: polygon(
96
- 50% 50%,
97
- 0 0,
98
- 50% 0%,
99
- 100% 0%,
100
- 100% 100%,
101
- 50% 100%,
102
- 0% 100%
103
- );
104
- }
105
- 62.5% {
106
- clip-path: polygon(
107
- 50% 50%,
108
- 100% 0,
109
- 100% 0%,
110
- 100% 0%,
111
- 100% 100%,
112
- 50% 100%,
113
- 0% 100%
114
- );
115
- }
116
- 75% {
117
- clip-path: polygon(
118
- 50% 50%,
119
- 100% 100%,
120
- 100% 100%,
121
- 100% 100%,
122
- 100% 100%,
123
- 50% 100%,
124
- 0% 100%
125
- );
126
- }
127
- 100% {
128
- clip-path: polygon(
129
- 50% 50%,
130
- 50% 100%,
131
- 50% 100%,
132
- 50% 100%,
133
- 50% 100%,
134
- 50% 100%,
135
- 0% 100%
136
- );
137
- }
138
- }
139
- @keyframes l20-2 {
140
- 0% {
141
- transform: scaleY(1) rotate(0deg);
142
- }
143
- 49.99% {
144
- transform: scaleY(1) rotate(135deg);
145
- }
146
- 50% {
147
- transform: scaleY(-1) rotate(0deg);
148
- }
149
- 100% {
150
- transform: scaleY(-1) rotate(-135deg);
151
- }
152
- }
153
-
154
- .lds-circle,
155
- .lds-circle {
156
- box-sizing: border-box;
157
- }
158
- .lds-circle {
159
- display: inline-block;
160
- transform: translateZ(1px);
161
- }
162
- .lds-circle {
163
- display: inline-block;
164
- width: 64px;
165
- height: 64px;
166
- margin: 8px;
167
- background: currentColor;
168
- border-radius: 50%;
169
- animation: lds-circle 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
170
- }
171
- @keyframes lds-circle {
172
- 0%,
173
- 100% {
174
- animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
175
- }
176
- 0% {
177
- transform: rotateY(0deg);
178
- }
179
- 50% {
180
- transform: rotateY(1800deg);
181
- animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);
182
- }
183
- 100% {
184
- transform: rotateY(3600deg);
185
- }
186
- }
187
-
188
- .lds-hourglass,
189
- .lds-hourglass:after {
190
- box-sizing: border-box;
191
- }
192
- .lds-hourglass {
193
- display: inline-block;
194
- position: relative;
195
- width: 80px;
196
- height: 80px;
197
- }
198
- .lds-hourglass:after {
199
- content: " ";
200
- display: block;
201
- border-radius: 50%;
202
- width: 0;
203
- height: 0;
204
- margin: 8px;
205
- box-sizing: border-box;
206
- border: 32px solid currentColor;
207
- border-color: currentColor transparent currentColor transparent;
208
- animation: lds-hourglass 1.2s infinite;
209
- }
210
- @keyframes lds-hourglass {
211
- 0% {
212
- transform: rotate(0);
213
- animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
214
- }
215
- 50% {
216
- transform: rotate(900deg);
217
- animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
218
- }
219
- 100% {
220
- transform: rotate(1800deg);
221
- }
222
- }
223
-
224
- .loader-3rd {
225
- width: var(--lds-dual-ring-size, 64px);
226
- aspect-ratio: 1;
227
- display: grid;
228
- border: 4px solid #0000;
229
- border-radius: 50%;
230
- border-right-color: inherit;
231
- animation: l15 1s infinite linear;
232
- }
233
- .loader-3rd::before,
234
- .loader-3rd::after {
235
- content: "";
236
- grid-area: 1/1;
237
- margin: 2px;
238
- border: inherit;
239
- border-radius: 50%;
240
- animation: l15 2s infinite;
241
- }
242
- .loader-3rd::after {
243
- margin: 8px;
244
- animation-duration: 3s;
245
- }
246
- @keyframes l15 {
247
- 100% {
248
- transform: rotate(1turn);
249
- }
250
- }
251
-
252
- .loader-ying-yang {
253
- width: var(--lds-dual-ring-size, 64px);
254
- height: var(--lds-dual-ring-size, 64px);
255
- border-radius: 50%;
256
- display: inline-block;
257
- border-top: 4px solid #fff;
258
- border-right: 4px solid transparent;
259
- box-sizing: border-box;
260
- animation: rotation 1s linear infinite;
261
- }
262
- .loader-ying-yang::after {
263
- content: "";
264
- box-sizing: border-box;
265
- position: absolute;
266
- left: 0;
267
- top: 0;
268
- width: var(--lds-dual-ring-size, 64px);
269
- height: var(--lds-dual-ring-size, 64px);
270
- border-radius: 50%;
271
- border-left: 4px solid #ff3d00;
272
- border-bottom: 4px solid transparent;
273
- animation: rotation 0.5s linear infinite reverse;
274
- }
275
- @keyframes rotation {
276
- 0% {
277
- transform: rotate(0deg);
278
- }
279
- 100% {
280
- transform: rotate(360deg);
281
- }
282
- }
283
-
284
- .loader-in-out-circle {
285
- width: var(--lds-dual-ring-size, 64px);
286
- height: var(--lds-dual-ring-size, 64px);
287
- border-radius: 50%;
288
- display: inline-block;
289
- position: relative;
290
- border: 4px solid #ff3d00;
291
- box-sizing: border-box;
292
- animation: rotation 1s linear infinite;
293
- }
294
- .loader-in-out-circle::after {
295
- content: "";
296
- box-sizing: border-box;
297
- position: absolute;
298
- left: 4px;
299
- top: 4px;
300
- border: 4px solid #fff;
301
- width: 20px;
302
- height: 20px;
303
- border-radius: 50%;
304
- }
305
-
306
- @keyframes rotation {
307
- 0% {
308
- transform: rotate(0deg);
309
- }
310
- 100% {
311
- transform: rotate(360deg);
312
- }
313
- }
314
-
315
- .loader-arrow {
316
- width: 48px;
317
- height: 48px;
318
- display: inline-block;
319
- position: relative;
320
- border: 3px solid;
321
- border-color: #de3500 #0000 #fff #0000;
322
- border-radius: 50%;
323
- box-sizing: border-box;
324
- animation: 1s rotate linear infinite;
325
- }
326
- .loader-arrow:before,
327
- .loader-arrow:after {
328
- content: "";
329
- top: 0;
330
- left: 0;
331
- position: absolute;
332
- border: 10px solid transparent;
333
- border-bottom-color: #fff;
334
- transform: translate(-10px, 19px) rotate(-35deg);
335
- }
336
- .loader-arrow:after {
337
- border-color: #de3500 #0000 #0000 #0000;
338
- transform: translate(32px, 3px) rotate(-35deg);
339
- }
340
- @keyframes rotate {
341
- 100% {
342
- transform: rotate(360deg);
343
- }
344
- }
345
-
346
- .loader-jump-stair {
347
- position: relative;
348
- width: 120px;
349
- height: 90px;
350
- margin: 0 auto;
351
- }
352
- .loader-jump-stair:before {
353
- content: "";
354
- position: absolute;
355
- bottom: 30px;
356
- left: 50px;
357
- height: 30px;
358
- width: 30px;
359
- border-radius: 50%;
360
- background: #ff3d00;
361
- animation: loading-bounce 0.5s ease-in-out infinite alternate;
362
- }
363
- .loader-jump-stair:after {
364
- content: "";
365
- position: absolute;
366
- right: 0;
367
- top: 0;
368
- height: 7px;
369
- width: 45px;
370
- border-radius: 4px;
371
- box-shadow: 0 5px 0 #fff, -35px 50px 0 #fff, -70px 95px 0 #fff;
372
- animation: loading-step 1s ease-in-out infinite;
373
- }
374
-
375
- @keyframes loading-bounce {
376
- 0% {
377
- transform: scale(1, 0.7);
378
- }
379
- 40% {
380
- transform: scale(0.8, 1.2);
381
- }
382
- 60% {
383
- transform: scale(1, 1);
384
- }
385
- 100% {
386
- bottom: 140px;
387
- }
388
- }
389
- @keyframes loading-step {
390
- 0% {
391
- box-shadow: 0 10px 0 rgba(0, 0, 0, 0), 0 10px 0 #fff, -35px 50px 0 #fff,
392
- -70px 90px 0 #fff;
393
- }
394
- 100% {
395
- box-shadow: 0 10px 0 #fff, -35px 50px 0 #fff, -70px 90px 0 #fff,
396
- -70px 90px 0 rgba(0, 0, 0, 0);
397
- }
398
- }
399
-
400
- .loader-yin-yang-2 {
401
- width: 96px;
402
- box-sizing: content-box;
403
- height: 48px;
404
- background: #fff;
405
- border-color: #de3500;
406
- border-style: solid;
407
- border-width: 2px 2px 50px 2px;
408
- border-radius: 100%;
409
- position: relative;
410
- animation: 3s yinYang linear infinite;
411
- }
412
- .loader-yin-yang-2:before {
413
- content: "";
414
- position: absolute;
415
- top: 50%;
416
- left: 0;
417
- background: #fff;
418
- border: 18px solid #de3500;
419
- border-radius: 100%;
420
- width: 12px;
421
- height: 12px;
422
- box-sizing: content-box;
423
- }
424
- .loader-yin-yang-2:after {
425
- content: "";
426
- position: absolute;
427
- top: 50%;
428
- left: 50%;
429
- background: #de3500;
430
- border: 18px solid #fff;
431
- border-radius: 100%;
432
- width: 12px;
433
- height: 12px;
434
- box-sizing: content-box;
435
- }
436
- @keyframes yinYang {
437
- 100% {
438
- transform: rotate(360deg);
439
- }
440
- }
441
-
442
- .loader-sent-email {
443
- position: relative;
444
- border-style: solid;
445
- box-sizing: border-box;
446
- border-width: 40px 60px 30px 60px;
447
- border-color: #3760c9 #96ddfc #96ddfc #36bbf7;
448
- animation: envFloating 1s ease-in infinite alternate;
449
- }
450
-
451
- .loader-sent-email:after {
452
- content: "";
453
- position: absolute;
454
- right: 62px;
455
- top: -40px;
456
- height: 70px;
457
- width: 50px;
458
- background-image: linear-gradient(#fff 45px, transparent 0),
459
- linear-gradient(#fff 45px, transparent 0),
460
- linear-gradient(#fff 45px, transparent 0);
461
- background-repeat: no-repeat;
462
- background-size: 30px 4px;
463
- background-position: 0px 11px, 8px 35px, 0px 60px;
464
- animation: envDropping 0.75s linear infinite;
465
- }
466
-
467
- @keyframes envFloating {
468
- 0% {
469
- transform: translate(-2px, -5px);
470
- }
471
- 100% {
472
- transform: translate(0, 5px);
473
- }
474
- }
475
-
476
- @keyframes envDropping {
477
- 0% {
478
- background-position: 100px 11px, 115px 35px, 105px 60px;
479
- opacity: 1;
480
- }
481
- 50% {
482
- background-position: 0px 11px, 20px 35px, 5px 60px;
483
- }
484
- 60% {
485
- background-position: -30px 11px, 0px 35px, -10px 60px;
486
- }
487
- 75%,
488
- 100% {
489
- background-position: -30px 11px, -30px 35px, -30px 60px;
490
- opacity: 0;
491
- }
492
- }
493
- `;