@spectrum-web-components/split-view 0.35.1-rc.24 → 0.35.1-rc.25

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,586 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "sp-split-view.ts",
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.ts",
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
+ "readonly": true
246
+ },
247
+ {
248
+ "kind": "method",
249
+ "name": "onContentSlotChange",
250
+ "privacy": "private",
251
+ "return": {
252
+ "type": {
253
+ "text": "void"
254
+ }
255
+ }
256
+ },
257
+ {
258
+ "kind": "method",
259
+ "name": "onPointerdown",
260
+ "privacy": "private",
261
+ "return": {
262
+ "type": {
263
+ "text": "void"
264
+ }
265
+ },
266
+ "parameters": [
267
+ {
268
+ "name": "event",
269
+ "type": {
270
+ "text": "PointerEvent"
271
+ }
272
+ }
273
+ ]
274
+ },
275
+ {
276
+ "kind": "method",
277
+ "name": "onPointermove",
278
+ "privacy": "private",
279
+ "return": {
280
+ "type": {
281
+ "text": "void"
282
+ }
283
+ },
284
+ "parameters": [
285
+ {
286
+ "name": "event",
287
+ "type": {
288
+ "text": "PointerEvent"
289
+ }
290
+ }
291
+ ]
292
+ },
293
+ {
294
+ "kind": "method",
295
+ "name": "onPointerup",
296
+ "privacy": "private",
297
+ "return": {
298
+ "type": {
299
+ "text": "void"
300
+ }
301
+ },
302
+ "parameters": [
303
+ {
304
+ "name": "event",
305
+ "type": {
306
+ "text": "PointerEvent"
307
+ }
308
+ }
309
+ ]
310
+ },
311
+ {
312
+ "kind": "method",
313
+ "name": "getOffset",
314
+ "privacy": "private",
315
+ "return": {
316
+ "type": {
317
+ "text": "number"
318
+ }
319
+ }
320
+ },
321
+ {
322
+ "kind": "method",
323
+ "name": "getPosition",
324
+ "privacy": "private",
325
+ "return": {
326
+ "type": {
327
+ "text": "number"
328
+ }
329
+ },
330
+ "parameters": [
331
+ {
332
+ "name": "event",
333
+ "type": {
334
+ "text": "PointerEvent"
335
+ }
336
+ }
337
+ ]
338
+ },
339
+ {
340
+ "kind": "method",
341
+ "name": "movePosition",
342
+ "privacy": "private",
343
+ "return": {
344
+ "type": {
345
+ "text": "void"
346
+ }
347
+ },
348
+ "parameters": [
349
+ {
350
+ "name": "event",
351
+ "type": {
352
+ "text": "KeyboardEvent"
353
+ }
354
+ },
355
+ {
356
+ "name": "offset",
357
+ "type": {
358
+ "text": "number"
359
+ }
360
+ }
361
+ ]
362
+ },
363
+ {
364
+ "kind": "method",
365
+ "name": "onKeydown",
366
+ "privacy": "private",
367
+ "return": {
368
+ "type": {
369
+ "text": "void"
370
+ }
371
+ },
372
+ "parameters": [
373
+ {
374
+ "name": "event",
375
+ "type": {
376
+ "text": "KeyboardEvent"
377
+ }
378
+ }
379
+ ]
380
+ },
381
+ {
382
+ "kind": "method",
383
+ "name": "checkResize",
384
+ "privacy": "private",
385
+ "return": {
386
+ "type": {
387
+ "text": "Promise<void>"
388
+ }
389
+ }
390
+ },
391
+ {
392
+ "kind": "method",
393
+ "name": "updateMinMax",
394
+ "privacy": "private",
395
+ "return": {
396
+ "type": {
397
+ "text": "void"
398
+ }
399
+ }
400
+ },
401
+ {
402
+ "kind": "method",
403
+ "name": "updatePosition",
404
+ "privacy": "private",
405
+ "return": {
406
+ "type": {
407
+ "text": "void"
408
+ }
409
+ },
410
+ "parameters": [
411
+ {
412
+ "name": "x",
413
+ "type": {
414
+ "text": "number"
415
+ }
416
+ }
417
+ ]
418
+ },
419
+ {
420
+ "kind": "method",
421
+ "name": "getLimitedPosition",
422
+ "privacy": "private",
423
+ "return": {
424
+ "type": {
425
+ "text": "number"
426
+ }
427
+ },
428
+ "parameters": [
429
+ {
430
+ "name": "input",
431
+ "type": {
432
+ "text": "number"
433
+ }
434
+ }
435
+ ]
436
+ },
437
+ {
438
+ "kind": "method",
439
+ "name": "calcStartPos",
440
+ "privacy": "private",
441
+ "return": {
442
+ "type": {
443
+ "text": "Promise<number>"
444
+ }
445
+ }
446
+ },
447
+ {
448
+ "kind": "method",
449
+ "name": "dispatchChangeEvent",
450
+ "privacy": "private",
451
+ "return": {
452
+ "type": {
453
+ "text": "void"
454
+ }
455
+ }
456
+ }
457
+ ],
458
+ "events": [
459
+ {
460
+ "description": "Announces the new position of the splitter",
461
+ "name": "change"
462
+ }
463
+ ],
464
+ "attributes": [
465
+ {
466
+ "name": "primarySize",
467
+ "type": {
468
+ "text": "number | number"
469
+ },
470
+ "description": "+ \"px\" | number + \"%\" | \"auto\"}",
471
+ "fieldName": "primarySize"
472
+ },
473
+ {
474
+ "name": "vertical",
475
+ "type": {
476
+ "text": "boolean"
477
+ },
478
+ "default": "false",
479
+ "fieldName": "vertical"
480
+ },
481
+ {
482
+ "name": "resizable",
483
+ "type": {
484
+ "text": "boolean"
485
+ },
486
+ "default": "false",
487
+ "fieldName": "resizable"
488
+ },
489
+ {
490
+ "name": "collapsible",
491
+ "type": {
492
+ "text": "boolean"
493
+ },
494
+ "default": "false",
495
+ "fieldName": "collapsible"
496
+ },
497
+ {
498
+ "name": "primary-min",
499
+ "type": {
500
+ "text": "number"
501
+ },
502
+ "default": "0",
503
+ "description": "The minimum size of the primary pane",
504
+ "fieldName": "primaryMin"
505
+ },
506
+ {
507
+ "name": "primary-max",
508
+ "default": "DEFAULT_MAX_SIZE",
509
+ "description": "The maximum size of the primary pane",
510
+ "resolveInitializer": {
511
+ "module": "src/SplitView.ts"
512
+ },
513
+ "fieldName": "primaryMax"
514
+ },
515
+ {
516
+ "name": "primary-size",
517
+ "type": {
518
+ "text": "number | number"
519
+ },
520
+ "description": "+ \"px\" | number + \"%\" | \"auto\"}",
521
+ "attribute": "primarySize",
522
+ "fieldName": "primarySize"
523
+ },
524
+ {
525
+ "name": "secondary-min",
526
+ "type": {
527
+ "text": "number"
528
+ },
529
+ "default": "0",
530
+ "description": "The minimum size of the secondary pane",
531
+ "fieldName": "secondaryMin"
532
+ },
533
+ {
534
+ "name": "secondary-max",
535
+ "default": "DEFAULT_MAX_SIZE",
536
+ "description": "The maximum size of the secondary pane",
537
+ "resolveInitializer": {
538
+ "module": "src/SplitView.ts"
539
+ },
540
+ "fieldName": "secondaryMax"
541
+ },
542
+ {
543
+ "name": "splitter-pos",
544
+ "type": {
545
+ "text": "number | undefined"
546
+ },
547
+ "description": "The current splitter position of split-view",
548
+ "fieldName": "splitterPos"
549
+ },
550
+ {
551
+ "name": "label",
552
+ "type": {
553
+ "text": "string | undefined"
554
+ },
555
+ "fieldName": "label"
556
+ },
557
+ {
558
+ "name": "viewSize",
559
+ "type": {
560
+ "text": "number"
561
+ },
562
+ "default": "0",
563
+ "fieldName": "viewSize"
564
+ }
565
+ ],
566
+ "superclass": {
567
+ "name": "SpectrumElement",
568
+ "package": "@spectrum-web-components/base"
569
+ },
570
+ "tagName": "sp-split-view",
571
+ "customElement": true
572
+ }
573
+ ],
574
+ "exports": [
575
+ {
576
+ "kind": "js",
577
+ "name": "SplitView",
578
+ "declaration": {
579
+ "name": "SplitView",
580
+ "module": "src/SplitView.ts"
581
+ }
582
+ }
583
+ ]
584
+ }
585
+ ]
586
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/split-view",
3
- "version": "0.35.1-rc.24+e3649e123",
3
+ "version": "0.35.1-rc.25+b3feb0eb9",
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.35.1-rc.24+e3649e123"
64
+ "@spectrum-web-components/base": "^0.35.1-rc.25+b3feb0eb9"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@spectrum-css/splitview": "^3.0.46"
@@ -72,5 +72,5 @@
72
72
  "./sp-*.js",
73
73
  "./**/*.dev.js"
74
74
  ],
75
- "gitHead": "e3649e1230ed727048988a452969c38ced5467ac"
75
+ "gitHead": "b3feb0eb979ff059457a00125919c13ea1afe9bc"
76
76
  }