@spectrum-web-components/split-view 0.48.1 → 0.49.0-beta.0

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