aural-ui 2.1.13 → 2.1.16

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 (291) hide show
  1. package/dist/components/aspect-ratio/AspectRatio.stories.tsx +1 -1
  2. package/dist/components/avatar/Avatar.stories.tsx +1 -1
  3. package/dist/components/badge/Badge.stories.tsx +1 -1
  4. package/dist/components/banner/Banner.stories.tsx +1 -1
  5. package/dist/components/breadcrumb/Breadcrumb.stories.tsx +1 -1
  6. package/dist/components/breadcrumb/index.tsx +3 -2
  7. package/dist/components/button/Button.stories.tsx +1 -1
  8. package/dist/components/card/Card.stories.tsx +1 -1
  9. package/dist/components/char-count/CharCount.stories.tsx +1 -1
  10. package/dist/components/checkbox/Checkbox.stories.tsx +1 -1
  11. package/dist/components/chip/Chip.stories.tsx +1 -1
  12. package/dist/components/chip/index.tsx +1 -2
  13. package/dist/components/circular-loader/CircularLoader.stories.tsx +1 -1
  14. package/dist/components/collapsible/Collapsible.stories.tsx +1 -1
  15. package/dist/components/command/Command.stories.tsx +1 -1
  16. package/dist/components/dialog/Dialog.stories.tsx +1 -1
  17. package/dist/components/dialog/index.tsx +2 -1
  18. package/dist/components/divider/Divider.stories.tsx +1 -1
  19. package/dist/components/divider/index.tsx +3 -2
  20. package/dist/components/dot-loader/DotLoader.stories.tsx +1 -1
  21. package/dist/components/drawer/Drawer.stories.tsx +1 -1
  22. package/dist/components/drawer/index.tsx +2 -1
  23. package/dist/components/dropdown/Dropdown.stories.tsx +1 -1
  24. package/dist/components/form/Form.stories.tsx +1 -1
  25. package/dist/components/helper-text/HelperText.stories.tsx +1 -1
  26. package/dist/components/hover-card/HoverCard.stories.tsx +1 -1
  27. package/dist/components/icon-button/IconButton.stories.tsx +1 -1
  28. package/dist/components/icon-button/index.tsx +2 -1
  29. package/dist/components/if-else/if-else.stories.tsx +1 -1
  30. package/dist/components/input/Input.stories.tsx +1 -1
  31. package/dist/components/input/index.tsx +3 -4
  32. package/dist/components/label/Label.stories.tsx +1 -1
  33. package/dist/components/list/List.stories.tsx +1 -1
  34. package/dist/components/list/index.tsx +16 -11
  35. package/dist/components/marquee/Marquee.stories.tsx +1 -1
  36. package/dist/components/otp-inputs/OtpInputs.stories.tsx +1 -1
  37. package/dist/components/overlay/Overlay.stories.tsx +1 -1
  38. package/dist/components/overlay/index.tsx +2 -1
  39. package/dist/components/pagination/Pagination.stories.tsx +1 -1
  40. package/dist/components/pagination/index.tsx +5 -10
  41. package/dist/components/popover/Popover.stories.tsx +1 -1
  42. package/dist/components/radio/Radio.stories.tsx +1 -1
  43. package/dist/components/resizable/Resizable.stories.tsx +1 -1
  44. package/dist/components/scroll-area/ScrollArea.stories.tsx +1 -1
  45. package/dist/components/search/Search.stories.tsx +1 -1
  46. package/dist/components/select/Select.stories.tsx +1 -1
  47. package/dist/components/sheet/Sheet.stories.tsx +1 -1
  48. package/dist/components/sheet/index.tsx +2 -1
  49. package/dist/components/skelton/Skelton.stories.tsx +1 -1
  50. package/dist/components/slider/Slider.stories.tsx +1 -1
  51. package/dist/components/slider/index.tsx +3 -2
  52. package/dist/components/stepper/Stepper.stories.tsx +1 -1
  53. package/dist/components/stepper/index.tsx +1 -2
  54. package/dist/components/switch/Switch.stories.tsx +1 -1
  55. package/dist/components/switch-case/SwitchCase.stories.tsx +1 -1
  56. package/dist/components/table/Table.stories.tsx +1 -1
  57. package/dist/components/tabs/Tabs.stories.tsx +2 -4
  58. package/dist/components/tabs/index.tsx +3 -2
  59. package/dist/components/tag/Tag.stories.tsx +1 -1
  60. package/dist/components/textarea/TextArea.stories.tsx +1 -1
  61. package/dist/components/textarea/index.tsx +3 -4
  62. package/dist/components/thumbnail-tags/ThumbnailTags.stories.tsx +1 -1
  63. package/dist/components/toast/Toast.stories.tsx +1 -1
  64. package/dist/components/toggle/Toggle.stories.tsx +1 -1
  65. package/dist/components/tooltip/Tooltip.stories.tsx +1 -1
  66. package/dist/components/tooltip/index.tsx +3 -2
  67. package/dist/components/typography/Typography.stories.tsx +1 -1
  68. package/dist/components/typography/index.tsx +2 -1
  69. package/dist/hooks/use-change-state/UseChangeState.stories.tsx +1 -1
  70. package/dist/hooks/use-previous/UsePrevious.stories.tsx +1 -1
  71. package/dist/hooks/use-standalone-pagination/UseStandalonePagination.stories.tsx +1 -1
  72. package/dist/icons/Icons.stories.tsx +1 -1
  73. package/dist/icons/ai-avatar-icon/AiAvatarIcon.stories.tsx +15 -7
  74. package/dist/icons/ai-avatar-icon/index.tsx +16 -5
  75. package/dist/icons/alert-icon/AlertIcon.stories.tsx +16 -8
  76. package/dist/icons/alert-icon/index.tsx +35 -20
  77. package/dist/icons/angle-down-icon/AngleDownIcon.stories.tsx +14 -6
  78. package/dist/icons/angle-down-icon/index.tsx +17 -7
  79. package/dist/icons/apple-logo-icon/AppleLogoIcon.stories.tsx +14 -6
  80. package/dist/icons/apple-logo-icon/index.tsx +17 -7
  81. package/dist/icons/arrow-box-left-icon/ArrowBoxLeftIcon.stories.tsx +15 -7
  82. package/dist/icons/arrow-box-left-icon/index.tsx +17 -7
  83. package/dist/icons/arrow-corner-up-left-icon/ArrowCornerUpLeftIcon.stories.tsx +14 -6
  84. package/dist/icons/arrow-corner-up-left-icon/index.tsx +19 -7
  85. package/dist/icons/arrow-corner-up-right-icon/ArrowCornerUpRightIcon.stories.tsx +15 -7
  86. package/dist/icons/arrow-corner-up-right-icon/index.tsx +19 -7
  87. package/dist/icons/arrow-left-icon/ArrowLeftIcon.stories.tsx +14 -6
  88. package/dist/icons/arrow-left-icon/index.tsx +16 -8
  89. package/dist/icons/arrow-right-icon/ArrowRightIcon.stories.tsx +15 -7
  90. package/dist/icons/arrow-right-icon/index.tsx +16 -8
  91. package/dist/icons/arrow-right-up-icon/ArrowRightUpIcon.stories.tsx +15 -7
  92. package/dist/icons/arrow-right-up-icon/index.tsx +17 -7
  93. package/dist/icons/art-board-icon/ArtBoardIcon.stories.tsx +17 -9
  94. package/dist/icons/art-board-icon/index.tsx +17 -7
  95. package/dist/icons/audio-bar-icon/AudioBarIcon.stories.tsx +15 -7
  96. package/dist/icons/audio-bar-icon/index.tsx +17 -7
  97. package/dist/icons/backward-ten-seconds-icon/BackwardTenSecondsIcon.stories.tsx +15 -7
  98. package/dist/icons/backward-ten-seconds-icon/index.tsx +19 -7
  99. package/dist/icons/bubble-check-icon/BubbleCheckIcon.stories.tsx +15 -7
  100. package/dist/icons/bubble-check-icon/index.tsx +17 -7
  101. package/dist/icons/bubble-crossed-icon/BubbleCrossedIcon.stories.tsx +15 -7
  102. package/dist/icons/bubble-crossed-icon/index.tsx +17 -7
  103. package/dist/icons/bubble-sparkle-icon/BubbleSparkleIcon.stories.tsx +15 -7
  104. package/dist/icons/bubble-sparkle-icon/index.tsx +17 -7
  105. package/dist/icons/camera-icon/CameraIcon.stories.tsx +15 -7
  106. package/dist/icons/camera-icon/index.tsx +17 -7
  107. package/dist/icons/capital-a-letter-icon/CapitalALetterIcon.stories.tsx +14 -6
  108. package/dist/icons/capital-a-letter-icon/index.tsx +35 -27
  109. package/dist/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.stories.tsx +14 -6
  110. package/dist/icons/chevron-double-left-icon/index.tsx +18 -8
  111. package/dist/icons/chevron-double-right-icon/ChevronDoubleRightIcon.stories.tsx +15 -7
  112. package/dist/icons/chevron-double-right-icon/index.tsx +18 -8
  113. package/dist/icons/chevron-down-icon/ChevronDownIcon.stories.tsx +14 -6
  114. package/dist/icons/chevron-down-icon/index.tsx +16 -8
  115. package/dist/icons/chevron-left-icon/ChevronLeftIcon.stories.tsx +15 -7
  116. package/dist/icons/chevron-left-icon/index.tsx +16 -8
  117. package/dist/icons/chevron-right-icon/ChevronRightIcon.stories.tsx +15 -7
  118. package/dist/icons/chevron-right-icon/index.tsx +16 -8
  119. package/dist/icons/chevron-up-icon/ChevronUpIcon.stories.tsx +15 -7
  120. package/dist/icons/chevron-up-icon/index.tsx +16 -8
  121. package/dist/icons/circle-tick-icon/CircleTickIcon.stories.tsx +15 -7
  122. package/dist/icons/circle-tick-icon/index.tsx +17 -7
  123. package/dist/icons/coin-icon/CoinIcon.stories.tsx +15 -7
  124. package/dist/icons/coin-icon/index.tsx +17 -7
  125. package/dist/icons/coin-icon-toons/CoinIconToons.stories.tsx +1 -1
  126. package/dist/icons/command-icon/CommandIcon.stories.tsx +14 -6
  127. package/dist/icons/command-icon/index.tsx +17 -7
  128. package/dist/icons/copy-icon/CopyIcon.stories.tsx +15 -7
  129. package/dist/icons/copy-icon/index.tsx +17 -7
  130. package/dist/icons/cross-circle-icon/CrossCircleIcon.stories.tsx +15 -7
  131. package/dist/icons/cross-circle-icon/index.tsx +17 -7
  132. package/dist/icons/cross-icon/CrossIcon.stories.tsx +15 -7
  133. package/dist/icons/cross-icon/index.tsx +17 -7
  134. package/dist/icons/download-icon/DownloadIcon.stories.tsx +15 -7
  135. package/dist/icons/download-icon/index.tsx +17 -7
  136. package/dist/icons/edit-big-icon/EditBigIcon.stories.tsx +14 -6
  137. package/dist/icons/edit-big-icon/index.tsx +17 -7
  138. package/dist/icons/email-icon/EmailIcon.stories.tsx +14 -6
  139. package/dist/icons/email-icon/index.tsx +17 -7
  140. package/dist/icons/expand-icon/ExpandIcon.stories.tsx +15 -7
  141. package/dist/icons/expand-icon/index.tsx +17 -7
  142. package/dist/icons/eye-close-icon/EyeCloseIcon.stories.tsx +14 -7
  143. package/dist/icons/eye-close-icon/index.tsx +17 -7
  144. package/dist/icons/eye-open-icon/EyeOpenIcon.stories.tsx +14 -6
  145. package/dist/icons/eye-open-icon/index.tsx +17 -7
  146. package/dist/icons/feature-shine-icon/FeatureShineIcon.stories.tsx +15 -7
  147. package/dist/icons/feature-shine-icon/index.tsx +17 -5
  148. package/dist/icons/file-chart-icon/FileChartIcon.stories.tsx +14 -6
  149. package/dist/icons/file-chart-icon/index.tsx +17 -7
  150. package/dist/icons/file-text-icon/FileTextIcon.stories.tsx +16 -8
  151. package/dist/icons/file-text-icon/index.tsx +17 -7
  152. package/dist/icons/filter-bar-row-icon/FilterBarRowIcon.stories.tsx +15 -7
  153. package/dist/icons/filter-bar-row-icon/index.tsx +17 -7
  154. package/dist/icons/forward-ten-seconds-icon/ForwardTenSecondsIcon.stories.tsx +15 -7
  155. package/dist/icons/forward-ten-seconds-icon/index.tsx +19 -7
  156. package/dist/icons/git-branch-icon/GitBranchIcon.stories.tsx +15 -7
  157. package/dist/icons/git-branch-icon/index.tsx +17 -7
  158. package/dist/icons/git-fork-icon/GitForkIcon.stories.tsx +15 -7
  159. package/dist/icons/git-fork-icon/index.tsx +17 -7
  160. package/dist/icons/globe-icon/GlobeIcon.stories.tsx +360 -0
  161. package/dist/icons/globe-icon/index.tsx +32 -0
  162. package/dist/icons/globe-icon/meta.ts +8 -0
  163. package/dist/icons/google-logo-icon/GoogleLogoIcon.stories.tsx +15 -7
  164. package/dist/icons/google-logo-icon/index.tsx +17 -7
  165. package/dist/icons/grip-vertical-icon/GripVerticalIcon.stories.tsx +15 -7
  166. package/dist/icons/grip-vertical-icon/index.tsx +17 -7
  167. package/dist/icons/head-icon/HeadIcon.stories.tsx +14 -6
  168. package/dist/icons/head-icon/index.tsx +29 -21
  169. package/dist/icons/heart-icon/HeartIcon.stories.tsx +15 -7
  170. package/dist/icons/heart-icon/index.tsx +17 -7
  171. package/dist/icons/image-icon/ImageIcon.stories.tsx +14 -6
  172. package/dist/icons/image-icon/index.tsx +17 -7
  173. package/dist/icons/import-folder-icon/ImportFolderIcon.stories.tsx +15 -7
  174. package/dist/icons/import-folder-icon/index.tsx +17 -7
  175. package/dist/icons/import-left-arrow-folder-icon/ImportLeftArrowFolderIcon.stories.tsx +15 -7
  176. package/dist/icons/import-left-arrow-folder-icon/index.tsx +22 -6
  177. package/dist/icons/index.ts +1 -0
  178. package/dist/icons/indian-flag-icon/IndianFlagIcon.stories.tsx +15 -7
  179. package/dist/icons/indian-flag-icon/index.tsx +17 -7
  180. package/dist/icons/instagram-icon/InstagramIcon.stories.tsx +13 -7
  181. package/dist/icons/instagram-icon/index.tsx +17 -7
  182. package/dist/icons/layout-column-icon/LayoutColumnIcon.stories.tsx +14 -6
  183. package/dist/icons/layout-column-icon/index.tsx +17 -7
  184. package/dist/icons/layout-left-icon/LayoutLeftIcon.stories.tsx +15 -7
  185. package/dist/icons/layout-left-icon/index.tsx +17 -7
  186. package/dist/icons/layout-right-icon/LayoutRightIcon.stories.tsx +15 -7
  187. package/dist/icons/layout-right-icon/index.tsx +17 -7
  188. package/dist/icons/light-bulb-simple-icon/LightBulbSimpleIcon.stories.tsx +15 -7
  189. package/dist/icons/light-bulb-simple-icon/index.tsx +17 -7
  190. package/dist/icons/linked-in-icon/LinkedInIcon.stories.tsx +12 -6
  191. package/dist/icons/linked-in-icon/index.tsx +17 -7
  192. package/dist/icons/magic-book-icon/MagicBookIcon.stories.tsx +15 -7
  193. package/dist/icons/magic-book-icon/index.tsx +17 -7
  194. package/dist/icons/maintenance-icon/MaintenanceIcon.stories.tsx +15 -7
  195. package/dist/icons/maintenance-icon/index.tsx +17 -7
  196. package/dist/icons/message-icon/MessageIcon.stories.tsx +16 -8
  197. package/dist/icons/message-icon/index.tsx +17 -7
  198. package/dist/icons/minimize-icon/MinimizeIcon.stories.tsx +15 -7
  199. package/dist/icons/minimize-icon/index.tsx +17 -7
  200. package/dist/icons/moon-icon/MoonIcon.stories.tsx +16 -8
  201. package/dist/icons/moon-icon/index.tsx +24 -16
  202. package/dist/icons/move-horizontal-icon/MoveHorizontalIcon.stories.tsx +15 -7
  203. package/dist/icons/move-horizontal-icon/index.tsx +17 -7
  204. package/dist/icons/move-vertical-icon/MoveVerticalIcon.stories.tsx +14 -6
  205. package/dist/icons/move-vertical-icon/index.tsx +17 -7
  206. package/dist/icons/musical-note-icon/MusicalNoteIcon.stories.tsx +15 -7
  207. package/dist/icons/musical-note-icon/index.tsx +28 -20
  208. package/dist/icons/notepad-icon/NotepadIcon.stories.tsx +15 -7
  209. package/dist/icons/notepad-icon/index.tsx +17 -7
  210. package/dist/icons/notes-icon/NotesIcon.stories.tsx +15 -7
  211. package/dist/icons/notes-icon/index.tsx +17 -7
  212. package/dist/icons/page-search-icon/PageSearchIcon.stories.tsx +15 -7
  213. package/dist/icons/page-search-icon/index.tsx +17 -7
  214. package/dist/icons/paint-roll-icon/PaintRollIcon.stories.tsx +15 -7
  215. package/dist/icons/paint-roll-icon/index.tsx +17 -7
  216. package/dist/icons/paper-plane-icon/PaperPlaneIcon.stories.tsx +15 -7
  217. package/dist/icons/paper-plane-icon/index.tsx +17 -7
  218. package/dist/icons/pause-icon/PauseIcon.stories.tsx +15 -7
  219. package/dist/icons/pause-icon/index.tsx +17 -7
  220. package/dist/icons/pencil-icon/PencilIcon.stories.tsx +15 -7
  221. package/dist/icons/pencil-icon/index.tsx +17 -7
  222. package/dist/icons/phone-icon/PhoneIcon.stories.tsx +15 -7
  223. package/dist/icons/phone-icon/index.tsx +29 -21
  224. package/dist/icons/plus-icon/PlusIcon.stories.tsx +15 -7
  225. package/dist/icons/plus-icon/index.tsx +17 -7
  226. package/dist/icons/search-icon/SearchIcon.stories.tsx +14 -6
  227. package/dist/icons/search-icon/index.tsx +17 -7
  228. package/dist/icons/setting-icon/SettingIcon.stories.tsx +14 -6
  229. package/dist/icons/setting-icon/index.tsx +33 -25
  230. package/dist/icons/share-icon/ShareIcon.stories.tsx +14 -6
  231. package/dist/icons/share-icon/index.tsx +17 -7
  232. package/dist/icons/shield-icon/ShieldIcon.stories.tsx +15 -7
  233. package/dist/icons/shield-icon/index.tsx +24 -16
  234. package/dist/icons/site-logo-icon/SiteLogoIcon.stories.tsx +15 -7
  235. package/dist/icons/site-logo-icon/index.tsx +17 -5
  236. package/dist/icons/skip-backward-icon/SkipBackwardIcon.stories.tsx +15 -7
  237. package/dist/icons/skip-backward-icon/index.tsx +17 -7
  238. package/dist/icons/skip-forward-icon/SkipForwardIcon.stories.tsx +14 -6
  239. package/dist/icons/skip-forward-icon/index.tsx +17 -7
  240. package/dist/icons/sparkles-soft-icon/SparklesSoftIcon.stories.tsx +15 -7
  241. package/dist/icons/sparkles-soft-icon/index.tsx +17 -7
  242. package/dist/icons/spinner-gradient-icon/SpinnerGradientIcon.stories.tsx +1 -1
  243. package/dist/icons/spinner-gradient-icon/index.tsx +17 -7
  244. package/dist/icons/spinner-solid-icon/SpinnerSolidIcon.stories.tsx +1 -1
  245. package/dist/icons/spinner-solid-icon/index.tsx +17 -7
  246. package/dist/icons/spinner-solid-neutral-icon/SpinnerSolidINeutralcon.stories.tsx +15 -7
  247. package/dist/icons/spinner-solid-neutral-icon/index.tsx +20 -6
  248. package/dist/icons/star-icon/StarIcon.stories.tsx +15 -7
  249. package/dist/icons/star-icon/index.tsx +17 -7
  250. package/dist/icons/store-coin-icon/StoreCoinIcon.stories.tsx +15 -7
  251. package/dist/icons/store-coin-icon/index.tsx +16 -8
  252. package/dist/icons/suggestion-icon/SuggestionIcon.stories.tsx +14 -6
  253. package/dist/icons/suggestion-icon/index.tsx +17 -7
  254. package/dist/icons/sun-icon/SunIcon.stories.tsx +14 -6
  255. package/dist/icons/sun-icon/index.tsx +26 -18
  256. package/dist/icons/text-color-icon/TextColorIcon.stories.tsx +14 -6
  257. package/dist/icons/text-color-icon/index.tsx +17 -7
  258. package/dist/icons/text-indicator-icon/TextIndicatorIcon.stories.tsx +15 -7
  259. package/dist/icons/text-indicator-icon/index.tsx +17 -7
  260. package/dist/icons/threads-icon/ThreadsIcon.stories.tsx +13 -7
  261. package/dist/icons/threads-icon/index.tsx +17 -7
  262. package/dist/icons/tick-circle-icon/TickCircleIcon.stories.tsx +15 -7
  263. package/dist/icons/tick-circle-icon/index.tsx +17 -7
  264. package/dist/icons/tick-icon/TickIcon.stories.tsx +15 -7
  265. package/dist/icons/tick-icon/index.tsx +17 -7
  266. package/dist/icons/trash-icon/TrashIcon.stories.tsx +15 -7
  267. package/dist/icons/trash-icon/index.tsx +17 -7
  268. package/dist/icons/twitter-x-icon/TwitterXIcon.stories.tsx +13 -7
  269. package/dist/icons/twitter-x-icon/index.tsx +17 -7
  270. package/dist/icons/upload-icon/UploadIcon.stories.tsx +14 -6
  271. package/dist/icons/upload-icon/index.tsx +17 -7
  272. package/dist/icons/vertical-menu-icon/VerticalMenuIcon.stories.tsx +14 -6
  273. package/dist/icons/vertical-menu-icon/index.tsx +17 -7
  274. package/dist/icons/video-play-list-icon/VideoPlaylistIcon.stories.tsx +15 -7
  275. package/dist/icons/video-play-list-icon/index.tsx +17 -7
  276. package/dist/icons/voice-playing-icon/VoicePlayingIcon.stories.tsx +15 -7
  277. package/dist/icons/voice-playing-icon/index.tsx +17 -7
  278. package/dist/icons/volume-full-icon/VolumeFullIcon.stories.tsx +15 -7
  279. package/dist/icons/volume-full-icon/index.tsx +17 -7
  280. package/dist/icons/volume-half-icon/VolumeHalfIcon.stories.tsx +15 -7
  281. package/dist/icons/volume-half-icon/index.tsx +17 -7
  282. package/dist/icons/volume-off-icon/VolumeOffIcon.stories.tsx +15 -7
  283. package/dist/icons/volume-off-icon/index.tsx +17 -7
  284. package/dist/icons/warning-icon/WarningIcon.stories.tsx +15 -7
  285. package/dist/icons/warning-icon/index.tsx +17 -7
  286. package/dist/icons/youtube-icon/YoutubeIcon.stories.tsx +15 -7
  287. package/dist/icons/youtube-icon/index.tsx +17 -7
  288. package/dist/index.cjs +222 -0
  289. package/dist/index.js +79 -79
  290. package/package.json +14 -14
  291. /package/dist/{index.d.ts → index.d.cts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import React from "react"
2
- import type { Meta, StoryObj } from "@storybook/react"
2
+ import type { Meta, StoryObj } from "@storybook/react-vite"
3
3
 
4
4
  import { VolumeHalfIcon } from "."
5
5
 
@@ -205,16 +205,19 @@ function VolumeControl() {
205
205
  </tr>
206
206
  </thead>
207
207
  <tbody>
208
- <tr className="border-b border-white/5">
209
- <td className="px-6 py-4 font-mono text-sm !text-emerald-300">
210
- width
208
+ {" "}
209
+ <tr className="!bg-black/10">
210
+ <td className="px-6 py-4 font-mono text-sm !text-blue-300">
211
+ withAccessibility
211
212
  </td>
212
213
  <td className="px-6 py-4 text-sm !text-white/70">
213
- number | string
214
+ boolean
215
+ </td>
216
+ <td className="px-6 py-4 text-sm !text-white/50">
217
+ true
214
218
  </td>
215
- <td className="px-6 py-4 text-sm !text-white/50">24</td>
216
219
  <td className="px-6 py-4 text-sm !text-white/70">
217
- Width of the icon in pixels
220
+ Whether to wrap the icon with accessibility feature
218
221
  </td>
219
222
  </tr>
220
223
  <tr className="border-b border-white/5 !bg-black/10">
@@ -944,6 +947,10 @@ function VolumeControl() {
944
947
  control: { type: "range", min: 8, max: 96, step: 2 },
945
948
  description: "Width of the icon in pixels",
946
949
  },
950
+ withAccessibility: {
951
+ control: "boolean",
952
+ description: "Whether to wrap the icon with accessibility features",
953
+ },
947
954
  height: {
948
955
  control: { type: "range", min: 8, max: 96, step: 2 },
949
956
  description: "Height of the icon in pixels",
@@ -984,6 +991,7 @@ const storyParameters = {
984
991
  export const Default: Story = {
985
992
  args: {
986
993
  className: "h-8 w-8 text-emerald-400",
994
+ withAccessibility: true,
987
995
  },
988
996
  parameters: storyParameters,
989
997
  render: (args) => (
@@ -1,10 +1,14 @@
1
1
  import React from "react"
2
2
  import { AccessibleIcon } from "@radix-ui/react-accessible-icon"
3
3
 
4
- export const VolumeHalfIcon = (
5
- props: React.JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
6
- ) => (
7
- <AccessibleIcon label="Volume half icon">
4
+ export interface VolumeHalfIconProps extends React.SVGProps<SVGSVGElement> {
5
+ withAccessibility?: boolean
6
+ }
7
+
8
+ export const VolumeHalfIcon = (props: VolumeHalfIconProps) => {
9
+ const { withAccessibility = true, ...svgProps } = props
10
+
11
+ const svg = (
8
12
  <svg
9
13
  xmlns="http://www.w3.org/2000/svg"
10
14
  width="24"
@@ -13,7 +17,7 @@ export const VolumeHalfIcon = (
13
17
  fill="none"
14
18
  stroke="currentColor"
15
19
  strokeWidth="1.5"
16
- {...props}
20
+ {...svgProps}
17
21
  >
18
22
  <path
19
23
  d="M15.8891 8.11091C16.8844 9.10622 17.5 10.4812 17.5 12C17.5 13.5188 16.8844 14.8938 15.8891 15.8891M1.75 7.75H6L12.25 4.25V19.75L6 16.25H1.75V7.75Z"
@@ -21,5 +25,11 @@ export const VolumeHalfIcon = (
21
25
  strokeWidth="1.5"
22
26
  />
23
27
  </svg>
24
- </AccessibleIcon>
25
- )
28
+ )
29
+
30
+ if (withAccessibility) {
31
+ return <AccessibleIcon label="Volume half icon">{svg}</AccessibleIcon>
32
+ }
33
+
34
+ return svg
35
+ }
@@ -1,5 +1,5 @@
1
1
  import React from "react"
2
- import type { Meta, StoryObj } from "@storybook/react"
2
+ import type { Meta, StoryObj } from "@storybook/react-vite"
3
3
 
4
4
  import { VolumeOffIcon } from "."
5
5
 
@@ -203,16 +203,19 @@ function AudioControls() {
203
203
  </tr>
204
204
  </thead>
205
205
  <tbody>
206
- <tr className="border-b border-white/5">
207
- <td className="px-6 py-4 font-mono text-sm !text-slate-300">
208
- width
206
+ {" "}
207
+ <tr className="!bg-black/10">
208
+ <td className="px-6 py-4 font-mono text-sm !text-blue-300">
209
+ withAccessibility
209
210
  </td>
210
211
  <td className="px-6 py-4 text-sm !text-white/70">
211
- number | string
212
+ boolean
213
+ </td>
214
+ <td className="px-6 py-4 text-sm !text-white/50">
215
+ true
212
216
  </td>
213
- <td className="px-6 py-4 text-sm !text-white/50">24</td>
214
217
  <td className="px-6 py-4 text-sm !text-white/70">
215
- Width of the icon in pixels
218
+ Whether to wrap the icon with accessibility feature
216
219
  </td>
217
220
  </tr>
218
221
  <tr className="border-b border-white/5 !bg-black/10">
@@ -933,6 +936,10 @@ function AudioControls() {
933
936
  control: { type: "range", min: 8, max: 96, step: 2 },
934
937
  description: "Width of the icon in pixels",
935
938
  },
939
+ withAccessibility: {
940
+ control: "boolean",
941
+ description: "Whether to wrap the icon with accessibility features",
942
+ },
936
943
  height: {
937
944
  control: { type: "range", min: 8, max: 96, step: 2 },
938
945
  description: "Height of the icon in pixels",
@@ -973,6 +980,7 @@ const storyParameters = {
973
980
  export const Default: Story = {
974
981
  args: {
975
982
  className: "h-8 w-8 text-slate-400",
983
+ withAccessibility: true,
976
984
  },
977
985
  parameters: storyParameters,
978
986
  render: (args) => (
@@ -1,10 +1,14 @@
1
1
  import React from "react"
2
2
  import { AccessibleIcon } from "@radix-ui/react-accessible-icon"
3
3
 
4
- export const VolumeOffIcon = (
5
- props: React.JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
6
- ) => (
7
- <AccessibleIcon label="Volume off icon">
4
+ export interface VolumeOffIconProps extends React.SVGProps<SVGSVGElement> {
5
+ withAccessibility?: boolean
6
+ }
7
+
8
+ export const VolumeOffIcon = (props: VolumeOffIconProps) => {
9
+ const { withAccessibility = true, ...svgProps } = props
10
+
11
+ const svg = (
8
12
  <svg
9
13
  xmlns="http://www.w3.org/2000/svg"
10
14
  width="24"
@@ -13,7 +17,7 @@ export const VolumeOffIcon = (
13
17
  fill="none"
14
18
  stroke="currentColor"
15
19
  strokeWidth="1.5"
16
- {...props}
20
+ {...svgProps}
17
21
  >
18
22
  <path
19
23
  d="M21.5 10L19.3787 12.1213M19.3787 12.1213L17.2574 14.2426M19.3787 12.1213L17.2574 10M19.3787 12.1213L21.5 14.2426M1.75 7.75H6L12.25 4.25V19.75L6 16.25H1.75V7.75Z"
@@ -22,5 +26,11 @@ export const VolumeOffIcon = (
22
26
  strokeLinecap="square"
23
27
  />
24
28
  </svg>
25
- </AccessibleIcon>
26
- )
29
+ )
30
+
31
+ if (withAccessibility) {
32
+ return <AccessibleIcon label="Volume off icon">{svg}</AccessibleIcon>
33
+ }
34
+
35
+ return svg
36
+ }
@@ -1,5 +1,5 @@
1
1
  import React from "react"
2
- import type { Meta, StoryObj } from "@storybook/react"
2
+ import type { Meta, StoryObj } from "@storybook/react-vite"
3
3
 
4
4
  import { WarningIcon } from "."
5
5
 
@@ -203,16 +203,19 @@ function ErrorAlert() {
203
203
  </tr>
204
204
  </thead>
205
205
  <tbody>
206
- <tr className="border-b border-white/5">
207
- <td className="px-6 py-4 font-mono text-sm !text-yellow-300">
208
- width
206
+ {" "}
207
+ <tr className="!bg-black/10">
208
+ <td className="px-6 py-4 font-mono text-sm !text-blue-300">
209
+ withAccessibility
209
210
  </td>
210
211
  <td className="px-6 py-4 text-sm !text-white/70">
211
- number | string
212
+ boolean
213
+ </td>
214
+ <td className="px-6 py-4 text-sm !text-white/50">
215
+ true
212
216
  </td>
213
- <td className="px-6 py-4 text-sm !text-white/50">24</td>
214
217
  <td className="px-6 py-4 text-sm !text-white/70">
215
- Width of the icon in pixels
218
+ Whether to wrap the icon with accessibility feature
216
219
  </td>
217
220
  </tr>
218
221
  <tr className="border-b border-white/5 !bg-black/10">
@@ -887,6 +890,10 @@ function ErrorAlert() {
887
890
  control: { type: "range", min: 8, max: 96, step: 2 },
888
891
  description: "Width of the icon in pixels",
889
892
  },
893
+ withAccessibility: {
894
+ control: "boolean",
895
+ description: "Whether to wrap the icon with accessibility features",
896
+ },
890
897
  height: {
891
898
  control: { type: "range", min: 8, max: 96, step: 2 },
892
899
  description: "Height of the icon in pixels",
@@ -931,6 +938,7 @@ const storyParameters = {
931
938
  export const Default: Story = {
932
939
  args: {
933
940
  className: "h-8 w-8 text-yellow-400",
941
+ withAccessibility: true,
934
942
  },
935
943
  parameters: storyParameters,
936
944
  render: (args) => (
@@ -1,10 +1,14 @@
1
1
  import React from "react"
2
2
  import { AccessibleIcon } from "@radix-ui/react-accessible-icon"
3
3
 
4
- export const WarningIcon = (
5
- props: React.JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
6
- ) => (
7
- <AccessibleIcon label="Warning icon">
4
+ export interface WarningIconProps extends React.SVGProps<SVGSVGElement> {
5
+ withAccessibility?: boolean
6
+ }
7
+
8
+ export const WarningIcon = (props: WarningIconProps) => {
9
+ const { withAccessibility = true, ...svgProps } = props
10
+
11
+ const svg = (
8
12
  <svg
9
13
  xmlns="http://www.w3.org/2000/svg"
10
14
  width="24"
@@ -14,7 +18,7 @@ export const WarningIcon = (
14
18
  stroke="currentColor"
15
19
  strokeWidth="1.5"
16
20
  strokeLinecap="square"
17
- {...props}
21
+ {...svgProps}
18
22
  >
19
23
  <path
20
24
  d="M12 9.75V13.75M12 16.24V16.25M12 3.25L2.5 19.25H21.5L12 3.25Z"
@@ -23,5 +27,11 @@ export const WarningIcon = (
23
27
  strokeLinecap="square"
24
28
  />
25
29
  </svg>
26
- </AccessibleIcon>
27
- )
30
+ )
31
+
32
+ if (withAccessibility) {
33
+ return <AccessibleIcon label="Warning icon">{svg}</AccessibleIcon>
34
+ }
35
+
36
+ return svg
37
+ }
@@ -1,5 +1,5 @@
1
1
  import React from "react"
2
- import type { Meta, StoryObj } from "@storybook/react"
2
+ import type { Meta, StoryObj } from "@storybook/react-vite"
3
3
 
4
4
  import { YoutubeIcon } from "."
5
5
 
@@ -202,16 +202,19 @@ function VideoCard() {
202
202
  </tr>
203
203
  </thead>
204
204
  <tbody>
205
- <tr className="border-b border-white/5">
206
- <td className="px-6 py-4 font-mono text-sm !text-red-300">
207
- width
205
+ {" "}
206
+ <tr className="!bg-black/10">
207
+ <td className="px-6 py-4 font-mono text-sm !text-blue-300">
208
+ withAccessibility
208
209
  </td>
209
210
  <td className="px-6 py-4 text-sm !text-white/70">
210
- number | string
211
+ boolean
212
+ </td>
213
+ <td className="px-6 py-4 text-sm !text-white/50">
214
+ true
211
215
  </td>
212
- <td className="px-6 py-4 text-sm !text-white/50">24</td>
213
216
  <td className="px-6 py-4 text-sm !text-white/70">
214
- Width of the icon in pixels
217
+ Whether to wrap the icon with accessibility feature
215
218
  </td>
216
219
  </tr>
217
220
  <tr className="border-b border-white/5 !bg-black/10">
@@ -771,6 +774,10 @@ function CustomYoutubeIcon({ label = "YouTube", ...props }) {
771
774
  control: { type: "range", min: 8, max: 96, step: 2 },
772
775
  description: "Width of the icon in pixels",
773
776
  },
777
+ withAccessibility: {
778
+ control: "boolean",
779
+ description: "Whether to wrap the icon with accessibility features",
780
+ },
774
781
  height: {
775
782
  control: { type: "range", min: 8, max: 96, step: 2 },
776
783
  description: "Height of the icon in pixels",
@@ -805,6 +812,7 @@ export const Default: Story = {
805
812
  width: 24,
806
813
  height: 24,
807
814
  className: "text-red-500",
815
+ withAccessibility: true,
808
816
  },
809
817
  parameters: storyParameters,
810
818
  render: (args) => (
@@ -1,17 +1,21 @@
1
1
  import React from "react"
2
2
  import { AccessibleIcon } from "@radix-ui/react-accessible-icon"
3
3
 
4
- export const YoutubeIcon = (
5
- props: React.JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
6
- ) => (
7
- <AccessibleIcon label="Youtube icon">
4
+ export interface YoutubeIconProps extends React.SVGProps<SVGSVGElement> {
5
+ withAccessibility?: boolean
6
+ }
7
+
8
+ export const YoutubeIcon = (props: YoutubeIconProps) => {
9
+ const { withAccessibility = true, ...svgProps } = props
10
+
11
+ const svg = (
8
12
  <svg
9
13
  width="24"
10
14
  height="24"
11
15
  viewBox="0 0 24 24"
12
16
  fill="none"
13
17
  xmlns="http://www.w3.org/2000/svg"
14
- {...props}
18
+ {...svgProps}
15
19
  >
16
20
  <path
17
21
  fillRule="evenodd"
@@ -20,5 +24,11 @@ export const YoutubeIcon = (
20
24
  fill="currentColor"
21
25
  />
22
26
  </svg>
23
- </AccessibleIcon>
24
- )
27
+ )
28
+
29
+ if (withAccessibility) {
30
+ return <AccessibleIcon label="Youtube icon">{svg}</AccessibleIcon>
31
+ }
32
+
33
+ return svg
34
+ }