@solid-design-system/components 5.13.11 → 5.13.12
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/cdn/custom-elements.json +11 -7
- package/cdn/vscode.html-custom-data.json +13 -5
- package/cdn/web-types.json +27 -11
- package/cdn-versioned/chunks/chunk.22K26MFW.js +1 -1
- package/cdn-versioned/chunks/chunk.27FNJ2PN.js +1 -1
- package/cdn-versioned/chunks/chunk.2ASRYO75.js +1 -1
- package/cdn-versioned/chunks/chunk.2C7EBMG5.js +1 -1
- package/cdn-versioned/chunks/chunk.2GL7J2OA.js +1 -1
- package/cdn-versioned/chunks/chunk.2MWGJ42J.js +1 -1
- package/cdn-versioned/chunks/chunk.2NU6E5HZ.js +1 -1
- package/cdn-versioned/chunks/chunk.3FMPWWYL.js +1 -1
- package/cdn-versioned/chunks/chunk.42542XOU.js +1 -1
- package/cdn-versioned/chunks/chunk.4JCFZ7AN.js +1 -1
- package/cdn-versioned/chunks/chunk.4UDZGPPR.js +1 -1
- package/cdn-versioned/chunks/chunk.4WS6ISBF.js +1 -1
- package/cdn-versioned/chunks/chunk.54UYR3N2.js +1 -1
- package/cdn-versioned/chunks/chunk.5RA4GJWJ.js +1 -1
- package/cdn-versioned/chunks/chunk.5SK5BWKE.js +1 -1
- package/cdn-versioned/chunks/chunk.6EVGQLHB.js +1 -1
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/chunk.7OFXZTBU.js +1 -1
- package/cdn-versioned/chunks/chunk.APITCTY7.js +2 -2
- package/cdn-versioned/chunks/chunk.B54NSO5Y.js +1 -1
- package/cdn-versioned/chunks/chunk.BBD6RMZH.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.DB2LBRW5.js +1 -1
- package/cdn-versioned/chunks/chunk.DNPUPU5N.js +1 -1
- package/cdn-versioned/chunks/chunk.DS6OKK7E.js +1 -1
- package/cdn-versioned/chunks/chunk.DVQVZCFM.js +1 -1
- package/cdn-versioned/chunks/chunk.EF5R3XXB.js +1 -1
- package/cdn-versioned/chunks/chunk.EQQG2IOL.js +1 -1
- package/cdn-versioned/chunks/chunk.FADTWOWY.js +1 -1
- package/cdn-versioned/chunks/chunk.FEL7NDH5.js +1 -1
- package/cdn-versioned/chunks/chunk.GMVRGCVC.js +1 -1
- package/cdn-versioned/chunks/chunk.HJR66OM3.js +1 -1
- package/cdn-versioned/chunks/chunk.I4JFBFUL.js +1 -1
- package/cdn-versioned/chunks/chunk.IVTNENFE.js +1 -1
- package/cdn-versioned/chunks/chunk.JM4O4R5N.js +4 -4
- package/cdn-versioned/chunks/chunk.JR3LNORU.js +1 -1
- package/cdn-versioned/chunks/chunk.LDWID3GG.js +1 -1
- package/cdn-versioned/chunks/chunk.MEWKZ5ES.js +1 -1
- package/cdn-versioned/chunks/chunk.NLHZZEN6.js +1 -1
- package/cdn-versioned/chunks/chunk.O7HTYQZJ.js +1 -1
- package/cdn-versioned/chunks/chunk.OUQRVDFU.js +1 -1
- package/cdn-versioned/chunks/chunk.PIM4IVY7.js +1 -1
- package/cdn-versioned/chunks/chunk.SHP5JHWU.js +1 -1
- package/cdn-versioned/chunks/chunk.SSCDGZIU.js +4 -4
- package/cdn-versioned/chunks/chunk.T7TDYFIZ.js +1 -1
- package/cdn-versioned/chunks/chunk.UGEF2FQR.js +1 -1
- package/cdn-versioned/chunks/chunk.UK5N2DTE.js +1 -1
- package/cdn-versioned/chunks/chunk.UYJTT34Z.js +1 -1
- package/cdn-versioned/chunks/chunk.V35C2AM2.js +1 -1
- package/cdn-versioned/chunks/chunk.VHYOMSJH.js +1 -1
- package/cdn-versioned/chunks/chunk.VX2WA6JC.js +1 -1
- package/cdn-versioned/chunks/chunk.W2TNOVM3.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WAVXNSMT.js +1 -1
- package/cdn-versioned/chunks/chunk.XT7KIHF3.js +1 -1
- package/cdn-versioned/chunks/chunk.XVP3JFUF.js +1 -1
- package/cdn-versioned/chunks/chunk.Y4C5Q22M.js +1 -1
- package/cdn-versioned/chunks/chunk.YJVLZLXE.js +1 -1
- package/cdn-versioned/chunks/chunk.YPIA2ACB.js +1 -1
- package/cdn-versioned/chunks/chunk.YQ27KD5M.js +1 -1
- package/cdn-versioned/chunks/chunk.ZQC5PYLE.js +1 -1
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/loader/loader.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/menu/menu.d.ts +1 -1
- package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/cdn-versioned/components/range/range.d.ts +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +248 -244
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +13 -13
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +13 -13
- package/cdn-versioned/vscode.html-custom-data.json +104 -96
- package/cdn-versioned/web-types.json +180 -164
- package/dist/custom-elements.json +11 -7
- package/dist/vscode.html-custom-data.json +13 -5
- package/dist/web-types.json +27 -11
- package/dist-versioned/chunks/chunk.3ABKOHAW.js +12 -12
- package/dist-versioned/chunks/chunk.3ARIWNKQ.js +2 -2
- package/dist-versioned/chunks/chunk.3T7MEK7F.js +3 -3
- package/dist-versioned/chunks/chunk.43MFVINX.js +2 -2
- package/dist-versioned/chunks/chunk.4W52UQUR.js +5 -5
- package/dist-versioned/chunks/chunk.57HIVEJA.js +12 -12
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.7HM3D5ZB.js +8 -8
- package/dist-versioned/chunks/chunk.7LZ5ZQ7G.js +11 -11
- package/dist-versioned/chunks/chunk.AII7ENVH.js +5 -5
- package/dist-versioned/chunks/chunk.AOZYVZSI.js +3 -3
- package/dist-versioned/chunks/chunk.BDKNOJYX.js +3 -3
- package/dist-versioned/chunks/chunk.BN2JSIUV.js +1 -1
- package/dist-versioned/chunks/chunk.BYBDNBDE.js +24 -24
- package/dist-versioned/chunks/chunk.CEVD4PPV.js +2 -2
- package/dist-versioned/chunks/chunk.CQUTC7N3.js +3 -3
- package/dist-versioned/chunks/chunk.DUQJ25W4.js +2 -2
- package/dist-versioned/chunks/chunk.E5QDRLG5.js +2 -2
- package/dist-versioned/chunks/chunk.ECTNQOHT.js +1 -1
- package/dist-versioned/chunks/chunk.EMEGC6Q7.js +26 -26
- package/dist-versioned/chunks/chunk.ENHM6QPI.js +2 -2
- package/dist-versioned/chunks/chunk.ETFAVTWL.js +1 -1
- package/dist-versioned/chunks/chunk.G5HAUM5L.js +1 -1
- package/dist-versioned/chunks/chunk.G6CZTG7Q.js +1 -1
- package/dist-versioned/chunks/chunk.G6IBNC3A.js +3 -3
- package/dist-versioned/chunks/chunk.GJM2UBD5.js +1 -1
- package/dist-versioned/chunks/chunk.GXUXYUOG.js +5 -5
- package/dist-versioned/chunks/chunk.GZ3JKXQ2.js +2 -2
- package/dist-versioned/chunks/chunk.H2H7UKLB.js +1 -1
- package/dist-versioned/chunks/chunk.H6E4C5UY.js +2 -2
- package/dist-versioned/chunks/chunk.HKATDXCW.js +1 -1
- package/dist-versioned/chunks/chunk.IORKEN4C.js +3 -3
- package/dist-versioned/chunks/chunk.JF4YKLM4.js +1 -1
- package/dist-versioned/chunks/chunk.JGFET2UA.js +4 -4
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.KLFBH24N.js +4 -4
- package/dist-versioned/chunks/chunk.KP2X7UDC.js +3 -3
- package/dist-versioned/chunks/chunk.KUG4JFNY.js +4 -4
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.MSMR7NPP.js +2 -2
- package/dist-versioned/chunks/chunk.OIC3RK54.js +2 -2
- package/dist-versioned/chunks/chunk.OZ6OXBJC.js +1 -1
- package/dist-versioned/chunks/chunk.PJ5SMSQP.js +2 -2
- package/dist-versioned/chunks/chunk.QBUQZLK4.js +1 -1
- package/dist-versioned/chunks/chunk.QGTSHDWW.js +1 -1
- package/dist-versioned/chunks/chunk.QQUOW5WM.js +6 -6
- package/dist-versioned/chunks/chunk.RBS2XRPG.js +5 -5
- package/dist-versioned/chunks/chunk.SLM2NJ64.js +2 -2
- package/dist-versioned/chunks/chunk.SORC72SZ.js +2 -2
- package/dist-versioned/chunks/chunk.TGYBKEY2.js +5 -5
- package/dist-versioned/chunks/chunk.TYT467JR.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.ULN3BADF.js +2 -2
- package/dist-versioned/chunks/chunk.UPQH3D5U.js +6 -6
- package/dist-versioned/chunks/chunk.VRFFOJAC.js +1 -1
- package/dist-versioned/chunks/chunk.VVBDKQHI.js +14 -14
- package/dist-versioned/chunks/chunk.W257EQK6.js +3 -3
- package/dist-versioned/chunks/chunk.X3POGM3M.js +2 -2
- package/dist-versioned/chunks/chunk.Z67EE23U.js +2 -2
- package/dist-versioned/chunks/chunk.ZQ5Z7U7A.js +1 -1
- package/dist-versioned/chunks/chunk.ZS7PGX4E.js +1 -1
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/loader/loader.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/dist-versioned/components/range/range.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +248 -244
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/vscode.html-custom-data.json +104 -96
- package/dist-versioned/web-types.json +180 -164
- package/package.json +1 -1
|
@@ -2438,6 +2438,7 @@
|
|
|
2438
2438
|
"text": "string"
|
|
2439
2439
|
},
|
|
2440
2440
|
"default": "''",
|
|
2441
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
2441
2442
|
"attribute": "title",
|
|
2442
2443
|
"reflects": true
|
|
2443
2444
|
},
|
|
@@ -2794,6 +2795,7 @@
|
|
|
2794
2795
|
"text": "string"
|
|
2795
2796
|
},
|
|
2796
2797
|
"default": "''",
|
|
2798
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
2797
2799
|
"fieldName": "title"
|
|
2798
2800
|
},
|
|
2799
2801
|
{
|
|
@@ -3986,6 +3988,7 @@
|
|
|
3986
3988
|
"text": "string"
|
|
3987
3989
|
},
|
|
3988
3990
|
"default": "''",
|
|
3991
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
3989
3992
|
"attribute": "title",
|
|
3990
3993
|
"reflects": true
|
|
3991
3994
|
},
|
|
@@ -4262,6 +4265,7 @@
|
|
|
4262
4265
|
"text": "string"
|
|
4263
4266
|
},
|
|
4264
4267
|
"default": "''",
|
|
4268
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
4265
4269
|
"fieldName": "title"
|
|
4266
4270
|
},
|
|
4267
4271
|
{
|
|
@@ -9014,7 +9018,7 @@
|
|
|
9014
9018
|
"text": "string"
|
|
9015
9019
|
},
|
|
9016
9020
|
"default": "''",
|
|
9017
|
-
"description": "The `title` attribute specifies extra information about an element most often as tooltip text when the mouse moves over the element.",
|
|
9021
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
9018
9022
|
"attribute": "title",
|
|
9019
9023
|
"reflects": true
|
|
9020
9024
|
},
|
|
@@ -9544,7 +9548,7 @@
|
|
|
9544
9548
|
"text": "string"
|
|
9545
9549
|
},
|
|
9546
9550
|
"default": "''",
|
|
9547
|
-
"description": "The `title` attribute specifies extra information about an element most often as tooltip text when the mouse moves over the element.",
|
|
9551
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
9548
9552
|
"fieldName": "title"
|
|
9549
9553
|
},
|
|
9550
9554
|
{
|
|
@@ -17169,7 +17173,7 @@
|
|
|
17169
17173
|
"text": "string"
|
|
17170
17174
|
},
|
|
17171
17175
|
"default": "''",
|
|
17172
|
-
"description": "The title
|
|
17176
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
17173
17177
|
"attribute": "title",
|
|
17174
17178
|
"reflects": true
|
|
17175
17179
|
},
|
|
@@ -17413,7 +17417,7 @@
|
|
|
17413
17417
|
"text": "string"
|
|
17414
17418
|
},
|
|
17415
17419
|
"default": "''",
|
|
17416
|
-
"description": "The title
|
|
17420
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
17417
17421
|
"fieldName": "title"
|
|
17418
17422
|
},
|
|
17419
17423
|
{
|
|
@@ -19212,7 +19216,7 @@
|
|
|
19212
19216
|
"text": "string"
|
|
19213
19217
|
},
|
|
19214
19218
|
"default": "''",
|
|
19215
|
-
"description": "
|
|
19219
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
19216
19220
|
"attribute": "title",
|
|
19217
19221
|
"reflects": true
|
|
19218
19222
|
},
|
|
@@ -19713,7 +19717,7 @@
|
|
|
19713
19717
|
"text": "string"
|
|
19714
19718
|
},
|
|
19715
19719
|
"default": "''",
|
|
19716
|
-
"description": "
|
|
19720
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
19717
19721
|
"fieldName": "title"
|
|
19718
19722
|
},
|
|
19719
19723
|
{
|
|
@@ -20584,7 +20588,7 @@
|
|
|
20584
20588
|
"package": {
|
|
20585
20589
|
"name": "@solid-design-system/components",
|
|
20586
20590
|
"description": "Solid Design System: Components",
|
|
20587
|
-
"version": "5.13.
|
|
20591
|
+
"version": "5.13.12",
|
|
20588
20592
|
"author": "Union Investment",
|
|
20589
20593
|
"homepage": "https://solid-design-system.fe.union-investment.de/docs/",
|
|
20590
20594
|
"license": "MIT"
|
|
@@ -339,7 +339,11 @@
|
|
|
339
339
|
"name": "sd-button",
|
|
340
340
|
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.\n- **motion-wrapper** - The container that wraps the motion animation.",
|
|
341
341
|
"attributes": [
|
|
342
|
-
{
|
|
342
|
+
{
|
|
343
|
+
"name": "title",
|
|
344
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
345
|
+
"values": []
|
|
346
|
+
},
|
|
343
347
|
{
|
|
344
348
|
"name": "variant",
|
|
345
349
|
"description": "The button's theme variant.",
|
|
@@ -581,7 +585,11 @@
|
|
|
581
585
|
"name": "sd-checkbox",
|
|
582
586
|
"description": "Checkboxes allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the checkbox loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the checkbox gains focus.\n- **sd-input** - Emitted when the checkbox receives input.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns true when valid and false when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows a validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<sd-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<sd-icon>` element.\n- **label** - The container that wraps the checkbox's label.",
|
|
583
587
|
"attributes": [
|
|
584
|
-
{
|
|
588
|
+
{
|
|
589
|
+
"name": "title",
|
|
590
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
591
|
+
"values": []
|
|
592
|
+
},
|
|
585
593
|
{
|
|
586
594
|
"name": "name",
|
|
587
595
|
"description": "The name of the checkbox, submitted as a name/value pair with form data.",
|
|
@@ -1368,7 +1376,7 @@
|
|
|
1368
1376
|
},
|
|
1369
1377
|
{
|
|
1370
1378
|
"name": "title",
|
|
1371
|
-
"description": "The `title` attribute specifies extra information about an element most often as tooltip text when the mouse moves over the element.",
|
|
1379
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
1372
1380
|
"values": []
|
|
1373
1381
|
},
|
|
1374
1382
|
{
|
|
@@ -2688,7 +2696,7 @@
|
|
|
2688
2696
|
"attributes": [
|
|
2689
2697
|
{
|
|
2690
2698
|
"name": "title",
|
|
2691
|
-
"description": "The title
|
|
2699
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
2692
2700
|
"values": []
|
|
2693
2701
|
},
|
|
2694
2702
|
{
|
|
@@ -3002,7 +3010,7 @@
|
|
|
3002
3010
|
"attributes": [
|
|
3003
3011
|
{
|
|
3004
3012
|
"name": "title",
|
|
3005
|
-
"description": "
|
|
3013
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
3006
3014
|
"values": []
|
|
3007
3015
|
},
|
|
3008
3016
|
{
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@solid-design-system/components",
|
|
4
|
-
"version": "5.13.
|
|
4
|
+
"version": "5.13.12",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -756,7 +756,11 @@
|
|
|
756
756
|
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.\n- **motion-wrapper** - The container that wraps the motion animation.",
|
|
757
757
|
"doc-url": "",
|
|
758
758
|
"attributes": [
|
|
759
|
-
{
|
|
759
|
+
{
|
|
760
|
+
"name": "title",
|
|
761
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
762
|
+
"value": { "type": "string", "default": "''" }
|
|
763
|
+
},
|
|
760
764
|
{
|
|
761
765
|
"name": "variant",
|
|
762
766
|
"description": "The button's theme variant.",
|
|
@@ -893,7 +897,11 @@
|
|
|
893
897
|
],
|
|
894
898
|
"js": {
|
|
895
899
|
"properties": [
|
|
896
|
-
{
|
|
900
|
+
{
|
|
901
|
+
"name": "title",
|
|
902
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
903
|
+
"type": "string"
|
|
904
|
+
},
|
|
897
905
|
{
|
|
898
906
|
"name": "variant",
|
|
899
907
|
"description": "The button's theme variant.",
|
|
@@ -1248,7 +1256,11 @@
|
|
|
1248
1256
|
"description": "Checkboxes allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the checkbox loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the checkbox gains focus.\n- **sd-input** - Emitted when the checkbox receives input.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns true when valid and false when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows a validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<sd-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<sd-icon>` element.\n- **label** - The container that wraps the checkbox's label.",
|
|
1249
1257
|
"doc-url": "",
|
|
1250
1258
|
"attributes": [
|
|
1251
|
-
{
|
|
1259
|
+
{
|
|
1260
|
+
"name": "title",
|
|
1261
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
1262
|
+
"value": { "type": "string", "default": "''" }
|
|
1263
|
+
},
|
|
1252
1264
|
{
|
|
1253
1265
|
"name": "name",
|
|
1254
1266
|
"description": "The name of the checkbox, submitted as a name/value pair with form data.",
|
|
@@ -1326,7 +1338,11 @@
|
|
|
1326
1338
|
],
|
|
1327
1339
|
"js": {
|
|
1328
1340
|
"properties": [
|
|
1329
|
-
{
|
|
1341
|
+
{
|
|
1342
|
+
"name": "title",
|
|
1343
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
1344
|
+
"type": "string"
|
|
1345
|
+
},
|
|
1330
1346
|
{
|
|
1331
1347
|
"name": "name",
|
|
1332
1348
|
"description": "The name of the checkbox, submitted as a name/value pair with form data.",
|
|
@@ -3006,7 +3022,7 @@
|
|
|
3006
3022
|
},
|
|
3007
3023
|
{
|
|
3008
3024
|
"name": "title",
|
|
3009
|
-
"description": "The `title` attribute specifies extra information about an element most often as tooltip text when the mouse moves over the element.",
|
|
3025
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
3010
3026
|
"value": { "type": "string", "default": "''" }
|
|
3011
3027
|
},
|
|
3012
3028
|
{
|
|
@@ -3244,7 +3260,7 @@
|
|
|
3244
3260
|
},
|
|
3245
3261
|
{
|
|
3246
3262
|
"name": "title",
|
|
3247
|
-
"description": "The `title` attribute specifies extra information about an element most often as tooltip text when the mouse moves over the element.",
|
|
3263
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
3248
3264
|
"type": "string"
|
|
3249
3265
|
},
|
|
3250
3266
|
{
|
|
@@ -6131,7 +6147,7 @@
|
|
|
6131
6147
|
"attributes": [
|
|
6132
6148
|
{
|
|
6133
6149
|
"name": "title",
|
|
6134
|
-
"description": "The title
|
|
6150
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
6135
6151
|
"value": { "type": "string", "default": "''" }
|
|
6136
6152
|
},
|
|
6137
6153
|
{
|
|
@@ -6204,7 +6220,7 @@
|
|
|
6204
6220
|
"properties": [
|
|
6205
6221
|
{
|
|
6206
6222
|
"name": "title",
|
|
6207
|
-
"description": "The title
|
|
6223
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
6208
6224
|
"type": "string"
|
|
6209
6225
|
},
|
|
6210
6226
|
{
|
|
@@ -6808,7 +6824,7 @@
|
|
|
6808
6824
|
"attributes": [
|
|
6809
6825
|
{
|
|
6810
6826
|
"name": "title",
|
|
6811
|
-
"description": "
|
|
6827
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
6812
6828
|
"value": { "type": "string", "default": "''" }
|
|
6813
6829
|
},
|
|
6814
6830
|
{
|
|
@@ -6976,7 +6992,7 @@
|
|
|
6976
6992
|
"properties": [
|
|
6977
6993
|
{
|
|
6978
6994
|
"name": "title",
|
|
6979
|
-
"description": "
|
|
6995
|
+
"description": "The `title` attribute specifies extra information about an element most often as a default browser tooltip text when the mouse moves over the element.",
|
|
6980
6996
|
"type": "string"
|
|
6981
6997
|
},
|
|
6982
6998
|
{
|
|
@@ -97,7 +97,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
97
97
|
* within the slotted trigger. This could be the slotted element itself, a child of the slotted element,
|
|
98
98
|
* or an element within the slotted elements shadow root.
|
|
99
99
|
*
|
|
100
|
-
* e.g. the accessible trigger of an <sd-5-13-
|
|
100
|
+
* e.g. the accessible trigger of an <sd-5-13-12-button> is a <button> located inside its shadow root.
|
|
101
101
|
*
|
|
102
102
|
* To determine this, we assume the first tabbable element in the trigger slot is the "accessible trigger."
|
|
103
103
|
* */
|
|
@@ -108,11 +108,11 @@ var SdDropdown = class extends SolidElement {
|
|
|
108
108
|
if (accessibleTrigger) {
|
|
109
109
|
switch (accessibleTrigger.tagName.toLowerCase()) {
|
|
110
110
|
// Solid buttons have to update the internal button so it's announced correctly by screen readers
|
|
111
|
-
case "sd-5-13-
|
|
112
|
-
case "sd-5-13-
|
|
111
|
+
case "sd-5-13-12-button":
|
|
112
|
+
case "sd-5-13-12-icon-button":
|
|
113
113
|
target = accessibleTrigger.button;
|
|
114
114
|
break;
|
|
115
|
-
case "sd-5-13-
|
|
115
|
+
case "sd-5-13-12-navigation-item":
|
|
116
116
|
target = accessibleTrigger.button;
|
|
117
117
|
break;
|
|
118
118
|
default:
|
|
@@ -136,7 +136,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
getMenu() {
|
|
139
|
-
return this.panel.assignedElements({ flatten: true }).find((el) => el.tagName.toLowerCase() === "sd-5-13-
|
|
139
|
+
return this.panel.assignedElements({ flatten: true }).find((el) => el.tagName.toLowerCase() === "sd-5-13-12-menu");
|
|
140
140
|
}
|
|
141
141
|
handleKeyDown(event) {
|
|
142
142
|
if (this.open && event.key === "Escape") {
|
|
@@ -148,7 +148,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
148
148
|
handleDocumentKeyDown(event) {
|
|
149
149
|
var _a;
|
|
150
150
|
if (event.key === "Tab") {
|
|
151
|
-
if (this.open && ((_a = document.activeElement) == null ? void 0 : _a.tagName.toLowerCase()) === "sd-5-13-
|
|
151
|
+
if (this.open && ((_a = document.activeElement) == null ? void 0 : _a.tagName.toLowerCase()) === "sd-5-13-12-menu-item") {
|
|
152
152
|
event.preventDefault();
|
|
153
153
|
this.hide();
|
|
154
154
|
this.focusOnTrigger();
|
|
@@ -174,7 +174,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
174
174
|
}
|
|
175
175
|
handlePanelSelect(event) {
|
|
176
176
|
const target = event.target;
|
|
177
|
-
if (!this.stayOpenOnSelect && target.tagName.toLowerCase() === "sd-5-13-
|
|
177
|
+
if (!this.stayOpenOnSelect && target.tagName.toLowerCase() === "sd-5-13-12-menu") {
|
|
178
178
|
this.hide();
|
|
179
179
|
this.focusOnTrigger();
|
|
180
180
|
}
|
|
@@ -256,7 +256,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
256
256
|
}
|
|
257
257
|
addOpenListeners() {
|
|
258
258
|
this.panel.addEventListener("sd-activate", this.handleMenuItemActivate);
|
|
259
|
-
this.panel.addEventListener("sd-5-13-
|
|
259
|
+
this.panel.addEventListener("sd-5-13-12-select", this.handlePanelSelect);
|
|
260
260
|
this.panel.addEventListener("keydown", this.handleKeyDown);
|
|
261
261
|
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
262
262
|
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
@@ -264,7 +264,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
264
264
|
removeOpenListeners() {
|
|
265
265
|
if (this.panel) {
|
|
266
266
|
this.panel.removeEventListener("sd-activate", this.handleMenuItemActivate);
|
|
267
|
-
this.panel.removeEventListener("sd-5-13-
|
|
267
|
+
this.panel.removeEventListener("sd-5-13-12-select", this.handlePanelSelect);
|
|
268
268
|
this.panel.removeEventListener("keydown", this.handleKeyDown);
|
|
269
269
|
}
|
|
270
270
|
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
@@ -297,11 +297,11 @@ var SdDropdown = class extends SolidElement {
|
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
render() {
|
|
300
|
-
return html`<sd-5-13-
|
|
300
|
+
return html`<sd-5-13-12-popup part="base" id="dropdown" placement="${this.placement}" distance="${this.rounded && this.distance < 1 ? 1 : this.distance}" skidding="${this.skidding}" strategy="${this.hoist ? "fixed" : "absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${cx(
|
|
301
301
|
"shadow bg-white block",
|
|
302
302
|
this.open ? "pointer-events-auto" : "pointer-events-none",
|
|
303
303
|
this.rounded && "rounded-md"
|
|
304
|
-
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-5-13-
|
|
304
|
+
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-5-13-12-popup>`;
|
|
305
305
|
}
|
|
306
306
|
};
|
|
307
307
|
SdDropdown.styles = [
|
|
@@ -354,7 +354,7 @@ __decorateClass([
|
|
|
354
354
|
watch("open", { waitUntilFirstUpdate: true })
|
|
355
355
|
], SdDropdown.prototype, "handleOpenChange", 1);
|
|
356
356
|
SdDropdown = __decorateClass([
|
|
357
|
-
customElement("sd-5-13-
|
|
357
|
+
customElement("sd-5-13-12-dropdown")
|
|
358
358
|
], SdDropdown);
|
|
359
359
|
setDefaultAnimation("dropdown.show", {
|
|
360
360
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -208,7 +208,7 @@ var SdDrawer = class extends SolidElement {
|
|
|
208
208
|
end: "top-0 end-0 bottom-auto start-auto w-[--width] h-full",
|
|
209
209
|
start: "top-0 end-auto bottom-auto start-0 w-[--width] h-full"
|
|
210
210
|
}[this.placement]
|
|
211
|
-
)}" role="dialog" aria-modal="true" aria-label="${this.label}" tabindex="0">${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ms-4 absolute top-2 end-2"><sd-5-13-
|
|
211
|
+
)}" role="dialog" aria-modal="true" aria-label="${this.label}" tabindex="0">${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ms-4 absolute top-2 end-2"><sd-5-13-12-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-5-13-12-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-5-13-12-icon></sd-5-13-12-button></div></header>` : html`<sd-5-13-12-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}" class="absolute top-2 end-2"><sd-5-13-12-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-5-13-12-icon></sd-5-13-12-button>`}<div part="body" class="flex-auto block px-4 focus-visible:focus-outline !-outline-offset-2" tabindex="0"><slot></slot></div><footer part="footer" class="${cx(this.hasSlotController.test("footer") ? "text-left p-4" : "hidden")}"><slot name="footer"></slot></footer></div></section>`;
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
214
|
SdDrawer.styles = [
|
|
@@ -249,7 +249,7 @@ __decorateClass([
|
|
|
249
249
|
watch("contained", { waitUntilFirstUpdate: true })
|
|
250
250
|
], SdDrawer.prototype, "handleNoModalChange", 1);
|
|
251
251
|
SdDrawer = __decorateClass([
|
|
252
|
-
customElement("sd-5-13-
|
|
252
|
+
customElement("sd-5-13-12-drawer")
|
|
253
253
|
], SdDrawer);
|
|
254
254
|
setDefaultAnimation("drawer.showStart", {
|
|
255
255
|
keyframes: [
|
|
@@ -107,12 +107,12 @@ var SdMenuItem = class extends SolidElement {
|
|
|
107
107
|
)}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${isSubmenuExpanded ? true : false}">${this.type === "checkbox" ? html`<span part="checked-icon" class="${cx(
|
|
108
108
|
"flex items-center justify-center grow-0 shrink-0 basis-auto",
|
|
109
109
|
this.checked ? "visible" : "invisible"
|
|
110
|
-
)}"><sd-5-13-
|
|
110
|
+
)}"><sd-5-13-12-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-5-13-12-icon></span>` : ""} ${slots.iconIndent ? html`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>` : ""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron || this.isSubmenu() ? html`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-5-13-12-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-5-13-12-icon></span>` : ""} ${this.submenuController.renderSubmenu()}</div>`;
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
SdMenuItem.styles = [
|
|
114
114
|
...SolidElement.styles,
|
|
115
|
-
css`:host{--submenu-offset:-6px;display:block}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}::slotted(sd-5-13-
|
|
115
|
+
css`:host{--submenu-offset:-6px;display:block}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}::slotted(sd-5-13-12-icon){height:var(--sd-spacing-6,1.5rem);width:var(--sd-spacing-6,1.5rem)}[part=checked-icon]{margin-right:var(--sd-spacing-3,.75rem)}.submenu-expanded:after{bottom:var(--sd-spacing-0,0);left:var(--sd-spacing-0,0);position:fixed;right:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);z-index:calc(var(z-dropdown) - 1);--tw-content:"";clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0),var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0),var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0));content:var(--tw-content)}:host(:hover:not([aria-disabled=true],:focus-visible)) [part=base]{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1));outline:2px solid transparent;outline-offset:2px}:host(:focus-visible:not([aria-disabled=true])) [part=base]{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:-2px;outline-style:solid;outline-width:2px}:host(:hover) [part=base]{outline:2px solid transparent;outline-offset:2px}sd-5-13-12-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity,1));margin-left:var(--submenu-offset)}::slotted(sd-5-13-12-menu){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important}`
|
|
116
116
|
];
|
|
117
117
|
__decorateClass([
|
|
118
118
|
query("slot:not([name])")
|
|
@@ -145,7 +145,7 @@ __decorateClass([
|
|
|
145
145
|
watch("type")
|
|
146
146
|
], SdMenuItem.prototype, "handleTypeChange", 1);
|
|
147
147
|
SdMenuItem = __decorateClass([
|
|
148
|
-
customElement("sd-5-13-
|
|
148
|
+
customElement("sd-5-13-12-menu-item")
|
|
149
149
|
], SdMenuItem);
|
|
150
150
|
|
|
151
151
|
export {
|
|
@@ -35,7 +35,7 @@ var SdQuickfact = class extends SdAccordion {
|
|
|
35
35
|
"flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-transform ease-in-out duration-medium text-xl sm:text-4xl sm:mt-2",
|
|
36
36
|
this.open && "rotate-180",
|
|
37
37
|
!this.expandable && "hidden"
|
|
38
|
-
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-5-13-
|
|
38
|
+
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-5-13-12-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-5-13-12-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-5-13-12-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-5-13-12-icon></slot></span></${header}><div part="content" id="content" class="${cx("overflow-hidden", !this.expandable && "hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></${base}>`;
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
SdQuickfact.styles = [
|
|
@@ -46,7 +46,7 @@ __decorateClass([
|
|
|
46
46
|
property({ type: Boolean, reflect: true })
|
|
47
47
|
], SdQuickfact.prototype, "expandable", 2);
|
|
48
48
|
SdQuickfact = __decorateClass([
|
|
49
|
-
customElement("sd-5-13-
|
|
49
|
+
customElement("sd-5-13-12-quickfact")
|
|
50
50
|
], SdQuickfact);
|
|
51
51
|
setDefaultAnimation("quickfact.show", {
|
|
52
52
|
keyframes: [{ height: "0" }, { height: "auto" }],
|
|
@@ -85,7 +85,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
85
85
|
"gradient-light": this.placement === "top" ? "bg-gradient-to-b from-white/60 to-white/0 mb-auto" : "bg-gradient-to-t from-white/60 to-white/0 mt-auto",
|
|
86
86
|
"gradient-dark": this.placement === "bottom" ? "bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto" : "bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"
|
|
87
87
|
}[this.frontVariant]
|
|
88
|
-
)}"></div><sd-5-13-
|
|
88
|
+
)}"></div><sd-5-13-12-button part="front-button" size="md" variant="${{
|
|
89
89
|
primary: "tertiary",
|
|
90
90
|
"primary-100": "tertiary",
|
|
91
91
|
"gradient-light": "primary",
|
|
@@ -95,7 +95,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
95
95
|
"primary-100": false,
|
|
96
96
|
"gradient-light": true,
|
|
97
97
|
"gradient-dark": true
|
|
98
|
-
}[this.frontVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipFront}" @keydown="${this.handleFrontKeydown}"><sd-5-13-
|
|
98
|
+
}[this.frontVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipFront}" @keydown="${this.handleFrontKeydown}"><sd-5-13-12-icon library="_internal" name="reload" label="Flip to Back"></sd-5-13-12-icon></sd-5-13-12-button></div><div part="back" tabindex="0" aria-hidden="${this.activeSide === "front"}" inert="${ifDefined(this.activeSide === "front" || void 0)}" class="${cx(
|
|
99
99
|
"flip-card__side flip-card__side--back overflow-hidden transition-transform duration-1000 ease-in-out",
|
|
100
100
|
"flex focus-visible:focus-outline",
|
|
101
101
|
"absolute top-0 left-0 w-full h-full justify-end text-left",
|
|
@@ -128,7 +128,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
128
128
|
"gradient-light": this.placement === "top" ? "bg-gradient-to-b from-white/60 to-white/0 mb-auto" : "bg-gradient-to-t from-white/60 to-white/0 mt-auto",
|
|
129
129
|
"gradient-dark": this.placement === "bottom" ? "bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto" : "bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"
|
|
130
130
|
}[this.backVariant]
|
|
131
|
-
)}"></div><sd-5-13-
|
|
131
|
+
)}"></div><sd-5-13-12-button size="md" part="back-button" variant="${{
|
|
132
132
|
primary: "tertiary",
|
|
133
133
|
"primary-100": "tertiary",
|
|
134
134
|
"gradient-light": "primary",
|
|
@@ -138,7 +138,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
138
138
|
"primary-100": false,
|
|
139
139
|
"gradient-light": true,
|
|
140
140
|
"gradient-dark": true
|
|
141
|
-
}[this.backVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipBack}" @keydown="${this.handleBackKeydown}"><sd-5-13-
|
|
141
|
+
}[this.backVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipBack}" @keydown="${this.handleBackKeydown}"><sd-5-13-12-icon library="_internal" name="reload" label="Flip to Front"></sd-5-13-12-icon></sd-5-13-12-button></div></div>`;
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
144
|
/**
|
|
@@ -170,7 +170,7 @@ __decorateClass([
|
|
|
170
170
|
state()
|
|
171
171
|
], SdFlipcard.prototype, "activeSide", 2);
|
|
172
172
|
SdFlipcard = __decorateClass([
|
|
173
|
-
customElement("sd-5-13-
|
|
173
|
+
customElement("sd-5-13-12-flipcard")
|
|
174
174
|
], SdFlipcard);
|
|
175
175
|
|
|
176
176
|
export {
|
|
@@ -74,10 +74,10 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
74
74
|
this.formControlController.updateValidity();
|
|
75
75
|
}
|
|
76
76
|
getAllRadios() {
|
|
77
|
-
return [...this.querySelectorAll("sd-5-13-
|
|
77
|
+
return [...this.querySelectorAll("sd-5-13-12-radio, sd-5-13-12-radio-button")];
|
|
78
78
|
}
|
|
79
79
|
handleRadioClick(event) {
|
|
80
|
-
const target = event.target.closest("sd-5-13-
|
|
80
|
+
const target = event.target.closest("sd-5-13-12-radio, sd-5-13-12-radio-button");
|
|
81
81
|
const radios = this.getAllRadios();
|
|
82
82
|
const oldValue = this.value;
|
|
83
83
|
if (target.disabled) {
|
|
@@ -154,7 +154,7 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
154
154
|
}
|
|
155
155
|
})
|
|
156
156
|
);
|
|
157
|
-
this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-5-13-
|
|
157
|
+
this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-5-13-12-radio-button");
|
|
158
158
|
if (!radios.some((radio) => radio.checked)) {
|
|
159
159
|
if (this.hasButtonGroup) {
|
|
160
160
|
const buttonRadio = (_a = radios[0].shadowRoot) == null ? void 0 : _a.querySelector("button");
|
|
@@ -166,26 +166,26 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
if (this.hasButtonGroup) {
|
|
169
|
-
const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-5-13-
|
|
169
|
+
const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-5-13-12-button-group");
|
|
170
170
|
if (buttonGroup) {
|
|
171
171
|
buttonGroup.disableRole = true;
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
syncRadios() {
|
|
176
|
-
if (customElements.get("sd-5-13-
|
|
176
|
+
if (customElements.get("sd-5-13-12-radio") && customElements.get("sd-5-13-12-radio-button")) {
|
|
177
177
|
this.syncRadioElements();
|
|
178
178
|
return;
|
|
179
179
|
}
|
|
180
|
-
if (customElements.get("sd-5-13-
|
|
180
|
+
if (customElements.get("sd-5-13-12-radio")) {
|
|
181
181
|
this.syncRadioElements();
|
|
182
182
|
} else {
|
|
183
|
-
customElements.whenDefined("sd-5-13-
|
|
183
|
+
customElements.whenDefined("sd-5-13-12-radio").then(() => this.syncRadios());
|
|
184
184
|
}
|
|
185
|
-
if (customElements.get("sd-5-13-
|
|
185
|
+
if (customElements.get("sd-5-13-12-radio-button")) {
|
|
186
186
|
this.syncRadioElements();
|
|
187
187
|
} else {
|
|
188
|
-
customElements.whenDefined("sd-5-13-
|
|
188
|
+
customElements.whenDefined("sd-5-13-12-radio-button").then(() => this.syncRadios());
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
updateCheckedRadio() {
|
|
@@ -264,7 +264,7 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
264
264
|
vertical: "flex-col",
|
|
265
265
|
horizontal: "flex-row"
|
|
266
266
|
}[this.orientation]
|
|
267
|
-
)}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-5-13-
|
|
267
|
+
)}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-5-13-12-button-group class="border border-primary rounded-full" part="button-group" exportparts="base:button-group__base" role="presentation">${defaultSlot}</sd-5-13-12-button-group>` : defaultSlot}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot>${this.formControlController.renderInvalidMessage()}`;
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
/**
|
|
@@ -272,7 +272,7 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
272
272
|
*/
|
|
273
273
|
SdRadioGroup.styles = [
|
|
274
274
|
...SolidElement.styles,
|
|
275
|
-
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-13-
|
|
275
|
+
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-13-12-radio){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-5-13-12-radio:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-5-13-12-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-5-13-12-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-13-12-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-13-12-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([required]) #label:after{content:" *"}:host:has(sd-5-13-12-button-group){display:inline-flex}`
|
|
276
276
|
];
|
|
277
277
|
__decorateClass([
|
|
278
278
|
query("slot:not([name])")
|
|
@@ -329,7 +329,7 @@ __decorateClass([
|
|
|
329
329
|
watch("value")
|
|
330
330
|
], SdRadioGroup.prototype, "handleValueChange", 1);
|
|
331
331
|
SdRadioGroup = __decorateClass([
|
|
332
|
-
customElement("sd-5-13-
|
|
332
|
+
customElement("sd-5-13-12-radio-group")
|
|
333
333
|
], SdRadioGroup);
|
|
334
334
|
|
|
335
335
|
export {
|
|
@@ -10,7 +10,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
10
10
|
var _a, _b;
|
|
11
11
|
const ul = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("ul");
|
|
12
12
|
ul == null ? void 0 : ul.setAttribute("part", "listbox");
|
|
13
|
-
const popup = document.createElement("sd-5-13-
|
|
13
|
+
const popup = document.createElement("sd-5-13-12-popup");
|
|
14
14
|
popup.appendChild(ul);
|
|
15
15
|
(_b = sdInput.shadowRoot) == null ? void 0 : _b.appendChild(popup);
|
|
16
16
|
popup == null ? void 0 : popup.setAttribute("exportparts", "popup__content");
|
|
@@ -22,7 +22,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
22
22
|
popup.anchor = sdInput;
|
|
23
23
|
popup.sync = "width";
|
|
24
24
|
}
|
|
25
|
-
const styles = css`sd-5-13-
|
|
25
|
+
const styles = css`sd-5-13-12-popup::part(popup){border-bottom-left-radius:var(--sd-border-radius-default,.25rem);border-bottom-right-radius:var(--sd-border-radius-default,.25rem);border-width:0 2px 2px;overflow-y:scroll;z-index:var(--sd-z-index-dropdown,900);--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity,1));padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-2,.5rem);--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-13-12-popup li{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}sd-5-13-12-popup li:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity,1))}sd-5-13-12-popup li{list-style-type:""}sd-5-13-12-popup li mark{background-color:transparent;font-weight:700}sd-5-13-12-popup li:not(:has(sd-5-13-12-option)){cursor:pointer;font-size:var(--sd-font-size-base,1rem);padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-4,1rem);--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity,1))}sd-5-13-12-popup li:not(:has(sd-5-13-12-option)):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}sd-5-13-12-popup li[aria-selected=true]{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}`;
|
|
26
26
|
const styleSheet = new CSSStyleSheet();
|
|
27
27
|
styleSheet.replaceSync(styles);
|
|
28
28
|
sdInput.shadowRoot.adoptedStyleSheets = [...sdInput.shadowRoot.adoptedStyleSheets, styleSheet];
|
|
@@ -35,13 +35,13 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
35
35
|
}
|
|
36
36
|
input.addEventListener("open", () => {
|
|
37
37
|
var _a, _b, _c, _d, _e, _f;
|
|
38
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-13-
|
|
38
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-13-12-popup")) == null ? void 0 : _b.setAttribute("active", "true");
|
|
39
39
|
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.add("rounded-b-none");
|
|
40
40
|
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.add("z-50");
|
|
41
41
|
});
|
|
42
42
|
input.addEventListener("close", () => {
|
|
43
43
|
var _a, _b, _c, _d, _e, _f;
|
|
44
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-13-
|
|
44
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-13-12-popup")) == null ? void 0 : _b.removeAttribute("active");
|
|
45
45
|
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.remove("rounded-b-none");
|
|
46
46
|
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.remove("z-50");
|
|
47
47
|
});
|