@beyonk/svelte-mapbox 8.2.0 → 9.0.3

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.
Files changed (43) hide show
  1. package/asset-loader.d.ts +1 -0
  2. package/{src/lib/asset-loader.js → asset-loader.js} +0 -0
  3. package/components.d.ts +13 -0
  4. package/{src/lib/components.js → components.js} +0 -0
  5. package/event-bindings.d.ts +1 -0
  6. package/{src/lib/event-bindings.js → event-bindings.js} +0 -0
  7. package/{src/lib/geocoder → geocoder}/Geocoder.svelte +0 -0
  8. package/geocoder/Geocoder.svelte.d.ts +53 -0
  9. package/geocoder/geocoder-action.d.ts +3 -0
  10. package/{src/lib/geocoder → geocoder}/geocoder-action.js +0 -0
  11. package/{src/lib/map → map}/Map.svelte +1 -1
  12. package/map/Map.svelte.d.ts +89 -0
  13. package/{src/lib/map → map}/Marker.svelte +0 -0
  14. package/map/Marker.svelte.d.ts +50 -0
  15. package/{src/lib/map → map}/controls/GeolocateControl.svelte +0 -0
  16. package/map/controls/GeolocateControl.svelte.d.ts +40 -0
  17. package/{src/lib/map → map}/controls/NavigationControl.svelte +0 -0
  18. package/map/controls/NavigationControl.svelte.d.ts +25 -0
  19. package/{src/lib/map → map}/controls/ScaleControl.svelte +0 -0
  20. package/map/controls/ScaleControl.svelte.d.ts +25 -0
  21. package/map/map-action.d.ts +3 -0
  22. package/{src/lib/map → map}/map-action.js +0 -0
  23. package/mapbox.d.ts +1 -0
  24. package/{src/lib/mapbox.js → mapbox.js} +0 -0
  25. package/package.json +28 -14
  26. package/queue.d.ts +8 -0
  27. package/{src/lib/queue.js → queue.js} +0 -0
  28. package/.env +0 -1
  29. package/.eslintignore +0 -2
  30. package/.eslintrc.json +0 -7
  31. package/.github/workflows/publish.yml +0 -35
  32. package/jsconfig.json +0 -10
  33. package/src/app.html +0 -17
  34. package/src/global.d.ts +0 -1
  35. package/src/lib/conf.js +0 -5
  36. package/src/routes/_Earthquakes.svelte +0 -128
  37. package/src/routes/_MiniScroller.svelte +0 -1
  38. package/src/routes/index.svelte +0 -211
  39. package/static/favicon.png +0 -0
  40. package/static/normalize.css +0 -76
  41. package/static/prettify.css +0 -70
  42. package/static/style.css +0 -534
  43. package/svelte.config.js +0 -8
package/static/style.css DELETED
@@ -1,534 +0,0 @@
1
- body {
2
- font-family: 'Open Sans', sans-serif;
3
- background:#eaedf2;
4
- color:#666;
5
- font-size:14px;
6
- }
7
- * {
8
- -webkit-box-sizing: border-box;
9
- -moz-box-sizing: border-box;
10
- box-sizing: border-box;
11
- }
12
-
13
- a{
14
- -webkit-transition: all .3s ease;
15
- -moz-transition: all .3s ease;
16
- -o-transition: all .3s ease;
17
- transition: all .3s ease;
18
- text-decoration:none;
19
- }
20
- .content-info a{
21
- color:#22A7F0
22
- }
23
- .content-info a:hover{
24
- color:#000;
25
- }
26
- a img {
27
- border:0;
28
- }
29
-
30
- section img{
31
- display:block;
32
- max-width:100%;
33
- height:auto;
34
- margin:15px 0 15px 0;
35
- }
36
-
37
- article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
38
- display: block;
39
- }
40
- section{
41
- position:relative;
42
- }
43
- h1, h2, h3, h4, h5, h6{
44
- font-weight:400;
45
- }
46
- h1{
47
- font-size:36px;
48
- margin:0 0 30px 0;
49
- }
50
- h2{
51
- font-size:30px;
52
- margin:0 0 30px 0;
53
- }
54
- h3{
55
- font-size:24px;
56
- margin:0 0 30px 0;
57
- }
58
- h4{
59
- font-size:20px;
60
- margin:0 0 20px 0;
61
- }
62
- h5{
63
- font-size:18px;
64
- margin:0 0 15px 0;
65
- }
66
- h6{
67
- font-size:16px;
68
- margin:0 0 10px 0;
69
- }
70
-
71
- .container {
72
- padding-right: 15px;
73
- padding-left: 15px;
74
- margin-right: auto;
75
- margin-left: auto;
76
- width: 1200px;
77
- }
78
- .container:before, .container:after, .clearfix:before, .row:before, .clearfix:after, .row:after {
79
- display: table;
80
- content: " ";
81
- }
82
- .container:after, .clearfix:after, .row:after {
83
- clear: both;
84
- }
85
- .row {
86
- margin-right: -15px;
87
- margin-left: -15px;
88
- }
89
-
90
- .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11 {
91
- float: left;
92
- }
93
- .col-xs-1,
94
- .col-sm-1,
95
- .col-md-1,
96
- .col-lg-1,
97
- .col-xs-2,
98
- .col-sm-2,
99
- .col-md-2,
100
- .col-lg-2,
101
- .col-xs-3,
102
- .col-sm-3,
103
- .col-md-3,
104
- .col-lg-3,
105
- .col-xs-4,
106
- .col-sm-4,
107
- .col-md-4,
108
- .col-lg-4,
109
- .col-xs-5,
110
- .col-sm-5,
111
- .col-md-5,
112
- .col-lg-5,
113
- .col-xs-6,
114
- .col-sm-6,
115
- .col-md-6,
116
- .col-lg-6,
117
- .col-xs-7,
118
- .col-sm-7,
119
- .col-md-7,
120
- .col-lg-7,
121
- .col-xs-8,
122
- .col-sm-8,
123
- .col-md-8,
124
- .col-lg-8,
125
- .col-xs-9,
126
- .col-sm-9,
127
- .col-md-9,
128
- .col-lg-9,
129
- .col-xs-10,
130
- .col-sm-10,
131
- .col-md-10,
132
- .col-lg-10,
133
- .col-xs-11,
134
- .col-sm-11,
135
- .col-md-11,
136
- .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
137
- position: relative;
138
- min-height: 1px;
139
- padding-right: 15px;
140
- padding-left: 15px;
141
- }
142
- .col-lg-12 {
143
- width: 100%;
144
- }
145
- .col-lg-11 {
146
- width: 91.66666667%;
147
- }
148
- .col-lg-10 {
149
- width: 83.33333333%;
150
- }
151
- .col-lg-9 {
152
- width: 75%;
153
- }
154
- .col-lg-8 {
155
- width: 66.66666667%;
156
- }
157
- .col-lg-7 {
158
- width: 58.33333333%;
159
- }
160
- .col-lg-6 {
161
- width: 50%;
162
- }
163
- .col-lg-5 {
164
- width: 41.66666667%;
165
- }
166
- .col-lg-4 {
167
- width: 33.33333333%;
168
- }
169
- .col-lg-3 {
170
- width: 25%;
171
- }
172
- .col-lg-2 {
173
- width: 16.66666667%;
174
- }
175
- .col-lg-1 {
176
- width: 8.33333333%;
177
- }
178
- .center{
179
- text-align:center;
180
- }
181
- .left{
182
- text-align:left;
183
- }
184
- .right{
185
- text-align:right;
186
- }
187
- .btn{
188
- display:inline-block;
189
- width:160px;
190
- height:40px;
191
- line-height:38px;
192
- background:#3498db;
193
- color:#fff;
194
- font-weight:400;
195
- text-align:center;
196
- text-transform:uppercase;
197
- font-size:14px;
198
- border-bottom:2px solid #2a8bcc;
199
- }
200
- .btn:hover{
201
- background:#2a8bcc
202
- }
203
- header{
204
- margin:0 0 50px 0;
205
- padding:20px 0;
206
- background:#22A7F0
207
- }
208
- .slogan{
209
- color:#fff;
210
- font-weight:300;
211
- font-size:20px;
212
- line-height:34px;
213
- }
214
- #logo img{
215
- display:block;
216
- height:34px;
217
- }
218
-
219
- section .container{
220
- background:#fff;
221
- }
222
-
223
- .content-wrap{
224
- padding:50px 0
225
- }
226
-
227
- aside{
228
- color:#fff;
229
- float:left;
230
- padding-left:15px;
231
- width:285px;
232
- }
233
- .fixed{
234
- position:fixed;
235
- top:15px;
236
- }
237
- aside h4{
238
- font-size:20px;
239
- font-weight:400;
240
- margin:0 0 30px 0;
241
- }
242
-
243
- .menu-box{
244
- padding:20px;
245
- background:#34495e;
246
- }
247
- .menu-box ul{
248
- margin:0;
249
- padding:0;
250
- }
251
- .menu-box li{
252
- display:block;
253
- }
254
- .menu-box li a{
255
- display:block;
256
- padding:15px 20px;
257
- margin-left: -20px;
258
- margin-right: -20px;
259
- color:#fff;
260
- border-bottom:1px solid #314559;
261
- }
262
- .menu-box li a:hover, .menu-box li a.current{
263
- background:#2c3e50;
264
- }
265
- .menu-box li:last-child a{
266
- border-bottom:0;
267
- }
268
-
269
- .content-info{
270
- padding-right:15px;
271
- padding-left:315px;
272
- }
273
- .section-txt{
274
- padding-bottom:15px;
275
- margin-bottom:30px;
276
- border-bottom:1px solid #dcdcdc;
277
- }
278
- .section-txt:last-child{
279
- margin-bottom:0;
280
- padding-bottom:0;
281
- border-bottom:0;
282
- }
283
- .content-info h3{
284
- font-size:24px;
285
- font-weight:400;
286
- color:#444;
287
- margin:0 0 30px 0;
288
- }
289
- .content-info p{
290
- color:#666;
291
- line-height:24px;
292
- font-size:16px;
293
- font-weight:300;
294
- }
295
- .content-info ul{
296
- margin:0 0 14px 0;
297
- }
298
- .content-info ul li{
299
- line-height:24px;
300
- font-size:16px;
301
- font-weight:300;
302
- }
303
-
304
- .content-info iframe {
305
- width: 100%!important;
306
- height: 350px;
307
- border: 0!important;
308
- }
309
-
310
- .footer-area{
311
- margin-top:50px;
312
- padding:60px 0;
313
- background:#222;
314
- font-size:16px;
315
- line-height:24px;
316
- color:#fff;
317
- font-weight:300;
318
- }
319
-
320
- .footer-area a{
321
- color:#999;
322
- }
323
- .footer-area a:hover{
324
- color:#eee
325
- }
326
- footer{
327
- background:#111;
328
- padding:20px 0;
329
- font-weight:300;
330
- font-size:12px;
331
- }
332
-
333
- @media only screen and (max-width: 1200px) {
334
- .container{
335
- width:970px;
336
- }
337
- .hidden-md{
338
- display:none;
339
- }
340
- .col-md-12 {
341
- width: 100%;
342
- }
343
- .col-md-11 {
344
- width: 91.66666667%;
345
- }
346
- .col-md-10 {
347
- width: 83.33333333%;
348
- }
349
- .col-md-9 {
350
- width: 75%;
351
- }
352
- .col-md-8 {
353
- width: 66.66666667%;
354
- }
355
- .col-md-7 {
356
- width: 58.33333333%;
357
- }
358
- .col-md-6 {
359
- width: 50%;
360
- }
361
- .col-md-5 {
362
- width: 41.66666667%;
363
- }
364
- .col-md-4 {
365
- width: 33.33333333%;
366
- }
367
- .col-md-3 {
368
- width: 25%;
369
- }
370
- .col-md-2 {
371
- width: 16.66666667%;
372
- }
373
- .col-md-1 {
374
- width: 8.33333333%;
375
- }
376
-
377
- }
378
-
379
-
380
- @media only screen and (max-width: 992px){
381
- .container{
382
- width:750px;
383
- }
384
- .hidden-sm{
385
- display:none;
386
- }
387
- .col-sm-12 {
388
- width: 100%;
389
- }
390
- .col-sm-11 {
391
- width: 91.66666667%;
392
- }
393
- .col-sm-10 {
394
- width: 83.33333333%;
395
- }
396
- .col-sm-9 {
397
- width: 75%;
398
- }
399
- .col-sm-8 {
400
- width: 66.66666667%;
401
- }
402
- .col-sm-7 {
403
- width: 58.33333333%;
404
- }
405
- .col-sm-6 {
406
- width: 50%;
407
- }
408
- .col-sm-5 {
409
- width: 41.66666667%;
410
- }
411
- .col-sm-4 {
412
- width: 33.33333333%;
413
- }
414
- .col-sm-3 {
415
- width: 25%;
416
- }
417
- .col-sm-2 {
418
- width: 16.66666667%;
419
- }
420
- .col-sm-1 {
421
- width: 8.33333333%;
422
- }
423
- .slogan {
424
- font-size: 16px;
425
- }
426
-
427
- }
428
-
429
- @media only screen and (max-width: 768px){
430
- .container{
431
- width:100%;
432
- }
433
- .hidden-xs{
434
- display:none;
435
- }
436
- .col-xs-12 {
437
- width: 100%;
438
- }
439
- .col-xs-11 {
440
- width: 91.66666667%;
441
- }
442
- .col-xs-10 {
443
- width: 83.33333333%;
444
- }
445
- .col-xs-9 {
446
- width: 75%;
447
- }
448
- .col-xs-8 {
449
- width: 66.66666667%;
450
- }
451
- .col-xs-7 {
452
- width: 58.33333333%;
453
- }
454
- .col-xs-6 {
455
- width: 50%;
456
- }
457
- .col-xs-5 {
458
- width: 41.66666667%;
459
- }
460
- .col-xs-4 {
461
- width: 33.33333333%;
462
- }
463
- .col-xs-3 {
464
- width: 25%;
465
- }
466
- .col-xs-2 {
467
- width: 16.66666667%;
468
- }
469
- .col-xs-1 {
470
- width: 8.33333333%;
471
- }
472
- header{
473
- margin-bottom:30px;
474
- }
475
- .content-wrap {
476
- padding: 30px 0;
477
- }
478
- .slogan{
479
- text-align:center;
480
- line-height:22px;
481
- margin-bottom:15px;
482
- }
483
- #logo {
484
- text-align:center;
485
- margin-bottom:15px;
486
- }
487
- #logo img{
488
- margin:0 auto;
489
- }
490
- .btn{
491
- display:block;
492
- margin:0 auto;
493
- }
494
- aside{
495
- width:100%;
496
- float:none;
497
- padding:0 15px;
498
- margin-bottom:30px;
499
- }
500
- .content-info {
501
- padding-right: 15px;
502
- padding-left: 15px;
503
- }
504
- .content-info p, .content-info ul li{
505
- font-size:14px;
506
- line-height:22px;
507
- }
508
- .content-info h3 {
509
- font-size: 20px;
510
- }
511
- h1{
512
- font-size:32px;
513
- }
514
- h2{
515
- font-size:26px;
516
- }
517
- h3{
518
- font-size:20px;
519
- }
520
- h4{
521
- font-size:18px;
522
- }
523
- h5{
524
- font-size:16px;
525
- }
526
- h6{
527
- font-size:14px;
528
- }
529
- .footer-area {
530
- margin-top: 30px;
531
- padding: 50px 0;
532
- font-size:14px;
533
- }
534
- }
package/svelte.config.js DELETED
@@ -1,8 +0,0 @@
1
- /** @type {import('@sveltejs/kit').Config} */
2
- const config = {
3
- kit: {
4
- target: '#svelte'
5
- }
6
- }
7
-
8
- export default config