@donotdev/components 0.3.1 → 0.3.2
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/advanced/Bento/Bento.js +1 -37
- package/dist/advanced/Bento/index.js +1 -2
- package/dist/advanced/Carousel/Carousel.js +1 -36
- package/dist/advanced/Carousel/CarouselContent.d.ts.map +1 -1
- package/dist/advanced/Carousel/CarouselContent.js +1 -653
- package/dist/advanced/Carousel/CarouselSkeleton.js +1 -51
- package/dist/advanced/Carousel/index.js +1 -2
- package/dist/advanced/Code/Code.js +2 -35
- package/dist/advanced/Code/CodeContent.d.ts.map +1 -1
- package/dist/advanced/Code/CodeContent.js +2 -182
- package/dist/advanced/Code/CodeSkeleton.js +1 -51
- package/dist/advanced/Code/index.js +1 -2
- package/dist/advanced/Crawl/Crawl.d.ts.map +1 -1
- package/dist/advanced/Crawl/Crawl.js +1 -84
- package/dist/advanced/Crawl/CrawlContent.d.ts.map +1 -1
- package/dist/advanced/Crawl/CrawlContent.js +1 -118
- package/dist/advanced/Crawl/index.js +1 -3
- package/dist/advanced/Crawl/utils/parseHtml.js +1 -159
- package/dist/advanced/ImageGallery/GalleryArrows.d.ts.map +1 -1
- package/dist/advanced/ImageGallery/GalleryArrows.js +1 -13
- package/dist/advanced/ImageGallery/ImageGallery.d.ts.map +1 -1
- package/dist/advanced/ImageGallery/ImageGallery.js +1 -181
- package/dist/advanced/ImageGallery/LightboxViewer.js +1 -138
- package/dist/advanced/ImageGallery/index.js +1 -2
- package/dist/advanced/ImageGallery/lightboxGestures.js +1 -425
- package/dist/advanced/ImageGallery/protectImages.js +1 -10
- package/dist/advanced/ImageGallery/snapStrip.d.ts.map +1 -1
- package/dist/advanced/ImageGallery/snapStrip.js +1 -74
- package/dist/advanced/JsonViewer/JsonViewer.js +1 -141
- package/dist/advanced/JsonViewer/index.js +1 -3
- package/dist/advanced/Marquee/Marquee.js +1 -35
- package/dist/advanced/Marquee/MarqueeContent.d.ts.map +1 -1
- package/dist/advanced/Marquee/MarqueeContent.js +1 -193
- package/dist/advanced/Marquee/MarqueeSkeleton.js +1 -36
- package/dist/advanced/Marquee/index.js +1 -3
- package/dist/advanced/Reveal/Reveal.d.ts.map +1 -1
- package/dist/advanced/Reveal/Reveal.js +1 -60
- package/dist/advanced/Reveal/index.js +1 -3
- package/dist/advanced/Roadmap/Roadmap.js +1 -6
- package/dist/advanced/Roadmap/RoadmapContent.d.ts.map +1 -1
- package/dist/advanced/Roadmap/RoadmapContent.js +1 -59
- package/dist/advanced/Roadmap/index.js +1 -3
- package/dist/advanced/SplitReveal/SplitReveal.js +1 -34
- package/dist/advanced/SplitReveal/index.js +1 -2
- package/dist/advanced/StackedCards/StackedCards.js +1 -22
- package/dist/advanced/StackedCards/StackedCardsContent.d.ts.map +1 -1
- package/dist/advanced/StackedCards/StackedCardsContent.js +1 -42
- package/dist/advanced/StackedCards/index.js +1 -3
- package/dist/advanced/index.js +1 -20
- package/dist/atomic/Accordion/AccordionPrimitive.d.ts +5 -1
- package/dist/atomic/Accordion/AccordionPrimitive.d.ts.map +1 -1
- package/dist/atomic/Accordion/AccordionPrimitive.js +1 -29
- package/dist/atomic/Accordion/index.d.ts +9 -1
- package/dist/atomic/Accordion/index.d.ts.map +1 -1
- package/dist/atomic/Accordion/index.js +1 -38
- package/dist/atomic/ActionButton/index.js +1 -70
- package/dist/atomic/ActionButton/useAction.d.ts.map +1 -1
- package/dist/atomic/ActionButton/useAction.js +1 -64
- package/dist/atomic/Alert/index.d.ts +1 -1
- package/dist/atomic/Alert/index.js +1 -78
- package/dist/atomic/AlertDialog/AlertDialogPrimitive.d.ts.map +1 -1
- package/dist/atomic/AlertDialog/AlertDialogPrimitive.js +1 -25
- package/dist/atomic/AlertDialog/index.d.ts.map +1 -1
- package/dist/atomic/AlertDialog/index.js +1 -36
- package/dist/atomic/Avatar/AvatarPrimitive.d.ts.map +1 -1
- package/dist/atomic/Avatar/AvatarPrimitive.js +1 -16
- package/dist/atomic/Avatar/index.js +1 -17
- package/dist/atomic/Badge/index.d.ts +1 -1
- package/dist/atomic/Badge/index.js +1 -84
- package/dist/atomic/Blockquote/index.js +1 -72
- package/dist/atomic/Button/index.d.ts +1 -1
- package/dist/atomic/Button/index.js +1 -173
- package/dist/atomic/ButtonGroup/index.d.ts.map +1 -1
- package/dist/atomic/ButtonGroup/index.js +1 -57
- package/dist/atomic/Calendar/CalendarPrimitive.d.ts.map +1 -1
- package/dist/atomic/Calendar/CalendarPrimitive.js +1 -10
- package/dist/atomic/Calendar/LazyCalendar.d.ts +38 -0
- package/dist/atomic/Calendar/LazyCalendar.d.ts.map +1 -0
- package/dist/atomic/Calendar/LazyCalendar.js +1 -0
- package/dist/atomic/Calendar/index.d.ts.map +1 -1
- package/dist/atomic/Calendar/index.js +1 -74
- package/dist/atomic/CallToAction/index.js +1 -78
- package/dist/atomic/Card/cover.js +1 -40
- package/dist/atomic/Card/index.d.ts +12 -2
- package/dist/atomic/Card/index.d.ts.map +1 -1
- package/dist/atomic/Card/index.js +1 -190
- package/dist/atomic/Checkbox/CheckboxPrimitive.d.ts.map +1 -1
- package/dist/atomic/Checkbox/CheckboxPrimitive.js +1 -26
- package/dist/atomic/Checkbox/index.js +1 -69
- package/dist/atomic/Collapsible/CollapsiblePrimitive.d.ts.map +1 -1
- package/dist/atomic/Collapsible/CollapsiblePrimitive.js +1 -25
- package/dist/atomic/Collapsible/index.d.ts.map +1 -1
- package/dist/atomic/Collapsible/index.js +1 -61
- package/dist/atomic/ColorPicker/index.d.ts.map +1 -1
- package/dist/atomic/ColorPicker/index.js +1 -196
- package/dist/atomic/Combobox/index.d.ts.map +1 -1
- package/dist/atomic/Combobox/index.js +1 -278
- package/dist/atomic/Command/index.d.ts.map +1 -1
- package/dist/atomic/Command/index.js +1 -115
- package/dist/atomic/CommandDialog/index.d.ts.map +1 -1
- package/dist/atomic/CommandDialog/index.js +1 -34
- package/dist/atomic/ContextMenu/ContextMenuPrimitive.d.ts.map +1 -1
- package/dist/atomic/ContextMenu/ContextMenuPrimitive.js +1 -32
- package/dist/atomic/ContextMenu/index.d.ts.map +1 -1
- package/dist/atomic/ContextMenu/index.js +1 -52
- package/dist/atomic/CopyToClipboard/index.d.ts.map +1 -1
- package/dist/atomic/CopyToClipboard/index.js +1 -61
- package/dist/atomic/DatePicker/index.d.ts +3 -1
- package/dist/atomic/DatePicker/index.d.ts.map +1 -1
- package/dist/atomic/DatePicker/index.js +1 -377
- package/dist/atomic/DateTimePicker/index.d.ts +3 -1
- package/dist/atomic/DateTimePicker/index.d.ts.map +1 -1
- package/dist/atomic/DateTimePicker/index.js +1 -460
- package/dist/atomic/DescriptionList/index.js +1 -30
- package/dist/atomic/Dialog/DialogPrimitive.d.ts.map +1 -1
- package/dist/atomic/Dialog/DialogPrimitive.js +1 -20
- package/dist/atomic/Dialog/index.d.ts.map +1 -1
- package/dist/atomic/Dialog/index.js +1 -63
- package/dist/atomic/DropdownMenu/DropdownMenuPrimitive.d.ts.map +1 -1
- package/dist/atomic/DropdownMenu/DropdownMenuPrimitive.js +1 -34
- package/dist/atomic/DropdownMenu/index.d.ts.map +1 -1
- package/dist/atomic/DropdownMenu/index.js +1 -121
- package/dist/atomic/DualCard/index.d.ts.map +1 -1
- package/dist/atomic/DualCard/index.js +1 -42
- package/dist/atomic/FeatureFallback/index.js +1 -32
- package/dist/atomic/FileButton/index.d.ts.map +1 -1
- package/dist/atomic/FileButton/index.js +1 -35
- package/dist/atomic/Grid/GridArea.js +1 -70
- package/dist/atomic/Grid/index.js +1 -118
- package/dist/atomic/HeroSection/index.d.ts +1 -1
- package/dist/atomic/HeroSection/index.js +1 -138
- package/dist/atomic/HoverCard/HoverCardPrimitive.d.ts.map +1 -1
- package/dist/atomic/HoverCard/HoverCardPrimitive.js +1 -19
- package/dist/atomic/HoverCard/index.d.ts.map +1 -1
- package/dist/atomic/HoverCard/index.js +1 -57
- package/dist/atomic/Icons/Icon.js +1 -37
- package/dist/atomic/Icons/IconBox.js +1 -49
- package/dist/atomic/Icons/Partner/AppleIcon.js +1 -31
- package/dist/atomic/Icons/Partner/DiscordIcon.js +1 -15
- package/dist/atomic/Icons/Partner/FacebookIcon.js +1 -15
- package/dist/atomic/Icons/Partner/GitHubIcon.js +1 -15
- package/dist/atomic/Icons/Partner/GoogleIcon.js +1 -15
- package/dist/atomic/Icons/Partner/InstagramIcon.js +1 -29
- package/dist/atomic/Icons/Partner/LinkedinIcon.js +1 -20
- package/dist/atomic/Icons/Partner/MastodonIcon.js +1 -19
- package/dist/atomic/Icons/Partner/MediumIcon.js +1 -19
- package/dist/atomic/Icons/Partner/MicrosoftIcon.js +1 -15
- package/dist/atomic/Icons/Partner/NotionIcon.js +1 -15
- package/dist/atomic/Icons/Partner/RedditIcon.js +1 -15
- package/dist/atomic/Icons/Partner/SlackIcon.js +1 -15
- package/dist/atomic/Icons/Partner/SpotifyIcon.js +1 -15
- package/dist/atomic/Icons/Partner/SupabaseIcon.js +1 -16
- package/dist/atomic/Icons/Partner/TwitchIcon.js +1 -15
- package/dist/atomic/Icons/Partner/XIcon.js +1 -15
- package/dist/atomic/Icons/Partner/YahooIcon.js +1 -15
- package/dist/atomic/Icons/Partner/YouTubeIcon.js +1 -19
- package/dist/atomic/Icons/Partner/index.js +1 -25
- package/dist/atomic/Icons/Partner/providerIcons.js +1 -98
- package/dist/atomic/Icons/index.js +1 -8
- package/dist/atomic/InfiniteScroll/index.d.ts.map +1 -1
- package/dist/atomic/InfiniteScroll/index.js +1 -53
- package/dist/atomic/Input/index.d.ts.map +1 -1
- package/dist/atomic/Input/index.js +1 -63
- package/dist/atomic/Label/FieldInfo.js +1 -34
- package/dist/atomic/Label/FloatingLabel.js +1 -35
- package/dist/atomic/Label/LabelPrimitive.d.ts.map +1 -1
- package/dist/atomic/Label/LabelPrimitive.js +1 -16
- package/dist/atomic/Label/index.js +1 -23
- package/dist/atomic/List/index.js +1 -48
- package/dist/atomic/NavigationMenu/NavigationMenuPrimitive.d.ts.map +1 -1
- package/dist/atomic/NavigationMenu/NavigationMenuPrimitive.js +1 -28
- package/dist/atomic/NavigationMenu/index.js +1 -72
- package/dist/atomic/Pagination/index.d.ts.map +1 -1
- package/dist/atomic/Pagination/index.js +1 -107
- package/dist/atomic/PasswordInput/index.d.ts.map +1 -1
- package/dist/atomic/PasswordInput/index.js +1 -66
- package/dist/atomic/PinInput/index.d.ts.map +1 -1
- package/dist/atomic/PinInput/index.js +1 -155
- package/dist/atomic/Popover/PopoverPrimitive.d.ts.map +1 -1
- package/dist/atomic/Popover/PopoverPrimitive.js +1 -29
- package/dist/atomic/Popover/index.d.ts.map +1 -1
- package/dist/atomic/Popover/index.js +1 -38
- package/dist/atomic/Portal/PortalPrimitive.d.ts.map +1 -1
- package/dist/atomic/Portal/PortalPrimitive.js +1 -21
- package/dist/atomic/Portal/index.js +1 -10
- package/dist/atomic/PortalButton/index.js +1 -33
- package/dist/atomic/Progress/ProgressPrimitive.d.ts.map +1 -1
- package/dist/atomic/Progress/ProgressPrimitive.js +1 -28
- package/dist/atomic/Progress/index.js +1 -15
- package/dist/atomic/QuantityStepper/index.js +1 -239
- package/dist/atomic/QuantityStepper/quantity.js +1 -35
- package/dist/atomic/RadioGroup/RadioGroupPrimitive.d.ts.map +1 -1
- package/dist/atomic/RadioGroup/RadioGroupPrimitive.js +1 -17
- package/dist/atomic/RadioGroup/index.js +1 -63
- package/dist/atomic/RangeInput/index.d.ts.map +1 -1
- package/dist/atomic/RangeInput/index.js +1 -62
- package/dist/atomic/Rating/index.d.ts +1 -1
- package/dist/atomic/Rating/index.d.ts.map +1 -1
- package/dist/atomic/Rating/index.js +1 -115
- package/dist/atomic/ScrollArea/ScrollAreaPrimitive.d.ts.map +1 -1
- package/dist/atomic/ScrollArea/ScrollAreaPrimitive.js +1 -18
- package/dist/atomic/ScrollArea/index.js +1 -22
- package/dist/atomic/Section/index.d.ts +6 -0
- package/dist/atomic/Section/index.d.ts.map +1 -1
- package/dist/atomic/Section/index.js +1 -119
- package/dist/atomic/Select/SelectPrimitive.d.ts.map +1 -1
- package/dist/atomic/Select/SelectPrimitive.js +1 -27
- package/dist/atomic/Select/index.d.ts.map +1 -1
- package/dist/atomic/Select/index.js +1 -58
- package/dist/atomic/Separator/SeparatorPrimitive.d.ts.map +1 -1
- package/dist/atomic/Separator/SeparatorPrimitive.js +1 -15
- package/dist/atomic/Separator/index.js +1 -47
- package/dist/atomic/Sheet/SheetPrimitive.d.ts.map +1 -1
- package/dist/atomic/Sheet/SheetPrimitive.js +1 -24
- package/dist/atomic/Sheet/index.d.ts.map +1 -1
- package/dist/atomic/Sheet/index.js +1 -66
- package/dist/atomic/Skeleton/index.js +1 -73
- package/dist/atomic/SkipLink/index.d.ts.map +1 -1
- package/dist/atomic/SkipLink/index.js +1 -45
- package/dist/atomic/Slider/SliderPrimitive.d.ts.map +1 -1
- package/dist/atomic/Slider/SliderPrimitive.js +1 -35
- package/dist/atomic/Slider/index.d.ts +11 -2
- package/dist/atomic/Slider/index.d.ts.map +1 -1
- package/dist/atomic/Slider/index.js +1 -59
- package/dist/atomic/Slot/SlotPrimitive.d.ts.map +1 -1
- package/dist/atomic/Slot/SlotPrimitive.js +1 -10
- package/dist/atomic/Slot/index.js +1 -21
- package/dist/atomic/Spinner/index.js +1 -72
- package/dist/atomic/Stack/index.js +1 -84
- package/dist/atomic/Stepper/index.d.ts +1 -1
- package/dist/atomic/Stepper/index.d.ts.map +1 -1
- package/dist/atomic/Stepper/index.js +1 -100
- package/dist/atomic/SwipeAction/index.js +1 -62
- package/dist/atomic/Switch/SwitchPrimitive.d.ts.map +1 -1
- package/dist/atomic/Switch/SwitchPrimitive.js +1 -28
- package/dist/atomic/Switch/index.d.ts.map +1 -1
- package/dist/atomic/Switch/index.js +1 -82
- package/dist/atomic/Table/editing.d.ts.map +1 -1
- package/dist/atomic/Table/editing.js +4 -173
- package/dist/atomic/Table/index.d.ts.map +1 -1
- package/dist/atomic/Table/index.js +3 -419
- package/dist/atomic/Tabs/TabsPrimitive.d.ts.map +1 -1
- package/dist/atomic/Tabs/TabsPrimitive.js +1 -17
- package/dist/atomic/Tabs/index.d.ts +1 -1
- package/dist/atomic/Tabs/index.d.ts.map +1 -1
- package/dist/atomic/Tabs/index.js +1 -124
- package/dist/atomic/Tag/index.d.ts.map +1 -1
- package/dist/atomic/Tag/index.js +1 -60
- package/dist/atomic/Text/index.js +3 -116
- package/dist/atomic/Textarea/index.js +1 -20
- package/dist/atomic/Toaster/Toast.types.js +0 -2
- package/dist/atomic/Toaster/ToastPrimitive.d.ts +1 -1
- package/dist/atomic/Toaster/ToastPrimitive.d.ts.map +1 -1
- package/dist/atomic/Toaster/ToastPrimitive.js +1 -68
- package/dist/atomic/Toaster/index.d.ts.map +1 -1
- package/dist/atomic/Toaster/index.js +1 -30
- package/dist/atomic/Toggle/TogglePrimitive.d.ts.map +1 -1
- package/dist/atomic/Toggle/TogglePrimitive.js +1 -16
- package/dist/atomic/Toggle/index.d.ts +1 -1
- package/dist/atomic/Toggle/index.js +1 -41
- package/dist/atomic/ToggleGroup/ToggleGroupPrimitive.d.ts.map +1 -1
- package/dist/atomic/ToggleGroup/ToggleGroupPrimitive.js +1 -36
- package/dist/atomic/ToggleGroup/index.js +1 -64
- package/dist/atomic/Tooltip/TooltipPrimitive.d.ts.map +1 -1
- package/dist/atomic/Tooltip/TooltipPrimitive.js +1 -20
- package/dist/atomic/Tooltip/index.js +1 -84
- package/dist/atomic/TreeView/index.d.ts.map +1 -1
- package/dist/atomic/TreeView/index.js +1 -316
- package/dist/atomic/VideoPlayer/index.d.ts.map +1 -1
- package/dist/atomic/VideoPlayer/index.js +1 -204
- package/dist/atomic/VisuallyHidden/VisuallyHiddenPrimitive.d.ts.map +1 -1
- package/dist/atomic/VisuallyHidden/VisuallyHiddenPrimitive.js +1 -10
- package/dist/atomic/VisuallyHidden/index.js +1 -4
- package/dist/atomic/index.js +1 -124
- package/dist/hooks/index.js +1 -14
- package/dist/hooks/useClickOutside.d.ts.map +1 -1
- package/dist/hooks/useClickOutside.js +1 -128
- package/dist/hooks/useIntersectionObserver.d.ts.map +1 -1
- package/dist/hooks/useIntersectionObserver.js +1 -222
- package/dist/hooks/useSwipeToClose.d.ts.map +1 -1
- package/dist/hooks/useSwipeToClose.js +1 -280
- package/dist/hooks/useToast.d.ts +1 -1
- package/dist/hooks/useToast.d.ts.map +1 -1
- package/dist/hooks/useToast.js +1 -419
- package/dist/hooks/useViewportVisibility.d.ts.map +1 -1
- package/dist/hooks/useViewportVisibility.js +1 -110
- package/dist/index.js +1 -12
- package/dist/rsc.d.ts +47 -0
- package/dist/rsc.d.ts.map +1 -0
- package/dist/rsc.js +1 -0
- package/dist/styles/componentConstants.js +1 -184
- package/dist/styles/index.css +25 -4
- package/dist/styles/index.js +1 -10
- package/dist/symbol-index.json +1 -1
- package/dist/types.js +0 -2
- package/dist/utils/constants.js +1 -62
- package/dist/utils/cssVars.js +1 -10
- package/dist/utils/date.js +1 -130
- package/dist/utils/eventListener.js +1 -57
- package/dist/utils/helpers.js +1 -58
- package/dist/utils/imageRetry.js +1 -35
- package/dist/utils/index.js +1 -24
- package/dist/utils/initRipple.js +6 -84
- package/dist/utils/intersectionObserver.js +1 -184
- package/dist/utils/isDark.d.ts.map +1 -1
- package/dist/utils/isDark.js +1 -69
- package/dist/utils/linkComponent.d.ts.map +1 -1
- package/dist/utils/linkComponent.js +1 -37
- package/dist/utils/measurement.js +1 -197
- package/dist/utils/responsiveImage.js +1 -45
- package/dist/utils/rtl.js +1 -56
- package/dist/utils/sanitizeHtml.js +1 -43
- package/dist/utils/variants.d.ts +1 -1
- package/dist/utils/variants.js +1 -31
- package/dist/utils/viewportDetection.js +1 -86
- package/guidelines/API_REFERENCE.md +34 -0
- package/guidelines/COMPONENTS.md +1 -1
- package/package.json +5 -1
- package/dist/CarouselContent-5W2E2F2I.js +0 -1
- package/dist/CarouselContent-EELYAALW.js +0 -1
- package/dist/CarouselContent-KLQY6OVW.css +0 -1
- package/dist/CarouselContent-MQPZBYOS.js +0 -1
- package/dist/CodeContent-265AM7HO.css +0 -1
- package/dist/CodeContent-64D4U3NM.js +0 -2
- package/dist/CodeContent-7FWYPAB3.js +0 -2
- package/dist/CodeContent-E3HLW6BW.js +0 -2
- package/dist/CrawlContent-5Z6AVDDW.js +0 -1
- package/dist/MarqueeContent-7BVN7TX3.css +0 -1
- package/dist/MarqueeContent-KAYCOUNM.js +0 -1
- package/dist/atomic/SwipeAction/gesture.d.ts +0 -5
- package/dist/atomic/SwipeAction/gesture.d.ts.map +0 -1
- package/dist/atomic/SwipeAction/gesture.js +0 -10
- package/dist/chunk-3WHSDDVJ.js +0 -1
- package/dist/chunk-CIBFOOWV.js +0 -1
- package/dist/chunk-IFHHPSKN.js +0 -1
- package/dist/chunk-JAV36ZQC.js +0 -3
- package/dist/chunk-O2XFH626.js +0 -1
- package/dist/chunk-SZNEXFUZ.js +0 -3
- package/dist/chunk-UTPWB5VD.js +0 -1
- package/dist/chunk-XK52GUFA.js +0 -3
|
@@ -1,138 +1 @@
|
|
|
1
|
-
import {
|
|
2
|
-
// packages/components/src/atomic/HeroSection/index.tsx
|
|
3
|
-
/**
|
|
4
|
-
* @fileoverview Hero Section Component
|
|
5
|
-
* @description Punchy hero section with gradient title, subtitle, and optional children.
|
|
6
|
-
* Title always renders as h1 with maximum impact. Users who need different sizing make their own.
|
|
7
|
-
*
|
|
8
|
-
* **Polymorphic Component**: Can render as `section`, `header`, or `div` based on semantic needs.
|
|
9
|
-
*
|
|
10
|
-
* **Bleed mode:** When `bleed` is set, the hero breaks out of `PageContainer`
|
|
11
|
-
* content constraints to span the full viewport width — ideal for immersive hero banners.
|
|
12
|
-
*
|
|
13
|
-
* **Background image:** When `backgroundImage` is set, a cover image fills the hero
|
|
14
|
-
* with a dark gradient overlay for text readability. Text automatically turns white.
|
|
15
|
-
* Combine with `bleed` for edge-to-edge hero banners.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```tsx
|
|
19
|
-
* // Basic hero
|
|
20
|
-
* <HeroSection
|
|
21
|
-
* title="Build Faster"
|
|
22
|
-
* subtitle="The ultimate framework"
|
|
23
|
-
* badge="New v2.0"
|
|
24
|
-
* >
|
|
25
|
-
* <Button>Get Started</Button>
|
|
26
|
-
* </HeroSection>
|
|
27
|
-
*
|
|
28
|
-
* // Full-width hero with background image
|
|
29
|
-
* <HeroSection
|
|
30
|
-
* bleed
|
|
31
|
-
* backgroundImage="/images/hero-banner.jpg"
|
|
32
|
-
* title="Find Your Dream Home"
|
|
33
|
-
* subtitle="Premium apartments in Paris"
|
|
34
|
-
* fullHeight
|
|
35
|
-
* >
|
|
36
|
-
* <Button>Browse Listings</Button>
|
|
37
|
-
* </HeroSection>
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @version 0.1.0
|
|
41
|
-
* @since 0.0.1
|
|
42
|
-
* @author AMBROISE PARK Consulting
|
|
43
|
-
*/
|
|
44
|
-
import { cva } from 'class-variance-authority';
|
|
45
|
-
import { createElement, forwardRef, } from 'react';
|
|
46
|
-
import { TONE } from '../../utils/constants';
|
|
47
|
-
import { cn } from '../../utils/helpers';
|
|
48
|
-
import Badge, { BADGE_VARIANT } from '../Badge';
|
|
49
|
-
import Stack from '../Stack';
|
|
50
|
-
import Text from '../Text';
|
|
51
|
-
import './HeroSection.css';
|
|
52
|
-
const heroSectionVariants = cva('', {
|
|
53
|
-
variants: {
|
|
54
|
-
variant: {
|
|
55
|
-
primary: '',
|
|
56
|
-
subtle: '',
|
|
57
|
-
accent: '',
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
defaultVariants: {
|
|
61
|
-
variant: 'primary',
|
|
62
|
-
},
|
|
63
|
-
});
|
|
64
|
-
/**
|
|
65
|
-
* Hero section: h1 title, subtitle, optional badge and children (actions).
|
|
66
|
-
* `bleed` spans the viewport width; `backgroundImage` fills it with a cover photo
|
|
67
|
-
* under a readability scrim (text turns white).
|
|
68
|
-
*
|
|
69
|
-
* @example
|
|
70
|
-
* ```tsx
|
|
71
|
-
* <HeroSection title="Build Faster" subtitle="The ultimate framework">
|
|
72
|
-
* <Button>Get Started</Button>
|
|
73
|
-
* </HeroSection>
|
|
74
|
-
* ```
|
|
75
|
-
*
|
|
76
|
-
* @example
|
|
77
|
-
* ```tsx
|
|
78
|
-
* // Editorial photo hero: subject kept in frame on phones, text at the bottom
|
|
79
|
-
* <HeroSection
|
|
80
|
-
* bleed
|
|
81
|
-
* fullHeight
|
|
82
|
-
* backgroundImage="/images/campaign.webp"
|
|
83
|
-
* backgroundPosition="70% 30%"
|
|
84
|
-
* scrim="soft"
|
|
85
|
-
* justify="end"
|
|
86
|
-
* textAlign="start"
|
|
87
|
-
* align="start"
|
|
88
|
-
* title="Spring collection"
|
|
89
|
-
* >
|
|
90
|
-
* <Button>Discover</Button>
|
|
91
|
-
* </HeroSection>
|
|
92
|
-
* ```
|
|
93
|
-
*/
|
|
94
|
-
const HeroSection = forwardRef(function HeroSection({ as = 'section', badge, title, subtitle, variant, fullHeight = false, textAlign = 'center', align = 'center', justify = 'center', tone = TONE.GHOST, bleed = false, backgroundImage, backgroundFit = 'cover', backgroundPosition, scrim = 'full', children, className, style, ...props }, ref) {
|
|
95
|
-
return createElement(as, {
|
|
96
|
-
ref,
|
|
97
|
-
className: cn('dndev-hero-section', bleed && 'dndev-hero-section--bleed', backgroundImage &&
|
|
98
|
-
backgroundFit !== 'contain' &&
|
|
99
|
-
'dndev-hero-section--bg-image', backgroundImage &&
|
|
100
|
-
backgroundFit === 'contain' &&
|
|
101
|
-
'dndev-hero-section--bg-contain', className),
|
|
102
|
-
'data-text-align': textAlign,
|
|
103
|
-
'data-align': align,
|
|
104
|
-
'data-justify': justify,
|
|
105
|
-
'data-variant': variant || undefined,
|
|
106
|
-
'data-tone': tone,
|
|
107
|
-
'data-scrim': backgroundImage && backgroundFit !== 'contain' ? scrim : undefined,
|
|
108
|
-
style: {
|
|
109
|
-
...(fullHeight
|
|
110
|
-
? {
|
|
111
|
-
height: 'calc(100dvh - var(--header-height, 0px) - var(--footer-height, 0px))',
|
|
112
|
-
minHeight: 'calc(100dvh - var(--header-height, 0px) - var(--footer-height, 0px))',
|
|
113
|
-
}
|
|
114
|
-
: {}),
|
|
115
|
-
...style,
|
|
116
|
-
},
|
|
117
|
-
...props,
|
|
118
|
-
}, ...(backgroundFit === 'contain' && backgroundImage
|
|
119
|
-
? [
|
|
120
|
-
_jsx("img", { src: backgroundImage, alt: "", "aria-hidden": "true", className: "dndev-hero-section__img", loading: "eager", fetchPriority: "high", decoding: "async" }, "hero-img"),
|
|
121
|
-
_jsx("div", { className: "dndev-hero-section__text", children: _jsxs(Stack, { children: [badge && _jsx(Badge, { variant: BADGE_VARIANT.ACCENT, children: badge }), title && (_jsx(Text, { as: "div", level: "h1", className: "dndev-hero-title", "data-gradient-text": variant === 'subtle' ? undefined : variant || 'primary', children: title })), subtitle && (_jsx(Text, { as: "p", level: "body", className: "dndev-hero-subtitle", children: subtitle })), children] }) }, "hero-text"),
|
|
122
|
-
]
|
|
123
|
-
: [
|
|
124
|
-
// Cover image as a real <img>, not a CSS background: in the initial HTML the
|
|
125
|
-
// browser's preload scanner finds it and fetches it first (fetchpriority),
|
|
126
|
-
// so the hero photo — the page's LCP — starts loading with the document.
|
|
127
|
-
...(backgroundImage
|
|
128
|
-
? [
|
|
129
|
-
_jsx("img", { src: backgroundImage, alt: "", "aria-hidden": "true", className: "dndev-hero-section__cover", loading: "eager", fetchPriority: "high", decoding: "async", style: backgroundPosition
|
|
130
|
-
? { objectPosition: backgroundPosition }
|
|
131
|
-
: undefined }, "hero-cover"),
|
|
132
|
-
]
|
|
133
|
-
: []),
|
|
134
|
-
_jsxs(Stack, { children: [badge && _jsx(Badge, { variant: BADGE_VARIANT.ACCENT, children: badge }), title && (_jsx(Text, { as: "div", level: "h1", className: "dndev-hero-title", "data-gradient-text": variant === 'subtle' ? undefined : variant || 'primary', children: title })), subtitle && (_jsx(Text, { as: "p", level: "body", className: "dndev-hero-subtitle", children: subtitle })), children] }, "hero-content"),
|
|
135
|
-
]));
|
|
136
|
-
});
|
|
137
|
-
HeroSection.displayName = 'HeroSection';
|
|
138
|
-
export default HeroSection;
|
|
1
|
+
import{cva as R}from"class-variance-authority";import{createElement as _,forwardRef as C}from"react";import{TONE as O}from"../../utils/constants.js";import{cn as V}from"../../utils/helpers.js";import l,{BADGE_VARIANT as h}from"../Badge/index.js";import p from"../Stack/index.js";import d from"../Text/index.js";import{jsx as e,jsxs as m}from"react/jsx-runtime";var L=R("",{variants:{variant:{primary:"",subtle:"",accent:""}},defaultVariants:{variant:"primary"}}),f=C(function({as:v="section",badge:n,title:r,subtitle:i,variant:o,fullHeight:y=!1,textAlign:g="center",align:x="center",justify:T="center",tone:N=O.GHOST,bleed:S=!1,backgroundImage:t,backgroundFit:a="cover",backgroundPosition:s,scrim:u="full",children:c,className:H,style:P,...A},E){return _(v,{ref:E,className:V("dndev-hero-section",S&&"dndev-hero-section--bleed",t&&a!=="contain"&&"dndev-hero-section--bg-image",t&&a==="contain"&&"dndev-hero-section--bg-contain",H),"data-text-align":g,"data-align":x,"data-justify":T,"data-variant":o||void 0,"data-tone":N,"data-scrim":t&&a!=="contain"?u:void 0,style:{...y?{height:"calc(100dvh - var(--header-height, 0px) - var(--footer-height, 0px))",minHeight:"calc(100dvh - var(--header-height, 0px) - var(--footer-height, 0px))"}:{},...P},...A},...a==="contain"&&t?[e("img",{src:t,alt:"","aria-hidden":"true",className:"dndev-hero-section__img",loading:"eager",fetchPriority:"high",decoding:"async"},"hero-img"),e("div",{className:"dndev-hero-section__text",children:m(p,{children:[n&&e(l,{variant:h.ACCENT,children:n}),r&&e(d,{as:"div",level:"h1",className:"dndev-hero-title","data-gradient-text":o==="subtle"?void 0:o||"primary",children:r}),i&&e(d,{as:"p",level:"body",className:"dndev-hero-subtitle",children:i}),c]})},"hero-text")]:[...t?[e("img",{src:t,alt:"","aria-hidden":"true",className:"dndev-hero-section__cover",loading:"eager",fetchPriority:"high",decoding:"async",style:s?{objectPosition:s}:void 0},"hero-cover")]:[],m(p,{children:[n&&e(l,{variant:h.ACCENT,children:n}),r&&e(d,{as:"div",level:"h1",className:"dndev-hero-title","data-gradient-text":o==="subtle"?void 0:o||"primary",children:r}),i&&e(d,{as:"p",level:"body",className:"dndev-hero-subtitle",children:i}),c]},"hero-content")])});f.displayName="HeroSection";var M=f;export{M as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HoverCardPrimitive.d.ts","sourceRoot":"","sources":["../../../src/atomic/HoverCard/HoverCardPrimitive.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HoverCardPrimitive.d.ts","sourceRoot":"","sources":["../../../src/atomic/HoverCard/HoverCardPrimitive.tsx"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AAEH,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,QAAA,MAAM,kBAAkB,GAAI,yBAGzB,cAAc,CAAC,cAAc,gCAE/B,CAAC;AAEF,QAAA,MAAM,gBAAgB,oIAAyB,CAAC;AAEhD,QAAA,MAAM,gBAAgB,GAAI,4CAKvB,cAAc,CAAC,OAAO,cAAc,CAAC,OAAO,CAAC,gCAW/C,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1,19 +1 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
// packages/components/src/atomic/HoverCard/HoverCardPrimitive.tsx
|
|
3
|
-
/**
|
|
4
|
-
* @fileoverview HoverCard primitives
|
|
5
|
-
* @description Radix HoverCard primitives with DoNotDev theming
|
|
6
|
-
*
|
|
7
|
-
* @version 0.1.0
|
|
8
|
-
* @since 0.0.1
|
|
9
|
-
* @author AMBROISE PARK Consulting
|
|
10
|
-
*/
|
|
11
|
-
import * as RadixHoverCard from '@radix-ui/react-hover-card';
|
|
12
|
-
import { cn } from '../../utils/helpers';
|
|
13
|
-
const HoverCardPrimitive = ({ openDelay = 0, ...props }) => (_jsx(RadixHoverCard.Root, { openDelay: openDelay, ...props }));
|
|
14
|
-
const HoverCardTrigger = RadixHoverCard.Trigger;
|
|
15
|
-
const HoverCardContent = ({ className, align = 'center', sideOffset = 4, ...props }) => {
|
|
16
|
-
return (_jsx(RadixHoverCard.Portal, { children: _jsx(RadixHoverCard.Content, { align: align, sideOffset: sideOffset, className: cn(className), ...props }) }));
|
|
17
|
-
};
|
|
18
|
-
export { HoverCardPrimitive };
|
|
19
|
-
export { HoverCardTrigger, HoverCardContent };
|
|
1
|
+
"use client";import*as r from"@radix-ui/react-hover-card";import{cn as i}from"../../utils/helpers.js";import{jsx as a}from"react/jsx-runtime";var C=({openDelay:o=0,...e})=>a(r.Root,{openDelay:o,...e}),p=r.Trigger,v=({className:o,align:e="center",sideOffset:t=4,...d})=>a(r.Portal,{children:a(r.Content,{align:e,sideOffset:t,className:i(o),...d})});export{v as HoverCardContent,C as HoverCardPrimitive,p as HoverCardTrigger};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atomic/HoverCard/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atomic/HoverCard/index.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQvC,OAAa,EAAE,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAE/C,2EAA2E;AAC3E,MAAM,WAAW,cAAe,SAAQ,IAAI,CAC1C,SAAS,EACT,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CACjE;IACC,mDAAmD;IACnD,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,4BAA4B;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,uCAAuC;IACvC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gCAAgC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oCAAoC;IACpC,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACnC,8BAA8B;IAC9B,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC3C,4BAA4B;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,iBAAS,SAAS,CAAC,EACjB,OAAO,EACP,KAAK,EACL,QAAQ,EACR,OAAO,EACP,MAAM,EACN,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,SAAa,EACb,UAAc,EACd,KAAgB,EAChB,IAAe,EACf,UAAc,EACd,SAAS,GACV,EAAE,cAAc,+BA4ChB;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -1,57 +1 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
// packages/components/src/atomic/HoverCard/index.tsx
|
|
3
|
-
/**
|
|
4
|
-
* @fileoverview HoverCard component
|
|
5
|
-
* @description Accessible hover card component built on Radix UI primitives.
|
|
6
|
-
* Accepts Card props and renders a Card internally.
|
|
7
|
-
*
|
|
8
|
-
* @version 0.1.0
|
|
9
|
-
* @since 0.0.1
|
|
10
|
-
* @author AMBROISE PARK Consulting
|
|
11
|
-
*/
|
|
12
|
-
import { useState } from 'react';
|
|
13
|
-
import { HoverCardPrimitive, HoverCardTrigger, HoverCardContent, } from './HoverCardPrimitive';
|
|
14
|
-
import { cn } from '../../utils/helpers';
|
|
15
|
-
import Card, {} from '../Card';
|
|
16
|
-
/**
|
|
17
|
-
* Accessible hover card component.
|
|
18
|
-
* Shows rich content on hover using Radix HoverCard primitive.
|
|
19
|
-
*
|
|
20
|
-
* ⚠️ **Desktop only**: This component uses hover events and does not support touch/click interactions.
|
|
21
|
-
* For mobile/click support, use {@link Popover} instead.
|
|
22
|
-
*
|
|
23
|
-
* Accepts Card props (title, subtitle, content, footer, variant, icon) and renders a Card internally.
|
|
24
|
-
*
|
|
25
|
-
* @component
|
|
26
|
-
* @example
|
|
27
|
-
* ```tsx
|
|
28
|
-
* // Using Card props
|
|
29
|
-
* <HoverCard
|
|
30
|
-
* trigger={<Avatar src="..." />}
|
|
31
|
-
* title="John Doe"
|
|
32
|
-
* subtitle="Software Engineer"
|
|
33
|
-
* content="Building amazing products"
|
|
34
|
-
* />
|
|
35
|
-
*
|
|
36
|
-
* // Using children for full control
|
|
37
|
-
* <HoverCard trigger={<Avatar src="..." />}>
|
|
38
|
-
* <Stack gap="tight">
|
|
39
|
-
* <Text>John Doe</Text>
|
|
40
|
-
* <Text variant="muted">Software Engineer</Text>
|
|
41
|
-
* </Stack>
|
|
42
|
-
* </HoverCard>
|
|
43
|
-
* ```
|
|
44
|
-
* @param {HoverCardProps} props - The props for the hover card
|
|
45
|
-
* @returns {JSX.Element} The rendered hover card
|
|
46
|
-
*/
|
|
47
|
-
function HoverCard({ trigger, title, subtitle, content, footer, icon, variant, children, open, onOpenChange, openDelay = 0, closeDelay = 0, align = 'center', side = 'bottom', sideOffset = 4, className, }) {
|
|
48
|
-
const hasCardProps = !!(title ||
|
|
49
|
-
subtitle ||
|
|
50
|
-
content ||
|
|
51
|
-
footer ||
|
|
52
|
-
icon ||
|
|
53
|
-
variant);
|
|
54
|
-
const cardContent = hasCardProps ? (_jsx(Card, { title: title, subtitle: subtitle, content: content, footer: footer, icon: icon, variant: variant })) : (children);
|
|
55
|
-
return (_jsxs(HoverCardPrimitive, { open: open, onOpenChange: onOpenChange, openDelay: openDelay, closeDelay: closeDelay, children: [trigger && _jsx(HoverCardTrigger, { asChild: true, children: trigger }), _jsx(HoverCardContent, { align: align, side: side, sideOffset: sideOffset, className: cn('dndev-z-tooltip dndev-hovercard-content', !hasCardProps && 'dndev-surface', className), children: cardContent })] }));
|
|
56
|
-
}
|
|
57
|
-
export default HoverCard;
|
|
1
|
+
"use client";import"react";import{HoverCardPrimitive as b,HoverCardTrigger as P,HoverCardContent as h}from"./HoverCardPrimitive.js";import{cn as y}from"../../utils/helpers.js";import N from"../Card/index.js";import{jsx as e,jsxs as O}from"react/jsx-runtime";function D({trigger:o,title:r,subtitle:t,content:n,footer:a,icon:d,variant:i,children:c,open:p,onOpenChange:l,openDelay:C=0,closeDelay:m=0,align:v="center",side:f="bottom",sideOffset:g=4,className:u}){let s=!!(r||t||n||a||d||i),H=s?e(N,{title:r,subtitle:t,content:n,footer:a,icon:d,variant:i}):c;return O(b,{open:p,onOpenChange:l,openDelay:C,closeDelay:m,children:[o&&e(P,{asChild:!0,children:o}),e(h,{align:v,side:f,sideOffset:g,className:y("dndev-z-tooltip dndev-hovercard-content",!s&&"dndev-surface",u),children:H})]})}var S=D;export{S as default};
|
|
@@ -1,37 +1 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { isValidElement } from 'react';
|
|
3
|
-
import { cn } from '../../utils/helpers';
|
|
4
|
-
const Icon = ({ icon, fallback, className, ariaHidden = false, }) => {
|
|
5
|
-
const iconToRender = icon || fallback;
|
|
6
|
-
const isEmoji = typeof iconToRender === 'string' && !/^[a-zA-Z0-9_-]+$/.test(iconToRender);
|
|
7
|
-
if (!iconToRender)
|
|
8
|
-
return null;
|
|
9
|
-
const sizeClass = 'dndev-size-md';
|
|
10
|
-
// Type 1: Lucide component (function)
|
|
11
|
-
if (typeof iconToRender === 'function' ||
|
|
12
|
-
(typeof iconToRender === 'object' &&
|
|
13
|
-
iconToRender !== null &&
|
|
14
|
-
'render' in iconToRender)) {
|
|
15
|
-
const IconComponent = iconToRender;
|
|
16
|
-
return (_jsx(IconComponent, { className: cn(sizeClass, 'dndev-flex-shrink-0', className), "aria-hidden": ariaHidden || undefined }));
|
|
17
|
-
}
|
|
18
|
-
// Type 2: String (emoji only - no dynamic icon name lookup for tree-shaking)
|
|
19
|
-
if (typeof iconToRender === 'string') {
|
|
20
|
-
if (isEmoji) {
|
|
21
|
-
return (_jsx("span", { className: cn('dndev-inline-flex dndev-items-center dndev-justify-center', sizeClass, className), "aria-hidden": ariaHidden, children: iconToRender }));
|
|
22
|
-
}
|
|
23
|
-
// Non-emoji string: Not supported (would require full lucide-react import)
|
|
24
|
-
// Use Icon from @donotdev/ui for dynamic string icon resolution
|
|
25
|
-
if (process.env.NODE_ENV === 'development') {
|
|
26
|
-
console.warn(`Icon component from @donotdev/components does not support Lucide icon name strings. Use Icon from @donotdev/ui for dynamic string resolution, or import the icon component directly. Received: "${iconToRender}"`);
|
|
27
|
-
}
|
|
28
|
-
return null;
|
|
29
|
-
}
|
|
30
|
-
// Type 3: ReactNode (custom content)
|
|
31
|
-
if (isValidElement(iconToRender)) {
|
|
32
|
-
return (_jsx("span", { className: cn('dndev-inline-flex dndev-items-center dndev-justify-center', className), "aria-hidden": ariaHidden, children: iconToRender }));
|
|
33
|
-
}
|
|
34
|
-
// Fallback: render as-is
|
|
35
|
-
return (_jsx("span", { className: cn('dndev-inline-flex dndev-items-center dndev-justify-center', className), "aria-hidden": ariaHidden, children: iconToRender }));
|
|
36
|
-
};
|
|
37
|
-
export default Icon;
|
|
1
|
+
import{isValidElement as p}from"react";import{cn as t}from"../../utils/helpers.js";import{jsx as i}from"react/jsx-runtime";var a=({icon:d,fallback:s,className:n,ariaHidden:o=!1})=>{let e=d||s,c=typeof e=="string"&&!/^[a-zA-Z0-9_-]+$/.test(e);if(!e)return null;let r="dndev-size-md";return typeof e=="function"||typeof e=="object"&&e!==null&&"render"in e?i(e,{className:t(r,"dndev-flex-shrink-0",n),"aria-hidden":o||void 0}):typeof e=="string"?c?i("span",{className:t("dndev-inline-flex dndev-items-center dndev-justify-center",r,n),"aria-hidden":o,children:e}):null:p(e)?i("span",{className:t("dndev-inline-flex dndev-items-center dndev-justify-center",n),"aria-hidden":o,children:e}):i("span",{className:t("dndev-inline-flex dndev-items-center dndev-justify-center",n),"aria-hidden":o,children:e})},u=a;export{u as default};
|
|
@@ -1,49 +1 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import Icon from './Icon';
|
|
3
|
-
import './IconBox.css';
|
|
4
|
-
/**
|
|
5
|
-
* IconBox Component
|
|
6
|
-
*
|
|
7
|
-
* A 48px touch target container for icons (Lucide, emoji, or custom).
|
|
8
|
-
* Provides consistent sizing and styling for icon containers across the framework.
|
|
9
|
-
*
|
|
10
|
-
* Features:
|
|
11
|
-
* - 48px default size (touch target standard)
|
|
12
|
-
* - Inherits card/theme styles automatically
|
|
13
|
-
* - Works with Lucide icons, emojis, and custom ReactNode
|
|
14
|
-
* - Smart default sizing for emojis
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```tsx
|
|
18
|
-
* import { Home } from 'lucide-react';
|
|
19
|
-
*
|
|
20
|
-
* // Lucide icon - default 48px (standalone)
|
|
21
|
-
* <IconBox icon={Home} />
|
|
22
|
-
*
|
|
23
|
-
* // Emoji - default 48px
|
|
24
|
-
* <IconBox icon="🏗️" />
|
|
25
|
-
*
|
|
26
|
-
* // Embedded icon - 20px
|
|
27
|
-
* <IconBox icon={Home} />
|
|
28
|
-
*
|
|
29
|
-
* // Custom size
|
|
30
|
-
* <IconBox icon="❤️" size={64} />
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @param {IconBoxProps} props - Component props
|
|
34
|
-
* @returns {JSX.Element} Icon box component
|
|
35
|
-
* @version 0.1.0
|
|
36
|
-
* @since 0.0.1
|
|
37
|
-
* @author AMBROISE PARK Consulting
|
|
38
|
-
*/
|
|
39
|
-
const IconBox = ({ icon, className, ariaHidden = false, tooltip, }) => {
|
|
40
|
-
return (_jsx("div", { className: `dndev-icon-box ${className || ''}`, title: tooltip, children: _jsx(Icon, { icon: icon, ariaHidden: ariaHidden }) }));
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* Default export of icon box component
|
|
44
|
-
*
|
|
45
|
-
* @version 0.1.0
|
|
46
|
-
* @since 0.0.1
|
|
47
|
-
* @author AMBROISE PARK Consulting
|
|
48
|
-
*/
|
|
49
|
-
export default IconBox;
|
|
1
|
+
import i from"./Icon.js";import{jsx as o}from"react/jsx-runtime";var r=({icon:e,className:n,ariaHidden:t=!1,tooltip:p})=>o("div",{className:`dndev-icon-box ${n||""}`,title:p,children:o(i,{icon:e,ariaHidden:t})}),a=r;export{a as default};
|
|
@@ -1,31 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
// packages/components/src/atomic/Icons/Partner/AppleIcon.tsx
|
|
3
|
-
/**
|
|
4
|
-
* @fileoverview Apple Icon Component
|
|
5
|
-
* @description React component for rendering the Apple icon. SVG-based icon component for authentication providers.
|
|
6
|
-
*
|
|
7
|
-
* @version 0.1.0
|
|
8
|
-
* @since 0.0.1
|
|
9
|
-
* @author AMBROISE PARK Consulting
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Apple icon component
|
|
13
|
-
*
|
|
14
|
-
* Renders the Apple logo as an SVG icon.
|
|
15
|
-
*
|
|
16
|
-
* @param {Object} props - Component props
|
|
17
|
-
* @param {string} [props.className] - Additional CSS classes
|
|
18
|
-
* @returns {JSX.Element} Apple icon component
|
|
19
|
-
* @version 0.1.0
|
|
20
|
-
* @since 0.0.1
|
|
21
|
-
* @author AMBROISE PARK Consulting
|
|
22
|
-
*/
|
|
23
|
-
const AppleIcon = ({ className = '', }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", className: className, "aria-hidden": "true", children: [_jsx("circle", { cx: "12", cy: "12", r: "12", fill: "white" }), _jsx("path", { fill: "#000000", d: "M14.94 5.19A4.38 4.38 0 0 0 16 2a4.38 4.38 0 0 0-3 1.52 4.09 4.09 0 0 0-1 3.09 3.6 3.6 0 0 0 2.94-1.42zm2.52 7.44a4.51 4.51 0 0 1 2.16-3.81 4.66 4.66 0 0 0-3.66-2c-1.56-.16-3 .91-3.83.91s-2-.89-3.3-.87a4.92 4.92 0 0 0-4.14 2.53C2.93 12.45 4.24 17 6 19.47c.8 1.36 1.8 2.86 3.11 2.8s1.69-.88 3.17-.88 1.9.88 3.19.85 2.18-1.29 3-2.65a11.29 11.29 0 0 0 1.35-2.85 4.4 4.1 0 0 1-2.36-3.11z" })] }));
|
|
24
|
-
/**
|
|
25
|
-
* Default export of Apple icon component
|
|
26
|
-
*
|
|
27
|
-
* @version 0.1.0
|
|
28
|
-
* @since 0.0.1
|
|
29
|
-
* @author AMBROISE PARK Consulting
|
|
30
|
-
*/
|
|
31
|
-
export default AppleIcon;
|
|
1
|
+
import{jsx as a,jsxs as c}from"react/jsx-runtime";var s=({className:e=""})=>c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:e,"aria-hidden":"true",children:[a("circle",{cx:"12",cy:"12",r:"12",fill:"white"}),a("path",{fill:"#000000",d:"M14.94 5.19A4.38 4.38 0 0 0 16 2a4.38 4.38 0 0 0-3 1.52 4.09 4.09 0 0 0-1 3.09 3.6 3.6 0 0 0 2.94-1.42zm2.52 7.44a4.51 4.51 0 0 1 2.16-3.81 4.66 4.66 0 0 0-3.66-2c-1.56-.16-3 .91-3.83.91s-2-.89-3.3-.87a4.92 4.92 0 0 0-4.14 2.53C2.93 12.45 4.24 17 6 19.47c.8 1.36 1.8 2.86 3.11 2.8s1.69-.88 3.17-.88 1.9.88 3.19.85 2.18-1.29 3-2.65a11.29 11.29 0 0 0 1.35-2.85 4.4 4.1 0 0 1-2.36-3.11z"})]}),l=s;export{l as default};
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
// packages/components/src/atomic/Icons/Partner/DiscordIcon.tsx
|
|
3
|
-
/**
|
|
4
|
-
* @fileoverview Discord Icon Component
|
|
5
|
-
* @description React component for rendering the Discord icon. SVG-based icon component for authentication providers.
|
|
6
|
-
*
|
|
7
|
-
* @version 0.1.0
|
|
8
|
-
* @since 0.0.1
|
|
9
|
-
* @author AMBROISE PARK Consulting
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Discord icon component
|
|
13
|
-
*/
|
|
14
|
-
const DiscordIcon = ({ className = 'dndev-size-md', }) => (_jsxs("svg", { className: className, viewBox: "0 0 24 24", children: [_jsx("circle", { cx: "12", cy: "12", r: "12", fill: "white" }), _jsx("path", { fill: "#5865F2", d: "M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z" })] }));
|
|
15
|
-
export default DiscordIcon;
|
|
1
|
+
import{jsx as c,jsxs as s}from"react/jsx-runtime";var e=({className:a="dndev-size-md"})=>s("svg",{className:a,viewBox:"0 0 24 24",children:[c("circle",{cx:"12",cy:"12",r:"12",fill:"white"}),c("path",{fill:"#5865F2",d:"M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z"})]}),l=e;export{l as default};
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
// packages/components/src/atomic/Icons/Partner/FacebookIcon.tsx
|
|
3
|
-
/**
|
|
4
|
-
* @fileoverview Facebook Icon Component
|
|
5
|
-
* @description React component for rendering the Facebook icon. SVG-based icon component for authentication providers.
|
|
6
|
-
*
|
|
7
|
-
* @version 0.1.0
|
|
8
|
-
* @since 0.0.1
|
|
9
|
-
* @author AMBROISE PARK Consulting
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Facebook icon component
|
|
13
|
-
*/
|
|
14
|
-
const FacebookIcon = ({ className = '', }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 48 48", className: className, "aria-hidden": "true", children: [_jsx("circle", { cx: "24", cy: "24", r: "24", fill: "white" }), _jsx("path", { fill: "#1877F2", d: "M44 24c0-11.046-8.954-20-20-20S4 12.954 4 24c0 9.984 7.287 18.254 16.834 19.76v-13.99H15.39V24h5.444v-4.722c0-5.38 3.206-8.34 8.097-8.34 2.344 0 4.797.42 4.797.42v5.276h-2.711c-2.666 0-3.498 1.656-3.498 3.352V24h5.94l-.948 6.03h-4.992v13.99C36.713 42.254 44 33.984 44 24z" })] }));
|
|
15
|
-
export default FacebookIcon;
|
|
1
|
+
import{jsx as c,jsxs as a}from"react/jsx-runtime";var l=({className:e=""})=>a("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",className:e,"aria-hidden":"true",children:[c("circle",{cx:"24",cy:"24",r:"24",fill:"white"}),c("path",{fill:"#1877F2",d:"M44 24c0-11.046-8.954-20-20-20S4 12.954 4 24c0 9.984 7.287 18.254 16.834 19.76v-13.99H15.39V24h5.444v-4.722c0-5.38 3.206-8.34 8.097-8.34 2.344 0 4.797.42 4.797.42v5.276h-2.711c-2.666 0-3.498 1.656-3.498 3.352V24h5.94l-.948 6.03h-4.992v13.99C36.713 42.254 44 33.984 44 24z"})]}),o=l;export{o as default};
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
// packages/components/src/atomic/Icons/Partner/GitHubIcon.tsx
|
|
3
|
-
/**
|
|
4
|
-
* @fileoverview GitHub Icon Component
|
|
5
|
-
* @description React component for rendering the GitHub icon. SVG-based icon component for authentication providers.
|
|
6
|
-
*
|
|
7
|
-
* @version 0.1.0
|
|
8
|
-
* @since 0.0.1
|
|
9
|
-
* @author AMBROISE PARK Consulting
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* GitHub icon component
|
|
13
|
-
*/
|
|
14
|
-
const GitHubIcon = ({ className = '', }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", className: className, "aria-hidden": "true", children: [_jsx("circle", { cx: "12", cy: "12", r: "12", fill: "white" }), _jsx("path", { fill: "#24292E", d: "M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" })] }));
|
|
15
|
-
export default GitHubIcon;
|
|
1
|
+
import{jsx as c,jsxs as l}from"react/jsx-runtime";var t=({className:e=""})=>l("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:e,"aria-hidden":"true",children:[c("circle",{cx:"12",cy:"12",r:"12",fill:"white"}),c("path",{fill:"#24292E",d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]}),s=t;export{s as default};
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
// packages/components/src/atomic/Icons/Partner/GoogleIcon.tsx
|
|
3
|
-
/**
|
|
4
|
-
* @fileoverview Google Icon Component
|
|
5
|
-
* @description React component for rendering the Google icon. SVG-based icon component for authentication providers.
|
|
6
|
-
*
|
|
7
|
-
* @version 0.1.0
|
|
8
|
-
* @since 0.0.1
|
|
9
|
-
* @author AMBROISE PARK Consulting
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Google icon component
|
|
13
|
-
*/
|
|
14
|
-
const GoogleIcon = ({ className = '', }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 48 48", className: className, "aria-hidden": "true", children: [_jsx("circle", { cx: "24", cy: "24", r: "24", fill: "white" }), _jsx("path", { fill: "#EA4335", d: "M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z" }), _jsx("path", { fill: "#4285F4", d: "M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z" }), _jsx("path", { fill: "#FBBC05", d: "M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z" }), _jsx("path", { fill: "#34A853", d: "M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z" })] }));
|
|
15
|
-
export default GoogleIcon;
|
|
1
|
+
import{jsx as l,jsxs as a}from"react/jsx-runtime";var t=({className:c=""})=>a("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",className:c,"aria-hidden":"true",children:[l("circle",{cx:"24",cy:"24",r:"24",fill:"white"}),l("path",{fill:"#EA4335",d:"M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"}),l("path",{fill:"#4285F4",d:"M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"}),l("path",{fill:"#FBBC05",d:"M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"}),l("path",{fill:"#34A853",d:"M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"})]}),e=t;export{e as default};
|
|
@@ -1,29 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
// packages/components/src/atomic/Icons/Partner/InstagramIcon.tsx
|
|
4
|
-
/**
|
|
5
|
-
* @fileoverview Instagram Icon Component
|
|
6
|
-
* @description React component for rendering the full-colour Instagram logo. SVG-based partner icon.
|
|
7
|
-
*
|
|
8
|
-
* @version 0.1.0
|
|
9
|
-
* @since 0.2.2
|
|
10
|
-
* @author AMBROISE PARK Consulting
|
|
11
|
-
*/
|
|
12
|
-
import { useId } from 'react';
|
|
13
|
-
const TILE = 'M65.03 0C37.888 0 29.95.028 28.407.156c-5.57.463-9.036 1.34-12.812 3.22-2.91 1.445-5.205 3.12-7.47 5.468C4 13.126 1.5 18.394.595 24.656c-.44 3.04-.568 3.66-.594 19.188-.01 5.176 0 11.988 0 21.125 0 27.12.03 35.05.16 36.59.45 5.42 1.3 8.83 3.1 12.56 3.44 7.14 10.01 12.5 17.75 14.5 2.68.69 5.64 1.07 9.44 1.25 1.61.07 18.02.12 34.44.12 16.42 0 32.84-.02 34.41-.1 4.4-.207 6.955-.55 9.78-1.28 7.79-2.01 14.24-7.29 17.75-14.53 1.765-3.64 2.66-7.18 3.065-12.317.088-1.12.125-18.977.125-36.81 0-17.836-.04-35.66-.128-36.78-.41-5.22-1.305-8.73-3.127-12.44-1.495-3.037-3.155-5.305-5.565-7.624C116.9 4 111.64 1.5 105.372.596 102.335.157 101.73.027 86.19 0H65.03z';
|
|
14
|
-
const GLYPH = 'M66.004 18c-13.036 0-14.672.057-19.792.29-5.11.234-8.598 1.043-11.65 2.23-3.157 1.226-5.835 2.866-8.503 5.535-2.67 2.668-4.31 5.346-5.54 8.502-1.19 3.053-2 6.542-2.23 11.65C18.06 51.327 18 52.964 18 66s.058 14.667.29 19.787c.235 5.11 1.044 8.598 2.23 11.65 1.227 3.157 2.867 5.835 5.536 8.503 2.667 2.67 5.345 4.314 8.5 5.54 3.054 1.187 6.543 1.996 11.652 2.23 5.12.233 6.755.29 19.79.29 13.037 0 14.668-.057 19.788-.29 5.11-.234 8.602-1.043 11.656-2.23 3.156-1.226 5.83-2.87 8.497-5.54 2.67-2.668 4.31-5.346 5.54-8.502 1.18-3.053 1.99-6.542 2.23-11.65.23-5.12.29-6.752.29-19.788 0-13.036-.06-14.672-.29-19.792-.24-5.11-1.05-8.598-2.23-11.65-1.23-3.157-2.87-5.835-5.54-8.503-2.67-2.67-5.34-4.31-8.5-5.535-3.06-1.187-6.55-1.996-11.66-2.23-5.12-.233-6.75-.29-19.79-.29zm-4.306 8.65c1.278-.002 2.704 0 4.306 0 12.816 0 14.335.046 19.396.276 4.68.214 7.22.996 8.912 1.653 2.24.87 3.837 1.91 5.516 3.59 1.68 1.68 2.72 3.28 3.592 5.52.657 1.69 1.44 4.23 1.653 8.91.23 5.06.28 6.58.28 19.39s-.05 14.33-.28 19.39c-.214 4.68-.996 7.22-1.653 8.91-.87 2.24-1.912 3.835-3.592 5.514-1.68 1.68-3.275 2.72-5.516 3.59-1.69.66-4.232 1.44-8.912 1.654-5.06.23-6.58.28-19.396.28-12.817 0-14.336-.05-19.396-.28-4.68-.216-7.22-.998-8.913-1.655-2.24-.87-3.84-1.91-5.52-3.59-1.68-1.68-2.72-3.276-3.592-5.517-.657-1.69-1.44-4.23-1.653-8.91-.23-5.06-.276-6.58-.276-19.398s.046-14.33.276-19.39c.214-4.68.996-7.22 1.653-8.912.87-2.24 1.912-3.84 3.592-5.52 1.68-1.68 3.28-2.72 5.52-3.592 1.692-.66 4.233-1.44 8.913-1.655 4.428-.2 6.144-.26 15.09-.27zm29.928 7.97c-3.18 0-5.76 2.577-5.76 5.758 0 3.18 2.58 5.76 5.76 5.76 3.18 0 5.76-2.58 5.76-5.76 0-3.18-2.58-5.76-5.76-5.76zm-25.622 6.73c-13.613 0-24.65 11.037-24.65 24.65 0 13.613 11.037 24.645 24.65 24.645C79.617 90.645 90.65 79.613 90.65 66S79.616 41.35 66.003 41.35zm0 8.65c8.836 0 16 7.163 16 16 0 8.836-7.164 16-16 16-8.837 0-16-7.164-16-16 0-8.837 7.163-16 16-16z';
|
|
15
|
-
/**
|
|
16
|
-
* Instagram icon component
|
|
17
|
-
* Renders the full-colour Instagram logo as an SVG. Gradient ids are per instance, so
|
|
18
|
-
* a hidden copy on the page (responsive layouts) cannot blank out a visible one.
|
|
19
|
-
* @param {object} props - Component props.
|
|
20
|
-
* @param {string} [props.className] - Optional CSS class name to apply to the SVG element.
|
|
21
|
-
* @returns {React.ReactElement} The Instagram icon SVG component.
|
|
22
|
-
*/
|
|
23
|
-
const InstagramIcon = ({ className = '', }) => {
|
|
24
|
-
const id = useId();
|
|
25
|
-
const warm = `${id}-warm`;
|
|
26
|
-
const cool = `${id}-cool`;
|
|
27
|
-
return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 132.004 132", className: className, "aria-hidden": "true", children: [_jsxs("defs", { children: [_jsxs("radialGradient", { id: warm, cx: "158.429", cy: "578.088", fx: "158.429", fy: "578.088", r: "65", gradientUnits: "userSpaceOnUse", gradientTransform: "matrix(0 -1.98198 1.8439 0 -1031.402 454.004)", children: [_jsx("stop", { offset: "0", stopColor: "#fd5" }), _jsx("stop", { offset: ".1", stopColor: "#fd5" }), _jsx("stop", { offset: ".5", stopColor: "#ff543e" }), _jsx("stop", { offset: "1", stopColor: "#c837ab" })] }), _jsxs("radialGradient", { id: cool, cx: "147.694", cy: "473.455", fx: "147.694", fy: "473.455", r: "65", gradientUnits: "userSpaceOnUse", gradientTransform: "matrix(.17394 .86872 -3.5818 .71718 1648.348 -458.493)", children: [_jsx("stop", { offset: "0", stopColor: "#3771c8" }), _jsx("stop", { offset: ".128", stopColor: "#3771c8" }), _jsx("stop", { offset: "1", stopColor: "#60f", stopOpacity: "0" })] })] }), _jsx("path", { fill: `url(#${warm})`, d: TILE, transform: "translate(1.004 1)" }), _jsx("path", { fill: `url(#${cool})`, d: TILE, transform: "translate(1.004 1)" }), _jsx("path", { fill: "#fff", d: GLYPH })] }));
|
|
28
|
-
};
|
|
29
|
-
export default InstagramIcon;
|
|
1
|
+
"use client";import{useId as c}from"react";import{jsx as t,jsxs as o}from"react/jsx-runtime";var e="M65.03 0C37.888 0 29.95.028 28.407.156c-5.57.463-9.036 1.34-12.812 3.22-2.91 1.445-5.205 3.12-7.47 5.468C4 13.126 1.5 18.394.595 24.656c-.44 3.04-.568 3.66-.594 19.188-.01 5.176 0 11.988 0 21.125 0 27.12.03 35.05.16 36.59.45 5.42 1.3 8.83 3.1 12.56 3.44 7.14 10.01 12.5 17.75 14.5 2.68.69 5.64 1.07 9.44 1.25 1.61.07 18.02.12 34.44.12 16.42 0 32.84-.02 34.41-.1 4.4-.207 6.955-.55 9.78-1.28 7.79-2.01 14.24-7.29 17.75-14.53 1.765-3.64 2.66-7.18 3.065-12.317.088-1.12.125-18.977.125-36.81 0-17.836-.04-35.66-.128-36.78-.41-5.22-1.305-8.73-3.127-12.44-1.495-3.037-3.155-5.305-5.565-7.624C116.9 4 111.64 1.5 105.372.596 102.335.157 101.73.027 86.19 0H65.03z",n="M66.004 18c-13.036 0-14.672.057-19.792.29-5.11.234-8.598 1.043-11.65 2.23-3.157 1.226-5.835 2.866-8.503 5.535-2.67 2.668-4.31 5.346-5.54 8.502-1.19 3.053-2 6.542-2.23 11.65C18.06 51.327 18 52.964 18 66s.058 14.667.29 19.787c.235 5.11 1.044 8.598 2.23 11.65 1.227 3.157 2.867 5.835 5.536 8.503 2.667 2.67 5.345 4.314 8.5 5.54 3.054 1.187 6.543 1.996 11.652 2.23 5.12.233 6.755.29 19.79.29 13.037 0 14.668-.057 19.788-.29 5.11-.234 8.602-1.043 11.656-2.23 3.156-1.226 5.83-2.87 8.497-5.54 2.67-2.668 4.31-5.346 5.54-8.502 1.18-3.053 1.99-6.542 2.23-11.65.23-5.12.29-6.752.29-19.788 0-13.036-.06-14.672-.29-19.792-.24-5.11-1.05-8.598-2.23-11.65-1.23-3.157-2.87-5.835-5.54-8.503-2.67-2.67-5.34-4.31-8.5-5.535-3.06-1.187-6.55-1.996-11.66-2.23-5.12-.233-6.75-.29-19.79-.29zm-4.306 8.65c1.278-.002 2.704 0 4.306 0 12.816 0 14.335.046 19.396.276 4.68.214 7.22.996 8.912 1.653 2.24.87 3.837 1.91 5.516 3.59 1.68 1.68 2.72 3.28 3.592 5.52.657 1.69 1.44 4.23 1.653 8.91.23 5.06.28 6.58.28 19.39s-.05 14.33-.28 19.39c-.214 4.68-.996 7.22-1.653 8.91-.87 2.24-1.912 3.835-3.592 5.514-1.68 1.68-3.275 2.72-5.516 3.59-1.69.66-4.232 1.44-8.912 1.654-5.06.23-6.58.28-19.396.28-12.817 0-14.336-.05-19.396-.28-4.68-.216-7.22-.998-8.913-1.655-2.24-.87-3.84-1.91-5.52-3.59-1.68-1.68-2.72-3.276-3.592-5.517-.657-1.69-1.44-4.23-1.653-8.91-.23-5.06-.276-6.58-.276-19.398s.046-14.33.276-19.39c.214-4.68.996-7.22 1.653-8.912.87-2.24 1.912-3.84 3.592-5.52 1.68-1.68 3.28-2.72 5.52-3.592 1.692-.66 4.233-1.44 8.913-1.655 4.428-.2 6.144-.26 15.09-.27zm29.928 7.97c-3.18 0-5.76 2.577-5.76 5.758 0 3.18 2.58 5.76 5.76 5.76 3.18 0 5.76-2.58 5.76-5.76 0-3.18-2.58-5.76-5.76-5.76zm-25.622 6.73c-13.613 0-24.65 11.037-24.65 24.65 0 13.613 11.037 24.645 24.65 24.645C79.617 90.645 90.65 79.613 90.65 66S79.616 41.35 66.003 41.35zm0 8.65c8.836 0 16 7.163 16 16 0 8.836-7.164 16-16 16-8.837 0-16-7.164-16-16 0-8.837 7.163-16 16-16z",i=({className:f=""})=>{let s=c(),r=`${s}-warm`,a=`${s}-cool`;return o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 132.004 132",className:f,"aria-hidden":"true",children:[o("defs",{children:[o("radialGradient",{id:r,cx:"158.429",cy:"578.088",fx:"158.429",fy:"578.088",r:"65",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(0 -1.98198 1.8439 0 -1031.402 454.004)",children:[t("stop",{offset:"0",stopColor:"#fd5"}),t("stop",{offset:".1",stopColor:"#fd5"}),t("stop",{offset:".5",stopColor:"#ff543e"}),t("stop",{offset:"1",stopColor:"#c837ab"})]}),o("radialGradient",{id:a,cx:"147.694",cy:"473.455",fx:"147.694",fy:"473.455",r:"65",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(.17394 .86872 -3.5818 .71718 1648.348 -458.493)",children:[t("stop",{offset:"0",stopColor:"#3771c8"}),t("stop",{offset:".128",stopColor:"#3771c8"}),t("stop",{offset:"1",stopColor:"#60f",stopOpacity:"0"})]})]}),t("path",{fill:`url(#${r})`,d:e,transform:"translate(1.004 1)"}),t("path",{fill:`url(#${a})`,d:e,transform:"translate(1.004 1)"}),t("path",{fill:"#fff",d:n})]})},d=i;export{d as default};
|
|
@@ -1,20 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
// packages/components/src/atomic/Icons/Partner/LinkedinIcon.tsx
|
|
3
|
-
/**
|
|
4
|
-
* @fileoverview LinkedIn Icon Component
|
|
5
|
-
* @description React component for rendering the LinkedIn icon. SVG-based icon component for authentication providers.
|
|
6
|
-
*
|
|
7
|
-
* @version 0.1.0
|
|
8
|
-
* @since 0.0.1
|
|
9
|
-
* @author AMBROISE PARK Consulting
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* LinkedIn icon component
|
|
13
|
-
* Renders the LinkedIn logo as an SVG.
|
|
14
|
-
* @param {object} props - Component props.
|
|
15
|
-
* @param {string} [props.className] - Optional CSS class name to apply to the SVG element.
|
|
16
|
-
* @returns {React.ReactElement} The LinkedIn icon SVG component.
|
|
17
|
-
*/
|
|
18
|
-
const LinkedInIcon = ({ className = '', }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", className: className, "aria-hidden": "true", children: [_jsx("circle", { cx: "12", cy: "12", r: "12", fill: "white" }), _jsx("path", { fill: "#0077B5" // Official LinkedIn blue
|
|
19
|
-
, d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" })] }));
|
|
20
|
-
export default LinkedInIcon;
|
|
1
|
+
import{jsx as e,jsxs as l}from"react/jsx-runtime";var i=({className:c=""})=>l("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:c,"aria-hidden":"true",children:[e("circle",{cx:"12",cy:"12",r:"12",fill:"white"}),e("path",{fill:"#0077B5",d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})]}),h=i;export{h as default};
|
|
@@ -1,19 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
// packages/components/src/atomic/Icons/Partner/MastodonIcon.tsx
|
|
3
|
-
/**
|
|
4
|
-
* @fileoverview Mastodon Icon Component
|
|
5
|
-
* @description React component for rendering the Mastodon icon. SVG-based icon component for authentication providers.
|
|
6
|
-
*
|
|
7
|
-
* @version 0.1.0
|
|
8
|
-
* @since 0.0.1
|
|
9
|
-
* @author AMBROISE PARK Consulting
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Mastodon icon component
|
|
13
|
-
* Renders the Mastodon logo as an SVG.
|
|
14
|
-
* @param {object} props - Component props.
|
|
15
|
-
* @param {string} [props.className] - Optional CSS class name to apply to the SVG element.
|
|
16
|
-
* @returns {React.ReactElement} The Mastodon icon SVG component.
|
|
17
|
-
*/
|
|
18
|
-
const MastodonIcon = ({ className = '', }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", className: className, "aria-hidden": "true", children: [_jsx("circle", { cx: "12", cy: "12", r: "12", fill: "white" }), _jsx("path", { fill: "#6364FF", d: "M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm5.894 8.221l-1.97 9.28c-.145.658-.537.818-1.084.508l-3-2.21-1.446 1.394c-.14.18-.357.295-.6.295-.002 0-.003 0-.005 0l.213-3.054 5.56-5.022c.24-.213-.054-.334-.373-.121l-6.869 4.326-2.96-.924c-.64-.203-.658-.64.135-.954l11.566-4.458c.538-.196 1.006.128.832.941z" })] }));
|
|
19
|
-
export default MastodonIcon;
|
|
1
|
+
import{jsx as l,jsxs as e}from"react/jsx-runtime";var s=({className:c=""})=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:c,"aria-hidden":"true",children:[l("circle",{cx:"12",cy:"12",r:"12",fill:"white"}),l("path",{fill:"#6364FF",d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm5.894 8.221l-1.97 9.28c-.145.658-.537.818-1.084.508l-3-2.21-1.446 1.394c-.14.18-.357.295-.6.295-.002 0-.003 0-.005 0l.213-3.054 5.56-5.022c.24-.213-.054-.334-.373-.121l-6.869 4.326-2.96-.924c-.64-.203-.658-.64.135-.954l11.566-4.458c.538-.196 1.006.128.832.941z"})]}),t=s;export{t as default};
|
|
@@ -1,19 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
// packages/components/src/atomic/Icons/Partner/MediumIcon.tsx
|
|
3
|
-
/**
|
|
4
|
-
* @fileoverview Medium Icon Component
|
|
5
|
-
* @description React component for rendering the Medium icon. SVG-based icon component for authentication providers.
|
|
6
|
-
*
|
|
7
|
-
* @version 0.1.0
|
|
8
|
-
* @since 0.0.1
|
|
9
|
-
* @author AMBROISE PARK Consulting
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Medium icon component
|
|
13
|
-
* Renders the Medium logo as an SVG.
|
|
14
|
-
* @param {object} props - Component props.
|
|
15
|
-
* @param {string} [props.className] - Optional CSS class name to apply to the SVG element.
|
|
16
|
-
* @returns {React.ReactElement} The Medium icon SVG component.
|
|
17
|
-
*/
|
|
18
|
-
const MediumIcon = ({ className = '', }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", className: className, "aria-hidden": "true", children: [_jsx("circle", { cx: "12", cy: "12", r: "12", fill: "white" }), _jsx("path", { fill: "#000000", d: "M13.54 12a6.8 6.8 0 01-6.77 6.82A6.8 6.8 0 010 12a6.8 6.8 0 016.77-6.82A6.8 6.8 0 0113.54 12zM20.96 12c0 3.54-1.51 6.42-3.38 6.42-1.87 0-3.39-2.88-3.39-6.42s1.52-6.42 3.39-6.42 3.38 2.88 3.38 6.42M24 12c0 3.17-.53 5.75-1.19 5.75-.66 0-1.19-2.58-1.19-5.75s.53-5.75 1.19-5.75C23.47 6.25 24 8.83 24 12z" })] }));
|
|
19
|
-
export default MediumIcon;
|
|
1
|
+
import{jsx as e,jsxs as c}from"react/jsx-runtime";var a=({className:s=""})=>c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:s,"aria-hidden":"true",children:[e("circle",{cx:"12",cy:"12",r:"12",fill:"white"}),e("path",{fill:"#000000",d:"M13.54 12a6.8 6.8 0 01-6.77 6.82A6.8 6.8 0 010 12a6.8 6.8 0 016.77-6.82A6.8 6.8 0 0113.54 12zM20.96 12c0 3.54-1.51 6.42-3.38 6.42-1.87 0-3.39-2.88-3.39-6.42s1.52-6.42 3.39-6.42 3.38 2.88 3.38 6.42M24 12c0 3.17-.53 5.75-1.19 5.75-.66 0-1.19-2.58-1.19-5.75s.53-5.75 1.19-5.75C23.47 6.25 24 8.83 24 12z"})]}),l=a;export{l as default};
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
// packages/components/src/atomic/Icons/Partner/MicrosoftIcon.tsx
|
|
3
|
-
/**
|
|
4
|
-
* @fileoverview Microsoft Icon Component
|
|
5
|
-
* @description React component for rendering the Microsoft icon. SVG-based icon component for authentication providers.
|
|
6
|
-
*
|
|
7
|
-
* @version 0.1.0
|
|
8
|
-
* @since 0.0.1
|
|
9
|
-
* @author AMBROISE PARK Consulting
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Microsoft icon component
|
|
13
|
-
*/
|
|
14
|
-
const MicrosoftIcon = ({ className = '', }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", className: className, "aria-hidden": "true", children: [_jsx("circle", { cx: "12", cy: "12", r: "12", fill: "white" }), _jsx("path", { fill: "#F25022", d: "M0 0h11.5v11.5H0z" }), _jsx("path", { fill: "#00A4EF", d: "M0 12.5h11.5V24H0z" }), _jsx("path", { fill: "#7FBA00", d: "M12.5 0H24v11.5H12.5z" }), _jsx("path", { fill: "#FFB900", d: "M12.5 12.5H24V24H12.5z" })] }));
|
|
15
|
-
export default MicrosoftIcon;
|
|
1
|
+
import{jsx as l,jsxs as i}from"react/jsx-runtime";var a=({className:t=""})=>i("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:t,"aria-hidden":"true",children:[l("circle",{cx:"12",cy:"12",r:"12",fill:"white"}),l("path",{fill:"#F25022",d:"M0 0h11.5v11.5H0z"}),l("path",{fill:"#00A4EF",d:"M0 12.5h11.5V24H0z"}),l("path",{fill:"#7FBA00",d:"M12.5 0H24v11.5H12.5z"}),l("path",{fill:"#FFB900",d:"M12.5 12.5H24V24H12.5z"})]}),e=a;export{e as default};
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
// packages/components/src/atomic/Icons/Partner/NotionIcon.tsx
|
|
3
|
-
/**
|
|
4
|
-
* @fileoverview Notion Icon Component
|
|
5
|
-
* @description React component for rendering the Notion icon. SVG-based icon component for authentication providers.
|
|
6
|
-
*
|
|
7
|
-
* @version 0.1.0
|
|
8
|
-
* @since 0.0.1
|
|
9
|
-
* @author AMBROISE PARK Consulting
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Notion icon component
|
|
13
|
-
*/
|
|
14
|
-
const NotionIcon = ({ className = '', }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", className: className, "aria-hidden": "true", children: [_jsx("circle", { cx: "12", cy: "12", r: "12", fill: "white" }), _jsx("path", { fill: "#000000", d: "M4.459 4.208c.746.606 1.026.56 2.428.466l13.215-.793c.28 0 .047-.28-.046-.326L17.86 1.968c-.42-.326-.981-.7-2.055-.607L3.01 2.295c-.466.046-.56.28-.374.466l1.823 1.447zm.793 3.08v13.904c0 .747.373 1.027 1.214.98l14.523-.84c.841-.046 1.354-.373 1.354-1.214V6.354c0-.84-.513-1.214-1.354-1.167L6.466 5.146c-.841.047-1.214.327-1.214 1.142z" })] }));
|
|
15
|
-
export default NotionIcon;
|
|
1
|
+
import{jsx as c,jsxs as t}from"react/jsx-runtime";var e=({className:l=""})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:l,"aria-hidden":"true",children:[c("circle",{cx:"12",cy:"12",r:"12",fill:"white"}),c("path",{fill:"#000000",d:"M4.459 4.208c.746.606 1.026.56 2.428.466l13.215-.793c.28 0 .047-.28-.046-.326L17.86 1.968c-.42-.326-.981-.7-2.055-.607L3.01 2.295c-.466.046-.56.28-.374.466l1.823 1.447zm.793 3.08v13.904c0 .747.373 1.027 1.214.98l14.523-.84c.841-.046 1.354-.373 1.354-1.214V6.354c0-.84-.513-1.214-1.354-1.167L6.466 5.146c-.841.047-1.214.327-1.214 1.142z"})]}),o=e;export{o as default};
|