@solid-design-system/components 1.36.0 → 1.37.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/dist/components/es/checkbox-group.js +1 -1
- package/dist/components/es/checkbox.js +1 -1
- package/dist/components/es/form.js +1 -1
- package/dist/components/es/input.js +1 -1
- package/dist/components/es/option.js +1 -1
- package/dist/components/es/radio-group.js +1 -1
- package/dist/components/es/radio.js +1 -1
- package/dist/components/es/select.js +2 -2
- package/dist/components/es/solid-element.js +1 -1
- package/dist/components/es/switch.js +1 -1
- package/dist/components/es/textarea.js +1 -1
- package/dist/components/umd/solid-components.js +18 -18
- package/dist/custom-elements.json +1 -1
- package/dist/package/components/checkbox/checkbox.d.ts +2 -0
- package/dist/package/components/checkbox/checkbox.js +23 -6
- package/dist/package/components/checkbox-group/checkbox-group.js +1 -1
- package/dist/package/components/input/input.d.ts +3 -0
- package/dist/package/components/input/input.js +20 -19
- package/dist/package/components/option/option.js +0 -2
- package/dist/package/components/radio/radio.js +3 -3
- package/dist/package/components/radio-group/radio-group.d.ts +4 -3
- package/dist/package/components/radio-group/radio-group.js +25 -27
- package/dist/package/components/select/select.d.ts +3 -3
- package/dist/package/components/select/select.js +18 -23
- package/dist/package/components/switch/switch.d.ts +2 -0
- package/dist/package/components/switch/switch.js +15 -7
- package/dist/package/components/textarea/textarea.d.ts +3 -0
- package/dist/package/components/textarea/textarea.js +30 -24
- package/dist/package/internal/form.d.ts +3 -1
- package/dist/package/internal/form.js +38 -10
- package/dist/package/internal/solid-element.d.ts +2 -0
- package/dist/package/styles/tailwind.css.js +1 -1
- package/dist/versioned-components/es/accordion-group.js +1 -1
- package/dist/versioned-components/es/accordion.js +1 -1
- package/dist/versioned-components/es/badge.js +1 -1
- package/dist/versioned-components/es/brandshape.js +1 -1
- package/dist/versioned-components/es/button.js +1 -1
- package/dist/versioned-components/es/carousel-item.js +1 -1
- package/dist/versioned-components/es/carousel.js +3 -3
- package/dist/versioned-components/es/checkbox-group.js +1 -1
- package/dist/versioned-components/es/checkbox.js +1 -1
- package/dist/versioned-components/es/divider.js +1 -1
- package/dist/versioned-components/es/drawer.js +1 -1
- package/dist/versioned-components/es/dropdown.js +1 -1
- package/dist/versioned-components/es/form.js +1 -1
- package/dist/versioned-components/es/header.js +1 -1
- package/dist/versioned-components/es/icon.js +1 -1
- package/dist/versioned-components/es/include.js +1 -1
- package/dist/versioned-components/es/input.js +1 -1
- package/dist/versioned-components/es/link.js +1 -1
- package/dist/versioned-components/es/navigation-item.js +1 -1
- package/dist/versioned-components/es/notification.js +1 -1
- package/dist/versioned-components/es/option.js +1 -1
- package/dist/versioned-components/es/popup.js +1 -1
- package/dist/versioned-components/es/radio-button.js +1 -1
- package/dist/versioned-components/es/radio-group.js +1 -1
- package/dist/versioned-components/es/radio.js +1 -1
- package/dist/versioned-components/es/select.js +2 -2
- package/dist/versioned-components/es/solid-element.js +1 -1
- package/dist/versioned-components/es/spinner.js +1 -1
- package/dist/versioned-components/es/switch.js +1 -1
- package/dist/versioned-components/es/tag.js +1 -1
- package/dist/versioned-components/es/teaser.js +1 -1
- package/dist/versioned-components/es/textarea.js +1 -1
- package/dist/versioned-components/es/tooltip.js +2 -2
- package/dist/versioned-components/es/video.js +1 -1
- package/dist/versioned-package/_components/button-group/button-group.d.ts +1 -1
- package/dist/versioned-package/_components/button-group/button-group.js +11 -11
- package/dist/versioned-package/components/accordion/accordion.d.ts +1 -1
- package/dist/versioned-package/components/accordion/accordion.js +2 -2
- package/dist/versioned-package/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist/versioned-package/components/accordion-group/accordion-group.js +3 -3
- package/dist/versioned-package/components/badge/badge.d.ts +1 -1
- package/dist/versioned-package/components/badge/badge.js +1 -1
- package/dist/versioned-package/components/brandshape/brandshape.d.ts +1 -1
- package/dist/versioned-package/components/brandshape/brandshape.js +1 -1
- package/dist/versioned-package/components/button/button.d.ts +1 -1
- package/dist/versioned-package/components/button/button.js +4 -4
- package/dist/versioned-package/components/carousel/carousel.d.ts +1 -1
- package/dist/versioned-package/components/carousel/carousel.js +6 -6
- package/dist/versioned-package/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist/versioned-package/components/carousel-item/carousel-item.js +1 -1
- package/dist/versioned-package/components/checkbox/checkbox.d.ts +3 -1
- package/dist/versioned-package/components/checkbox/checkbox.js +27 -10
- package/dist/versioned-package/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist/versioned-package/components/checkbox-group/checkbox-group.js +6 -6
- package/dist/versioned-package/components/divider/divider.d.ts +1 -1
- package/dist/versioned-package/components/divider/divider.js +2 -2
- package/dist/versioned-package/components/drawer/drawer.d.ts +1 -1
- package/dist/versioned-package/components/drawer/drawer.js +2 -2
- package/dist/versioned-package/components/dropdown/dropdown.d.ts +1 -1
- package/dist/versioned-package/components/dropdown/dropdown.js +8 -8
- package/dist/versioned-package/components/header/header.d.ts +1 -1
- package/dist/versioned-package/components/header/header.js +4 -4
- package/dist/versioned-package/components/icon/icon.d.ts +1 -1
- package/dist/versioned-package/components/icon/icon.js +1 -1
- package/dist/versioned-package/components/include/include.d.ts +1 -1
- package/dist/versioned-package/components/include/include.js +1 -1
- package/dist/versioned-package/components/input/input.d.ts +4 -1
- package/dist/versioned-package/components/input/input.js +23 -22
- package/dist/versioned-package/components/link/link.d.ts +1 -1
- package/dist/versioned-package/components/link/link.js +2 -2
- package/dist/versioned-package/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist/versioned-package/components/navigation-item/navigation-item.js +3 -3
- package/dist/versioned-package/components/notification/notification.d.ts +1 -1
- package/dist/versioned-package/components/notification/notification.js +5 -5
- package/dist/versioned-package/components/option/option.d.ts +1 -1
- package/dist/versioned-package/components/option/option.js +2 -4
- package/dist/versioned-package/components/popup/popup.d.ts +1 -1
- package/dist/versioned-package/components/popup/popup.js +1 -1
- package/dist/versioned-package/components/radio/radio.d.ts +1 -1
- package/dist/versioned-package/components/radio/radio.js +5 -5
- package/dist/versioned-package/components/radio-button/radio-button.d.ts +1 -1
- package/dist/versioned-package/components/radio-button/radio-button.js +2 -2
- package/dist/versioned-package/components/radio-group/radio-group.d.ts +6 -5
- package/dist/versioned-package/components/radio-group/radio-group.js +38 -40
- package/dist/versioned-package/components/select/select.d.ts +7 -7
- package/dist/versioned-package/components/select/select.js +44 -49
- package/dist/versioned-package/components/spinner/spinner.d.ts +1 -1
- package/dist/versioned-package/components/spinner/spinner.js +1 -1
- package/dist/versioned-package/components/switch/switch.d.ts +3 -1
- package/dist/versioned-package/components/switch/switch.js +17 -9
- package/dist/versioned-package/components/tag/tag.d.ts +1 -1
- package/dist/versioned-package/components/tag/tag.js +2 -2
- package/dist/versioned-package/components/teaser/teaser.js +1 -1
- package/dist/versioned-package/components/textarea/textarea.d.ts +4 -1
- package/dist/versioned-package/components/textarea/textarea.js +32 -26
- package/dist/versioned-package/components/tooltip/tooltip.d.ts +1 -1
- package/dist/versioned-package/components/tooltip/tooltip.js +5 -5
- package/dist/versioned-package/components/video/video.d.ts +1 -1
- package/dist/versioned-package/components/video/video.js +2 -2
- package/dist/versioned-package/internal/form.d.ts +3 -1
- package/dist/versioned-package/internal/form.js +40 -12
- package/dist/versioned-package/internal/solid-element.d.ts +2 -0
- package/dist/versioned-package/styles/tailwind.css.js +1 -1
- package/dist/versioned-styles/solid-styles.css +1 -1
- package/dist/vscode.html-custom-data.json +44 -34
- package/dist/web-types.json +78 -18
- package/package.json +1 -1
- package/dist/components/es/form-control.styles.js +0 -1
- package/dist/package/styles/form-control.styles.d.ts +0 -2
- package/dist/package/styles/form-control.styles.js +0 -5
- package/dist/versioned-components/es/form-control.styles.js +0 -1
- package/dist/versioned-package/styles/form-control.styles.d.ts +0 -2
- package/dist/versioned-package/styles/form-control.styles.js +0 -5
|
@@ -1446,13 +1446,18 @@
|
|
|
1446
1446
|
},
|
|
1447
1447
|
{
|
|
1448
1448
|
"name": "sd-radio-group",
|
|
1449
|
-
"description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-change** - Emitted when the radio group's selected value changes.\n- **sd-input** - Emitted when the radio group receives user input.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\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(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-radio>` or `<sd-radio-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and error text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **button-group** - The button group that wraps radio buttons.\n- **button-group__base** - The button group's `base` part.",
|
|
1449
|
+
"description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-change** - Emitted when the radio group's selected value changes.\n- **sd-input** - Emitted when the radio group receives user 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()** - Move focus to the checked radio (or the first one if none are checked)\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(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-radio>` or `<sd-radio-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and error text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **button-group** - The button group that wraps radio buttons.\n- **button-group__base** - The button group's `base` part.",
|
|
1450
1450
|
"attributes": [
|
|
1451
1451
|
{
|
|
1452
1452
|
"name": "label",
|
|
1453
1453
|
"description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
1454
1454
|
"values": []
|
|
1455
1455
|
},
|
|
1456
|
+
{
|
|
1457
|
+
"name": "boldLabel",
|
|
1458
|
+
"description": "Quick way to make the group label bold. Bolding the group label is highly recommended for visual clarity between the label and radio options.\nIt is false by default for consistency among the other form elements which do not use bold labels by default.",
|
|
1459
|
+
"values": []
|
|
1460
|
+
},
|
|
1456
1461
|
{
|
|
1457
1462
|
"name": "name",
|
|
1458
1463
|
"description": "The name of the radio group, submitted as a name/value pair with form data.",
|
|
@@ -2085,7 +2090,7 @@
|
|
|
2085
2090
|
"references": []
|
|
2086
2091
|
},
|
|
2087
2092
|
{
|
|
2088
|
-
"name": "sd-1-
|
|
2093
|
+
"name": "sd-1-37-0-accordion-group",
|
|
2089
2094
|
"description": "Short summary of the component's intended use.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The default slot where `<sd-accordion>` elements are placed.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
2090
2095
|
"attributes": [
|
|
2091
2096
|
{
|
|
@@ -2097,7 +2102,7 @@
|
|
|
2097
2102
|
"references": []
|
|
2098
2103
|
},
|
|
2099
2104
|
{
|
|
2100
|
-
"name": "sd-1-
|
|
2105
|
+
"name": "sd-1-37-0-accordion",
|
|
2101
2106
|
"description": "Accordion shows a brief summary and expands to show additional content.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\n\n### **Slots:**\n - _default_ - The accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The header that wraps both the summary and the expand/collapse icon.\n- **summary** - The container that wraps the summary.\n- **summary-icon** - The container that wraps the expand/collapse icons.\n- **content** - The container that wraps the accordion content slot.\n- **content__slot** - The accordion content slot.",
|
|
2102
2107
|
"attributes": [
|
|
2103
2108
|
{
|
|
@@ -2114,7 +2119,7 @@
|
|
|
2114
2119
|
"references": []
|
|
2115
2120
|
},
|
|
2116
2121
|
{
|
|
2117
|
-
"name": "sd-1-
|
|
2122
|
+
"name": "sd-1-37-0-badge",
|
|
2118
2123
|
"description": "Badges are used to draw attention and display statuses or counts.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The badge's base wrapper.\n- **content** - The badge's main content.",
|
|
2119
2124
|
"attributes": [
|
|
2120
2125
|
{
|
|
@@ -2156,7 +2161,7 @@
|
|
|
2156
2161
|
"references": []
|
|
2157
2162
|
},
|
|
2158
2163
|
{
|
|
2159
|
-
"name": "sd-1-
|
|
2164
|
+
"name": "sd-1-37-0-brandshape",
|
|
2160
2165
|
"description": "The Brandshape highlights a piece of content.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The content inside the brandshape.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - Middle content wrapper.\n- **shape-top** - Top shape.\n- **shape-middle** - Middle shape.\n- **shape-bottom** - Bottom shape.",
|
|
2161
2166
|
"attributes": [
|
|
2162
2167
|
{
|
|
@@ -2193,7 +2198,7 @@
|
|
|
2193
2198
|
"references": []
|
|
2194
2199
|
},
|
|
2195
2200
|
{
|
|
2196
|
-
"name": "sd-1-
|
|
2201
|
+
"name": "sd-1-37-0-button",
|
|
2197
2202
|
"description": "Buttons represent actions that are available to the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.",
|
|
2198
2203
|
"attributes": [
|
|
2199
2204
|
{
|
|
@@ -2365,13 +2370,13 @@
|
|
|
2365
2370
|
"references": []
|
|
2366
2371
|
},
|
|
2367
2372
|
{
|
|
2368
|
-
"name": "sd-1-
|
|
2373
|
+
"name": "sd-1-37-0-carousel-item",
|
|
2369
2374
|
"description": "A carousel item represent a slide within a [carousel](/components/carousel).\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The carousel item's content.",
|
|
2370
2375
|
"attributes": [],
|
|
2371
2376
|
"references": []
|
|
2372
2377
|
},
|
|
2373
2378
|
{
|
|
2374
|
-
"name": "sd-1-
|
|
2379
|
+
"name": "sd-1-37-0-carousel",
|
|
2375
2380
|
"description": "Carousels display an arbitrary number of content slides along a horizontal axis.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-slide-change** - Emitted when the active slide changes.\n\n### **Methods:**\n - **previous(behavior: _ScrollBehavior_)** - Move the carousel backward by `slides-per-move` slides.\n- **next(behavior: _ScrollBehavior_)** - Move the carousel forward by `slides-per-move` slides.\n- **goToSlide(index: _number_, behavior: _ScrollBehavior_)** - Scrolls the carousel to the slide specified by `index`.\n\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<sd-carousel-item>` elements.\n- **next-icon** - Optional next icon to use instead of the default. Works best with `<sd-icon>`.\n- **previous-icon** - Optional previous icon to use instead of the default. Works best with `<sd-icon>`.\n- **autoplay-start** - Optional start icon to use instead of the default. Works best with `<sd-icon>`.\n- **autoplay-pause** - Optional pause icon to use instead of the default. Works best with `<sd-icon>`.\n\n### **CSS Properties:**\n - **--slide-gap** - The space between each slide. _(default: undefined)_\n- **--scroll-hint** - The amount of padding to apply to the scroll area, allowing adjacent slides to become partially visible as a scroll hint. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The carousel's internal wrapper.\n- **scroll-container** - The scroll container that wraps the slides.\n- **controls** - A wrapper for the navigation and autoplay controller buttons.\n- **pagination-dot** - The pagination indicator in dot format.\n- **pagination-number** - The pagination indicator in number format.\n- **pagination-item** - The pagination indicator.\n- **pagination-item--active** - Applied when the item is active.\n- **navigation** - The navigation wrapper.\n- **navigation-button** - The navigation button.\n- **navigation-button--previous** - Applied to the previous button.\n- **navigation-button--next** - Applied to the next button.\n- **autoplay-controls** - A wrapper for pause/start button.",
|
|
2376
2381
|
"attributes": [
|
|
2377
2382
|
{
|
|
@@ -2415,7 +2420,7 @@
|
|
|
2415
2420
|
"references": []
|
|
2416
2421
|
},
|
|
2417
2422
|
{
|
|
2418
|
-
"name": "sd-1-
|
|
2423
|
+
"name": "sd-1-37-0-checkbox-group",
|
|
2419
2424
|
"description": "Checkbox groups are used to group multiple [checkbox](/components/checkbox). It provides only presentational functionality.\n\n\n---\n\n\n\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.",
|
|
2420
2425
|
"attributes": [
|
|
2421
2426
|
{
|
|
@@ -2451,7 +2456,7 @@
|
|
|
2451
2456
|
"references": []
|
|
2452
2457
|
},
|
|
2453
2458
|
{
|
|
2454
|
-
"name": "sd-1-
|
|
2459
|
+
"name": "sd-1-37-0-checkbox",
|
|
2455
2460
|
"description": "Checkboxes allow the user to toggle an option on or off.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the checkbox loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the checkbox gains focus.\n- **sd-input** - Emitted when the checkbox receives input.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns true when valid and false when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows a validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<sd-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<sd-icon>` element.\n- **label** - The container that wraps the checkbox's label.",
|
|
2456
2461
|
"attributes": [
|
|
2457
2462
|
{
|
|
@@ -2509,7 +2514,7 @@
|
|
|
2509
2514
|
"references": []
|
|
2510
2515
|
},
|
|
2511
2516
|
{
|
|
2512
|
-
"name": "sd-1-
|
|
2517
|
+
"name": "sd-1-37-0-divider",
|
|
2513
2518
|
"description": "Dividers are used to visually separate or group elements.\n\n\n---\n\n\n",
|
|
2514
2519
|
"attributes": [
|
|
2515
2520
|
{
|
|
@@ -2533,7 +2538,7 @@
|
|
|
2533
2538
|
"references": []
|
|
2534
2539
|
},
|
|
2535
2540
|
{
|
|
2536
|
-
"name": "sd-1-
|
|
2541
|
+
"name": "sd-1-37-0-drawer",
|
|
2537
2542
|
"description": "Drawers slide in from a container to expose additional options and information.\n\n\n---\n\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\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.",
|
|
2538
2543
|
"attributes": [
|
|
2539
2544
|
{
|
|
@@ -2572,7 +2577,7 @@
|
|
|
2572
2577
|
"references": []
|
|
2573
2578
|
},
|
|
2574
2579
|
{
|
|
2575
|
-
"name": "sd-1-
|
|
2580
|
+
"name": "sd-1-37-0-dropdown",
|
|
2576
2581
|
"description": "Dropdowns expose additional content that \"drops down\" in a panel.\n\n\n---\n\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 - **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\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.",
|
|
2577
2582
|
"attributes": [
|
|
2578
2583
|
{
|
|
@@ -2669,7 +2674,7 @@
|
|
|
2669
2674
|
"references": []
|
|
2670
2675
|
},
|
|
2671
2676
|
{
|
|
2672
|
-
"name": "sd-1-
|
|
2677
|
+
"name": "sd-1-37-0-header",
|
|
2673
2678
|
"description": "Header\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The header's default content.\n\n### **CSS Properties:**\n - **--sd-header-inner-width** - width of the header content _(default: undefined)_\n- **--sd-header-inner-max-width** - max-width of the header content _(default: undefined)_\n- **--sd-header-padding** - padding-left and padding-right of the header content _(default: undefined)_\n\n### **CSS Parts:**\n - **main** - The container that wraps the header's content.",
|
|
2674
2679
|
"attributes": [
|
|
2675
2680
|
{
|
|
@@ -2681,7 +2686,7 @@
|
|
|
2681
2686
|
"references": []
|
|
2682
2687
|
},
|
|
2683
2688
|
{
|
|
2684
|
-
"name": "sd-1-
|
|
2689
|
+
"name": "sd-1-37-0-icon",
|
|
2685
2690
|
"description": "Icons are symbols that can be used to represent various options within an application.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-load** - Emitted when the icon has loaded.\n- **sd-error** - Emitted when the icon fails to load due to an error.",
|
|
2686
2691
|
"attributes": [
|
|
2687
2692
|
{
|
|
@@ -2723,7 +2728,7 @@
|
|
|
2723
2728
|
"references": []
|
|
2724
2729
|
},
|
|
2725
2730
|
{
|
|
2726
|
-
"name": "sd-1-
|
|
2731
|
+
"name": "sd-1-37-0-include",
|
|
2727
2732
|
"description": "Includes give you the power to embed external HTML files into the page.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-load** - Emitted when the included file is loaded.\n- **sd-error** - Emitted when the included file fails to load due to an error.",
|
|
2728
2733
|
"attributes": [
|
|
2729
2734
|
{
|
|
@@ -2755,7 +2760,7 @@
|
|
|
2755
2760
|
"references": []
|
|
2756
2761
|
},
|
|
2757
2762
|
{
|
|
2758
|
-
"name": "sd-1-
|
|
2763
|
+
"name": "sd-1-37-0-input",
|
|
2759
2764
|
"description": "Inputs collect data from the user.\n\n\n---\n\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-clear** - Emitted when the clear button is activated.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-input** - Emitted when the control receives input.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\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- **showPicker()** - Displays the browser picker for an input element (only works if the browser supports it for the input type).\n- **stepUp()** - Increments the value of a numeric input type by the value of the step attribute.\n- **stepDown()** - Decrements the value of a numeric input type by the value of the step attribute.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message.\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\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the input.\n- **right** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\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- **input** - The internal `<input>` control.\n- **left** - The container that wraps the left.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **right** - The container that wraps the right.",
|
|
2760
2765
|
"attributes": [
|
|
2761
2766
|
{
|
|
@@ -3028,7 +3033,7 @@
|
|
|
3028
3033
|
"references": []
|
|
3029
3034
|
},
|
|
3030
3035
|
{
|
|
3031
|
-
"name": "sd-1-
|
|
3036
|
+
"name": "sd-1-37-0-link",
|
|
3032
3037
|
"description": "A link component.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the link loses focus.\n- **sd-focus** - Emitted when the link gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n\n### **Slots:**\n - _default_ - The default slot.\n- **icon-left** - The icon to display on the left side of the link.\n- **icon-right** - The icon to display on the right side of the link.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The link's label.\n- **icon-right** - The container that wraps the right icon area.",
|
|
3033
3038
|
"attributes": [
|
|
3034
3039
|
{
|
|
@@ -3088,7 +3093,7 @@
|
|
|
3088
3093
|
"references": []
|
|
3089
3094
|
},
|
|
3090
3095
|
{
|
|
3091
|
-
"name": "sd-1-
|
|
3096
|
+
"name": "sd-1-37-0-navigation-item",
|
|
3092
3097
|
"description": "Flexible button / link component that can be used to quickly build navigations. Takes one of 3 forms: link (overrides all other if 'href' is provided), button (default), or accordion (if 'children' slot defined).\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-show** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are hidden.\n- **sd-hide** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are shown.\n\n### **Slots:**\n - _default_ - The navigation item's label.\n- **description** - *Vertical only: Slot used to provide a description for the navigation item.\n- **children** - Slot used to provide nested child navigation elements. If provided, details and summary elements will be used. A chevron will be shown on the right side regardless of the chevron property.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper including children.\n- **content** - The component's content excluding children.\n- **chevron** - The container that wraps the chevron.\n- **description** - The component's description area below its main content.\n- **divider** - The component's optional top divider.",
|
|
3093
3098
|
"attributes": [
|
|
3094
3099
|
{
|
|
@@ -3178,7 +3183,7 @@
|
|
|
3178
3183
|
"references": []
|
|
3179
3184
|
},
|
|
3180
3185
|
{
|
|
3181
|
-
"name": "sd-1-
|
|
3186
|
+
"name": "sd-1-37-0-notification",
|
|
3182
3187
|
"description": "Alerts are used to display important messages inline or as toast notifications.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-show** - Emitted when the notification opens.\n- **sd-after-show** - Emitted after the notification opens and all animations are complete.\n- **sd-hide** - Emitted when the notification closes.\n- **sd-after-hide** - Emitted after the notification closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the notification.\n- **hide()** - Hides the notification\n- **toast()** - Displays the notification as a toast notification. This will move the notification out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the notification, you can reuse it by\ncalling this method again. The returned promise will resolve after the notification is hidden.\n\n### **Slots:**\n - _default_ - The sd-notification's main content.\n- **icon** - An icon to show in the sd-notification. Works best with `<sd-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the optional icon.\n- **content** - The container that wraps the notifications's main content and the close button.\n- **message** - The container that wraps the notifications's main content.\n- **duration-indicator__elapsed** - The current duration indicator.\n- **duration-indicator__total** - The total duration indicator.\n- **close-button** - The close button, an `<sd-icon-button>`.",
|
|
3183
3188
|
"attributes": [
|
|
3184
3189
|
{
|
|
@@ -3235,7 +3240,7 @@
|
|
|
3235
3240
|
"references": []
|
|
3236
3241
|
},
|
|
3237
3242
|
{
|
|
3238
|
-
"name": "sd-1-
|
|
3243
|
+
"name": "sd-1-37-0-option",
|
|
3239
3244
|
"description": "Options define the selectable items within various form controls such as [select](/components/select).\n\n\n---\n\n\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a plain text label based on the option's content.\n\n### **Slots:**\n - _default_ - The option's label.\n- **left** - Used to prepend an icon or similar element to the menu item.\n- **right** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **checked-icon** - The checked icon, an `<sd-icon>` element.\n- **base** - The component's base wrapper.\n- **label** - The option's label.\n- **left** - The container that wraps the left.\n- **right** - The container that wraps the right.",
|
|
3240
3245
|
"attributes": [
|
|
3241
3246
|
{
|
|
@@ -3272,7 +3277,7 @@
|
|
|
3272
3277
|
"references": []
|
|
3273
3278
|
},
|
|
3274
3279
|
{
|
|
3275
|
-
"name": "sd-1-
|
|
3280
|
+
"name": "sd-1-37-0-popup",
|
|
3276
3281
|
"description": "Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-reposition** - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive operations in your listener or consider debouncing it.\n- **sd-current-placement** - Emitted when the popup's placement changes automatically based on screen limitations.\n\n### **Methods:**\n - **reposition()** - Forces the popup to recalculate and reposition itself.\n\n### **Slots:**\n - _default_ - The popup's content.\n- **anchor** - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the `anchor` attribute or property instead.\n\n### **CSS Properties:**\n - **--arrow-size** - The size of the arrow. Note that an arrow won't be shown unless the `arrow` attribute is used. _(default: 6px)_\n- **--arrow-color** - The color of the arrow. _(default: var(--sd-color-neutral-0))_\n- **--auto-size-available-width** - A read-only custom property that determines the amount of width the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n- **--auto-size-available-height** - A read-only custom property that determines the amount of height the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n\n### **CSS Parts:**\n - **arrow** - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and maybe a border or box shadow.\n- **popup** - The popup's container. Useful for setting a background color, box shadow, etc.",
|
|
3277
3282
|
"attributes": [
|
|
3278
3283
|
{
|
|
@@ -3496,7 +3501,7 @@
|
|
|
3496
3501
|
"references": []
|
|
3497
3502
|
},
|
|
3498
3503
|
{
|
|
3499
|
-
"name": "sd-1-
|
|
3504
|
+
"name": "sd-1-37-0-radio-button",
|
|
3500
3505
|
"description": "Radio buttons allow the user to select a single option from a group using a button-like control.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the radio button.\n- **blur()** - Removes focus from the radio button.\n\n### **Slots:**\n - _default_ - The radio button's label.\n- **icon** - A presentational icon.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **button** - The internal `<button>` element.\n- **button--checked** - The internal button element when the radio button is checked.\n- **icon** - The container that wraps the icon.\n- **label** - The container that wraps the radio button's label.",
|
|
3501
3506
|
"attributes": [
|
|
3502
3507
|
{
|
|
@@ -3528,14 +3533,19 @@
|
|
|
3528
3533
|
"references": []
|
|
3529
3534
|
},
|
|
3530
3535
|
{
|
|
3531
|
-
"name": "sd-1-
|
|
3532
|
-
"description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-change** - Emitted when the radio group's selected value changes.\n- **sd-input** - Emitted when the radio group receives user input.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\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(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-radio>` or `<sd-radio-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and error text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **button-group** - The button group that wraps radio buttons.\n- **button-group__base** - The button group's `base` part.",
|
|
3536
|
+
"name": "sd-1-37-0-radio-group",
|
|
3537
|
+
"description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-change** - Emitted when the radio group's selected value changes.\n- **sd-input** - Emitted when the radio group receives user 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()** - Move focus to the checked radio (or the first one if none are checked)\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(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-radio>` or `<sd-radio-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and error text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **button-group** - The button group that wraps radio buttons.\n- **button-group__base** - The button group's `base` part.",
|
|
3533
3538
|
"attributes": [
|
|
3534
3539
|
{
|
|
3535
3540
|
"name": "label",
|
|
3536
3541
|
"description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
3537
3542
|
"values": []
|
|
3538
3543
|
},
|
|
3544
|
+
{
|
|
3545
|
+
"name": "boldLabel",
|
|
3546
|
+
"description": "Quick way to make the group label bold. Bolding the group label is highly recommended for visual clarity between the label and radio options.\nIt is false by default for consistency among the other form elements which do not use bold labels by default.",
|
|
3547
|
+
"values": []
|
|
3548
|
+
},
|
|
3539
3549
|
{
|
|
3540
3550
|
"name": "name",
|
|
3541
3551
|
"description": "The name of the radio group, submitted as a name/value pair with form data.",
|
|
@@ -3584,7 +3594,7 @@
|
|
|
3584
3594
|
"references": []
|
|
3585
3595
|
},
|
|
3586
3596
|
{
|
|
3587
|
-
"name": "sd-1-
|
|
3597
|
+
"name": "sd-1-37-0-radio",
|
|
3588
3598
|
"description": "A radio allows to select only one value from a set of options. Clicking on an unchecked radio will deselect the other one(s).\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-focus** - Emitted when the control gains focus.\n\n### **Slots:**\n - _default_ - The radio's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control--unchecked** - The radio control when the radio is unchecked.\n- **control--checked** - The radio control when the radio is checked.\n- **checked** - The dot inside the radio component when the radio is checked.\n- **label** - The container that wraps the radio's label.",
|
|
3589
3599
|
"attributes": [
|
|
3590
3600
|
{
|
|
@@ -3618,7 +3628,7 @@
|
|
|
3618
3628
|
"references": []
|
|
3619
3629
|
},
|
|
3620
3630
|
{
|
|
3621
|
-
"name": "sd-1-
|
|
3631
|
+
"name": "sd-1-37-0-select",
|
|
3622
3632
|
"description": "Selects allow you to choose items from a menu of predefined options.\n\n\n---\n\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 select's menu opens.\n- **sd-after-show** - Emitted after the select's menu opens and all animations are complete.\n- **sd-hide** - Emitted when the select's menu closes.\n- **sd-after-hide** - Emitted after the select'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\n### **Methods:**\n - **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\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- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-option>` elements. You can use `<sd-divider>` to group items visually.\n- **label** - The input'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- **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 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 select's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container the wraps the combobox, clear icon, and expand button.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where options are slotted.\n- **tags** - The container that houses option tags when `multiselect` is used.\n- **tag** - The individual tags that represent each multiselect option.\n- **tag__base** - The tag's base part.\n- **tag__content** - The tag's content part.\n- **tag__removable-indicator** - The tag's remove button.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
|
|
3623
3633
|
"attributes": [
|
|
3624
3634
|
{
|
|
@@ -3738,7 +3748,7 @@
|
|
|
3738
3748
|
"references": []
|
|
3739
3749
|
},
|
|
3740
3750
|
{
|
|
3741
|
-
"name": "sd-1-
|
|
3751
|
+
"name": "sd-1-37-0-spinner",
|
|
3742
3752
|
"description": "Spinners are used to show the progress of an indeterminate operation.\n\n\n---\n\n\n",
|
|
3743
3753
|
"attributes": [
|
|
3744
3754
|
{
|
|
@@ -3760,7 +3770,7 @@
|
|
|
3760
3770
|
"references": []
|
|
3761
3771
|
},
|
|
3762
3772
|
{
|
|
3763
|
-
"name": "sd-1-
|
|
3773
|
+
"name": "sd-1-37-0-switch",
|
|
3764
3774
|
"description": "Switches allow the user to toggle an option on or off.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the switch loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the switch gains focus.\n- **sd-input** - Emitted when the switch receives input.\n\n### **Methods:**\n - **click()** - Simulates a click on the switch.\n- **focus(options: _FocusOptions_)** - Sets focus on the switch.\n- **blur()** - Removes focus from the switch.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns true when valid and false when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows a validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The switch's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the switch's state.\n- **control--checked** - Matches the control part when the switch is on.\n- **control--unchecked** - Matches the control part when the switch is off.\n- **thumb** - The circle that marks the switch's state.\n- **label** - The container that wraps the switch's label.",
|
|
3765
3775
|
"attributes": [
|
|
3766
3776
|
{
|
|
@@ -3802,7 +3812,7 @@
|
|
|
3802
3812
|
"references": []
|
|
3803
3813
|
},
|
|
3804
3814
|
{
|
|
3805
|
-
"name": "sd-1-
|
|
3815
|
+
"name": "sd-1-37-0-tag",
|
|
3806
3816
|
"description": "Tags are used as labels to organize things or to indicate a selection.\n\n\n---\n\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\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\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.",
|
|
3807
3817
|
"attributes": [
|
|
3808
3818
|
{
|
|
@@ -3864,7 +3874,7 @@
|
|
|
3864
3874
|
"references": []
|
|
3865
3875
|
},
|
|
3866
3876
|
{
|
|
3867
|
-
"name": "sd-1-
|
|
3877
|
+
"name": "sd-1-37-0-teaser",
|
|
3868
3878
|
"description": "Teasers group information into flexible containers so users can browse a collection of related items and actions.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - An optional main content slot.\n- **media** - An optional media slot.\n- **meta** - An optional meta slot.\n- **headline** - headline slot.\n\n### **CSS Properties:**\n - **--distribution-media** - The distribution ratio of the media. _(default: undefined)_\n- **--distribution-content** - The distribution ratio of the content. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **media** - The container that wraps the media.\n- **content** - The container that wraps the content.\n- **meta** - The container that wraps the meta.\n- **headline** - The container that wraps the headline.\n- **main** - The container that wraps the main content.",
|
|
3869
3879
|
"attributes": [
|
|
3870
3880
|
{
|
|
@@ -3901,7 +3911,7 @@
|
|
|
3901
3911
|
"references": []
|
|
3902
3912
|
},
|
|
3903
3913
|
{
|
|
3904
|
-
"name": "sd-1-
|
|
3914
|
+
"name": "sd-1-37-0-textarea",
|
|
3905
3915
|
"description": "Textareas collect data from the user and allow multiple lines of text.\n\n\n---\n\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\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\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.",
|
|
3906
3916
|
"attributes": [
|
|
3907
3917
|
{
|
|
@@ -4078,7 +4088,7 @@
|
|
|
4078
4088
|
"references": []
|
|
4079
4089
|
},
|
|
4080
4090
|
{
|
|
4081
|
-
"name": "sd-1-
|
|
4091
|
+
"name": "sd-1-37-0-tooltip",
|
|
4082
4092
|
"description": "Tooltips display additional information based on a specific action.\n\n\n---\n\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\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\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.",
|
|
4083
4093
|
"attributes": [
|
|
4084
4094
|
{
|
|
@@ -4146,7 +4156,7 @@
|
|
|
4146
4156
|
"references": []
|
|
4147
4157
|
},
|
|
4148
4158
|
{
|
|
4149
|
-
"name": "sd-1-
|
|
4159
|
+
"name": "sd-1-37-0-video",
|
|
4150
4160
|
"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\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### **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.\n- **overlay** - The `<div>` element styled as an absolutely positioned transparent overlay.",
|
|
4151
4161
|
"attributes": [
|
|
4152
4162
|
{
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@solid-design-system/components",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.37.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework-config": {
|
|
7
7
|
"enable-when": {
|
|
@@ -1102,7 +1102,9 @@
|
|
|
1102
1102
|
"properties": [
|
|
1103
1103
|
{
|
|
1104
1104
|
"name": "formControlController",
|
|
1105
|
-
"value": {
|
|
1105
|
+
"value": {
|
|
1106
|
+
"type": "FormControlController"
|
|
1107
|
+
}
|
|
1106
1108
|
},
|
|
1107
1109
|
{
|
|
1108
1110
|
"name": "title",
|
|
@@ -1173,6 +1175,13 @@
|
|
|
1173
1175
|
"type": "boolean"
|
|
1174
1176
|
}
|
|
1175
1177
|
},
|
|
1178
|
+
{
|
|
1179
|
+
"name": "showInvalidStyle",
|
|
1180
|
+
"description": "Indicates whether or not the user input is valid after the user has interacted with the component. These states are activated when the attribute \"data-user-valid\" or \"data-user-invalid\" are set on the component via the form controller. They are different than the native input validity state which is always either `true` or `false`.",
|
|
1181
|
+
"value": {
|
|
1182
|
+
"type": "boolean"
|
|
1183
|
+
}
|
|
1184
|
+
},
|
|
1176
1185
|
{
|
|
1177
1186
|
"name": "validity",
|
|
1178
1187
|
"description": "Gets the validity state object",
|
|
@@ -2091,7 +2100,9 @@
|
|
|
2091
2100
|
"properties": [
|
|
2092
2101
|
{
|
|
2093
2102
|
"name": "formControlController",
|
|
2094
|
-
"value": {
|
|
2103
|
+
"value": {
|
|
2104
|
+
"type": "FormControlController"
|
|
2105
|
+
}
|
|
2095
2106
|
},
|
|
2096
2107
|
{
|
|
2097
2108
|
"name": "hasSlotController",
|
|
@@ -2107,6 +2118,19 @@
|
|
|
2107
2118
|
"type": "boolean"
|
|
2108
2119
|
}
|
|
2109
2120
|
},
|
|
2121
|
+
{
|
|
2122
|
+
"name": "showValidStyle",
|
|
2123
|
+
"description": "Indicates whether or not the user input is valid after the user has interacted with the component. These states are activated when the attribute \"data-user-valid\" or \"data-user-invalid\" are set on the component via the form controller. They are different than the native input validity state which is always either `true` or `false`.",
|
|
2124
|
+
"value": {
|
|
2125
|
+
"type": "boolean"
|
|
2126
|
+
}
|
|
2127
|
+
},
|
|
2128
|
+
{
|
|
2129
|
+
"name": "showInvalidStyle",
|
|
2130
|
+
"value": {
|
|
2131
|
+
"type": "boolean"
|
|
2132
|
+
}
|
|
2133
|
+
},
|
|
2110
2134
|
{
|
|
2111
2135
|
"name": "type",
|
|
2112
2136
|
"description": "The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.",
|
|
@@ -3773,7 +3797,9 @@
|
|
|
3773
3797
|
},
|
|
3774
3798
|
{
|
|
3775
3799
|
"name": "formControlController",
|
|
3776
|
-
"value": {
|
|
3800
|
+
"value": {
|
|
3801
|
+
"type": "FormControlController"
|
|
3802
|
+
}
|
|
3777
3803
|
},
|
|
3778
3804
|
{
|
|
3779
3805
|
"name": "hasSlotController",
|
|
@@ -3804,24 +3830,24 @@
|
|
|
3804
3830
|
}
|
|
3805
3831
|
},
|
|
3806
3832
|
{
|
|
3807
|
-
"name": "
|
|
3808
|
-
"description": "
|
|
3833
|
+
"name": "showInvalidStyle",
|
|
3834
|
+
"description": "Indicates whether or not the user input is valid after the user has interacted with the component. These states are activated when the attribute \"data-user-valid\" or \"data-user-invalid\" are set on the component via the form controller. They are different than the native input validity state which is always either `true` or `false`.",
|
|
3809
3835
|
"value": {
|
|
3810
3836
|
"type": "boolean"
|
|
3811
3837
|
}
|
|
3812
3838
|
},
|
|
3813
3839
|
{
|
|
3814
|
-
"name": "
|
|
3815
|
-
"description": "The radio
|
|
3840
|
+
"name": "label",
|
|
3841
|
+
"description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
3816
3842
|
"value": {
|
|
3817
3843
|
"type": "string"
|
|
3818
3844
|
}
|
|
3819
3845
|
},
|
|
3820
3846
|
{
|
|
3821
|
-
"name": "
|
|
3822
|
-
"description": "
|
|
3847
|
+
"name": "boldLabel",
|
|
3848
|
+
"description": "Quick way to make the group label bold. Bolding the group label is highly recommended for visual clarity between the label and radio options.\nIt is false by default for consistency among the other form elements which do not use bold labels by default.",
|
|
3823
3849
|
"value": {
|
|
3824
|
-
"type": "
|
|
3850
|
+
"type": "boolean"
|
|
3825
3851
|
}
|
|
3826
3852
|
},
|
|
3827
3853
|
{
|
|
@@ -3889,7 +3915,8 @@
|
|
|
3889
3915
|
"value": {}
|
|
3890
3916
|
},
|
|
3891
3917
|
{
|
|
3892
|
-
"name": "
|
|
3918
|
+
"name": "focus",
|
|
3919
|
+
"description": "Move focus to the checked radio (or the first one if none are checked)",
|
|
3893
3920
|
"value": {}
|
|
3894
3921
|
},
|
|
3895
3922
|
{
|
|
@@ -3964,6 +3991,13 @@
|
|
|
3964
3991
|
"type": "string"
|
|
3965
3992
|
}
|
|
3966
3993
|
},
|
|
3994
|
+
{
|
|
3995
|
+
"name": "boldLabel",
|
|
3996
|
+
"description": "Quick way to make the group label bold. Bolding the group label is highly recommended for visual clarity between the label and radio options.\nIt is false by default for consistency among the other form elements which do not use bold labels by default.",
|
|
3997
|
+
"value": {
|
|
3998
|
+
"type": "boolean"
|
|
3999
|
+
}
|
|
4000
|
+
},
|
|
3967
4001
|
{
|
|
3968
4002
|
"name": "name",
|
|
3969
4003
|
"description": "The name of the radio group, submitted as a name/value pair with form data.",
|
|
@@ -4144,7 +4178,9 @@
|
|
|
4144
4178
|
},
|
|
4145
4179
|
{
|
|
4146
4180
|
"name": "formControlController",
|
|
4147
|
-
"value": {
|
|
4181
|
+
"value": {
|
|
4182
|
+
"type": "FormControlController"
|
|
4183
|
+
}
|
|
4148
4184
|
},
|
|
4149
4185
|
{
|
|
4150
4186
|
"name": "hasSlotController",
|
|
@@ -4210,14 +4246,14 @@
|
|
|
4210
4246
|
}
|
|
4211
4247
|
},
|
|
4212
4248
|
{
|
|
4213
|
-
"name": "
|
|
4214
|
-
"description": "Indicates whether or not the user input is valid after the user has interacted with the component. These states are activated when the attribute \"data-user-valid\" or \"data-user-invalid\" are set on the component via the form controller.",
|
|
4249
|
+
"name": "showValidStyle",
|
|
4250
|
+
"description": "Indicates whether or not the user input is valid after the user has interacted with the component. These states are activated when the attribute \"data-user-valid\" or \"data-user-invalid\" are set on the component via the form controller. They are different than the native input validity state which is always either `true` or `false`.",
|
|
4215
4251
|
"value": {
|
|
4216
4252
|
"type": "boolean"
|
|
4217
4253
|
}
|
|
4218
4254
|
},
|
|
4219
4255
|
{
|
|
4220
|
-
"name": "
|
|
4256
|
+
"name": "showInvalidStyle",
|
|
4221
4257
|
"value": {
|
|
4222
4258
|
"type": "boolean"
|
|
4223
4259
|
}
|
|
@@ -4721,7 +4757,16 @@
|
|
|
4721
4757
|
"properties": [
|
|
4722
4758
|
{
|
|
4723
4759
|
"name": "formControlController",
|
|
4724
|
-
"value": {
|
|
4760
|
+
"value": {
|
|
4761
|
+
"type": "FormControlController"
|
|
4762
|
+
}
|
|
4763
|
+
},
|
|
4764
|
+
{
|
|
4765
|
+
"name": "showInvalidStyle",
|
|
4766
|
+
"description": "Indicates whether or not the user input is valid after the user has interacted with the component. These states are activated when the attribute \"data-user-valid\" or \"data-user-invalid\" are set on the component via the form controller. They are different than the native input validity state which is always either `true` or `false`.",
|
|
4767
|
+
"value": {
|
|
4768
|
+
"type": "boolean"
|
|
4769
|
+
}
|
|
4725
4770
|
},
|
|
4726
4771
|
{
|
|
4727
4772
|
"name": "title",
|
|
@@ -5153,7 +5198,9 @@
|
|
|
5153
5198
|
"properties": [
|
|
5154
5199
|
{
|
|
5155
5200
|
"name": "formControlController",
|
|
5156
|
-
"value": {
|
|
5201
|
+
"value": {
|
|
5202
|
+
"type": "FormControlController"
|
|
5203
|
+
}
|
|
5157
5204
|
},
|
|
5158
5205
|
{
|
|
5159
5206
|
"name": "hasSlotController",
|
|
@@ -5165,6 +5212,19 @@
|
|
|
5165
5212
|
"type": "boolean"
|
|
5166
5213
|
}
|
|
5167
5214
|
},
|
|
5215
|
+
{
|
|
5216
|
+
"name": "showValidStyle",
|
|
5217
|
+
"description": "Indicates whether or not the user input is valid after the user has interacted with the component. These states are activated when the attribute \"data-user-valid\" or \"data-user-invalid\" are set on the component via the form controller. They are different than the native input validity state which is always either `true` or `false`.",
|
|
5218
|
+
"value": {
|
|
5219
|
+
"type": "boolean"
|
|
5220
|
+
}
|
|
5221
|
+
},
|
|
5222
|
+
{
|
|
5223
|
+
"name": "showInvalidStyle",
|
|
5224
|
+
"value": {
|
|
5225
|
+
"type": "boolean"
|
|
5226
|
+
}
|
|
5227
|
+
},
|
|
5168
5228
|
{
|
|
5169
5229
|
"name": "title",
|
|
5170
5230
|
"description": "An empty title prevents browser validation tooltips from appearing on hover",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solid-design-system/components",
|
|
3
3
|
"description": "Solid Design System: Components",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.37.0",
|
|
5
5
|
"homepage": "https://solid-design-system.fe.union-investment.de/x.x.x/storybook/",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Union Investment"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as o}from"./solid-element.js";const l=o`.form-control .form-control__label{display:none}.form-control .form-control__help-text{display:none}.form-control--has-label .form-control__label{display:inline-block;color:var(--sd-input-label-color);margin-bottom:var(--sd-spacing-3x-small)}.form-control--has-label.form-control--small .form-control__label{font-size:var(--sd-input-label-font-size-small)}.form-control--has-label.form-control--medium .form-control__label{font-size:var(--sd-input-label-font-size-medium)}.form-control--has-label.form-control--large .form-control_label{font-size:var(--sd-input-label-font-size-large)}:host([required]) .form-control--has-label .form-control__label::after{content:var(--sd-input-required-content);margin-inline-start:var(--sd-input-required-content-offset);color:var(--sd-input-required-content-color)}.form-control--has-help-text .form-control__help-text{display:block;color:var(--sd-input-help-text-color);margin-top:var(--sd-spacing-3x-small)}.form-control--has-help-text.form-control--small .form-control__help-text{font-size:var(--sd-input-help-text-font-size-small)}.form-control--has-help-text.form-control--medium .form-control__help-text{font-size:var(--sd-input-help-text-font-size-medium)}.form-control--has-help-text.form-control--large .form-control__help-text{font-size:var(--sd-input-help-text-font-size-large)}.form-control--has-help-text.form-control--radio-group .form-control__help-text{margin-top:var(--sd-spacing-2x-small)}`;export{l as f};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { css } from "lit";
|
|
2
|
-
const formControlStyles = css`.form-control .form-control__label{display:none}.form-control .form-control__help-text{display:none}.form-control--has-label .form-control__label{display:inline-block;color:var(--sd-input-label-color);margin-bottom:var(--sd-spacing-3x-small)}.form-control--has-label.form-control--small .form-control__label{font-size:var(--sd-input-label-font-size-small)}.form-control--has-label.form-control--medium .form-control__label{font-size:var(--sd-input-label-font-size-medium)}.form-control--has-label.form-control--large .form-control_label{font-size:var(--sd-input-label-font-size-large)}:host([required]) .form-control--has-label .form-control__label::after{content:var(--sd-input-required-content);margin-inline-start:var(--sd-input-required-content-offset);color:var(--sd-input-required-content-color)}.form-control--has-help-text .form-control__help-text{display:block;color:var(--sd-input-help-text-color);margin-top:var(--sd-spacing-3x-small)}.form-control--has-help-text.form-control--small .form-control__help-text{font-size:var(--sd-input-help-text-font-size-small)}.form-control--has-help-text.form-control--medium .form-control__help-text{font-size:var(--sd-input-help-text-font-size-medium)}.form-control--has-help-text.form-control--large .form-control__help-text{font-size:var(--sd-input-help-text-font-size-large)}.form-control--has-help-text.form-control--radio-group .form-control__help-text{margin-top:var(--sd-spacing-2x-small)}`;
|
|
3
|
-
export {
|
|
4
|
-
formControlStyles as default
|
|
5
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as o}from"./solid-element.js";const l=o`.form-control .form-control__label{display:none}.form-control .form-control__help-text{display:none}.form-control--has-label .form-control__label{display:inline-block;color:var(--sd-1-36-0-input-label-color);margin-bottom:var(--sd-spacing-3x-small)}.form-control--has-label.form-control--small .form-control__label{font-size:var(--sd-1-36-0-input-label-font-size-small)}.form-control--has-label.form-control--medium .form-control__label{font-size:var(--sd-1-36-0-input-label-font-size-medium)}.form-control--has-label.form-control--large .form-control_label{font-size:var(--sd-1-36-0-input-label-font-size-large)}:host([required]) .form-control--has-label .form-control__label::after{content:var(--sd-1-36-0-input-required-content);margin-inline-start:var(--sd-1-36-0-input-required-content-offset);color:var(--sd-1-36-0-input-required-content-color)}.form-control--has-help-text .form-control__help-text{display:block;color:var(--sd-1-36-0-input-help-text-color);margin-top:var(--sd-spacing-3x-small)}.form-control--has-help-text.form-control--small .form-control__help-text{font-size:var(--sd-1-36-0-input-help-text-font-size-small)}.form-control--has-help-text.form-control--medium .form-control__help-text{font-size:var(--sd-1-36-0-input-help-text-font-size-medium)}.form-control--has-help-text.form-control--large .form-control__help-text{font-size:var(--sd-1-36-0-input-help-text-font-size-large)}.form-control--has-help-text.form-control--radio-group .form-control__help-text{margin-top:var(--sd-spacing-2x-small)}`;export{l as f};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { css } from "lit";
|
|
2
|
-
const formControlStyles = css`.form-control .form-control__label{display:none}.form-control .form-control__help-text{display:none}.form-control--has-label .form-control__label{display:inline-block;color:var(--sd-1-36-0-input-label-color);margin-bottom:var(--sd-spacing-3x-small)}.form-control--has-label.form-control--small .form-control__label{font-size:var(--sd-1-36-0-input-label-font-size-small)}.form-control--has-label.form-control--medium .form-control__label{font-size:var(--sd-1-36-0-input-label-font-size-medium)}.form-control--has-label.form-control--large .form-control_label{font-size:var(--sd-1-36-0-input-label-font-size-large)}:host([required]) .form-control--has-label .form-control__label::after{content:var(--sd-1-36-0-input-required-content);margin-inline-start:var(--sd-1-36-0-input-required-content-offset);color:var(--sd-1-36-0-input-required-content-color)}.form-control--has-help-text .form-control__help-text{display:block;color:var(--sd-1-36-0-input-help-text-color);margin-top:var(--sd-spacing-3x-small)}.form-control--has-help-text.form-control--small .form-control__help-text{font-size:var(--sd-1-36-0-input-help-text-font-size-small)}.form-control--has-help-text.form-control--medium .form-control__help-text{font-size:var(--sd-1-36-0-input-help-text-font-size-medium)}.form-control--has-help-text.form-control--large .form-control__help-text{font-size:var(--sd-1-36-0-input-help-text-font-size-large)}.form-control--has-help-text.form-control--radio-group .form-control__help-text{margin-top:var(--sd-spacing-2x-small)}`;
|
|
3
|
-
export {
|
|
4
|
-
formControlStyles as default
|
|
5
|
-
};
|