@spectrum-web-components/split-view 0.30.1-overlay.41 → 0.31.0

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