@solid-design-system/components 4.10.0 → 4.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.RZINWES7.js +3 -0
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/custom-elements.json +244 -244
- package/cdn/solid-components.bundle.js +1 -1
- package/cdn/solid-components.iife.js +1 -1
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +42 -42
- package/cdn/web-types.json +95 -95
- package/cdn-versioned/_components/menu/menu.js +1 -1
- package/cdn-versioned/_components/menu/menu.styles.js +1 -1
- package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
- package/cdn-versioned/chunks/chunk.2XZZWTI2.js +1 -1
- package/cdn-versioned/chunks/chunk.4D5G5PFQ.js +1 -1
- package/cdn-versioned/chunks/chunk.4GU3VMG2.js +1 -1
- package/cdn-versioned/chunks/chunk.53YBES5S.js +1 -1
- package/cdn-versioned/chunks/chunk.5HYU75RE.js +1 -1
- package/cdn-versioned/chunks/chunk.67UPRVLG.js +4 -4
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/chunk.A3AHQI37.js +1 -1
- package/cdn-versioned/chunks/chunk.ADDDVS6W.js +1 -1
- package/cdn-versioned/chunks/chunk.AHXJHNQ7.js +1 -1
- package/cdn-versioned/chunks/chunk.B62VWQ7C.js +1 -1
- package/cdn-versioned/chunks/chunk.BRAJGYMM.js +1 -1
- package/cdn-versioned/chunks/chunk.C74Q5TJX.js +3 -3
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.CIKOD7QT.js +1 -1
- package/cdn-versioned/chunks/chunk.DQ3ZESZK.js +2 -2
- package/cdn-versioned/chunks/chunk.E4JOV74T.js +1 -1
- package/cdn-versioned/chunks/chunk.E4YB3LZK.js +1 -1
- package/cdn-versioned/chunks/chunk.ETB7FHWC.js +1 -1
- package/cdn-versioned/chunks/chunk.F3EVJTED.js +1 -1
- package/cdn-versioned/chunks/chunk.FZHMZAIV.js +1 -1
- package/cdn-versioned/chunks/chunk.GUCU2YK5.js +1 -1
- package/cdn-versioned/chunks/chunk.HB2MDLS4.js +1 -1
- package/cdn-versioned/chunks/chunk.HBBILILZ.js +1 -1
- package/cdn-versioned/chunks/chunk.HT7C2KQ3.js +1 -1
- package/cdn-versioned/chunks/chunk.HTEPIDNH.js +2 -2
- package/cdn-versioned/chunks/chunk.HVKAMCXX.js +1 -1
- package/cdn-versioned/chunks/chunk.JIODFCR2.js +1 -1
- package/cdn-versioned/chunks/chunk.JXFEK45U.js +1 -1
- package/cdn-versioned/chunks/chunk.KVDKWL34.js +1 -1
- package/cdn-versioned/chunks/chunk.NPUXUQCC.js +1 -1
- package/cdn-versioned/chunks/chunk.PTSISQCW.js +1 -1
- package/cdn-versioned/chunks/chunk.QLGX6E5R.js +1 -1
- package/cdn-versioned/chunks/chunk.QM2SZYDM.js +1 -1
- package/cdn-versioned/chunks/chunk.QVTWOB7V.js +4 -4
- package/cdn-versioned/chunks/chunk.QX3REGZG.js +1 -1
- package/cdn-versioned/chunks/chunk.RATITDF2.js +1 -1
- package/cdn-versioned/chunks/chunk.RKVW7KG4.js +1 -1
- package/cdn-versioned/chunks/chunk.RZINWES7.js +3 -0
- package/cdn-versioned/chunks/chunk.SJYLPRLG.js +1 -1
- package/cdn-versioned/chunks/chunk.SKIEUJZN.js +1 -1
- package/cdn-versioned/chunks/chunk.T4JP7QUW.js +1 -1
- package/cdn-versioned/chunks/chunk.TMVIWO7D.js +1 -1
- package/cdn-versioned/chunks/chunk.TSSJABGO.js +1 -1
- package/cdn-versioned/chunks/chunk.UKXOMULO.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WKQAOKOH.js +1 -1
- package/cdn-versioned/chunks/chunk.XXPYJZI4.js +1 -1
- package/cdn-versioned/chunks/chunk.Y3WFK6NY.js +1 -1
- package/cdn-versioned/chunks/chunk.YMXJOB2H.js +1 -1
- package/cdn-versioned/chunks/chunk.YSFDXYDA.js +1 -1
- package/cdn-versioned/chunks/chunk.ZB5RQUA2.js +1 -1
- package/cdn-versioned/chunks/chunk.ZXGG5GRH.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/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/map-marker/map-marker.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 +2 -2
- 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 +2 -2
- 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/switch/switch.js +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 +450 -450
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +16 -16
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +16 -16
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +120 -120
- package/cdn-versioned/web-types.json +227 -227
- package/dist/chunks/{chunk.CYM2Q7GX.js → chunk.ZXC3A5GK.js} +3 -3
- package/dist/components/switch/switch.js +1 -1
- package/dist/custom-elements.json +244 -244
- package/dist/solid-components.js +1 -1
- package/dist/vscode.html-custom-data.json +42 -42
- package/dist/web-types.json +95 -95
- package/dist-versioned/_components/menu/menu.js +1 -1
- package/dist-versioned/_components/menu/menu.styles.js +1 -1
- package/dist-versioned/_components/menu-item/menu-item.js +2 -2
- package/dist-versioned/chunks/chunk.27LAMXW5.js +5 -5
- package/dist-versioned/chunks/chunk.4LV4VHB5.js +9 -9
- package/dist-versioned/chunks/chunk.4TLTIOIY.js +2 -2
- package/dist-versioned/chunks/chunk.4UEQEUQ5.js +1 -1
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6V7KPUGO.js +2 -2
- package/dist-versioned/chunks/chunk.7VCFYOV5.js +1 -1
- package/dist-versioned/chunks/chunk.B7BIS5Y4.js +1 -1
- package/dist-versioned/chunks/chunk.BABTMD4T.js +4 -4
- package/dist-versioned/chunks/chunk.BJSTXBIQ.js +2 -2
- package/dist-versioned/chunks/chunk.BWIRKW7E.js +26 -26
- package/dist-versioned/chunks/chunk.C2LS4326.js +2 -2
- package/dist-versioned/chunks/chunk.C4WMHAOW.js +1 -1
- package/dist-versioned/chunks/chunk.CMK6UTW6.js +2 -2
- package/dist-versioned/chunks/chunk.CWJB3CZO.js +1 -1
- package/dist-versioned/chunks/chunk.DYRAOE5L.js +2 -2
- package/dist-versioned/chunks/chunk.E73VDVFB.js +5 -5
- package/dist-versioned/chunks/chunk.ECH5BTRG.js +6 -6
- package/dist-versioned/chunks/chunk.EQRUJQQW.js +2 -2
- package/dist-versioned/chunks/chunk.ERRAXV4M.js +1 -1
- package/dist-versioned/chunks/chunk.EYTEM45R.js +3 -3
- package/dist-versioned/chunks/chunk.F4UAU4OM.js +5 -5
- package/dist-versioned/chunks/chunk.GAJFV5V3.js +2 -2
- package/dist-versioned/chunks/chunk.H36YEYQD.js +3 -3
- package/dist-versioned/chunks/chunk.HEYBJG64.js +4 -4
- package/dist-versioned/chunks/chunk.IFJ7LPJV.js +2 -2
- package/dist-versioned/chunks/chunk.JNJHWACL.js +3 -3
- package/dist-versioned/chunks/chunk.JNTED6KG.js +5 -5
- package/dist-versioned/chunks/chunk.JQD4QY3H.js +5 -5
- package/dist-versioned/chunks/chunk.KNZPI3QD.js +2 -2
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.KWP3CREC.js +8 -8
- package/dist-versioned/chunks/chunk.LOW4LWP6.js +2 -2
- package/dist-versioned/chunks/chunk.LQKJMBVH.js +2 -2
- package/dist-versioned/chunks/chunk.LW7RVQTS.js +2 -2
- package/dist-versioned/chunks/chunk.MSSKOOJJ.js +11 -11
- package/dist-versioned/chunks/chunk.NI45NXZV.js +3 -3
- package/dist-versioned/chunks/chunk.O7OXBLZU.js +2 -2
- package/dist-versioned/chunks/chunk.OWACJFST.js +1 -1
- package/dist-versioned/chunks/chunk.QCQLFJGJ.js +13 -13
- package/dist-versioned/chunks/chunk.QEQDPEN2.js +1 -1
- package/dist-versioned/chunks/chunk.QTZYBV5A.js +24 -24
- package/dist-versioned/chunks/chunk.R3PPZNKA.js +2 -2
- package/dist-versioned/chunks/chunk.RWUFX5GL.js +1 -1
- package/dist-versioned/chunks/chunk.T5QL4V5F.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.ULQU6P3E.js +6 -6
- package/dist-versioned/chunks/chunk.VOWE6LHF.js +14 -14
- package/dist-versioned/chunks/chunk.VUKS4CBF.js +1 -1
- package/dist-versioned/chunks/chunk.X7IRGFBS.js +1 -1
- package/dist-versioned/chunks/chunk.YGRJQZFR.js +1 -1
- package/dist-versioned/chunks/chunk.ZMWGNTP6.js +5 -5
- package/dist-versioned/chunks/{chunk.CYM2Q7GX.js → chunk.ZXC3A5GK.js} +4 -4
- 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/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/map-marker/map-marker.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 +2 -2
- 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 +2 -2
- 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/switch/switch.js +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 +450 -450
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +120 -120
- package/dist-versioned/web-types.json +227 -227
- package/package.json +2 -2
- package/cdn/chunks/chunk.QJ2PJAKH.js +0 -3
- package/cdn-versioned/chunks/chunk.QJ2PJAKH.js +0 -3
|
@@ -110,10 +110,10 @@ var SdSwitch = class extends SolidElement {
|
|
|
110
110
|
)}"><input id="input" class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" role="switch" title="${this.title}" name="${this.name}" value="${ifDefined(this.value)}" .checked="${live(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="invalid-message" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked ? " control--checked" : "control--unchecked"}" class="${cx(
|
|
111
111
|
`relative flex flex-initial items-center justify-center border rounded-full h-4 w-8 transition-colors ease duration-100
|
|
112
112
|
peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2
|
|
113
|
-
peer-focus-visible:outline-primary`,
|
|
114
|
-
this.disabled && this.checked ? "border-neutral-500 bg-neutral-500" : this.disabled ? "border-neutral-500" : this.showInvalidStyle ? "border-error bg-error hover:bg-error-400" : this.checked ? "border-accent bg-accent hover:
|
|
113
|
+
peer-focus-visible:outline-primary transition-colors ease-in-out duration-medium hover:duration-fast`,
|
|
114
|
+
this.disabled && this.checked ? "border-neutral-500 bg-neutral-500" : this.disabled ? "border-neutral-500" : this.showInvalidStyle ? "border-error hover:border-error-400 bg-error hover:bg-error-400 group-hover:bg-error-400" : this.checked ? "border-accent hover:bg-accent-550 bg-accent hover:border-accent-550 group-hover:bg-accent-550" : "border-neutral-800 bg-white hover:bg-neutral-200 group-hover:bg-neutral-200"
|
|
115
115
|
)}"><span id="thumb" part="thumb" class="${cx(
|
|
116
|
-
"w-2.5 h-2.5 rounded-full transition
|
|
116
|
+
"w-2.5 h-2.5 rounded-full transition[transform,colors] ease-in-out duration-medium",
|
|
117
117
|
this.disabled && this.checked ? "bg-white translate-x-2" : this.disabled ? "-translate-x-2 bg-neutral-500" : this.showInvalidStyle ? "bg-white -translate-x-2" : this.checked ? "translate-x-2 bg-white" : "bg-neutral-800 -translate-x-2"
|
|
118
118
|
)}"></span> </span><span part="label" id="label" class="${cx(
|
|
119
119
|
"select-none inline-block ml-2",
|
|
@@ -3917,249 +3917,6 @@
|
|
|
3917
3917
|
}
|
|
3918
3918
|
]
|
|
3919
3919
|
},
|
|
3920
|
-
{
|
|
3921
|
-
"kind": "javascript-module",
|
|
3922
|
-
"path": "components/checkbox-group/checkbox-group.js",
|
|
3923
|
-
"declarations": [
|
|
3924
|
-
{
|
|
3925
|
-
"kind": "class",
|
|
3926
|
-
"description": "",
|
|
3927
|
-
"name": "SdCheckboxGroup",
|
|
3928
|
-
"slots": [
|
|
3929
|
-
{
|
|
3930
|
-
"description": "The default slot where `<sd-checkbox>` elements are placed.",
|
|
3931
|
-
"name": ""
|
|
3932
|
-
},
|
|
3933
|
-
{
|
|
3934
|
-
"description": "The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.",
|
|
3935
|
-
"name": "label"
|
|
3936
|
-
},
|
|
3937
|
-
{
|
|
3938
|
-
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-tooltip` component.",
|
|
3939
|
-
"name": "tooltip"
|
|
3940
|
-
},
|
|
3941
|
-
{
|
|
3942
|
-
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
3943
|
-
"name": "help-text"
|
|
3944
|
-
}
|
|
3945
|
-
],
|
|
3946
|
-
"members": [
|
|
3947
|
-
{
|
|
3948
|
-
"kind": "field",
|
|
3949
|
-
"name": "size",
|
|
3950
|
-
"type": {
|
|
3951
|
-
"text": "'lg' | 'md' | 'sm'"
|
|
3952
|
-
},
|
|
3953
|
-
"default": "'lg'",
|
|
3954
|
-
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
3955
|
-
"attribute": "size",
|
|
3956
|
-
"reflects": true
|
|
3957
|
-
},
|
|
3958
|
-
{
|
|
3959
|
-
"kind": "field",
|
|
3960
|
-
"name": "orientation",
|
|
3961
|
-
"type": {
|
|
3962
|
-
"text": "'horizontal' | 'vertical'"
|
|
3963
|
-
},
|
|
3964
|
-
"default": "'vertical'",
|
|
3965
|
-
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
3966
|
-
"attribute": "orientation",
|
|
3967
|
-
"reflects": true
|
|
3968
|
-
},
|
|
3969
|
-
{
|
|
3970
|
-
"kind": "field",
|
|
3971
|
-
"name": "label",
|
|
3972
|
-
"type": {
|
|
3973
|
-
"text": "string"
|
|
3974
|
-
},
|
|
3975
|
-
"default": "''",
|
|
3976
|
-
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
3977
|
-
"attribute": "label",
|
|
3978
|
-
"reflects": true
|
|
3979
|
-
},
|
|
3980
|
-
{
|
|
3981
|
-
"kind": "field",
|
|
3982
|
-
"name": "helpText",
|
|
3983
|
-
"type": {
|
|
3984
|
-
"text": "string"
|
|
3985
|
-
},
|
|
3986
|
-
"default": "''",
|
|
3987
|
-
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
3988
|
-
"attribute": "help-text",
|
|
3989
|
-
"reflects": true
|
|
3990
|
-
},
|
|
3991
|
-
{
|
|
3992
|
-
"kind": "field",
|
|
3993
|
-
"name": "dir",
|
|
3994
|
-
"type": {
|
|
3995
|
-
"text": "'ltr' | 'rtl' | 'auto'"
|
|
3996
|
-
},
|
|
3997
|
-
"description": "The element's directionality.",
|
|
3998
|
-
"attribute": "dir",
|
|
3999
|
-
"inheritedFrom": {
|
|
4000
|
-
"name": "SolidElement",
|
|
4001
|
-
"module": "internal/solid-element.js"
|
|
4002
|
-
}
|
|
4003
|
-
},
|
|
4004
|
-
{
|
|
4005
|
-
"kind": "field",
|
|
4006
|
-
"name": "lang",
|
|
4007
|
-
"type": {
|
|
4008
|
-
"text": "string"
|
|
4009
|
-
},
|
|
4010
|
-
"description": "The element's language.",
|
|
4011
|
-
"attribute": "lang",
|
|
4012
|
-
"inheritedFrom": {
|
|
4013
|
-
"name": "SolidElement",
|
|
4014
|
-
"module": "internal/solid-element.js"
|
|
4015
|
-
}
|
|
4016
|
-
},
|
|
4017
|
-
{
|
|
4018
|
-
"kind": "method",
|
|
4019
|
-
"name": "emit",
|
|
4020
|
-
"parameters": [
|
|
4021
|
-
{
|
|
4022
|
-
"name": "name",
|
|
4023
|
-
"type": {
|
|
4024
|
-
"text": "string"
|
|
4025
|
-
}
|
|
4026
|
-
},
|
|
4027
|
-
{
|
|
4028
|
-
"name": "options",
|
|
4029
|
-
"optional": true,
|
|
4030
|
-
"type": {
|
|
4031
|
-
"text": "CustomEventInit"
|
|
4032
|
-
}
|
|
4033
|
-
}
|
|
4034
|
-
],
|
|
4035
|
-
"description": "Emits a custom event with more convenient defaults.",
|
|
4036
|
-
"inheritedFrom": {
|
|
4037
|
-
"name": "SolidElement",
|
|
4038
|
-
"module": "internal/solid-element.js"
|
|
4039
|
-
}
|
|
4040
|
-
},
|
|
4041
|
-
{
|
|
4042
|
-
"kind": "method",
|
|
4043
|
-
"name": "token",
|
|
4044
|
-
"return": {
|
|
4045
|
-
"type": {
|
|
4046
|
-
"text": "T"
|
|
4047
|
-
}
|
|
4048
|
-
},
|
|
4049
|
-
"parameters": [
|
|
4050
|
-
{
|
|
4051
|
-
"name": "name",
|
|
4052
|
-
"type": {
|
|
4053
|
-
"text": "string"
|
|
4054
|
-
}
|
|
4055
|
-
},
|
|
4056
|
-
{
|
|
4057
|
-
"name": "fallback",
|
|
4058
|
-
"type": {
|
|
4059
|
-
"text": "T"
|
|
4060
|
-
}
|
|
4061
|
-
}
|
|
4062
|
-
],
|
|
4063
|
-
"description": "Retrieves the value of a css variable token.",
|
|
4064
|
-
"inheritedFrom": {
|
|
4065
|
-
"name": "SolidElement",
|
|
4066
|
-
"module": "internal/solid-element.js"
|
|
4067
|
-
}
|
|
4068
|
-
}
|
|
4069
|
-
],
|
|
4070
|
-
"attributes": [
|
|
4071
|
-
{
|
|
4072
|
-
"name": "size",
|
|
4073
|
-
"type": {
|
|
4074
|
-
"text": "'lg' | 'md' | 'sm'"
|
|
4075
|
-
},
|
|
4076
|
-
"default": "'lg'",
|
|
4077
|
-
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
4078
|
-
"fieldName": "size"
|
|
4079
|
-
},
|
|
4080
|
-
{
|
|
4081
|
-
"name": "orientation",
|
|
4082
|
-
"type": {
|
|
4083
|
-
"text": "'horizontal' | 'vertical'"
|
|
4084
|
-
},
|
|
4085
|
-
"default": "'vertical'",
|
|
4086
|
-
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
4087
|
-
"fieldName": "orientation"
|
|
4088
|
-
},
|
|
4089
|
-
{
|
|
4090
|
-
"name": "label",
|
|
4091
|
-
"type": {
|
|
4092
|
-
"text": "string"
|
|
4093
|
-
},
|
|
4094
|
-
"default": "''",
|
|
4095
|
-
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
4096
|
-
"fieldName": "label"
|
|
4097
|
-
},
|
|
4098
|
-
{
|
|
4099
|
-
"name": "help-text",
|
|
4100
|
-
"type": {
|
|
4101
|
-
"text": "string"
|
|
4102
|
-
},
|
|
4103
|
-
"default": "''",
|
|
4104
|
-
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
4105
|
-
"fieldName": "helpText"
|
|
4106
|
-
},
|
|
4107
|
-
{
|
|
4108
|
-
"name": "dir",
|
|
4109
|
-
"type": {
|
|
4110
|
-
"text": "'ltr' | 'rtl' | 'auto'"
|
|
4111
|
-
},
|
|
4112
|
-
"description": "The element's directionality.",
|
|
4113
|
-
"fieldName": "dir",
|
|
4114
|
-
"inheritedFrom": {
|
|
4115
|
-
"name": "SolidElement",
|
|
4116
|
-
"module": "src/internal/solid-element.ts"
|
|
4117
|
-
}
|
|
4118
|
-
},
|
|
4119
|
-
{
|
|
4120
|
-
"name": "lang",
|
|
4121
|
-
"type": {
|
|
4122
|
-
"text": "string"
|
|
4123
|
-
},
|
|
4124
|
-
"description": "The element's language.",
|
|
4125
|
-
"fieldName": "lang",
|
|
4126
|
-
"inheritedFrom": {
|
|
4127
|
-
"name": "SolidElement",
|
|
4128
|
-
"module": "src/internal/solid-element.ts"
|
|
4129
|
-
}
|
|
4130
|
-
}
|
|
4131
|
-
],
|
|
4132
|
-
"superclass": {
|
|
4133
|
-
"name": "SolidElement",
|
|
4134
|
-
"module": "/src/internal/solid-element"
|
|
4135
|
-
},
|
|
4136
|
-
"summary": "Checkbox groups are used to group multiple [checkbox](/components/checkbox). It provides only presentational functionality.",
|
|
4137
|
-
"documentation": "https://solid.union-investment.com/[storybook-link]/checkbox-group",
|
|
4138
|
-
"status": "stable",
|
|
4139
|
-
"since": "1.22.0",
|
|
4140
|
-
"tagName": "sd-checkbox-group",
|
|
4141
|
-
"customElement": true
|
|
4142
|
-
}
|
|
4143
|
-
],
|
|
4144
|
-
"exports": [
|
|
4145
|
-
{
|
|
4146
|
-
"kind": "js",
|
|
4147
|
-
"name": "default",
|
|
4148
|
-
"declaration": {
|
|
4149
|
-
"name": "SdCheckboxGroup",
|
|
4150
|
-
"module": "components/checkbox-group/checkbox-group.js"
|
|
4151
|
-
}
|
|
4152
|
-
},
|
|
4153
|
-
{
|
|
4154
|
-
"kind": "custom-element-definition",
|
|
4155
|
-
"name": "sd-checkbox-group",
|
|
4156
|
-
"declaration": {
|
|
4157
|
-
"name": "SdCheckboxGroup",
|
|
4158
|
-
"module": "components/checkbox-group/checkbox-group.js"
|
|
4159
|
-
}
|
|
4160
|
-
}
|
|
4161
|
-
]
|
|
4162
|
-
},
|
|
4163
3920
|
{
|
|
4164
3921
|
"kind": "javascript-module",
|
|
4165
3922
|
"path": "components/combobox/combobox.js",
|
|
@@ -16294,6 +16051,249 @@
|
|
|
16294
16051
|
}
|
|
16295
16052
|
]
|
|
16296
16053
|
},
|
|
16054
|
+
{
|
|
16055
|
+
"kind": "javascript-module",
|
|
16056
|
+
"path": "components/checkbox-group/checkbox-group.js",
|
|
16057
|
+
"declarations": [
|
|
16058
|
+
{
|
|
16059
|
+
"kind": "class",
|
|
16060
|
+
"description": "",
|
|
16061
|
+
"name": "SdCheckboxGroup",
|
|
16062
|
+
"slots": [
|
|
16063
|
+
{
|
|
16064
|
+
"description": "The default slot where `<sd-checkbox>` elements are placed.",
|
|
16065
|
+
"name": ""
|
|
16066
|
+
},
|
|
16067
|
+
{
|
|
16068
|
+
"description": "The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.",
|
|
16069
|
+
"name": "label"
|
|
16070
|
+
},
|
|
16071
|
+
{
|
|
16072
|
+
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-tooltip` component.",
|
|
16073
|
+
"name": "tooltip"
|
|
16074
|
+
},
|
|
16075
|
+
{
|
|
16076
|
+
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
16077
|
+
"name": "help-text"
|
|
16078
|
+
}
|
|
16079
|
+
],
|
|
16080
|
+
"members": [
|
|
16081
|
+
{
|
|
16082
|
+
"kind": "field",
|
|
16083
|
+
"name": "size",
|
|
16084
|
+
"type": {
|
|
16085
|
+
"text": "'lg' | 'md' | 'sm'"
|
|
16086
|
+
},
|
|
16087
|
+
"default": "'lg'",
|
|
16088
|
+
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
16089
|
+
"attribute": "size",
|
|
16090
|
+
"reflects": true
|
|
16091
|
+
},
|
|
16092
|
+
{
|
|
16093
|
+
"kind": "field",
|
|
16094
|
+
"name": "orientation",
|
|
16095
|
+
"type": {
|
|
16096
|
+
"text": "'horizontal' | 'vertical'"
|
|
16097
|
+
},
|
|
16098
|
+
"default": "'vertical'",
|
|
16099
|
+
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
16100
|
+
"attribute": "orientation",
|
|
16101
|
+
"reflects": true
|
|
16102
|
+
},
|
|
16103
|
+
{
|
|
16104
|
+
"kind": "field",
|
|
16105
|
+
"name": "label",
|
|
16106
|
+
"type": {
|
|
16107
|
+
"text": "string"
|
|
16108
|
+
},
|
|
16109
|
+
"default": "''",
|
|
16110
|
+
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
16111
|
+
"attribute": "label",
|
|
16112
|
+
"reflects": true
|
|
16113
|
+
},
|
|
16114
|
+
{
|
|
16115
|
+
"kind": "field",
|
|
16116
|
+
"name": "helpText",
|
|
16117
|
+
"type": {
|
|
16118
|
+
"text": "string"
|
|
16119
|
+
},
|
|
16120
|
+
"default": "''",
|
|
16121
|
+
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
16122
|
+
"attribute": "help-text",
|
|
16123
|
+
"reflects": true
|
|
16124
|
+
},
|
|
16125
|
+
{
|
|
16126
|
+
"kind": "field",
|
|
16127
|
+
"name": "dir",
|
|
16128
|
+
"type": {
|
|
16129
|
+
"text": "'ltr' | 'rtl' | 'auto'"
|
|
16130
|
+
},
|
|
16131
|
+
"description": "The element's directionality.",
|
|
16132
|
+
"attribute": "dir",
|
|
16133
|
+
"inheritedFrom": {
|
|
16134
|
+
"name": "SolidElement",
|
|
16135
|
+
"module": "internal/solid-element.js"
|
|
16136
|
+
}
|
|
16137
|
+
},
|
|
16138
|
+
{
|
|
16139
|
+
"kind": "field",
|
|
16140
|
+
"name": "lang",
|
|
16141
|
+
"type": {
|
|
16142
|
+
"text": "string"
|
|
16143
|
+
},
|
|
16144
|
+
"description": "The element's language.",
|
|
16145
|
+
"attribute": "lang",
|
|
16146
|
+
"inheritedFrom": {
|
|
16147
|
+
"name": "SolidElement",
|
|
16148
|
+
"module": "internal/solid-element.js"
|
|
16149
|
+
}
|
|
16150
|
+
},
|
|
16151
|
+
{
|
|
16152
|
+
"kind": "method",
|
|
16153
|
+
"name": "emit",
|
|
16154
|
+
"parameters": [
|
|
16155
|
+
{
|
|
16156
|
+
"name": "name",
|
|
16157
|
+
"type": {
|
|
16158
|
+
"text": "string"
|
|
16159
|
+
}
|
|
16160
|
+
},
|
|
16161
|
+
{
|
|
16162
|
+
"name": "options",
|
|
16163
|
+
"optional": true,
|
|
16164
|
+
"type": {
|
|
16165
|
+
"text": "CustomEventInit"
|
|
16166
|
+
}
|
|
16167
|
+
}
|
|
16168
|
+
],
|
|
16169
|
+
"description": "Emits a custom event with more convenient defaults.",
|
|
16170
|
+
"inheritedFrom": {
|
|
16171
|
+
"name": "SolidElement",
|
|
16172
|
+
"module": "internal/solid-element.js"
|
|
16173
|
+
}
|
|
16174
|
+
},
|
|
16175
|
+
{
|
|
16176
|
+
"kind": "method",
|
|
16177
|
+
"name": "token",
|
|
16178
|
+
"return": {
|
|
16179
|
+
"type": {
|
|
16180
|
+
"text": "T"
|
|
16181
|
+
}
|
|
16182
|
+
},
|
|
16183
|
+
"parameters": [
|
|
16184
|
+
{
|
|
16185
|
+
"name": "name",
|
|
16186
|
+
"type": {
|
|
16187
|
+
"text": "string"
|
|
16188
|
+
}
|
|
16189
|
+
},
|
|
16190
|
+
{
|
|
16191
|
+
"name": "fallback",
|
|
16192
|
+
"type": {
|
|
16193
|
+
"text": "T"
|
|
16194
|
+
}
|
|
16195
|
+
}
|
|
16196
|
+
],
|
|
16197
|
+
"description": "Retrieves the value of a css variable token.",
|
|
16198
|
+
"inheritedFrom": {
|
|
16199
|
+
"name": "SolidElement",
|
|
16200
|
+
"module": "internal/solid-element.js"
|
|
16201
|
+
}
|
|
16202
|
+
}
|
|
16203
|
+
],
|
|
16204
|
+
"attributes": [
|
|
16205
|
+
{
|
|
16206
|
+
"name": "size",
|
|
16207
|
+
"type": {
|
|
16208
|
+
"text": "'lg' | 'md' | 'sm'"
|
|
16209
|
+
},
|
|
16210
|
+
"default": "'lg'",
|
|
16211
|
+
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
16212
|
+
"fieldName": "size"
|
|
16213
|
+
},
|
|
16214
|
+
{
|
|
16215
|
+
"name": "orientation",
|
|
16216
|
+
"type": {
|
|
16217
|
+
"text": "'horizontal' | 'vertical'"
|
|
16218
|
+
},
|
|
16219
|
+
"default": "'vertical'",
|
|
16220
|
+
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
16221
|
+
"fieldName": "orientation"
|
|
16222
|
+
},
|
|
16223
|
+
{
|
|
16224
|
+
"name": "label",
|
|
16225
|
+
"type": {
|
|
16226
|
+
"text": "string"
|
|
16227
|
+
},
|
|
16228
|
+
"default": "''",
|
|
16229
|
+
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
16230
|
+
"fieldName": "label"
|
|
16231
|
+
},
|
|
16232
|
+
{
|
|
16233
|
+
"name": "help-text",
|
|
16234
|
+
"type": {
|
|
16235
|
+
"text": "string"
|
|
16236
|
+
},
|
|
16237
|
+
"default": "''",
|
|
16238
|
+
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
16239
|
+
"fieldName": "helpText"
|
|
16240
|
+
},
|
|
16241
|
+
{
|
|
16242
|
+
"name": "dir",
|
|
16243
|
+
"type": {
|
|
16244
|
+
"text": "'ltr' | 'rtl' | 'auto'"
|
|
16245
|
+
},
|
|
16246
|
+
"description": "The element's directionality.",
|
|
16247
|
+
"fieldName": "dir",
|
|
16248
|
+
"inheritedFrom": {
|
|
16249
|
+
"name": "SolidElement",
|
|
16250
|
+
"module": "src/internal/solid-element.ts"
|
|
16251
|
+
}
|
|
16252
|
+
},
|
|
16253
|
+
{
|
|
16254
|
+
"name": "lang",
|
|
16255
|
+
"type": {
|
|
16256
|
+
"text": "string"
|
|
16257
|
+
},
|
|
16258
|
+
"description": "The element's language.",
|
|
16259
|
+
"fieldName": "lang",
|
|
16260
|
+
"inheritedFrom": {
|
|
16261
|
+
"name": "SolidElement",
|
|
16262
|
+
"module": "src/internal/solid-element.ts"
|
|
16263
|
+
}
|
|
16264
|
+
}
|
|
16265
|
+
],
|
|
16266
|
+
"superclass": {
|
|
16267
|
+
"name": "SolidElement",
|
|
16268
|
+
"module": "/src/internal/solid-element"
|
|
16269
|
+
},
|
|
16270
|
+
"summary": "Checkbox groups are used to group multiple [checkbox](/components/checkbox). It provides only presentational functionality.",
|
|
16271
|
+
"documentation": "https://solid.union-investment.com/[storybook-link]/checkbox-group",
|
|
16272
|
+
"status": "stable",
|
|
16273
|
+
"since": "1.22.0",
|
|
16274
|
+
"tagName": "sd-checkbox-group",
|
|
16275
|
+
"customElement": true
|
|
16276
|
+
}
|
|
16277
|
+
],
|
|
16278
|
+
"exports": [
|
|
16279
|
+
{
|
|
16280
|
+
"kind": "js",
|
|
16281
|
+
"name": "default",
|
|
16282
|
+
"declaration": {
|
|
16283
|
+
"name": "SdCheckboxGroup",
|
|
16284
|
+
"module": "components/checkbox-group/checkbox-group.js"
|
|
16285
|
+
}
|
|
16286
|
+
},
|
|
16287
|
+
{
|
|
16288
|
+
"kind": "custom-element-definition",
|
|
16289
|
+
"name": "sd-checkbox-group",
|
|
16290
|
+
"declaration": {
|
|
16291
|
+
"name": "SdCheckboxGroup",
|
|
16292
|
+
"module": "components/checkbox-group/checkbox-group.js"
|
|
16293
|
+
}
|
|
16294
|
+
}
|
|
16295
|
+
]
|
|
16296
|
+
},
|
|
16297
16297
|
{
|
|
16298
16298
|
"kind": "javascript-module",
|
|
16299
16299
|
"path": "components/tag/tag.js",
|
|
@@ -18582,7 +18582,7 @@
|
|
|
18582
18582
|
"package": {
|
|
18583
18583
|
"name": "@solid-design-system/components",
|
|
18584
18584
|
"description": "Solid Design System: Components",
|
|
18585
|
-
"version": "4.
|
|
18585
|
+
"version": "4.11.0",
|
|
18586
18586
|
"author": "Union Investment",
|
|
18587
18587
|
"homepage": "https://solid-design-system.fe.union-investment.de/docs/",
|
|
18588
18588
|
"license": "MIT"
|
package/dist/solid-components.js
CHANGED
|
@@ -571,48 +571,6 @@
|
|
|
571
571
|
}
|
|
572
572
|
]
|
|
573
573
|
},
|
|
574
|
-
{
|
|
575
|
-
"name": "sd-checkbox-group",
|
|
576
|
-
"description": "Checkbox groups are used to group multiple [checkbox](/components/checkbox). It provides only presentational functionality.\n---\n\n\n### **Methods:**\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 default slot where `<sd-checkbox>` elements are placed.\n- **label** - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **tooltip** - An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-tooltip` component.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
577
|
-
"attributes": [
|
|
578
|
-
{
|
|
579
|
-
"name": "size",
|
|
580
|
-
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
581
|
-
"values": [{ "name": "lg" }, { "name": "md" }, { "name": "sm" }]
|
|
582
|
-
},
|
|
583
|
-
{
|
|
584
|
-
"name": "orientation",
|
|
585
|
-
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
586
|
-
"values": [{ "name": "horizontal" }, { "name": "vertical" }]
|
|
587
|
-
},
|
|
588
|
-
{
|
|
589
|
-
"name": "label",
|
|
590
|
-
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
591
|
-
"values": []
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
"name": "help-text",
|
|
595
|
-
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
596
|
-
"values": []
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
"name": "dir",
|
|
600
|
-
"description": "The element's directionality.",
|
|
601
|
-
"values": [{ "name": "ltr" }, { "name": "rtl" }, { "name": "auto" }]
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
"name": "lang",
|
|
605
|
-
"description": "The element's language.",
|
|
606
|
-
"values": []
|
|
607
|
-
}
|
|
608
|
-
],
|
|
609
|
-
"references": [
|
|
610
|
-
{
|
|
611
|
-
"name": "Documentation",
|
|
612
|
-
"url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-checkbox-group--docs"
|
|
613
|
-
}
|
|
614
|
-
]
|
|
615
|
-
},
|
|
616
574
|
{
|
|
617
575
|
"name": "sd-combobox",
|
|
618
576
|
"description": "Comboboxes allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-input** - Emitted when the control receives input.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-blur** - Emitted when the control loses focus.\n- **sd-show** - Emitted when the combobox's menu opens.\n- **sd-after-show** - Emitted after the combobox's menu opens and all animations are complete.\n- **sd-hide** - Emitted when the combobox's menu closes.\n- **sd-after-hide** - Emitted after the combobox's menu closes and all animations are complete.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n- **sd-error** - Emitted when the combobox menu fails to open.\n\n### **Methods:**\n - **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message.\nReturns `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- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\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 listbox options. Must be `<sd-option>` elements. You can use `<sd-optgroup>`'s to group items visually.\n- **label** - The combobox's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the combobox. Alternatively, you can use the `help-text` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the combobox.\n- **right** - Used to append a presentational icon or similar element to the combobox.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n\n### **CSS Properties:**\n - **--tag-max-width** - Set the maximum width of the tags and to show an ellipsis. Defaults to \"15ch\" _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, combobox, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The combobox's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container that wraps the prefix, combobox, clear icon, and expand button.\n- **left** - The container that wraps the left icon slot.\n- **right** - The container that wraps the right icon slot.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where the options are slotted and the filtered options list exists.\n- **filtered-listbox** - The container that wraps the filtered options.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
|
|
@@ -2571,6 +2529,48 @@
|
|
|
2571
2529
|
}
|
|
2572
2530
|
]
|
|
2573
2531
|
},
|
|
2532
|
+
{
|
|
2533
|
+
"name": "sd-checkbox-group",
|
|
2534
|
+
"description": "Checkbox groups are used to group multiple [checkbox](/components/checkbox). It provides only presentational functionality.\n---\n\n\n### **Methods:**\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 default slot where `<sd-checkbox>` elements are placed.\n- **label** - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **tooltip** - An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-tooltip` component.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
2535
|
+
"attributes": [
|
|
2536
|
+
{
|
|
2537
|
+
"name": "size",
|
|
2538
|
+
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
2539
|
+
"values": [{ "name": "lg" }, { "name": "md" }, { "name": "sm" }]
|
|
2540
|
+
},
|
|
2541
|
+
{
|
|
2542
|
+
"name": "orientation",
|
|
2543
|
+
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
2544
|
+
"values": [{ "name": "horizontal" }, { "name": "vertical" }]
|
|
2545
|
+
},
|
|
2546
|
+
{
|
|
2547
|
+
"name": "label",
|
|
2548
|
+
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
2549
|
+
"values": []
|
|
2550
|
+
},
|
|
2551
|
+
{
|
|
2552
|
+
"name": "help-text",
|
|
2553
|
+
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
2554
|
+
"values": []
|
|
2555
|
+
},
|
|
2556
|
+
{
|
|
2557
|
+
"name": "dir",
|
|
2558
|
+
"description": "The element's directionality.",
|
|
2559
|
+
"values": [{ "name": "ltr" }, { "name": "rtl" }, { "name": "auto" }]
|
|
2560
|
+
},
|
|
2561
|
+
{
|
|
2562
|
+
"name": "lang",
|
|
2563
|
+
"description": "The element's language.",
|
|
2564
|
+
"values": []
|
|
2565
|
+
}
|
|
2566
|
+
],
|
|
2567
|
+
"references": [
|
|
2568
|
+
{
|
|
2569
|
+
"name": "Documentation",
|
|
2570
|
+
"url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-checkbox-group--docs"
|
|
2571
|
+
}
|
|
2572
|
+
]
|
|
2573
|
+
},
|
|
2574
2574
|
{
|
|
2575
2575
|
"name": "sd-tag",
|
|
2576
2576
|
"description": "Tags are used as labels to organize things or to indicate a selection.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the tag loses focus.\n- **sd-focus** - Emitted when the tag gains focus.\n- **sd-remove** - Emitted when the remove button is activated.\n- **sd-hide** - Emitted when the hide method is triggered.\n- **sd-after-hide** - Emitted after the tag is hidden and all animations are complete.\n\n### **Methods:**\n - **click()** - Simulates a click on the tag.\n- **focus(options: _FocusOptions_)** - Sets focus on the tag.\n- **blur()** - Removes focus from the tag.\n- **hide()** - Visually hides the tag\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 tag's content.\n- **removable-indicator** - The tag's removability indicator.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - The tag's content.\n- **removable-indicator** - The tag's removability indicator.",
|