@solid-design-system/components 1.22.0 → 1.24.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.
Files changed (122) hide show
  1. package/dist/components/es/carousel.js +3 -3
  2. package/dist/components/es/checkbox.js +1 -11
  3. package/dist/components/es/event.js +1 -1
  4. package/dist/components/es/input.js +1 -0
  5. package/dist/components/es/interactive.js +1 -0
  6. package/dist/components/es/live.js +11 -0
  7. package/dist/components/es/radio-group.js +1 -1
  8. package/dist/components/es/radio.js +1 -1
  9. package/dist/components/es/solid-components2.js +1 -1
  10. package/dist/components/es/solid-element.js +1 -1
  11. package/dist/components/es/tooltip.js +4 -0
  12. package/dist/components/umd/solid-components.js +23 -20
  13. package/dist/custom-elements.json +1 -1
  14. package/dist/package/components/icon/library.system.d.ts +9 -1
  15. package/dist/package/components/icon/library.system.js +52 -9
  16. package/dist/package/components/input/input.d.ts +76 -0
  17. package/dist/package/components/input/input.js +390 -0
  18. package/dist/package/components/radio/radio.js +1 -3
  19. package/dist/package/components/radio-group/radio-group.js +7 -8
  20. package/dist/package/components/tooltip/tooltip.d.ts +39 -0
  21. package/dist/package/components/tooltip/tooltip.js +233 -0
  22. package/dist/package/internal/animate.js +11 -0
  23. package/dist/package/solid-components.d.ts +2 -0
  24. package/dist/package/solid-components.js +22 -18
  25. package/dist/package/styles/form-control.styles.d.ts +2 -0
  26. package/dist/package/styles/form-control.styles.js +5 -0
  27. package/dist/package/styles/tailwind.css.js +1 -1
  28. package/dist/versioned-components/es/accordion-group.js +1 -1
  29. package/dist/versioned-components/es/accordion.js +1 -1
  30. package/dist/versioned-components/es/badge.js +1 -1
  31. package/dist/versioned-components/es/brandshape.js +1 -1
  32. package/dist/versioned-components/es/button.js +1 -1
  33. package/dist/versioned-components/es/carousel-item.js +1 -1
  34. package/dist/versioned-components/es/carousel.js +3 -3
  35. package/dist/versioned-components/es/checkbox-group.js +1 -1
  36. package/dist/versioned-components/es/checkbox.js +1 -11
  37. package/dist/versioned-components/es/divider.js +1 -1
  38. package/dist/versioned-components/es/drawer.js +1 -1
  39. package/dist/versioned-components/es/dropdown.js +1 -1
  40. package/dist/versioned-components/es/event.js +1 -1
  41. package/dist/versioned-components/es/form.js +1 -1
  42. package/dist/versioned-components/es/icon.js +1 -1
  43. package/dist/versioned-components/es/include.js +1 -1
  44. package/dist/versioned-components/es/input.js +1 -0
  45. package/dist/versioned-components/es/interactive.js +1 -0
  46. package/dist/versioned-components/es/link.js +1 -1
  47. package/dist/versioned-components/es/live.js +11 -0
  48. package/dist/versioned-components/es/navigation-item.js +1 -1
  49. package/dist/versioned-components/es/popup.js +1 -1
  50. package/dist/versioned-components/es/radio-group.js +1 -1
  51. package/dist/versioned-components/es/radio.js +1 -1
  52. package/dist/versioned-components/es/solid-components2.js +1 -1
  53. package/dist/versioned-components/es/solid-element.js +1 -1
  54. package/dist/versioned-components/es/spinner.js +1 -1
  55. package/dist/versioned-components/es/tag.js +1 -1
  56. package/dist/versioned-components/es/teaser.js +1 -1
  57. package/dist/versioned-components/es/tooltip.js +4 -0
  58. package/dist/versioned-components/es/video.js +1 -1
  59. package/dist/versioned-package/_components/button-group/button-group.d.ts +1 -1
  60. package/dist/versioned-package/_components/button-group/button-group.js +11 -11
  61. package/dist/versioned-package/components/accordion/accordion.d.ts +1 -1
  62. package/dist/versioned-package/components/accordion/accordion.js +2 -2
  63. package/dist/versioned-package/components/accordion-group/accordion-group.d.ts +1 -1
  64. package/dist/versioned-package/components/accordion-group/accordion-group.js +3 -3
  65. package/dist/versioned-package/components/badge/badge.d.ts +1 -1
  66. package/dist/versioned-package/components/badge/badge.js +1 -1
  67. package/dist/versioned-package/components/brandshape/brandshape.d.ts +1 -1
  68. package/dist/versioned-package/components/brandshape/brandshape.js +1 -1
  69. package/dist/versioned-package/components/button/button.d.ts +1 -1
  70. package/dist/versioned-package/components/button/button.js +4 -4
  71. package/dist/versioned-package/components/carousel/carousel.d.ts +1 -1
  72. package/dist/versioned-package/components/carousel/carousel.js +6 -6
  73. package/dist/versioned-package/components/carousel-item/carousel-item.d.ts +1 -1
  74. package/dist/versioned-package/components/carousel-item/carousel-item.js +1 -1
  75. package/dist/versioned-package/components/checkbox/checkbox.d.ts +1 -1
  76. package/dist/versioned-package/components/checkbox/checkbox.js +4 -4
  77. package/dist/versioned-package/components/checkbox-group/checkbox-group.d.ts +1 -1
  78. package/dist/versioned-package/components/checkbox-group/checkbox-group.js +5 -5
  79. package/dist/versioned-package/components/divider/divider.d.ts +1 -1
  80. package/dist/versioned-package/components/divider/divider.js +2 -2
  81. package/dist/versioned-package/components/drawer/drawer.d.ts +1 -1
  82. package/dist/versioned-package/components/drawer/drawer.js +2 -2
  83. package/dist/versioned-package/components/dropdown/dropdown.d.ts +1 -1
  84. package/dist/versioned-package/components/dropdown/dropdown.js +6 -6
  85. package/dist/versioned-package/components/icon/icon.d.ts +1 -1
  86. package/dist/versioned-package/components/icon/icon.js +1 -1
  87. package/dist/versioned-package/components/icon/library.system.d.ts +9 -1
  88. package/dist/versioned-package/components/icon/library.system.js +52 -9
  89. package/dist/versioned-package/components/include/include.d.ts +1 -1
  90. package/dist/versioned-package/components/include/include.js +1 -1
  91. package/dist/versioned-package/components/input/input.d.ts +76 -0
  92. package/dist/versioned-package/components/input/input.js +390 -0
  93. package/dist/versioned-package/components/link/link.d.ts +1 -1
  94. package/dist/versioned-package/components/link/link.js +2 -2
  95. package/dist/versioned-package/components/navigation-item/navigation-item.d.ts +1 -1
  96. package/dist/versioned-package/components/navigation-item/navigation-item.js +3 -3
  97. package/dist/versioned-package/components/popup/popup.d.ts +1 -1
  98. package/dist/versioned-package/components/popup/popup.js +1 -1
  99. package/dist/versioned-package/components/radio/radio.d.ts +1 -1
  100. package/dist/versioned-package/components/radio/radio.js +3 -5
  101. package/dist/versioned-package/components/radio-group/radio-group.d.ts +2 -2
  102. package/dist/versioned-package/components/radio-group/radio-group.js +20 -21
  103. package/dist/versioned-package/components/spinner/spinner.d.ts +1 -1
  104. package/dist/versioned-package/components/spinner/spinner.js +1 -1
  105. package/dist/versioned-package/components/tag/tag.d.ts +1 -1
  106. package/dist/versioned-package/components/tag/tag.js +2 -2
  107. package/dist/versioned-package/components/teaser/teaser.js +1 -1
  108. package/dist/versioned-package/components/tooltip/tooltip.d.ts +39 -0
  109. package/dist/versioned-package/components/tooltip/tooltip.js +233 -0
  110. package/dist/versioned-package/components/video/video.d.ts +1 -1
  111. package/dist/versioned-package/components/video/video.js +2 -2
  112. package/dist/versioned-package/internal/animate.js +11 -0
  113. package/dist/versioned-package/internal/form.js +2 -2
  114. package/dist/versioned-package/solid-components.d.ts +2 -0
  115. package/dist/versioned-package/solid-components.js +22 -18
  116. package/dist/versioned-package/styles/form-control.styles.d.ts +2 -0
  117. package/dist/versioned-package/styles/form-control.styles.js +5 -0
  118. package/dist/versioned-package/styles/tailwind.css.js +1 -1
  119. package/dist/versioned-styles/solid-styles.css +1 -1
  120. package/dist/vscode.html-custom-data.json +705 -23
  121. package/dist/web-types.json +772 -1
  122. package/package.json +5 -5
@@ -106,7 +106,7 @@ let SdAccordion = class extends SolidElement {
106
106
  )}" role="button" aria-expanded="${this.open ? "true" : "false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${cx(
107
107
  "flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-300 text-xl",
108
108
  this.open && "rotate-180"
109
- )}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-1-22-0-icon library="system" name="chevron-down"></sd-1-22-0-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-1-22-0-icon library="system" name="chevron-down"></sd-1-22-0-icon></slot></span></header><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></div>`;
109
+ )}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-1-24-0-icon library="system" name="chevron-down"></sd-1-24-0-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-1-24-0-icon library="system" name="chevron-down"></sd-1-24-0-icon></slot></span></header><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></div>`;
110
110
  }
111
111
  };
112
112
  SdAccordion.styles = [
@@ -132,7 +132,7 @@ __decorateClass([
132
132
  watch("open", { waitUntilFirstUpdate: true })
133
133
  ], SdAccordion.prototype, "handleOpenChange", 1);
134
134
  SdAccordion = __decorateClass([
135
- customElement("sd-1-22-0-accordion")
135
+ customElement("sd-1-24-0-accordion")
136
136
  ], SdAccordion);
137
137
  setDefaultAnimation("accordion.show", {
138
138
  keyframes: [
@@ -11,6 +11,6 @@ export default class SdAccordionGroup extends SolidElement {
11
11
  }
12
12
  declare global {
13
13
  interface HTMLElementTagNameMap {
14
- 'sd-1-22-0-accordion-group': SdAccordionGroup;
14
+ 'sd-1-24-0-accordion-group': SdAccordionGroup;
15
15
  }
16
16
  }
@@ -48,16 +48,16 @@ let SdAccordionGroup = class extends SolidElement {
48
48
  SdAccordionGroup.styles = [
49
49
  componentStyles,
50
50
  SolidElement.styles,
51
- css`:host{display:block}::slotted(sd-1-22-0-accordion:not(:first-of-type)){margin-top:-1px}`
51
+ css`:host{display:block}::slotted(sd-1-24-0-accordion:not(:first-of-type)){margin-top:-1px}`
52
52
  ];
53
53
  __decorateClass([
54
- queryAssignedElements({ selector: "sd-1-22-0-accordion" })
54
+ queryAssignedElements({ selector: "sd-1-24-0-accordion" })
55
55
  ], SdAccordionGroup.prototype, "_accordionsInDefaultSlot", 2);
56
56
  __decorateClass([
57
57
  property({ attribute: "close-others", type: Boolean })
58
58
  ], SdAccordionGroup.prototype, "closeOthers", 2);
59
59
  SdAccordionGroup = __decorateClass([
60
- customElement("sd-1-22-0-accordion-group")
60
+ customElement("sd-1-24-0-accordion-group")
61
61
  ], SdAccordionGroup);
62
62
  export {
63
63
  SdAccordionGroup as default
@@ -8,6 +8,6 @@ export default class SdBadge extends SolidElement {
8
8
  }
9
9
  declare global {
10
10
  interface HTMLElementTagNameMap {
11
- 'sd-1-22-0-badge': SdBadge;
11
+ 'sd-1-24-0-badge': SdBadge;
12
12
  }
13
13
  }
@@ -53,7 +53,7 @@ __decorateClass([
53
53
  property({ type: Boolean, reflect: true })
54
54
  ], SdBadge.prototype, "inverted", 2);
55
55
  SdBadge = __decorateClass([
56
- customElement("sd-1-22-0-badge")
56
+ customElement("sd-1-24-0-badge")
57
57
  ], SdBadge);
58
58
  export {
59
59
  SdBadge as default
@@ -22,6 +22,6 @@ export default class SdBrandshape extends SolidElement {
22
22
  }
23
23
  declare global {
24
24
  interface HTMLElementTagNameMap {
25
- 'sd-1-22-0-brandshape': SdBrandshape;
25
+ 'sd-1-24-0-brandshape': SdBrandshape;
26
26
  }
27
27
  }
@@ -123,7 +123,7 @@ __decorateClass([
123
123
  state()
124
124
  ], SdBrandshape.prototype, "componentBreakpoint", 2);
125
125
  SdBrandshape = __decorateClass([
126
- customElement("sd-1-22-0-brandshape")
126
+ customElement("sd-1-24-0-brandshape")
127
127
  ], SdBrandshape);
128
128
  export {
129
129
  SdBrandshape as default
@@ -47,6 +47,6 @@ export default class SdButton extends SolidElement implements SolidFormControl {
47
47
  }
48
48
  declare global {
49
49
  interface HTMLElementTagNameMap {
50
- 'sd-1-22-0-button': SdButton;
50
+ 'sd-1-24-0-button': SdButton;
51
51
  }
52
52
  }
@@ -213,19 +213,19 @@ let SdButton = class extends SolidElement {
213
213
  md: "ml-2",
214
214
  lg: "ml-2"
215
215
  }[this.size]
216
- )}"></slot>${this.loading ? html`<sd-1-22-0-spinner class="${cx("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-1-22-0-spinner>` : ""}</${tag}>`;
216
+ )}"></slot>${this.loading ? html`<sd-1-24-0-spinner class="${cx("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-1-24-0-spinner>` : ""}</${tag}>`;
217
217
  }
218
218
  };
219
219
  SdButton.styles = [
220
220
  componentStyles,
221
221
  SolidElement.styles,
222
- css`:host{display:inline-block;position:relative;width:auto;cursor:pointer}sd-1-22-0-spinner{--indicator-color:currentColor;--track-color:var(--tw-varcolor-200)}::slotted(sd-1-22-0-badge){position:absolute;top:0;right:0;translate:50% -50%;pointer-events:none}::slotted(sd-1-22-0-icon),sd-1-22-0-spinner{font-size:calc(var(--tw-varspacing)/ 2)}`
222
+ css`:host{display:inline-block;position:relative;width:auto;cursor:pointer}sd-1-24-0-spinner{--indicator-color:currentColor;--track-color:var(--tw-varcolor-200)}::slotted(sd-1-24-0-badge){position:absolute;top:0;right:0;translate:50% -50%;pointer-events:none}::slotted(sd-1-24-0-icon),sd-1-24-0-spinner{font-size:calc(var(--tw-varspacing)/ 2)}`
223
223
  ];
224
224
  __decorateClass([
225
225
  query("a, button")
226
226
  ], SdButton.prototype, "button", 2);
227
227
  __decorateClass([
228
- queryAssignedElements({ selector: "sd-1-22-0-icon" })
228
+ queryAssignedElements({ selector: "sd-1-24-0-icon" })
229
229
  ], SdButton.prototype, "_iconsInDefaultSlot", 2);
230
230
  __decorateClass([
231
231
  state()
@@ -288,7 +288,7 @@ __decorateClass([
288
288
  watch("disabled", { waitUntilFirstUpdate: true })
289
289
  ], SdButton.prototype, "handleDisabledChange", 1);
290
290
  SdButton = __decorateClass([
291
- customElement("sd-1-22-0-button")
291
+ customElement("sd-1-24-0-button")
292
292
  ], SdButton);
293
293
  export {
294
294
  SdButton as default
@@ -41,6 +41,6 @@ export default class SdCarousel extends SolidElement {
41
41
  }
42
42
  declare global {
43
43
  interface HTMLElementTagNameMap {
44
- 'sd-1-22-0-carousel': SdCarousel;
44
+ 'sd-1-24-0-carousel': SdCarousel;
45
45
  }
46
46
  }
@@ -39,7 +39,7 @@ let SdCarousel = class extends SolidElement {
39
39
  this.pausedAutoplay = false;
40
40
  this.autoplayController = new AutoplayController(this, () => this.next());
41
41
  this.scrollController = new ScrollController(this);
42
- this.slides = this.getElementsByTagName("sd-1-22-0-carousel-item");
42
+ this.slides = this.getElementsByTagName("sd-1-24-0-carousel-item");
43
43
  this.intersectionObserverEntries = /* @__PURE__ */ new Map();
44
44
  this.localize = new LocalizeController(this);
45
45
  this.handleSlotChange = (mutations) => {
@@ -276,7 +276,7 @@ let SdCarousel = class extends SolidElement {
276
276
  "!mr-6 !rounded-sm sd-interactive",
277
277
  !prevEnabled && "sd-interactive--disabled",
278
278
  this.inverted ? "sd-interactive--inverted" : "sd-interactive--reset"
279
- )}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${prevEnabled ? "false" : "true"}" @click="${prevEnabled ? () => this.previous() : null}"><slot name="previous-icon"><sd-1-22-0-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${isLtr ? "chevron-down" : "chevron-up"}"></sd-1-22-0-icon></slot></button> ${this.variant === "dot" ? html`<div part="pagination-dot" role="tablist" class="${cx("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${map(range(pagesCount), (index) => {
279
+ )}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${prevEnabled ? "false" : "true"}" @click="${prevEnabled ? () => this.previous() : null}"><slot name="previous-icon"><sd-1-24-0-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${isLtr ? "chevron-down" : "chevron-up"}"></sd-1-24-0-icon></slot></button> ${this.variant === "dot" ? html`<div part="pagination-dot" role="tablist" class="${cx("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${map(range(pagesCount), (index) => {
280
280
  const isActive = index === currentPage;
281
281
  return html`<button part="pagination-item ${isActive ? "pagination-item--active" : ""}" class="${cx(
282
282
  "carousel__pagination-item",
@@ -296,18 +296,18 @@ let SdCarousel = class extends SolidElement {
296
296
  )}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${nextEnabled ? "false" : "true"}" @click="${nextEnabled ? () => {
297
297
  console.log("click-next");
298
298
  this.next();
299
- } : null}"><slot name="next-icon"><sd-1-22-0-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${isLtr ? "chevron-up" : "chevron-down"}"></sd-1-22-0-icon></slot></button></div><button class="${cx(
299
+ } : null}"><slot name="next-icon"><sd-1-24-0-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${isLtr ? "chevron-up" : "chevron-down"}"></sd-1-24-0-icon></slot></button></div><button class="${cx(
300
300
  "ml-6 !rounded-sm",
301
301
  "!absolute !right-0 sd-interactive",
302
302
  this.inverted ? "sd-interactive--inverted" : "sd-interactive--reset",
303
303
  !this.autoplay && "!hidden"
304
- )}" part="autoplay-controls" @click="${() => this.pausedAutoplay = !this.pausedAutoplay}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-1-22-0-icon class="h-6 w-6 grid place-items-center" library="system" name="start"></sd-1-22-0-icon></slot><slot name="autoplay-pause" class="${cx(this.pausedAutoplay ? "hidden" : "")}"><sd-1-22-0-icon class="h-6 w-6 grid place-items-center" library="system" name="pause"></sd-1-22-0-icon></slot></button></div></div>`;
304
+ )}" part="autoplay-controls" @click="${() => this.pausedAutoplay = !this.pausedAutoplay}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-1-24-0-icon class="h-6 w-6 grid place-items-center" library="system" name="start"></sd-1-24-0-icon></slot><slot name="autoplay-pause" class="${cx(this.pausedAutoplay ? "hidden" : "")}"><sd-1-24-0-icon class="h-6 w-6 grid place-items-center" library="system" name="pause"></sd-1-24-0-icon></slot></button></div></div>`;
305
305
  }
306
306
  };
307
307
  SdCarousel.styles = [
308
308
  SolidElement.styles,
309
309
  unsafeCSS(InteractiveStyles),
310
- css`${componentStyles}:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__slides--dragging,.carousel__slides--dropping{scroll-snap-type:unset}.carousel__slides::-webkit-scrollbar{display:none}.carousel__navigation{grid-area:navigation}sd-1-22-0-button::part(label){display:flex;flex:1 1 auto;align-items:center;pointer-events:none}`
310
+ css`${componentStyles}:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__slides--dragging,.carousel__slides--dropping{scroll-snap-type:unset}.carousel__slides::-webkit-scrollbar{display:none}.carousel__navigation{grid-area:navigation}sd-1-24-0-button::part(label){display:flex;flex:1 1 auto;align-items:center;pointer-events:none}`
311
311
  ];
312
312
  __decorateClass([
313
313
  property({ type: String, reflect: true })
@@ -359,7 +359,7 @@ __decorateClass([
359
359
  watch("autoplay")
360
360
  ], SdCarousel.prototype, "handleAutoplayChange", 1);
361
361
  SdCarousel = __decorateClass([
362
- customElement("sd-1-22-0-carousel")
362
+ customElement("sd-1-24-0-carousel")
363
363
  ], SdCarousel);
364
364
  export {
365
365
  SdCarousel as default
@@ -7,6 +7,6 @@ export default class SdCarouselItem extends SolidElement {
7
7
  }
8
8
  declare global {
9
9
  interface HTMLElementTagNameMap {
10
- 'sd-1-22-0-carousel-item': SdCarouselItem;
10
+ 'sd-1-24-0-carousel-item': SdCarouselItem;
11
11
  }
12
12
  }
@@ -30,7 +30,7 @@ SdCarouselItem.styles = [
30
30
  css`${componentStyles}:host{display:flex;align-items:center;justify-content:center;flex-direction:column;width:100%;height:100%;aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always}::slotted(img){width:100%;height:100%;object-fit:cover}`
31
31
  ];
32
32
  SdCarouselItem = __decorateClass([
33
- customElement("sd-1-22-0-carousel-item")
33
+ customElement("sd-1-24-0-carousel-item")
34
34
  ], SdCarouselItem);
35
35
  export {
36
36
  SdCarouselItem as default
@@ -35,6 +35,6 @@ export default class SdCheckbox extends SolidElement implements SolidFormControl
35
35
  }
36
36
  declare global {
37
37
  interface HTMLElementTagNameMap {
38
- 'sd-1-22-0-checkbox': SdCheckbox;
38
+ 'sd-1-24-0-checkbox': SdCheckbox;
39
39
  }
40
40
  }
@@ -54,7 +54,7 @@ let SdCheckbox = class extends SolidElement {
54
54
  this.emit("sd-blur");
55
55
  }
56
56
  handleInput() {
57
- this.emit("sd-input");
57
+ this.emit("sd-1-24-0-input");
58
58
  }
59
59
  handleInvalid(event) {
60
60
  this.formControlController.setValidity(false);
@@ -106,7 +106,7 @@ let SdCheckbox = class extends SolidElement {
106
106
  }
107
107
  render() {
108
108
  return html`<label part="base" class="${cx(
109
- "sd-1-22-0-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",
109
+ "sd-1-24-0-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",
110
110
  this.disabled && "hover:cursor-not-allowed",
111
111
  {
112
112
  /* sizes, fonts */
@@ -122,7 +122,7 @@ let SdCheckbox = class extends SolidElement {
122
122
  lg: "mt-[3px]"
123
123
  }[this.size],
124
124
  this.disabled && this.indeterminate && "border-neutral-500 bg-neutral-500" || this.disabled && this.checked && "border-neutral-500 bg-neutral-500" || this.disabled && "border-neutral-500" || (this.checked || this.indeterminate) && "border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550" || "border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"
125
- )}">${this.checked ? html`<sd-1-22-0-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-hook"></sd-1-22-0-icon>` : ""} ${!this.checked && this.indeterminate ? html`<sd-1-22-0-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-1-22-0-icon>` : ""} </span><span part="label" id="label" class="${cx(
125
+ )}">${this.checked ? html`<sd-1-24-0-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-hook"></sd-1-24-0-icon>` : ""} ${!this.checked && this.indeterminate ? html`<sd-1-24-0-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-1-24-0-icon>` : ""} </span><span part="label" id="label" class="${cx(
126
126
  "select-none inline-block ml-2 text-black",
127
127
  this.disabled && "text-neutral-500" || "text-neutral-800"
128
128
  )}"><slot></slot></span></label>`;
@@ -172,7 +172,7 @@ __decorateClass([
172
172
  watch(["checked", "indeterminate"], { waitUntilFirstUpdate: true })
173
173
  ], SdCheckbox.prototype, "handleStateChange", 1);
174
174
  SdCheckbox = __decorateClass([
175
- customElement("sd-1-22-0-checkbox")
175
+ customElement("sd-1-24-0-checkbox")
176
176
  ], SdCheckbox);
177
177
  export {
178
178
  SdCheckbox as default
@@ -15,6 +15,6 @@ export default class SdCheckboxGroup extends SolidElement {
15
15
  }
16
16
  declare global {
17
17
  interface HTMLElementTagNameMap {
18
- 'sd-1-22-0-checkbox-group': SdCheckboxGroup;
18
+ 'sd-1-24-0-checkbox-group': SdCheckboxGroup;
19
19
  }
20
20
  }
@@ -27,7 +27,7 @@ let SdCheckboxGroup = class extends SolidElement {
27
27
  this.orientation = "vertical";
28
28
  }
29
29
  getAllCheckboxes() {
30
- return [...this.querySelectorAll("sd-1-22-0-checkbox")];
30
+ return [...this.querySelectorAll("sd-1-24-0-checkbox")];
31
31
  }
32
32
  async syncCheckboxElements() {
33
33
  const checkboxes = this.getAllCheckboxes();
@@ -43,10 +43,10 @@ let SdCheckboxGroup = class extends SolidElement {
43
43
  }
44
44
  }
45
45
  syncCheckboxes() {
46
- if (customElements.get("sd-1-22-0-checkbox")) {
46
+ if (customElements.get("sd-1-24-0-checkbox")) {
47
47
  this.syncCheckboxElements();
48
48
  } else {
49
- customElements.whenDefined("sd-1-22-0-checkbox").then(() => this.syncCheckboxes());
49
+ customElements.whenDefined("sd-1-24-0-checkbox").then(() => this.syncCheckboxes());
50
50
  }
51
51
  }
52
52
  handleSizeChange() {
@@ -77,7 +77,7 @@ let SdCheckboxGroup = class extends SolidElement {
77
77
  SdCheckboxGroup.styles = [
78
78
  componentStyles,
79
79
  SolidElement.styles,
80
- css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-1-22-0-checkbox){margin-bottom:8px;display:flex}:host([orientation=vertical]) ::slotted(sd-1-22-0-checkbox:last-of-type){margin-bottom:0}:host([orientation=horizontal]) ::slotted(sd-1-22-0-checkbox){margin-right:24px}:host([size=sm]):host([orientation=horizontal]) ::slotted(sd-1-22-0-checkbox){margin-right:16px}:host([orientation=horizontal]) ::slotted(sd-1-22-0-checkbox:last-of-type){margin-right:0}`
80
+ css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-1-24-0-checkbox){margin-bottom:8px;display:flex}:host([orientation=vertical]) ::slotted(sd-1-24-0-checkbox:last-of-type){margin-bottom:0}:host([orientation=horizontal]) ::slotted(sd-1-24-0-checkbox){margin-right:24px}:host([size=sm]):host([orientation=horizontal]) ::slotted(sd-1-24-0-checkbox){margin-right:16px}:host([orientation=horizontal]) ::slotted(sd-1-24-0-checkbox:last-of-type){margin-right:0}`
81
81
  ];
82
82
  __decorateClass([
83
83
  property()
@@ -95,7 +95,7 @@ __decorateClass([
95
95
  watch("invalid", { waitUntilFirstUpdate: true })
96
96
  ], SdCheckboxGroup.prototype, "handleInvalid", 1);
97
97
  SdCheckboxGroup = __decorateClass([
98
- customElement("sd-1-22-0-checkbox-group")
98
+ customElement("sd-1-24-0-checkbox-group")
99
99
  ], SdCheckboxGroup);
100
100
  export {
101
101
  SdCheckboxGroup as default
@@ -8,6 +8,6 @@ export default class SdDivider extends SolidElement {
8
8
  }
9
9
  declare global {
10
10
  interface HTMLElementTagNameMap {
11
- 'sd-1-22-0-divider': SdDivider;
11
+ 'sd-1-24-0-divider': SdDivider;
12
12
  }
13
13
  }
@@ -35,7 +35,7 @@ let SdDivider = class extends SolidElement {
35
35
  SdDivider.styles = [
36
36
  componentStyles,
37
37
  SolidElement.styles,
38
- css`:host{margin:0}:host(sd-1-22-0-divider[orientation=horizontal]){display:block}:host(sd-1-22-0-divider[orientation=vertical]){display:inline-block}`
38
+ css`:host{margin:0}:host(sd-1-24-0-divider[orientation=horizontal]){display:block}:host(sd-1-24-0-divider[orientation=vertical]){display:inline-block}`
39
39
  ];
40
40
  __decorateClass([
41
41
  property({ reflect: true })
@@ -44,7 +44,7 @@ __decorateClass([
44
44
  property({ type: Boolean, reflect: true })
45
45
  ], SdDivider.prototype, "inverted", 2);
46
46
  SdDivider = __decorateClass([
47
- customElement("sd-1-22-0-divider")
47
+ customElement("sd-1-24-0-divider")
48
48
  ], SdDivider);
49
49
  export {
50
50
  SdDivider as default
@@ -29,6 +29,6 @@ export default class SdDrawer extends SolidElement {
29
29
  }
30
30
  declare global {
31
31
  interface HTMLElementTagNameMap {
32
- 'sd-1-22-0-drawer': SdDrawer;
32
+ 'sd-1-24-0-drawer': SdDrawer;
33
33
  }
34
34
  }
@@ -183,7 +183,7 @@ let SdDrawer = class extends SolidElement {
183
183
  end: "top-0 end-0 bottom-auto start-auto w-[--width] h-full",
184
184
  start: "top-0 end-auto bottom-auto start-0 w-[--width] h-full"
185
185
  }[this.placement]
186
- )}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${this.label}" aria-labelledby="${ifDefined(!this.noHeader ? "title" : void 0)}" tabindex="0">${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-1-22-0-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-1-22-0-icon name="close" library="system"></sd-1-22-0-icon></sd-1-22-0-button></div></header>` : ""}<div part="body" class="flex-auto block px-4"><slot></slot></div><footer part="footer" class="${cx(this.hasSlotController.test("footer") ? "text-left p-4" : "hidden")}"><slot name="footer"></slot></footer></div></div>`;
186
+ )}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${this.label}" aria-labelledby="${ifDefined(!this.noHeader ? "title" : void 0)}" tabindex="0">${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-1-24-0-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-1-24-0-icon name="close" library="system"></sd-1-24-0-icon></sd-1-24-0-button></div></header>` : ""}<div part="body" class="flex-auto block px-4"><slot></slot></div><footer part="footer" class="${cx(this.hasSlotController.test("footer") ? "text-left p-4" : "hidden")}"><slot name="footer"></slot></footer></div></div>`;
187
187
  }
188
188
  };
189
189
  SdDrawer.styles = [
@@ -221,7 +221,7 @@ __decorateClass([
221
221
  watch("contained", { waitUntilFirstUpdate: true })
222
222
  ], SdDrawer.prototype, "handleNoModalChange", 1);
223
223
  SdDrawer = __decorateClass([
224
- customElement("sd-1-22-0-drawer")
224
+ customElement("sd-1-24-0-drawer")
225
225
  ], SdDrawer);
226
226
  setDefaultAnimation("drawer.showStart", {
227
227
  keyframes: [
@@ -44,6 +44,6 @@ export default class SdDropdown extends SolidElement {
44
44
  }
45
45
  declare global {
46
46
  interface HTMLElementTagNameMap {
47
- 'sd-1-22-0-dropdown': SdDropdown;
47
+ 'sd-1-24-0-dropdown': SdDropdown;
48
48
  }
49
49
  }
@@ -170,7 +170,7 @@ let SdDropdown = class extends SolidElement {
170
170
  // that gets slotted in) so screen readers will understand them. The accessible trigger could be the slotted element,
171
171
  // a child of the slotted element, or an element in the slotted element's shadow root.
172
172
  //
173
- // For example, the accessible trigger of an <sd-1-22-0-button> is a <button> located inside its shadow root.
173
+ // For example, the accessible trigger of an <sd-1-24-0-button> is a <button> located inside its shadow root.
174
174
  //
175
175
  // To determine this, we assume the first tabbable element in the trigger slot is the "accessible trigger."
176
176
  //
@@ -180,8 +180,8 @@ let SdDropdown = class extends SolidElement {
180
180
  let target;
181
181
  if (accessibleTrigger) {
182
182
  switch (accessibleTrigger.tagName.toLowerCase()) {
183
- case "sd-1-22-0-button":
184
- case "sd-1-22-0-icon-button":
183
+ case "sd-1-24-0-button":
184
+ case "sd-1-24-0-icon-button":
185
185
  target = accessibleTrigger.button;
186
186
  break;
187
187
  default:
@@ -257,11 +257,11 @@ let SdDropdown = class extends SolidElement {
257
257
  }
258
258
  }
259
259
  render() {
260
- return html`<sd-1-22-0-popup part="base" id="dropdown" placement="${this.placement}" distance="${this.rounded && this.distance < 1 ? 1 : this.distance}" skidding="${this.skidding}" strategy="${this.hoist ? "fixed" : "absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10" ?active="${this.open}"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${cx(
260
+ return html`<sd-1-24-0-popup part="base" id="dropdown" placement="${this.placement}" distance="${this.rounded && this.distance < 1 ? 1 : this.distance}" skidding="${this.skidding}" strategy="${this.hoist ? "fixed" : "absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10" ?active="${this.open}"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${cx(
261
261
  "shadow bg-white",
262
262
  this.open ? "block pointer-events-auto" : "pointer-events-none",
263
263
  this.rounded && "rounded-md"
264
- )}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-1-22-0-popup>`;
264
+ )}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-1-24-0-popup>`;
265
265
  }
266
266
  };
267
267
  SdDropdown.styles = [
@@ -315,7 +315,7 @@ __decorateClass([
315
315
  watch("open", { waitUntilFirstUpdate: true })
316
316
  ], SdDropdown.prototype, "handleOpenChange", 1);
317
317
  SdDropdown = __decorateClass([
318
- customElement("sd-1-22-0-dropdown")
318
+ customElement("sd-1-24-0-dropdown")
319
319
  ], SdDropdown);
320
320
  setDefaultAnimation("dropdown.show", {
321
321
  keyframes: [
@@ -17,6 +17,6 @@ export default class SdIcon extends SolidElement {
17
17
  }
18
18
  declare global {
19
19
  interface HTMLElementTagNameMap {
20
- 'sd-1-22-0-icon': SdIcon;
20
+ 'sd-1-24-0-icon': SdIcon;
21
21
  }
22
22
  }
@@ -123,7 +123,7 @@ __decorateClass([
123
123
  watch(["name", "src", "library"])
124
124
  ], SdIcon.prototype, "setIcon", 1);
125
125
  SdIcon = __decorateClass([
126
- customElement("sd-1-22-0-icon")
126
+ customElement("sd-1-24-0-icon")
127
127
  ], SdIcon);
128
128
  export {
129
129
  SdIcon as default
@@ -1,12 +1,20 @@
1
1
  import type { IconLibrary } from './library';
2
2
  export declare const icons: {
3
+ calendar: string;
3
4
  'chevron-down': string;
4
5
  'chevron-up': string;
6
+ clock: string;
5
7
  close: string;
8
+ 'closing-round': string;
9
+ confirm: string;
10
+ eye: string;
11
+ 'eye-crossed-out': string;
12
+ 'info-circle': string;
6
13
  'status-hook': string;
7
14
  'status-minus': string;
8
- start: string;
9
15
  pause: string;
16
+ risk: string;
17
+ start: string;
10
18
  };
11
19
  declare const systemLibrary: IconLibrary;
12
20
  export default systemLibrary;
@@ -1,19 +1,55 @@
1
1
  const icons = {
2
+ calendar: `
3
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
4
+ <path d="M21 2H3a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1ZM6 4v1.667a1 1 0 0 0 2 0V4h8v1.667a1 1 0 0 0 2 0V4h2v4H4V4h2ZM4 20V10h16v10H4Z"/>
5
+ <path d="m7.603 13.263.597.81.31-.25c.31-.25.593-.49.733-.63h.017c-.017.333-.033 1.14-.033 1.647V18h1.223v-6.03H9.353l-1.75 1.293ZM14.667 11.867c-1.543 0-2.26 1-2.26 3.163 0 1.9.667 3.063 2.217 3.063s2.193-1.18 2.193-3.13c-.017-2.063-.743-3.097-2.15-3.097v.001Zm-.044 5.333c-.647 0-1-.76-1-2.28 0-1.44.353-2.173 1-2.173s1 .743 1 2.233c0 1.49-.387 2.227-1.017 2.227l.017-.007Z"/>
6
+ </svg>
7
+ `,
2
8
  "chevron-down": `
3
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
9
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
4
10
  <path d="M20.257 6.333l-8.257 9.173-8.257-9.173c-0.181-0.181-0.431-0.292-0.707-0.292-0.552 0-1 0.448-1 1 0 0.238 0.083 0.456 0.222 0.628l-0.001-0.002 9 10c0.184 0.204 0.449 0.331 0.743 0.331s0.56-0.127 0.743-0.33l0.001-0.001 9-10c0.137-0.17 0.22-0.388 0.22-0.626 0-0.552-0.448-1-1-1-0.276 0-0.526 0.112-0.707 0.293v0z"></path>
5
11
  </svg>
6
12
  `,
7
13
  "chevron-up": `
8
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
14
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
9
15
  <path d="M12.743 6.333c-0.188-0.195-0.452-0.316-0.743-0.316s-0.555 0.121-0.743 0.315l-0 0-9 10c-0.137 0.17-0.22 0.388-0.22 0.626 0 0.552 0.448 1 1 1 0.276 0 0.526-0.112 0.707-0.293v0l8.257-9.173 8.257 9.173c0.181 0.181 0.431 0.292 0.707 0.292 0.552 0 1-0.448 1-1 0-0.238-0.083-0.456-0.222-0.628l0.001 0.002z"></path>
10
16
  </svg>
11
17
  `,
18
+ clock: `
19
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
20
+ <path d="M13 11.587V8a1 1 0 0 0-2 0v4c0 .07.007.138.021.203l-.001-.006a.855.855 0 0 0 .029.093l-.002-.006c0 .033 0 .067.03.1a.709.709 0 0 0 .055.103l-.002-.003.037.07c.04.057.081.107.127.153l2.827 2.83a1.002 1.002 0 0 0 1.417-1.417L13 11.587Z"/>
21
+ <path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/>
22
+ </svg>
23
+ `,
12
24
  close: `
13
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
14
- <path d="M21.707 2.293a1 1 0 0 0-1.414 0L12 10.586 3.707 2.293a1 1 0 0 0-1.413 1.414l-.001-.001 8.293 8.293-8.293 8.293a1 1 0 0 0 0 1.414 1 1 0 0 0 1.414 0L12 13.413l8.293 8.293a1 1 0 0 0 1.414 0 1 1 0 0 0 0-1.414l-8.293-8.293 8.293-8.293a1 1 0 0 0 0-1.414z"/></svg>
15
- </svg>
25
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
26
+ <path d="M21.707 2.293a1 1 0 0 0-1.414 0L12 10.586 3.707 2.293a1 1 0 0 0-1.413 1.414l-.001-.001 8.293 8.293-8.293 8.293a1 1 0 0 0 0 1.414 1 1 0 0 0 1.414 0L12 13.413l8.293 8.293a1 1 0 0 0 1.414 0 1 1 0 0 0 0-1.414l-8.293-8.293 8.293-8.293a1 1 0 0 0 0-1.414z"/></svg>
27
+ </svg>
28
+ `,
29
+ "closing-round": `
30
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
31
+ <path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/>
32
+ <path d="M16.373 7.627a1 1 0 0 0-1.414 0l-2.96 2.96-2.96-2.96a1 1 0 0 0-1.413 1.414l-.001-.001 2.96 2.96-2.96 2.96a1 1 0 0 0 1.414 1.414l2.96-2.96 2.96 2.96a1 1 0 0 0 1.414-1.414L13.413 12l2.96-2.96a1 1 0 0 0 0-1.414v.001Z"/>
33
+ </svg>`,
34
+ confirm: `
35
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
36
+ <path d="M21.528 2.167a1 1 0 0 0-1.384.277l-.002.004-11.333 17-5.127-5.153a1 1 0 0 0-1.413 1.414l-.001-.001 6 6a.997.997 0 0 0 .707.293h.1c.307-.032.57-.199.731-.44l.002-.004 12-18a1 1 0 0 0-.276-1.388l-.004-.002Z"/>
37
+ </svg>
16
38
  `,
39
+ eye: `
40
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
41
+ <path d="M12 18.96c-5.263 0-10-5.68-10-6.96 0-1.28 4.737-6.96 10-6.96S22 10.72 22 12c0 1.28-4.737 6.96-10 6.96ZM4.1 12c.76 1.197 4.07 4.96 7.9 4.96s7.14-3.767 7.9-4.96c-.76-1.197-4.07-4.96-7.9-4.96S4.86 10.807 4.1 12Z"/>
42
+ <path d="M12 16.107A4.11 4.11 0 0 1 7.893 12 4.11 4.11 0 0 1 12 7.893 4.11 4.11 0 0 1 16.107 12 4.11 4.11 0 0 1 12 16.107Zm0-6.21a2.107 2.107 0 1 0 0 4.213 2.107 2.107 0 0 0 0-4.213Z"/>
43
+ </svg>
44
+ `,
45
+ "eye-crossed-out": `
46
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
47
+ <path d="M12 16.107A4.11 4.11 0 0 1 7.893 12 4.11 4.11 0 0 1 12 7.893 4.11 4.11 0 0 1 16.107 12 4.11 4.11 0 0 1 12 16.107Zm0-6.21a2.107 2.107 0 1 0 0 4.213 2.107 2.107 0 0 0 0-4.213Z"/>
48
+ <path d="M12 18.96c-5.263 0-10-5.68-10-6.96 0-1.28 4.737-6.96 10-6.96S22 10.72 22 12c0 1.28-4.737 6.96-10 6.96ZM4.1 12c.76 1.197 4.07 4.96 7.9 4.96s7.14-3.767 7.9-4.96c-.76-1.197-4.07-4.96-7.9-4.96S4.86 10.807 4.1 12Z"/>
49
+ <path d="M3 22a1 1 0 0 1-.707-1.707l18-18a1 1 0 0 1 1.414 1.414l-18 18A.991.991 0 0 1 3 22Z"/>
50
+ </svg>
51
+ `,
52
+ "info-circle": `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/><path d="M13.333 7.833a1.5 1.5 0 1 1-3.001-.001 1.5 1.5 0 0 1 3.001.001ZM13 11.667a1 1 0 0 0-1-1h-1a1 1 0 0 0 0 2v2.667h2v-3.667Z"/><path d="M11 16.333v-1h-1a1 1 0 0 0 0 2h2a1 1 0 0 1-1-1Zm3-1h-1v1a1 1 0 0 1-1 1h2a1 1 0 0 0 0-2Z"/><path d="M13 16.333v-1h-2v1a1 1 0 0 0 2 0Z"/></svg>`,
17
53
  "status-hook": `
18
54
  <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none">
19
55
  <path fill="currentColor" d="m9.947 1.138-.005.008-.001.003-5.56 8.34-2.434-2.447-.004-.004a.648.648 0 0 0-1.093.475c0 .172.066.328.175.444l.003.004 3 2.999c.117.117.28.19.46.19h.065c.2-.021.37-.13.475-.286l.005-.008.001-.002 5.994-8.992a.65.65 0 0 0-.18-.902l-.007-.005-.002-.002a.65.65 0 0 0-.892.185Z"/>
@@ -24,14 +60,21 @@ const icons = {
24
60
  <path d="M10 5.375H2C1.65496 5.375 1.375 5.65496 1.375 6C1.375 6.34504 1.65496 6.625 2 6.625H10C10.345 6.625 10.625 6.34504 10.625 6C10.625 5.65496 10.345 5.375 10 5.375Z" fill="currentColor"/>
25
61
  </svg>
26
62
  `,
27
- start: `
28
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
29
- <path d="m57.44 29.76-37.333-24A2.667 2.667 0 0 0 16 8v48a2.668 2.668 0 0 0 2.667 2.666 2.672 2.672 0 0 0 1.45-.431l-.01.005 37.333-24a2.67 2.67 0 0 0 1.192-2.221c0-.923-.47-1.74-1.184-2.216l-.01-.006.002-.037ZM21.333 51.112V12.89l29.734 19.112-29.734 19.11Z"/>
30
- </svg>`,
31
63
  pause: `
32
64
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
33
65
  <path d="M9 22a.99997.99997 0 0 0 1-1V3a1.00003 1.00003 0 0 0-1-1H5a1.00003 1.00003 0 0 0-1 1v18a.99997.99997 0 0 0 1 1h4ZM6 4h2v16H6V4ZM19 22c.2652 0 .5196-.1054.7071-.2929A1.0001 1.0001 0 0 0 20 21V3a.99997.99997 0 0 0-1-1h-4a.99997.99997 0 0 0-1 1v18c0 .2652.1054.5196.2929.7071S14.7348 22 15 22h4ZM16 4h2v16h-2V4Z"/>
34
66
  </svg>
67
+ `,
68
+ risk: `
69
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
70
+ <path d="M12.893 2.553a1.002 1.002 0 0 0-1.784-.006L2.106 20.553A1 1 0 0 0 3 22h18a1 1 0 0 0 .891-1.452l.003.006-9.001-18.001ZM4.617 20 12 5.237 19.383 20H4.617Z"/>
71
+ <path d="M11 10.667V15a1 1 0 0 0 2 0v-4.333a1 1 0 0 0-2 0ZM13 18a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"/>
72
+ </svg>
73
+ `,
74
+ start: `
75
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
76
+ <path d="m57.44 29.76-37.333-24A2.667 2.667 0 0 0 16 8v48a2.668 2.668 0 0 0 2.667 2.666 2.672 2.672 0 0 0 1.45-.431l-.01.005 37.333-24a2.67 2.67 0 0 0 1.192-2.221c0-.923-.47-1.74-1.184-2.216l-.01-.006.002-.037ZM21.333 51.112V12.89l29.734 19.112-29.734 19.11Z"/>
77
+ </svg>
35
78
  `
36
79
  };
37
80
  const systemLibrary = {
@@ -11,6 +11,6 @@ export default class SdInclude extends SolidElement {
11
11
  }
12
12
  declare global {
13
13
  interface HTMLElementTagNameMap {
14
- 'sd-1-22-0-include': SdInclude;
14
+ 'sd-1-24-0-include': SdInclude;
15
15
  }
16
16
  }
@@ -66,7 +66,7 @@ __decorateClass([
66
66
  watch("src")
67
67
  ], SdInclude.prototype, "handleSrcChange", 1);
68
68
  SdInclude = __decorateClass([
69
- customElement("sd-1-22-0-include")
69
+ customElement("sd-1-24-0-include")
70
70
  ], SdInclude);
71
71
  export {
72
72
  SdInclude as default