@modul/mbui 1.2.0-beta-dev-15b4564a → 1.2.0-beta-dev-ed4b4a86

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.
@@ -0,0 +1,14 @@
1
+ import { Ref } from 'react';
2
+ interface UseIntersectionObserverOptions {
3
+ threshold?: number | number[];
4
+ rootMargin?: string;
5
+ }
6
+ interface IntersectionObserverResult<T extends Element = Element> {
7
+ elementRef: Ref<T>;
8
+ isIntersecting: boolean;
9
+ intersectionRatio: number;
10
+ isFullyVisible: boolean;
11
+ boundingClientRect: DOMRectReadOnly | null;
12
+ }
13
+ export declare const useIntersectionObserver: <T extends Element = Element>(options?: UseIntersectionObserverOptions) => IntersectionObserverResult<T>;
14
+ export {};
package/dist/index.d.ts CHANGED
@@ -47,4 +47,5 @@ import { Counter } from './Counter';
47
47
  import { IconFile } from './IconFile';
48
48
  import { PDFViewer } from './PDFViewer';
49
49
  import { Stepper } from './Stepper';
50
- export { Autocomplete, Tabs, Slider, Popover, Logo, InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator, Collapsible, CollapsibleTrigger, CollapsibleContent, AccountCollapsible, AccountCollapsibleHeader, AccountCollapsibleTrigger, AccountCollapsibleContent, AccountCollapsibleContentItem, Button, buttonVariants, InputField, InputLabel, InputNumericFormat, InputMaskWidget, Audio, cn, Icon, Drawer, DrawerTrigger, DrawerTitle, DrawerClose, DrawerContent, DrawerDescription, BottomNavigation, BottomNavigationList, BottomNavigationListItem, BottomNavigationLink, Page, Chip, Progress, Alert, Switch, Label, Textarea, SelectAccountCard, SelectAccount, SelectAsync, Select, Form, FormLabel, FormField, FormItem, FormControl, FormDescription, FormMessage, Calendar, DatePicker, InputMask, AlertDialog, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, MessageTyping, FavoritePaymentsList, FavoritePaymentsItem, FarvoritePaymentDescription, farvoriteLinkClasses, Badge, badgeVariants, DigitKeyPad, ButtonWidget, Toaster, toast, Checkbox, Swipe2Show, Skeleton, Carousel, CarouselContent, CarouselItem, type CarouselApi, BankCardImage, RadioGroup, RadioGroupItem, Loading, SelectDrawer, type ISelectValue, type ISelectOption, Option, OptionBank, SelectBankValue, SelectAccountValue, OptionAccountWithBalance, BankLogosRounded, BankCardIcon, CurrencyFlag, DrawerDatePicker, CurrencySymbol, Counter, IconFile, PDFViewer, Stepper, WhiteBusinessPage, PageNavbar, Hero, CheckingCounterparty, ReliabilityIndicators, Consultation, ProgressBarWidget, List, ListItem, StickyFooter, };
50
+ import { useIntersectionObserver } from './hooks/useIntersectionObserver';
51
+ export { Autocomplete, Tabs, Slider, Popover, Logo, InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator, Collapsible, CollapsibleTrigger, CollapsibleContent, AccountCollapsible, AccountCollapsibleHeader, AccountCollapsibleTrigger, AccountCollapsibleContent, AccountCollapsibleContentItem, Button, buttonVariants, InputField, InputLabel, InputNumericFormat, InputMaskWidget, Audio, cn, Icon, Drawer, DrawerTrigger, DrawerTitle, DrawerClose, DrawerContent, DrawerDescription, BottomNavigation, BottomNavigationList, BottomNavigationListItem, BottomNavigationLink, Page, Chip, Progress, Alert, Switch, Label, Textarea, SelectAccountCard, SelectAccount, SelectAsync, Select, Form, FormLabel, FormField, FormItem, FormControl, FormDescription, FormMessage, Calendar, DatePicker, InputMask, AlertDialog, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, MessageTyping, FavoritePaymentsList, FavoritePaymentsItem, FarvoritePaymentDescription, farvoriteLinkClasses, Badge, badgeVariants, DigitKeyPad, ButtonWidget, Toaster, toast, Checkbox, Swipe2Show, Skeleton, Carousel, CarouselContent, CarouselItem, type CarouselApi, BankCardImage, RadioGroup, RadioGroupItem, Loading, SelectDrawer, type ISelectValue, type ISelectOption, Option, OptionBank, SelectBankValue, SelectAccountValue, OptionAccountWithBalance, BankLogosRounded, BankCardIcon, CurrencyFlag, DrawerDatePicker, CurrencySymbol, Counter, IconFile, PDFViewer, Stepper, WhiteBusinessPage, PageNavbar, Hero, CheckingCounterparty, ReliabilityIndicators, Consultation, ProgressBarWidget, List, ListItem, StickyFooter, useIntersectionObserver, };