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,7 +1,7 @@
|
|
|
1
1
|
import React from "react"
|
|
2
2
|
import { ArrowRightIcon } from "@icons/arrow-right-icon"
|
|
3
3
|
import { ChevronDoubleRightIcon } from "@icons/chevron-double-right-icon"
|
|
4
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
4
|
+
import type { Meta, StoryObj } from "@storybook/react-vite"
|
|
5
5
|
|
|
6
6
|
import { Breadcrumb } from "."
|
|
7
7
|
|
|
@@ -31,8 +31,9 @@ export interface BreadCrumbsItemProps {
|
|
|
31
31
|
className?: string
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export interface BreadcrumbProps
|
|
35
|
-
|
|
34
|
+
export interface BreadcrumbProps extends VariantProps<
|
|
35
|
+
typeof breadcrumbVariants
|
|
36
|
+
> {
|
|
36
37
|
items: BreadCrumbsItemProps[]
|
|
37
38
|
onItemClick?: (title: string, url?: string) => void
|
|
38
39
|
className?: string
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react"
|
|
2
2
|
import { Button } from "@components/button"
|
|
3
3
|
import { Label } from "@components/label"
|
|
4
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
4
|
+
import type { Meta, StoryObj } from "@storybook/react-vite"
|
|
5
5
|
|
|
6
6
|
import { Checkbox } from "."
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@ import React from "react"
|
|
|
2
2
|
import { AngleDownIcon } from "@icons/angle-down-icon"
|
|
3
3
|
import { CrossCircleIcon } from "@icons/cross-circle-icon"
|
|
4
4
|
import { FeatureShineIcon } from "@icons/feature-shine-icon"
|
|
5
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
5
|
+
import type { Meta, StoryObj } from "@storybook/react-vite"
|
|
6
6
|
|
|
7
7
|
import { Chip } from "."
|
|
8
8
|
|
|
@@ -2,8 +2,7 @@ import React, { forwardRef, ReactNode } from "react"
|
|
|
2
2
|
import { FeatureShineIcon } from "@icons/feature-shine-icon"
|
|
3
3
|
import { cn } from "@lib/utils"
|
|
4
4
|
|
|
5
|
-
export interface ChipProps
|
|
6
|
-
extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
5
|
+
export interface ChipProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
7
6
|
/** Content to display inside the chip */
|
|
8
7
|
children: React.ReactNode
|
|
9
8
|
/** Sets the chip to selected state */
|
|
@@ -10,7 +10,7 @@ import { EditBigIcon } from "@icons/edit-big-icon"
|
|
|
10
10
|
import { LightBulbSimpleIcon } from "@icons/light-bulb-simple-icon"
|
|
11
11
|
import { TickIcon } from "@icons/tick-icon"
|
|
12
12
|
import { TrashIcon } from "@icons/trash-icon"
|
|
13
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
13
|
+
import type { Meta, StoryObj } from "@storybook/react-vite"
|
|
14
14
|
|
|
15
15
|
import {
|
|
16
16
|
Dialog,
|
|
@@ -192,7 +192,8 @@ export const dialogVariants = cva(
|
|
|
192
192
|
)
|
|
193
193
|
|
|
194
194
|
interface DialogContentProps
|
|
195
|
-
extends
|
|
195
|
+
extends
|
|
196
|
+
React.HTMLAttributes<HTMLDivElement>,
|
|
196
197
|
VariantProps<typeof dialogVariants> {
|
|
197
198
|
showCloseButton?: boolean
|
|
198
199
|
borderConfig?: BorderConfig
|
|
@@ -123,8 +123,9 @@ const dividerVariants = cva("flex-auto", {
|
|
|
123
123
|
},
|
|
124
124
|
})
|
|
125
125
|
|
|
126
|
-
export interface DividerProps
|
|
127
|
-
|
|
126
|
+
export interface DividerProps extends React.ComponentPropsWithoutRef<
|
|
127
|
+
typeof SeparatorPrimitive.Root
|
|
128
|
+
> {
|
|
128
129
|
variant?: "primary" | "secondary" | "stylised" | "dashed"
|
|
129
130
|
size?: "half_default" | "full_default" | "full_medium" | "full_large"
|
|
130
131
|
wrapperClassName?: string
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import Textarea from "@components/textarea"
|
|
15
15
|
import { CrossIcon } from "@icons/cross-icon"
|
|
16
16
|
import { EditBigIcon } from "@icons/edit-big-icon"
|
|
17
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
17
|
+
import type { Meta, StoryObj } from "@storybook/react-vite"
|
|
18
18
|
|
|
19
19
|
import {
|
|
20
20
|
Drawer,
|
|
@@ -82,7 +82,8 @@ export const drawerVariants = cva(
|
|
|
82
82
|
)
|
|
83
83
|
|
|
84
84
|
interface DrawerContentProps
|
|
85
|
-
extends
|
|
85
|
+
extends
|
|
86
|
+
React.HTMLAttributes<HTMLDivElement>,
|
|
86
87
|
VariantProps<typeof drawerVariants> {
|
|
87
88
|
showOverlay?: boolean
|
|
88
89
|
showSwipeButton?: boolean
|
|
@@ -3,7 +3,7 @@ import { Button } from "@components/button"
|
|
|
3
3
|
import { Checkbox } from "@components/checkbox"
|
|
4
4
|
import Input from "@components/input"
|
|
5
5
|
import { zodResolver } from "@hookform/resolvers/zod"
|
|
6
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
6
|
+
import type { Meta, StoryObj } from "@storybook/react-vite"
|
|
7
7
|
import { useForm } from "react-hook-form"
|
|
8
8
|
import { z } from "zod"
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@ import React from "react"
|
|
|
2
2
|
import { CrossIcon } from "@icons/cross-icon"
|
|
3
3
|
import { FeatureShineIcon } from "@icons/feature-shine-icon"
|
|
4
4
|
import { SearchIcon } from "@icons/search-icon"
|
|
5
|
-
import { type Meta, type StoryObj } from "@storybook/react"
|
|
5
|
+
import { type Meta, type StoryObj } from "@storybook/react-vite"
|
|
6
6
|
|
|
7
7
|
import { NotepadIcon } from "src/ui/icons"
|
|
8
8
|
|
|
@@ -60,7 +60,8 @@ export const getIconSize = (size: "small" | "large" | "medium") => {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
export interface IconButtonProps
|
|
63
|
-
extends
|
|
63
|
+
extends
|
|
64
|
+
React.ButtonHTMLAttributes<HTMLButtonElement>,
|
|
64
65
|
Omit<VariantProps<typeof iconButtonVariants>, "disabled"> {
|
|
65
66
|
icon: React.ReactNode | SVGSVGElement
|
|
66
67
|
label: string // Accessible label for the button
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react"
|
|
2
2
|
import HelperText from "@components/helper-text"
|
|
3
3
|
import { AlertIcon, CrossIcon, TickIcon } from "@icons/index"
|
|
4
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
4
|
+
import type { Meta, StoryObj } from "@storybook/react-vite"
|
|
5
5
|
|
|
6
6
|
import Input from "."
|
|
7
7
|
|
|
@@ -15,10 +15,9 @@ import { EyeOpenIcon } from "@icons/eye-open-icon"
|
|
|
15
15
|
import { cn } from "@lib/utils"
|
|
16
16
|
import { cva } from "class-variance-authority"
|
|
17
17
|
|
|
18
|
-
interface InputComponent
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
> {
|
|
18
|
+
interface InputComponent extends ForwardRefExoticComponent<
|
|
19
|
+
InputProps & RefAttributes<HTMLInputElement>
|
|
20
|
+
> {
|
|
22
21
|
Root: typeof InputRoot
|
|
23
22
|
Label: typeof InputLabel
|
|
24
23
|
Wrapper: typeof InputWrapper
|
|
@@ -128,7 +128,8 @@ export const listLabelVariants = cva(
|
|
|
128
128
|
|
|
129
129
|
// Base List Container Component
|
|
130
130
|
export interface ListProps
|
|
131
|
-
extends
|
|
131
|
+
extends
|
|
132
|
+
React.HTMLAttributes<HTMLDivElement>,
|
|
132
133
|
VariantProps<typeof listVariants> {
|
|
133
134
|
borderVariant?: "default" | "error" | "warning" | "success" | "info"
|
|
134
135
|
showBorder?: boolean
|
|
@@ -202,7 +203,8 @@ ListGroup.displayName = "ListGroup"
|
|
|
202
203
|
|
|
203
204
|
// List Item Component
|
|
204
205
|
export interface ListItemProps
|
|
205
|
-
extends
|
|
206
|
+
extends
|
|
207
|
+
React.HTMLAttributes<HTMLDivElement>,
|
|
206
208
|
VariantProps<typeof listItemVariants> {
|
|
207
209
|
selected?: boolean
|
|
208
210
|
disabled?: boolean
|
|
@@ -301,8 +303,10 @@ const ListItem = React.forwardRef<HTMLDivElement, ListItemProps>(
|
|
|
301
303
|
ListItem.displayName = "ListItem"
|
|
302
304
|
|
|
303
305
|
// List Checkbox Item Component
|
|
304
|
-
export interface ListCheckboxItemProps
|
|
305
|
-
|
|
306
|
+
export interface ListCheckboxItemProps extends Omit<
|
|
307
|
+
ListItemProps,
|
|
308
|
+
"showIndicator"
|
|
309
|
+
> {
|
|
306
310
|
checked?: boolean
|
|
307
311
|
onCheckedChange?: (checked: boolean) => void
|
|
308
312
|
}
|
|
@@ -373,8 +377,7 @@ const ListRadioGroupContext =
|
|
|
373
377
|
React.createContext<ListRadioGroupContextValue | null>(null)
|
|
374
378
|
|
|
375
379
|
// List Radio Group Component
|
|
376
|
-
export interface ListRadioGroupProps
|
|
377
|
-
extends React.HTMLAttributes<HTMLDivElement> {
|
|
380
|
+
export interface ListRadioGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
378
381
|
value?: string
|
|
379
382
|
onValueChange?: (value: string) => void
|
|
380
383
|
classes?: {
|
|
@@ -403,8 +406,10 @@ const ListRadioGroup = React.forwardRef<HTMLDivElement, ListRadioGroupProps>(
|
|
|
403
406
|
ListRadioGroup.displayName = "ListRadioGroup"
|
|
404
407
|
|
|
405
408
|
// List Radio Item Component
|
|
406
|
-
export interface ListRadioItemProps
|
|
407
|
-
|
|
409
|
+
export interface ListRadioItemProps extends Omit<
|
|
410
|
+
ListItemProps,
|
|
411
|
+
"showIndicator" | "selected" | "onSelect"
|
|
412
|
+
> {
|
|
408
413
|
value: string
|
|
409
414
|
onSelect?: (value: string) => void
|
|
410
415
|
}
|
|
@@ -479,7 +484,8 @@ ListRadioItem.displayName = "ListRadioItem"
|
|
|
479
484
|
|
|
480
485
|
// List Label Component
|
|
481
486
|
export interface ListLabelProps
|
|
482
|
-
extends
|
|
487
|
+
extends
|
|
488
|
+
React.HTMLAttributes<HTMLDivElement>,
|
|
483
489
|
VariantProps<typeof listLabelVariants> {
|
|
484
490
|
classes?: {
|
|
485
491
|
root?: string
|
|
@@ -505,8 +511,7 @@ const ListLabel = React.forwardRef<HTMLDivElement, ListLabelProps>(
|
|
|
505
511
|
ListLabel.displayName = "ListLabel"
|
|
506
512
|
|
|
507
513
|
// List Separator Component
|
|
508
|
-
export interface ListSeparatorProps
|
|
509
|
-
extends React.HTMLAttributes<HTMLDivElement> {
|
|
514
|
+
export interface ListSeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
510
515
|
classes?: {
|
|
511
516
|
root?: string
|
|
512
517
|
}
|
|
@@ -6,7 +6,7 @@ import { CrossIcon } from "@icons/cross-icon"
|
|
|
6
6
|
import { MaintenanceIcon } from "@icons/maintenance-icon"
|
|
7
7
|
import { SearchIcon } from "@icons/search-icon"
|
|
8
8
|
import { TickCircleIcon } from "@icons/tick-circle-icon"
|
|
9
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
9
|
+
import type { Meta, StoryObj } from "@storybook/react-vite"
|
|
10
10
|
|
|
11
11
|
import { Overlay } from "."
|
|
12
12
|
|
|
@@ -58,8 +58,7 @@ export const usePagination = (): PaginationContextProps => {
|
|
|
58
58
|
* Pagination Primitives
|
|
59
59
|
*/
|
|
60
60
|
// Base pagination container
|
|
61
|
-
export interface PaginationRootProps
|
|
62
|
-
extends React.HTMLAttributes<HTMLDivElement> {
|
|
61
|
+
export interface PaginationRootProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
63
62
|
className?: string
|
|
64
63
|
}
|
|
65
64
|
|
|
@@ -79,8 +78,7 @@ export const PaginationRoot = React.forwardRef<
|
|
|
79
78
|
PaginationRoot.displayName = "PaginationRoot"
|
|
80
79
|
|
|
81
80
|
// Pagination navigation container
|
|
82
|
-
export interface PaginationContentProps
|
|
83
|
-
extends React.ComponentPropsWithoutRef<"nav"> {
|
|
81
|
+
export interface PaginationContentProps extends React.ComponentPropsWithoutRef<"nav"> {
|
|
84
82
|
className?: string
|
|
85
83
|
size?: "sm" | "md" | "lg"
|
|
86
84
|
}
|
|
@@ -117,8 +115,7 @@ interface PaginationSizeSelectorClasses {
|
|
|
117
115
|
}
|
|
118
116
|
|
|
119
117
|
// Page size selector component
|
|
120
|
-
export interface PaginationSizeSelectorProps
|
|
121
|
-
extends React.HTMLAttributes<HTMLDivElement> {
|
|
118
|
+
export interface PaginationSizeSelectorProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
122
119
|
className?: string
|
|
123
120
|
size?: "sm" | "md" | "lg"
|
|
124
121
|
pageSizeOptions?: number[]
|
|
@@ -246,8 +243,7 @@ export const pageButtonVariants = cva(
|
|
|
246
243
|
)
|
|
247
244
|
|
|
248
245
|
// Page button component
|
|
249
|
-
export interface PaginationButtonProps
|
|
250
|
-
extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
246
|
+
export interface PaginationButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
251
247
|
className?: string
|
|
252
248
|
size?: "sm" | "md" | "lg"
|
|
253
249
|
variant?: "number" | "active" | "navigation"
|
|
@@ -266,8 +262,7 @@ export const PaginationButton = React.forwardRef<
|
|
|
266
262
|
PaginationButton.displayName = "PaginationButton"
|
|
267
263
|
|
|
268
264
|
// Ellipsis component
|
|
269
|
-
export interface PaginationEllipsisProps
|
|
270
|
-
extends React.HTMLAttributes<HTMLSpanElement> {
|
|
265
|
+
export interface PaginationEllipsisProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
271
266
|
className?: string
|
|
272
267
|
size?: "sm" | "md" | "lg"
|
|
273
268
|
}
|
|
@@ -2,7 +2,7 @@ import React from "react"
|
|
|
2
2
|
import { Button } from "@components/button"
|
|
3
3
|
import Input from "@components/input"
|
|
4
4
|
import { Label } from "@components/label"
|
|
5
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
5
|
+
import type { Meta, StoryObj } from "@storybook/react-vite"
|
|
6
6
|
|
|
7
7
|
import { FeatureShineIcon } from "src/ui/icons"
|
|
8
8
|
|
|
@@ -17,7 +17,7 @@ import { MaintenanceIcon } from "@icons/maintenance-icon"
|
|
|
17
17
|
import { SearchIcon } from "@icons/search-icon"
|
|
18
18
|
import { SiteLogoIcon } from "@icons/site-logo-icon"
|
|
19
19
|
import { TickCircleIcon } from "@icons/tick-circle-icon"
|
|
20
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
20
|
+
import type { Meta, StoryObj } from "@storybook/react-vite"
|
|
21
21
|
|
|
22
22
|
import {
|
|
23
23
|
Sheet,
|
|
@@ -299,7 +299,8 @@ const closeIconVariants = cva(
|
|
|
299
299
|
)
|
|
300
300
|
|
|
301
301
|
interface SheetContentProps
|
|
302
|
-
extends
|
|
302
|
+
extends
|
|
303
|
+
React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>,
|
|
303
304
|
VariantProps<typeof sheetVariants>,
|
|
304
305
|
ISheetOverlay {
|
|
305
306
|
container: HTMLElement | null
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react"
|
|
2
2
|
import { Badge } from "@components/badge"
|
|
3
3
|
import { Button } from "@components/button"
|
|
4
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
4
|
+
import type { Meta, StoryObj } from "@storybook/react-vite"
|
|
5
5
|
|
|
6
6
|
import { Skeleton } from "."
|
|
7
7
|
|
|
@@ -57,8 +57,9 @@ const sliderThumbVariants = cva(
|
|
|
57
57
|
}
|
|
58
58
|
)
|
|
59
59
|
|
|
60
|
-
interface SliderProps
|
|
61
|
-
|
|
60
|
+
interface SliderProps extends React.ComponentProps<
|
|
61
|
+
typeof SliderPrimitive.Root
|
|
62
|
+
> {
|
|
62
63
|
variant?:
|
|
63
64
|
| "default"
|
|
64
65
|
| "primary"
|
|
@@ -224,8 +224,7 @@ export interface StepperStepProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
export interface StepperContentProps
|
|
228
|
-
extends React.HTMLAttributes<HTMLDivElement> {
|
|
227
|
+
export interface StepperContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
229
228
|
children?: React.ReactNode
|
|
230
229
|
}
|
|
231
230
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react"
|
|
2
2
|
import { Button } from "@components/button"
|
|
3
3
|
import Label from "@components/label"
|
|
4
|
-
import type { Meta, StoryObj } from "@storybook/react"
|
|
4
|
+
import type { Meta, StoryObj } from "@storybook/react-vite"
|
|
5
5
|
|
|
6
6
|
import { CrossIcon, TickIcon } from "src/ui/icons"
|
|
7
7
|
|