@solid-design-system/components 7.0.0-next.2 → 7.0.0-next.3
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/chunks/chunk.2MPVWXFB.js +2 -0
- package/cdn/chunks/{chunk.P6Y5AQHG.js → chunk.D7PE6JKX.js} +2 -2
- package/cdn/components/input/input.d.ts +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/textarea/textarea.d.ts +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/custom-elements.json +31 -29
- package/cdn/solid-components.bundle.js +4 -4
- package/cdn/solid-components.iife.js +4 -4
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +3 -14
- package/cdn/web-types.json +37 -29
- package/cdn-versioned/chunks/chunk.2MPVWXFB.js +2 -0
- package/cdn-versioned/chunks/chunk.2XJ2J3VL.js +1 -1
- package/cdn-versioned/chunks/chunk.36YZDWQH.js +2 -2
- package/cdn-versioned/chunks/chunk.3H5XUPF5.js +5 -5
- package/cdn-versioned/chunks/chunk.47KQZYJR.js +2 -2
- package/cdn-versioned/chunks/chunk.4MY3PWSN.js +1 -1
- package/cdn-versioned/chunks/chunk.4QZMOBX3.js +2 -2
- package/cdn-versioned/chunks/chunk.5F5NZQB2.js +2 -2
- package/cdn-versioned/chunks/chunk.5ITG6KGD.js +2 -2
- package/cdn-versioned/chunks/chunk.64SUNU54.js +2 -2
- package/cdn-versioned/chunks/chunk.6GDQK5O5.js +2 -2
- package/cdn-versioned/chunks/chunk.6WQRLB7U.js +2 -2
- package/cdn-versioned/chunks/chunk.7LHRDGWP.js +2 -2
- package/cdn-versioned/chunks/chunk.7XY6DMAY.js +2 -2
- package/cdn-versioned/chunks/chunk.C45254AN.js +2 -2
- package/cdn-versioned/chunks/chunk.CWSVXPYD.js +1 -1
- package/cdn-versioned/chunks/{chunk.P6Y5AQHG.js → chunk.D7PE6JKX.js} +2 -2
- package/cdn-versioned/chunks/chunk.DIDMWRN3.js +2 -2
- package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
- package/cdn-versioned/chunks/chunk.GHSIC6MA.js +2 -2
- package/cdn-versioned/chunks/chunk.HBXGLINC.js +2 -2
- package/cdn-versioned/chunks/chunk.IWKYZ6J2.js +2 -2
- package/cdn-versioned/chunks/chunk.IZCKJLZR.js +2 -2
- package/cdn-versioned/chunks/chunk.J5C22TF2.js +3 -3
- package/cdn-versioned/chunks/chunk.JI2XVLZH.js +2 -2
- package/cdn-versioned/chunks/chunk.JURMXI5Y.js +5 -5
- package/cdn-versioned/chunks/chunk.K6TOCFIN.js +2 -2
- package/cdn-versioned/chunks/chunk.KOMME47J.js +2 -2
- package/cdn-versioned/chunks/chunk.KR27MICN.js +2 -2
- package/cdn-versioned/chunks/chunk.KZ5SFF6G.js +2 -2
- package/cdn-versioned/chunks/chunk.LICVZSAH.js +3 -3
- package/cdn-versioned/chunks/chunk.LVATN3YW.js +2 -2
- package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
- package/cdn-versioned/chunks/chunk.MHW6ZP4T.js +2 -2
- package/cdn-versioned/chunks/chunk.NATZPKHW.js +2 -2
- package/cdn-versioned/chunks/chunk.NFDBY4LL.js +2 -2
- package/cdn-versioned/chunks/chunk.NICDKFPS.js +2 -2
- package/cdn-versioned/chunks/chunk.NJ5CEN2R.js +2 -2
- package/cdn-versioned/chunks/chunk.PJ4AHTMH.js +2 -2
- package/cdn-versioned/chunks/chunk.PNRCMW5N.js +1 -1
- package/cdn-versioned/chunks/chunk.QTPFQGR7.js +2 -2
- package/cdn-versioned/chunks/chunk.QW2U4ORE.js +2 -2
- package/cdn-versioned/chunks/chunk.RLTO5J3E.js +2 -2
- package/cdn-versioned/chunks/chunk.ROU5X4FC.js +9 -9
- package/cdn-versioned/chunks/chunk.SKS4G5SG.js +2 -2
- package/cdn-versioned/chunks/chunk.SWPN5WUJ.js +2 -2
- package/cdn-versioned/chunks/chunk.U5LYN6TY.js +2 -2
- package/cdn-versioned/chunks/chunk.UBUSZ4VB.js +2 -2
- package/cdn-versioned/chunks/chunk.UN7DL2MN.js +1 -1
- package/cdn-versioned/chunks/chunk.UTBC4DI6.js +1 -1
- package/cdn-versioned/chunks/chunk.UY5TXYXC.js +2 -2
- package/cdn-versioned/chunks/chunk.V3PA35KW.js +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WZSNE2FO.js +2 -2
- package/cdn-versioned/chunks/chunk.X2QW55HD.js +1 -1
- package/cdn-versioned/chunks/chunk.XIIQ37KS.js +2 -2
- package/cdn-versioned/chunks/chunk.XNB5UHRT.js +1 -1
- package/cdn-versioned/chunks/chunk.XPALAZ3K.js +3 -3
- package/cdn-versioned/chunks/chunk.XY6LAPFB.js +1 -1
- package/cdn-versioned/chunks/chunk.YAUFTHOR.js +1 -1
- package/cdn-versioned/chunks/chunk.YG4OTB7M.js +2 -2
- package/cdn-versioned/chunks/chunk.YL7463TI.js +2 -2
- package/cdn-versioned/chunks/chunk.ZAB7A5W7.js +2 -2
- package/cdn-versioned/chunks/chunk.ZXMU6GLZ.js +2 -2
- package/cdn-versioned/chunks/chunk.ZXQQJBCT.js +2 -2
- 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/datepicker/datepicker.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 +2 -2
- package/cdn-versioned/components/input/input.js +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/progress-bar/progress-bar.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/skeleton/skeleton.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 +2 -2
- package/cdn-versioned/components/textarea/textarea.js +1 -1
- package/cdn-versioned/components/theme-listener/theme-listener.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 +290 -288
- package/cdn-versioned/internal/form.js +2 -2
- package/cdn-versioned/solid-components.bundle.js +81 -81
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +81 -81
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +117 -128
- package/cdn-versioned/web-types.json +206 -198
- package/dist/chunks/{chunk.QIIQFT2B.js → chunk.332BBYHT.js} +10 -2
- package/dist/chunks/{chunk.4MPXU2RU.js → chunk.MZXDJ23T.js} +12 -2
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/textarea/textarea.d.ts +1 -1
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/custom-elements.json +31 -29
- package/dist/solid-components.js +2 -2
- package/dist/vscode.html-custom-data.json +3 -14
- package/dist/web-types.json +37 -29
- package/dist-versioned/chunks/{chunk.QIIQFT2B.js → chunk.332BBYHT.js} +12 -4
- package/dist-versioned/chunks/chunk.4ICMHKGL.js +7 -7
- package/dist-versioned/chunks/chunk.4KQSESLL.js +10 -10
- package/dist-versioned/chunks/chunk.4UWPPYNK.js +2 -2
- package/dist-versioned/chunks/chunk.64V7RPJM.js +4 -4
- package/dist-versioned/chunks/chunk.BGHQYSC6.js +2 -2
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
- package/dist-versioned/chunks/chunk.CBXPY7RV.js +5 -5
- package/dist-versioned/chunks/chunk.CEEZZN7A.js +2 -2
- package/dist-versioned/chunks/chunk.CFE22DL2.js +8 -8
- package/dist-versioned/chunks/chunk.DJIFAD75.js +13 -13
- package/dist-versioned/chunks/chunk.DZ6FRKXI.js +12 -12
- package/dist-versioned/chunks/chunk.EAM3NSOC.js +4 -4
- package/dist-versioned/chunks/chunk.EBLUHAPV.js +5 -5
- package/dist-versioned/chunks/chunk.EI5PCGH6.js +5 -5
- package/dist-versioned/chunks/chunk.ENPE3AO3.js +14 -14
- package/dist-versioned/chunks/chunk.FAQBBAJ3.js +25 -25
- package/dist-versioned/chunks/chunk.FRTXHCPD.js +6 -6
- package/dist-versioned/chunks/chunk.GWLYBCED.js +7 -7
- package/dist-versioned/chunks/chunk.H4N3X443.js +6 -6
- package/dist-versioned/chunks/chunk.H6K6J6HB.js +10 -10
- package/dist-versioned/chunks/chunk.HQZ5Y72U.js +5 -5
- package/dist-versioned/chunks/chunk.HVKZA5Q2.js +1 -1
- package/dist-versioned/chunks/chunk.HX75WC4T.js +10 -10
- package/dist-versioned/chunks/chunk.HXXLOMBL.js +2 -2
- package/dist-versioned/chunks/chunk.I5TVWNGY.js +3 -3
- package/dist-versioned/chunks/chunk.ICBYOTXZ.js +4 -4
- package/dist-versioned/chunks/chunk.IJQGWINY.js +2 -2
- package/dist-versioned/chunks/chunk.IU2IAYUW.js +5 -5
- package/dist-versioned/chunks/chunk.JO4VO3DE.js +23 -23
- package/dist-versioned/chunks/chunk.K5UVAUSH.js +1 -1
- package/dist-versioned/chunks/chunk.KDPFXMT7.js +2 -2
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.L3TT74JB.js +3 -3
- package/dist-versioned/chunks/chunk.LM6MZUBT.js +7 -7
- package/dist-versioned/chunks/chunk.LNZEJCES.js +3 -3
- package/dist-versioned/chunks/chunk.MLBOR3OA.js +2 -2
- package/dist-versioned/chunks/{chunk.4MPXU2RU.js → chunk.MZXDJ23T.js} +17 -7
- package/dist-versioned/chunks/chunk.NAAQDM44.js +1 -1
- package/dist-versioned/chunks/chunk.NDQTMQGH.js +5 -5
- package/dist-versioned/chunks/chunk.NEWIPIU5.js +3 -3
- package/dist-versioned/chunks/chunk.NHPAPNCA.js +11 -11
- package/dist-versioned/chunks/chunk.O6I23JYG.js +1 -1
- package/dist-versioned/chunks/chunk.PJELKFNY.js +1 -1
- package/dist-versioned/chunks/chunk.POPOYCUO.js +10 -10
- package/dist-versioned/chunks/chunk.QGERTGJH.js +4 -4
- package/dist-versioned/chunks/chunk.QUNBU6CO.js +5 -5
- package/dist-versioned/chunks/chunk.RH3RR3MN.js +6 -6
- package/dist-versioned/chunks/chunk.ROTKRIJL.js +4 -4
- package/dist-versioned/chunks/chunk.TACTLKX6.js +6 -6
- package/dist-versioned/chunks/chunk.TF2CAVQI.js +33 -33
- package/dist-versioned/chunks/chunk.TXBRN4WB.js +5 -5
- package/dist-versioned/chunks/chunk.U4QAR37W.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.WCTYTU3K.js +3 -3
- package/dist-versioned/chunks/chunk.WD6OT624.js +6 -6
- package/dist-versioned/chunks/chunk.WJFZKOMO.js +2 -2
- package/dist-versioned/chunks/chunk.X6ZZWTS7.js +2 -2
- package/dist-versioned/chunks/chunk.XUYPFGE4.js +11 -11
- package/dist-versioned/chunks/chunk.XZHZDSPQ.js +1 -1
- package/dist-versioned/chunks/chunk.Y32GRFGF.js +2 -2
- package/dist-versioned/chunks/chunk.YC54RFTI.js +11 -11
- package/dist-versioned/chunks/chunk.YEAB2PEA.js +1 -1
- package/dist-versioned/chunks/chunk.ZI4J2JI6.js +2 -2
- package/dist-versioned/chunks/chunk.ZINALM6Z.js +12 -12
- 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/datepicker/datepicker.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 +2 -2
- package/dist-versioned/components/input/input.js +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/progress-bar/progress-bar.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/skeleton/skeleton.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 +2 -2
- package/dist-versioned/components/textarea/textarea.js +1 -1
- package/dist-versioned/components/theme-listener/theme-listener.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 +290 -288
- package/dist-versioned/internal/form.js +2 -2
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +117 -128
- package/dist-versioned/web-types.json +206 -198
- package/package.json +2 -2
- package/cdn/chunks/chunk.HEGJI2MO.js +0 -2
- package/cdn-versioned/chunks/chunk.HEGJI2MO.js +0 -2
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": "7.0.0-next.
|
|
4
|
+
"version": "7.0.0-next.3",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -577,7 +577,7 @@
|
|
|
577
577
|
"name": "variant",
|
|
578
578
|
"description": "The brandshape's theme variant.",
|
|
579
579
|
"value": {
|
|
580
|
-
"type": "
|
|
580
|
+
"type": "'neutral-100' | 'primary' | 'white' | 'border-primary' | 'border-white' | 'primary|80' | 'white|80' | 'image'",
|
|
581
581
|
"default": "'primary'"
|
|
582
582
|
}
|
|
583
583
|
},
|
|
@@ -613,7 +613,7 @@
|
|
|
613
613
|
{
|
|
614
614
|
"name": "variant",
|
|
615
615
|
"description": "The brandshape's theme variant.",
|
|
616
|
-
"type": "
|
|
616
|
+
"type": "'neutral-100' | 'primary' | 'white' | 'border-primary' | 'border-white' | 'primary|80' | 'white|80' | 'image'"
|
|
617
617
|
},
|
|
618
618
|
{
|
|
619
619
|
"name": "shapes",
|
|
@@ -3355,7 +3355,7 @@
|
|
|
3355
3355
|
"name": "type",
|
|
3356
3356
|
"description": "The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.",
|
|
3357
3357
|
"value": {
|
|
3358
|
-
"type": "
|
|
3358
|
+
"type": "'date' | 'datetime-local' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url'",
|
|
3359
3359
|
"default": "'text'"
|
|
3360
3360
|
}
|
|
3361
3361
|
},
|
|
@@ -3368,7 +3368,7 @@
|
|
|
3368
3368
|
"name": "inputmode",
|
|
3369
3369
|
"description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
|
|
3370
3370
|
"value": {
|
|
3371
|
-
"type": "
|
|
3371
|
+
"type": "'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'"
|
|
3372
3372
|
}
|
|
3373
3373
|
},
|
|
3374
3374
|
{
|
|
@@ -3485,10 +3485,14 @@
|
|
|
3485
3485
|
"name": "autocapitalize",
|
|
3486
3486
|
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
3487
3487
|
"value": {
|
|
3488
|
-
"type": "
|
|
3488
|
+
"type": "'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'"
|
|
3489
3489
|
}
|
|
3490
3490
|
},
|
|
3491
|
-
{
|
|
3491
|
+
{
|
|
3492
|
+
"name": "autocorrect",
|
|
3493
|
+
"description": "Indicates whether the browser's autocorrect feature is on or off.",
|
|
3494
|
+
"value": { "type": "boolean" }
|
|
3495
|
+
},
|
|
3492
3496
|
{
|
|
3493
3497
|
"name": "autocomplete",
|
|
3494
3498
|
"description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
|
|
@@ -3503,7 +3507,7 @@
|
|
|
3503
3507
|
"name": "enterkeyhint",
|
|
3504
3508
|
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
3505
3509
|
"value": {
|
|
3506
|
-
"type": "
|
|
3510
|
+
"type": "'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'"
|
|
3507
3511
|
}
|
|
3508
3512
|
},
|
|
3509
3513
|
{
|
|
@@ -3593,7 +3597,7 @@
|
|
|
3593
3597
|
{
|
|
3594
3598
|
"name": "type",
|
|
3595
3599
|
"description": "The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.",
|
|
3596
|
-
"type": "
|
|
3600
|
+
"type": "'date' | 'datetime-local' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url'"
|
|
3597
3601
|
},
|
|
3598
3602
|
{
|
|
3599
3603
|
"name": "size",
|
|
@@ -3603,7 +3607,7 @@
|
|
|
3603
3607
|
{
|
|
3604
3608
|
"name": "inputmode",
|
|
3605
3609
|
"description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
|
|
3606
|
-
"type": "
|
|
3610
|
+
"type": "'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'"
|
|
3607
3611
|
},
|
|
3608
3612
|
{
|
|
3609
3613
|
"name": "value",
|
|
@@ -3723,9 +3727,13 @@
|
|
|
3723
3727
|
{
|
|
3724
3728
|
"name": "autocapitalize",
|
|
3725
3729
|
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
3726
|
-
"type": "
|
|
3730
|
+
"type": "'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'"
|
|
3731
|
+
},
|
|
3732
|
+
{
|
|
3733
|
+
"name": "autocorrect",
|
|
3734
|
+
"description": "Indicates whether the browser's autocorrect feature is on or off.",
|
|
3735
|
+
"type": "boolean"
|
|
3727
3736
|
},
|
|
3728
|
-
{ "name": "autocorrect", "type": "'off' | 'on'" },
|
|
3729
3737
|
{
|
|
3730
3738
|
"name": "autocomplete",
|
|
3731
3739
|
"description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
|
|
@@ -3739,7 +3747,7 @@
|
|
|
3739
3747
|
{
|
|
3740
3748
|
"name": "enterkeyhint",
|
|
3741
3749
|
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
3742
|
-
"type": "
|
|
3750
|
+
"type": "'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'"
|
|
3743
3751
|
},
|
|
3744
3752
|
{
|
|
3745
3753
|
"name": "styleOnValid",
|
|
@@ -4783,7 +4791,7 @@
|
|
|
4783
4791
|
"name": "arrow-placement",
|
|
4784
4792
|
"description": "The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the\nanchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will\nalign the arrow to the start, end, or center of the popover instead.",
|
|
4785
4793
|
"value": {
|
|
4786
|
-
"type": "
|
|
4794
|
+
"type": "'start' | 'end' | 'center' | 'anchor'",
|
|
4787
4795
|
"default": "'anchor'"
|
|
4788
4796
|
}
|
|
4789
4797
|
},
|
|
@@ -4923,7 +4931,7 @@
|
|
|
4923
4931
|
{
|
|
4924
4932
|
"name": "arrowPlacement",
|
|
4925
4933
|
"description": "The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the\nanchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will\nalign the arrow to the start, end, or center of the popover instead.",
|
|
4926
|
-
"type": "
|
|
4934
|
+
"type": "'start' | 'end' | 'center' | 'anchor'"
|
|
4927
4935
|
},
|
|
4928
4936
|
{
|
|
4929
4937
|
"name": "arrowPadding",
|
|
@@ -5658,7 +5666,7 @@
|
|
|
5658
5666
|
"name": "tooltip",
|
|
5659
5667
|
"description": "Defines the thumbs tooltip behaviour.",
|
|
5660
5668
|
"value": {
|
|
5661
|
-
"type": "
|
|
5669
|
+
"type": "'on-interaction' | 'hidden' | 'always-visible'",
|
|
5662
5670
|
"default": "'on-interaction'"
|
|
5663
5671
|
}
|
|
5664
5672
|
},
|
|
@@ -5772,7 +5780,7 @@
|
|
|
5772
5780
|
{
|
|
5773
5781
|
"name": "tooltip",
|
|
5774
5782
|
"description": "Defines the thumbs tooltip behaviour.",
|
|
5775
|
-
"type": "
|
|
5783
|
+
"type": "'on-interaction' | 'hidden' | 'always-visible'"
|
|
5776
5784
|
},
|
|
5777
5785
|
{
|
|
5778
5786
|
"name": "defaultValue",
|
|
@@ -7322,7 +7330,7 @@
|
|
|
7322
7330
|
"name": "variant",
|
|
7323
7331
|
"description": "Variant of the teaser",
|
|
7324
7332
|
"value": {
|
|
7325
|
-
"type": "
|
|
7333
|
+
"type": "'white' | 'white border-neutral-400' | 'neutral-100' | 'primary' | 'primary-100'",
|
|
7326
7334
|
"default": "'white'"
|
|
7327
7335
|
}
|
|
7328
7336
|
},
|
|
@@ -7364,7 +7372,7 @@
|
|
|
7364
7372
|
{
|
|
7365
7373
|
"name": "variant",
|
|
7366
7374
|
"description": "Variant of the teaser",
|
|
7367
|
-
"type": "
|
|
7375
|
+
"type": "'white' | 'white border-neutral-400' | 'neutral-100' | 'primary' | 'primary-100'"
|
|
7368
7376
|
},
|
|
7369
7377
|
{
|
|
7370
7378
|
"name": "breakpoint",
|
|
@@ -7404,7 +7412,7 @@
|
|
|
7404
7412
|
"name": "variant",
|
|
7405
7413
|
"description": "Variant of the teaser",
|
|
7406
7414
|
"value": {
|
|
7407
|
-
"type": "
|
|
7415
|
+
"type": "'white' | 'neutral-100' | 'primary' | 'primary-100' | 'gradient-light' | 'gradient-dark'",
|
|
7408
7416
|
"default": "'white'"
|
|
7409
7417
|
}
|
|
7410
7418
|
},
|
|
@@ -7440,7 +7448,7 @@
|
|
|
7440
7448
|
{
|
|
7441
7449
|
"name": "variant",
|
|
7442
7450
|
"description": "Variant of the teaser",
|
|
7443
|
-
"type": "
|
|
7451
|
+
"type": "'white' | 'neutral-100' | 'primary' | 'primary-100' | 'gradient-light' | 'gradient-dark'"
|
|
7444
7452
|
},
|
|
7445
7453
|
{
|
|
7446
7454
|
"name": "open",
|
|
@@ -7550,13 +7558,13 @@
|
|
|
7550
7558
|
"name": "autocapitalize",
|
|
7551
7559
|
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
7552
7560
|
"value": {
|
|
7553
|
-
"type": "
|
|
7561
|
+
"type": "'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'"
|
|
7554
7562
|
}
|
|
7555
7563
|
},
|
|
7556
7564
|
{
|
|
7557
7565
|
"name": "autocorrect",
|
|
7558
7566
|
"description": "Indicates whether the browser's autocorrect feature is on or off.",
|
|
7559
|
-
"value": { "type": "
|
|
7567
|
+
"value": { "type": "boolean" }
|
|
7560
7568
|
},
|
|
7561
7569
|
{
|
|
7562
7570
|
"name": "autocomplete",
|
|
@@ -7572,7 +7580,7 @@
|
|
|
7572
7580
|
"name": "enterkeyhint",
|
|
7573
7581
|
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
7574
7582
|
"value": {
|
|
7575
|
-
"type": "
|
|
7583
|
+
"type": "'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'"
|
|
7576
7584
|
}
|
|
7577
7585
|
},
|
|
7578
7586
|
{
|
|
@@ -7722,12 +7730,12 @@
|
|
|
7722
7730
|
{
|
|
7723
7731
|
"name": "autocapitalize",
|
|
7724
7732
|
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
7725
|
-
"type": "
|
|
7733
|
+
"type": "'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'"
|
|
7726
7734
|
},
|
|
7727
7735
|
{
|
|
7728
7736
|
"name": "autocorrect",
|
|
7729
7737
|
"description": "Indicates whether the browser's autocorrect feature is on or off.",
|
|
7730
|
-
"type": "
|
|
7738
|
+
"type": "boolean"
|
|
7731
7739
|
},
|
|
7732
7740
|
{
|
|
7733
7741
|
"name": "autocomplete",
|
|
@@ -7742,7 +7750,7 @@
|
|
|
7742
7750
|
{
|
|
7743
7751
|
"name": "enterkeyhint",
|
|
7744
7752
|
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
7745
|
-
"type": "
|
|
7753
|
+
"type": "'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'"
|
|
7746
7754
|
},
|
|
7747
7755
|
{
|
|
7748
7756
|
"name": "styleOnValid",
|
|
@@ -7869,7 +7877,7 @@
|
|
|
7869
7877
|
"name": "placement",
|
|
7870
7878
|
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
7871
7879
|
"value": {
|
|
7872
|
-
"type": "
|
|
7880
|
+
"type": "'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end'",
|
|
7873
7881
|
"default": "'top'"
|
|
7874
7882
|
}
|
|
7875
7883
|
},
|
|
@@ -7958,7 +7966,7 @@
|
|
|
7958
7966
|
{
|
|
7959
7967
|
"name": "placement",
|
|
7960
7968
|
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
7961
|
-
"type": "
|
|
7969
|
+
"type": "'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end'"
|
|
7962
7970
|
},
|
|
7963
7971
|
{
|
|
7964
7972
|
"name": "disabled",
|
|
@@ -228,7 +228,7 @@ var SdTextarea = class extends SolidElement {
|
|
|
228
228
|
textareaState === "disabled" || textareaState === "visuallyDisabled" ? "text-neutral-500" : "text-black",
|
|
229
229
|
["invalid", "activeInvalid"].includes(textareaState) && "form-control--invalid-color-background"
|
|
230
230
|
)}"><textarea part="textarea" id="input" class="${cx(
|
|
231
|
-
"ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-7-0-0-next-
|
|
231
|
+
"ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-7-0-0-next-3-icon]:pe-8",
|
|
232
232
|
{
|
|
233
233
|
sm: isFloatingLabelActive ? "pb-1" : "py-2",
|
|
234
234
|
md: isFloatingLabelActive ? "pb-1" : "py-2",
|
|
@@ -236,7 +236,7 @@ var SdTextarea = class extends SolidElement {
|
|
|
236
236
|
}[this.size],
|
|
237
237
|
this.disabled && "cursor-not-allowed",
|
|
238
238
|
textSize
|
|
239
|
-
)}" title="${this.title}" name="${ifDefined(this.name)}" .value="${live(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel || isFloatingLabelActive ? ifDefined(this.placeholder) : ""}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" rows="${ifDefined(this.rows)}" autocapitalize="${ifDefined(this.autocapitalize)}" autocorrect="${ifDefined(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${ifDefined(this.spellcheck)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled || this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-7-0-0-next-
|
|
239
|
+
)}" title="${this.title}" name="${ifDefined(this.name)}" .value="${live(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel || isFloatingLabelActive ? ifDefined(this.placeholder) : ""}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" rows="${ifDefined(this.rows)}" autocapitalize="${ifDefined(this.autocapitalize)}" autocorrect="${ifDefined(this.autocorrect === void 0 ? void 0 : this.autocorrect ? "on" : "off")}" ?autofocus="${this.autofocus}" spellcheck="${ifDefined(this.spellcheck)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled || this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-7-0-0-next-3-icon class="${cx("text-error absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="risk" part="invalid-icon"></sd-7-0-0-next-3-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-7-0-0-next-3-icon class="${cx("text-success absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-7-0-0-next-3-icon>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx(
|
|
240
240
|
"text-sm mt-1",
|
|
241
241
|
hasHelpText && !this.showInvalidStyle ? "block" : "hidden",
|
|
242
242
|
this.visuallyDisabled || this.disabled ? "text-neutral-500" : "text-neutral-700"
|
|
@@ -318,7 +318,15 @@ __decorateClass([
|
|
|
318
318
|
property({ type: String, reflect: true })
|
|
319
319
|
], SdTextarea.prototype, "autocapitalize", 2);
|
|
320
320
|
__decorateClass([
|
|
321
|
-
property({
|
|
321
|
+
property({
|
|
322
|
+
type: Boolean,
|
|
323
|
+
reflect: true,
|
|
324
|
+
converter: {
|
|
325
|
+
// Allow "on|off" attribute values but keep the property boolean
|
|
326
|
+
fromAttribute: (value) => value !== "off",
|
|
327
|
+
toAttribute: (value) => value ? "on" : "off"
|
|
328
|
+
}
|
|
329
|
+
})
|
|
322
330
|
], SdTextarea.prototype, "autocorrect", 2);
|
|
323
331
|
__decorateClass([
|
|
324
332
|
property({ reflect: true })
|
|
@@ -361,7 +369,7 @@ __decorateClass([
|
|
|
361
369
|
watch(["size", "floatingLabel"])
|
|
362
370
|
], SdTextarea.prototype, "handleSizeChange", 1);
|
|
363
371
|
SdTextarea = __decorateClass([
|
|
364
|
-
customElement("sd-7-0-0-next-
|
|
372
|
+
customElement("sd-7-0-0-next-3-textarea")
|
|
365
373
|
], SdTextarea);
|
|
366
374
|
|
|
367
375
|
export {
|
|
@@ -24,7 +24,7 @@ var SdTab = class extends SolidElement {
|
|
|
24
24
|
constructor() {
|
|
25
25
|
super(...arguments);
|
|
26
26
|
this.attrId = ++id;
|
|
27
|
-
this.componentId = `sd-7-0-0-next-
|
|
27
|
+
this.componentId = `sd-7-0-0-next-3-tab-${this.attrId}`;
|
|
28
28
|
this.hasSlotController = new HasSlotController(this, "left");
|
|
29
29
|
this.localize = new LocalizeController(this);
|
|
30
30
|
this.variant = "default";
|
|
@@ -62,17 +62,17 @@ var SdTab = class extends SolidElement {
|
|
|
62
62
|
"outline-hidden focus-visible:focus-outline outline-2 !-outline-offset-2 transition-all duration-fast ease-in-out",
|
|
63
63
|
this.variant === "container" ? "tab-container-border bg-white rounded-[4px_4px_0_0]" : "navigable-border-radius",
|
|
64
64
|
this.variant === "container" && this.active && "tab--active-container-border bg-white",
|
|
65
|
-
this.disabled || this.visuallyDisabled ? "!cursor-not-allowed" : "hover:sd-7-0-0-next-
|
|
66
|
-
this.active && "z-20 sd-7-0-0-next-
|
|
65
|
+
this.disabled || this.visuallyDisabled ? "!cursor-not-allowed" : "hover:sd-7-0-0-next-3-tab--hover-color-background",
|
|
66
|
+
this.active && "z-20 sd-7-0-0-next-3-tab--active-color-text"
|
|
67
67
|
)}" tabindex="${!this.active || this.disabled ? "-1" : "0"}"><div class="${cx("flex h-full items-center justify-center whitespace-nowrap")}"><slot name="left" class="${cx(
|
|
68
68
|
slots.left && "block pr-2",
|
|
69
|
-
this.disabled || this.visuallyDisabled ? "sd-7-0-0-next-
|
|
69
|
+
this.disabled || this.visuallyDisabled ? "sd-7-0-0-next-3-tab--disabled-color-text" : this.active ? "sd-7-0-0-next-3-tab--active-color-text" : "sd-7-0-0-next-3-tab-color-text"
|
|
70
70
|
)}"></slot><slot class="${cx(
|
|
71
|
-
this.disabled || this.visuallyDisabled ? "sd-7-0-0-next-
|
|
71
|
+
this.disabled || this.visuallyDisabled ? "sd-7-0-0-next-3-tab--disabled-color-text" : this.active ? "sd-7-0-0-next-3-tab--active-color-text" : "sd-7-0-0-next-3-tab-color-text"
|
|
72
72
|
)}"></slot>${this.variant === "container" ? html`<div part="active-tab-indicator" class="${cx(
|
|
73
73
|
"absolute bottom-0 h-1 bg-accent w-3/4 bottom-0 group-hover:w-[calc(100%-2px)] navigable__current-indicator-height navigable__current-indicator-border-radius"
|
|
74
74
|
)}"></div>` : ""}<div part="hover-bottom-border" class="${cx(
|
|
75
|
-
!this.active && !this.disabled && "absolute bottom-0 left-0 w-full h-0.25 border-b sd-7-0-0-next-
|
|
75
|
+
!this.active && !this.disabled && "absolute bottom-0 left-0 w-full h-0.25 border-b sd-7-0-0-next-3-tab-color-border"
|
|
76
76
|
)}"></div></div></div>`;
|
|
77
77
|
}
|
|
78
78
|
};
|
|
@@ -109,7 +109,7 @@ __decorateClass([
|
|
|
109
109
|
watch(["disabled", "visually-disabled"])
|
|
110
110
|
], SdTab.prototype, "handleDisabledChange", 1);
|
|
111
111
|
SdTab = __decorateClass([
|
|
112
|
-
customElement("sd-7-0-0-next-
|
|
112
|
+
customElement("sd-7-0-0-next-3-tab")
|
|
113
113
|
], SdTab);
|
|
114
114
|
|
|
115
115
|
export {
|
|
@@ -211,22 +211,22 @@ var SdNotification = class extends SolidElement {
|
|
|
211
211
|
warning: "bg-warning",
|
|
212
212
|
error: "bg-error"
|
|
213
213
|
}[this.variant]
|
|
214
|
-
)}"><sd-7-0-0-next-
|
|
214
|
+
)}"><sd-7-0-0-next-3-icon name="${{
|
|
215
215
|
info: "info-circle",
|
|
216
216
|
success: "confirm-circle",
|
|
217
217
|
warning: "exclamation-circle",
|
|
218
218
|
error: "warning"
|
|
219
|
-
}[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-7-0-0-next-
|
|
219
|
+
}[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-7-0-0-next-3-icon></slot><div part="content" class="${cx(
|
|
220
220
|
"h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
|
|
221
|
-
"border-solid border-[1px] border-l-0 sd-7-0-0-next-
|
|
221
|
+
"border-solid border-[1px] border-l-0 sd-7-0-0-next-3-notification-color-border",
|
|
222
222
|
{
|
|
223
|
-
info: "sd-7-0-0-next-
|
|
224
|
-
success: "sd-7-0-0-next-
|
|
225
|
-
warning: "sd-7-0-0-next-
|
|
226
|
-
error: "sd-7-0-0-next-
|
|
223
|
+
info: "sd-7-0-0-next-3-notification--info-color-background",
|
|
224
|
+
success: "sd-7-0-0-next-3-notification--success-color-background",
|
|
225
|
+
warning: "sd-7-0-0-next-3-notification--warning-color-background",
|
|
226
|
+
error: "sd-7-0-0-next-3-notification--error-color-background"
|
|
227
227
|
}[this.variant]
|
|
228
|
-
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-7-0-0-next-
|
|
229
|
-
`absolute w-0 h-[2px] bottom-0 sd-7-0-0-next-
|
|
228
|
+
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-7-0-0-next-3-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-7-0-0-next-3-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-7-0-0-next-3-icon></sd-7-0-0-next-3-button>` : ""}</div>${this.durationIndicator ? html`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${cx(
|
|
229
|
+
`absolute w-0 h-[2px] bottom-0 sd-7-0-0-next-3-notification__duration-indicator-color-background z-10 animate-grow`
|
|
230
230
|
)}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>` : ""}</div></div>`;
|
|
231
231
|
}
|
|
232
232
|
};
|
|
@@ -272,7 +272,7 @@ __decorateClass([
|
|
|
272
272
|
watch("duration")
|
|
273
273
|
], SdNotification.prototype, "handleDurationChange", 1);
|
|
274
274
|
SdNotification = __decorateClass([
|
|
275
|
-
customElement("sd-7-0-0-next-
|
|
275
|
+
customElement("sd-7-0-0-next-3-notification")
|
|
276
276
|
], SdNotification);
|
|
277
277
|
setDefaultAnimation("notification.show", {
|
|
278
278
|
keyframes: [
|
|
@@ -62,7 +62,7 @@ var SdStepGroup = class extends SolidElement {
|
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
getAllSteps() {
|
|
65
|
-
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-7-0-0-next-
|
|
65
|
+
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-7-0-0-next-3-step");
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* Sets the active step.
|
|
@@ -137,7 +137,7 @@ __decorateClass([
|
|
|
137
137
|
watch("notInteractive")
|
|
138
138
|
], SdStepGroup.prototype, "handleInteractivityChange", 1);
|
|
139
139
|
SdStepGroup = __decorateClass([
|
|
140
|
-
customElement("sd-7-0-0-next-
|
|
140
|
+
customElement("sd-7-0-0-next-3-step-group")
|
|
141
141
|
], SdStepGroup);
|
|
142
142
|
|
|
143
143
|
export {
|
|
@@ -25,11 +25,11 @@ var SdOptgroup = class extends SolidElement {
|
|
|
25
25
|
this.label = "";
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
* Syncs the disabled prop for all slotted sd-7-0-0-next-
|
|
28
|
+
* Syncs the disabled prop for all slotted sd-7-0-0-next-3-options when it is triggered
|
|
29
29
|
*/
|
|
30
30
|
handleDisableOptions() {
|
|
31
31
|
const { disabled } = this;
|
|
32
|
-
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-7-0-0-next-
|
|
32
|
+
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-7-0-0-next-3-option").forEach((opt) => {
|
|
33
33
|
opt.disabled = disabled;
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -38,7 +38,7 @@ var SdOptgroup = class extends SolidElement {
|
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
40
|
const { disabled } = this;
|
|
41
|
-
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-7-0-0-next-
|
|
41
|
+
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-7-0-0-next-3-divider id="divider" class="pt-2 pb-4" part="divider"></sd-7-0-0-next-3-divider><div part="label-container" class="${cx(this.disabled ? "text-neutral-500" : "text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`;
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
SdOptgroup.styles = [
|
|
@@ -59,7 +59,7 @@ __decorateClass([
|
|
|
59
59
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
60
60
|
], SdOptgroup.prototype, "handleDisabledChange", 1);
|
|
61
61
|
SdOptgroup = __decorateClass([
|
|
62
|
-
customElement("sd-7-0-0-next-
|
|
62
|
+
customElement("sd-7-0-0-next-3-optgroup")
|
|
63
63
|
], SdOptgroup);
|
|
64
64
|
|
|
65
65
|
export {
|
|
@@ -54,7 +54,7 @@ var SdHeader = class extends SolidElement {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return html`<header class="w-full sd-7-0-0-next-
|
|
57
|
+
return html`<header class="w-full sd-7-0-0-next-3-header-color-background sd-7-0-0-next-3-header-padding-bottom relative" role="banner"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`;
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
SdHeader.styles = [
|
|
@@ -72,7 +72,7 @@ __decorateClass([
|
|
|
72
72
|
debounce(100)
|
|
73
73
|
], SdHeader.prototype, "updateCalculatedHeight", 1);
|
|
74
74
|
SdHeader = __decorateClass([
|
|
75
|
-
customElement("sd-7-0-0-next-
|
|
75
|
+
customElement("sd-7-0-0-next-3-header")
|
|
76
76
|
], SdHeader);
|
|
77
77
|
|
|
78
78
|
export {
|
|
@@ -15,7 +15,7 @@ var FormControlController = class {
|
|
|
15
15
|
const disabled = this.options.disabled(this.host);
|
|
16
16
|
const name = this.options.name(this.host);
|
|
17
17
|
const value = this.options.value(this.host);
|
|
18
|
-
const isButton = this.host.tagName.toLowerCase() === "sd-7-0-0-next-
|
|
18
|
+
const isButton = this.host.tagName.toLowerCase() === "sd-7-0-0-next-3-button";
|
|
19
19
|
if (!disabled && !isButton && typeof name === "string" && name.length > 0 && typeof value !== "undefined") {
|
|
20
20
|
if (Array.isArray(value)) {
|
|
21
21
|
value.forEach((val) => {
|
|
@@ -40,7 +40,7 @@ var FormControlController = class {
|
|
|
40
40
|
event.stopImmediatePropagation();
|
|
41
41
|
const invalidElements = (_b = this.form) == null ? void 0 : _b.querySelectorAll("[data-invalid]");
|
|
42
42
|
const sdRadioGroups = Array.from(invalidElements).filter(
|
|
43
|
-
(element) => element.tagName.toLowerCase() === "sd-7-0-0-next-
|
|
43
|
+
(element) => element.tagName.toLowerCase() === "sd-7-0-0-next-3-radio-group"
|
|
44
44
|
);
|
|
45
45
|
sdRadioGroups.forEach((radioGroup) => {
|
|
46
46
|
var _a2, _b2;
|
|
@@ -26,7 +26,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
26
26
|
this.helpText = "";
|
|
27
27
|
}
|
|
28
28
|
getAllCheckboxes() {
|
|
29
|
-
return [...this.querySelectorAll("sd-7-0-0-next-
|
|
29
|
+
return [...this.querySelectorAll("sd-7-0-0-next-3-checkbox")];
|
|
30
30
|
}
|
|
31
31
|
async syncCheckboxElements() {
|
|
32
32
|
const checkboxes = this.getAllCheckboxes();
|
|
@@ -39,10 +39,10 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
41
|
syncCheckboxes() {
|
|
42
|
-
if (customElements.get("sd-7-0-0-next-
|
|
42
|
+
if (customElements.get("sd-7-0-0-next-3-checkbox")) {
|
|
43
43
|
this.syncCheckboxElements();
|
|
44
44
|
} else {
|
|
45
|
-
customElements.whenDefined("sd-7-0-0-next-
|
|
45
|
+
customElements.whenDefined("sd-7-0-0-next-3-checkbox").then(() => this.syncCheckboxes());
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
handleSizeChange() {
|
|
@@ -80,7 +80,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
80
80
|
SdCheckboxGroup.styles = [
|
|
81
81
|
...SolidElement.styles,
|
|
82
82
|
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
83
|
-
:host{display:block}:host([orientation=vertical]) ::slotted(sd-7-0-0-next-
|
|
83
|
+
:host{display:block}:host([orientation=vertical]) ::slotted(sd-7-0-0-next-3-checkbox){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-7-0-0-next-3-checkbox:last-of-type){margin-bottom:0}:host([orientation=horizontal]) ::slotted(sd-7-0-0-next-3-checkbox){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-7-0-0-next-3-checkbox:last-of-type){margin-right:0}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-7-0-0-next-3-checkbox){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-7-0-0-next-3-checkbox:last-of-type){margin-right:0}`
|
|
84
84
|
];
|
|
85
85
|
__decorateClass([
|
|
86
86
|
property({ type: String, reflect: true })
|
|
@@ -101,7 +101,7 @@ __decorateClass([
|
|
|
101
101
|
watch("invalid", { waitUntilFirstUpdate: true })
|
|
102
102
|
], SdCheckboxGroup.prototype, "handleInvalid", 1);
|
|
103
103
|
SdCheckboxGroup = __decorateClass([
|
|
104
|
-
customElement("sd-7-0-0-next-
|
|
104
|
+
customElement("sd-7-0-0-next-3-checkbox-group")
|
|
105
105
|
], SdCheckboxGroup);
|
|
106
106
|
|
|
107
107
|
export {
|
|
@@ -208,7 +208,7 @@ var SdDrawer = class extends SolidElement {
|
|
|
208
208
|
end: "top-0 end-0 bottom-auto start-auto w-[var(--width)] h-full",
|
|
209
209
|
start: "top-0 end-auto bottom-auto start-0 w-[var(--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:64px"><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-7-0-0-next-
|
|
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:64px"><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-7-0-0-next-3-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-7-0-0-next-3-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-7-0-0-next-3-icon></sd-7-0-0-next-3-button></div></header>` : html`<sd-7-0-0-next-3-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}" class="absolute top-2 end-2 z-10"><sd-7-0-0-next-3-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-7-0-0-next-3-icon></sd-7-0-0-next-3-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 = [
|
|
@@ -250,7 +250,7 @@ __decorateClass([
|
|
|
250
250
|
watch("contained", { waitUntilFirstUpdate: true })
|
|
251
251
|
], SdDrawer.prototype, "handleNoModalChange", 1);
|
|
252
252
|
SdDrawer = __decorateClass([
|
|
253
|
-
customElement("sd-7-0-0-next-
|
|
253
|
+
customElement("sd-7-0-0-next-3-drawer")
|
|
254
254
|
], SdDrawer);
|
|
255
255
|
setDefaultAnimation("drawer.showStart", {
|
|
256
256
|
keyframes: [
|