@sikka/hawa 0.7.12-next → 0.7.13-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.d.mts CHANGED
@@ -1376,6 +1376,8 @@ declare function useClipboard({ timeout }?: {
1376
1376
  copied: boolean;
1377
1377
  };
1378
1378
 
1379
+ declare const useBreakpoint: () => number;
1380
+
1379
1381
  interface UseFocusWithinOptions {
1380
1382
  onFocus?(event: FocusEvent): void;
1381
1383
  onBlur?(event: FocusEvent): void;
@@ -1395,4 +1397,4 @@ declare function useTabs(initialTab?: string): {
1395
1397
  handleTabChange: (index: any) => void;
1396
1398
  };
1397
1399
 
1398
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, DataTable, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HorizontalPricing, Input, InterfaceSettings, Label, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NavigationMenu, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, Select, Separator, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, Stats, SubItem$2 as SubItem, Switch, TChipTypes, 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, useClipboard, useFocusWithin, useFormField, useMediaQuery, useTabs, useToast };
1400
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, DataTable, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HorizontalPricing, Input, InterfaceSettings, Label, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NavigationMenu, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, Select, Separator, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, Stats, SubItem$2 as SubItem, Switch, TChipTypes, 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, useFormField, useMediaQuery, useTabs, useToast };
package/dist/index.d.ts CHANGED
@@ -1376,6 +1376,8 @@ declare function useClipboard({ timeout }?: {
1376
1376
  copied: boolean;
1377
1377
  };
1378
1378
 
1379
+ declare const useBreakpoint: () => number;
1380
+
1379
1381
  interface UseFocusWithinOptions {
1380
1382
  onFocus?(event: FocusEvent): void;
1381
1383
  onBlur?(event: FocusEvent): void;
@@ -1395,4 +1397,4 @@ declare function useTabs(initialTab?: string): {
1395
1397
  handleTabChange: (index: any) => void;
1396
1398
  };
1397
1399
 
1398
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, DataTable, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HorizontalPricing, Input, InterfaceSettings, Label, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NavigationMenu, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, Select, Separator, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, Stats, SubItem$2 as SubItem, Switch, TChipTypes, 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, useClipboard, useFocusWithin, useFormField, useMediaQuery, useTabs, useToast };
1400
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, DataTable, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HorizontalPricing, Input, InterfaceSettings, Label, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NavigationMenu, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, Select, Separator, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, Stats, SubItem$2 as SubItem, Switch, TChipTypes, 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, useFormField, useMediaQuery, useTabs, useToast };
package/dist/index.js CHANGED
@@ -715,6 +715,9 @@ __export(components_exports, {
715
715
  toast: function() {
716
716
  return toast;
717
717
  },
718
+ useBreakpoint: function() {
719
+ return useBreakpoint;
720
+ },
718
721
  useClipboard: function() {
719
722
  return useClipboard;
720
723
  },
@@ -6294,7 +6297,6 @@ var useBreakpoint = function() {
6294
6297
  }, []);
6295
6298
  return breakpoint;
6296
6299
  };
6297
- var useBreakpoint_default = useBreakpoint;
6298
6300
  // components/layout/AppLayout.tsx
6299
6301
  var AppLayout = function(_param) {
6300
6302
  var _param_direction = _param.direction, direction = _param_direction === void 0 ? "ltr" : _param_direction, _param_drawerSize = _param.drawerSize, drawerSize = _param_drawerSize === void 0 ? "md" : _param_drawerSize, onSettingsClick = _param.onSettingsClick, DrawerFooterActions = _param.DrawerFooterActions, currentPage = _param.currentPage, clickedItem = _param.clickedItem, _param_design = _param.design, design = _param_design === void 0 ? "default" : _param_design, props = _object_without_properties(_param, [
@@ -6325,7 +6327,7 @@ var AppLayout = function(_param) {
6325
6327
  var isRTL = direction === "rtl";
6326
6328
  var _ref = _sliced_to_array((0, import_react31.useState)(""), 2), openedSidebarItem = _ref[0], setOpenedSidebarItem = _ref[1];
6327
6329
  var _ref1 = _sliced_to_array((0, import_react31.useState)(currentPage), 2), selectedItem = _ref1[0], setSelectedItem = _ref1[1];
6328
- var size = useBreakpoint_default();
6330
+ var size = useBreakpoint();
6329
6331
  if (typeof window == "undefined") {
6330
6332
  size = 1200;
6331
6333
  }
@@ -8601,6 +8603,7 @@ function useTabs() {
8601
8603
  buttonVariants: buttonVariants,
8602
8604
  reducer: reducer,
8603
8605
  toast: toast,
8606
+ useBreakpoint: useBreakpoint,
8604
8607
  useClipboard: useClipboard,
8605
8608
  useFocusWithin: useFocusWithin,
8606
8609
  useFormField: useFormField,
package/dist/index.mjs CHANGED
@@ -6028,7 +6028,6 @@ var useBreakpoint = () => {
6028
6028
  }, []);
6029
6029
  return breakpoint;
6030
6030
  };
6031
- var useBreakpoint_default = useBreakpoint;
6032
6031
 
6033
6032
  // components/layout/AppLayout.tsx
6034
6033
  var AppLayout = ({
@@ -6059,7 +6058,7 @@ var AppLayout = ({
6059
6058
  const isRTL = direction === "rtl";
6060
6059
  const [openedSidebarItem, setOpenedSidebarItem] = useState18("");
6061
6060
  const [selectedItem, setSelectedItem] = useState18(currentPage);
6062
- let size = useBreakpoint_default();
6061
+ let size = useBreakpoint();
6063
6062
  if (typeof window == "undefined") {
6064
6063
  size = 1200;
6065
6064
  }
@@ -8401,6 +8400,7 @@ export {
8401
8400
  buttonVariants,
8402
8401
  reducer,
8403
8402
  toast,
8403
+ useBreakpoint,
8404
8404
  useClipboard,
8405
8405
  useFocusWithin,
8406
8406
  useFormField,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.7.12-next",
3
+ "version": "0.7.13-next",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {