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.
- package/dist/components/aspect-ratio/AspectRatio.stories.tsx +1 -1
- package/dist/components/avatar/Avatar.stories.tsx +1 -1
- package/dist/components/badge/Badge.stories.tsx +1 -1
- package/dist/components/banner/Banner.stories.tsx +1 -1
- package/dist/components/breadcrumb/Breadcrumb.stories.tsx +1 -1
- package/dist/components/breadcrumb/index.tsx +3 -2
- package/dist/components/button/Button.stories.tsx +1 -1
- package/dist/components/card/Card.stories.tsx +1 -1
- package/dist/components/char-count/CharCount.stories.tsx +1 -1
- package/dist/components/checkbox/Checkbox.stories.tsx +1 -1
- package/dist/components/chip/Chip.stories.tsx +1 -1
- package/dist/components/chip/index.tsx +1 -2
- package/dist/components/circular-loader/CircularLoader.stories.tsx +1 -1
- package/dist/components/collapsible/Collapsible.stories.tsx +1 -1
- package/dist/components/command/Command.stories.tsx +1 -1
- package/dist/components/dialog/Dialog.stories.tsx +1 -1
- package/dist/components/dialog/index.tsx +2 -1
- package/dist/components/divider/Divider.stories.tsx +1 -1
- package/dist/components/divider/index.tsx +3 -2
- package/dist/components/dot-loader/DotLoader.stories.tsx +1 -1
- package/dist/components/drawer/Drawer.stories.tsx +1 -1
- package/dist/components/drawer/index.tsx +2 -1
- package/dist/components/dropdown/Dropdown.stories.tsx +1 -1
- package/dist/components/form/Form.stories.tsx +1 -1
- package/dist/components/helper-text/HelperText.stories.tsx +1 -1
- package/dist/components/hover-card/HoverCard.stories.tsx +1 -1
- package/dist/components/icon-button/IconButton.stories.tsx +1 -1
- package/dist/components/icon-button/index.tsx +2 -1
- package/dist/components/if-else/if-else.stories.tsx +1 -1
- package/dist/components/input/Input.stories.tsx +1 -1
- package/dist/components/input/index.tsx +3 -4
- package/dist/components/label/Label.stories.tsx +1 -1
- package/dist/components/list/List.stories.tsx +1 -1
- package/dist/components/list/index.tsx +16 -11
- package/dist/components/marquee/Marquee.stories.tsx +1 -1
- package/dist/components/otp-inputs/OtpInputs.stories.tsx +1 -1
- package/dist/components/overlay/Overlay.stories.tsx +1 -1
- package/dist/components/overlay/index.tsx +2 -1
- package/dist/components/pagination/Pagination.stories.tsx +1 -1
- package/dist/components/pagination/index.tsx +5 -10
- package/dist/components/popover/Popover.stories.tsx +1 -1
- package/dist/components/radio/Radio.stories.tsx +1 -1
- package/dist/components/resizable/Resizable.stories.tsx +1 -1
- package/dist/components/scroll-area/ScrollArea.stories.tsx +1 -1
- package/dist/components/search/Search.stories.tsx +1 -1
- package/dist/components/select/Select.stories.tsx +1 -1
- package/dist/components/sheet/Sheet.stories.tsx +1 -1
- package/dist/components/sheet/index.tsx +2 -1
- package/dist/components/skelton/Skelton.stories.tsx +1 -1
- package/dist/components/slider/Slider.stories.tsx +1 -1
- package/dist/components/slider/index.tsx +3 -2
- package/dist/components/stepper/Stepper.stories.tsx +1 -1
- package/dist/components/stepper/index.tsx +1 -2
- package/dist/components/switch/Switch.stories.tsx +1 -1
- package/dist/components/switch-case/SwitchCase.stories.tsx +1 -1
- package/dist/components/table/Table.stories.tsx +1 -1
- package/dist/components/tabs/Tabs.stories.tsx +2 -4
- package/dist/components/tabs/index.tsx +3 -2
- package/dist/components/tag/Tag.stories.tsx +1 -1
- package/dist/components/textarea/TextArea.stories.tsx +1 -1
- package/dist/components/textarea/index.tsx +3 -4
- package/dist/components/thumbnail-tags/ThumbnailTags.stories.tsx +1 -1
- package/dist/components/toast/Toast.stories.tsx +1 -1
- package/dist/components/toggle/Toggle.stories.tsx +1 -1
- package/dist/components/tooltip/Tooltip.stories.tsx +1 -1
- package/dist/components/tooltip/index.tsx +3 -2
- package/dist/components/typography/Typography.stories.tsx +1 -1
- package/dist/components/typography/index.tsx +2 -1
- package/dist/hooks/use-change-state/UseChangeState.stories.tsx +1 -1
- package/dist/hooks/use-previous/UsePrevious.stories.tsx +1 -1
- package/dist/hooks/use-standalone-pagination/UseStandalonePagination.stories.tsx +1 -1
- package/dist/icons/Icons.stories.tsx +1 -1
- package/dist/icons/ai-avatar-icon/AiAvatarIcon.stories.tsx +15 -7
- package/dist/icons/ai-avatar-icon/index.tsx +16 -5
- package/dist/icons/alert-icon/AlertIcon.stories.tsx +16 -8
- package/dist/icons/alert-icon/index.tsx +35 -20
- package/dist/icons/angle-down-icon/AngleDownIcon.stories.tsx +14 -6
- package/dist/icons/angle-down-icon/index.tsx +17 -7
- package/dist/icons/apple-logo-icon/AppleLogoIcon.stories.tsx +14 -6
- package/dist/icons/apple-logo-icon/index.tsx +17 -7
- package/dist/icons/arrow-box-left-icon/ArrowBoxLeftIcon.stories.tsx +15 -7
- package/dist/icons/arrow-box-left-icon/index.tsx +17 -7
- package/dist/icons/arrow-corner-up-left-icon/ArrowCornerUpLeftIcon.stories.tsx +14 -6
- package/dist/icons/arrow-corner-up-left-icon/index.tsx +19 -7
- package/dist/icons/arrow-corner-up-right-icon/ArrowCornerUpRightIcon.stories.tsx +15 -7
- package/dist/icons/arrow-corner-up-right-icon/index.tsx +19 -7
- package/dist/icons/arrow-left-icon/ArrowLeftIcon.stories.tsx +14 -6
- package/dist/icons/arrow-left-icon/index.tsx +16 -8
- package/dist/icons/arrow-right-icon/ArrowRightIcon.stories.tsx +15 -7
- package/dist/icons/arrow-right-icon/index.tsx +16 -8
- package/dist/icons/arrow-right-up-icon/ArrowRightUpIcon.stories.tsx +15 -7
- package/dist/icons/arrow-right-up-icon/index.tsx +17 -7
- package/dist/icons/art-board-icon/ArtBoardIcon.stories.tsx +17 -9
- package/dist/icons/art-board-icon/index.tsx +17 -7
- package/dist/icons/audio-bar-icon/AudioBarIcon.stories.tsx +15 -7
- package/dist/icons/audio-bar-icon/index.tsx +17 -7
- package/dist/icons/backward-ten-seconds-icon/BackwardTenSecondsIcon.stories.tsx +15 -7
- package/dist/icons/backward-ten-seconds-icon/index.tsx +19 -7
- package/dist/icons/bubble-check-icon/BubbleCheckIcon.stories.tsx +15 -7
- package/dist/icons/bubble-check-icon/index.tsx +17 -7
- package/dist/icons/bubble-crossed-icon/BubbleCrossedIcon.stories.tsx +15 -7
- package/dist/icons/bubble-crossed-icon/index.tsx +17 -7
- package/dist/icons/bubble-sparkle-icon/BubbleSparkleIcon.stories.tsx +15 -7
- package/dist/icons/bubble-sparkle-icon/index.tsx +17 -7
- package/dist/icons/camera-icon/CameraIcon.stories.tsx +15 -7
- package/dist/icons/camera-icon/index.tsx +17 -7
- package/dist/icons/capital-a-letter-icon/CapitalALetterIcon.stories.tsx +14 -6
- package/dist/icons/capital-a-letter-icon/index.tsx +35 -27
- package/dist/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.stories.tsx +14 -6
- package/dist/icons/chevron-double-left-icon/index.tsx +18 -8
- package/dist/icons/chevron-double-right-icon/ChevronDoubleRightIcon.stories.tsx +15 -7
- package/dist/icons/chevron-double-right-icon/index.tsx +18 -8
- package/dist/icons/chevron-down-icon/ChevronDownIcon.stories.tsx +14 -6
- package/dist/icons/chevron-down-icon/index.tsx +16 -8
- package/dist/icons/chevron-left-icon/ChevronLeftIcon.stories.tsx +15 -7
- package/dist/icons/chevron-left-icon/index.tsx +16 -8
- package/dist/icons/chevron-right-icon/ChevronRightIcon.stories.tsx +15 -7
- package/dist/icons/chevron-right-icon/index.tsx +16 -8
- package/dist/icons/chevron-up-icon/ChevronUpIcon.stories.tsx +15 -7
- package/dist/icons/chevron-up-icon/index.tsx +16 -8
- package/dist/icons/circle-tick-icon/CircleTickIcon.stories.tsx +15 -7
- package/dist/icons/circle-tick-icon/index.tsx +17 -7
- package/dist/icons/coin-icon/CoinIcon.stories.tsx +15 -7
- package/dist/icons/coin-icon/index.tsx +17 -7
- package/dist/icons/coin-icon-toons/CoinIconToons.stories.tsx +1 -1
- package/dist/icons/command-icon/CommandIcon.stories.tsx +14 -6
- package/dist/icons/command-icon/index.tsx +17 -7
- package/dist/icons/copy-icon/CopyIcon.stories.tsx +15 -7
- package/dist/icons/copy-icon/index.tsx +17 -7
- package/dist/icons/cross-circle-icon/CrossCircleIcon.stories.tsx +15 -7
- package/dist/icons/cross-circle-icon/index.tsx +17 -7
- package/dist/icons/cross-icon/CrossIcon.stories.tsx +15 -7
- package/dist/icons/cross-icon/index.tsx +17 -7
- package/dist/icons/download-icon/DownloadIcon.stories.tsx +15 -7
- package/dist/icons/download-icon/index.tsx +17 -7
- package/dist/icons/edit-big-icon/EditBigIcon.stories.tsx +14 -6
- package/dist/icons/edit-big-icon/index.tsx +17 -7
- package/dist/icons/email-icon/EmailIcon.stories.tsx +14 -6
- package/dist/icons/email-icon/index.tsx +17 -7
- package/dist/icons/expand-icon/ExpandIcon.stories.tsx +15 -7
- package/dist/icons/expand-icon/index.tsx +17 -7
- package/dist/icons/eye-close-icon/EyeCloseIcon.stories.tsx +14 -7
- package/dist/icons/eye-close-icon/index.tsx +17 -7
- package/dist/icons/eye-open-icon/EyeOpenIcon.stories.tsx +14 -6
- package/dist/icons/eye-open-icon/index.tsx +17 -7
- package/dist/icons/feature-shine-icon/FeatureShineIcon.stories.tsx +15 -7
- package/dist/icons/feature-shine-icon/index.tsx +17 -5
- package/dist/icons/file-chart-icon/FileChartIcon.stories.tsx +14 -6
- package/dist/icons/file-chart-icon/index.tsx +17 -7
- package/dist/icons/file-text-icon/FileTextIcon.stories.tsx +16 -8
- package/dist/icons/file-text-icon/index.tsx +17 -7
- package/dist/icons/filter-bar-row-icon/FilterBarRowIcon.stories.tsx +15 -7
- package/dist/icons/filter-bar-row-icon/index.tsx +17 -7
- package/dist/icons/forward-ten-seconds-icon/ForwardTenSecondsIcon.stories.tsx +15 -7
- package/dist/icons/forward-ten-seconds-icon/index.tsx +19 -7
- package/dist/icons/git-branch-icon/GitBranchIcon.stories.tsx +15 -7
- package/dist/icons/git-branch-icon/index.tsx +17 -7
- package/dist/icons/git-fork-icon/GitForkIcon.stories.tsx +15 -7
- package/dist/icons/git-fork-icon/index.tsx +17 -7
- package/dist/icons/globe-icon/GlobeIcon.stories.tsx +360 -0
- package/dist/icons/globe-icon/index.tsx +32 -0
- package/dist/icons/globe-icon/meta.ts +8 -0
- package/dist/icons/google-logo-icon/GoogleLogoIcon.stories.tsx +15 -7
- package/dist/icons/google-logo-icon/index.tsx +17 -7
- package/dist/icons/grip-vertical-icon/GripVerticalIcon.stories.tsx +15 -7
- package/dist/icons/grip-vertical-icon/index.tsx +17 -7
- package/dist/icons/head-icon/HeadIcon.stories.tsx +14 -6
- package/dist/icons/head-icon/index.tsx +29 -21
- package/dist/icons/heart-icon/HeartIcon.stories.tsx +15 -7
- package/dist/icons/heart-icon/index.tsx +17 -7
- package/dist/icons/image-icon/ImageIcon.stories.tsx +14 -6
- package/dist/icons/image-icon/index.tsx +17 -7
- package/dist/icons/import-folder-icon/ImportFolderIcon.stories.tsx +15 -7
- package/dist/icons/import-folder-icon/index.tsx +17 -7
- package/dist/icons/import-left-arrow-folder-icon/ImportLeftArrowFolderIcon.stories.tsx +15 -7
- package/dist/icons/import-left-arrow-folder-icon/index.tsx +22 -6
- package/dist/icons/index.ts +1 -0
- package/dist/icons/indian-flag-icon/IndianFlagIcon.stories.tsx +15 -7
- package/dist/icons/indian-flag-icon/index.tsx +17 -7
- package/dist/icons/instagram-icon/InstagramIcon.stories.tsx +13 -7
- package/dist/icons/instagram-icon/index.tsx +17 -7
- package/dist/icons/layout-column-icon/LayoutColumnIcon.stories.tsx +14 -6
- package/dist/icons/layout-column-icon/index.tsx +17 -7
- package/dist/icons/layout-left-icon/LayoutLeftIcon.stories.tsx +15 -7
- package/dist/icons/layout-left-icon/index.tsx +17 -7
- package/dist/icons/layout-right-icon/LayoutRightIcon.stories.tsx +15 -7
- package/dist/icons/layout-right-icon/index.tsx +17 -7
- package/dist/icons/light-bulb-simple-icon/LightBulbSimpleIcon.stories.tsx +15 -7
- package/dist/icons/light-bulb-simple-icon/index.tsx +17 -7
- package/dist/icons/linked-in-icon/LinkedInIcon.stories.tsx +12 -6
- package/dist/icons/linked-in-icon/index.tsx +17 -7
- package/dist/icons/magic-book-icon/MagicBookIcon.stories.tsx +15 -7
- package/dist/icons/magic-book-icon/index.tsx +17 -7
- package/dist/icons/maintenance-icon/MaintenanceIcon.stories.tsx +15 -7
- package/dist/icons/maintenance-icon/index.tsx +17 -7
- package/dist/icons/message-icon/MessageIcon.stories.tsx +16 -8
- package/dist/icons/message-icon/index.tsx +17 -7
- package/dist/icons/minimize-icon/MinimizeIcon.stories.tsx +15 -7
- package/dist/icons/minimize-icon/index.tsx +17 -7
- package/dist/icons/moon-icon/MoonIcon.stories.tsx +16 -8
- package/dist/icons/moon-icon/index.tsx +24 -16
- package/dist/icons/move-horizontal-icon/MoveHorizontalIcon.stories.tsx +15 -7
- package/dist/icons/move-horizontal-icon/index.tsx +17 -7
- package/dist/icons/move-vertical-icon/MoveVerticalIcon.stories.tsx +14 -6
- package/dist/icons/move-vertical-icon/index.tsx +17 -7
- package/dist/icons/musical-note-icon/MusicalNoteIcon.stories.tsx +15 -7
- package/dist/icons/musical-note-icon/index.tsx +28 -20
- package/dist/icons/notepad-icon/NotepadIcon.stories.tsx +15 -7
- package/dist/icons/notepad-icon/index.tsx +17 -7
- package/dist/icons/notes-icon/NotesIcon.stories.tsx +15 -7
- package/dist/icons/notes-icon/index.tsx +17 -7
- package/dist/icons/page-search-icon/PageSearchIcon.stories.tsx +15 -7
- package/dist/icons/page-search-icon/index.tsx +17 -7
- package/dist/icons/paint-roll-icon/PaintRollIcon.stories.tsx +15 -7
- package/dist/icons/paint-roll-icon/index.tsx +17 -7
- package/dist/icons/paper-plane-icon/PaperPlaneIcon.stories.tsx +15 -7
- package/dist/icons/paper-plane-icon/index.tsx +17 -7
- package/dist/icons/pause-icon/PauseIcon.stories.tsx +15 -7
- package/dist/icons/pause-icon/index.tsx +17 -7
- package/dist/icons/pencil-icon/PencilIcon.stories.tsx +15 -7
- package/dist/icons/pencil-icon/index.tsx +17 -7
- package/dist/icons/phone-icon/PhoneIcon.stories.tsx +15 -7
- package/dist/icons/phone-icon/index.tsx +29 -21
- package/dist/icons/plus-icon/PlusIcon.stories.tsx +15 -7
- package/dist/icons/plus-icon/index.tsx +17 -7
- package/dist/icons/search-icon/SearchIcon.stories.tsx +14 -6
- package/dist/icons/search-icon/index.tsx +17 -7
- package/dist/icons/setting-icon/SettingIcon.stories.tsx +14 -6
- package/dist/icons/setting-icon/index.tsx +33 -25
- package/dist/icons/share-icon/ShareIcon.stories.tsx +14 -6
- package/dist/icons/share-icon/index.tsx +17 -7
- package/dist/icons/shield-icon/ShieldIcon.stories.tsx +15 -7
- package/dist/icons/shield-icon/index.tsx +24 -16
- package/dist/icons/site-logo-icon/SiteLogoIcon.stories.tsx +15 -7
- package/dist/icons/site-logo-icon/index.tsx +17 -5
- package/dist/icons/skip-backward-icon/SkipBackwardIcon.stories.tsx +15 -7
- package/dist/icons/skip-backward-icon/index.tsx +17 -7
- package/dist/icons/skip-forward-icon/SkipForwardIcon.stories.tsx +14 -6
- package/dist/icons/skip-forward-icon/index.tsx +17 -7
- package/dist/icons/sparkles-soft-icon/SparklesSoftIcon.stories.tsx +15 -7
- package/dist/icons/sparkles-soft-icon/index.tsx +17 -7
- package/dist/icons/spinner-gradient-icon/SpinnerGradientIcon.stories.tsx +1 -1
- package/dist/icons/spinner-gradient-icon/index.tsx +17 -7
- package/dist/icons/spinner-solid-icon/SpinnerSolidIcon.stories.tsx +1 -1
- package/dist/icons/spinner-solid-icon/index.tsx +17 -7
- package/dist/icons/spinner-solid-neutral-icon/SpinnerSolidINeutralcon.stories.tsx +15 -7
- package/dist/icons/spinner-solid-neutral-icon/index.tsx +20 -6
- package/dist/icons/star-icon/StarIcon.stories.tsx +15 -7
- package/dist/icons/star-icon/index.tsx +17 -7
- package/dist/icons/store-coin-icon/StoreCoinIcon.stories.tsx +15 -7
- package/dist/icons/store-coin-icon/index.tsx +16 -8
- package/dist/icons/suggestion-icon/SuggestionIcon.stories.tsx +14 -6
- package/dist/icons/suggestion-icon/index.tsx +17 -7
- package/dist/icons/sun-icon/SunIcon.stories.tsx +14 -6
- package/dist/icons/sun-icon/index.tsx +26 -18
- package/dist/icons/text-color-icon/TextColorIcon.stories.tsx +14 -6
- package/dist/icons/text-color-icon/index.tsx +17 -7
- package/dist/icons/text-indicator-icon/TextIndicatorIcon.stories.tsx +15 -7
- package/dist/icons/text-indicator-icon/index.tsx +17 -7
- package/dist/icons/threads-icon/ThreadsIcon.stories.tsx +13 -7
- package/dist/icons/threads-icon/index.tsx +17 -7
- package/dist/icons/tick-circle-icon/TickCircleIcon.stories.tsx +15 -7
- package/dist/icons/tick-circle-icon/index.tsx +17 -7
- package/dist/icons/tick-icon/TickIcon.stories.tsx +15 -7
- package/dist/icons/tick-icon/index.tsx +17 -7
- package/dist/icons/trash-icon/TrashIcon.stories.tsx +15 -7
- package/dist/icons/trash-icon/index.tsx +17 -7
- package/dist/icons/twitter-x-icon/TwitterXIcon.stories.tsx +13 -7
- package/dist/icons/twitter-x-icon/index.tsx +17 -7
- package/dist/icons/upload-icon/UploadIcon.stories.tsx +14 -6
- package/dist/icons/upload-icon/index.tsx +17 -7
- package/dist/icons/vertical-menu-icon/VerticalMenuIcon.stories.tsx +14 -6
- package/dist/icons/vertical-menu-icon/index.tsx +17 -7
- package/dist/icons/video-play-list-icon/VideoPlaylistIcon.stories.tsx +15 -7
- package/dist/icons/video-play-list-icon/index.tsx +17 -7
- package/dist/icons/voice-playing-icon/VoicePlayingIcon.stories.tsx +15 -7
- package/dist/icons/voice-playing-icon/index.tsx +17 -7
- package/dist/icons/volume-full-icon/VolumeFullIcon.stories.tsx +15 -7
- package/dist/icons/volume-full-icon/index.tsx +17 -7
- package/dist/icons/volume-half-icon/VolumeHalfIcon.stories.tsx +15 -7
- package/dist/icons/volume-half-icon/index.tsx +17 -7
- package/dist/icons/volume-off-icon/VolumeOffIcon.stories.tsx +15 -7
- package/dist/icons/volume-off-icon/index.tsx +17 -7
- package/dist/icons/warning-icon/WarningIcon.stories.tsx +15 -7
- package/dist/icons/warning-icon/index.tsx +17 -7
- package/dist/icons/youtube-icon/YoutubeIcon.stories.tsx +15 -7
- package/dist/icons/youtube-icon/index.tsx +17 -7
- package/dist/index.cjs +222 -0
- package/dist/index.js +79 -79
- package/package.json +14 -14
- /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 { FilterBarRowIcon } from "."
|
|
5
5
|
|
|
@@ -220,16 +220,19 @@ function FilterButton() {
|
|
|
220
220
|
</tr>
|
|
221
221
|
</thead>
|
|
222
222
|
<tbody>
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
223
|
+
{" "}
|
|
224
|
+
<tr className="!bg-black/10">
|
|
225
|
+
<td className="px-6 py-4 font-mono text-sm !text-blue-300">
|
|
226
|
+
withAccessibility
|
|
226
227
|
</td>
|
|
227
228
|
<td className="px-6 py-4 text-sm !text-white/70">
|
|
228
|
-
|
|
229
|
+
boolean
|
|
230
|
+
</td>
|
|
231
|
+
<td className="px-6 py-4 text-sm !text-white/50">
|
|
232
|
+
true
|
|
229
233
|
</td>
|
|
230
|
-
<td className="px-6 py-4 text-sm !text-white/50">20</td>
|
|
231
234
|
<td className="px-6 py-4 text-sm !text-white/70">
|
|
232
|
-
|
|
235
|
+
Whether to wrap the icon with accessibility feature
|
|
233
236
|
</td>
|
|
234
237
|
</tr>
|
|
235
238
|
<tr className="border-b border-white/5 !bg-black/10">
|
|
@@ -842,6 +845,10 @@ function FilterButton() {
|
|
|
842
845
|
control: { type: "range", min: 8, max: 96, step: 2 },
|
|
843
846
|
description: "Width of the icon in pixels",
|
|
844
847
|
},
|
|
848
|
+
withAccessibility: {
|
|
849
|
+
control: "boolean",
|
|
850
|
+
description: "Whether to wrap the icon with accessibility features",
|
|
851
|
+
},
|
|
845
852
|
height: {
|
|
846
853
|
control: { type: "range", min: 8, max: 96, step: 2 },
|
|
847
854
|
description: "Height of the icon in pixels",
|
|
@@ -881,6 +888,7 @@ export const Default: Story = {
|
|
|
881
888
|
width: 24,
|
|
882
889
|
height: 24,
|
|
883
890
|
className: "text-indigo-400 ",
|
|
891
|
+
withAccessibility: true,
|
|
884
892
|
},
|
|
885
893
|
parameters: storyParameters,
|
|
886
894
|
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
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
export interface FilterBarRowIconProps extends React.SVGProps<SVGSVGElement> {
|
|
5
|
+
withAccessibility?: boolean
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const FilterBarRowIcon = (props: FilterBarRowIconProps) => {
|
|
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="16"
|
|
11
15
|
height="16"
|
|
12
16
|
viewBox="0 0 16 16"
|
|
13
17
|
fill="none"
|
|
14
|
-
{...
|
|
18
|
+
{...svgProps}
|
|
15
19
|
>
|
|
16
20
|
<path
|
|
17
21
|
d="M1.83301 3.16467H14.1663M5.83301 12.8313H10.1663M3.83301 7.99801H12.1663"
|
|
@@ -20,5 +24,11 @@ export const FilterBarRowIcon = (
|
|
|
20
24
|
strokeLinecap="square"
|
|
21
25
|
/>
|
|
22
26
|
</svg>
|
|
23
|
-
|
|
24
|
-
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
if (withAccessibility) {
|
|
30
|
+
return <AccessibleIcon label="Filter Row Bar Icon">{svg}</AccessibleIcon>
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
return svg
|
|
34
|
+
}
|
|
@@ -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 { ForwardTenSecondsIcon } from "."
|
|
5
5
|
|
|
@@ -203,16 +203,19 @@ function MediaPlayer() {
|
|
|
203
203
|
</tr>
|
|
204
204
|
</thead>
|
|
205
205
|
<tbody>
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
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
|
-
|
|
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">44</td>
|
|
214
217
|
<td className="px-6 py-4 text-sm !text-white/70">
|
|
215
|
-
|
|
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">
|
|
@@ -837,6 +840,10 @@ function MediaPlayer() {
|
|
|
837
840
|
control: { type: "range", min: 8, max: 96, step: 2 },
|
|
838
841
|
description: "Width of the icon in pixels",
|
|
839
842
|
},
|
|
843
|
+
withAccessibility: {
|
|
844
|
+
control: "boolean",
|
|
845
|
+
description: "Whether to wrap the icon with accessibility features",
|
|
846
|
+
},
|
|
840
847
|
height: {
|
|
841
848
|
control: { type: "range", min: 8, max: 96, step: 2 },
|
|
842
849
|
description: "Height of the icon in pixels",
|
|
@@ -877,6 +884,7 @@ const storyParameters = {
|
|
|
877
884
|
export const Default: Story = {
|
|
878
885
|
args: {
|
|
879
886
|
className: "h-8 w-8 text-emerald-400",
|
|
887
|
+
withAccessibility: true,
|
|
880
888
|
},
|
|
881
889
|
parameters: storyParameters,
|
|
882
890
|
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
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
export interface ForwardTenSecondsIconProps extends React.SVGProps<SVGSVGElement> {
|
|
5
|
+
withAccessibility?: boolean
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const ForwardTenSecondsIcon = (props: ForwardTenSecondsIconProps) => {
|
|
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="44"
|
|
@@ -14,7 +18,7 @@ export const ForwardTenSecondsIcon = (
|
|
|
14
18
|
stroke="currentColor"
|
|
15
19
|
strokeWidth="1.5"
|
|
16
20
|
strokeLinecap="round"
|
|
17
|
-
{...
|
|
21
|
+
{...svgProps}
|
|
18
22
|
>
|
|
19
23
|
<path
|
|
20
24
|
d="M18.5418 28.75V15.5532H16.0186C14.9938 16.1623 13.8433 16.8777 12.8281 17.5932V19.9811C13.7659 19.3335 15.0518 18.531 15.8639 18.0282H15.9509V28.75H18.5418Z"
|
|
@@ -29,5 +33,13 @@ export const ForwardTenSecondsIcon = (
|
|
|
29
33
|
fill="currentColor"
|
|
30
34
|
/>
|
|
31
35
|
</svg>
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
if (withAccessibility) {
|
|
39
|
+
return (
|
|
40
|
+
<AccessibleIcon label="Forward ten seconds icon">{svg}</AccessibleIcon>
|
|
41
|
+
)
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
return svg
|
|
45
|
+
}
|
|
@@ -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 { GitBranchIcon } from "."
|
|
5
5
|
|
|
@@ -218,16 +218,19 @@ function BranchButton() {
|
|
|
218
218
|
</tr>
|
|
219
219
|
</thead>
|
|
220
220
|
<tbody>
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
221
|
+
{" "}
|
|
222
|
+
<tr className="!bg-black/10">
|
|
223
|
+
<td className="px-6 py-4 font-mono text-sm !text-blue-300">
|
|
224
|
+
withAccessibility
|
|
224
225
|
</td>
|
|
225
226
|
<td className="px-6 py-4 text-sm !text-white/70">
|
|
226
|
-
|
|
227
|
+
boolean
|
|
228
|
+
</td>
|
|
229
|
+
<td className="px-6 py-4 text-sm !text-white/50">
|
|
230
|
+
true
|
|
227
231
|
</td>
|
|
228
|
-
<td className="px-6 py-4 text-sm !text-white/50">24</td>
|
|
229
232
|
<td className="px-6 py-4 text-sm !text-white/70">
|
|
230
|
-
|
|
233
|
+
Whether to wrap the icon with accessibility feature
|
|
231
234
|
</td>
|
|
232
235
|
</tr>
|
|
233
236
|
<tr className="border-b border-white/5 !bg-black/10">
|
|
@@ -934,6 +937,10 @@ function BranchButton() {
|
|
|
934
937
|
control: { type: "range", min: 8, max: 96, step: 2 },
|
|
935
938
|
description: "Width of the icon in pixels",
|
|
936
939
|
},
|
|
940
|
+
withAccessibility: {
|
|
941
|
+
control: "boolean",
|
|
942
|
+
description: "Whether to wrap the icon with accessibility features",
|
|
943
|
+
},
|
|
937
944
|
height: {
|
|
938
945
|
control: { type: "range", min: 8, max: 96, step: 2 },
|
|
939
946
|
description: "Height of the icon in pixels",
|
|
@@ -977,6 +984,7 @@ export const Default: Story = {
|
|
|
977
984
|
width: 24,
|
|
978
985
|
height: 24,
|
|
979
986
|
className: "text-indigo-400 ",
|
|
987
|
+
withAccessibility: true,
|
|
980
988
|
},
|
|
981
989
|
parameters: storyParameters,
|
|
982
990
|
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
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
export interface GitBranchIconProps extends React.SVGProps<SVGSVGElement> {
|
|
5
|
+
withAccessibility?: boolean
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const GitBranchIcon = (props: GitBranchIconProps) => {
|
|
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
|
-
{...
|
|
18
|
+
{...svgProps}
|
|
15
19
|
>
|
|
16
20
|
<path
|
|
17
21
|
d="M7.5 12H16.5V8.75M7.5 12V8.5M7.5 12V15.5M16.5 8.25C18.0188 8.25 19.25 7.01878 19.25 5.5C19.25 3.98122 18.0188 2.75 16.5 2.75C14.9812 2.75 13.75 3.98122 13.75 5.5C13.75 7.01878 14.9812 8.25 16.5 8.25ZM7.5 15.75C5.98122 15.75 4.75 16.9812 4.75 18.5C4.75 20.0188 5.98122 21.25 7.5 21.25C9.01878 21.25 10.25 20.0188 10.25 18.5C10.25 16.9812 9.01878 15.75 7.5 15.75ZM7.5 8.25C9.01878 8.25 10.25 7.01878 10.25 5.5C10.25 3.98122 9.01878 2.75 7.5 2.75C5.98122 2.75 4.75 3.98122 4.75 5.5C4.75 7.01878 5.98122 8.25 7.5 8.25Z"
|
|
@@ -20,5 +24,11 @@ export const GitBranchIcon = (
|
|
|
20
24
|
strokeLinecap="square"
|
|
21
25
|
/>
|
|
22
26
|
</svg>
|
|
23
|
-
|
|
24
|
-
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
if (withAccessibility) {
|
|
30
|
+
return <AccessibleIcon label="Git branch icon">{svg}</AccessibleIcon>
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
return svg
|
|
34
|
+
}
|
|
@@ -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 { GitForkIcon } from "."
|
|
5
5
|
|
|
@@ -223,16 +223,19 @@ function ForkButton() {
|
|
|
223
223
|
</tr>
|
|
224
224
|
</thead>
|
|
225
225
|
<tbody>
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
226
|
+
{" "}
|
|
227
|
+
<tr className="!bg-black/10">
|
|
228
|
+
<td className="px-6 py-4 font-mono text-sm !text-blue-300">
|
|
229
|
+
withAccessibility
|
|
229
230
|
</td>
|
|
230
231
|
<td className="px-6 py-4 text-sm !text-white/70">
|
|
231
|
-
|
|
232
|
+
boolean
|
|
233
|
+
</td>
|
|
234
|
+
<td className="px-6 py-4 text-sm !text-white/50">
|
|
235
|
+
true
|
|
232
236
|
</td>
|
|
233
|
-
<td className="px-6 py-4 text-sm !text-white/50">24</td>
|
|
234
237
|
<td className="px-6 py-4 text-sm !text-white/70">
|
|
235
|
-
|
|
238
|
+
Whether to wrap the icon with accessibility feature
|
|
236
239
|
</td>
|
|
237
240
|
</tr>
|
|
238
241
|
<tr className="border-b border-white/5 !bg-black/10">
|
|
@@ -906,6 +909,10 @@ function ForkButton() {
|
|
|
906
909
|
control: { type: "range", min: 8, max: 96, step: 2 },
|
|
907
910
|
description: "Width of the icon in pixels",
|
|
908
911
|
},
|
|
912
|
+
withAccessibility: {
|
|
913
|
+
control: "boolean",
|
|
914
|
+
description: "Whether to wrap the icon with accessibility features",
|
|
915
|
+
},
|
|
909
916
|
height: {
|
|
910
917
|
control: { type: "range", min: 8, max: 96, step: 2 },
|
|
911
918
|
description: "Height of the icon in pixels",
|
|
@@ -940,6 +947,7 @@ export const Default: Story = {
|
|
|
940
947
|
width: 24,
|
|
941
948
|
height: 24,
|
|
942
949
|
className: "text-indigo-400 ",
|
|
950
|
+
withAccessibility: true,
|
|
943
951
|
},
|
|
944
952
|
parameters: storyParameters,
|
|
945
953
|
render: (args) => (
|
|
@@ -1,22 +1,32 @@
|
|
|
1
1
|
import React from "react"
|
|
2
2
|
import { AccessibleIcon } from "@radix-ui/react-accessible-icon"
|
|
3
3
|
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
export interface GitForkIconProps extends React.SVGProps<SVGSVGElement> {
|
|
5
|
+
withAccessibility?: boolean
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const GitForkIcon = (props: GitForkIconProps) => {
|
|
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
|
-
{...
|
|
18
|
+
{...svgProps}
|
|
15
19
|
>
|
|
16
20
|
<path
|
|
17
21
|
d="M6.5 12H5.75V12.75H6.5V12ZM17.5 12V12.75C17.9142 12.75 18.25 12.4142 18.25 12H17.5ZM11.25 12V16H12.75V12H11.25ZM12 11.25H6.5V12.75H12V11.25ZM7.25 12V8H5.75V12H7.25ZM12 12.75H17.5V11.25H12V12.75ZM18.25 12V8H16.75V12H18.25ZM8.5 5.5C8.5 6.60457 7.60457 7.5 6.5 7.5V9C8.433 9 10 7.433 10 5.5H8.5ZM6.5 7.5C5.39543 7.5 4.5 6.60457 4.5 5.5H3C3 7.433 4.567 9 6.5 9V7.5ZM4.5 5.5C4.5 4.39543 5.39543 3.5 6.5 3.5V2C4.567 2 3 3.567 3 5.5H4.5ZM6.5 3.5C7.60457 3.5 8.5 4.39543 8.5 5.5H10C10 3.567 8.433 2 6.5 2V3.5ZM19.5 5.5C19.5 6.60457 18.6046 7.5 17.5 7.5V9C19.433 9 21 7.433 21 5.5H19.5ZM17.5 7.5C16.3954 7.5 15.5 6.60457 15.5 5.5H14C14 7.433 15.567 9 17.5 9V7.5ZM15.5 5.5C15.5 4.39543 16.3954 3.5 17.5 3.5V2C15.567 2 14 3.567 14 5.5H15.5ZM17.5 3.5C18.6046 3.5 19.5 4.39543 19.5 5.5H21C21 3.567 19.433 2 17.5 2V3.5ZM14 18.5C14 19.6046 13.1046 20.5 12 20.5V22C13.933 22 15.5 20.433 15.5 18.5H14ZM12 20.5C10.8954 20.5 10 19.6046 10 18.5H8.5C8.5 20.433 10.067 22 12 22V20.5ZM10 18.5C10 17.3954 10.8954 16.5 12 16.5V15C10.067 15 8.5 16.567 8.5 18.5H10ZM12 16.5C13.1046 16.5 14 17.3954 14 18.5H15.5C15.5 16.567 13.933 15 12 15V16.5Z"
|
|
18
22
|
fill="currentColor"
|
|
19
23
|
/>
|
|
20
24
|
</svg>
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
if (withAccessibility) {
|
|
28
|
+
return <AccessibleIcon label="Git fork icon">{svg}</AccessibleIcon>
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
return svg
|
|
32
|
+
}
|