@marioschmidt/design-system-components 1.3.1 → 1.3.3

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 (188) hide show
  1. package/dist/bds/bds.esm.js +1 -1
  2. package/dist/bds/{p-DUrpTa_b.js → p-B4AUg0uO.js} +2 -2
  3. package/dist/bds/p-a851ab89.entry.js +1 -0
  4. package/dist/cjs/bds.cjs.js +2 -2
  5. package/dist/cjs/ds-button_3.cjs.entry.js +28 -140
  6. package/dist/cjs/{index-yDPq0GyD.js → index-Bb064vv6.js} +3 -56
  7. package/dist/cjs/loader.cjs.js +2 -2
  8. package/dist/collection/ds-button/ds-button.css +2 -6
  9. package/dist/collection/ds-button/ds-button.js +50 -14
  10. package/dist/collection/ds-card/ds-card.js +2 -2
  11. package/dist/collection/ds-icon/ds-icon.css +3 -58
  12. package/dist/collection/ds-icon/ds-icon.js +20 -231
  13. package/dist/collection/icons.js +205 -0
  14. package/dist/components/ds-button.d.ts +1 -1
  15. package/dist/components/ds-button.js +1 -1
  16. package/dist/components/ds-card.d.ts +1 -1
  17. package/dist/components/ds-card.js +1 -1
  18. package/dist/components/ds-icon.d.ts +1 -1
  19. package/dist/components/ds-icon.js +1 -1
  20. package/dist/components/index.js +1 -1
  21. package/dist/components/p-o-zDLqwP.js +1 -0
  22. package/dist/docs/ds-button/readme.md +19 -4
  23. package/dist/docs/ds-icon/readme.md +17 -8
  24. package/dist/esm/bds.js +3 -3
  25. package/dist/esm/ds-button_3.entry.js +28 -140
  26. package/dist/esm/{index-DUrpTa_b.js → index-B4AUg0uO.js} +4 -56
  27. package/dist/esm/loader.js +3 -3
  28. package/dist/types/components.d.ts +24 -46
  29. package/dist/types/ds-button/ds-button.d.ts +9 -10
  30. package/dist/types/ds-icon/ds-icon.d.ts +2 -45
  31. package/dist/types/icons.d.ts +6 -0
  32. package/dist/www/build/bds.esm.js +1 -1
  33. package/dist/www/build/{p-DUrpTa_b.js → p-B4AUg0uO.js} +2 -2
  34. package/dist/www/build/p-a851ab89.entry.js +1 -0
  35. package/dist/www/css/advertorial/components/_dsysdocs.css +1 -1
  36. package/dist/www/css/advertorial/components/article.css +1 -1
  37. package/dist/www/css/advertorial/components/audioplayer.css +1 -1
  38. package/dist/www/css/advertorial/components/avatar.css +1 -1
  39. package/dist/www/css/advertorial/components/badge.css +1 -1
  40. package/dist/www/css/advertorial/components/breadcrumb.css +1 -1
  41. package/dist/www/css/advertorial/components/breakingnews.css +1 -1
  42. package/dist/www/css/advertorial/components/button.css +1 -1
  43. package/dist/www/css/advertorial/components/card.css +1 -1
  44. package/dist/www/css/advertorial/components/carousel.css +1 -1
  45. package/dist/www/css/advertorial/components/chip.css +1 -1
  46. package/dist/www/css/advertorial/components/datepicker.css +1 -1
  47. package/dist/www/css/advertorial/components/drawers.css +1 -1
  48. package/dist/www/css/advertorial/components/dropdown.css +1 -1
  49. package/dist/www/css/advertorial/components/footer.css +1 -1
  50. package/dist/www/css/advertorial/components/icon.css +1 -1
  51. package/dist/www/css/advertorial/components/iconbutton.css +1 -1
  52. package/dist/www/css/advertorial/components/infoelement.css +1 -1
  53. package/dist/www/css/advertorial/components/inputfield.css +1 -1
  54. package/dist/www/css/advertorial/components/liveticker.css +1 -1
  55. package/dist/www/css/advertorial/components/mediaplayer.css +1 -1
  56. package/dist/www/css/advertorial/components/menu.css +1 -1
  57. package/dist/www/css/advertorial/components/newsticker.css +1 -1
  58. package/dist/www/css/advertorial/components/pagination.css +1 -1
  59. package/dist/www/css/advertorial/components/paywall.css +1 -1
  60. package/dist/www/css/advertorial/components/quote.css +1 -1
  61. package/dist/www/css/advertorial/components/radiobutton.css +1 -1
  62. package/dist/www/css/advertorial/components/search.css +1 -1
  63. package/dist/www/css/advertorial/components/sectiontitle.css +1 -1
  64. package/dist/www/css/advertorial/components/separator.css +1 -1
  65. package/dist/www/css/advertorial/components/skeletons.css +1 -1
  66. package/dist/www/css/advertorial/components/slider.css +1 -1
  67. package/dist/www/css/advertorial/components/specialnavi.css +1 -1
  68. package/dist/www/css/advertorial/components/spinner.css +1 -1
  69. package/dist/www/css/advertorial/components/tab.css +1 -1
  70. package/dist/www/css/advertorial/components/table.css +1 -1
  71. package/dist/www/css/advertorial/components/teaser.css +1 -1
  72. package/dist/www/css/advertorial/components/toggleswitch.css +1 -1
  73. package/dist/www/css/advertorial/components/video.css +1 -1
  74. package/dist/www/css/advertorial/theme.css +1 -1
  75. package/dist/www/css/advertorial/tokens.css +1 -1
  76. package/dist/www/css/bild/components/_dsysdoc.css +1 -1
  77. package/dist/www/css/bild/components/_dsysdocs.css +1 -1
  78. package/dist/www/css/bild/components/alert.css +1 -1
  79. package/dist/www/css/bild/components/article.css +1 -1
  80. package/dist/www/css/bild/components/audioplayer.css +1 -1
  81. package/dist/www/css/bild/components/avatar.css +1 -1
  82. package/dist/www/css/bild/components/badge.css +1 -1
  83. package/dist/www/css/bild/components/breadcrumb.css +1 -1
  84. package/dist/www/css/bild/components/breakingnews.css +1 -1
  85. package/dist/www/css/bild/components/button.css +1 -1
  86. package/dist/www/css/bild/components/card.css +1 -1
  87. package/dist/www/css/bild/components/carousel.css +1 -1
  88. package/dist/www/css/bild/components/chip.css +1 -1
  89. package/dist/www/css/bild/components/datepicker.css +1 -1
  90. package/dist/www/css/bild/components/drawers.css +1 -1
  91. package/dist/www/css/bild/components/dropdown.css +1 -1
  92. package/dist/www/css/bild/components/empties.css +1 -1
  93. package/dist/www/css/bild/components/footer.css +1 -1
  94. package/dist/www/css/bild/components/gallery.css +1 -1
  95. package/dist/www/css/bild/components/icon.css +1 -1
  96. package/dist/www/css/bild/components/iconbutton.css +1 -1
  97. package/dist/www/css/bild/components/infoelement.css +1 -1
  98. package/dist/www/css/bild/components/inputfield.css +1 -1
  99. package/dist/www/css/bild/components/kicker.css +1 -1
  100. package/dist/www/css/bild/components/liveticker.css +1 -1
  101. package/dist/www/css/bild/components/mediaplayer.css +1 -1
  102. package/dist/www/css/bild/components/menu.css +1 -1
  103. package/dist/www/css/bild/components/menuitem.css +1 -1
  104. package/dist/www/css/bild/components/newsticker.css +1 -1
  105. package/dist/www/css/bild/components/pagination.css +1 -1
  106. package/dist/www/css/bild/components/partnerlinks.css +1 -1
  107. package/dist/www/css/bild/components/paywall.css +1 -1
  108. package/dist/www/css/bild/components/quote.css +1 -1
  109. package/dist/www/css/bild/components/radiobutton.css +1 -1
  110. package/dist/www/css/bild/components/search.css +1 -1
  111. package/dist/www/css/bild/components/sectiontitle.css +1 -1
  112. package/dist/www/css/bild/components/selection.css +1 -1
  113. package/dist/www/css/bild/components/separator.css +1 -1
  114. package/dist/www/css/bild/components/skeletons.css +1 -1
  115. package/dist/www/css/bild/components/slider.css +1 -1
  116. package/dist/www/css/bild/components/specialnavi.css +1 -1
  117. package/dist/www/css/bild/components/spinner.css +1 -1
  118. package/dist/www/css/bild/components/subheader.css +1 -1
  119. package/dist/www/css/bild/components/tab.css +1 -1
  120. package/dist/www/css/bild/components/table.css +1 -1
  121. package/dist/www/css/bild/components/teaser.css +1 -1
  122. package/dist/www/css/bild/components/toggleswitch.css +1 -1
  123. package/dist/www/css/bild/components/video.css +1 -1
  124. package/dist/www/css/bild/theme.css +1 -1
  125. package/dist/www/css/bild/tokens.css +1 -1
  126. package/dist/www/css/bundles/advertorial.css +1 -1
  127. package/dist/www/css/bundles/bild.css +1 -1
  128. package/dist/www/css/bundles/sportbild.css +1 -1
  129. package/dist/www/css/shared/colorprimitive.css +1 -1
  130. package/dist/www/css/shared/fontprimitive.css +1 -1
  131. package/dist/www/css/shared/primitives.css +1 -1
  132. package/dist/www/css/shared/sizeprimitive.css +1 -1
  133. package/dist/www/css/shared/spaceprimitive.css +1 -1
  134. package/dist/www/css/sportbild/components/_dsysdoc.css +1 -1
  135. package/dist/www/css/sportbild/components/_dsysdocs.css +1 -1
  136. package/dist/www/css/sportbild/components/alert.css +1 -1
  137. package/dist/www/css/sportbild/components/article.css +1 -1
  138. package/dist/www/css/sportbild/components/audioplayer.css +1 -1
  139. package/dist/www/css/sportbild/components/avatar.css +1 -1
  140. package/dist/www/css/sportbild/components/badge.css +1 -1
  141. package/dist/www/css/sportbild/components/breadcrumb.css +1 -1
  142. package/dist/www/css/sportbild/components/breakingnews.css +1 -1
  143. package/dist/www/css/sportbild/components/button.css +1 -1
  144. package/dist/www/css/sportbild/components/card.css +1 -1
  145. package/dist/www/css/sportbild/components/carousel.css +1 -1
  146. package/dist/www/css/sportbild/components/chip.css +1 -1
  147. package/dist/www/css/sportbild/components/datepicker.css +1 -1
  148. package/dist/www/css/sportbild/components/drawers.css +1 -1
  149. package/dist/www/css/sportbild/components/dropdown.css +1 -1
  150. package/dist/www/css/sportbild/components/empties.css +1 -1
  151. package/dist/www/css/sportbild/components/footer.css +1 -1
  152. package/dist/www/css/sportbild/components/gallery.css +1 -1
  153. package/dist/www/css/sportbild/components/icon.css +1 -1
  154. package/dist/www/css/sportbild/components/iconbutton.css +1 -1
  155. package/dist/www/css/sportbild/components/infoelement.css +1 -1
  156. package/dist/www/css/sportbild/components/inputfield.css +1 -1
  157. package/dist/www/css/sportbild/components/kicker.css +1 -1
  158. package/dist/www/css/sportbild/components/liveticker.css +1 -1
  159. package/dist/www/css/sportbild/components/mediaplayer.css +1 -1
  160. package/dist/www/css/sportbild/components/menu.css +1 -1
  161. package/dist/www/css/sportbild/components/menuitem.css +1 -1
  162. package/dist/www/css/sportbild/components/newsticker.css +1 -1
  163. package/dist/www/css/sportbild/components/pagination.css +1 -1
  164. package/dist/www/css/sportbild/components/partnerlinks.css +1 -1
  165. package/dist/www/css/sportbild/components/paywall.css +1 -1
  166. package/dist/www/css/sportbild/components/quote.css +1 -1
  167. package/dist/www/css/sportbild/components/radiobutton.css +1 -1
  168. package/dist/www/css/sportbild/components/search.css +1 -1
  169. package/dist/www/css/sportbild/components/sectiontitle.css +1 -1
  170. package/dist/www/css/sportbild/components/selection.css +1 -1
  171. package/dist/www/css/sportbild/components/separator.css +1 -1
  172. package/dist/www/css/sportbild/components/skeletons.css +1 -1
  173. package/dist/www/css/sportbild/components/slider.css +1 -1
  174. package/dist/www/css/sportbild/components/specialnavi.css +1 -1
  175. package/dist/www/css/sportbild/components/spinner.css +1 -1
  176. package/dist/www/css/sportbild/components/subheader.css +1 -1
  177. package/dist/www/css/sportbild/components/tab.css +1 -1
  178. package/dist/www/css/sportbild/components/table.css +1 -1
  179. package/dist/www/css/sportbild/components/teaser.css +1 -1
  180. package/dist/www/css/sportbild/components/toggleswitch.css +1 -1
  181. package/dist/www/css/sportbild/components/video.css +1 -1
  182. package/dist/www/css/sportbild/theme.css +1 -1
  183. package/dist/www/css/sportbild/tokens.css +1 -1
  184. package/dist/www/icons/manifest.json +2 -2
  185. package/dist/www/index.html +2 -2
  186. package/package.json +1 -1
  187. package/dist/bds/p-f4e1fe1f.entry.js +0 -1
  188. package/dist/www/build/p-f4e1fe1f.entry.js +0 -1
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: MediaPlayer Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: Menu Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: MenuItem Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: NewsTicker Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: Pagination Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: PartnerLinks Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: Paywall Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: Quote Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: RadioButton Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: Search Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: SectionTitle Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: Selection Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: Separator Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: Skeletons Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: Slider Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: SpecialNavi Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: Spinner Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: Subheader Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: Tab Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: Table Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: Teaser Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: ToggleSwitch Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: Video Component Tokens
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: Theme (Color tokens + Effects for light/dark mode)
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  *
4
- * BILD Design System Tokens v1.3.1
4
+ * BILD Design System Tokens v1.3.3
5
5
  * Generated by Style Dictionary v4.2.0
6
6
  *
7
7
  * Brand: Sportbild | Bundle: Tokens (Responsive breakpoints + Typography + Density)
@@ -1,6 +1,6 @@
1
1
  {
2
- "generatedAt": "2026-01-08T15:52:26.814Z",
3
- "buildDuration": "4.72s",
2
+ "generatedAt": "2026-01-08T16:20:36.186Z",
3
+ "buildDuration": "4.48s",
4
4
  "inputDirectory": "/home/runner/work/vv-token-test-v3/vv-token-test-v3/packages/icons/src",
5
5
  "outputDirectories": {
6
6
  "svg": "/home/runner/work/vv-token-test-v3/vv-token-test-v3/packages/icons/svg/dist",
@@ -1,4 +1,4 @@
1
- <!doctype html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>BILD Design System - Stencil Components</title> <!-- Design Token CSS Bundles (all brands for switching) --> <link rel="stylesheet" href="/css/bundles/bild.css"> <link rel="stylesheet" href="/css/bundles/sportbild.css"> <link rel="stylesheet" href="/css/bundles/advertorial.css"> <!-- Stencil Components --> <link rel="modulepreload" href="/build/p-DUrpTa_b.js"><script type="module" data-stencil data-resources-url="/build/" data-stencil-namespace="bds">import{p as a,g as e,b as t}from"/build/p-DUrpTa_b.js";export{s as setNonce}from"/build/p-DUrpTa_b.js";(()=>{const e=import.meta.url,s={};return""!==e&&(s.resourcesUrl=new URL(".",e).href),a(s)})().then((async a=>(await e(),t([["p-f4e1fe1f",[[257,"ds-button",{variant:[1],disabled:[4]}],[257,"ds-card",{surface:[1],cardTitle:[1,"card-title"]}],[1,"ds-icon",{name:[1],size:[2],color:[1],basePath:[1,"base-path"],lazy:[4],label:[1],svgContent:[32],isLoading:[32],hasError:[32]},null,{name:[{onNameChange:0}],basePath:[{onBasePathChange:0}]}]]]],a))));
1
+ <!doctype html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>BILD Design System - Stencil Components</title> <!-- Design Token CSS Bundles (all brands for switching) --> <link rel="stylesheet" href="/css/bundles/bild.css"> <link rel="stylesheet" href="/css/bundles/sportbild.css"> <link rel="stylesheet" href="/css/bundles/advertorial.css"> <!-- Stencil Components --> <link rel="modulepreload" href="/build/p-B4AUg0uO.js"><script type="module" data-stencil data-resources-url="/build/" data-stencil-namespace="bds">import{p as a,g as n,b as t}from"/build/p-B4AUg0uO.js";export{s as setNonce}from"/build/p-B4AUg0uO.js";(()=>{const n=import.meta.url,s={};return""!==n&&(s.resourcesUrl=new URL(".",n).href),a(s)})().then((async a=>(await n(),t([["p-a851ab89",[[257,"ds-button",{variant:[1],disabled:[4],icon:[1],iconPosition:[1,"icon-position"]}],[257,"ds-card",{surface:[1],cardTitle:[1,"card-title"]}],[1,"ds-icon",{name:[1],basePath:[1,"base-path"],svgContent:[32]},null,{name:[{onNameChange:0}]}]]]],a))));
2
2
  </script> <script nomodule="" src="/build/bds.js" data-stencil></script> <style>* {
3
3
  box-sizing: border-box;
4
4
  }
@@ -49,7 +49,7 @@
49
49
  display: grid;
50
50
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
51
51
  gap: 24px;
52
- }</style> </head> <body data-color-brand="bild" data-content-brand="bild" data-theme="light" data-density="default"> <div class="brand-switcher"> <label>Color Brand:</label> <select id="colorBrand" onchange="updateBrand()"> <option value="bild">BILD</option> <option value="sportbild">SportBILD</option> </select> <label style="margin-top: 12px;">Theme:</label> <select id="theme" onchange="updateBrand()"> <option value="light">Light</option> <option value="dark">Dark</option> </select> <label style="margin-top: 12px;">Content Brand:</label> <select id="contentBrand" onchange="updateBrand()"> <option value="bild">BILD</option> <option value="sportbild">SportBILD</option> <option value="advertorial">Advertorial</option> </select> <label style="margin-top: 12px;">Density:</label> <select id="density" onchange="updateBrand()"> <option value="default">Default</option> <option value="dense">Dense</option> <option value="spacious">Spacious</option> </select> </div> <h1>BILD Design System Components</h1> <p>Demo page for testing Stencil Web Components with design tokens.</p> <div class="section"> <h2>Buttons</h2> <h3>Primary Variants</h3> <div class="demo-row"> <ds-button variant="primary-brand">Primary Brand</ds-button> <ds-button variant="primary-neutral">Primary Neutral</ds-button> <ds-button variant="primary-success">Primary Success</ds-button> </div> <h3>Secondary &amp; Tertiary</h3> <div class="demo-row"> <ds-button variant="secondary">Secondary</ds-button> <ds-button variant="tertiary-neutral">Tertiary Neutral</ds-button> <ds-button variant="tertiary-success">Tertiary Success</ds-button> <ds-button variant="ghost">Ghost</ds-button> </div> <h3>Buttons with Icons</h3> <div class="demo-row"> <ds-button variant="primary-brand"> <ds-icon slot="icon-start" name="add"></ds-icon> Add Item </ds-button> <ds-button variant="primary-neutral"> <ds-icon slot="icon-start" name="download"></ds-icon> Download </ds-button> <ds-button variant="secondary"> Next <ds-icon slot="icon-end" name="arrow-right"></ds-icon> </ds-button> <ds-button variant="tertiary-neutral"> <ds-icon slot="icon-start" name="edit"></ds-icon> Edit </ds-button> </div> <h3>Disabled</h3> <div class="demo-row"> <ds-button variant="primary-brand" disabled="">Disabled</ds-button> <ds-button variant="secondary" disabled="">Disabled</ds-button> </div> </div> <div class="section"> <h2>Icons</h2> <div class="demo-row"> <ds-icon name="add" size="24"></ds-icon> <ds-icon name="arrow-right" size="24"></ds-icon> <ds-icon name="checkmark" size="24"></ds-icon> <ds-icon name="close" size="24"></ds-icon> <ds-icon name="download" size="24"></ds-icon> <ds-icon name="edit" size="24"></ds-icon> <ds-icon name="heart" size="24"></ds-icon> <ds-icon name="home" size="24"></ds-icon> <ds-icon name="search" size="24"></ds-icon> <ds-icon name="settings" size="24"></ds-icon> <ds-icon name="star" size="24"></ds-icon> </div> <h3>Different Sizes</h3> <div class="demo-row"> <ds-icon name="star" size="16"></ds-icon> <ds-icon name="star" size="20"></ds-icon> <ds-icon name="star" size="24"></ds-icon> <ds-icon name="star" size="32"></ds-icon> <ds-icon name="star" size="48"></ds-icon> </div> <h3>Custom Colors</h3> <div class="demo-row"> <ds-icon name="heart" size="32" color="#DD0000"></ds-icon> <ds-icon name="star" size="32" color="#FFD700"></ds-icon> <ds-icon name="checkmark" size="32" color="#00A651"></ds-icon> </div> </div> <div class="section"> <h2>Cards</h2> <div class="card-grid"> <ds-card card-title="Primary Card"> <p style="margin: 0; color: var(--text-color-secondary, #6C757D);"> This is a card with the primary surface. It uses design tokens for styling. </p> <div style="margin-top: 16px;"> <ds-button variant="primary">Action</ds-button> </div> </ds-card> <ds-card card-title="Secondary Card" surface="secondary"> <p style="margin: 0; color: var(--text-color-secondary, #6C757D);"> This is a card with the secondary surface variant. </p> <div style="margin-top: 16px;"> <ds-button variant="secondary">Action</ds-button> </div> </ds-card> <ds-card> <p style="margin: 0; color: var(--text-color-primary, #232629);"> A card without a title, just content. </p> </ds-card> </div> </div> <script>
52
+ }</style> </head> <body data-color-brand="bild" data-content-brand="bild" data-theme="light" data-density="default"> <div class="brand-switcher"> <label>Color Brand:</label> <select id="colorBrand" onchange="updateBrand()"> <option value="bild">BILD</option> <option value="sportbild">SportBILD</option> </select> <label style="margin-top: 12px;">Theme:</label> <select id="theme" onchange="updateBrand()"> <option value="light">Light</option> <option value="dark">Dark</option> </select> <label style="margin-top: 12px;">Content Brand:</label> <select id="contentBrand" onchange="updateBrand()"> <option value="bild">BILD</option> <option value="sportbild">SportBILD</option> <option value="advertorial">Advertorial</option> </select> <label style="margin-top: 12px;">Density:</label> <select id="density" onchange="updateBrand()"> <option value="default">Default</option> <option value="dense">Dense</option> <option value="spacious">Spacious</option> </select> </div> <h1>BILD Design System Components</h1> <p>Demo page for testing Stencil Web Components with design tokens.</p> <div class="section"> <h2>Buttons</h2> <h3>Primary Variants</h3> <div class="demo-row"> <ds-button variant="primary-brand">Primary Brand</ds-button> <ds-button variant="primary-neutral">Primary Neutral</ds-button> <ds-button variant="primary-success">Primary Success</ds-button> </div> <h3>Secondary &amp; Tertiary</h3> <div class="demo-row"> <ds-button variant="secondary">Secondary</ds-button> <ds-button variant="tertiary-neutral">Tertiary Neutral</ds-button> <ds-button variant="tertiary-success">Tertiary Success</ds-button> <ds-button variant="ghost">Ghost</ds-button> </div> <h3>Buttons with Icons</h3> <div class="demo-row"> <ds-button variant="primary-brand" icon="add">Add Item</ds-button> <ds-button variant="primary-neutral" icon="download">Download</ds-button> <ds-button variant="secondary" icon="arrow-right" icon-position="end">Next</ds-button> <ds-button variant="tertiary-neutral" icon="edit">Edit</ds-button> </div> <h3>Disabled</h3> <div class="demo-row"> <ds-button variant="primary-brand" disabled="">Disabled</ds-button> <ds-button variant="secondary" disabled="">Disabled</ds-button> </div> </div> <div class="section"> <h2>Icons</h2> <div class="demo-row"> <ds-icon name="add"></ds-icon> <ds-icon name="arrow-right"></ds-icon> <ds-icon name="checkmark"></ds-icon> <ds-icon name="close"></ds-icon> <ds-icon name="download"></ds-icon> <ds-icon name="edit"></ds-icon> <ds-icon name="heart"></ds-icon> <ds-icon name="home"></ds-icon> <ds-icon name="search"></ds-icon> <ds-icon name="settings"></ds-icon> <ds-icon name="star"></ds-icon> </div> </div> <div class="section"> <h2>Cards</h2> <div class="card-grid"> <ds-card card-title="Primary Card"> <p style="margin: 0; color: var(--text-color-secondary, #6C757D);"> This is a card with the primary surface. It uses design tokens for styling. </p> <div style="margin-top: 16px;"> <ds-button variant="primary">Action</ds-button> </div> </ds-card> <ds-card card-title="Secondary Card" surface="secondary"> <p style="margin: 0; color: var(--text-color-secondary, #6C757D);"> This is a card with the secondary surface variant. </p> <div style="margin-top: 16px;"> <ds-button variant="secondary">Action</ds-button> </div> </ds-card> <ds-card> <p style="margin: 0; color: var(--text-color-primary, #232629);"> A card without a title, just content. </p> </ds-card> </div> </div> <script>
53
53
  function updateBrand() {
54
54
  const colorBrand = document.getElementById('colorBrand').value;
55
55
  const contentBrand = document.getElementById('contentBrand').value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marioschmidt/design-system-components",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "description": "BILD Design System Web Components - Stencil-based component library",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1 +0,0 @@
1
- import{r,h as o,a as t}from"./p-DUrpTa_b.js";const a=class{constructor(o){r(this,o),this.variant="primary-brand",this.disabled=!1}render(){return o("button",{key:"b2c29af56fa84e6274900496d1a57bf7be6070e0",class:{"ds-button":!0,[`ds-button--${this.variant}`]:!0,"ds-button--disabled":this.disabled},disabled:this.disabled},o("slot",{key:"c87fb66dffa329b2911752390d69d808aea83ead",name:"icon-start"}),o("span",{key:"3049998d0fca7eef41dc5bbc51ab14d396855840",class:"ds-button__label"},o("slot",{key:"540e93a8de6f0be305963e7b05b90dcbacda6f37"})),o("slot",{key:"f48be5683052a40bb97436f20b219a42fb09319a",name:"icon-end"}))}};a.style=":host{display:inline-block}.ds-button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border:none;background:transparent;transition:background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;padding:var(--button-stack-space) var(--button-inline-space);min-height:var(--button-height-size);gap:var(--button-content-gap-space);border-radius:var(--button-border-radius);font-family:var(--button-label-font-family);font-weight:var(--font-weight-bold);font-size:var(--button-label-font-size);line-height:var(--button-label-line-height);letter-spacing:var(--letter-space-0-p-5);text-transform:uppercase}.ds-button__label{display:inline-flex;align-items:center;gap:inherit}::slotted(ds-icon){--icon-size:var(--icon-size, 24px);color:inherit;flex-shrink:0}.ds-button--primary-brand{background-color:var(--button-primary-brand-bg-color-idle);color:var(--button-primary-brand-label-color)}.ds-button--primary-brand:hover:not(:disabled){background-color:var(--button-primary-brand-bg-color-hover)}.ds-button--primary-brand:active:not(:disabled){background-color:var(--button-primary-brand-bg-color-active)}.ds-button--primary-neutral{background-color:var(--button-primary-neutral-bg-color-idle);color:var(--button-primary-neutral-label-color)}.ds-button--primary-neutral:hover:not(:disabled){background-color:var(--button-primary-neutral-bg-color-hover)}.ds-button--primary-neutral:active:not(:disabled){background-color:var(--button-primary-neutral-bg-color-active)}.ds-button--primary-success{background-color:var(--button-primary-success-bg-color-idle);color:var(--button-primary-success-label-color)}.ds-button--primary-success:hover:not(:disabled){background-color:var(--button-primary-success-bg-color-hover)}.ds-button--primary-success:active:not(:disabled){background-color:var(--button-primary-success-bg-color-active)}.ds-button--secondary{background-color:var(--button-secondary-bg-color-idle);color:var(--button-secondary-label-color)}.ds-button--secondary:hover:not(:disabled){background-color:var(--button-secondary-bg-color-hover)}.ds-button--secondary:active:not(:disabled){background-color:var(--button-secondary-bg-color-active)}.ds-button--tertiary-neutral{background-color:transparent;color:var(--button-tertiary-neutral-label-color);border:var(--button-border-width-size) solid var(--button-tertiary-neutral-border-color-idle)}.ds-button--tertiary-neutral:hover:not(:disabled){background-color:var(--button-tertiary-neutral-bg-color-hover);border-color:var(--button-tertiary-neutral-border-color-hover)}.ds-button--tertiary-neutral:active:not(:disabled){background-color:var(--button-tertiary-neutral-bg-color-active)}.ds-button--tertiary-success{background-color:transparent;color:var(--button-tertiary-success-label-color);border:var(--button-border-width-size) solid var(--button-tertiary-success-border-color)}.ds-button--tertiary-success:hover:not(:disabled){background-color:var(--button-tertiary-success-bg-color-hover)}.ds-button--ghost{background-color:transparent;color:var(--button-ghost-label-color)}.ds-button--ghost:hover:not(:disabled){background-color:var(--button-ghost-bg-color-hover)}.ds-button--ghost:active:not(:disabled){background-color:var(--button-ghost-bg-color-active)}.ds-button--disabled,.ds-button:disabled{cursor:not-allowed;background-color:var(--button-disabled-bg-color);color:var(--button-disabled-label-color);border-color:var(--button-disabled-border-color)}.ds-button--disabled:hover,.ds-button--disabled:active,.ds-button:disabled:hover,.ds-button:disabled:active{background-color:var(--button-disabled-bg-color);color:var(--button-disabled-label-color);border-color:var(--button-disabled-border-color)}.ds-button:focus-visible{outline:2px solid var(--core-color-primary);outline-offset:2px}";const e=class{constructor(o){r(this,o),this.surface="primary"}render(){return o("div",{key:"0709463754ee76974475f214840ade290ee7aa83",class:{"ds-card":!0,[`ds-card--${this.surface}`]:!0}},this.cardTitle&&o("div",{key:"e161468e870e419852e6ef9f92ab9fc24ac60635",class:"ds-card__header"},o("h3",{key:"8cccde3f7e5ea185ef24d90312439d2e49621504",class:"ds-card__title"},this.cardTitle)),o("div",{key:"47457839b1fa00f261c1fbfb8842904fb9bf8245",class:"ds-card__content"},o("slot",{key:"009a1b1e7411daec2c67fd084d654de71875222e"})))}};e.style=":host{display:block}.ds-card{border-radius:var(--border-radius-lg, 8px);overflow:hidden;transition:box-shadow 0.2s ease}.ds-card--primary{background-color:var(--card-surface-bg-color, var(--surface-color-primary, #FFFFFF));box-shadow:var(--shadow-soft-md, 0 2px 8px rgba(0, 0, 0, 0.1))}.ds-card--secondary{background-color:var(--surface-color-secondary, #F8F9FA);box-shadow:var(--shadow-soft-sm, 0 1px 4px rgba(0, 0, 0, 0.08))}.ds-card__header{padding:var(--space-2-x, 16px) var(--space-2-x, 16px) 0}.ds-card__title{margin:0;font-family:var(--font-family-gotham-narrow, sans-serif);font-weight:var(--font-weight-bold, 700);font-size:var(--headline-3-font-size, 20px);line-height:var(--headline-3-line-height, 24px);color:var(--text-color-primary, #232629)}.ds-card__content{padding:var(--space-2-x, 16px)}.ds-card--primary:hover{box-shadow:var(--shadow-soft-lg, 0 4px 16px rgba(0, 0, 0, 0.12))}";const s=new Map,n=new Map,i=class{constructor(o){r(this,o),this.size=24,this.color="currentColor",this.basePath="/icons",this.lazy=!1,this.svgContent="",this.isLoading=!1,this.hasError=!1,this.isVisible=!1}connectedCallback(){this.lazy?this.setupIntersectionObserver():this.loadIcon()}disconnectedCallback(){this.observer?.disconnect()}onNameChange(){this.lazy&&!this.isVisible||this.loadIcon()}onBasePathChange(){this.lazy&&!this.isVisible||this.loadIcon()}setupIntersectionObserver(){"undefined"!=typeof IntersectionObserver?(this.observer=new IntersectionObserver((r=>{r.forEach((r=>{r.isIntersecting&&(this.isVisible=!0,this.loadIcon(),this.observer?.disconnect())}))}),{rootMargin:"50px"}),this.observer.observe(this.el)):this.loadIcon()}async loadIcon(){if(!this.name)return void(this.hasError=!0);const r=`${this.basePath}/${this.name}.svg`;if(s.has(r))return this.svgContent=s.get(r),void(this.hasError=!1);if(n.has(r)){try{this.svgContent=await n.get(r),this.hasError=!1}catch{this.hasError=!0}return}this.isLoading=!0,this.hasError=!1;const o=this.fetchIcon(r);n.set(r,o);try{this.svgContent=await o,s.set(r,this.svgContent),this.hasError=!1}catch{this.hasError=!0,this.svgContent=""}finally{this.isLoading=!1,n.delete(r)}}async fetchIcon(r){const o=await fetch(r);if(!o.ok)throw new Error(`Failed to load icon: ${r}`);const t=await o.text();if(!t.includes("<svg"))throw new Error(`Invalid SVG content: ${r}`);return t}render(){const r=!this.label;return o("span",{key:"f3c397e6532cf9022416cf53458dd6d0b128a3ed",class:{"ds-icon":!0,"ds-icon--loading":this.isLoading,"ds-icon--error":this.hasError},style:{"--icon-size":`${this.size}px`,"--icon-color":this.color},role:r?"presentation":"img","aria-hidden":r?"true":void 0,"aria-label":this.label},this.svgContent?o("span",{class:"ds-icon__svg",innerHTML:this.svgContent}):this.hasError?o("span",{class:"ds-icon__error",title:`Icon "${this.name}" not found`},o("svg",{viewBox:"0 0 24 24",fill:"currentColor"},o("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}))):null)}get el(){return t(this)}static get watchers(){return{name:[{onNameChange:0}],basePath:[{onBasePathChange:0}]}}};i.style=":host{display:inline-flex;align-items:center;justify-content:center}.ds-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--icon-size, 24px);height:var(--icon-size, 24px);color:var(--icon-color, currentColor);flex-shrink:0}.ds-icon__svg{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.ds-icon__svg svg{width:100%;height:100%;fill:currentColor}.ds-icon--loading{opacity:0.5}.ds-icon--error{opacity:0.3}.ds-icon__error{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.ds-icon__error svg{width:100%;height:100%;fill:currentColor}";export{a as ds_button,e as ds_card,i as ds_icon}
@@ -1 +0,0 @@
1
- import{r,h as o,a as t}from"./p-DUrpTa_b.js";const a=class{constructor(o){r(this,o),this.variant="primary-brand",this.disabled=!1}render(){return o("button",{key:"b2c29af56fa84e6274900496d1a57bf7be6070e0",class:{"ds-button":!0,[`ds-button--${this.variant}`]:!0,"ds-button--disabled":this.disabled},disabled:this.disabled},o("slot",{key:"c87fb66dffa329b2911752390d69d808aea83ead",name:"icon-start"}),o("span",{key:"3049998d0fca7eef41dc5bbc51ab14d396855840",class:"ds-button__label"},o("slot",{key:"540e93a8de6f0be305963e7b05b90dcbacda6f37"})),o("slot",{key:"f48be5683052a40bb97436f20b219a42fb09319a",name:"icon-end"}))}};a.style=":host{display:inline-block}.ds-button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border:none;background:transparent;transition:background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;padding:var(--button-stack-space) var(--button-inline-space);min-height:var(--button-height-size);gap:var(--button-content-gap-space);border-radius:var(--button-border-radius);font-family:var(--button-label-font-family);font-weight:var(--font-weight-bold);font-size:var(--button-label-font-size);line-height:var(--button-label-line-height);letter-spacing:var(--letter-space-0-p-5);text-transform:uppercase}.ds-button__label{display:inline-flex;align-items:center;gap:inherit}::slotted(ds-icon){--icon-size:var(--icon-size, 24px);color:inherit;flex-shrink:0}.ds-button--primary-brand{background-color:var(--button-primary-brand-bg-color-idle);color:var(--button-primary-brand-label-color)}.ds-button--primary-brand:hover:not(:disabled){background-color:var(--button-primary-brand-bg-color-hover)}.ds-button--primary-brand:active:not(:disabled){background-color:var(--button-primary-brand-bg-color-active)}.ds-button--primary-neutral{background-color:var(--button-primary-neutral-bg-color-idle);color:var(--button-primary-neutral-label-color)}.ds-button--primary-neutral:hover:not(:disabled){background-color:var(--button-primary-neutral-bg-color-hover)}.ds-button--primary-neutral:active:not(:disabled){background-color:var(--button-primary-neutral-bg-color-active)}.ds-button--primary-success{background-color:var(--button-primary-success-bg-color-idle);color:var(--button-primary-success-label-color)}.ds-button--primary-success:hover:not(:disabled){background-color:var(--button-primary-success-bg-color-hover)}.ds-button--primary-success:active:not(:disabled){background-color:var(--button-primary-success-bg-color-active)}.ds-button--secondary{background-color:var(--button-secondary-bg-color-idle);color:var(--button-secondary-label-color)}.ds-button--secondary:hover:not(:disabled){background-color:var(--button-secondary-bg-color-hover)}.ds-button--secondary:active:not(:disabled){background-color:var(--button-secondary-bg-color-active)}.ds-button--tertiary-neutral{background-color:transparent;color:var(--button-tertiary-neutral-label-color);border:var(--button-border-width-size) solid var(--button-tertiary-neutral-border-color-idle)}.ds-button--tertiary-neutral:hover:not(:disabled){background-color:var(--button-tertiary-neutral-bg-color-hover);border-color:var(--button-tertiary-neutral-border-color-hover)}.ds-button--tertiary-neutral:active:not(:disabled){background-color:var(--button-tertiary-neutral-bg-color-active)}.ds-button--tertiary-success{background-color:transparent;color:var(--button-tertiary-success-label-color);border:var(--button-border-width-size) solid var(--button-tertiary-success-border-color)}.ds-button--tertiary-success:hover:not(:disabled){background-color:var(--button-tertiary-success-bg-color-hover)}.ds-button--ghost{background-color:transparent;color:var(--button-ghost-label-color)}.ds-button--ghost:hover:not(:disabled){background-color:var(--button-ghost-bg-color-hover)}.ds-button--ghost:active:not(:disabled){background-color:var(--button-ghost-bg-color-active)}.ds-button--disabled,.ds-button:disabled{cursor:not-allowed;background-color:var(--button-disabled-bg-color);color:var(--button-disabled-label-color);border-color:var(--button-disabled-border-color)}.ds-button--disabled:hover,.ds-button--disabled:active,.ds-button:disabled:hover,.ds-button:disabled:active{background-color:var(--button-disabled-bg-color);color:var(--button-disabled-label-color);border-color:var(--button-disabled-border-color)}.ds-button:focus-visible{outline:2px solid var(--core-color-primary);outline-offset:2px}";const e=class{constructor(o){r(this,o),this.surface="primary"}render(){return o("div",{key:"0709463754ee76974475f214840ade290ee7aa83",class:{"ds-card":!0,[`ds-card--${this.surface}`]:!0}},this.cardTitle&&o("div",{key:"e161468e870e419852e6ef9f92ab9fc24ac60635",class:"ds-card__header"},o("h3",{key:"8cccde3f7e5ea185ef24d90312439d2e49621504",class:"ds-card__title"},this.cardTitle)),o("div",{key:"47457839b1fa00f261c1fbfb8842904fb9bf8245",class:"ds-card__content"},o("slot",{key:"009a1b1e7411daec2c67fd084d654de71875222e"})))}};e.style=":host{display:block}.ds-card{border-radius:var(--border-radius-lg, 8px);overflow:hidden;transition:box-shadow 0.2s ease}.ds-card--primary{background-color:var(--card-surface-bg-color, var(--surface-color-primary, #FFFFFF));box-shadow:var(--shadow-soft-md, 0 2px 8px rgba(0, 0, 0, 0.1))}.ds-card--secondary{background-color:var(--surface-color-secondary, #F8F9FA);box-shadow:var(--shadow-soft-sm, 0 1px 4px rgba(0, 0, 0, 0.08))}.ds-card__header{padding:var(--space-2-x, 16px) var(--space-2-x, 16px) 0}.ds-card__title{margin:0;font-family:var(--font-family-gotham-narrow, sans-serif);font-weight:var(--font-weight-bold, 700);font-size:var(--headline-3-font-size, 20px);line-height:var(--headline-3-line-height, 24px);color:var(--text-color-primary, #232629)}.ds-card__content{padding:var(--space-2-x, 16px)}.ds-card--primary:hover{box-shadow:var(--shadow-soft-lg, 0 4px 16px rgba(0, 0, 0, 0.12))}";const s=new Map,n=new Map,i=class{constructor(o){r(this,o),this.size=24,this.color="currentColor",this.basePath="/icons",this.lazy=!1,this.svgContent="",this.isLoading=!1,this.hasError=!1,this.isVisible=!1}connectedCallback(){this.lazy?this.setupIntersectionObserver():this.loadIcon()}disconnectedCallback(){this.observer?.disconnect()}onNameChange(){this.lazy&&!this.isVisible||this.loadIcon()}onBasePathChange(){this.lazy&&!this.isVisible||this.loadIcon()}setupIntersectionObserver(){"undefined"!=typeof IntersectionObserver?(this.observer=new IntersectionObserver((r=>{r.forEach((r=>{r.isIntersecting&&(this.isVisible=!0,this.loadIcon(),this.observer?.disconnect())}))}),{rootMargin:"50px"}),this.observer.observe(this.el)):this.loadIcon()}async loadIcon(){if(!this.name)return void(this.hasError=!0);const r=`${this.basePath}/${this.name}.svg`;if(s.has(r))return this.svgContent=s.get(r),void(this.hasError=!1);if(n.has(r)){try{this.svgContent=await n.get(r),this.hasError=!1}catch{this.hasError=!0}return}this.isLoading=!0,this.hasError=!1;const o=this.fetchIcon(r);n.set(r,o);try{this.svgContent=await o,s.set(r,this.svgContent),this.hasError=!1}catch{this.hasError=!0,this.svgContent=""}finally{this.isLoading=!1,n.delete(r)}}async fetchIcon(r){const o=await fetch(r);if(!o.ok)throw new Error(`Failed to load icon: ${r}`);const t=await o.text();if(!t.includes("<svg"))throw new Error(`Invalid SVG content: ${r}`);return t}render(){const r=!this.label;return o("span",{key:"f3c397e6532cf9022416cf53458dd6d0b128a3ed",class:{"ds-icon":!0,"ds-icon--loading":this.isLoading,"ds-icon--error":this.hasError},style:{"--icon-size":`${this.size}px`,"--icon-color":this.color},role:r?"presentation":"img","aria-hidden":r?"true":void 0,"aria-label":this.label},this.svgContent?o("span",{class:"ds-icon__svg",innerHTML:this.svgContent}):this.hasError?o("span",{class:"ds-icon__error",title:`Icon "${this.name}" not found`},o("svg",{viewBox:"0 0 24 24",fill:"currentColor"},o("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}))):null)}get el(){return t(this)}static get watchers(){return{name:[{onNameChange:0}],basePath:[{onBasePathChange:0}]}}};i.style=":host{display:inline-flex;align-items:center;justify-content:center}.ds-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--icon-size, 24px);height:var(--icon-size, 24px);color:var(--icon-color, currentColor);flex-shrink:0}.ds-icon__svg{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.ds-icon__svg svg{width:100%;height:100%;fill:currentColor}.ds-icon--loading{opacity:0.5}.ds-icon--error{opacity:0.3}.ds-icon__error{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.ds-icon__error svg{width:100%;height:100%;fill:currentColor}";export{a as ds_button,e as ds_card,i as ds_icon}