@sikka/hawa 0.13.17-next → 0.14.0-next

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/index.css CHANGED
@@ -738,6 +738,9 @@ input[type="number"]::-webkit-inner-spin-button,
738
738
  .hawa-bottom-4 {
739
739
  bottom: 1rem;
740
740
  }
741
+ .hawa-end-0 {
742
+ inset-inline-end: 0px;
743
+ }
741
744
  .hawa-end-2 {
742
745
  inset-inline-end: 0.5rem;
743
746
  }
@@ -771,6 +774,9 @@ input[type="number"]::-webkit-inner-spin-button,
771
774
  .hawa-right-4 {
772
775
  right: 1rem;
773
776
  }
777
+ .hawa-start-0 {
778
+ inset-inline-start: 0px;
779
+ }
774
780
  .hawa-top-0 {
775
781
  top: 0px;
776
782
  }
@@ -1299,6 +1305,9 @@ input[type="number"]::-webkit-inner-spin-button,
1299
1305
  .hawa-w-screen {
1300
1306
  width: 100vw;
1301
1307
  }
1308
+ .hawa-min-w-0 {
1309
+ min-width: 0px;
1310
+ }
1302
1311
  .hawa-min-w-\[65px\] {
1303
1312
  min-width: 65px;
1304
1313
  }
@@ -1356,6 +1365,9 @@ input[type="number"]::-webkit-inner-spin-button,
1356
1365
  .hawa-flex-1 {
1357
1366
  flex: 1 1 0%;
1358
1367
  }
1368
+ .hawa-flex-\[0_0_100\%\] {
1369
+ flex: 0 0 100%;
1370
+ }
1359
1371
  .hawa-flex-shrink-0 {
1360
1372
  flex-shrink: 0;
1361
1373
  }
@@ -1385,6 +1397,10 @@ input[type="number"]::-webkit-inner-spin-button,
1385
1397
  .hawa-origin-center {
1386
1398
  transform-origin: center;
1387
1399
  }
1400
+ .-hawa-translate-y-2 {
1401
+ --tw-translate-y: -0.5rem;
1402
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1403
+ }
1388
1404
  .hawa--translate-x-0 {
1389
1405
  --tw-translate-x: -0px;
1390
1406
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { FC, ReactNode, ChangeEvent, InputHTMLAttributes, RefObject } from 'react';
2
+ import React__default, { FC, ReactNode, ChangeEvent, InputHTMLAttributes, PropsWithChildren, RefObject } from 'react';
3
3
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
4
4
  import * as class_variance_authority_types from 'class-variance-authority/types';
5
5
  import { VariantProps } from 'class-variance-authority';
@@ -10,6 +10,7 @@ import * as ToastPrimitives from '@radix-ui/react-toast';
10
10
  import * as SwitchPrimitives from '@radix-ui/react-switch';
11
11
  import * as PopoverPrimitive from '@radix-ui/react-popover';
12
12
  import * as SliderPrimitive from '@radix-ui/react-slider';
13
+ import { EmblaOptionsType } from 'embla-carousel-react';
13
14
  import { RowData, ColumnDef } from '@tanstack/react-table';
14
15
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
15
16
  import * as ProgressPrimitive from '@radix-ui/react-progress';
@@ -106,6 +107,7 @@ interface DropdownMenuProps {
106
107
  size?: "default" | "sm";
107
108
  onItemSelect?: any;
108
109
  onOpenChange?: any;
110
+ header?: React$1.ReactNode;
109
111
  open?: any;
110
112
  }
111
113
  declare const DropdownMenu: React$1.FC<DropdownMenuProps>;
@@ -129,7 +131,7 @@ interface ItemCardTypes {
129
131
  /** The function of the action button on the image of the card */
130
132
  clickableImageAction?: () => void;
131
133
  /** The text of the action button on the image of the card */
132
- clickableImageActionText: string;
134
+ clickableImageActionText?: string;
133
135
  /** The icon of the action button on the image of the card */
134
136
  clickableImageActionIcon?: any;
135
137
  }
@@ -475,6 +477,13 @@ type PhoneInputTypes = {
475
477
  };
476
478
  declare const PhoneInput: FC<PhoneInputTypes>;
477
479
 
480
+ interface CarouselProps {
481
+ items: React__default.ReactNode[];
482
+ showArrows?: boolean;
483
+ }
484
+ type Props = CarouselProps & EmblaOptionsType;
485
+ declare const Carousel: (props: PropsWithChildren<Props>) => React__default.JSX.Element;
486
+
478
487
  type StoreButtonsTypes = {
479
488
  store: "apple" | "google";
480
489
  mode: "dark" | "light";
@@ -1682,4 +1691,4 @@ declare function useTabs(initialTab?: string): {
1682
1691
  handleTabChange: (index: any) => void;
1683
1692
  };
1684
1693
 
1685
- export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, AppTopbar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, ChipColors, ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, SubItem$2 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UseFocusWithinOptions, UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useFocusWithin, useMediaQuery, useTabs, useToast, useWindowSize };
1694
+ export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, AppTopbar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, ChipColors, ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, SubItem$2 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UseFocusWithinOptions, UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useFocusWithin, useMediaQuery, useTabs, useToast, useWindowSize };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { FC, ReactNode, ChangeEvent, InputHTMLAttributes, RefObject } from 'react';
2
+ import React__default, { FC, ReactNode, ChangeEvent, InputHTMLAttributes, PropsWithChildren, RefObject } from 'react';
3
3
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
4
4
  import * as class_variance_authority_types from 'class-variance-authority/types';
5
5
  import { VariantProps } from 'class-variance-authority';
@@ -10,6 +10,7 @@ import * as ToastPrimitives from '@radix-ui/react-toast';
10
10
  import * as SwitchPrimitives from '@radix-ui/react-switch';
11
11
  import * as PopoverPrimitive from '@radix-ui/react-popover';
12
12
  import * as SliderPrimitive from '@radix-ui/react-slider';
13
+ import { EmblaOptionsType } from 'embla-carousel-react';
13
14
  import { RowData, ColumnDef } from '@tanstack/react-table';
14
15
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
15
16
  import * as ProgressPrimitive from '@radix-ui/react-progress';
@@ -106,6 +107,7 @@ interface DropdownMenuProps {
106
107
  size?: "default" | "sm";
107
108
  onItemSelect?: any;
108
109
  onOpenChange?: any;
110
+ header?: React$1.ReactNode;
109
111
  open?: any;
110
112
  }
111
113
  declare const DropdownMenu: React$1.FC<DropdownMenuProps>;
@@ -129,7 +131,7 @@ interface ItemCardTypes {
129
131
  /** The function of the action button on the image of the card */
130
132
  clickableImageAction?: () => void;
131
133
  /** The text of the action button on the image of the card */
132
- clickableImageActionText: string;
134
+ clickableImageActionText?: string;
133
135
  /** The icon of the action button on the image of the card */
134
136
  clickableImageActionIcon?: any;
135
137
  }
@@ -475,6 +477,13 @@ type PhoneInputTypes = {
475
477
  };
476
478
  declare const PhoneInput: FC<PhoneInputTypes>;
477
479
 
480
+ interface CarouselProps {
481
+ items: React__default.ReactNode[];
482
+ showArrows?: boolean;
483
+ }
484
+ type Props = CarouselProps & EmblaOptionsType;
485
+ declare const Carousel: (props: PropsWithChildren<Props>) => React__default.JSX.Element;
486
+
478
487
  type StoreButtonsTypes = {
479
488
  store: "apple" | "google";
480
489
  mode: "dark" | "light";
@@ -1682,4 +1691,4 @@ declare function useTabs(initialTab?: string): {
1682
1691
  handleTabChange: (index: any) => void;
1683
1692
  };
1684
1693
 
1685
- export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, AppTopbar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, ChipColors, ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, SubItem$2 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UseFocusWithinOptions, UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useFocusWithin, useMediaQuery, useTabs, useToast, useWindowSize };
1694
+ export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, AppTopbar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, ChipColors, ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, SubItem$2 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UseFocusWithinOptions, UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useFocusWithin, useMediaQuery, useTabs, useToast, useWindowSize };