@solid-design-system/components 4.0.9 → 4.0.10
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.B6I2NZMP.js → chunk.DEX5DZMJ.js} +4 -4
- package/cdn/chunks/chunk.GBU4IOUX.js +10 -0
- package/cdn/chunks/chunk.NWGX5EVO.js +1 -0
- package/cdn/chunks/chunk.SRRF6RC4.js +1 -0
- package/cdn/chunks/chunk.V3VO4PD4.js +1 -0
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/custom-elements.json +1 -1
- package/cdn/solid-components.bundle.js +20 -20
- package/cdn/solid-components.iife.js +20 -20
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +96 -96
- package/cdn/web-types.json +231 -231
- 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.25ETUACJ.js +1 -1
- package/cdn-versioned/chunks/chunk.27EYM5XP.js +4 -4
- package/cdn-versioned/chunks/chunk.2H5XA4I4.js +1 -1
- package/cdn-versioned/chunks/chunk.3H546YPQ.js +1 -1
- package/cdn-versioned/chunks/chunk.4EXZ2RBI.js +1 -1
- package/cdn-versioned/chunks/chunk.4QUXWXQ7.js +1 -1
- package/cdn-versioned/chunks/chunk.5CIQRJCC.js +1 -1
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/chunk.7ZYFSBMR.js +1 -1
- package/cdn-versioned/chunks/chunk.A772RQJV.js +1 -1
- package/cdn-versioned/chunks/chunk.ANH5V2SE.js +2 -2
- package/cdn-versioned/chunks/chunk.AS7L23H2.js +2 -2
- package/cdn-versioned/chunks/chunk.B3H3PR6Y.js +1 -1
- package/cdn-versioned/chunks/chunk.B5YKUN6P.js +1 -1
- package/cdn-versioned/chunks/chunk.BAO3UVTY.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.D4RLVVDK.js +1 -1
- package/cdn-versioned/chunks/chunk.DEX5DZMJ.js +11 -0
- package/cdn-versioned/chunks/chunk.DUM4IQT6.js +1 -1
- package/cdn-versioned/chunks/chunk.EDD4HHHP.js +1 -1
- package/cdn-versioned/chunks/chunk.EJKLI2Q4.js +1 -1
- package/cdn-versioned/chunks/chunk.EP7OA5FU.js +1 -1
- package/cdn-versioned/chunks/chunk.F4GGY7NW.js +1 -1
- package/cdn-versioned/chunks/chunk.GBU4IOUX.js +10 -0
- package/cdn-versioned/chunks/chunk.GNYJN5QM.js +3 -3
- package/cdn-versioned/chunks/chunk.GQU4LYQ6.js +1 -1
- package/cdn-versioned/chunks/chunk.GX6NOXTL.js +1 -1
- package/cdn-versioned/chunks/chunk.IR3YQSPY.js +1 -1
- package/cdn-versioned/chunks/chunk.JUGW2WJP.js +1 -1
- package/cdn-versioned/chunks/chunk.LPXG67S4.js +1 -1
- package/cdn-versioned/chunks/chunk.LQZOBUFT.js +1 -1
- package/cdn-versioned/chunks/chunk.MOQCXANY.js +2 -2
- package/cdn-versioned/chunks/chunk.N5OYRZY6.js +1 -1
- package/cdn-versioned/chunks/chunk.NWGX5EVO.js +1 -0
- package/cdn-versioned/chunks/chunk.OCT5SOOS.js +1 -1
- package/cdn-versioned/chunks/chunk.PPMFZ77L.js +1 -1
- package/cdn-versioned/chunks/chunk.QOQO2KP5.js +1 -1
- package/cdn-versioned/chunks/chunk.QV7OIYLT.js +1 -1
- package/cdn-versioned/chunks/chunk.QWPCVRMH.js +1 -1
- package/cdn-versioned/chunks/chunk.SJ2JO4KS.js +1 -1
- package/cdn-versioned/chunks/chunk.SRRF6RC4.js +1 -0
- package/cdn-versioned/chunks/chunk.SWUGEKNC.js +1 -1
- package/cdn-versioned/chunks/chunk.TR52VDPR.js +1 -1
- package/cdn-versioned/chunks/chunk.U5SOEJO4.js +1 -1
- package/cdn-versioned/chunks/chunk.V3VO4PD4.js +1 -0
- package/cdn-versioned/chunks/chunk.V3WIIJLB.js +1 -1
- package/cdn-versioned/chunks/chunk.VYV6SKST.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WADGCWRK.js +1 -1
- package/cdn-versioned/chunks/chunk.WNV6OGRG.js +1 -1
- package/cdn-versioned/chunks/chunk.WVYVGVBF.js +1 -1
- package/cdn-versioned/chunks/chunk.Y67MAFTR.js +1 -1
- package/cdn-versioned/chunks/chunk.ZWWTEE7R.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/checkbox-group/checkbox-group.js +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +4 -4
- 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/input/input.js +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/radio-group/radio-group.js +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +4 -4
- package/cdn-versioned/components/select/select.js +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.js +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 +202 -202
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +22 -22
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +22 -22
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +173 -173
- package/cdn-versioned/web-types.json +364 -364
- package/dist/chunks/{chunk.BJIZPRT4.js → chunk.4SBQOWLU.js} +2 -1
- package/dist/chunks/{chunk.L32THKSR.js → chunk.5FOKRIWL.js} +4 -2
- package/dist/chunks/{chunk.UTSM3BM3.js → chunk.D3I3AZEX.js} +6 -1
- package/dist/chunks/{chunk.Y7254YJM.js → chunk.RSPK767T.js} +4 -2
- package/dist/chunks/{chunk.XQNY7RZD.js → chunk.USMGTQQG.js} +4 -2
- package/dist/components/checkbox-group/checkbox-group.js +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/radio-group/radio-group.js +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +5 -5
- package/dist/vscode.html-custom-data.json +96 -96
- package/dist/web-types.json +231 -231
- 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.274HT4QS.js +3 -3
- package/dist-versioned/chunks/chunk.2FXKQI26.js +2 -2
- package/dist-versioned/chunks/chunk.4MHQ63NW.js +26 -26
- package/dist-versioned/chunks/chunk.4Q7KKH5Z.js +2 -2
- package/dist-versioned/chunks/{chunk.BJIZPRT4.js → chunk.4SBQOWLU.js} +7 -6
- package/dist-versioned/chunks/{chunk.L32THKSR.js → chunk.5FOKRIWL.js} +7 -5
- package/dist-versioned/chunks/chunk.674S2Z6M.js +1 -1
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.7E7C4YEQ.js +3 -3
- package/dist-versioned/chunks/chunk.A5S7GZJI.js +3 -3
- package/dist-versioned/chunks/chunk.A625ONY2.js +2 -2
- package/dist-versioned/chunks/chunk.ACST636J.js +1 -1
- package/dist-versioned/chunks/chunk.AJ7V76EG.js +1 -1
- package/dist-versioned/chunks/chunk.AKF4KQEW.js +2 -2
- package/dist-versioned/chunks/chunk.AQZSZKBJ.js +13 -13
- package/dist-versioned/chunks/chunk.CCQCEONR.js +2 -2
- package/dist-versioned/chunks/chunk.D26WCHLT.js +6 -6
- package/dist-versioned/chunks/{chunk.UTSM3BM3.js → chunk.D3I3AZEX.js} +19 -14
- package/dist-versioned/chunks/chunk.DPY2TYIS.js +9 -9
- package/dist-versioned/chunks/chunk.DU3O42BH.js +2 -2
- package/dist-versioned/chunks/chunk.EH2FHVPN.js +3 -3
- package/dist-versioned/chunks/chunk.F63YFNZS.js +5 -5
- package/dist-versioned/chunks/chunk.FFKZQXJ2.js +2 -2
- package/dist-versioned/chunks/chunk.FTXUZOXH.js +2 -2
- package/dist-versioned/chunks/chunk.H5ARRBLT.js +2 -2
- package/dist-versioned/chunks/chunk.H5BDO4H5.js +11 -11
- package/dist-versioned/chunks/chunk.HFHUY7YD.js +1 -1
- package/dist-versioned/chunks/chunk.I5ZJV32M.js +1 -1
- package/dist-versioned/chunks/chunk.IN7RNHBF.js +1 -1
- package/dist-versioned/chunks/chunk.JIWTAZZS.js +5 -5
- package/dist-versioned/chunks/chunk.JZB2D4IZ.js +1 -1
- package/dist-versioned/chunks/chunk.K3JCC7KV.js +5 -5
- package/dist-versioned/chunks/chunk.KH4M6HPE.js +2 -2
- package/dist-versioned/chunks/chunk.KPA6BEFU.js +5 -5
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.LZA2QYUU.js +1 -1
- package/dist-versioned/chunks/chunk.NUIZDE7R.js +1 -1
- package/dist-versioned/chunks/chunk.OBWOMZNU.js +2 -2
- package/dist-versioned/chunks/chunk.OMBVLHXJ.js +1 -1
- package/dist-versioned/chunks/chunk.OR7JTZLE.js +2 -2
- package/dist-versioned/chunks/chunk.OZU372TI.js +2 -2
- package/dist-versioned/chunks/chunk.PRXP5CUW.js +5 -5
- package/dist-versioned/chunks/chunk.PT7MDSWH.js +1 -1
- package/dist-versioned/chunks/chunk.QTFIZJGB.js +2 -2
- package/dist-versioned/chunks/chunk.QUYKT56M.js +1 -1
- package/dist-versioned/chunks/{chunk.Y7254YJM.js → chunk.RSPK767T.js} +6 -4
- package/dist-versioned/chunks/chunk.SNCHAQYL.js +4 -4
- package/dist-versioned/chunks/chunk.TGJ2SBPH.js +6 -6
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.XQNY7RZD.js → chunk.USMGTQQG.js} +33 -31
- package/dist-versioned/chunks/chunk.VTUCPGYW.js +1 -1
- package/dist-versioned/chunks/chunk.X2PI2F35.js +1 -1
- package/dist-versioned/chunks/chunk.XL2PSGM5.js +2 -2
- 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/checkbox-group/checkbox-group.js +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +4 -4
- 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/input/input.js +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/radio-group/radio-group.js +1 -1
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +4 -4
- package/dist-versioned/components/select/select.js +1 -1
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.js +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 +202 -202
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +5 -5
- package/dist-versioned/vscode.html-custom-data.json +173 -173
- package/dist-versioned/web-types.json +364 -364
- package/package.json +2 -2
- package/cdn/chunks/chunk.A63P52TG.js +0 -1
- package/cdn/chunks/chunk.QA3NVZY4.js +0 -1
- package/cdn/chunks/chunk.UCTR6UM6.js +0 -1
- package/cdn/chunks/chunk.WG3IQMLL.js +0 -10
- package/cdn-versioned/chunks/chunk.A63P52TG.js +0 -1
- package/cdn-versioned/chunks/chunk.B6I2NZMP.js +0 -11
- package/cdn-versioned/chunks/chunk.QA3NVZY4.js +0 -1
- package/cdn-versioned/chunks/chunk.UCTR6UM6.js +0 -1
- package/cdn-versioned/chunks/chunk.WG3IQMLL.js +0 -10
|
@@ -54,6 +54,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
54
54
|
const hasLabelSlot = this.hasSlotController.test("label");
|
|
55
55
|
const hasLabel = this.label ? true : hasLabelSlot;
|
|
56
56
|
const defaultSlot = html`<slot @slotchange="${this.syncCheckboxes}"></slot>`;
|
|
57
|
+
const hasTooltip = this.hasSlotController.test("tooltip");
|
|
57
58
|
return html`<fieldset part="form-control" class="${cx(
|
|
58
59
|
"border-0 p-0 m-0",
|
|
59
60
|
{
|
|
@@ -62,7 +63,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
62
63
|
md: "text-base",
|
|
63
64
|
lg: "text-base"
|
|
64
65
|
}[this.size]
|
|
65
|
-
)}" role="group" aria-labelledby="label"
|
|
66
|
+
)}" role="group" aria-labelledby="label">${hasLabel || hasTooltip ? html`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${cx("p-0 font-bold leading-normal text-black", hasLabel ? "flex" : "hidden")}" aria-hidden="${hasLabel ? "false" : "true"}"><slot name="label">${this.label}</slot></label> ${hasTooltip ? html`<slot name="tooltip"></slot>` : ""}</div>` : null}<div part="form-control-input" class="${cx(
|
|
66
67
|
{
|
|
67
68
|
vertical: "flex flex-col",
|
|
68
69
|
horizontal: "flex flex-row"
|
|
@@ -328,11 +328,13 @@ var SdInput = class extends SolidElement {
|
|
|
328
328
|
helpText: this.hasSlotController.test("help-text"),
|
|
329
329
|
description: this.hasSlotController.test("description"),
|
|
330
330
|
left: this.hasSlotController.test("left"),
|
|
331
|
-
right: this.hasSlotController.test("right")
|
|
331
|
+
right: this.hasSlotController.test("right"),
|
|
332
|
+
tooltip: this.hasSlotController.test("tooltip")
|
|
332
333
|
};
|
|
333
334
|
const hasLabel = this.label ? true : !!slots["label"];
|
|
334
335
|
const hasHelpText = this.helpText ? true : !!slots["helpText"];
|
|
335
336
|
const hasClearIcon = this.clearable && !this.readonly && (typeof this.value === "number" || this.value.length > 0);
|
|
337
|
+
const hasTooltip = !!slots["tooltip"];
|
|
336
338
|
const inputState = this.disabled ? "disabled" : this.readonly ? "readonly" : this.hasFocus && this.showInvalidStyle ? "activeInvalid" : this.hasFocus && this.styleOnValid && this.showValidStyle ? "activeValid" : this.hasFocus ? "active" : this.showInvalidStyle ? "invalid" : this.styleOnValid && this.showValidStyle ? "valid" : "default";
|
|
337
339
|
const textSize = this.size === "sm" ? "text-sm" : "text-base";
|
|
338
340
|
const borderColor = {
|
|
@@ -352,7 +354,7 @@ var SdInput = class extends SolidElement {
|
|
|
352
354
|
md: "text-lg",
|
|
353
355
|
lg: "text-xl"
|
|
354
356
|
}[this.size];
|
|
355
|
-
return html`<div part="form-control" class="${cx(this.disabled && "pointer-events-none")}"
|
|
357
|
+
return html`<div part="form-control" class="${cx(this.disabled && "pointer-events-none")}">${hasLabel || hasTooltip ? html`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${cx(hasLabel ? "inline-block" : "hidden", textSize)}" for="input" aria-hidden="${hasLabel ? "false" : "true"}"><slot name="label">${this.label}</slot></label> ${slots["tooltip"] ? html`<slot name="tooltip"></slot>` : ""}</div>` : null}<div part="form-control-input" class="relative w-full"><div part="border" class="${cx("absolute w-full h-full pointer-events-none border rounded-default", borderColor)}"></div><div part="base" class="${cx(
|
|
356
358
|
"px-4 flex flex-row items-center rounded-default transition-all",
|
|
357
359
|
// Vertical Padding
|
|
358
360
|
this.size === "lg" ? "py-2" : "py-1",
|
|
@@ -244,6 +244,7 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
244
244
|
render() {
|
|
245
245
|
const hasLabelSlot = this.hasSlotController.test("label");
|
|
246
246
|
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
247
|
+
const hasTooltipSlot = this.hasSlotController.test("tooltip");
|
|
247
248
|
const defaultSlot = html`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;
|
|
248
249
|
return html`<fieldset part="form-control" class="${cx(
|
|
249
250
|
"border-0 p-0 m-0 flex flex-col",
|
|
@@ -253,7 +254,11 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
253
254
|
md: "text-base",
|
|
254
255
|
lg: "text-base"
|
|
255
256
|
}[this.size]
|
|
256
|
-
)}" role="radiogroup" aria-describedby="invalid-message"
|
|
257
|
+
)}" role="radiogroup" aria-describedby="invalid-message">${hasLabelSlot || hasTooltipSlot ? html`<div class="flex items-center gap-1 mb-2"><legend part="form-control-label" id="label" class="${cx(
|
|
258
|
+
"p-0 leading-normal text-black text-left",
|
|
259
|
+
!hasLabel && "hidden",
|
|
260
|
+
this.boldLabel && "font-bold"
|
|
261
|
+
)}" @click="${this.focus}" aria-hidden="${hasLabel ? "false" : "true"}"><slot name="label">${this.label}</slot></legend>${hasTooltipSlot ? html`<slot name="tooltip"></slot>` : ""}</div>` : null}<div part="form-control-input" class="${cx(
|
|
257
262
|
"flex",
|
|
258
263
|
{
|
|
259
264
|
vertical: "flex-col",
|
|
@@ -166,10 +166,12 @@ var SdTextarea = class extends SolidElement {
|
|
|
166
166
|
render() {
|
|
167
167
|
const slots = {
|
|
168
168
|
label: this.hasSlotController.test("label"),
|
|
169
|
-
helpText: this.hasSlotController.test("help-text")
|
|
169
|
+
helpText: this.hasSlotController.test("help-text"),
|
|
170
|
+
tooltip: this.hasSlotController.test("tooltip")
|
|
170
171
|
};
|
|
171
172
|
const hasLabel = this.label ? true : !!slots["label"];
|
|
172
173
|
const hasHelpText = this.helpText ? true : !!slots["helpText"];
|
|
174
|
+
const hasTooltip = !!slots["tooltip"];
|
|
173
175
|
const textareaState = this.disabled ? "disabled" : this.readonly ? "readonly" : this.hasFocus && this.showInvalidStyle ? "activeInvalid" : this.hasFocus && this.styleOnValid && this.showValidStyle ? "activeValid" : this.hasFocus ? "active" : this.showInvalidStyle ? "invalid" : this.styleOnValid && this.showValidStyle ? "valid" : "default";
|
|
174
176
|
const textSize = this.size === "sm" ? "text-sm" : "text-base";
|
|
175
177
|
const iconSizeMarginLeft = {
|
|
@@ -177,7 +179,7 @@ var SdTextarea = class extends SolidElement {
|
|
|
177
179
|
md: "text-lg ml-2",
|
|
178
180
|
lg: "text-xl ml-2"
|
|
179
181
|
}[this.size];
|
|
180
|
-
return html`<div part="form-control" class="flex flex-col h-full text-left"
|
|
182
|
+
return html`<div part="form-control" class="flex flex-col h-full text-left">${hasLabel || hasTooltip ? html`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${cx(hasLabel ? "inline-block" : "hidden", textSize)}" for="input" aria-hidden="${hasLabel ? "false" : "true"}"><slot name="label">${this.label}</slot></label> ${slots["tooltip"] ? html`<slot name="tooltip"></slot>` : ""}</div>` : null}<div part="form-control-input" class="${cx("relative h-full w-full", this.disabled && "cursor-not-allowed")}"><div part="border" class="${cx(
|
|
181
183
|
"absolute w-full h-full pointer-events-none border rounded-default",
|
|
182
184
|
{
|
|
183
185
|
disabled: "border-neutral-500",
|
|
@@ -571,11 +571,13 @@ var SdSelect = class extends SolidElement {
|
|
|
571
571
|
label: this.hasSlotController.test("label"),
|
|
572
572
|
clearIcon: this.hasSlotController.test("clear-icon"),
|
|
573
573
|
expandIcon: this.hasSlotController.test("expand-icon"),
|
|
574
|
-
helpText: this.hasSlotController.test("help-text")
|
|
574
|
+
helpText: this.hasSlotController.test("help-text"),
|
|
575
|
+
tooltip: this.hasSlotController.test("tooltip")
|
|
575
576
|
};
|
|
576
577
|
const hasLabel = this.label ? true : !!slots["label"];
|
|
577
578
|
const hasHelpText = this.helpText ? true : !!slots["helpText"];
|
|
578
579
|
const hasClearIcon = this.clearable && !this.disabled;
|
|
580
|
+
const hasTooltip = !!slots["tooltip"];
|
|
579
581
|
const selectState = this.disabled ? "disabled" : this.hasFocus && this.showInvalidStyle ? "activeInvalid" : this.hasFocus && this.styleOnValid && this.showValidStyle ? "activeValid" : this.hasFocus || this.open ? "active" : this.showInvalidStyle ? "invalid" : this.styleOnValid && this.showValidStyle ? "valid" : "default";
|
|
580
582
|
const cursorStyles = this.disabled ? "cursor-not-allowed" : "cursor-pointer";
|
|
581
583
|
const iconMarginLeft = { sm: "ml-1", md: "ml-2", lg: "ml-2" }[this.size];
|
|
@@ -589,7 +591,7 @@ var SdSelect = class extends SolidElement {
|
|
|
589
591
|
cursorStyles,
|
|
590
592
|
this.size === "sm" ? "text-sm" : "text-base",
|
|
591
593
|
this.open && "z-50"
|
|
592
|
-
)}"><span class="sr-only" role="alert" aria-live="assertive">${this.deletedTagLabel}</span
|
|
594
|
+
)}"><span class="sr-only" role="alert" aria-live="assertive">${this.deletedTagLabel}</span> ${hasLabel || hasTooltip ? html`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${hasLabel && "inline-block"}" aria-hidden="${hasLabel ? "false" : "true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> ${slots["tooltip"] ? html`<slot name="tooltip"></slot>` : ""}</div>` : null}<div part="form-control-input" class="${cx("relative w-full bg-white", selectState === "disabled" ? "text-neutral-500" : "text-black")}"><div part="border" class="${cx(
|
|
593
595
|
"absolute top-0 w-full h-full pointer-events-none border rounded-default",
|
|
594
596
|
this.hasHover && "bg-neutral-200",
|
|
595
597
|
{
|
|
@@ -16708,7 +16708,7 @@
|
|
|
16708
16708
|
"package": {
|
|
16709
16709
|
"name": "@solid-design-system/components",
|
|
16710
16710
|
"description": "Solid Design System: Components",
|
|
16711
|
-
"version": "4.0.
|
|
16711
|
+
"version": "4.0.10",
|
|
16712
16712
|
"author": "Union Investment",
|
|
16713
16713
|
"homepage": "https://solid-design-system.fe.union-investment.de/docs/",
|
|
16714
16714
|
"license": "MIT"
|
package/dist/solid-components.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunks/chunk.674S2Z6M.js";
|
|
11
11
|
import {
|
|
12
12
|
SdTextarea
|
|
13
|
-
} from "./chunks/chunk.
|
|
13
|
+
} from "./chunks/chunk.RSPK767T.js";
|
|
14
14
|
import {
|
|
15
15
|
SdTooltip
|
|
16
16
|
} from "./chunks/chunk.K3JCC7KV.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunks/chunk.2FXKQI26.js";
|
|
20
20
|
import {
|
|
21
21
|
SdSelect
|
|
22
|
-
} from "./chunks/chunk.
|
|
22
|
+
} from "./chunks/chunk.USMGTQQG.js";
|
|
23
23
|
import {
|
|
24
24
|
SdStep
|
|
25
25
|
} from "./chunks/chunk.DU3O42BH.js";
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
} from "./chunks/chunk.OR7JTZLE.js";
|
|
53
53
|
import {
|
|
54
54
|
SdRadioGroup
|
|
55
|
-
} from "./chunks/chunk.
|
|
55
|
+
} from "./chunks/chunk.D3I3AZEX.js";
|
|
56
56
|
import {
|
|
57
57
|
SdRadio
|
|
58
58
|
} from "./chunks/chunk.A625ONY2.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
} from "./chunks/chunk.JZB2D4IZ.js";
|
|
65
65
|
import {
|
|
66
66
|
SdInput
|
|
67
|
-
} from "./chunks/chunk.
|
|
67
|
+
} from "./chunks/chunk.5FOKRIWL.js";
|
|
68
68
|
import {
|
|
69
69
|
SdLink
|
|
70
70
|
} from "./chunks/chunk.OBWOMZNU.js";
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
} from "./chunks/chunk.A5S7GZJI.js";
|
|
95
95
|
import {
|
|
96
96
|
SdCheckboxGroup
|
|
97
|
-
} from "./chunks/chunk.
|
|
97
|
+
} from "./chunks/chunk.4SBQOWLU.js";
|
|
98
98
|
import {
|
|
99
99
|
SdCombobox
|
|
100
100
|
} from "./chunks/chunk.4MHQ63NW.js";
|
|
@@ -2638,6 +2638,102 @@
|
|
|
2638
2638
|
}
|
|
2639
2639
|
]
|
|
2640
2640
|
},
|
|
2641
|
+
{
|
|
2642
|
+
"name": "sd-tooltip",
|
|
2643
|
+
"description": "Tooltips display additional information based on a specific action.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the tooltip begins to show.\n- **sd-after-show** - Emitted after the tooltip has shown and all animations are complete.\n- **sd-hide** - Emitted when the tooltip begins to hide.\n- **sd-after-hide** - Emitted after the tooltip has hidden and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the tooltip.\n- **hide()** - Hides the tooltip\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n- **anchor** - Slot to change the default trigger icon. The default icon is an info circle.\n- **content** - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the tooltip before its content will wrap. _(default: undefined)_\n- **--hide-delay** - The amount of time to wait before hiding the tooltip when hovering. _(default: undefined)_\n- **--show-delay** - The amount of time to wait before showing the tooltip when hovering. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<sd-popup>` element.\n- **base__popup** - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n- **base__arrow** - The popup's exported `arrow` part. Use this to target the tooltip's arrow.\n- **body** - The tooltip's body where its content is rendered.",
|
|
2644
|
+
"attributes": [
|
|
2645
|
+
{
|
|
2646
|
+
"name": "size",
|
|
2647
|
+
"description": "Sets the size of the default trigger icon.",
|
|
2648
|
+
"values": [{ "name": "lg" }, { "name": "sm" }]
|
|
2649
|
+
},
|
|
2650
|
+
{
|
|
2651
|
+
"name": "content",
|
|
2652
|
+
"description": "The tooltip's content. If you need to display HTML, use the `content` slot instead.",
|
|
2653
|
+
"values": []
|
|
2654
|
+
},
|
|
2655
|
+
{
|
|
2656
|
+
"name": "placement",
|
|
2657
|
+
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
2658
|
+
"values": [
|
|
2659
|
+
{ "name": "top" },
|
|
2660
|
+
{ "name": "top-start" },
|
|
2661
|
+
{ "name": "top-end" },
|
|
2662
|
+
{ "name": "bottom" },
|
|
2663
|
+
{ "name": "bottom-start" },
|
|
2664
|
+
{ "name": "bottom-end" }
|
|
2665
|
+
]
|
|
2666
|
+
},
|
|
2667
|
+
{
|
|
2668
|
+
"name": "disabled",
|
|
2669
|
+
"description": "Disables the tooltip so it won't show when triggered.",
|
|
2670
|
+
"values": []
|
|
2671
|
+
},
|
|
2672
|
+
{
|
|
2673
|
+
"name": "open",
|
|
2674
|
+
"description": "Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods.",
|
|
2675
|
+
"values": []
|
|
2676
|
+
},
|
|
2677
|
+
{
|
|
2678
|
+
"name": "trigger",
|
|
2679
|
+
"description": "Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\noptions can be passed by separating them with a space. When manual is used, the tooltip must be activated\nprogrammatically.",
|
|
2680
|
+
"values": []
|
|
2681
|
+
},
|
|
2682
|
+
{
|
|
2683
|
+
"name": "hoist",
|
|
2684
|
+
"description": "Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\nscenarios.",
|
|
2685
|
+
"values": []
|
|
2686
|
+
},
|
|
2687
|
+
{
|
|
2688
|
+
"name": "dir",
|
|
2689
|
+
"description": "The element's directionality.",
|
|
2690
|
+
"values": [{ "name": "ltr" }, { "name": "rtl" }, { "name": "auto" }]
|
|
2691
|
+
},
|
|
2692
|
+
{
|
|
2693
|
+
"name": "lang",
|
|
2694
|
+
"description": "The element's language.",
|
|
2695
|
+
"values": []
|
|
2696
|
+
}
|
|
2697
|
+
],
|
|
2698
|
+
"references": [
|
|
2699
|
+
{
|
|
2700
|
+
"name": "Documentation",
|
|
2701
|
+
"url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-tooltip--docs"
|
|
2702
|
+
}
|
|
2703
|
+
]
|
|
2704
|
+
},
|
|
2705
|
+
{
|
|
2706
|
+
"name": "sd-video",
|
|
2707
|
+
"description": "Used to wrap external video elements (e. g. from Moving Image or bare <video>-Tags) and provide some basic styling for Union Investment.\n---\n\n\n### **Events:**\n - **sd-play** - Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The default slot used to pass a video player element.\n- **play-icon** - The video's play icon.\n- **poster** - Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **play-button** - The `<button>` element wrapper around the play-icon slot (full screen to field all click events).\n- **play-button-bg** - The `<div>` element wrapper around the play-button that defines the circular background.",
|
|
2708
|
+
"attributes": [
|
|
2709
|
+
{
|
|
2710
|
+
"name": "playing",
|
|
2711
|
+
"description": "Set to `true` to hide the play icon.",
|
|
2712
|
+
"values": []
|
|
2713
|
+
},
|
|
2714
|
+
{
|
|
2715
|
+
"name": "isBelowBreakpoint",
|
|
2716
|
+
"description": "Reactive property to trigger breakpoint re-renders.",
|
|
2717
|
+
"values": []
|
|
2718
|
+
},
|
|
2719
|
+
{
|
|
2720
|
+
"name": "dir",
|
|
2721
|
+
"description": "The element's directionality.",
|
|
2722
|
+
"values": [{ "name": "ltr" }, { "name": "rtl" }, { "name": "auto" }]
|
|
2723
|
+
},
|
|
2724
|
+
{
|
|
2725
|
+
"name": "lang",
|
|
2726
|
+
"description": "The element's language.",
|
|
2727
|
+
"values": []
|
|
2728
|
+
}
|
|
2729
|
+
],
|
|
2730
|
+
"references": [
|
|
2731
|
+
{
|
|
2732
|
+
"name": "Documentation",
|
|
2733
|
+
"url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-video--docs"
|
|
2734
|
+
}
|
|
2735
|
+
]
|
|
2736
|
+
},
|
|
2641
2737
|
{
|
|
2642
2738
|
"name": "sd-textarea",
|
|
2643
2739
|
"description": "Textareas collect data from the user and allow multiple lines of text.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-input** - Emitted when the control receives input.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the textarea.\n- **blur()** - Removes focus from the textarea.\n- **select()** - Selects all the text in the textarea.\n- **scrollPosition(position: _{ top?: number; left?: number }_): _{ top: number; left: number } | undefined_** - Gets or sets the textarea's scroll position.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - **label** - The textarea's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **border** - The base part's absolutely positioned border. Allows for easy adjustment of border thickness without affecting component dimensions.\n- **textarea** - The internal `<textarea>` control.",
|
|
@@ -2784,102 +2880,6 @@
|
|
|
2784
2880
|
"url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-textarea--docs"
|
|
2785
2881
|
}
|
|
2786
2882
|
]
|
|
2787
|
-
},
|
|
2788
|
-
{
|
|
2789
|
-
"name": "sd-tooltip",
|
|
2790
|
-
"description": "Tooltips display additional information based on a specific action.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the tooltip begins to show.\n- **sd-after-show** - Emitted after the tooltip has shown and all animations are complete.\n- **sd-hide** - Emitted when the tooltip begins to hide.\n- **sd-after-hide** - Emitted after the tooltip has hidden and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the tooltip.\n- **hide()** - Hides the tooltip\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n- **anchor** - Slot to change the default trigger icon. The default icon is an info circle.\n- **content** - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the tooltip before its content will wrap. _(default: undefined)_\n- **--hide-delay** - The amount of time to wait before hiding the tooltip when hovering. _(default: undefined)_\n- **--show-delay** - The amount of time to wait before showing the tooltip when hovering. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<sd-popup>` element.\n- **base__popup** - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n- **base__arrow** - The popup's exported `arrow` part. Use this to target the tooltip's arrow.\n- **body** - The tooltip's body where its content is rendered.",
|
|
2791
|
-
"attributes": [
|
|
2792
|
-
{
|
|
2793
|
-
"name": "size",
|
|
2794
|
-
"description": "Sets the size of the default trigger icon.",
|
|
2795
|
-
"values": [{ "name": "lg" }, { "name": "sm" }]
|
|
2796
|
-
},
|
|
2797
|
-
{
|
|
2798
|
-
"name": "content",
|
|
2799
|
-
"description": "The tooltip's content. If you need to display HTML, use the `content` slot instead.",
|
|
2800
|
-
"values": []
|
|
2801
|
-
},
|
|
2802
|
-
{
|
|
2803
|
-
"name": "placement",
|
|
2804
|
-
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
2805
|
-
"values": [
|
|
2806
|
-
{ "name": "top" },
|
|
2807
|
-
{ "name": "top-start" },
|
|
2808
|
-
{ "name": "top-end" },
|
|
2809
|
-
{ "name": "bottom" },
|
|
2810
|
-
{ "name": "bottom-start" },
|
|
2811
|
-
{ "name": "bottom-end" }
|
|
2812
|
-
]
|
|
2813
|
-
},
|
|
2814
|
-
{
|
|
2815
|
-
"name": "disabled",
|
|
2816
|
-
"description": "Disables the tooltip so it won't show when triggered.",
|
|
2817
|
-
"values": []
|
|
2818
|
-
},
|
|
2819
|
-
{
|
|
2820
|
-
"name": "open",
|
|
2821
|
-
"description": "Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods.",
|
|
2822
|
-
"values": []
|
|
2823
|
-
},
|
|
2824
|
-
{
|
|
2825
|
-
"name": "trigger",
|
|
2826
|
-
"description": "Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\noptions can be passed by separating them with a space. When manual is used, the tooltip must be activated\nprogrammatically.",
|
|
2827
|
-
"values": []
|
|
2828
|
-
},
|
|
2829
|
-
{
|
|
2830
|
-
"name": "hoist",
|
|
2831
|
-
"description": "Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\nscenarios.",
|
|
2832
|
-
"values": []
|
|
2833
|
-
},
|
|
2834
|
-
{
|
|
2835
|
-
"name": "dir",
|
|
2836
|
-
"description": "The element's directionality.",
|
|
2837
|
-
"values": [{ "name": "ltr" }, { "name": "rtl" }, { "name": "auto" }]
|
|
2838
|
-
},
|
|
2839
|
-
{
|
|
2840
|
-
"name": "lang",
|
|
2841
|
-
"description": "The element's language.",
|
|
2842
|
-
"values": []
|
|
2843
|
-
}
|
|
2844
|
-
],
|
|
2845
|
-
"references": [
|
|
2846
|
-
{
|
|
2847
|
-
"name": "Documentation",
|
|
2848
|
-
"url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-tooltip--docs"
|
|
2849
|
-
}
|
|
2850
|
-
]
|
|
2851
|
-
},
|
|
2852
|
-
{
|
|
2853
|
-
"name": "sd-video",
|
|
2854
|
-
"description": "Used to wrap external video elements (e. g. from Moving Image or bare <video>-Tags) and provide some basic styling for Union Investment.\n---\n\n\n### **Events:**\n - **sd-play** - Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The default slot used to pass a video player element.\n- **play-icon** - The video's play icon.\n- **poster** - Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **play-button** - The `<button>` element wrapper around the play-icon slot (full screen to field all click events).\n- **play-button-bg** - The `<div>` element wrapper around the play-button that defines the circular background.",
|
|
2855
|
-
"attributes": [
|
|
2856
|
-
{
|
|
2857
|
-
"name": "playing",
|
|
2858
|
-
"description": "Set to `true` to hide the play icon.",
|
|
2859
|
-
"values": []
|
|
2860
|
-
},
|
|
2861
|
-
{
|
|
2862
|
-
"name": "isBelowBreakpoint",
|
|
2863
|
-
"description": "Reactive property to trigger breakpoint re-renders.",
|
|
2864
|
-
"values": []
|
|
2865
|
-
},
|
|
2866
|
-
{
|
|
2867
|
-
"name": "dir",
|
|
2868
|
-
"description": "The element's directionality.",
|
|
2869
|
-
"values": [{ "name": "ltr" }, { "name": "rtl" }, { "name": "auto" }]
|
|
2870
|
-
},
|
|
2871
|
-
{
|
|
2872
|
-
"name": "lang",
|
|
2873
|
-
"description": "The element's language.",
|
|
2874
|
-
"values": []
|
|
2875
|
-
}
|
|
2876
|
-
],
|
|
2877
|
-
"references": [
|
|
2878
|
-
{
|
|
2879
|
-
"name": "Documentation",
|
|
2880
|
-
"url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-video--docs"
|
|
2881
|
-
}
|
|
2882
|
-
]
|
|
2883
2883
|
}
|
|
2884
2884
|
]
|
|
2885
2885
|
}
|