@solid-design-system/mcp 7.0.0-next.1 → 7.0.0-next.11

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.
Files changed (115) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/metadata/packages/components/docs/installation.md +9 -117
  3. package/metadata/packages/components/docs/usage.md +4 -4
  4. package/metadata/packages/components/sd-accordion/info.md +1 -1
  5. package/metadata/packages/components/sd-badge/stories/variant.md +1 -1
  6. package/metadata/packages/components/sd-brandshape/info.md +1 -1
  7. package/metadata/packages/components/sd-brandshape/stories/variant.md +0 -1
  8. package/metadata/packages/components/sd-breadcrumb-item/info.md +1 -1
  9. package/metadata/packages/components/sd-button/info.md +2 -2
  10. package/metadata/packages/components/sd-button/stories/visually-disabled.md +4 -4
  11. package/metadata/packages/components/sd-carousel/info.md +2 -1
  12. package/metadata/packages/components/sd-datepicker/stories/visually-disabled.md +1 -1
  13. package/metadata/packages/components/sd-dialog/stories/headline.md +4 -2
  14. package/metadata/packages/components/sd-dialog/stories/no-close-button.md +4 -2
  15. package/metadata/packages/components/sd-dialog/stories/open.md +50 -45
  16. package/metadata/packages/components/sd-drawer/info.md +1 -2
  17. package/metadata/packages/components/sd-drawer/stories/no-header.md +1 -1
  18. package/metadata/packages/components/sd-drawer/stories/open.md +3 -3
  19. package/metadata/packages/components/sd-drawer/stories/placement.md +3 -3
  20. package/metadata/packages/components/sd-dropdown/info.md +1 -1
  21. package/metadata/packages/components/sd-file-selector/info.md +139 -0
  22. package/metadata/packages/components/sd-file-selector/stories/directory.md +6 -0
  23. package/metadata/packages/components/sd-file-selector/stories/disabled.md +5 -0
  24. package/metadata/packages/components/sd-file-selector/stories/help-text.md +19 -0
  25. package/metadata/packages/components/sd-file-selector/stories/hide-value.md +5 -0
  26. package/metadata/packages/components/sd-file-selector/stories/invalid.md +14 -0
  27. package/metadata/packages/components/sd-file-selector/stories/label.md +13 -0
  28. package/metadata/packages/components/sd-file-selector/stories/multiple-files.md +5 -0
  29. package/metadata/packages/components/sd-file-selector/stories/required.md +6 -0
  30. package/metadata/packages/components/sd-file-selector/stories/sizes.md +14 -0
  31. package/metadata/packages/components/sd-file-selector/stories/variant.md +8 -0
  32. package/metadata/packages/components/sd-file-selector/stories/visually-disabled.md +9 -0
  33. package/metadata/packages/components/sd-header/info.md +4 -2
  34. package/metadata/packages/components/sd-header/stories/shadow.md +9 -0
  35. package/metadata/packages/components/sd-icon/stories/custom-libraries.md +1 -1
  36. package/metadata/packages/components/sd-icon/stories/libraries.md +1 -1
  37. package/metadata/packages/components/sd-icon/stories/name.md +1 -1
  38. package/metadata/packages/components/sd-input/info.md +5 -4
  39. package/metadata/packages/components/sd-link/info.md +1 -1
  40. package/metadata/packages/components/sd-link/stories/as-link.md +1 -1
  41. package/metadata/packages/components/sd-link/stories/icon.md +2 -2
  42. package/metadata/packages/components/sd-link/stories/visually-disabled.md +2 -2
  43. package/metadata/packages/components/sd-map-marker/info.md +1 -1
  44. package/metadata/packages/components/sd-menu/stories/grouping.md +1 -1
  45. package/metadata/packages/components/sd-menu/stories/icon.md +1 -2
  46. package/metadata/packages/components/sd-navigation-item/info.md +2 -2
  47. package/metadata/packages/components/sd-navigation-item/stories/accordion.md +4 -4
  48. package/metadata/packages/components/sd-navigation-item/stories/chevron.md +1 -1
  49. package/metadata/packages/components/sd-navigation-item/stories/current.md +2 -2
  50. package/metadata/packages/components/sd-navigation-item/stories/description.md +1 -1
  51. package/metadata/packages/components/sd-navigation-item/stories/disabled.md +1 -1
  52. package/metadata/packages/components/sd-navigation-item/stories/divider.md +1 -1
  53. package/metadata/packages/components/sd-navigation-item/stories/indented.md +1 -1
  54. package/metadata/packages/components/sd-navigation-item/stories/orientation.md +2 -2
  55. package/metadata/packages/components/sd-navigation-item/stories/relaxed.md +1 -1
  56. package/metadata/packages/components/sd-navigation-item/stories/separated.md +4 -4
  57. package/metadata/packages/components/sd-notification/info.md +2 -2
  58. package/metadata/packages/components/sd-notification/stories/duration.md +5 -0
  59. package/metadata/packages/components/sd-notification/stories/toast-notification.md +1 -0
  60. package/metadata/packages/components/sd-popup/info.md +1 -1
  61. package/metadata/packages/components/sd-quickfact/info.md +1 -1
  62. package/metadata/packages/components/sd-quickfact/stories/expandable.md +0 -1
  63. package/metadata/packages/components/sd-radio-group/info.md +1 -1
  64. package/metadata/packages/components/sd-radio-group/stories/required.md +1 -1
  65. package/metadata/packages/components/sd-range/info.md +1 -1
  66. package/metadata/packages/components/sd-select/info.md +3 -3
  67. package/metadata/packages/components/sd-step/stories/size.md +1 -1
  68. package/metadata/packages/components/sd-tab-group/info.md +1 -1
  69. package/metadata/packages/components/sd-tag/info.md +2 -2
  70. package/metadata/packages/components/sd-teaser/info.md +1 -1
  71. package/metadata/packages/components/sd-teaser/stories/breakpoint.md +2 -2
  72. package/metadata/packages/components/sd-teaser/stories/default-and-headline-slot.md +1 -1
  73. package/metadata/packages/components/sd-teaser/stories/distribution.md +1 -1
  74. package/metadata/packages/components/sd-teaser/stories/inset.md +1 -1
  75. package/metadata/packages/components/sd-teaser/stories/media-slot.md +1 -1
  76. package/metadata/packages/components/sd-teaser/stories/meta-slot.md +1 -1
  77. package/metadata/packages/components/sd-teaser/stories/reverse.md +1 -1
  78. package/metadata/packages/components/sd-teaser/stories/variant.md +5 -9
  79. package/metadata/packages/components/sd-teaser-media/info.md +1 -1
  80. package/metadata/packages/components/sd-teaser-media/stories/default-media-and-headline-slot.md +1 -1
  81. package/metadata/packages/components/sd-textarea/info.md +3 -3
  82. package/metadata/packages/components/sd-tooltip/info.md +3 -3
  83. package/metadata/packages/components/sd-tooltip/stories/custom-trigger.md +1 -1
  84. package/metadata/packages/components/sd-tooltip/stories/placement.md +6 -6
  85. package/metadata/packages/icons/default/system.json +15 -15
  86. package/metadata/packages/icons/sd-multi-theming/content.json +10 -10
  87. package/metadata/packages/icons/sd-multi-theming/system.json +118 -128
  88. package/metadata/packages/quickstart/docs/quickstart.md +9 -27
  89. package/metadata/packages/styles/docs/installation.md +8 -56
  90. package/metadata/packages/styles/sd-chip/info.md +12 -8
  91. package/metadata/packages/styles/sd-chip/stories/{variants.md → color.md} +9 -11
  92. package/metadata/packages/styles/sd-chip/stories/outlined.md +8 -0
  93. package/metadata/packages/styles/sd-chip/stories/shade.md +17 -0
  94. package/metadata/packages/styles/sd-chip/stories/sharp.md +8 -0
  95. package/metadata/packages/styles/sd-chip/stories/size.md +8 -0
  96. package/metadata/packages/styles/sd-hidden-links/stories/surrounding-content.md +1 -1
  97. package/metadata/packages/templates/badge.md +1 -1
  98. package/metadata/packages/templates/brandshape.md +5 -6
  99. package/metadata/packages/templates/breadcrumb.md +1 -1
  100. package/metadata/packages/templates/dialog.md +1 -11
  101. package/metadata/packages/templates/header-navigation.md +6 -6
  102. package/metadata/packages/templates/menu.md +1 -1
  103. package/metadata/packages/templates/status-badge.md +3 -3
  104. package/metadata/packages/templates/table.md +14 -12
  105. package/metadata/packages/templates/teaser.md +21 -15
  106. package/metadata/packages/tokens/docs/installation.md +2 -23
  107. package/metadata/packages/tokens/docs/usage.md +4 -28
  108. package/metadata/packages/tokens/tokens.json +4 -0
  109. package/package.json +12 -12
  110. package/metadata/packages/components/sd-spinner/info.md +0 -53
  111. package/metadata/packages/components/sd-spinner/stories/size.md +0 -15
  112. package/metadata/packages/components/sd-spinner/stories/variants.md +0 -43
  113. package/metadata/packages/styles/sd-flag/info.md +0 -45
  114. package/metadata/packages/styles/sd-flag/stories/variants.md +0 -40
  115. package/metadata/packages/templates/flag.md +0 -38
@@ -19,7 +19,7 @@
19
19
  - prop.arrow: boolean, default=false — Attaches an arrow to the popup. The arrow's size and color can be customized using the `--arrow-size` and
20
20
  `--arrow-color` custom properties. For additional customizations, you can also target the arrow using
21
21
  `::part(arrow)` in your stylesheet.
22
- - prop.arrowPlacement [attr: arrow-placement]: |'start'|'end'|'center'|'anchor', default='anchor' — The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the
22
+ - prop.arrowPlacement [attr: arrow-placement]: 'start'|'end'|'center'|'anchor', default='anchor' — The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the
23
23
  anchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will
24
24
  align the arrow to the start, end, or center of the popover instead.
25
25
  - prop.arrowPadding [attr: arrow-padding]: number, default=10 — The amount of padding between the arrow and the edges of the popup. If the popup has a border-radius, for example,
@@ -45,7 +45,7 @@ Use the components tool by passing the args `component` and `example` for any of
45
45
  - part.summary-icon: The container that wraps the expand/collapse icons.
46
46
  - part.summary-border: The container that wraps the currently active accordions border.
47
47
  - part.content: The container that wraps the accordion content slot.
48
- - part.content\_\_slot: The accordion content slot.
48
+ - part.content__slot: The accordion content slot.
49
49
 
50
50
  ## Guidelines
51
51
 
@@ -10,7 +10,6 @@ args: overrideArgs([
10
10
  type: 'slot',
11
11
  name: 'summary',
12
12
  value: `<div slot="summary" class="flex flex-col sm:gap-4"> <p class="text-base font-normal leading-normal sm:text-4xl sm:leading-tight">Lorem Ipsum</p>
13
-
14
13
  <div class="text-base font-normal leading-normal sm:text-xl">Con sectetur adipiscing elit</div></div>`
15
14
  },
16
15
  {
@@ -56,7 +56,7 @@ Use the components tool by passing the args `component` and `example` for any of
56
56
  - part.form-control-label: The label's wrapper.
57
57
  - part.form-control-input: The input's wrapper.
58
58
  - part.button-group: The button group that wraps radio buttons.
59
- - part.button-group\_\_base: The button group's `base` part.
59
+ - part.button-group__base: The button group's `base` part.
60
60
 
61
61
  ## Guidelines
62
62
 
@@ -1,5 +1,5 @@
1
1
  Use the `required` attribute to mark the element as required. This can be used for form validation purposes.
2
- **Accessibility Hint:** To ensure screen-reader compatibility, consider including a statement such as "Fields marked with an asterisk (\*) are required" at the start of the form.
2
+ **Accessibility Hint:** To ensure screen-reader compatibility, consider including a statement such as "Fields marked with an asterisk (*) are required" at the start of the form.
3
3
 
4
4
  ```html
5
5
  <form id="required-form" class="flex flex-col gap-8">
@@ -24,7 +24,7 @@ Use the components tool by passing the args `component` and `example` for any of
24
24
  - prop.disabled: boolean, default=false — Disables the range.
25
25
  - prop.visuallyDisabled [attr: visually-disabled]: boolean, default=false — Disables the range visually.
26
26
  - prop.noTrackBar [attr: no-track-bar]: boolean, default=false — Disables the active track bar.
27
- - prop.tooltip: |'on-interaction'|'hidden'|'always-visible', default='on-interaction' — Defines the thumbs tooltip behaviour.
27
+ - prop.tooltip: 'on-interaction'|'hidden'|'always-visible', default='on-interaction' — Defines the thumbs tooltip behaviour.
28
28
  - prop.defaultValue: string, default='' — The default value of the form control. Primarily used for resetting the form control.
29
29
  - prop.value: — The current values of the input (in ascending order) as a string of space separated values
30
30
  - prop.valueAsArray: — Gets or sets the current values of the range as an array of numbers
@@ -93,9 +93,9 @@ Use the components tool by passing the args `component` and `example` for any of
93
93
  - part.listbox: The listbox container where options are slotted.
94
94
  - part.tags: The container that houses option tags when `multiselect` is used.
95
95
  - part.tag: The individual tags that represent each multiselect option.
96
- - part.tag\_\_base: The tag's base part.
97
- - part.tag\_\_content: The tag's content part.
98
- - part.tag\_\_removable-indicator: The tag's remove button.
96
+ - part.tag__base: The tag's base part.
97
+ - part.tag__content: The tag's content part.
98
+ - part.tag__removable-indicator: The tag's remove button.
99
99
  - part.clear-button: The clear button.
100
100
  - part.expand-icon: The container that wraps the expand icon.
101
101
 
@@ -13,7 +13,7 @@ Use the `size` attribute to set the size of a step:
13
13
  <span slot="label">Small</span>
14
14
  </sd-step>
15
15
  <sd-step size="xs" orientation="vertical" class="pl-16">
16
- <span slot="label">Extra Small</span>
16
+ <span slot="label">Extra small</span>
17
17
  </sd-step>
18
18
  </div>
19
19
  ```
@@ -38,7 +38,7 @@ Use the components tool by passing the args `component` and `example` for any of
38
38
  - part.body: The tab group's body where tab panels are slotted in.
39
39
  - part.scroll-button--start: The starting scroll button.
40
40
  - part.scroll-button--end: The ending scroll button.
41
- - part.scroll-button\_\_base: The scroll button's exported `base` part.
41
+ - part.scroll-button__base: The scroll button's exported `base` part.
42
42
 
43
43
  ## Guidelines
44
44
 
@@ -23,7 +23,7 @@ Use the components tool by passing the args `component` and `example` for any of
23
23
  - prop.removable: boolean, default=false — Displays the tag with a removability indicator.
24
24
  - prop.disabled: boolean, default=false — Displays the tag in a disabled state.
25
25
  - prop.href: string, default='' — When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
26
- - prop.target: '\_blank'|'\_parent'|'\_self'|'\_top' — Tells the browser where to open the link. Only used when `href` is present.
26
+ - prop.target: '_blank'|'_parent'|'_self'|'_top' — Tells the browser where to open the link. Only used when `href` is present.
27
27
  - prop.download: string|undefined — Tells the browser to download the linked file as this filename. Only used when `href` is present.
28
28
  - prop.dir: 'ltr'|'rtl'|'auto' — The element's directionality.
29
29
  - prop.lang: string — The element's language.
@@ -72,4 +72,4 @@ Use the components tool by passing the args `component` and `example` for any of
72
72
 
73
73
  ### Interactivity
74
74
 
75
- - Tags are interactive elements which trigger an action; to label or categorise items without any interaction use [sd-chip](./?path=/docs/styles-sd-chip--docs) or [sd-flag](./?path=/docs/styles-sd-flag--docs) instead.
75
+ - Tags are interactive elements which trigger an action; to label or categorise items without any interaction use [sd-chip](./?path=/docs/styles-sd-chip--docs) instead.
@@ -19,7 +19,7 @@ Use the components tool by passing the args `component` and `example` for any of
19
19
 
20
20
  ### Key Properties
21
21
 
22
- - prop.variant: |'white'|'white border-neutral-400'|'neutral-100'|'primary'|'primary-100', default='white' — Variant of the teaser
22
+ - prop.variant: 'white'|'white border-neutral-400'|'neutral-100'|'primary'|'primary-100', default='white' — Variant of the teaser
23
23
  - prop.breakpoint: number, default=448 — Breakpoint where the teaser switches from `vertical` to `horizontal`. `0` is always `horizontal`, `9999` is always `vertical`.
24
24
  - prop.inset: boolean, default=false — The teaser's inner padding. This is always set in `white border-neutral-400`.
25
25
  - prop.reversedLayout [attr: reversed-layout]: boolean, default=false — Reverses the layout in horizontal variant
@@ -6,7 +6,7 @@ Use the `breakpoint` attribute to change the teaser's layout at a specific break
6
6
  ```html
7
7
  <div class="flex gap-8 flex-col">
8
8
  <sd-teaser breakpoint="0">
9
- <h3 slot="headline" class="sd-headline sd-headline--size-lg">Horizontal</h3>
9
+ <h3 slot="headline">Horizontal</h3>
10
10
  <img slot="media" src="./placeholders/images/architecture.jpg" alt="" style="width:100%; height: auto;" />
11
11
  <p>
12
12
  Quis ut ex cupidatat proident cillum ullamco ea aute ad laborum aliqua incididunt sint ipsum. Elit enim
@@ -16,7 +16,7 @@ Use the `breakpoint` attribute to change the teaser's layout at a specific break
16
16
  </sd-teaser>
17
17
 
18
18
  <sd-teaser breakpoint="9999" class="w-[256px]">
19
- <h3 slot="headline" class="sd-headline sd-headline--size-lg">Vertical</h3>
19
+ <h3 slot="headline">Vertical</h3>
20
20
  <img slot="media" src="./placeholders/images/architecture.jpg" alt="" style="width:100%; height: auto;" />
21
21
  <p>
22
22
  Quis ut ex cupidatat proident cillum ullamco ea aute ad laborum aliqua incididunt sint ipsum. Elit enim
@@ -4,7 +4,7 @@
4
4
 
5
5
  ```html
6
6
  <sd-teaser>
7
- <h3 slot="headline" class="sd-headline sd-headline--size-lg">Lorem ipsum sic semper</h3>
7
+ <h3 slot="headline">Lorem ipsum sic semper</h3>
8
8
  <p>
9
9
  Quis ut ex cupidatat proident cillum ullamco ea aute ad laborum aliqua incididunt sint ipsum. Elit enim
10
10
  reprehenderit aliquip officia in minim. Eu ipsum pariatur dolor. Do ex in cupidatat anim aliqua sint voluptate sunt
@@ -2,7 +2,7 @@ Use the `--distribution-media` and `--distribution-content` CSS properties to ad
2
2
 
3
3
  ```html
4
4
  <sd-teaser style="--distribution-media: 20%; --distribution-content: 80%;">
5
- <h3 slot="headline" class="sd-headline sd-headline--size-lg">Lorem ipsum sic semper</h3>
5
+ <h3 slot="headline">Lorem ipsum sic semper</h3>
6
6
  <img slot="media" src="./placeholders/images/architecture.jpg" alt="" style="width:100%; height: auto;" />
7
7
  <p>
8
8
  Quis ut ex cupidatat proident cillum ullamco ea aute ad laborum aliqua incididunt sint ipsum. Elit enim
@@ -2,7 +2,7 @@ Use the `inset` attribute to create a teaser with an inset padding if the contex
2
2
 
3
3
  ```html
4
4
  <sd-teaser inset variant="primary-100">
5
- <h3 slot="headline" class="sd-headline sd-headline--size-lg">Teaser with inset Padding</h3>
5
+ <h3 slot="headline">Teaser with inset Padding</h3>
6
6
  <p>
7
7
  Quis ut ex cupidatat proident cillum ullamco ea aute ad laborum aliqua incididunt sint ipsum. Elit enim
8
8
  reprehenderit aliquip officia in minim. Eu ipsum pariatur dolor. Do ex in cupidatat anim aliqua sint voluptate sunt
@@ -3,7 +3,7 @@ Teasers accept a `media` slot to display images or videos.
3
3
 
4
4
  ```html
5
5
  <sd-teaser>
6
- <h3 slot="headline" class="sd-headline sd-headline--size-lg">Lorem ipsum sic semper</h3>
6
+ <h3 slot="headline">Lorem ipsum sic semper</h3>
7
7
  <img slot="media" src="./placeholders/images/architecture.jpg" alt="" style="width:100%; height: auto;" />
8
8
  <p>
9
9
  Quis ut ex cupidatat proident cillum ullamco ea aute ad laborum aliqua incididunt sint ipsum. Elit enim
@@ -2,7 +2,7 @@ Use the `meta` slot to add additional content to the teaser.
2
2
 
3
3
  ```html
4
4
  <sd-teaser>
5
- <h3 slot="headline" class="sd-headline sd-headline--size-lg">Lorem ipsum sic semper</h3>
5
+ <h3 slot="headline">Lorem ipsum sic semper</h3>
6
6
  <div slot="meta">
7
7
  <time class="sd-meta sd-meta--pipe" datetime="2023-01-01">01.01.2023</time>
8
8
  <span class="sd-meta">Author name</span>
@@ -3,7 +3,7 @@ Use the `reversed-layout` attribute to invert the horizontal layout.
3
3
 
4
4
  ```html
5
5
  <sd-teaser reversed-layout>
6
- <h3 slot="headline" class="sd-headline sd-headline--size-lg">Horizontal</h3>
6
+ <h3 slot="headline">Horizontal</h3>
7
7
  <img slot="media" src="./placeholders/images/architecture.jpg" alt="" class="w-full h-auto" />
8
8
  <p>
9
9
  Quis ut ex cupidatat proident cillum ullamco ea aute ad laborum aliqua incididunt sint ipsum. Elit enim
@@ -9,27 +9,23 @@ Use the `variant` attribute to use the appropriate teaser for your context:
9
9
  ```html
10
10
  <div class="grid grid-cols-2 gap-12">
11
11
  <sd-teaser variant="white" inset>
12
- <h3 slot="headline" class="sd-headline sd-headline--size-lg">Teaser with white background</h3>
12
+ <h3 slot="headline">Teaser with white background</h3>
13
13
  <p class="sd-paragraph">Lorem ipsum dolor sit amet, consetetur sadi pscing elitr, sed diam nonumy eirmod tempor.</p>
14
14
  </sd-teaser>
15
15
  <sd-teaser variant="white border-neutral-400">
16
- <h3 slot="headline" class="sd-headline sd-headline--size-lg">
17
- Teaser with white background and border neutral-400
18
- </h3>
16
+ <h3 slot="headline">Teaser with white background and border neutral-400</h3>
19
17
  <p class="sd-paragraph">Lorem ipsum dolor sit amet, consetetur sadi pscing elitr, sed diam nonumy eirmod tempor.</p>
20
18
  </sd-teaser>
21
19
  <sd-teaser variant="neutral-100" inset>
22
- <h3 slot="headline" class="sd-headline sd-headline--size-lg">Teaser with neutral-100 background</h3>
20
+ <h3 slot="headline">Teaser with neutral-100 background</h3>
23
21
  <p class="sd-paragraph">Lorem ipsum dolor sit amet, consetetur sadi pscing elitr, sed diam nonumy eirmod tempor.</p>
24
22
  </sd-teaser>
25
23
  <sd-teaser variant="primary-100" inset>
26
- <h3 slot="headline" class="sd-headline sd-headline--size-lg">Teaser with primary-100 background</h3>
24
+ <h3 slot="headline">Teaser with primary-100 background</h3>
27
25
  <p class="sd-paragraph">Lorem ipsum dolor sit amet, consetetur sadi pscing elitr, sed diam nonumy eirmod tempor.</p>
28
26
  </sd-teaser>
29
27
  <sd-teaser variant="primary" inset>
30
- <h3 slot="headline" class="sd-headline sd-headline--size-lg sd-headline--inverted">
31
- Teaser with primary background
32
- </h3>
28
+ <h3 slot="headline">Teaser with primary background</h3>
33
29
  <p class="sd-paragraph sd-paragraph--inverted">
34
30
  Lorem ipsum dolor sit amet, consetetur sadi pscing elitr, sed diam nonumy eirmod tempor.
35
31
  </p>
@@ -15,7 +15,7 @@ Use the components tool by passing the args `component` and `example` for any of
15
15
 
16
16
  ### Key Properties
17
17
 
18
- - prop.variant: |'white'|'neutral-100'|'primary'|'primary-100'|'gradient-light'|'gradient-dark', default='white' — Variant of the teaser
18
+ - prop.variant: 'white'|'neutral-100'|'primary'|'primary-100'|'gradient-light'|'gradient-dark', default='white' — Variant of the teaser
19
19
  - prop.open: boolean, default=false — Controls whether the expandable content is visible
20
20
  - prop.dir: 'ltr'|'rtl'|'auto' — The element's directionality.
21
21
  - prop.lang: string — The element's language.
@@ -1,6 +1,6 @@
1
1
  - Use the `default` slot to display main information and/or action elements below the headline.
2
2
  - Use the `media` slot to add an image to the teaser.
3
- - Use the `headline` slot to display titles. It should always contain a <h\*> element.
3
+ - Use the `headline` slot to display titles. It should always contain a <h*> element.
4
4
  **Accessibility Hint:**
5
5
  - Please make sure to use semantically correct headline tags for the headline slot to provide accessible content.
6
6
  - The heading in a teaser should be the first item in the DOM. A heading introduces a new thematic region and separates the following content from the previous region.
@@ -43,12 +43,12 @@ Use the components tool by passing the args `component` and `example` for any of
43
43
  - prop.floatingLabel [attr: floating-label]: boolean, default=false — Enables the floating label behavior for the input.
44
44
  - prop.minlength: number — The minimum length of input that will be considered valid.
45
45
  - prop.maxlength: number — The maximum length of input that will be considered valid.
46
- - prop.autocapitalize: |'off'|'none'|'on'|'sentences'|'words'|'characters' — Controls whether and how text input is automatically capitalized as it is entered by the user.
47
- - prop.autocorrect: 'off'|'on' — Indicates whether the browser's autocorrect feature is on or off.
46
+ - prop.autocapitalize: 'off'|'none'|'on'|'sentences'|'words'|'characters' — Controls whether and how text input is automatically capitalized as it is entered by the user.
47
+ - prop.autocorrect: boolean — Indicates whether the browser's autocorrect feature is on or off.
48
48
  - prop.autocomplete: string — Specifies what permission the browser has to provide assistance in filling out form field values. Refer to
49
49
  [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.
50
50
  - prop.autofocus: boolean — Indicates that the input should receive focus on page load.
51
- - prop.enterkeyhint: |'enter'|'done'|'go'|'next'|'previous'|'search'|'send' — Used to customize the label or icon of the Enter key on virtual keyboards.
51
+ - prop.enterkeyhint: 'enter'|'done'|'go'|'next'|'previous'|'search'|'send' — Used to customize the label or icon of the Enter key on virtual keyboards.
52
52
  - prop.styleOnValid [attr: style-on-valid]: boolean, default=false — Shows success styles if the validity of the input is valid.
53
53
  - prop.spellcheck: boolean, default=true — Enables spell checking on the textarea.
54
54
  - prop.inputmode: 'none'|'text' — Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual
@@ -20,7 +20,7 @@ Use the components tool by passing the args `component` and `example` for any of
20
20
 
21
21
  - prop.size: 'lg'|'sm', default='lg' — Sets the size of the default trigger icon.
22
22
  - prop.content: string, default='' — The tooltip's content. If you need to display HTML, use the `content` slot instead.
23
- - prop.placement: |'top'|'top-start'|'top-end'|'bottom'|'bottom-start'|'bottom-end', default='top' — The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip
23
+ - prop.placement: 'top'|'top-start'|'top-end'|'bottom'|'bottom-start'|'bottom-end', default='top' — The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip
24
24
  inside of the viewport.
25
25
  - prop.disabled: boolean, default=false — Disables the tooltip so it won't show when triggered.
26
26
  - prop.open: boolean, default=false — Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods.
@@ -52,8 +52,8 @@ Use the components tool by passing the args `component` and `example` for any of
52
52
  ### CSS Parts
53
53
 
54
54
  - part.base: The component's base wrapper, an `<sd-popup>` element.
55
- - part.base\_\_popup: The popup's exported `popup` part. Use this to target the tooltip's popup container.
56
- - part.base\_\_arrow: The popup's exported `arrow` part. Use this to target the tooltip's arrow.
55
+ - part.base__popup: The popup's exported `popup` part. Use this to target the tooltip's popup container.
56
+ - part.base__arrow: The popup's exported `arrow` part. Use this to target the tooltip's arrow.
57
57
  - part.body: The tooltip's body where its content is rendered.
58
58
 
59
59
  ## Guidelines
@@ -4,7 +4,7 @@ In this example we provide a solution to this problem by using a live region to
4
4
 
5
5
  ```html
6
6
  <sd-tooltip size="lg" content="This tooltip is accessible" placement="bottom" trigger="click" class="custom-tooltip">
7
- <sd-button class="custom-button">Custom Trigger</sd-button>
7
+ <sd-button class="custom-button">Custom trigger</sd-button>
8
8
  </sd-tooltip>
9
9
  <div aria-live="assertive" class="sr-only live-region"></div>
10
10
  <script>
@@ -10,17 +10,17 @@ Use the `placement` attribute to set the placement:
10
10
  ```html
11
11
  <div class="grid grid-cols-1 justify-items-center md:grid-cols-3 md:justify-items-start gap-24 p-12">
12
12
  <div>
13
- <sd-tooltip content="Top Start Positioning" placement="top-start" open size="lg" trigger="click focus"></sd-tooltip>
13
+ <sd-tooltip content="Top Start positioning" placement="top-start" open size="lg" trigger="click focus"></sd-tooltip>
14
14
  </div>
15
15
  <div>
16
- <sd-tooltip content="Top Positioning" placement="top" open size="lg" trigger="click focus"></sd-tooltip>
16
+ <sd-tooltip content="Top positioning" placement="top" open size="lg" trigger="click focus"></sd-tooltip>
17
17
  </div>
18
18
  <div>
19
- <sd-tooltip content="Top End Positioning" placement="top-end" open size="lg" trigger="click focus"></sd-tooltip>
19
+ <sd-tooltip content="Top End positioning" placement="top-end" open size="lg" trigger="click focus"></sd-tooltip>
20
20
  </div>
21
21
  <div>
22
22
  <sd-tooltip
23
- content="Bottom Start Positioning"
23
+ content="Bottom Start positioning"
24
24
  placement="bottom-start"
25
25
  open
26
26
  size="lg"
@@ -28,11 +28,11 @@ Use the `placement` attribute to set the placement:
28
28
  ></sd-tooltip>
29
29
  </div>
30
30
  <div>
31
- <sd-tooltip content="Bottom Positioning" placement="bottom" open size="lg" trigger="click focus"></sd-tooltip>
31
+ <sd-tooltip content="Bottom positioning" placement="bottom" open size="lg" trigger="click focus"></sd-tooltip>
32
32
  </div>
33
33
  <div>
34
34
  <sd-tooltip
35
- content="Bottom End Positioning"
35
+ content="Bottom End positioning"
36
36
  placement="bottom-end"
37
37
  open
38
38
  size="lg"
@@ -79,16 +79,16 @@
79
79
  "displayNameDe": "Herz voll",
80
80
  "tags": ["Favoriten", "gespeichert", "gemerkt"]
81
81
  },
82
- {
83
- "technicalId": "flash-on",
84
- "displayNameDe": "Blitz an",
85
- "tags": ["Taschenlampe an", "Foto"]
86
- },
87
82
  {
88
83
  "technicalId": "battery-full",
89
84
  "displayNameDe": "Batterie voll\n",
90
85
  "tags": ["voll", "Akku", "Ladestatus"]
91
86
  },
87
+ {
88
+ "technicalId": "flash-on",
89
+ "displayNameDe": "Blitz an",
90
+ "tags": ["Taschenlampe an", "Foto"]
91
+ },
92
92
  {
93
93
  "technicalId": "sort-down",
94
94
  "displayNameDe": "sortieren absteigend",
@@ -1044,16 +1044,16 @@
1044
1044
  "displayNameDe": "antworten",
1045
1045
  "tags": ["Rückmeldung", "Nachricht", "Kommunikation"]
1046
1046
  },
1047
- {
1048
- "technicalId": "password",
1049
- "displayNameDe": "Passwort",
1050
- "tags": ["sicherheitsgeschützt", "privat", "verschlüsselt"]
1051
- },
1052
1047
  {
1053
1048
  "technicalId": "e-mail-send",
1054
1049
  "displayNameDe": "E-Mail abschicken",
1055
1050
  "tags": ["Brief", "E-Mail", "Kommunikation"]
1056
1051
  },
1052
+ {
1053
+ "technicalId": "password",
1054
+ "displayNameDe": "Passwort",
1055
+ "tags": ["sicherheitsgeschützt", "privat", "verschlüsselt"]
1056
+ },
1057
1057
  {
1058
1058
  "technicalId": "e-mail-exclamation",
1059
1059
  "displayNameDe": "E-Mail Ausrufezeichen",
@@ -1084,16 +1084,16 @@
1084
1084
  "displayNameDe": "Textmarker",
1085
1085
  "tags": ["hervorheben", "malen", "farbig", "wichtig"]
1086
1086
  },
1087
- {
1088
- "technicalId": "e-mail-forward",
1089
- "displayNameDe": "E-Mail weiterleiten",
1090
- "tags": ["Pfeil", "weiterleiten", "Brief"]
1091
- },
1092
1087
  {
1093
1088
  "technicalId": "arrow-top-left",
1094
1089
  "displayNameDe": "Pfeil links oben",
1095
1090
  "tags": ["zurück", "oben", "rückwärts"]
1096
1091
  },
1092
+ {
1093
+ "technicalId": "e-mail-forward",
1094
+ "displayNameDe": "E-Mail weiterleiten",
1095
+ "tags": ["Pfeil", "weiterleiten", "Brief"]
1096
+ },
1097
1097
  {
1098
1098
  "technicalId": "external-link",
1099
1099
  "displayNameDe": "externer Link",
@@ -1,27 +1,27 @@
1
1
  [
2
2
  {
3
- "technicalId": "calculator",
4
- "displayNameDe": "calculator",
3
+ "technicalId": "",
4
+ "displayNameDe": "",
5
5
  "tags": []
6
6
  },
7
7
  {
8
- "technicalId": "image",
9
- "displayNameDe": "image",
8
+ "technicalId": "",
9
+ "displayNameDe": "",
10
10
  "tags": []
11
11
  },
12
12
  {
13
- "technicalId": "person-newspaper",
14
- "displayNameDe": "person newspaper",
13
+ "technicalId": "",
14
+ "displayNameDe": "",
15
15
  "tags": []
16
16
  },
17
17
  {
18
- "technicalId": "podcast",
19
- "displayNameDe": "podcast",
18
+ "technicalId": "",
19
+ "displayNameDe": "",
20
20
  "tags": []
21
21
  },
22
22
  {
23
- "technicalId": "video",
24
- "displayNameDe": "video",
23
+ "technicalId": "",
24
+ "displayNameDe": "",
25
25
  "tags": []
26
26
  }
27
27
  ]