@spectrum-web-components/split-view 0.5.9 → 0.5.11-overlay.10
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +4 -4
- package/custom-elements.json +0 -585
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@spectrum-web-components/split-view",
|
3
|
-
"version": "0.5.
|
3
|
+
"version": "0.5.11-overlay.10+7a73c9eee",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -61,10 +61,10 @@
|
|
61
61
|
"lit-html"
|
62
62
|
],
|
63
63
|
"dependencies": {
|
64
|
-
"@spectrum-web-components/base": "^0.7.
|
64
|
+
"@spectrum-web-components/base": "^0.7.6-overlay.54+7a73c9eee"
|
65
65
|
},
|
66
66
|
"devDependencies": {
|
67
|
-
"@spectrum-css/splitview": "^3.0.
|
67
|
+
"@spectrum-css/splitview": "^3.0.35"
|
68
68
|
},
|
69
69
|
"types": "./src/index.d.ts",
|
70
70
|
"customElements": "custom-elements.json",
|
@@ -72,5 +72,5 @@
|
|
72
72
|
"./sp-*.js",
|
73
73
|
"./**/*.dev.js"
|
74
74
|
],
|
75
|
-
"gitHead": "
|
75
|
+
"gitHead": "7a73c9eeec7dffb9c968f7f30586139b8e5ee348"
|
76
76
|
}
|
package/custom-elements.json
DELETED
@@ -1,585 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schemaVersion": "1.0.0",
|
3
|
-
"readme": "",
|
4
|
-
"modules": [
|
5
|
-
{
|
6
|
-
"kind": "javascript-module",
|
7
|
-
"path": "sp-split-view.js",
|
8
|
-
"declarations": [],
|
9
|
-
"exports": [
|
10
|
-
{
|
11
|
-
"kind": "custom-element-definition",
|
12
|
-
"name": "sp-split-view",
|
13
|
-
"declaration": {
|
14
|
-
"name": "SplitView",
|
15
|
-
"module": "/src/SplitView.js"
|
16
|
-
}
|
17
|
-
}
|
18
|
-
]
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"kind": "javascript-module",
|
22
|
-
"path": "src/SplitView.js",
|
23
|
-
"declarations": [
|
24
|
-
{
|
25
|
-
"kind": "class",
|
26
|
-
"description": "",
|
27
|
-
"name": "SplitView",
|
28
|
-
"slots": [
|
29
|
-
{
|
30
|
-
"description": "sibling elements to be sized by the element attritubes",
|
31
|
-
"name": "Two"
|
32
|
-
}
|
33
|
-
],
|
34
|
-
"members": [
|
35
|
-
{
|
36
|
-
"kind": "field",
|
37
|
-
"name": "vertical",
|
38
|
-
"type": {
|
39
|
-
"text": "boolean"
|
40
|
-
},
|
41
|
-
"privacy": "public",
|
42
|
-
"default": "false",
|
43
|
-
"attribute": "vertical",
|
44
|
-
"reflects": true
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"kind": "field",
|
48
|
-
"name": "resizable",
|
49
|
-
"type": {
|
50
|
-
"text": "boolean"
|
51
|
-
},
|
52
|
-
"privacy": "public",
|
53
|
-
"default": "false",
|
54
|
-
"attribute": "resizable",
|
55
|
-
"reflects": true
|
56
|
-
},
|
57
|
-
{
|
58
|
-
"kind": "field",
|
59
|
-
"name": "collapsible",
|
60
|
-
"type": {
|
61
|
-
"text": "boolean"
|
62
|
-
},
|
63
|
-
"privacy": "public",
|
64
|
-
"default": "false",
|
65
|
-
"attribute": "collapsible",
|
66
|
-
"reflects": true
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"kind": "field",
|
70
|
-
"name": "primaryMin",
|
71
|
-
"type": {
|
72
|
-
"text": "number"
|
73
|
-
},
|
74
|
-
"privacy": "public",
|
75
|
-
"default": "0",
|
76
|
-
"description": "The minimum size of the primary pane",
|
77
|
-
"attribute": "primary-min"
|
78
|
-
},
|
79
|
-
{
|
80
|
-
"kind": "field",
|
81
|
-
"name": "primaryMax",
|
82
|
-
"privacy": "public",
|
83
|
-
"default": "3840",
|
84
|
-
"description": "The maximum size of the primary pane",
|
85
|
-
"attribute": "primary-max",
|
86
|
-
"type": {
|
87
|
-
"text": "number"
|
88
|
-
}
|
89
|
-
},
|
90
|
-
{
|
91
|
-
"kind": "field",
|
92
|
-
"name": "primarySize",
|
93
|
-
"type": {
|
94
|
-
"text": "number | number"
|
95
|
-
},
|
96
|
-
"privacy": "public",
|
97
|
-
"description": "+ \"px\" | number + \"%\" | \"auto\"}",
|
98
|
-
"attribute": "primary-size"
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"kind": "field",
|
102
|
-
"name": "secondaryMin",
|
103
|
-
"type": {
|
104
|
-
"text": "number"
|
105
|
-
},
|
106
|
-
"privacy": "public",
|
107
|
-
"default": "0",
|
108
|
-
"description": "The minimum size of the secondary pane",
|
109
|
-
"attribute": "secondary-min"
|
110
|
-
},
|
111
|
-
{
|
112
|
-
"kind": "field",
|
113
|
-
"name": "secondaryMax",
|
114
|
-
"privacy": "public",
|
115
|
-
"default": "3840",
|
116
|
-
"description": "The maximum size of the secondary pane",
|
117
|
-
"attribute": "secondary-max",
|
118
|
-
"type": {
|
119
|
-
"text": "number"
|
120
|
-
}
|
121
|
-
},
|
122
|
-
{
|
123
|
-
"kind": "field",
|
124
|
-
"name": "splitterPos",
|
125
|
-
"type": {
|
126
|
-
"text": "number | undefined"
|
127
|
-
},
|
128
|
-
"privacy": "public",
|
129
|
-
"description": "The current splitter position of split-view",
|
130
|
-
"attribute": "splitter-pos",
|
131
|
-
"reflects": true
|
132
|
-
},
|
133
|
-
{
|
134
|
-
"kind": "field",
|
135
|
-
"name": "firstPaneSize",
|
136
|
-
"type": {
|
137
|
-
"text": "string"
|
138
|
-
},
|
139
|
-
"privacy": "private",
|
140
|
-
"default": "'auto'",
|
141
|
-
"description": "The current size of first pane of split-view"
|
142
|
-
},
|
143
|
-
{
|
144
|
-
"kind": "field",
|
145
|
-
"name": "label",
|
146
|
-
"type": {
|
147
|
-
"text": "string | undefined"
|
148
|
-
},
|
149
|
-
"privacy": "public",
|
150
|
-
"attribute": "label"
|
151
|
-
},
|
152
|
-
{
|
153
|
-
"kind": "field",
|
154
|
-
"name": "enoughChildren",
|
155
|
-
"type": {
|
156
|
-
"text": "boolean"
|
157
|
-
},
|
158
|
-
"privacy": "private",
|
159
|
-
"default": "false"
|
160
|
-
},
|
161
|
-
{
|
162
|
-
"kind": "field",
|
163
|
-
"name": "viewSize",
|
164
|
-
"type": {
|
165
|
-
"text": "number"
|
166
|
-
},
|
167
|
-
"privacy": "private",
|
168
|
-
"default": "0",
|
169
|
-
"attribute": "viewSize"
|
170
|
-
},
|
171
|
-
{
|
172
|
-
"kind": "field",
|
173
|
-
"name": "paneSlot",
|
174
|
-
"type": {
|
175
|
-
"text": "HTMLSlotElement"
|
176
|
-
},
|
177
|
-
"privacy": "private"
|
178
|
-
},
|
179
|
-
{
|
180
|
-
"kind": "field",
|
181
|
-
"name": "splitter",
|
182
|
-
"type": {
|
183
|
-
"text": "HTMLDivElement"
|
184
|
-
},
|
185
|
-
"privacy": "private"
|
186
|
-
},
|
187
|
-
{
|
188
|
-
"kind": "field",
|
189
|
-
"name": "offset",
|
190
|
-
"type": {
|
191
|
-
"text": "number"
|
192
|
-
},
|
193
|
-
"privacy": "private",
|
194
|
-
"default": "0"
|
195
|
-
},
|
196
|
-
{
|
197
|
-
"kind": "field",
|
198
|
-
"name": "minPos",
|
199
|
-
"type": {
|
200
|
-
"text": "number"
|
201
|
-
},
|
202
|
-
"privacy": "private",
|
203
|
-
"default": "0"
|
204
|
-
},
|
205
|
-
{
|
206
|
-
"kind": "field",
|
207
|
-
"name": "maxPos",
|
208
|
-
"privacy": "private",
|
209
|
-
"default": "3840",
|
210
|
-
"type": {
|
211
|
-
"text": "number"
|
212
|
-
}
|
213
|
-
},
|
214
|
-
{
|
215
|
-
"kind": "field",
|
216
|
-
"name": "observer",
|
217
|
-
"type": {
|
218
|
-
"text": "WithSWCResizeObserver['ResizeObserver'] | undefined"
|
219
|
-
},
|
220
|
-
"privacy": "private"
|
221
|
-
},
|
222
|
-
{
|
223
|
-
"kind": "field",
|
224
|
-
"name": "rect",
|
225
|
-
"type": {
|
226
|
-
"text": "DOMRect | undefined"
|
227
|
-
},
|
228
|
-
"privacy": "private"
|
229
|
-
},
|
230
|
-
{
|
231
|
-
"kind": "field",
|
232
|
-
"name": "_splitterSize",
|
233
|
-
"type": {
|
234
|
-
"text": "number | undefined"
|
235
|
-
},
|
236
|
-
"privacy": "private"
|
237
|
-
},
|
238
|
-
{
|
239
|
-
"kind": "field",
|
240
|
-
"name": "splitterSize",
|
241
|
-
"type": {
|
242
|
-
"text": "number"
|
243
|
-
},
|
244
|
-
"privacy": "private"
|
245
|
-
},
|
246
|
-
{
|
247
|
-
"kind": "method",
|
248
|
-
"name": "onContentSlotChange",
|
249
|
-
"privacy": "private",
|
250
|
-
"return": {
|
251
|
-
"type": {
|
252
|
-
"text": "void"
|
253
|
-
}
|
254
|
-
}
|
255
|
-
},
|
256
|
-
{
|
257
|
-
"kind": "method",
|
258
|
-
"name": "onPointerdown",
|
259
|
-
"privacy": "private",
|
260
|
-
"return": {
|
261
|
-
"type": {
|
262
|
-
"text": "void"
|
263
|
-
}
|
264
|
-
},
|
265
|
-
"parameters": [
|
266
|
-
{
|
267
|
-
"name": "event",
|
268
|
-
"type": {
|
269
|
-
"text": "PointerEvent"
|
270
|
-
}
|
271
|
-
}
|
272
|
-
]
|
273
|
-
},
|
274
|
-
{
|
275
|
-
"kind": "method",
|
276
|
-
"name": "onPointermove",
|
277
|
-
"privacy": "private",
|
278
|
-
"return": {
|
279
|
-
"type": {
|
280
|
-
"text": "void"
|
281
|
-
}
|
282
|
-
},
|
283
|
-
"parameters": [
|
284
|
-
{
|
285
|
-
"name": "event",
|
286
|
-
"type": {
|
287
|
-
"text": "PointerEvent"
|
288
|
-
}
|
289
|
-
}
|
290
|
-
]
|
291
|
-
},
|
292
|
-
{
|
293
|
-
"kind": "method",
|
294
|
-
"name": "onPointerup",
|
295
|
-
"privacy": "private",
|
296
|
-
"return": {
|
297
|
-
"type": {
|
298
|
-
"text": "void"
|
299
|
-
}
|
300
|
-
},
|
301
|
-
"parameters": [
|
302
|
-
{
|
303
|
-
"name": "event",
|
304
|
-
"type": {
|
305
|
-
"text": "PointerEvent"
|
306
|
-
}
|
307
|
-
}
|
308
|
-
]
|
309
|
-
},
|
310
|
-
{
|
311
|
-
"kind": "method",
|
312
|
-
"name": "getOffset",
|
313
|
-
"privacy": "private",
|
314
|
-
"return": {
|
315
|
-
"type": {
|
316
|
-
"text": "number"
|
317
|
-
}
|
318
|
-
}
|
319
|
-
},
|
320
|
-
{
|
321
|
-
"kind": "method",
|
322
|
-
"name": "getPosition",
|
323
|
-
"privacy": "private",
|
324
|
-
"return": {
|
325
|
-
"type": {
|
326
|
-
"text": "number"
|
327
|
-
}
|
328
|
-
},
|
329
|
-
"parameters": [
|
330
|
-
{
|
331
|
-
"name": "event",
|
332
|
-
"type": {
|
333
|
-
"text": "PointerEvent"
|
334
|
-
}
|
335
|
-
}
|
336
|
-
]
|
337
|
-
},
|
338
|
-
{
|
339
|
-
"kind": "method",
|
340
|
-
"name": "movePosition",
|
341
|
-
"privacy": "private",
|
342
|
-
"return": {
|
343
|
-
"type": {
|
344
|
-
"text": "void"
|
345
|
-
}
|
346
|
-
},
|
347
|
-
"parameters": [
|
348
|
-
{
|
349
|
-
"name": "event",
|
350
|
-
"type": {
|
351
|
-
"text": "KeyboardEvent"
|
352
|
-
}
|
353
|
-
},
|
354
|
-
{
|
355
|
-
"name": "offset",
|
356
|
-
"type": {
|
357
|
-
"text": "number"
|
358
|
-
}
|
359
|
-
}
|
360
|
-
]
|
361
|
-
},
|
362
|
-
{
|
363
|
-
"kind": "method",
|
364
|
-
"name": "onKeydown",
|
365
|
-
"privacy": "private",
|
366
|
-
"return": {
|
367
|
-
"type": {
|
368
|
-
"text": "void"
|
369
|
-
}
|
370
|
-
},
|
371
|
-
"parameters": [
|
372
|
-
{
|
373
|
-
"name": "event",
|
374
|
-
"type": {
|
375
|
-
"text": "KeyboardEvent"
|
376
|
-
}
|
377
|
-
}
|
378
|
-
]
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"kind": "method",
|
382
|
-
"name": "checkResize",
|
383
|
-
"privacy": "private",
|
384
|
-
"return": {
|
385
|
-
"type": {
|
386
|
-
"text": "Promise<void>"
|
387
|
-
}
|
388
|
-
}
|
389
|
-
},
|
390
|
-
{
|
391
|
-
"kind": "method",
|
392
|
-
"name": "updateMinMax",
|
393
|
-
"privacy": "private",
|
394
|
-
"return": {
|
395
|
-
"type": {
|
396
|
-
"text": "void"
|
397
|
-
}
|
398
|
-
}
|
399
|
-
},
|
400
|
-
{
|
401
|
-
"kind": "method",
|
402
|
-
"name": "updatePosition",
|
403
|
-
"privacy": "private",
|
404
|
-
"return": {
|
405
|
-
"type": {
|
406
|
-
"text": "void"
|
407
|
-
}
|
408
|
-
},
|
409
|
-
"parameters": [
|
410
|
-
{
|
411
|
-
"name": "x",
|
412
|
-
"type": {
|
413
|
-
"text": "number"
|
414
|
-
}
|
415
|
-
}
|
416
|
-
]
|
417
|
-
},
|
418
|
-
{
|
419
|
-
"kind": "method",
|
420
|
-
"name": "getLimitedPosition",
|
421
|
-
"privacy": "private",
|
422
|
-
"return": {
|
423
|
-
"type": {
|
424
|
-
"text": "number"
|
425
|
-
}
|
426
|
-
},
|
427
|
-
"parameters": [
|
428
|
-
{
|
429
|
-
"name": "input",
|
430
|
-
"type": {
|
431
|
-
"text": "number"
|
432
|
-
}
|
433
|
-
}
|
434
|
-
]
|
435
|
-
},
|
436
|
-
{
|
437
|
-
"kind": "method",
|
438
|
-
"name": "calcStartPos",
|
439
|
-
"privacy": "private",
|
440
|
-
"return": {
|
441
|
-
"type": {
|
442
|
-
"text": "Promise<number>"
|
443
|
-
}
|
444
|
-
}
|
445
|
-
},
|
446
|
-
{
|
447
|
-
"kind": "method",
|
448
|
-
"name": "dispatchChangeEvent",
|
449
|
-
"privacy": "private",
|
450
|
-
"return": {
|
451
|
-
"type": {
|
452
|
-
"text": "void"
|
453
|
-
}
|
454
|
-
}
|
455
|
-
}
|
456
|
-
],
|
457
|
-
"events": [
|
458
|
-
{
|
459
|
-
"description": "Announces the new position of the splitter",
|
460
|
-
"name": "change"
|
461
|
-
}
|
462
|
-
],
|
463
|
-
"attributes": [
|
464
|
-
{
|
465
|
-
"name": "primarySize",
|
466
|
-
"type": {
|
467
|
-
"text": "number | number"
|
468
|
-
},
|
469
|
-
"description": "+ \"px\" | number + \"%\" | \"auto\"}",
|
470
|
-
"fieldName": "primarySize"
|
471
|
-
},
|
472
|
-
{
|
473
|
-
"name": "vertical",
|
474
|
-
"type": {
|
475
|
-
"text": "boolean"
|
476
|
-
},
|
477
|
-
"default": "false",
|
478
|
-
"fieldName": "vertical"
|
479
|
-
},
|
480
|
-
{
|
481
|
-
"name": "resizable",
|
482
|
-
"type": {
|
483
|
-
"text": "boolean"
|
484
|
-
},
|
485
|
-
"default": "false",
|
486
|
-
"fieldName": "resizable"
|
487
|
-
},
|
488
|
-
{
|
489
|
-
"name": "collapsible",
|
490
|
-
"type": {
|
491
|
-
"text": "boolean"
|
492
|
-
},
|
493
|
-
"default": "false",
|
494
|
-
"fieldName": "collapsible"
|
495
|
-
},
|
496
|
-
{
|
497
|
-
"name": "primary-min",
|
498
|
-
"type": {
|
499
|
-
"text": "number"
|
500
|
-
},
|
501
|
-
"default": "0",
|
502
|
-
"description": "The minimum size of the primary pane",
|
503
|
-
"fieldName": "primaryMin"
|
504
|
-
},
|
505
|
-
{
|
506
|
-
"name": "primary-max",
|
507
|
-
"default": "DEFAULT_MAX_SIZE",
|
508
|
-
"description": "The maximum size of the primary pane",
|
509
|
-
"resolveInitializer": {
|
510
|
-
"module": "src/SplitView.ts"
|
511
|
-
},
|
512
|
-
"fieldName": "primaryMax"
|
513
|
-
},
|
514
|
-
{
|
515
|
-
"name": "primary-size",
|
516
|
-
"type": {
|
517
|
-
"text": "number | number"
|
518
|
-
},
|
519
|
-
"description": "+ \"px\" | number + \"%\" | \"auto\"}",
|
520
|
-
"attribute": "primarySize",
|
521
|
-
"fieldName": "primarySize"
|
522
|
-
},
|
523
|
-
{
|
524
|
-
"name": "secondary-min",
|
525
|
-
"type": {
|
526
|
-
"text": "number"
|
527
|
-
},
|
528
|
-
"default": "0",
|
529
|
-
"description": "The minimum size of the secondary pane",
|
530
|
-
"fieldName": "secondaryMin"
|
531
|
-
},
|
532
|
-
{
|
533
|
-
"name": "secondary-max",
|
534
|
-
"default": "DEFAULT_MAX_SIZE",
|
535
|
-
"description": "The maximum size of the secondary pane",
|
536
|
-
"resolveInitializer": {
|
537
|
-
"module": "src/SplitView.ts"
|
538
|
-
},
|
539
|
-
"fieldName": "secondaryMax"
|
540
|
-
},
|
541
|
-
{
|
542
|
-
"name": "splitter-pos",
|
543
|
-
"type": {
|
544
|
-
"text": "number | undefined"
|
545
|
-
},
|
546
|
-
"description": "The current splitter position of split-view",
|
547
|
-
"fieldName": "splitterPos"
|
548
|
-
},
|
549
|
-
{
|
550
|
-
"name": "label",
|
551
|
-
"type": {
|
552
|
-
"text": "string | undefined"
|
553
|
-
},
|
554
|
-
"fieldName": "label"
|
555
|
-
},
|
556
|
-
{
|
557
|
-
"name": "viewSize",
|
558
|
-
"type": {
|
559
|
-
"text": "number"
|
560
|
-
},
|
561
|
-
"default": "0",
|
562
|
-
"fieldName": "viewSize"
|
563
|
-
}
|
564
|
-
],
|
565
|
-
"superclass": {
|
566
|
-
"name": "SpectrumElement",
|
567
|
-
"package": "@spectrum-web-components/base"
|
568
|
-
},
|
569
|
-
"tagName": "sp-split-view",
|
570
|
-
"customElement": true
|
571
|
-
}
|
572
|
-
],
|
573
|
-
"exports": [
|
574
|
-
{
|
575
|
-
"kind": "js",
|
576
|
-
"name": "SplitView",
|
577
|
-
"declaration": {
|
578
|
-
"name": "SplitView",
|
579
|
-
"module": "src/SplitView.js"
|
580
|
-
}
|
581
|
-
}
|
582
|
-
]
|
583
|
-
}
|
584
|
-
]
|
585
|
-
}
|