@lmvz-ds/components 0.20.0 → 0.22.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.
- package/CHANGELOG.md +12 -0
- package/assets/icons/close-sm.svg +3 -0
- package/cjs/{component-Csg9MtNK.js → component-C7cavwmZ.js} +3 -0
- package/cjs/{index-C2yDXRqP.js → index-lW-SEvL7.js} +67 -3
- package/cjs/lmvz-action.cjs.entry.js +2 -2
- package/cjs/{lmvz-button.cjs.entry.js → lmvz-button_2.cjs.entry.js} +139 -14
- package/cjs/lmvz-card.cjs.entry.js +2 -2
- package/cjs/lmvz-checkbox.cjs.entry.js +3 -3
- package/cjs/lmvz-chip.cjs.entry.js +4 -4
- package/cjs/lmvz-components.cjs.js +2 -2
- package/cjs/lmvz-header_2.cjs.entry.js +3 -3
- package/cjs/lmvz-input.cjs.entry.js +4 -4
- package/cjs/lmvz-menuitem.cjs.entry.js +3 -3
- package/cjs/lmvz-modal.cjs.entry.js +349 -0
- package/cjs/lmvz-select.cjs.entry.js +4 -4
- package/cjs/lmvz-toggle.cjs.entry.js +96 -0
- package/cjs/loader.cjs.js +2 -2
- package/cjs/{reactive-controller-host-BA4ZhjKA.js → reactive-controller-host-DnSTWHCF.js} +1 -1
- package/collection/assets/icons/close-sm.svg +3 -0
- package/collection/collection-manifest.json +2 -0
- package/collection/components/lmvz-button/lmvz-button.js +98 -10
- package/collection/components/lmvz-chip/lmvz-chip.js +2 -2
- package/collection/components/lmvz-modal/lmvz-modal.css +120 -0
- package/collection/components/lmvz-modal/lmvz-modal.js +448 -0
- package/collection/components/lmvz-select/lmvz-select.js +1 -1
- package/collection/components/lmvz-toggle/lmvz-toggle.css +118 -0
- package/collection/components/lmvz-toggle/lmvz-toggle.js +358 -0
- package/collection/integration/header-integration/header-integration.js +1 -1
- package/components/index.d.ts +4 -0
- package/components/index.d.ts.bak +4 -0
- package/components/index.js +1 -1
- package/components/lmvz-action.js +1 -1
- package/components/lmvz-button.js +1 -1
- package/components/lmvz-card.js +1 -1
- package/components/lmvz-checkbox.js +1 -1
- package/components/lmvz-chip.js +1 -1
- package/components/lmvz-header.js +1 -1
- package/components/lmvz-icon.js +1 -1
- package/components/lmvz-input.js +1 -1
- package/components/lmvz-menuitem.js +1 -1
- package/components/lmvz-modal.d.ts +11 -0
- package/components/lmvz-modal.d.ts.bak +11 -0
- package/components/lmvz-modal.js +1 -0
- package/components/lmvz-select.js +1 -1
- package/components/lmvz-toggle.d.ts +11 -0
- package/components/lmvz-toggle.d.ts.bak +11 -0
- package/components/lmvz-toggle.js +1 -0
- package/components/p-Boj0PCdB.js +1 -0
- package/components/p-CK8cAKcB.js +1 -0
- package/components/p-Cc6dOWwS.js +1 -0
- package/components/{p-BuFx0tTm.js → p-DBc1BzQb.js} +1 -1
- package/components/p-DOTK1OW3.js +1 -0
- package/esm/{component-DIrAQ4IB.js → component-DOTK1OW3.js} +3 -0
- package/esm/{index-saW7O-EW.js → index-Aa_425iY.js} +67 -3
- package/esm/lmvz-action.entry.js +2 -2
- package/esm/{lmvz-button.entry.js → lmvz-button_2.entry.js} +139 -15
- package/esm/lmvz-card.entry.js +2 -2
- package/esm/lmvz-checkbox.entry.js +3 -3
- package/esm/lmvz-chip.entry.js +4 -4
- package/esm/lmvz-components.js +3 -3
- package/esm/lmvz-header_2.entry.js +3 -3
- package/esm/lmvz-input.entry.js +4 -4
- package/esm/lmvz-menuitem.entry.js +3 -3
- package/esm/lmvz-modal.entry.js +347 -0
- package/esm/lmvz-select.entry.js +4 -4
- package/esm/lmvz-toggle.entry.js +94 -0
- package/esm/loader.js +3 -3
- package/esm/{reactive-controller-host-DHcPpJW7.js → reactive-controller-host-lF2kXM1x.js} +1 -1
- package/hydrate/index.js +559 -24
- package/hydrate/index.mjs +559 -24
- package/lmvz-components/lmvz-components.esm.js +1 -1
- package/lmvz-components/p-08a08b63.entry.js +1 -0
- package/lmvz-components/p-1b181e90.entry.js +1 -0
- package/lmvz-components/p-23fb2476.entry.js +1 -0
- package/lmvz-components/p-3846ba08.entry.js +1 -0
- package/lmvz-components/p-6bb145e4.entry.js +1 -0
- package/lmvz-components/{p-2f83d7a2.entry.js → p-7a310b1e.entry.js} +1 -1
- package/lmvz-components/p-Aa_425iY.js +2 -0
- package/lmvz-components/{p-GdMr6Qlp.js → p-DCTzMRMQ.js} +1 -1
- package/lmvz-components/p-DOTK1OW3.js +1 -0
- package/lmvz-components/p-b7940687.entry.js +1 -0
- package/lmvz-components/p-d984e118.entry.js +1 -0
- package/lmvz-components/p-db8306a5.entry.js +1 -0
- package/lmvz-components/p-ea335543.entry.js +1 -0
- package/lmvz-components/p-f8ea0eb2.entry.js +1 -0
- package/manifest.json +599 -5
- package/package.json +9 -1
- package/types/api/index.d.ts +6 -0
- package/types/components/lmvz-button/lmvz-button.d.ts +4 -0
- package/types/components/lmvz-modal/lmvz-modal.d.ts +58 -0
- package/types/components/lmvz-toggle/lmvz-toggle.d.ts +31 -0
- package/types/components.d.ts +196 -0
- package/cjs/lmvz-icon.cjs.entry.js +0 -100
- package/components/p-C_bScbrd.js +0 -1
- package/components/p-DIrAQ4IB.js +0 -1
- package/esm/lmvz-icon.entry.js +0 -98
- package/lmvz-components/p-0f7a4236.entry.js +0 -1
- package/lmvz-components/p-32171f4f.entry.js +0 -1
- package/lmvz-components/p-400b2318.entry.js +0 -1
- package/lmvz-components/p-43e295ba.entry.js +0 -1
- package/lmvz-components/p-851969bd.entry.js +0 -1
- package/lmvz-components/p-9f9d845d.entry.js +0 -1
- package/lmvz-components/p-DIrAQ4IB.js +0 -1
- package/lmvz-components/p-a12f95da.entry.js +0 -1
- package/lmvz-components/p-ab4437dc.entry.js +0 -1
- package/lmvz-components/p-d0a0e206.entry.js +0 -1
- package/lmvz-components/p-saW7O-EW.js +0 -2
package/manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-05-
|
|
2
|
+
"timestamp": "2026-05-22T15:20:34",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.43.4",
|
|
@@ -172,6 +172,67 @@
|
|
|
172
172
|
"getter": false,
|
|
173
173
|
"setter": false
|
|
174
174
|
},
|
|
175
|
+
{
|
|
176
|
+
"name": "formMethod",
|
|
177
|
+
"type": "\"dialog\" | \"get\" | \"post\" | undefined",
|
|
178
|
+
"complexType": {
|
|
179
|
+
"original": "'dialog' | 'get' | 'post'",
|
|
180
|
+
"resolved": "\"dialog\" | \"get\" | \"post\" | undefined",
|
|
181
|
+
"references": {}
|
|
182
|
+
},
|
|
183
|
+
"mutable": false,
|
|
184
|
+
"attr": "form-method",
|
|
185
|
+
"reflectToAttr": false,
|
|
186
|
+
"docs": "Native formmethod value forwarded to the hidden native submit button.\nUse `dialog` to support native dialog close/confirm flows from `lmvz-button`.",
|
|
187
|
+
"docsTags": [],
|
|
188
|
+
"values": [
|
|
189
|
+
{
|
|
190
|
+
"value": "dialog",
|
|
191
|
+
"type": "string"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"value": "get",
|
|
195
|
+
"type": "string"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"value": "post",
|
|
199
|
+
"type": "string"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"type": "undefined"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"optional": true,
|
|
206
|
+
"required": false,
|
|
207
|
+
"getter": false,
|
|
208
|
+
"setter": false
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "name",
|
|
212
|
+
"type": "string | undefined",
|
|
213
|
+
"complexType": {
|
|
214
|
+
"original": "string",
|
|
215
|
+
"resolved": "string | undefined",
|
|
216
|
+
"references": {}
|
|
217
|
+
},
|
|
218
|
+
"mutable": false,
|
|
219
|
+
"attr": "name",
|
|
220
|
+
"reflectToAttr": false,
|
|
221
|
+
"docs": "Native button name forwarded to the hidden native submit button.",
|
|
222
|
+
"docsTags": [],
|
|
223
|
+
"values": [
|
|
224
|
+
{
|
|
225
|
+
"type": "string"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"type": "undefined"
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
"optional": true,
|
|
232
|
+
"required": false,
|
|
233
|
+
"getter": false,
|
|
234
|
+
"setter": false
|
|
235
|
+
},
|
|
175
236
|
{
|
|
176
237
|
"name": "scale",
|
|
177
238
|
"type": "\"default\" | \"large\" | \"small\"",
|
|
@@ -284,6 +345,32 @@
|
|
|
284
345
|
"getter": false,
|
|
285
346
|
"setter": false
|
|
286
347
|
},
|
|
348
|
+
{
|
|
349
|
+
"name": "value",
|
|
350
|
+
"type": "string | undefined",
|
|
351
|
+
"complexType": {
|
|
352
|
+
"original": "string",
|
|
353
|
+
"resolved": "string | undefined",
|
|
354
|
+
"references": {}
|
|
355
|
+
},
|
|
356
|
+
"mutable": false,
|
|
357
|
+
"attr": "value",
|
|
358
|
+
"reflectToAttr": false,
|
|
359
|
+
"docs": "Native button value forwarded to the hidden native submit button.\nFor `formmethod=\"dialog\"` flows this becomes the dialog `returnValue`.",
|
|
360
|
+
"docsTags": [],
|
|
361
|
+
"values": [
|
|
362
|
+
{
|
|
363
|
+
"type": "string"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"type": "undefined"
|
|
367
|
+
}
|
|
368
|
+
],
|
|
369
|
+
"optional": true,
|
|
370
|
+
"required": false,
|
|
371
|
+
"getter": false,
|
|
372
|
+
"setter": false
|
|
373
|
+
},
|
|
287
374
|
{
|
|
288
375
|
"name": "variant",
|
|
289
376
|
"type": "\"primary\" | \"secondary\" | \"tertiary\"",
|
|
@@ -357,9 +444,15 @@
|
|
|
357
444
|
],
|
|
358
445
|
"parts": [],
|
|
359
446
|
"states": [],
|
|
360
|
-
"dependents": [
|
|
447
|
+
"dependents": [
|
|
448
|
+
"lmvz-modal"
|
|
449
|
+
],
|
|
361
450
|
"dependencies": [],
|
|
362
|
-
"dependencyGraph": {
|
|
451
|
+
"dependencyGraph": {
|
|
452
|
+
"lmvz-modal": [
|
|
453
|
+
"lmvz-button"
|
|
454
|
+
]
|
|
455
|
+
}
|
|
363
456
|
},
|
|
364
457
|
{
|
|
365
458
|
"filePath": "src/components/lmvz-card/lmvz-card.tsx",
|
|
@@ -1391,9 +1484,15 @@
|
|
|
1391
1484
|
"slots": [],
|
|
1392
1485
|
"parts": [],
|
|
1393
1486
|
"states": [],
|
|
1394
|
-
"dependents": [
|
|
1487
|
+
"dependents": [
|
|
1488
|
+
"lmvz-modal"
|
|
1489
|
+
],
|
|
1395
1490
|
"dependencies": [],
|
|
1396
|
-
"dependencyGraph": {
|
|
1491
|
+
"dependencyGraph": {
|
|
1492
|
+
"lmvz-modal": [
|
|
1493
|
+
"lmvz-icon"
|
|
1494
|
+
]
|
|
1495
|
+
}
|
|
1397
1496
|
},
|
|
1398
1497
|
{
|
|
1399
1498
|
"filePath": "src/components/lmvz-input/lmvz-input.tsx",
|
|
@@ -5532,6 +5631,154 @@
|
|
|
5532
5631
|
"dependencies": [],
|
|
5533
5632
|
"dependencyGraph": {}
|
|
5534
5633
|
},
|
|
5634
|
+
{
|
|
5635
|
+
"filePath": "src/components/lmvz-modal/lmvz-modal.tsx",
|
|
5636
|
+
"encapsulation": "shadow",
|
|
5637
|
+
"tag": "lmvz-modal",
|
|
5638
|
+
"readme": "# lmvz-modal\n\n\n",
|
|
5639
|
+
"docs": "Native dialog-backed modal with inline `header`, body, and `actions` regions.\n\nThe implementation intentionally ignores Figma preview container sizes and instead sizes against the viewport plus LMVZ spacing tokens.",
|
|
5640
|
+
"docsTags": [
|
|
5641
|
+
{
|
|
5642
|
+
"name": "slot",
|
|
5643
|
+
"text": "header - Optional header content used as the dialog's accessible name when present."
|
|
5644
|
+
},
|
|
5645
|
+
{
|
|
5646
|
+
"name": "slot",
|
|
5647
|
+
"text": "default - Modal body content."
|
|
5648
|
+
},
|
|
5649
|
+
{
|
|
5650
|
+
"name": "slot",
|
|
5651
|
+
"text": "actions - Modal actions. Only direct `lmvz-button` children are allowed."
|
|
5652
|
+
}
|
|
5653
|
+
],
|
|
5654
|
+
"usage": {},
|
|
5655
|
+
"props": [
|
|
5656
|
+
{
|
|
5657
|
+
"name": "closeLabel",
|
|
5658
|
+
"type": "string",
|
|
5659
|
+
"complexType": {
|
|
5660
|
+
"original": "string",
|
|
5661
|
+
"resolved": "string",
|
|
5662
|
+
"references": {}
|
|
5663
|
+
},
|
|
5664
|
+
"mutable": false,
|
|
5665
|
+
"attr": "close-label",
|
|
5666
|
+
"reflectToAttr": false,
|
|
5667
|
+
"docs": "Accessible label for the internal close button.",
|
|
5668
|
+
"docsTags": [
|
|
5669
|
+
{
|
|
5670
|
+
"name": "default",
|
|
5671
|
+
"text": "'Schliessen'"
|
|
5672
|
+
}
|
|
5673
|
+
],
|
|
5674
|
+
"default": "'Schliessen'",
|
|
5675
|
+
"values": [
|
|
5676
|
+
{
|
|
5677
|
+
"type": "string"
|
|
5678
|
+
}
|
|
5679
|
+
],
|
|
5680
|
+
"optional": false,
|
|
5681
|
+
"required": false,
|
|
5682
|
+
"getter": false,
|
|
5683
|
+
"setter": false
|
|
5684
|
+
},
|
|
5685
|
+
{
|
|
5686
|
+
"name": "open",
|
|
5687
|
+
"type": "boolean",
|
|
5688
|
+
"complexType": {
|
|
5689
|
+
"original": "boolean",
|
|
5690
|
+
"resolved": "boolean",
|
|
5691
|
+
"references": {}
|
|
5692
|
+
},
|
|
5693
|
+
"mutable": true,
|
|
5694
|
+
"attr": "open",
|
|
5695
|
+
"reflectToAttr": true,
|
|
5696
|
+
"docs": "Controls the native dialog visibility.",
|
|
5697
|
+
"docsTags": [
|
|
5698
|
+
{
|
|
5699
|
+
"name": "default",
|
|
5700
|
+
"text": "false"
|
|
5701
|
+
}
|
|
5702
|
+
],
|
|
5703
|
+
"default": "false",
|
|
5704
|
+
"values": [
|
|
5705
|
+
{
|
|
5706
|
+
"type": "boolean"
|
|
5707
|
+
}
|
|
5708
|
+
],
|
|
5709
|
+
"optional": false,
|
|
5710
|
+
"required": false,
|
|
5711
|
+
"getter": false,
|
|
5712
|
+
"setter": false
|
|
5713
|
+
}
|
|
5714
|
+
],
|
|
5715
|
+
"methods": [],
|
|
5716
|
+
"events": [
|
|
5717
|
+
{
|
|
5718
|
+
"event": "cancel",
|
|
5719
|
+
"detail": "void",
|
|
5720
|
+
"bubbles": false,
|
|
5721
|
+
"complexType": {
|
|
5722
|
+
"original": "void",
|
|
5723
|
+
"resolved": "void",
|
|
5724
|
+
"references": {}
|
|
5725
|
+
},
|
|
5726
|
+
"cancelable": true,
|
|
5727
|
+
"composed": false,
|
|
5728
|
+
"docs": "Re-emitted from the host whenever the native dialog receives a `cancel` event (e.g. Escape key).\nCall `event.preventDefault()` to keep the dialog open.",
|
|
5729
|
+
"docsTags": []
|
|
5730
|
+
},
|
|
5731
|
+
{
|
|
5732
|
+
"event": "close",
|
|
5733
|
+
"detail": "void",
|
|
5734
|
+
"bubbles": true,
|
|
5735
|
+
"complexType": {
|
|
5736
|
+
"original": "void",
|
|
5737
|
+
"resolved": "void",
|
|
5738
|
+
"references": {}
|
|
5739
|
+
},
|
|
5740
|
+
"cancelable": false,
|
|
5741
|
+
"composed": true,
|
|
5742
|
+
"docs": "Re-emitted from the host whenever the native dialog closes so framework wrappers can synchronize bound state.",
|
|
5743
|
+
"docsTags": []
|
|
5744
|
+
}
|
|
5745
|
+
],
|
|
5746
|
+
"listeners": [
|
|
5747
|
+
{
|
|
5748
|
+
"event": "submit",
|
|
5749
|
+
"capture": false,
|
|
5750
|
+
"passive": false
|
|
5751
|
+
}
|
|
5752
|
+
],
|
|
5753
|
+
"styles": [],
|
|
5754
|
+
"slots": [
|
|
5755
|
+
{
|
|
5756
|
+
"name": "actions",
|
|
5757
|
+
"docs": "Modal actions. Only direct `lmvz-button` children are allowed."
|
|
5758
|
+
},
|
|
5759
|
+
{
|
|
5760
|
+
"name": "default",
|
|
5761
|
+
"docs": "Modal body content."
|
|
5762
|
+
},
|
|
5763
|
+
{
|
|
5764
|
+
"name": "header",
|
|
5765
|
+
"docs": "Optional header content used as the dialog's accessible name when present."
|
|
5766
|
+
}
|
|
5767
|
+
],
|
|
5768
|
+
"parts": [],
|
|
5769
|
+
"states": [],
|
|
5770
|
+
"dependents": [],
|
|
5771
|
+
"dependencies": [
|
|
5772
|
+
"lmvz-button",
|
|
5773
|
+
"lmvz-icon"
|
|
5774
|
+
],
|
|
5775
|
+
"dependencyGraph": {
|
|
5776
|
+
"lmvz-modal": [
|
|
5777
|
+
"lmvz-button",
|
|
5778
|
+
"lmvz-icon"
|
|
5779
|
+
]
|
|
5780
|
+
}
|
|
5781
|
+
},
|
|
5535
5782
|
{
|
|
5536
5783
|
"filePath": "src/components/lmvz-select/lmvz-select.tsx",
|
|
5537
5784
|
"encapsulation": "scoped",
|
|
@@ -5744,6 +5991,353 @@
|
|
|
5744
5991
|
"dependents": [],
|
|
5745
5992
|
"dependencies": [],
|
|
5746
5993
|
"dependencyGraph": {}
|
|
5994
|
+
},
|
|
5995
|
+
{
|
|
5996
|
+
"filePath": "src/components/lmvz-toggle/lmvz-toggle.tsx",
|
|
5997
|
+
"encapsulation": "scoped",
|
|
5998
|
+
"tag": "lmvz-toggle",
|
|
5999
|
+
"readme": "# lmvz-toggle\n\n\n",
|
|
6000
|
+
"docs": "Toggle (switch) component. Wraps a native `<input type=\"checkbox\" role=\"switch\">` for full keyboard and form support.",
|
|
6001
|
+
"docsTags": [
|
|
6002
|
+
{
|
|
6003
|
+
"name": "example",
|
|
6004
|
+
"text": "```html\n<lmvz-toggle label=\"Enable notifications\" name=\"notifications\" required></lmvz-toggle>\n```"
|
|
6005
|
+
}
|
|
6006
|
+
],
|
|
6007
|
+
"usage": {},
|
|
6008
|
+
"props": [
|
|
6009
|
+
{
|
|
6010
|
+
"name": "checked",
|
|
6011
|
+
"type": "boolean",
|
|
6012
|
+
"complexType": {
|
|
6013
|
+
"original": "boolean",
|
|
6014
|
+
"resolved": "boolean",
|
|
6015
|
+
"references": {}
|
|
6016
|
+
},
|
|
6017
|
+
"mutable": true,
|
|
6018
|
+
"attr": "checked",
|
|
6019
|
+
"reflectToAttr": true,
|
|
6020
|
+
"docs": "Whether the toggle is checked",
|
|
6021
|
+
"docsTags": [
|
|
6022
|
+
{
|
|
6023
|
+
"name": "default",
|
|
6024
|
+
"text": "false"
|
|
6025
|
+
}
|
|
6026
|
+
],
|
|
6027
|
+
"default": "false",
|
|
6028
|
+
"values": [
|
|
6029
|
+
{
|
|
6030
|
+
"type": "boolean"
|
|
6031
|
+
}
|
|
6032
|
+
],
|
|
6033
|
+
"optional": false,
|
|
6034
|
+
"required": false,
|
|
6035
|
+
"getter": false,
|
|
6036
|
+
"setter": false
|
|
6037
|
+
},
|
|
6038
|
+
{
|
|
6039
|
+
"name": "disabled",
|
|
6040
|
+
"type": "boolean",
|
|
6041
|
+
"complexType": {
|
|
6042
|
+
"original": "boolean",
|
|
6043
|
+
"resolved": "boolean",
|
|
6044
|
+
"references": {}
|
|
6045
|
+
},
|
|
6046
|
+
"mutable": false,
|
|
6047
|
+
"attr": "disabled",
|
|
6048
|
+
"reflectToAttr": true,
|
|
6049
|
+
"docs": "Whether the toggle is disabled",
|
|
6050
|
+
"docsTags": [
|
|
6051
|
+
{
|
|
6052
|
+
"name": "default",
|
|
6053
|
+
"text": "false"
|
|
6054
|
+
}
|
|
6055
|
+
],
|
|
6056
|
+
"default": "false",
|
|
6057
|
+
"values": [
|
|
6058
|
+
{
|
|
6059
|
+
"type": "boolean"
|
|
6060
|
+
}
|
|
6061
|
+
],
|
|
6062
|
+
"optional": false,
|
|
6063
|
+
"required": false,
|
|
6064
|
+
"getter": false,
|
|
6065
|
+
"setter": false
|
|
6066
|
+
},
|
|
6067
|
+
{
|
|
6068
|
+
"name": "form",
|
|
6069
|
+
"type": "string | undefined",
|
|
6070
|
+
"complexType": {
|
|
6071
|
+
"original": "string",
|
|
6072
|
+
"resolved": "string | undefined",
|
|
6073
|
+
"references": {}
|
|
6074
|
+
},
|
|
6075
|
+
"mutable": false,
|
|
6076
|
+
"attr": "form",
|
|
6077
|
+
"reflectToAttr": false,
|
|
6078
|
+
"docs": "Form id to associate with",
|
|
6079
|
+
"docsTags": [],
|
|
6080
|
+
"values": [
|
|
6081
|
+
{
|
|
6082
|
+
"type": "string"
|
|
6083
|
+
},
|
|
6084
|
+
{
|
|
6085
|
+
"type": "undefined"
|
|
6086
|
+
}
|
|
6087
|
+
],
|
|
6088
|
+
"optional": true,
|
|
6089
|
+
"required": false,
|
|
6090
|
+
"getter": false,
|
|
6091
|
+
"setter": false
|
|
6092
|
+
},
|
|
6093
|
+
{
|
|
6094
|
+
"name": "label",
|
|
6095
|
+
"type": "string",
|
|
6096
|
+
"complexType": {
|
|
6097
|
+
"original": "string",
|
|
6098
|
+
"resolved": "string",
|
|
6099
|
+
"references": {}
|
|
6100
|
+
},
|
|
6101
|
+
"mutable": false,
|
|
6102
|
+
"attr": "label",
|
|
6103
|
+
"reflectToAttr": false,
|
|
6104
|
+
"docs": "Label text for the toggle",
|
|
6105
|
+
"docsTags": [],
|
|
6106
|
+
"values": [
|
|
6107
|
+
{
|
|
6108
|
+
"type": "string"
|
|
6109
|
+
}
|
|
6110
|
+
],
|
|
6111
|
+
"optional": false,
|
|
6112
|
+
"required": true,
|
|
6113
|
+
"getter": false,
|
|
6114
|
+
"setter": false
|
|
6115
|
+
},
|
|
6116
|
+
{
|
|
6117
|
+
"name": "name",
|
|
6118
|
+
"type": "string | undefined",
|
|
6119
|
+
"complexType": {
|
|
6120
|
+
"original": "string",
|
|
6121
|
+
"resolved": "string | undefined",
|
|
6122
|
+
"references": {}
|
|
6123
|
+
},
|
|
6124
|
+
"mutable": false,
|
|
6125
|
+
"attr": "name",
|
|
6126
|
+
"reflectToAttr": false,
|
|
6127
|
+
"docs": "Name attribute for form integration",
|
|
6128
|
+
"docsTags": [],
|
|
6129
|
+
"values": [
|
|
6130
|
+
{
|
|
6131
|
+
"type": "string"
|
|
6132
|
+
},
|
|
6133
|
+
{
|
|
6134
|
+
"type": "undefined"
|
|
6135
|
+
}
|
|
6136
|
+
],
|
|
6137
|
+
"optional": true,
|
|
6138
|
+
"required": false,
|
|
6139
|
+
"getter": false,
|
|
6140
|
+
"setter": false
|
|
6141
|
+
},
|
|
6142
|
+
{
|
|
6143
|
+
"name": "required",
|
|
6144
|
+
"type": "boolean",
|
|
6145
|
+
"complexType": {
|
|
6146
|
+
"original": "boolean",
|
|
6147
|
+
"resolved": "boolean",
|
|
6148
|
+
"references": {}
|
|
6149
|
+
},
|
|
6150
|
+
"mutable": false,
|
|
6151
|
+
"attr": "required",
|
|
6152
|
+
"reflectToAttr": true,
|
|
6153
|
+
"docs": "Whether the toggle is required",
|
|
6154
|
+
"docsTags": [
|
|
6155
|
+
{
|
|
6156
|
+
"name": "default",
|
|
6157
|
+
"text": "false"
|
|
6158
|
+
}
|
|
6159
|
+
],
|
|
6160
|
+
"default": "false",
|
|
6161
|
+
"values": [
|
|
6162
|
+
{
|
|
6163
|
+
"type": "boolean"
|
|
6164
|
+
}
|
|
6165
|
+
],
|
|
6166
|
+
"optional": false,
|
|
6167
|
+
"required": false,
|
|
6168
|
+
"getter": false,
|
|
6169
|
+
"setter": false
|
|
6170
|
+
},
|
|
6171
|
+
{
|
|
6172
|
+
"name": "value",
|
|
6173
|
+
"type": "string",
|
|
6174
|
+
"complexType": {
|
|
6175
|
+
"original": "string",
|
|
6176
|
+
"resolved": "string",
|
|
6177
|
+
"references": {}
|
|
6178
|
+
},
|
|
6179
|
+
"mutable": false,
|
|
6180
|
+
"attr": "value",
|
|
6181
|
+
"reflectToAttr": false,
|
|
6182
|
+
"docs": "Value submitted with the form when checked",
|
|
6183
|
+
"docsTags": [
|
|
6184
|
+
{
|
|
6185
|
+
"name": "default",
|
|
6186
|
+
"text": "'on'"
|
|
6187
|
+
}
|
|
6188
|
+
],
|
|
6189
|
+
"default": "'on'",
|
|
6190
|
+
"values": [
|
|
6191
|
+
{
|
|
6192
|
+
"type": "string"
|
|
6193
|
+
}
|
|
6194
|
+
],
|
|
6195
|
+
"optional": false,
|
|
6196
|
+
"required": false,
|
|
6197
|
+
"getter": false,
|
|
6198
|
+
"setter": false
|
|
6199
|
+
}
|
|
6200
|
+
],
|
|
6201
|
+
"methods": [
|
|
6202
|
+
{
|
|
6203
|
+
"name": "blurToggle",
|
|
6204
|
+
"returns": {
|
|
6205
|
+
"type": "Promise<void>",
|
|
6206
|
+
"docs": ""
|
|
6207
|
+
},
|
|
6208
|
+
"complexType": {
|
|
6209
|
+
"signature": "() => Promise<void>",
|
|
6210
|
+
"parameters": [],
|
|
6211
|
+
"references": {
|
|
6212
|
+
"Promise": {
|
|
6213
|
+
"location": "global",
|
|
6214
|
+
"id": "global::Promise"
|
|
6215
|
+
}
|
|
6216
|
+
},
|
|
6217
|
+
"return": "Promise<void>"
|
|
6218
|
+
},
|
|
6219
|
+
"signature": "blurToggle() => Promise<void>",
|
|
6220
|
+
"parameters": [],
|
|
6221
|
+
"docs": "Removes focus from the toggle",
|
|
6222
|
+
"docsTags": []
|
|
6223
|
+
},
|
|
6224
|
+
{
|
|
6225
|
+
"name": "checkValidity",
|
|
6226
|
+
"returns": {
|
|
6227
|
+
"type": "Promise<boolean>",
|
|
6228
|
+
"docs": ""
|
|
6229
|
+
},
|
|
6230
|
+
"complexType": {
|
|
6231
|
+
"signature": "() => Promise<boolean>",
|
|
6232
|
+
"parameters": [],
|
|
6233
|
+
"references": {
|
|
6234
|
+
"Promise": {
|
|
6235
|
+
"location": "global",
|
|
6236
|
+
"id": "global::Promise"
|
|
6237
|
+
}
|
|
6238
|
+
},
|
|
6239
|
+
"return": "Promise<boolean>"
|
|
6240
|
+
},
|
|
6241
|
+
"signature": "checkValidity() => Promise<boolean>",
|
|
6242
|
+
"parameters": [],
|
|
6243
|
+
"docs": "Returns whether the toggle satisfies its validation constraints",
|
|
6244
|
+
"docsTags": []
|
|
6245
|
+
},
|
|
6246
|
+
{
|
|
6247
|
+
"name": "focusToggle",
|
|
6248
|
+
"returns": {
|
|
6249
|
+
"type": "Promise<void>",
|
|
6250
|
+
"docs": ""
|
|
6251
|
+
},
|
|
6252
|
+
"complexType": {
|
|
6253
|
+
"signature": "() => Promise<void>",
|
|
6254
|
+
"parameters": [],
|
|
6255
|
+
"references": {
|
|
6256
|
+
"Promise": {
|
|
6257
|
+
"location": "global",
|
|
6258
|
+
"id": "global::Promise"
|
|
6259
|
+
}
|
|
6260
|
+
},
|
|
6261
|
+
"return": "Promise<void>"
|
|
6262
|
+
},
|
|
6263
|
+
"signature": "focusToggle() => Promise<void>",
|
|
6264
|
+
"parameters": [],
|
|
6265
|
+
"docs": "Sets focus on the toggle",
|
|
6266
|
+
"docsTags": []
|
|
6267
|
+
},
|
|
6268
|
+
{
|
|
6269
|
+
"name": "getInputElement",
|
|
6270
|
+
"returns": {
|
|
6271
|
+
"type": "Promise<HTMLInputElement | undefined>",
|
|
6272
|
+
"docs": ""
|
|
6273
|
+
},
|
|
6274
|
+
"complexType": {
|
|
6275
|
+
"signature": "() => Promise<HTMLInputElement | undefined>",
|
|
6276
|
+
"parameters": [],
|
|
6277
|
+
"references": {
|
|
6278
|
+
"Promise": {
|
|
6279
|
+
"location": "global",
|
|
6280
|
+
"id": "global::Promise"
|
|
6281
|
+
},
|
|
6282
|
+
"HTMLInputElement": {
|
|
6283
|
+
"location": "global",
|
|
6284
|
+
"id": "global::HTMLInputElement"
|
|
6285
|
+
}
|
|
6286
|
+
},
|
|
6287
|
+
"return": "Promise<HTMLInputElement | undefined>"
|
|
6288
|
+
},
|
|
6289
|
+
"signature": "getInputElement() => Promise<HTMLInputElement | undefined>",
|
|
6290
|
+
"parameters": [],
|
|
6291
|
+
"docs": "Returns the native HTMLInputElement.\n\nPromise resolves when the element is ready and the input is available.",
|
|
6292
|
+
"docsTags": []
|
|
6293
|
+
},
|
|
6294
|
+
{
|
|
6295
|
+
"name": "reportValidity",
|
|
6296
|
+
"returns": {
|
|
6297
|
+
"type": "Promise<boolean>",
|
|
6298
|
+
"docs": ""
|
|
6299
|
+
},
|
|
6300
|
+
"complexType": {
|
|
6301
|
+
"signature": "() => Promise<boolean>",
|
|
6302
|
+
"parameters": [],
|
|
6303
|
+
"references": {
|
|
6304
|
+
"Promise": {
|
|
6305
|
+
"location": "global",
|
|
6306
|
+
"id": "global::Promise"
|
|
6307
|
+
}
|
|
6308
|
+
},
|
|
6309
|
+
"return": "Promise<boolean>"
|
|
6310
|
+
},
|
|
6311
|
+
"signature": "reportValidity() => Promise<boolean>",
|
|
6312
|
+
"parameters": [],
|
|
6313
|
+
"docs": "Reports validation errors to the user",
|
|
6314
|
+
"docsTags": []
|
|
6315
|
+
}
|
|
6316
|
+
],
|
|
6317
|
+
"events": [
|
|
6318
|
+
{
|
|
6319
|
+
"event": "lmvzChange",
|
|
6320
|
+
"detail": "boolean",
|
|
6321
|
+
"bubbles": true,
|
|
6322
|
+
"complexType": {
|
|
6323
|
+
"original": "boolean",
|
|
6324
|
+
"resolved": "boolean",
|
|
6325
|
+
"references": {}
|
|
6326
|
+
},
|
|
6327
|
+
"cancelable": true,
|
|
6328
|
+
"composed": true,
|
|
6329
|
+
"docs": "Emitted when the toggle is switched. Event detail is the new checked state.",
|
|
6330
|
+
"docsTags": []
|
|
6331
|
+
}
|
|
6332
|
+
],
|
|
6333
|
+
"listeners": [],
|
|
6334
|
+
"styles": [],
|
|
6335
|
+
"slots": [],
|
|
6336
|
+
"parts": [],
|
|
6337
|
+
"states": [],
|
|
6338
|
+
"dependents": [],
|
|
6339
|
+
"dependencies": [],
|
|
6340
|
+
"dependencyGraph": {}
|
|
5747
6341
|
}
|
|
5748
6342
|
],
|
|
5749
6343
|
"typeLibrary": {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmvz-ds/components",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.22.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "The components of the design system",
|
|
7
7
|
"author": "Patrick Nemenz <patrick.nemenz@adesso.at>",
|
|
@@ -64,6 +64,10 @@
|
|
|
64
64
|
"types": "./components/lmvz-menuitem.d.ts",
|
|
65
65
|
"import": "./components/lmvz-menuitem.js"
|
|
66
66
|
},
|
|
67
|
+
"./lmvz-modal": {
|
|
68
|
+
"types": "./components/lmvz-modal.d.ts",
|
|
69
|
+
"import": "./components/lmvz-modal.js"
|
|
70
|
+
},
|
|
67
71
|
"./lmvz-select": {
|
|
68
72
|
"types": "./components/lmvz-select.d.ts",
|
|
69
73
|
"import": "./components/lmvz-select.js"
|
|
@@ -71,6 +75,10 @@
|
|
|
71
75
|
"./lmvz-checkbox": {
|
|
72
76
|
"import": "./components/lmvz-checkbox.js",
|
|
73
77
|
"types": "./components/lmvz-checkbox.d.ts"
|
|
78
|
+
},
|
|
79
|
+
"./lmvz-toggle": {
|
|
80
|
+
"types": "./components/lmvz-toggle.d.ts",
|
|
81
|
+
"import": "./components/lmvz-toggle.js"
|
|
74
82
|
}
|
|
75
83
|
},
|
|
76
84
|
"main": "./index.cjs.js",
|
package/types/api/index.d.ts
CHANGED
|
@@ -16,8 +16,12 @@ export declare class LmvzButton extends ReactiveControllerHost implements AriaVa
|
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
type: 'submit' | 'button';
|
|
18
18
|
form?: FormRef;
|
|
19
|
+
formMethod?: 'dialog' | 'get' | 'post';
|
|
20
|
+
name?: string;
|
|
21
|
+
value?: string;
|
|
19
22
|
constructor();
|
|
20
23
|
connectedCallback(): void;
|
|
24
|
+
disconnectedCallback(): void;
|
|
21
25
|
private renderHiddenButton;
|
|
22
26
|
private submitForm;
|
|
23
27
|
private handleClick;
|