@spectrum-web-components/split-view 1.9.0-nightly.20251013134115 → 1.9.0

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.
@@ -0,0 +1,607 @@
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
+ "description": "Sets the `aria-label` on the splitter component",
159
+ "attribute": "label"
160
+ },
161
+ {
162
+ "kind": "field",
163
+ "name": "enoughChildren",
164
+ "type": {
165
+ "text": "boolean"
166
+ },
167
+ "privacy": "private",
168
+ "default": "false"
169
+ },
170
+ {
171
+ "kind": "field",
172
+ "name": "viewSize",
173
+ "type": {
174
+ "text": "number"
175
+ },
176
+ "privacy": "private",
177
+ "default": "0",
178
+ "attribute": "viewSize"
179
+ },
180
+ {
181
+ "kind": "field",
182
+ "name": "paneSlot",
183
+ "type": {
184
+ "text": "HTMLSlotElement"
185
+ },
186
+ "privacy": "private"
187
+ },
188
+ {
189
+ "kind": "field",
190
+ "name": "splitter",
191
+ "type": {
192
+ "text": "HTMLDivElement"
193
+ },
194
+ "privacy": "private"
195
+ },
196
+ {
197
+ "kind": "field",
198
+ "name": "offset",
199
+ "type": {
200
+ "text": "number"
201
+ },
202
+ "privacy": "private",
203
+ "default": "0"
204
+ },
205
+ {
206
+ "kind": "field",
207
+ "name": "minPos",
208
+ "type": {
209
+ "text": "number"
210
+ },
211
+ "privacy": "private",
212
+ "default": "0"
213
+ },
214
+ {
215
+ "kind": "field",
216
+ "name": "maxPos",
217
+ "privacy": "private",
218
+ "default": "3840",
219
+ "type": {
220
+ "text": "number"
221
+ }
222
+ },
223
+ {
224
+ "kind": "field",
225
+ "name": "observer",
226
+ "type": {
227
+ "text": "WithSWCResizeObserver['ResizeObserver'] | undefined"
228
+ },
229
+ "privacy": "private"
230
+ },
231
+ {
232
+ "kind": "field",
233
+ "name": "rect",
234
+ "type": {
235
+ "text": "DOMRect | undefined"
236
+ },
237
+ "privacy": "private"
238
+ },
239
+ {
240
+ "kind": "field",
241
+ "name": "_splitterSize",
242
+ "type": {
243
+ "text": "number | undefined"
244
+ },
245
+ "privacy": "private"
246
+ },
247
+ {
248
+ "kind": "field",
249
+ "name": "splitterSize",
250
+ "type": {
251
+ "text": "number"
252
+ },
253
+ "privacy": "private",
254
+ "readonly": true
255
+ },
256
+ {
257
+ "kind": "field",
258
+ "name": "controlledElIDApplied",
259
+ "type": {
260
+ "text": "boolean"
261
+ },
262
+ "privacy": "private",
263
+ "default": "false"
264
+ },
265
+ {
266
+ "kind": "method",
267
+ "name": "onContentSlotChange",
268
+ "privacy": "private",
269
+ "return": {
270
+ "type": {
271
+ "text": "void"
272
+ }
273
+ },
274
+ "parameters": [
275
+ {
276
+ "name": "event",
277
+ "type": {
278
+ "text": "Event & { target: HTMLSlotElement }"
279
+ }
280
+ }
281
+ ]
282
+ },
283
+ {
284
+ "kind": "method",
285
+ "name": "onPointerdown",
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": "onPointermove",
304
+ "privacy": "private",
305
+ "return": {
306
+ "type": {
307
+ "text": "void"
308
+ }
309
+ },
310
+ "parameters": [
311
+ {
312
+ "name": "event",
313
+ "type": {
314
+ "text": "PointerEvent"
315
+ }
316
+ }
317
+ ]
318
+ },
319
+ {
320
+ "kind": "method",
321
+ "name": "onPointerup",
322
+ "privacy": "private",
323
+ "return": {
324
+ "type": {
325
+ "text": "void"
326
+ }
327
+ },
328
+ "parameters": [
329
+ {
330
+ "name": "event",
331
+ "type": {
332
+ "text": "PointerEvent"
333
+ }
334
+ }
335
+ ]
336
+ },
337
+ {
338
+ "kind": "method",
339
+ "name": "getOffset",
340
+ "privacy": "private",
341
+ "return": {
342
+ "type": {
343
+ "text": "number"
344
+ }
345
+ }
346
+ },
347
+ {
348
+ "kind": "method",
349
+ "name": "getPosition",
350
+ "privacy": "private",
351
+ "return": {
352
+ "type": {
353
+ "text": "number"
354
+ }
355
+ },
356
+ "parameters": [
357
+ {
358
+ "name": "event",
359
+ "type": {
360
+ "text": "PointerEvent"
361
+ }
362
+ }
363
+ ]
364
+ },
365
+ {
366
+ "kind": "method",
367
+ "name": "movePosition",
368
+ "privacy": "private",
369
+ "return": {
370
+ "type": {
371
+ "text": "void"
372
+ }
373
+ },
374
+ "parameters": [
375
+ {
376
+ "name": "event",
377
+ "type": {
378
+ "text": "KeyboardEvent"
379
+ }
380
+ },
381
+ {
382
+ "name": "offset",
383
+ "type": {
384
+ "text": "number"
385
+ }
386
+ }
387
+ ]
388
+ },
389
+ {
390
+ "kind": "method",
391
+ "name": "onKeydown",
392
+ "privacy": "private",
393
+ "return": {
394
+ "type": {
395
+ "text": "void"
396
+ }
397
+ },
398
+ "parameters": [
399
+ {
400
+ "name": "event",
401
+ "type": {
402
+ "text": "KeyboardEvent"
403
+ }
404
+ }
405
+ ]
406
+ },
407
+ {
408
+ "kind": "method",
409
+ "name": "checkResize",
410
+ "privacy": "private",
411
+ "return": {
412
+ "type": {
413
+ "text": "Promise<void>"
414
+ }
415
+ }
416
+ },
417
+ {
418
+ "kind": "method",
419
+ "name": "updateMinMax",
420
+ "privacy": "private",
421
+ "return": {
422
+ "type": {
423
+ "text": "void"
424
+ }
425
+ }
426
+ },
427
+ {
428
+ "kind": "method",
429
+ "name": "updatePosition",
430
+ "privacy": "private",
431
+ "return": {
432
+ "type": {
433
+ "text": "void"
434
+ }
435
+ },
436
+ "parameters": [
437
+ {
438
+ "name": "x",
439
+ "type": {
440
+ "text": "number"
441
+ }
442
+ }
443
+ ]
444
+ },
445
+ {
446
+ "kind": "method",
447
+ "name": "getLimitedPosition",
448
+ "privacy": "private",
449
+ "return": {
450
+ "type": {
451
+ "text": "number"
452
+ }
453
+ },
454
+ "parameters": [
455
+ {
456
+ "name": "input",
457
+ "type": {
458
+ "text": "number"
459
+ }
460
+ }
461
+ ]
462
+ },
463
+ {
464
+ "kind": "method",
465
+ "name": "calcStartPos",
466
+ "privacy": "private",
467
+ "return": {
468
+ "type": {
469
+ "text": "Promise<number>"
470
+ }
471
+ }
472
+ },
473
+ {
474
+ "kind": "method",
475
+ "name": "dispatchChangeEvent",
476
+ "privacy": "private",
477
+ "return": {
478
+ "type": {
479
+ "text": "void"
480
+ }
481
+ }
482
+ }
483
+ ],
484
+ "events": [
485
+ {
486
+ "description": "Announces the new position of the splitter",
487
+ "name": "change"
488
+ }
489
+ ],
490
+ "attributes": [
491
+ {
492
+ "name": "primarySize",
493
+ "type": {
494
+ "text": "number | number"
495
+ },
496
+ "description": "+ \"px\" | number + \"%\" | \"auto\"}",
497
+ "fieldName": "primarySize"
498
+ },
499
+ {
500
+ "name": "vertical",
501
+ "type": {
502
+ "text": "boolean"
503
+ },
504
+ "default": "false",
505
+ "fieldName": "vertical"
506
+ },
507
+ {
508
+ "name": "resizable",
509
+ "type": {
510
+ "text": "boolean"
511
+ },
512
+ "default": "false",
513
+ "fieldName": "resizable"
514
+ },
515
+ {
516
+ "name": "collapsible",
517
+ "type": {
518
+ "text": "boolean"
519
+ },
520
+ "default": "false",
521
+ "fieldName": "collapsible"
522
+ },
523
+ {
524
+ "name": "primary-min",
525
+ "type": {
526
+ "text": "number"
527
+ },
528
+ "default": "0",
529
+ "description": "The minimum size of the primary pane",
530
+ "fieldName": "primaryMin"
531
+ },
532
+ {
533
+ "name": "primary-max",
534
+ "default": "DEFAULT_MAX_SIZE",
535
+ "description": "The maximum size of the primary pane",
536
+ "fieldName": "primaryMax"
537
+ },
538
+ {
539
+ "name": "primary-size",
540
+ "type": {
541
+ "text": "number | number"
542
+ },
543
+ "description": "+ \"px\" | number + \"%\" | \"auto\"}",
544
+ "attribute": "primarySize",
545
+ "fieldName": "primarySize"
546
+ },
547
+ {
548
+ "name": "secondary-min",
549
+ "type": {
550
+ "text": "number"
551
+ },
552
+ "default": "0",
553
+ "description": "The minimum size of the secondary pane",
554
+ "fieldName": "secondaryMin"
555
+ },
556
+ {
557
+ "name": "secondary-max",
558
+ "default": "DEFAULT_MAX_SIZE",
559
+ "description": "The maximum size of the secondary pane",
560
+ "fieldName": "secondaryMax"
561
+ },
562
+ {
563
+ "name": "splitter-pos",
564
+ "type": {
565
+ "text": "number | undefined"
566
+ },
567
+ "description": "The current splitter position of split-view",
568
+ "fieldName": "splitterPos"
569
+ },
570
+ {
571
+ "name": "label",
572
+ "type": {
573
+ "text": "string | undefined"
574
+ },
575
+ "description": "Sets the `aria-label` on the splitter component",
576
+ "fieldName": "label"
577
+ },
578
+ {
579
+ "name": "viewSize",
580
+ "type": {
581
+ "text": "number"
582
+ },
583
+ "default": "0",
584
+ "fieldName": "viewSize"
585
+ }
586
+ ],
587
+ "superclass": {
588
+ "name": "SpectrumElement",
589
+ "package": "@spectrum-web-components/base"
590
+ },
591
+ "tagName": "sp-split-view",
592
+ "customElement": true
593
+ }
594
+ ],
595
+ "exports": [
596
+ {
597
+ "kind": "js",
598
+ "name": "SplitView",
599
+ "declaration": {
600
+ "name": "SplitView",
601
+ "module": "src/SplitView.js"
602
+ }
603
+ }
604
+ ]
605
+ }
606
+ ]
607
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/split-view",
3
- "version": "1.9.0-nightly.20251013134115",
3
+ "version": "1.9.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -9,7 +9,7 @@
9
9
  "repository": {
10
10
  "type": "git",
11
11
  "url": "https://github.com/adobe/spectrum-web-components.git",
12
- "directory": "first-gen/packages/split-view"
12
+ "directory": "packages/split-view"
13
13
  },
14
14
  "author": "Adobe",
15
15
  "homepage": "https://opensource.adobe.com/spectrum-web-components/components/split-view",
@@ -68,8 +68,8 @@
68
68
  "css"
69
69
  ],
70
70
  "dependencies": {
71
- "@spectrum-web-components/base": "1.9.0-nightly.20251013134115",
72
- "@spectrum-web-components/shared": "1.9.0-nightly.20251013134115"
71
+ "@spectrum-web-components/base": "1.9.0",
72
+ "@spectrum-web-components/shared": "1.9.0"
73
73
  },
74
74
  "types": "./src/index.d.ts",
75
75
  "customElements": "custom-elements.json",