@dogsbay/ui 0.2.0-beta.13 → 0.2.0-beta.131

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 (37) hide show
  1. package/package.json +37 -12
  2. package/src/alert/CollapsibleAlert.astro +33 -7
  3. package/src/alert/icon.ts +8 -15
  4. package/src/api-layout/ApiLayout.astro +28 -4
  5. package/src/api-layout/ExampleBlock.astro +3 -2
  6. package/src/api-symbol/api-symbol.css +14 -11
  7. package/src/avatar/Avatar.astro +6 -2
  8. package/src/badge/Badge.astro +3 -10
  9. package/src/badge/variants.ts +39 -0
  10. package/src/code-block/CodeBlock.astro +38 -8
  11. package/src/code-rich/CodeRich.astro +149 -15
  12. package/src/code-rich/code-rich.css +54 -2
  13. package/src/code-rich/markers.ts +66 -0
  14. package/src/content-renderer/ContentRenderer.astro +47 -6
  15. package/src/content-renderer/InlineRenderer.astro +24 -1
  16. package/src/details-sheet/DetailsSheet.astro +28 -0
  17. package/src/details-sheet/index.ts +1 -0
  18. package/src/docs-layout/DocsLayout.astro +36 -4
  19. package/src/endpoint-card/EndpointCard.astro +59 -1
  20. package/src/files/FileTree.astro +16 -0
  21. package/src/files/index.ts +2 -0
  22. package/src/files/markup.ts +34 -0
  23. package/src/image/Image.astro +23 -2
  24. package/src/kbd/Kbd.astro +2 -3
  25. package/src/kbd/variants.ts +3 -0
  26. package/src/link-card/LinkCard.astro +10 -3
  27. package/src/property-list/PropertyList.astro +3 -2
  28. package/src/sidebar/SidebarNavMark.astro +85 -0
  29. package/src/sidebar/SidebarNavTree.astro +111 -7
  30. package/src/sidebar/sidebar.ts +2 -2
  31. package/src/steps/Steps.astro +5 -0
  32. package/src/steps/SubSteps.astro +5 -0
  33. package/src/table/Table.astro +16 -2
  34. package/src/table/TableCell.astro +1 -1
  35. package/src/table/TableHead.astro +1 -1
  36. package/src/toc/TableOfContents.astro +10 -10
  37. package/src/youtube/YouTube.astro +2 -2
@@ -55,10 +55,10 @@ const embedUrl = `https://${domain}/embed/${id}?autoplay=1${params ? "&" + param
55
55
  tabindex="0"
56
56
  aria-label={`Play: ${title}`}
57
57
  >
58
- {/* Thumbnail */}
58
+ {/* Thumbnail: decorative, the button's label already says "Play: <title>" (axe image-redundant-alt) */}
59
59
  <img
60
60
  src={posterUrl}
61
- alt={title}
61
+ alt=""
62
62
  loading="lazy"
63
63
  class="absolute inset-0 h-full w-full object-cover transition-opacity duration-300 group-hover/yt:opacity-80"
64
64
  />