@solid-design-system/components 4.0.0-next.5 → 4.0.0-next.6
Sign up to get free protection for your applications and to get access to all the features.
- package/cdn/chunks/chunk.5FM4F3Y4.js +1 -0
- package/cdn/components/flipcard/flipcard.d.ts +1 -0
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/custom-elements.json +9 -1
- package/cdn/solid-components.bundle.js +10 -10
- package/cdn/solid-components.iife.js +11 -11
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +47 -47
- package/cdn/web-types.json +144 -143
- 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.24SF73MY.js +1 -1
- package/cdn-versioned/chunks/chunk.2IZXJHH7.js +1 -1
- package/cdn-versioned/chunks/chunk.36Z2VDHI.js +1 -1
- package/cdn-versioned/chunks/chunk.3ATYVOO4.js +1 -1
- package/cdn-versioned/chunks/chunk.4HIKTDIM.js +3 -3
- package/cdn-versioned/chunks/chunk.4W3WLVGR.js +1 -1
- package/cdn-versioned/chunks/chunk.5FM4F3Y4.js +1 -0
- package/cdn-versioned/chunks/chunk.5ZDWEJDB.js +1 -1
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/chunk.6JBTCFHE.js +2 -2
- package/cdn-versioned/chunks/chunk.7M7VCE7R.js +1 -1
- package/cdn-versioned/chunks/chunk.7RJ3O2FV.js +1 -1
- package/cdn-versioned/chunks/chunk.APMDRZQD.js +1 -1
- package/cdn-versioned/chunks/chunk.C2PA7CKF.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.DEX5VJGX.js +4 -4
- package/cdn-versioned/chunks/chunk.DMLGBWCL.js +1 -1
- package/cdn-versioned/chunks/chunk.DVHKKAVM.js +1 -1
- package/cdn-versioned/chunks/chunk.EWWGLHC5.js +1 -1
- package/cdn-versioned/chunks/chunk.F7J6HN76.js +1 -1
- package/cdn-versioned/chunks/chunk.FD54463O.js +1 -1
- package/cdn-versioned/chunks/chunk.FFNTXFC3.js +1 -1
- package/cdn-versioned/chunks/chunk.FX3ED655.js +1 -1
- package/cdn-versioned/chunks/chunk.GOVNZSCO.js +1 -1
- package/cdn-versioned/chunks/chunk.GQSLHWQC.js +1 -1
- package/cdn-versioned/chunks/chunk.ISEQUO4U.js +1 -1
- package/cdn-versioned/chunks/chunk.ITRQVXFY.js +1 -1
- package/cdn-versioned/chunks/chunk.IZKUI5WK.js +1 -1
- package/cdn-versioned/chunks/chunk.KMLMMBY4.js +1 -1
- package/cdn-versioned/chunks/chunk.LLXTYJXF.js +1 -1
- package/cdn-versioned/chunks/chunk.LZEFLOSA.js +1 -1
- package/cdn-versioned/chunks/chunk.MPP7HYX7.js +1 -1
- package/cdn-versioned/chunks/chunk.MX22EZXK.js +1 -1
- package/cdn-versioned/chunks/chunk.ND7BT52X.js +1 -1
- package/cdn-versioned/chunks/chunk.NUB5WHGD.js +1 -1
- package/cdn-versioned/chunks/chunk.O4UXOQEI.js +1 -1
- package/cdn-versioned/chunks/chunk.OVV7TNT2.js +1 -1
- package/cdn-versioned/chunks/chunk.PBPFKJKV.js +1 -1
- package/cdn-versioned/chunks/chunk.QFNCQQ6S.js +1 -1
- package/cdn-versioned/chunks/chunk.QNZWJACC.js +2 -2
- package/cdn-versioned/chunks/chunk.R354E6ZD.js +1 -1
- package/cdn-versioned/chunks/chunk.ROBLMI7Q.js +4 -4
- package/cdn-versioned/chunks/chunk.TA7CZCP3.js +1 -1
- package/cdn-versioned/chunks/chunk.U443X4TI.js +1 -1
- package/cdn-versioned/chunks/chunk.UBFU6D5B.js +1 -1
- package/cdn-versioned/chunks/chunk.URB2K7JQ.js +1 -1
- package/cdn-versioned/chunks/chunk.VNKUGTKM.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WENTMXB2.js +1 -1
- package/cdn-versioned/chunks/chunk.WQAPHFVM.js +1 -1
- package/cdn-versioned/chunks/chunk.YF5WEC4R.js +2 -2
- package/cdn-versioned/chunks/chunk.ZFA2VPUT.js +1 -1
- package/cdn-versioned/chunks/chunk.ZRIABVVM.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 +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 +2 -1
- package/cdn-versioned/components/flipcard/flipcard.js +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 +4 -4
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +210 -202
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +18 -18
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +18 -18
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +125 -125
- package/cdn-versioned/web-types.json +275 -274
- package/dist/chunks/{chunk.WWS3CQ2Z.js → chunk.KTJRTRDJ.js} +16 -5
- package/dist/components/flipcard/flipcard.d.ts +1 -0
- package/dist/components/flipcard/flipcard.js +1 -1
- package/dist/custom-elements.json +9 -1
- package/dist/solid-components.js +1 -1
- package/dist/vscode.html-custom-data.json +47 -47
- package/dist/web-types.json +144 -143
- 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.2IBVAXOX.js +1 -1
- package/dist-versioned/chunks/chunk.3IT4HBTI.js +1 -1
- package/dist-versioned/chunks/chunk.3LGDUVS4.js +2 -2
- package/dist-versioned/chunks/chunk.4JZQQD4L.js +3 -3
- package/dist-versioned/chunks/chunk.4QKRGAOL.js +4 -4
- package/dist-versioned/chunks/chunk.4RGGPCD5.js +2 -2
- package/dist-versioned/chunks/chunk.65BWRJEA.js +5 -5
- package/dist-versioned/chunks/chunk.6CUAQSFA.js +2 -2
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.727ERQ4F.js +2 -2
- package/dist-versioned/chunks/chunk.743FPQRN.js +2 -2
- package/dist-versioned/chunks/chunk.76ZNNLGN.js +1 -1
- package/dist-versioned/chunks/chunk.7OHSCBBX.js +1 -1
- package/dist-versioned/chunks/chunk.BG3M5FUP.js +13 -13
- package/dist-versioned/chunks/chunk.BVC5FY4L.js +13 -13
- package/dist-versioned/chunks/chunk.BXB5WF23.js +5 -5
- package/dist-versioned/chunks/chunk.D6JZ4IKM.js +1 -1
- package/dist-versioned/chunks/chunk.DQPVSTUQ.js +3 -3
- package/dist-versioned/chunks/chunk.EFEBQQHC.js +26 -26
- package/dist-versioned/chunks/chunk.EKFRFDTB.js +5 -5
- package/dist-versioned/chunks/chunk.H655M7FD.js +1 -1
- package/dist-versioned/chunks/chunk.HPR3PWAE.js +3 -3
- package/dist-versioned/chunks/chunk.I3PY3VYP.js +29 -29
- package/dist-versioned/chunks/chunk.IN3GJ5QL.js +3 -3
- package/dist-versioned/chunks/chunk.J2XBUIBC.js +2 -2
- package/dist-versioned/chunks/chunk.J7MMF6WJ.js +2 -2
- package/dist-versioned/chunks/{chunk.WWS3CQ2Z.js → chunk.KTJRTRDJ.js} +20 -9
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.MTSAWJLV.js +2 -2
- package/dist-versioned/chunks/chunk.NM6QP6RJ.js +2 -2
- package/dist-versioned/chunks/chunk.PDRECIYA.js +1 -1
- package/dist-versioned/chunks/chunk.PGZ5AWZ2.js +9 -9
- package/dist-versioned/chunks/chunk.PIR4YJUS.js +2 -2
- package/dist-versioned/chunks/chunk.QAZYUCBK.js +6 -6
- package/dist-versioned/chunks/chunk.QCICV36Z.js +6 -6
- package/dist-versioned/chunks/chunk.QP3SM2LZ.js +3 -3
- package/dist-versioned/chunks/chunk.R4BETATX.js +1 -1
- package/dist-versioned/chunks/chunk.RNSJAVQE.js +1 -1
- package/dist-versioned/chunks/chunk.RZRTIYXA.js +1 -1
- package/dist-versioned/chunks/chunk.SPBPHTSS.js +2 -2
- package/dist-versioned/chunks/chunk.SSH6ATRK.js +2 -2
- package/dist-versioned/chunks/chunk.TWXYFPBS.js +2 -2
- package/dist-versioned/chunks/chunk.U5NFPAOX.js +2 -2
- package/dist-versioned/chunks/chunk.U6RY25TF.js +2 -2
- package/dist-versioned/chunks/chunk.UC5E3AEF.js +1 -1
- package/dist-versioned/chunks/chunk.UDZYWRPT.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.V7TQ6VJU.js +1 -1
- package/dist-versioned/chunks/chunk.VHGHICFG.js +2 -2
- package/dist-versioned/chunks/chunk.XVFJS7VS.js +5 -5
- package/dist-versioned/chunks/chunk.Z2UY62T2.js +1 -1
- package/dist-versioned/chunks/chunk.ZGPGFEVP.js +5 -5
- package/dist-versioned/chunks/chunk.ZWJI7SLE.js +11 -11
- 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 +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 +2 -1
- package/dist-versioned/components/flipcard/flipcard.js +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 +4 -4
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +210 -202
- 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 +125 -125
- package/dist-versioned/web-types.json +275 -274
- package/package.json +1 -1
- package/cdn/chunks/chunk.SNUMAAEG.js +0 -1
- package/cdn-versioned/chunks/chunk.SNUMAAEG.js +0 -1
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": "4.0.0-next.
|
4
|
+
"version": "4.0.0-next.6",
|
5
5
|
"description-markup": "markdown",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
@@ -1911,33 +1911,61 @@
|
|
1911
1911
|
}
|
1912
1912
|
},
|
1913
1913
|
{
|
1914
|
-
"name": "sd-
|
1915
|
-
"description": "
|
1914
|
+
"name": "sd-dropdown",
|
1915
|
+
"description": "Dropdowns expose additional content that \"drops down\" in a panel.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the dropdown opens.\n- **sd-after-show** - Emitted after the dropdown opens and all animations are complete.\n- **sd-hide** - Emitted when the dropdown closes.\n- **sd-after-hide** - Emitted after the dropdown closes and all animations are complete.\n\n### **Methods:**\n - **getAccessibleTrigger(): _HTMLElement | null_** - Slotted triggers can be arbitrary content. The accessible trigger is the tabbable element\nwithin the slotted trigger. This could be the slotted element itself, a child of the slotted element,\nor an element within the slotted elements shadow root.\n\ne.g. the accessible trigger of an <sd-button> is a <button> located inside its shadow root.\n\nTo determine this, we assume the first tabbable element in the trigger slot is the \"accessible trigger.\"\n- **show()** - Shows the dropdown panel.\n- **hide()** - Hides the dropdown panel\n- **reposition()** - Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\nis activated.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The dropdown's main content.\n- **trigger** - The dropdown's trigger, usually a `<sd-button>` element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **trigger** - The container that wraps the trigger.\n- **panel** - The panel that gets shown when the dropdown is open.",
|
1916
1916
|
"doc-url": "",
|
1917
1917
|
"attributes": [
|
1918
1918
|
{
|
1919
1919
|
"name": "open",
|
1920
|
-
"description": "Indicates whether or not the
|
1920
|
+
"description": "Indicates whether or not the dropdown is open. You can toggle this attribute to show and hide the dropdown, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the dropdown's open state.",
|
1921
1921
|
"value": { "type": "boolean", "default": "false" }
|
1922
1922
|
},
|
1923
1923
|
{
|
1924
|
-
"name": "
|
1925
|
-
"description": "
|
1926
|
-
"value": { "type": "
|
1924
|
+
"name": "rounded",
|
1925
|
+
"description": "Indicates whether or not the dropdown should be styled with rounded corners.",
|
1926
|
+
"value": { "type": "boolean", "default": "false" }
|
1927
1927
|
},
|
1928
1928
|
{
|
1929
1929
|
"name": "placement",
|
1930
|
-
"description": "The
|
1931
|
-
"value": {
|
1930
|
+
"description": "The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\ninside of the viewport.",
|
1931
|
+
"value": {
|
1932
|
+
"type": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end'",
|
1933
|
+
"default": "'bottom-start'"
|
1934
|
+
}
|
1932
1935
|
},
|
1933
1936
|
{
|
1934
|
-
"name": "
|
1935
|
-
"description": "
|
1937
|
+
"name": "disabled",
|
1938
|
+
"description": "Disables the dropdown so the panel will not open.",
|
1936
1939
|
"value": { "type": "boolean", "default": "false" }
|
1937
1940
|
},
|
1938
1941
|
{
|
1939
|
-
"name": "
|
1940
|
-
"description": "
|
1942
|
+
"name": "stay-open-on-select",
|
1943
|
+
"description": "By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for\ndropdowns that allow for multiple interactions.",
|
1944
|
+
"value": { "type": "boolean", "default": "false" }
|
1945
|
+
},
|
1946
|
+
{
|
1947
|
+
"name": "distance",
|
1948
|
+
"description": "The distance in pixels from which to offset the panel away from its trigger. This defaults to `0` for `rounded=false` and to a minimum of `1` for `rounded=true`.",
|
1949
|
+
"value": { "type": "number", "default": "0" }
|
1950
|
+
},
|
1951
|
+
{
|
1952
|
+
"name": "skidding",
|
1953
|
+
"description": "The distance in pixels from which to offset the panel along its trigger.",
|
1954
|
+
"value": { "type": "number", "default": "0" }
|
1955
|
+
},
|
1956
|
+
{
|
1957
|
+
"name": "no-auto-size",
|
1958
|
+
"description": "Indicates whether or not the dropdown should automatically resize its content's width/height regarding the available space on screen.",
|
1959
|
+
"value": { "type": "boolean", "default": "false" }
|
1960
|
+
},
|
1961
|
+
{
|
1962
|
+
"name": "no-flip",
|
1963
|
+
"description": "When set to true, the placement of the dropdown will not flip to the opposite site to keep it in view.",
|
1964
|
+
"value": { "type": "boolean", "default": "false" }
|
1965
|
+
},
|
1966
|
+
{
|
1967
|
+
"name": "hoist",
|
1968
|
+
"description": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
|
1941
1969
|
"value": { "type": "boolean", "default": "false" }
|
1942
1970
|
},
|
1943
1971
|
{
|
@@ -1952,69 +1980,82 @@
|
|
1952
1980
|
}
|
1953
1981
|
],
|
1954
1982
|
"slots": [
|
1955
|
-
{ "name": "", "description": "The
|
1956
|
-
{
|
1957
|
-
"name": "header",
|
1958
|
-
"description": "The drawer's header, usually a title."
|
1959
|
-
},
|
1983
|
+
{ "name": "", "description": "The dropdown's main content." },
|
1960
1984
|
{
|
1961
|
-
"name": "
|
1962
|
-
"description": "The
|
1985
|
+
"name": "trigger",
|
1986
|
+
"description": "The dropdown's trigger, usually a `<sd-button>` element."
|
1963
1987
|
}
|
1964
1988
|
],
|
1965
1989
|
"events": [
|
1966
1990
|
{
|
1967
1991
|
"name": "sd-show",
|
1968
|
-
"description": "Emitted when the
|
1992
|
+
"description": "Emitted when the dropdown opens."
|
1969
1993
|
},
|
1970
1994
|
{
|
1971
1995
|
"name": "sd-after-show",
|
1972
|
-
"description": "Emitted after the
|
1996
|
+
"description": "Emitted after the dropdown opens and all animations are complete."
|
1973
1997
|
},
|
1974
1998
|
{
|
1975
1999
|
"name": "sd-hide",
|
1976
|
-
"description": "Emitted when the
|
2000
|
+
"description": "Emitted when the dropdown closes."
|
1977
2001
|
},
|
1978
2002
|
{
|
1979
2003
|
"name": "sd-after-hide",
|
1980
|
-
"description": "Emitted after the
|
1981
|
-
},
|
1982
|
-
{
|
1983
|
-
"name": "sd-initial-focus",
|
1984
|
-
"description": "Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input."
|
1985
|
-
},
|
1986
|
-
{
|
1987
|
-
"name": "sd-request-close",
|
1988
|
-
"type": "{ source: 'close-button' | 'keyboard' | 'overlay' }",
|
1989
|
-
"description": "Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss."
|
2004
|
+
"description": "Emitted after the dropdown closes and all animations are complete."
|
1990
2005
|
}
|
1991
2006
|
],
|
1992
2007
|
"js": {
|
1993
2008
|
"properties": [
|
2009
|
+
{ "name": "popup", "type": "SdPopup" },
|
1994
2010
|
{ "name": "localize" },
|
1995
2011
|
{
|
1996
2012
|
"name": "open",
|
1997
|
-
"description": "Indicates whether or not the
|
2013
|
+
"description": "Indicates whether or not the dropdown is open. You can toggle this attribute to show and hide the dropdown, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the dropdown's open state.",
|
1998
2014
|
"type": "boolean"
|
1999
2015
|
},
|
2000
2016
|
{
|
2001
|
-
"name": "
|
2002
|
-
"description": "
|
2003
|
-
"type": "
|
2017
|
+
"name": "rounded",
|
2018
|
+
"description": "Indicates whether or not the dropdown should be styled with rounded corners.",
|
2019
|
+
"type": "boolean"
|
2004
2020
|
},
|
2005
2021
|
{
|
2006
2022
|
"name": "placement",
|
2007
|
-
"description": "The
|
2008
|
-
"type": "'end' | 'start'"
|
2023
|
+
"description": "The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\ninside of the viewport.",
|
2024
|
+
"type": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end'"
|
2009
2025
|
},
|
2010
2026
|
{
|
2011
|
-
"name": "
|
2012
|
-
"description": "
|
2027
|
+
"name": "disabled",
|
2028
|
+
"description": "Disables the dropdown so the panel will not open.",
|
2013
2029
|
"type": "boolean"
|
2014
2030
|
},
|
2015
2031
|
{
|
2016
|
-
"name": "
|
2017
|
-
"description": "
|
2032
|
+
"name": "stayOpenOnSelect",
|
2033
|
+
"description": "By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for\ndropdowns that allow for multiple interactions.",
|
2034
|
+
"type": "boolean"
|
2035
|
+
},
|
2036
|
+
{
|
2037
|
+
"name": "distance",
|
2038
|
+
"description": "The distance in pixels from which to offset the panel away from its trigger. This defaults to `0` for `rounded=false` and to a minimum of `1` for `rounded=true`.",
|
2039
|
+
"type": "number"
|
2040
|
+
},
|
2041
|
+
{
|
2042
|
+
"name": "skidding",
|
2043
|
+
"description": "The distance in pixels from which to offset the panel along its trigger.",
|
2044
|
+
"type": "number"
|
2045
|
+
},
|
2046
|
+
{
|
2047
|
+
"name": "noAutoSize",
|
2048
|
+
"description": "Indicates whether or not the dropdown should automatically resize its content's width/height regarding the available space on screen.",
|
2049
|
+
"type": "boolean"
|
2050
|
+
},
|
2051
|
+
{
|
2052
|
+
"name": "noFlip",
|
2053
|
+
"description": "When set to true, the placement of the dropdown will not flip to the opposite site to keep it in view.",
|
2054
|
+
"type": "boolean"
|
2055
|
+
},
|
2056
|
+
{
|
2057
|
+
"name": "hoist",
|
2058
|
+
"description": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
|
2018
2059
|
"type": "boolean"
|
2019
2060
|
},
|
2020
2061
|
{
|
@@ -2031,88 +2072,51 @@
|
|
2031
2072
|
"events": [
|
2032
2073
|
{
|
2033
2074
|
"name": "sd-show",
|
2034
|
-
"description": "Emitted when the
|
2075
|
+
"description": "Emitted when the dropdown opens."
|
2035
2076
|
},
|
2036
2077
|
{
|
2037
2078
|
"name": "sd-after-show",
|
2038
|
-
"description": "Emitted after the
|
2079
|
+
"description": "Emitted after the dropdown opens and all animations are complete."
|
2039
2080
|
},
|
2040
2081
|
{
|
2041
2082
|
"name": "sd-hide",
|
2042
|
-
"description": "Emitted when the
|
2083
|
+
"description": "Emitted when the dropdown closes."
|
2043
2084
|
},
|
2044
2085
|
{
|
2045
2086
|
"name": "sd-after-hide",
|
2046
|
-
"description": "Emitted after the
|
2047
|
-
},
|
2048
|
-
{
|
2049
|
-
"name": "sd-initial-focus",
|
2050
|
-
"description": "Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input."
|
2051
|
-
},
|
2052
|
-
{
|
2053
|
-
"name": "sd-request-close",
|
2054
|
-
"type": "{ source: 'close-button' | 'keyboard' | 'overlay' }",
|
2055
|
-
"description": "Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss."
|
2087
|
+
"description": "Emitted after the dropdown closes and all animations are complete."
|
2056
2088
|
}
|
2057
2089
|
]
|
2058
2090
|
}
|
2059
2091
|
},
|
2060
2092
|
{
|
2061
|
-
"name": "sd-
|
2062
|
-
"description": "
|
2093
|
+
"name": "sd-drawer",
|
2094
|
+
"description": "Drawers slide in from a container to expose additional options and information.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the drawer opens.\n- **sd-after-show** - Emitted after the drawer opens and all animations are complete.\n- **sd-hide** - Emitted when the drawer closes.\n- **sd-after-hide** - Emitted after the drawer closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **sd-request-close** - Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the drawer.\n- **hide()** - Hides the drawer\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The drawer's main content.\n- **header** - The drawer's header, usually a title.\n- **footer** - The drawer's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the drawer. depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the drawer.\n- **panel** - The drawer's panel (where the drawer and its content are rendered).\n- **header** - The drawer's header. This element wraps the title and the close-button.\n- **title** - The drawer's title.\n- **close-button** - The close button, an `<sd-button>`.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
2063
2095
|
"doc-url": "",
|
2064
2096
|
"attributes": [
|
2065
2097
|
{
|
2066
2098
|
"name": "open",
|
2067
|
-
"description": "Indicates whether or not the
|
2099
|
+
"description": "Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.",
|
2068
2100
|
"value": { "type": "boolean", "default": "false" }
|
2069
2101
|
},
|
2070
2102
|
{
|
2071
|
-
"name": "
|
2072
|
-
"description": "
|
2073
|
-
"value": { "type": "
|
2103
|
+
"name": "label",
|
2104
|
+
"description": "You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility.",
|
2105
|
+
"value": { "type": "string", "default": "''" }
|
2074
2106
|
},
|
2075
2107
|
{
|
2076
2108
|
"name": "placement",
|
2077
|
-
"description": "The
|
2078
|
-
"value": {
|
2079
|
-
"type": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end'",
|
2080
|
-
"default": "'bottom-start'"
|
2081
|
-
}
|
2082
|
-
},
|
2083
|
-
{
|
2084
|
-
"name": "disabled",
|
2085
|
-
"description": "Disables the dropdown so the panel will not open.",
|
2086
|
-
"value": { "type": "boolean", "default": "false" }
|
2087
|
-
},
|
2088
|
-
{
|
2089
|
-
"name": "stay-open-on-select",
|
2090
|
-
"description": "By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for\ndropdowns that allow for multiple interactions.",
|
2091
|
-
"value": { "type": "boolean", "default": "false" }
|
2092
|
-
},
|
2093
|
-
{
|
2094
|
-
"name": "distance",
|
2095
|
-
"description": "The distance in pixels from which to offset the panel away from its trigger. This defaults to `0` for `rounded=false` and to a minimum of `1` for `rounded=true`.",
|
2096
|
-
"value": { "type": "number", "default": "0" }
|
2097
|
-
},
|
2098
|
-
{
|
2099
|
-
"name": "skidding",
|
2100
|
-
"description": "The distance in pixels from which to offset the panel along its trigger.",
|
2101
|
-
"value": { "type": "number", "default": "0" }
|
2102
|
-
},
|
2103
|
-
{
|
2104
|
-
"name": "no-auto-size",
|
2105
|
-
"description": "Indicates whether or not the dropdown should automatically resize its content's width/height regarding the available space on screen.",
|
2106
|
-
"value": { "type": "boolean", "default": "false" }
|
2109
|
+
"description": "The direction from which the drawer will open.",
|
2110
|
+
"value": { "type": "'end' | 'start'", "default": "'end'" }
|
2107
2111
|
},
|
2108
2112
|
{
|
2109
|
-
"name": "
|
2110
|
-
"description": "
|
2113
|
+
"name": "contained",
|
2114
|
+
"description": "By default, the drawer slides out of its containing block (the viewport). Contained is a hidden feature used only for testing purposes. Please do not use it in production as it will likely change.",
|
2111
2115
|
"value": { "type": "boolean", "default": "false" }
|
2112
2116
|
},
|
2113
2117
|
{
|
2114
|
-
"name": "
|
2115
|
-
"description": "
|
2118
|
+
"name": "no-header",
|
2119
|
+
"description": "Removes the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the drawer.",
|
2116
2120
|
"value": { "type": "boolean", "default": "false" }
|
2117
2121
|
},
|
2118
2122
|
{
|
@@ -2127,82 +2131,69 @@
|
|
2127
2131
|
}
|
2128
2132
|
],
|
2129
2133
|
"slots": [
|
2130
|
-
{ "name": "", "description": "The
|
2134
|
+
{ "name": "", "description": "The drawer's main content." },
|
2131
2135
|
{
|
2132
|
-
"name": "
|
2133
|
-
"description": "The
|
2136
|
+
"name": "header",
|
2137
|
+
"description": "The drawer's header, usually a title."
|
2138
|
+
},
|
2139
|
+
{
|
2140
|
+
"name": "footer",
|
2141
|
+
"description": "The drawer's footer, usually one or more buttons representing various options."
|
2134
2142
|
}
|
2135
2143
|
],
|
2136
2144
|
"events": [
|
2137
2145
|
{
|
2138
2146
|
"name": "sd-show",
|
2139
|
-
"description": "Emitted when the
|
2147
|
+
"description": "Emitted when the drawer opens."
|
2140
2148
|
},
|
2141
2149
|
{
|
2142
2150
|
"name": "sd-after-show",
|
2143
|
-
"description": "Emitted after the
|
2151
|
+
"description": "Emitted after the drawer opens and all animations are complete."
|
2144
2152
|
},
|
2145
2153
|
{
|
2146
2154
|
"name": "sd-hide",
|
2147
|
-
"description": "Emitted when the
|
2155
|
+
"description": "Emitted when the drawer closes."
|
2148
2156
|
},
|
2149
2157
|
{
|
2150
2158
|
"name": "sd-after-hide",
|
2151
|
-
"description": "Emitted after the
|
2159
|
+
"description": "Emitted after the drawer closes and all animations are complete."
|
2160
|
+
},
|
2161
|
+
{
|
2162
|
+
"name": "sd-initial-focus",
|
2163
|
+
"description": "Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input."
|
2164
|
+
},
|
2165
|
+
{
|
2166
|
+
"name": "sd-request-close",
|
2167
|
+
"type": "{ source: 'close-button' | 'keyboard' | 'overlay' }",
|
2168
|
+
"description": "Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss."
|
2152
2169
|
}
|
2153
2170
|
],
|
2154
2171
|
"js": {
|
2155
2172
|
"properties": [
|
2156
|
-
{ "name": "popup", "type": "SdPopup" },
|
2157
2173
|
{ "name": "localize" },
|
2158
2174
|
{
|
2159
2175
|
"name": "open",
|
2160
|
-
"description": "Indicates whether or not the
|
2176
|
+
"description": "Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.",
|
2161
2177
|
"type": "boolean"
|
2162
2178
|
},
|
2163
2179
|
{
|
2164
|
-
"name": "
|
2165
|
-
"description": "
|
2166
|
-
"type": "
|
2180
|
+
"name": "label",
|
2181
|
+
"description": "You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility.",
|
2182
|
+
"type": "string"
|
2167
2183
|
},
|
2168
2184
|
{
|
2169
2185
|
"name": "placement",
|
2170
|
-
"description": "The
|
2171
|
-
"type": "
|
2172
|
-
},
|
2173
|
-
{
|
2174
|
-
"name": "disabled",
|
2175
|
-
"description": "Disables the dropdown so the panel will not open.",
|
2176
|
-
"type": "boolean"
|
2177
|
-
},
|
2178
|
-
{
|
2179
|
-
"name": "stayOpenOnSelect",
|
2180
|
-
"description": "By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for\ndropdowns that allow for multiple interactions.",
|
2181
|
-
"type": "boolean"
|
2182
|
-
},
|
2183
|
-
{
|
2184
|
-
"name": "distance",
|
2185
|
-
"description": "The distance in pixels from which to offset the panel away from its trigger. This defaults to `0` for `rounded=false` and to a minimum of `1` for `rounded=true`.",
|
2186
|
-
"type": "number"
|
2187
|
-
},
|
2188
|
-
{
|
2189
|
-
"name": "skidding",
|
2190
|
-
"description": "The distance in pixels from which to offset the panel along its trigger.",
|
2191
|
-
"type": "number"
|
2192
|
-
},
|
2193
|
-
{
|
2194
|
-
"name": "noAutoSize",
|
2195
|
-
"description": "Indicates whether or not the dropdown should automatically resize its content's width/height regarding the available space on screen.",
|
2196
|
-
"type": "boolean"
|
2186
|
+
"description": "The direction from which the drawer will open.",
|
2187
|
+
"type": "'end' | 'start'"
|
2197
2188
|
},
|
2198
2189
|
{
|
2199
|
-
"name": "
|
2200
|
-
"description": "
|
2190
|
+
"name": "contained",
|
2191
|
+
"description": "By default, the drawer slides out of its containing block (the viewport). Contained is a hidden feature used only for testing purposes. Please do not use it in production as it will likely change.",
|
2201
2192
|
"type": "boolean"
|
2202
2193
|
},
|
2203
2194
|
{
|
2204
|
-
"name": "
|
2205
|
-
"description": "
|
2195
|
+
"name": "noHeader",
|
2196
|
+
"description": "Removes the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the drawer.",
|
2206
2197
|
"type": "boolean"
|
2207
2198
|
},
|
2208
2199
|
{
|
@@ -2219,19 +2210,28 @@
|
|
2219
2210
|
"events": [
|
2220
2211
|
{
|
2221
2212
|
"name": "sd-show",
|
2222
|
-
"description": "Emitted when the
|
2213
|
+
"description": "Emitted when the drawer opens."
|
2223
2214
|
},
|
2224
2215
|
{
|
2225
2216
|
"name": "sd-after-show",
|
2226
|
-
"description": "Emitted after the
|
2217
|
+
"description": "Emitted after the drawer opens and all animations are complete."
|
2227
2218
|
},
|
2228
2219
|
{
|
2229
2220
|
"name": "sd-hide",
|
2230
|
-
"description": "Emitted when the
|
2221
|
+
"description": "Emitted when the drawer closes."
|
2231
2222
|
},
|
2232
2223
|
{
|
2233
2224
|
"name": "sd-after-hide",
|
2234
|
-
"description": "Emitted after the
|
2225
|
+
"description": "Emitted after the drawer closes and all animations are complete."
|
2226
|
+
},
|
2227
|
+
{
|
2228
|
+
"name": "sd-initial-focus",
|
2229
|
+
"description": "Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input."
|
2230
|
+
},
|
2231
|
+
{
|
2232
|
+
"name": "sd-request-close",
|
2233
|
+
"type": "{ source: 'close-button' | 'keyboard' | 'overlay' }",
|
2234
|
+
"description": "Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss."
|
2235
2235
|
}
|
2236
2236
|
]
|
2237
2237
|
}
|
@@ -2427,6 +2427,7 @@
|
|
2427
2427
|
"description": "Determines the variant of the back face of the flipcard.",
|
2428
2428
|
"type": "'primary' | 'primary-100' | 'gradient-light' | 'gradient-dark'"
|
2429
2429
|
},
|
2430
|
+
{ "name": "activeSide", "type": "'front' | 'back'" },
|
2430
2431
|
{
|
2431
2432
|
"name": "dir",
|
2432
2433
|
"description": "The element's directionality.",
|
@@ -32,7 +32,7 @@ let SdMenu = class SdMenu extends SolidElement {
|
|
32
32
|
if (item.type === 'checkbox') {
|
33
33
|
item.checked = !item.checked;
|
34
34
|
}
|
35
|
-
this.emit('sd-4-0-0-next-
|
35
|
+
this.emit('sd-4-0-0-next-6-select', { detail: { item } });
|
36
36
|
}
|
37
37
|
handleKeyDown(event) {
|
38
38
|
if (event.key === 'Enter') {
|
@@ -74,7 +74,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
|
|
74
74
|
})}
|
75
75
|
>
|
76
76
|
<span part="checked-icon" class="menu-item__check">
|
77
|
-
<sd-4-0-0-next-
|
77
|
+
<sd-4-0-0-next-6-icon name="check" library="system" aria-hidden="true"></sd-4-0-0-next-6-icon>
|
78
78
|
</span>
|
79
79
|
|
80
80
|
<slot name="prefix" part="prefix" class="menu-item__prefix"></slot>
|
@@ -84,7 +84,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
|
|
84
84
|
<slot name="suffix" part="suffix" class="menu-item__suffix"></slot>
|
85
85
|
|
86
86
|
<span class="menu-item__chevron">
|
87
|
-
<sd-4-0-0-next-
|
87
|
+
<sd-4-0-0-next-6-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-0-0-next-6-icon>
|
88
88
|
</span>
|
89
89
|
</div>
|
90
90
|
`;
|
@@ -168,7 +168,7 @@ __decorateClass([
|
|
168
168
|
watch(["checked"], { waitUntilFirstUpdate: true })
|
169
169
|
], SdSwitch.prototype, "handleStateChange", 1);
|
170
170
|
SdSwitch = __decorateClass([
|
171
|
-
customElement("sd-4-0-0-next-
|
171
|
+
customElement("sd-4-0-0-next-6-switch")
|
172
172
|
], SdSwitch);
|
173
173
|
|
174
174
|
export {
|
@@ -81,7 +81,7 @@ var SdStep = class extends SolidElement {
|
|
81
81
|
!this.disabled && !this.current && !this.notInteractive && "text-primary group-hover:text-primary-500 group-hover:fill-primary-500",
|
82
82
|
this.notInteractive && "text-primary",
|
83
83
|
this.size === "lg" ? "text-lg" : "text-sm"
|
84
|
-
)}">${!this.disabled && !this.current && !this.notInteractive ? html`<sd-4-0-0-next-
|
84
|
+
)}">${!this.disabled && !this.current && !this.notInteractive ? html`<sd-4-0-0-next-6-icon name="status-check" library="system"></sd-4-0-0-next-6-icon>` : html`${this.index}`}</slot></${tag}>${this.noTail ? "" : html`<div part="tail" class="${cx(
|
85
85
|
this.orientation === "horizontal" ? "border-t w-full my-auto mr-2" : "border-l flex-grow flex-shrink-0 basis-auto h-full w-[1px] mx-auto",
|
86
86
|
!this.disabled && !this.current && !this.notInteractive ? " border-primary group-hover:border-primary-500" : "border-neutral-400"
|
87
87
|
)}"></div>`}</div><div part="text-container" class="${cx("mt-4 break-words flex flex-col gap-2", this.orientation === "horizontal" ? "text-center w-40" : "w-max text-left", this.disabled && "!text-neutral-700", this.notInteractive ? "ml-3" : "mr-4")}"><div part="label" id="label" class="${cx("!font-bold sd-paragraph", this.disabled && "!text-neutral-700", !this.disabled && !this.current && !this.notInteractive ? "!text-primary group-hover:!text-primary-500 group-hover:cursor-pointer" : "text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${cx("sd-paragraph sd-paragraph--size-sm", this.disabled && "!text-neutral-700")}">${this.description || html`<slot></slot>`}</div></div></div>`;
|
@@ -131,7 +131,7 @@ __decorateClass([
|
|
131
131
|
watch("notInteractive")
|
132
132
|
], SdStep.prototype, "handleInteractivityChange", 1);
|
133
133
|
SdStep = __decorateClass([
|
134
|
-
customElement("sd-4-0-0-next-
|
134
|
+
customElement("sd-4-0-0-next-6-step")
|
135
135
|
], SdStep);
|
136
136
|
|
137
137
|
export {
|
@@ -64,10 +64,10 @@ var SdQuickfact = class extends SdAccordion {
|
|
64
64
|
!this.expandable && "hidden"
|
65
65
|
)}
|
66
66
|
><slot name="expand-icon" class=${cx(this.open && "hidden")}>
|
67
|
-
<sd-4-0-0-next-
|
67
|
+
<sd-4-0-0-next-6-icon library="system" name="chevron-down"></sd-4-0-0-next-6-icon>
|
68
68
|
</slot>
|
69
69
|
<slot name="collapse-icon" class=${cx(!this.open && "hidden")}>
|
70
|
-
<sd-4-0-0-next-
|
70
|
+
<sd-4-0-0-next-6-icon library="system" name="chevron-down"></sd-4-0-0-next-6-icon> </slot
|
71
71
|
></span>
|
72
72
|
</${header}>
|
73
73
|
<div part="content" id="content" class=${cx("overflow-hidden", !this.expandable && "hidden")}>
|
@@ -85,7 +85,7 @@ __decorateClass([
|
|
85
85
|
property({ type: Boolean, reflect: true })
|
86
86
|
], SdQuickfact.prototype, "expandable", 2);
|
87
87
|
SdQuickfact = __decorateClass([
|
88
|
-
customElement("sd-4-0-0-next-
|
88
|
+
customElement("sd-4-0-0-next-6-quickfact")
|
89
89
|
], SdQuickfact);
|
90
90
|
setDefaultAnimation("quickfact.show", {
|
91
91
|
keyframes: [
|