@frigade/react 2.9.7-canary.1 → 2.10.0

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.ts CHANGED
@@ -7,7 +7,7 @@ import * as _frigade_js from '@frigade/js';
7
7
  import { Flow as Flow$1, FlowStep, PropertyPayload, StatefulFlow } from '@frigade/js';
8
8
  export { _frigade_js as FrigadeJS };
9
9
  import * as Collapsible$1 from '@radix-ui/react-collapsible';
10
- import { UseFloatingOptions, UseFloatingReturn, UseInteractionsReturn, useTransitionStatus } from '@floating-ui/react';
10
+ import { UseFloatingOptions } from '@floating-ui/react';
11
11
  import * as react from '@floating-ui/react';
12
12
  export { react as FloatingUI };
13
13
  import { UseFormReturn, ControllerFieldState, Message, ValidationRule } from 'react-hook-form';
@@ -1557,7 +1557,6 @@ declare namespace CollapsibleStep {
1557
1557
 
1558
1558
  type AlignValue$1 = 'after' | 'before' | 'center' | 'end' | 'start';
1559
1559
  type SideValue$1 = 'bottom' | 'left' | 'right' | 'top';
1560
- type ExtendedPlacement = `${SideValue$1}-${AlignValue$1}`;
1561
1560
  interface FloatingProps extends UseFloatingOptions {
1562
1561
  align?: AlignValue$1;
1563
1562
  alignOffset?: number;
@@ -1565,13 +1564,6 @@ interface FloatingProps extends UseFloatingOptions {
1565
1564
  side?: SideValue$1;
1566
1565
  sideOffset?: number;
1567
1566
  }
1568
- interface FloatingReturn extends Omit<UseFloatingReturn, 'placement'> {
1569
- placement: ExtendedPlacement;
1570
- getFloatingProps: UseInteractionsReturn['getFloatingProps'];
1571
- getReferenceProps: UseInteractionsReturn['getReferenceProps'];
1572
- status: ReturnType<typeof useTransitionStatus>;
1573
- }
1574
- declare function useFloating({ align, alignOffset, anchor, nodeId, onOpenChange, open, side, sideOffset, }: FloatingProps): FloatingReturn;
1575
1567
 
1576
1568
  interface PopoverRootProps extends FloatingProps {
1577
1569
  autoScroll?: ScrollIntoViewOptions | boolean;
@@ -2095,4 +2087,4 @@ declare function useGroup(): {
2095
2087
  isLoading: boolean;
2096
2088
  };
2097
2089
 
2098
- export { Announcement, AnnouncementProps, Banner, BannerProps, BaseField, Box, BoxProps, Button, ButtonProps, Card, CardHeaderProps, CardProps, index$2 as Checklist, ClientPortal, ClientPortalProps, CollapsibleProps, CollapsibleStepProps, Collection, Dialog, DialogProps, DismissHandler, FieldTypes, Flex, Flow, FlowChildrenProps, FlowConfig, FlowHandlerProp, FlowHandlerProps, FlowProps, FlowPropsWithoutChildren, Form, FormFieldData, FormFieldProps, FormProps, Hint, Image, Label, Media, NPSProps, Ping, index$3 as Popover, index$1 as Progress, ProgressBadge, ProgressBadgeProps, Provider, ProviderProps, RadioField, SelectField, Spotlight, StepHandler, StepHandlerProp, StepHandlerProps, index as Survey, Text, TextField, TextProps, TextareaField, Theme, Tokens, Tooltip, TooltipProps, Tour, TourProps, Video, themeVariables, tokens, useAutoScroll, useBoundingClientRect, useFloating, useFlow, useFlowHandlers, useFrigade, useGroup, useStepHandlers, useUser };
2090
+ export { Announcement, AnnouncementProps, Banner, BannerProps, BaseField, Box, BoxProps, Button, ButtonProps, Card, CardHeaderProps, CardProps, index$2 as Checklist, ClientPortal, ClientPortalProps, CollapsibleProps, CollapsibleStepProps, Collection, Dialog, DialogProps, DismissHandler, FieldTypes, Flex, Flow, FlowChildrenProps, FlowConfig, FlowHandlerProp, FlowHandlerProps, FlowProps, FlowPropsWithoutChildren, Form, FormFieldData, FormFieldProps, FormProps, Hint, Image, Label, Media, NPSProps, Ping, index$3 as Popover, index$1 as Progress, ProgressBadge, ProgressBadgeProps, Provider, ProviderProps, RadioField, SelectField, Spotlight, StepHandler, StepHandlerProp, StepHandlerProps, index as Survey, Text, TextField, TextProps, TextareaField, Theme, Tokens, Tooltip, TooltipProps, Tour, TourProps, Video, themeVariables, tokens, useAutoScroll, useBoundingClientRect, useFlow, useFlowHandlers, useFrigade, useGroup, useStepHandlers, useUser };