@kubex/zinc 1.1.88 → 1.1.89
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.
- package/dist/custom-elements.json +500 -500
- package/dist/vscode.html-custom-data.json +57 -57
- package/dist/web-types.json +147 -147
- package/dist/zn.min.js +1 -2
- package/package.json +1 -1
- package/src/components/theme-editor/theme-editor.component.ts +0 -1
- package/src/components/theme-editor/theme-editor.scss +0 -1
|
@@ -47,79 +47,6 @@
|
|
|
47
47
|
}
|
|
48
48
|
]
|
|
49
49
|
},
|
|
50
|
-
{
|
|
51
|
-
"kind": "javascript-module",
|
|
52
|
-
"path": "components/action-bar/action-bar.js",
|
|
53
|
-
"declarations": [
|
|
54
|
-
{
|
|
55
|
-
"kind": "class",
|
|
56
|
-
"description": "",
|
|
57
|
-
"name": "ZnActionBar",
|
|
58
|
-
"cssProperties": [
|
|
59
|
-
{
|
|
60
|
-
"description": "An example CSS custom property.",
|
|
61
|
-
"name": "--example"
|
|
62
|
-
}
|
|
63
|
-
],
|
|
64
|
-
"cssParts": [
|
|
65
|
-
{
|
|
66
|
-
"description": "The component's base wrapper.",
|
|
67
|
-
"name": "base"
|
|
68
|
-
}
|
|
69
|
-
],
|
|
70
|
-
"slots": [
|
|
71
|
-
{
|
|
72
|
-
"description": "The default slot.",
|
|
73
|
-
"name": ""
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"description": "An example slot.",
|
|
77
|
-
"name": "example"
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
"members": [
|
|
81
|
-
{
|
|
82
|
-
"kind": "field",
|
|
83
|
-
"name": "localize",
|
|
84
|
-
"privacy": "private",
|
|
85
|
-
"readonly": true,
|
|
86
|
-
"default": "new LocalizeController(this)"
|
|
87
|
-
}
|
|
88
|
-
],
|
|
89
|
-
"events": [
|
|
90
|
-
{
|
|
91
|
-
"description": "Emitted as an example.",
|
|
92
|
-
"name": "zn-event-name"
|
|
93
|
-
}
|
|
94
|
-
],
|
|
95
|
-
"superclass": {
|
|
96
|
-
"name": "ZincElement",
|
|
97
|
-
"module": "/src/internal/zinc-element"
|
|
98
|
-
},
|
|
99
|
-
"summary": "Short summary of the component's intended use.",
|
|
100
|
-
"tagNameWithoutPrefix": "action-bar",
|
|
101
|
-
"tagName": "zn-action-bar",
|
|
102
|
-
"customElement": true,
|
|
103
|
-
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/action-bar\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
104
|
-
"documentation": "https://zinc.style/components/action-bar",
|
|
105
|
-
"status": "experimental",
|
|
106
|
-
"since": "1.0",
|
|
107
|
-
"dependencies": [
|
|
108
|
-
"zn-example"
|
|
109
|
-
]
|
|
110
|
-
}
|
|
111
|
-
],
|
|
112
|
-
"exports": [
|
|
113
|
-
{
|
|
114
|
-
"kind": "js",
|
|
115
|
-
"name": "default",
|
|
116
|
-
"declaration": {
|
|
117
|
-
"name": "ZnActionBar",
|
|
118
|
-
"module": "components/action-bar/action-bar.js"
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
]
|
|
122
|
-
},
|
|
123
50
|
{
|
|
124
51
|
"kind": "javascript-module",
|
|
125
52
|
"path": "components/alert/alert.js",
|
|
@@ -314,6 +241,79 @@
|
|
|
314
241
|
}
|
|
315
242
|
]
|
|
316
243
|
},
|
|
244
|
+
{
|
|
245
|
+
"kind": "javascript-module",
|
|
246
|
+
"path": "components/action-bar/action-bar.js",
|
|
247
|
+
"declarations": [
|
|
248
|
+
{
|
|
249
|
+
"kind": "class",
|
|
250
|
+
"description": "",
|
|
251
|
+
"name": "ZnActionBar",
|
|
252
|
+
"cssProperties": [
|
|
253
|
+
{
|
|
254
|
+
"description": "An example CSS custom property.",
|
|
255
|
+
"name": "--example"
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"cssParts": [
|
|
259
|
+
{
|
|
260
|
+
"description": "The component's base wrapper.",
|
|
261
|
+
"name": "base"
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
"slots": [
|
|
265
|
+
{
|
|
266
|
+
"description": "The default slot.",
|
|
267
|
+
"name": ""
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"description": "An example slot.",
|
|
271
|
+
"name": "example"
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"members": [
|
|
275
|
+
{
|
|
276
|
+
"kind": "field",
|
|
277
|
+
"name": "localize",
|
|
278
|
+
"privacy": "private",
|
|
279
|
+
"readonly": true,
|
|
280
|
+
"default": "new LocalizeController(this)"
|
|
281
|
+
}
|
|
282
|
+
],
|
|
283
|
+
"events": [
|
|
284
|
+
{
|
|
285
|
+
"description": "Emitted as an example.",
|
|
286
|
+
"name": "zn-event-name"
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"superclass": {
|
|
290
|
+
"name": "ZincElement",
|
|
291
|
+
"module": "/src/internal/zinc-element"
|
|
292
|
+
},
|
|
293
|
+
"summary": "Short summary of the component's intended use.",
|
|
294
|
+
"tagNameWithoutPrefix": "action-bar",
|
|
295
|
+
"tagName": "zn-action-bar",
|
|
296
|
+
"customElement": true,
|
|
297
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/action-bar\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
298
|
+
"documentation": "https://zinc.style/components/action-bar",
|
|
299
|
+
"status": "experimental",
|
|
300
|
+
"since": "1.0",
|
|
301
|
+
"dependencies": [
|
|
302
|
+
"zn-example"
|
|
303
|
+
]
|
|
304
|
+
}
|
|
305
|
+
],
|
|
306
|
+
"exports": [
|
|
307
|
+
{
|
|
308
|
+
"kind": "js",
|
|
309
|
+
"name": "default",
|
|
310
|
+
"declaration": {
|
|
311
|
+
"name": "ZnActionBar",
|
|
312
|
+
"module": "components/action-bar/action-bar.js"
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
317
|
{
|
|
318
318
|
"kind": "javascript-module",
|
|
319
319
|
"path": "components/animated-button/animated-button.js",
|
|
@@ -11337,432 +11337,6 @@
|
|
|
11337
11337
|
}
|
|
11338
11338
|
]
|
|
11339
11339
|
},
|
|
11340
|
-
{
|
|
11341
|
-
"kind": "javascript-module",
|
|
11342
|
-
"path": "components/dropdown/dropdown.js",
|
|
11343
|
-
"declarations": [
|
|
11344
|
-
{
|
|
11345
|
-
"kind": "class",
|
|
11346
|
-
"description": "",
|
|
11347
|
-
"name": "ZnDropdown",
|
|
11348
|
-
"cssProperties": [
|
|
11349
|
-
{
|
|
11350
|
-
"description": "An example CSS custom property.",
|
|
11351
|
-
"name": "--example"
|
|
11352
|
-
}
|
|
11353
|
-
],
|
|
11354
|
-
"cssParts": [
|
|
11355
|
-
{
|
|
11356
|
-
"description": "The component's base wrapper.",
|
|
11357
|
-
"name": "base"
|
|
11358
|
-
}
|
|
11359
|
-
],
|
|
11360
|
-
"slots": [
|
|
11361
|
-
{
|
|
11362
|
-
"description": "The default slot.",
|
|
11363
|
-
"name": ""
|
|
11364
|
-
},
|
|
11365
|
-
{
|
|
11366
|
-
"description": "An example slot.",
|
|
11367
|
-
"name": "example"
|
|
11368
|
-
}
|
|
11369
|
-
],
|
|
11370
|
-
"members": [
|
|
11371
|
-
{
|
|
11372
|
-
"kind": "field",
|
|
11373
|
-
"name": "popup",
|
|
11374
|
-
"type": {
|
|
11375
|
-
"text": "ZnPopup"
|
|
11376
|
-
}
|
|
11377
|
-
},
|
|
11378
|
-
{
|
|
11379
|
-
"kind": "field",
|
|
11380
|
-
"name": "trigger",
|
|
11381
|
-
"type": {
|
|
11382
|
-
"text": "HTMLSlotElement"
|
|
11383
|
-
}
|
|
11384
|
-
},
|
|
11385
|
-
{
|
|
11386
|
-
"kind": "field",
|
|
11387
|
-
"name": "panel",
|
|
11388
|
-
"type": {
|
|
11389
|
-
"text": "HTMLSlotElement"
|
|
11390
|
-
}
|
|
11391
|
-
},
|
|
11392
|
-
{
|
|
11393
|
-
"kind": "field",
|
|
11394
|
-
"name": "closeWatcher",
|
|
11395
|
-
"type": {
|
|
11396
|
-
"text": "CloseWatcher | null"
|
|
11397
|
-
},
|
|
11398
|
-
"privacy": "private"
|
|
11399
|
-
},
|
|
11400
|
-
{
|
|
11401
|
-
"kind": "field",
|
|
11402
|
-
"name": "open",
|
|
11403
|
-
"type": {
|
|
11404
|
-
"text": "boolean"
|
|
11405
|
-
},
|
|
11406
|
-
"default": "false",
|
|
11407
|
-
"description": "Indicates whether the dropdown is open",
|
|
11408
|
-
"attribute": "open",
|
|
11409
|
-
"reflects": true
|
|
11410
|
-
},
|
|
11411
|
-
{
|
|
11412
|
-
"kind": "field",
|
|
11413
|
-
"name": "placement",
|
|
11414
|
-
"type": {
|
|
11415
|
-
"text": "'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' |\n 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end'"
|
|
11416
|
-
},
|
|
11417
|
-
"default": "'bottom-start'",
|
|
11418
|
-
"description": "The placement of the dropdown. Note the actual placement may vary based on the available space",
|
|
11419
|
-
"attribute": "placement",
|
|
11420
|
-
"reflects": true
|
|
11421
|
-
},
|
|
11422
|
-
{
|
|
11423
|
-
"kind": "field",
|
|
11424
|
-
"name": "disabled",
|
|
11425
|
-
"type": {
|
|
11426
|
-
"text": "boolean"
|
|
11427
|
-
},
|
|
11428
|
-
"default": "false",
|
|
11429
|
-
"description": "Disable the dropdown",
|
|
11430
|
-
"attribute": "disabled",
|
|
11431
|
-
"reflects": true
|
|
11432
|
-
},
|
|
11433
|
-
{
|
|
11434
|
-
"kind": "field",
|
|
11435
|
-
"name": "stayOpenOnSelect",
|
|
11436
|
-
"type": {
|
|
11437
|
-
"text": "boolean"
|
|
11438
|
-
},
|
|
11439
|
-
"default": "false",
|
|
11440
|
-
"description": "By default, the dropdown will close when an item is selected. Set this to true to keep the dropdown open",
|
|
11441
|
-
"attribute": "stay-open-on-select",
|
|
11442
|
-
"reflects": true
|
|
11443
|
-
},
|
|
11444
|
-
{
|
|
11445
|
-
"kind": "field",
|
|
11446
|
-
"name": "containingElement",
|
|
11447
|
-
"type": {
|
|
11448
|
-
"text": "HTMLElement | undefined"
|
|
11449
|
-
},
|
|
11450
|
-
"description": "The dropdown will close when the user interacts outside the element*"
|
|
11451
|
-
},
|
|
11452
|
-
{
|
|
11453
|
-
"kind": "field",
|
|
11454
|
-
"name": "distance",
|
|
11455
|
-
"type": {
|
|
11456
|
-
"text": "number"
|
|
11457
|
-
},
|
|
11458
|
-
"default": "0",
|
|
11459
|
-
"description": "The distance in pixels from which to offset the panel away from the trigger",
|
|
11460
|
-
"attribute": "distance"
|
|
11461
|
-
},
|
|
11462
|
-
{
|
|
11463
|
-
"kind": "field",
|
|
11464
|
-
"name": "skidding",
|
|
11465
|
-
"type": {
|
|
11466
|
-
"text": "number"
|
|
11467
|
-
},
|
|
11468
|
-
"default": "0",
|
|
11469
|
-
"description": "The distance in pixels from which to offset the panel away from the trigger",
|
|
11470
|
-
"attribute": "skidding"
|
|
11471
|
-
},
|
|
11472
|
-
{
|
|
11473
|
-
"kind": "field",
|
|
11474
|
-
"name": "hoist",
|
|
11475
|
-
"type": {
|
|
11476
|
-
"text": "boolean"
|
|
11477
|
-
},
|
|
11478
|
-
"default": "true",
|
|
11479
|
-
"description": "Enable this option if the parent is overflow hidden and the dropdown is not visible",
|
|
11480
|
-
"attribute": "hoist"
|
|
11481
|
-
},
|
|
11482
|
-
{
|
|
11483
|
-
"kind": "field",
|
|
11484
|
-
"name": "sync",
|
|
11485
|
-
"type": {
|
|
11486
|
-
"text": "'width' | 'height' | 'both' | undefined"
|
|
11487
|
-
},
|
|
11488
|
-
"default": "undefined",
|
|
11489
|
-
"description": "Syncs the popup width or height with the trigger element",
|
|
11490
|
-
"attribute": "sync",
|
|
11491
|
-
"reflects": true
|
|
11492
|
-
},
|
|
11493
|
-
{
|
|
11494
|
-
"kind": "field",
|
|
11495
|
-
"name": "uri",
|
|
11496
|
-
"type": {
|
|
11497
|
-
"text": "string"
|
|
11498
|
-
},
|
|
11499
|
-
"attribute": "uri"
|
|
11500
|
-
},
|
|
11501
|
-
{
|
|
11502
|
-
"kind": "field",
|
|
11503
|
-
"name": "fetchedContent",
|
|
11504
|
-
"type": {
|
|
11505
|
-
"text": "string"
|
|
11506
|
-
},
|
|
11507
|
-
"default": "''",
|
|
11508
|
-
"attribute": "fetchedContent"
|
|
11509
|
-
},
|
|
11510
|
-
{
|
|
11511
|
-
"kind": "method",
|
|
11512
|
-
"name": "focusOnTrigger",
|
|
11513
|
-
"privacy": "public"
|
|
11514
|
-
},
|
|
11515
|
-
{
|
|
11516
|
-
"kind": "method",
|
|
11517
|
-
"name": "getMenu",
|
|
11518
|
-
"privacy": "private"
|
|
11519
|
-
},
|
|
11520
|
-
{
|
|
11521
|
-
"kind": "method",
|
|
11522
|
-
"name": "addOpenListeners",
|
|
11523
|
-
"privacy": "private"
|
|
11524
|
-
},
|
|
11525
|
-
{
|
|
11526
|
-
"kind": "method",
|
|
11527
|
-
"name": "removeOpenListeners",
|
|
11528
|
-
"privacy": "private"
|
|
11529
|
-
},
|
|
11530
|
-
{
|
|
11531
|
-
"kind": "field",
|
|
11532
|
-
"name": "handlePanelSelect",
|
|
11533
|
-
"description": "Events"
|
|
11534
|
-
},
|
|
11535
|
-
{
|
|
11536
|
-
"kind": "method",
|
|
11537
|
-
"name": "preloadContent",
|
|
11538
|
-
"privacy": "private"
|
|
11539
|
-
},
|
|
11540
|
-
{
|
|
11541
|
-
"kind": "field",
|
|
11542
|
-
"name": "handlePreload",
|
|
11543
|
-
"privacy": "private"
|
|
11544
|
-
},
|
|
11545
|
-
{
|
|
11546
|
-
"kind": "method",
|
|
11547
|
-
"name": "handleTriggerClick"
|
|
11548
|
-
},
|
|
11549
|
-
{
|
|
11550
|
-
"kind": "method",
|
|
11551
|
-
"name": "handleKeyDown",
|
|
11552
|
-
"parameters": [
|
|
11553
|
-
{
|
|
11554
|
-
"name": "event",
|
|
11555
|
-
"type": {
|
|
11556
|
-
"text": "KeyboardEvent"
|
|
11557
|
-
}
|
|
11558
|
-
}
|
|
11559
|
-
]
|
|
11560
|
-
},
|
|
11561
|
-
{
|
|
11562
|
-
"kind": "method",
|
|
11563
|
-
"name": "handleTriggerKeyDown",
|
|
11564
|
-
"privacy": "private",
|
|
11565
|
-
"parameters": [
|
|
11566
|
-
{
|
|
11567
|
-
"name": "event",
|
|
11568
|
-
"type": {
|
|
11569
|
-
"text": "KeyboardEvent"
|
|
11570
|
-
}
|
|
11571
|
-
}
|
|
11572
|
-
]
|
|
11573
|
-
},
|
|
11574
|
-
{
|
|
11575
|
-
"kind": "method",
|
|
11576
|
-
"name": "handleTriggerKeyUp",
|
|
11577
|
-
"privacy": "private",
|
|
11578
|
-
"parameters": [
|
|
11579
|
-
{
|
|
11580
|
-
"name": "event",
|
|
11581
|
-
"type": {
|
|
11582
|
-
"text": "KeyboardEvent"
|
|
11583
|
-
}
|
|
11584
|
-
}
|
|
11585
|
-
]
|
|
11586
|
-
},
|
|
11587
|
-
{
|
|
11588
|
-
"kind": "method",
|
|
11589
|
-
"name": "handleTriggerSlotChange",
|
|
11590
|
-
"privacy": "private"
|
|
11591
|
-
},
|
|
11592
|
-
{
|
|
11593
|
-
"kind": "method",
|
|
11594
|
-
"name": "handleDocumentMouseDown",
|
|
11595
|
-
"privacy": "private",
|
|
11596
|
-
"parameters": [
|
|
11597
|
-
{
|
|
11598
|
-
"name": "event",
|
|
11599
|
-
"type": {
|
|
11600
|
-
"text": "MouseEvent"
|
|
11601
|
-
}
|
|
11602
|
-
}
|
|
11603
|
-
]
|
|
11604
|
-
},
|
|
11605
|
-
{
|
|
11606
|
-
"kind": "method",
|
|
11607
|
-
"name": "handleDocumentKeyDown",
|
|
11608
|
-
"parameters": [
|
|
11609
|
-
{
|
|
11610
|
-
"name": "event",
|
|
11611
|
-
"type": {
|
|
11612
|
-
"text": "KeyboardEvent"
|
|
11613
|
-
}
|
|
11614
|
-
}
|
|
11615
|
-
]
|
|
11616
|
-
},
|
|
11617
|
-
{
|
|
11618
|
-
"kind": "method",
|
|
11619
|
-
"name": "show",
|
|
11620
|
-
"description": "Opens the dropdown"
|
|
11621
|
-
},
|
|
11622
|
-
{
|
|
11623
|
-
"kind": "method",
|
|
11624
|
-
"name": "hide",
|
|
11625
|
-
"description": "Closes the dropdown"
|
|
11626
|
-
},
|
|
11627
|
-
{
|
|
11628
|
-
"kind": "method",
|
|
11629
|
-
"name": "reposition",
|
|
11630
|
-
"description": "Instructs the dropdown to reposition itself"
|
|
11631
|
-
},
|
|
11632
|
-
{
|
|
11633
|
-
"kind": "method",
|
|
11634
|
-
"name": "updateAccessibleTrigger",
|
|
11635
|
-
"privacy": "private",
|
|
11636
|
-
"description": "Aria related method"
|
|
11637
|
-
},
|
|
11638
|
-
{
|
|
11639
|
-
"kind": "method",
|
|
11640
|
-
"name": "handleOpenChange"
|
|
11641
|
-
}
|
|
11642
|
-
],
|
|
11643
|
-
"events": [
|
|
11644
|
-
{
|
|
11645
|
-
"description": "Emitted as an example.",
|
|
11646
|
-
"name": "zn-event-name"
|
|
11647
|
-
}
|
|
11648
|
-
],
|
|
11649
|
-
"attributes": [
|
|
11650
|
-
{
|
|
11651
|
-
"name": "open",
|
|
11652
|
-
"type": {
|
|
11653
|
-
"text": "boolean"
|
|
11654
|
-
},
|
|
11655
|
-
"default": "false",
|
|
11656
|
-
"description": "Indicates whether the dropdown is open",
|
|
11657
|
-
"fieldName": "open"
|
|
11658
|
-
},
|
|
11659
|
-
{
|
|
11660
|
-
"name": "placement",
|
|
11661
|
-
"type": {
|
|
11662
|
-
"text": "'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' |\n 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end'"
|
|
11663
|
-
},
|
|
11664
|
-
"default": "'bottom-start'",
|
|
11665
|
-
"description": "The placement of the dropdown. Note the actual placement may vary based on the available space",
|
|
11666
|
-
"fieldName": "placement"
|
|
11667
|
-
},
|
|
11668
|
-
{
|
|
11669
|
-
"name": "disabled",
|
|
11670
|
-
"type": {
|
|
11671
|
-
"text": "boolean"
|
|
11672
|
-
},
|
|
11673
|
-
"default": "false",
|
|
11674
|
-
"description": "Disable the dropdown",
|
|
11675
|
-
"fieldName": "disabled"
|
|
11676
|
-
},
|
|
11677
|
-
{
|
|
11678
|
-
"name": "stay-open-on-select",
|
|
11679
|
-
"type": {
|
|
11680
|
-
"text": "boolean"
|
|
11681
|
-
},
|
|
11682
|
-
"default": "false",
|
|
11683
|
-
"description": "By default, the dropdown will close when an item is selected. Set this to true to keep the dropdown open",
|
|
11684
|
-
"fieldName": "stayOpenOnSelect"
|
|
11685
|
-
},
|
|
11686
|
-
{
|
|
11687
|
-
"name": "distance",
|
|
11688
|
-
"type": {
|
|
11689
|
-
"text": "number"
|
|
11690
|
-
},
|
|
11691
|
-
"default": "0",
|
|
11692
|
-
"description": "The distance in pixels from which to offset the panel away from the trigger",
|
|
11693
|
-
"fieldName": "distance"
|
|
11694
|
-
},
|
|
11695
|
-
{
|
|
11696
|
-
"name": "skidding",
|
|
11697
|
-
"type": {
|
|
11698
|
-
"text": "number"
|
|
11699
|
-
},
|
|
11700
|
-
"default": "0",
|
|
11701
|
-
"description": "The distance in pixels from which to offset the panel away from the trigger",
|
|
11702
|
-
"fieldName": "skidding"
|
|
11703
|
-
},
|
|
11704
|
-
{
|
|
11705
|
-
"name": "hoist",
|
|
11706
|
-
"type": {
|
|
11707
|
-
"text": "boolean"
|
|
11708
|
-
},
|
|
11709
|
-
"default": "true",
|
|
11710
|
-
"description": "Enable this option if the parent is overflow hidden and the dropdown is not visible",
|
|
11711
|
-
"fieldName": "hoist"
|
|
11712
|
-
},
|
|
11713
|
-
{
|
|
11714
|
-
"name": "sync",
|
|
11715
|
-
"type": {
|
|
11716
|
-
"text": "'width' | 'height' | 'both' | undefined"
|
|
11717
|
-
},
|
|
11718
|
-
"default": "undefined",
|
|
11719
|
-
"description": "Syncs the popup width or height with the trigger element",
|
|
11720
|
-
"fieldName": "sync"
|
|
11721
|
-
},
|
|
11722
|
-
{
|
|
11723
|
-
"name": "uri",
|
|
11724
|
-
"type": {
|
|
11725
|
-
"text": "string"
|
|
11726
|
-
},
|
|
11727
|
-
"fieldName": "uri"
|
|
11728
|
-
},
|
|
11729
|
-
{
|
|
11730
|
-
"name": "fetchedContent",
|
|
11731
|
-
"type": {
|
|
11732
|
-
"text": "string"
|
|
11733
|
-
},
|
|
11734
|
-
"default": "''",
|
|
11735
|
-
"fieldName": "fetchedContent"
|
|
11736
|
-
}
|
|
11737
|
-
],
|
|
11738
|
-
"superclass": {
|
|
11739
|
-
"name": "ZincElement",
|
|
11740
|
-
"module": "/src/internal/zinc-element"
|
|
11741
|
-
},
|
|
11742
|
-
"summary": "Short summary of the component's intended use.",
|
|
11743
|
-
"tagNameWithoutPrefix": "dropdown",
|
|
11744
|
-
"tagName": "zn-dropdown",
|
|
11745
|
-
"customElement": true,
|
|
11746
|
-
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/dropdown\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
11747
|
-
"documentation": "https://zinc.style/components/dropdown",
|
|
11748
|
-
"status": "experimental",
|
|
11749
|
-
"since": "1.0",
|
|
11750
|
-
"dependencies": [
|
|
11751
|
-
"zn-example"
|
|
11752
|
-
]
|
|
11753
|
-
}
|
|
11754
|
-
],
|
|
11755
|
-
"exports": [
|
|
11756
|
-
{
|
|
11757
|
-
"kind": "js",
|
|
11758
|
-
"name": "default",
|
|
11759
|
-
"declaration": {
|
|
11760
|
-
"name": "ZnDropdown",
|
|
11761
|
-
"module": "components/dropdown/dropdown.js"
|
|
11762
|
-
}
|
|
11763
|
-
}
|
|
11764
|
-
]
|
|
11765
|
-
},
|
|
11766
11340
|
{
|
|
11767
11341
|
"kind": "javascript-module",
|
|
11768
11342
|
"path": "components/editor/editor.js",
|
|
@@ -12373,6 +11947,432 @@
|
|
|
12373
11947
|
}
|
|
12374
11948
|
]
|
|
12375
11949
|
},
|
|
11950
|
+
{
|
|
11951
|
+
"kind": "javascript-module",
|
|
11952
|
+
"path": "components/dropdown/dropdown.js",
|
|
11953
|
+
"declarations": [
|
|
11954
|
+
{
|
|
11955
|
+
"kind": "class",
|
|
11956
|
+
"description": "",
|
|
11957
|
+
"name": "ZnDropdown",
|
|
11958
|
+
"cssProperties": [
|
|
11959
|
+
{
|
|
11960
|
+
"description": "An example CSS custom property.",
|
|
11961
|
+
"name": "--example"
|
|
11962
|
+
}
|
|
11963
|
+
],
|
|
11964
|
+
"cssParts": [
|
|
11965
|
+
{
|
|
11966
|
+
"description": "The component's base wrapper.",
|
|
11967
|
+
"name": "base"
|
|
11968
|
+
}
|
|
11969
|
+
],
|
|
11970
|
+
"slots": [
|
|
11971
|
+
{
|
|
11972
|
+
"description": "The default slot.",
|
|
11973
|
+
"name": ""
|
|
11974
|
+
},
|
|
11975
|
+
{
|
|
11976
|
+
"description": "An example slot.",
|
|
11977
|
+
"name": "example"
|
|
11978
|
+
}
|
|
11979
|
+
],
|
|
11980
|
+
"members": [
|
|
11981
|
+
{
|
|
11982
|
+
"kind": "field",
|
|
11983
|
+
"name": "popup",
|
|
11984
|
+
"type": {
|
|
11985
|
+
"text": "ZnPopup"
|
|
11986
|
+
}
|
|
11987
|
+
},
|
|
11988
|
+
{
|
|
11989
|
+
"kind": "field",
|
|
11990
|
+
"name": "trigger",
|
|
11991
|
+
"type": {
|
|
11992
|
+
"text": "HTMLSlotElement"
|
|
11993
|
+
}
|
|
11994
|
+
},
|
|
11995
|
+
{
|
|
11996
|
+
"kind": "field",
|
|
11997
|
+
"name": "panel",
|
|
11998
|
+
"type": {
|
|
11999
|
+
"text": "HTMLSlotElement"
|
|
12000
|
+
}
|
|
12001
|
+
},
|
|
12002
|
+
{
|
|
12003
|
+
"kind": "field",
|
|
12004
|
+
"name": "closeWatcher",
|
|
12005
|
+
"type": {
|
|
12006
|
+
"text": "CloseWatcher | null"
|
|
12007
|
+
},
|
|
12008
|
+
"privacy": "private"
|
|
12009
|
+
},
|
|
12010
|
+
{
|
|
12011
|
+
"kind": "field",
|
|
12012
|
+
"name": "open",
|
|
12013
|
+
"type": {
|
|
12014
|
+
"text": "boolean"
|
|
12015
|
+
},
|
|
12016
|
+
"default": "false",
|
|
12017
|
+
"description": "Indicates whether the dropdown is open",
|
|
12018
|
+
"attribute": "open",
|
|
12019
|
+
"reflects": true
|
|
12020
|
+
},
|
|
12021
|
+
{
|
|
12022
|
+
"kind": "field",
|
|
12023
|
+
"name": "placement",
|
|
12024
|
+
"type": {
|
|
12025
|
+
"text": "'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' |\n 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end'"
|
|
12026
|
+
},
|
|
12027
|
+
"default": "'bottom-start'",
|
|
12028
|
+
"description": "The placement of the dropdown. Note the actual placement may vary based on the available space",
|
|
12029
|
+
"attribute": "placement",
|
|
12030
|
+
"reflects": true
|
|
12031
|
+
},
|
|
12032
|
+
{
|
|
12033
|
+
"kind": "field",
|
|
12034
|
+
"name": "disabled",
|
|
12035
|
+
"type": {
|
|
12036
|
+
"text": "boolean"
|
|
12037
|
+
},
|
|
12038
|
+
"default": "false",
|
|
12039
|
+
"description": "Disable the dropdown",
|
|
12040
|
+
"attribute": "disabled",
|
|
12041
|
+
"reflects": true
|
|
12042
|
+
},
|
|
12043
|
+
{
|
|
12044
|
+
"kind": "field",
|
|
12045
|
+
"name": "stayOpenOnSelect",
|
|
12046
|
+
"type": {
|
|
12047
|
+
"text": "boolean"
|
|
12048
|
+
},
|
|
12049
|
+
"default": "false",
|
|
12050
|
+
"description": "By default, the dropdown will close when an item is selected. Set this to true to keep the dropdown open",
|
|
12051
|
+
"attribute": "stay-open-on-select",
|
|
12052
|
+
"reflects": true
|
|
12053
|
+
},
|
|
12054
|
+
{
|
|
12055
|
+
"kind": "field",
|
|
12056
|
+
"name": "containingElement",
|
|
12057
|
+
"type": {
|
|
12058
|
+
"text": "HTMLElement | undefined"
|
|
12059
|
+
},
|
|
12060
|
+
"description": "The dropdown will close when the user interacts outside the element*"
|
|
12061
|
+
},
|
|
12062
|
+
{
|
|
12063
|
+
"kind": "field",
|
|
12064
|
+
"name": "distance",
|
|
12065
|
+
"type": {
|
|
12066
|
+
"text": "number"
|
|
12067
|
+
},
|
|
12068
|
+
"default": "0",
|
|
12069
|
+
"description": "The distance in pixels from which to offset the panel away from the trigger",
|
|
12070
|
+
"attribute": "distance"
|
|
12071
|
+
},
|
|
12072
|
+
{
|
|
12073
|
+
"kind": "field",
|
|
12074
|
+
"name": "skidding",
|
|
12075
|
+
"type": {
|
|
12076
|
+
"text": "number"
|
|
12077
|
+
},
|
|
12078
|
+
"default": "0",
|
|
12079
|
+
"description": "The distance in pixels from which to offset the panel away from the trigger",
|
|
12080
|
+
"attribute": "skidding"
|
|
12081
|
+
},
|
|
12082
|
+
{
|
|
12083
|
+
"kind": "field",
|
|
12084
|
+
"name": "hoist",
|
|
12085
|
+
"type": {
|
|
12086
|
+
"text": "boolean"
|
|
12087
|
+
},
|
|
12088
|
+
"default": "true",
|
|
12089
|
+
"description": "Enable this option if the parent is overflow hidden and the dropdown is not visible",
|
|
12090
|
+
"attribute": "hoist"
|
|
12091
|
+
},
|
|
12092
|
+
{
|
|
12093
|
+
"kind": "field",
|
|
12094
|
+
"name": "sync",
|
|
12095
|
+
"type": {
|
|
12096
|
+
"text": "'width' | 'height' | 'both' | undefined"
|
|
12097
|
+
},
|
|
12098
|
+
"default": "undefined",
|
|
12099
|
+
"description": "Syncs the popup width or height with the trigger element",
|
|
12100
|
+
"attribute": "sync",
|
|
12101
|
+
"reflects": true
|
|
12102
|
+
},
|
|
12103
|
+
{
|
|
12104
|
+
"kind": "field",
|
|
12105
|
+
"name": "uri",
|
|
12106
|
+
"type": {
|
|
12107
|
+
"text": "string"
|
|
12108
|
+
},
|
|
12109
|
+
"attribute": "uri"
|
|
12110
|
+
},
|
|
12111
|
+
{
|
|
12112
|
+
"kind": "field",
|
|
12113
|
+
"name": "fetchedContent",
|
|
12114
|
+
"type": {
|
|
12115
|
+
"text": "string"
|
|
12116
|
+
},
|
|
12117
|
+
"default": "''",
|
|
12118
|
+
"attribute": "fetchedContent"
|
|
12119
|
+
},
|
|
12120
|
+
{
|
|
12121
|
+
"kind": "method",
|
|
12122
|
+
"name": "focusOnTrigger",
|
|
12123
|
+
"privacy": "public"
|
|
12124
|
+
},
|
|
12125
|
+
{
|
|
12126
|
+
"kind": "method",
|
|
12127
|
+
"name": "getMenu",
|
|
12128
|
+
"privacy": "private"
|
|
12129
|
+
},
|
|
12130
|
+
{
|
|
12131
|
+
"kind": "method",
|
|
12132
|
+
"name": "addOpenListeners",
|
|
12133
|
+
"privacy": "private"
|
|
12134
|
+
},
|
|
12135
|
+
{
|
|
12136
|
+
"kind": "method",
|
|
12137
|
+
"name": "removeOpenListeners",
|
|
12138
|
+
"privacy": "private"
|
|
12139
|
+
},
|
|
12140
|
+
{
|
|
12141
|
+
"kind": "field",
|
|
12142
|
+
"name": "handlePanelSelect",
|
|
12143
|
+
"description": "Events"
|
|
12144
|
+
},
|
|
12145
|
+
{
|
|
12146
|
+
"kind": "method",
|
|
12147
|
+
"name": "preloadContent",
|
|
12148
|
+
"privacy": "private"
|
|
12149
|
+
},
|
|
12150
|
+
{
|
|
12151
|
+
"kind": "field",
|
|
12152
|
+
"name": "handlePreload",
|
|
12153
|
+
"privacy": "private"
|
|
12154
|
+
},
|
|
12155
|
+
{
|
|
12156
|
+
"kind": "method",
|
|
12157
|
+
"name": "handleTriggerClick"
|
|
12158
|
+
},
|
|
12159
|
+
{
|
|
12160
|
+
"kind": "method",
|
|
12161
|
+
"name": "handleKeyDown",
|
|
12162
|
+
"parameters": [
|
|
12163
|
+
{
|
|
12164
|
+
"name": "event",
|
|
12165
|
+
"type": {
|
|
12166
|
+
"text": "KeyboardEvent"
|
|
12167
|
+
}
|
|
12168
|
+
}
|
|
12169
|
+
]
|
|
12170
|
+
},
|
|
12171
|
+
{
|
|
12172
|
+
"kind": "method",
|
|
12173
|
+
"name": "handleTriggerKeyDown",
|
|
12174
|
+
"privacy": "private",
|
|
12175
|
+
"parameters": [
|
|
12176
|
+
{
|
|
12177
|
+
"name": "event",
|
|
12178
|
+
"type": {
|
|
12179
|
+
"text": "KeyboardEvent"
|
|
12180
|
+
}
|
|
12181
|
+
}
|
|
12182
|
+
]
|
|
12183
|
+
},
|
|
12184
|
+
{
|
|
12185
|
+
"kind": "method",
|
|
12186
|
+
"name": "handleTriggerKeyUp",
|
|
12187
|
+
"privacy": "private",
|
|
12188
|
+
"parameters": [
|
|
12189
|
+
{
|
|
12190
|
+
"name": "event",
|
|
12191
|
+
"type": {
|
|
12192
|
+
"text": "KeyboardEvent"
|
|
12193
|
+
}
|
|
12194
|
+
}
|
|
12195
|
+
]
|
|
12196
|
+
},
|
|
12197
|
+
{
|
|
12198
|
+
"kind": "method",
|
|
12199
|
+
"name": "handleTriggerSlotChange",
|
|
12200
|
+
"privacy": "private"
|
|
12201
|
+
},
|
|
12202
|
+
{
|
|
12203
|
+
"kind": "method",
|
|
12204
|
+
"name": "handleDocumentMouseDown",
|
|
12205
|
+
"privacy": "private",
|
|
12206
|
+
"parameters": [
|
|
12207
|
+
{
|
|
12208
|
+
"name": "event",
|
|
12209
|
+
"type": {
|
|
12210
|
+
"text": "MouseEvent"
|
|
12211
|
+
}
|
|
12212
|
+
}
|
|
12213
|
+
]
|
|
12214
|
+
},
|
|
12215
|
+
{
|
|
12216
|
+
"kind": "method",
|
|
12217
|
+
"name": "handleDocumentKeyDown",
|
|
12218
|
+
"parameters": [
|
|
12219
|
+
{
|
|
12220
|
+
"name": "event",
|
|
12221
|
+
"type": {
|
|
12222
|
+
"text": "KeyboardEvent"
|
|
12223
|
+
}
|
|
12224
|
+
}
|
|
12225
|
+
]
|
|
12226
|
+
},
|
|
12227
|
+
{
|
|
12228
|
+
"kind": "method",
|
|
12229
|
+
"name": "show",
|
|
12230
|
+
"description": "Opens the dropdown"
|
|
12231
|
+
},
|
|
12232
|
+
{
|
|
12233
|
+
"kind": "method",
|
|
12234
|
+
"name": "hide",
|
|
12235
|
+
"description": "Closes the dropdown"
|
|
12236
|
+
},
|
|
12237
|
+
{
|
|
12238
|
+
"kind": "method",
|
|
12239
|
+
"name": "reposition",
|
|
12240
|
+
"description": "Instructs the dropdown to reposition itself"
|
|
12241
|
+
},
|
|
12242
|
+
{
|
|
12243
|
+
"kind": "method",
|
|
12244
|
+
"name": "updateAccessibleTrigger",
|
|
12245
|
+
"privacy": "private",
|
|
12246
|
+
"description": "Aria related method"
|
|
12247
|
+
},
|
|
12248
|
+
{
|
|
12249
|
+
"kind": "method",
|
|
12250
|
+
"name": "handleOpenChange"
|
|
12251
|
+
}
|
|
12252
|
+
],
|
|
12253
|
+
"events": [
|
|
12254
|
+
{
|
|
12255
|
+
"description": "Emitted as an example.",
|
|
12256
|
+
"name": "zn-event-name"
|
|
12257
|
+
}
|
|
12258
|
+
],
|
|
12259
|
+
"attributes": [
|
|
12260
|
+
{
|
|
12261
|
+
"name": "open",
|
|
12262
|
+
"type": {
|
|
12263
|
+
"text": "boolean"
|
|
12264
|
+
},
|
|
12265
|
+
"default": "false",
|
|
12266
|
+
"description": "Indicates whether the dropdown is open",
|
|
12267
|
+
"fieldName": "open"
|
|
12268
|
+
},
|
|
12269
|
+
{
|
|
12270
|
+
"name": "placement",
|
|
12271
|
+
"type": {
|
|
12272
|
+
"text": "'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' |\n 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end'"
|
|
12273
|
+
},
|
|
12274
|
+
"default": "'bottom-start'",
|
|
12275
|
+
"description": "The placement of the dropdown. Note the actual placement may vary based on the available space",
|
|
12276
|
+
"fieldName": "placement"
|
|
12277
|
+
},
|
|
12278
|
+
{
|
|
12279
|
+
"name": "disabled",
|
|
12280
|
+
"type": {
|
|
12281
|
+
"text": "boolean"
|
|
12282
|
+
},
|
|
12283
|
+
"default": "false",
|
|
12284
|
+
"description": "Disable the dropdown",
|
|
12285
|
+
"fieldName": "disabled"
|
|
12286
|
+
},
|
|
12287
|
+
{
|
|
12288
|
+
"name": "stay-open-on-select",
|
|
12289
|
+
"type": {
|
|
12290
|
+
"text": "boolean"
|
|
12291
|
+
},
|
|
12292
|
+
"default": "false",
|
|
12293
|
+
"description": "By default, the dropdown will close when an item is selected. Set this to true to keep the dropdown open",
|
|
12294
|
+
"fieldName": "stayOpenOnSelect"
|
|
12295
|
+
},
|
|
12296
|
+
{
|
|
12297
|
+
"name": "distance",
|
|
12298
|
+
"type": {
|
|
12299
|
+
"text": "number"
|
|
12300
|
+
},
|
|
12301
|
+
"default": "0",
|
|
12302
|
+
"description": "The distance in pixels from which to offset the panel away from the trigger",
|
|
12303
|
+
"fieldName": "distance"
|
|
12304
|
+
},
|
|
12305
|
+
{
|
|
12306
|
+
"name": "skidding",
|
|
12307
|
+
"type": {
|
|
12308
|
+
"text": "number"
|
|
12309
|
+
},
|
|
12310
|
+
"default": "0",
|
|
12311
|
+
"description": "The distance in pixels from which to offset the panel away from the trigger",
|
|
12312
|
+
"fieldName": "skidding"
|
|
12313
|
+
},
|
|
12314
|
+
{
|
|
12315
|
+
"name": "hoist",
|
|
12316
|
+
"type": {
|
|
12317
|
+
"text": "boolean"
|
|
12318
|
+
},
|
|
12319
|
+
"default": "true",
|
|
12320
|
+
"description": "Enable this option if the parent is overflow hidden and the dropdown is not visible",
|
|
12321
|
+
"fieldName": "hoist"
|
|
12322
|
+
},
|
|
12323
|
+
{
|
|
12324
|
+
"name": "sync",
|
|
12325
|
+
"type": {
|
|
12326
|
+
"text": "'width' | 'height' | 'both' | undefined"
|
|
12327
|
+
},
|
|
12328
|
+
"default": "undefined",
|
|
12329
|
+
"description": "Syncs the popup width or height with the trigger element",
|
|
12330
|
+
"fieldName": "sync"
|
|
12331
|
+
},
|
|
12332
|
+
{
|
|
12333
|
+
"name": "uri",
|
|
12334
|
+
"type": {
|
|
12335
|
+
"text": "string"
|
|
12336
|
+
},
|
|
12337
|
+
"fieldName": "uri"
|
|
12338
|
+
},
|
|
12339
|
+
{
|
|
12340
|
+
"name": "fetchedContent",
|
|
12341
|
+
"type": {
|
|
12342
|
+
"text": "string"
|
|
12343
|
+
},
|
|
12344
|
+
"default": "''",
|
|
12345
|
+
"fieldName": "fetchedContent"
|
|
12346
|
+
}
|
|
12347
|
+
],
|
|
12348
|
+
"superclass": {
|
|
12349
|
+
"name": "ZincElement",
|
|
12350
|
+
"module": "/src/internal/zinc-element"
|
|
12351
|
+
},
|
|
12352
|
+
"summary": "Short summary of the component's intended use.",
|
|
12353
|
+
"tagNameWithoutPrefix": "dropdown",
|
|
12354
|
+
"tagName": "zn-dropdown",
|
|
12355
|
+
"customElement": true,
|
|
12356
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/dropdown\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
12357
|
+
"documentation": "https://zinc.style/components/dropdown",
|
|
12358
|
+
"status": "experimental",
|
|
12359
|
+
"since": "1.0",
|
|
12360
|
+
"dependencies": [
|
|
12361
|
+
"zn-example"
|
|
12362
|
+
]
|
|
12363
|
+
}
|
|
12364
|
+
],
|
|
12365
|
+
"exports": [
|
|
12366
|
+
{
|
|
12367
|
+
"kind": "js",
|
|
12368
|
+
"name": "default",
|
|
12369
|
+
"declaration": {
|
|
12370
|
+
"name": "ZnDropdown",
|
|
12371
|
+
"module": "components/dropdown/dropdown.js"
|
|
12372
|
+
}
|
|
12373
|
+
}
|
|
12374
|
+
]
|
|
12375
|
+
},
|
|
12376
12376
|
{
|
|
12377
12377
|
"kind": "javascript-module",
|
|
12378
12378
|
"path": "components/empty-state/empty-state.js",
|
|
@@ -45871,7 +45871,7 @@
|
|
|
45871
45871
|
"package": {
|
|
45872
45872
|
"name": "@kubex/zinc",
|
|
45873
45873
|
"description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
|
|
45874
|
-
"version": "1.1.
|
|
45874
|
+
"version": "1.1.89",
|
|
45875
45875
|
"author": "",
|
|
45876
45876
|
"license": "MIT"
|
|
45877
45877
|
}
|