freemium-ui 2.0.112 → 2.0.113

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/lib/index.d.ts CHANGED
@@ -6,12 +6,13 @@ import { AxiosRequestConfig } from 'axios';
6
6
  import * as Popover$1 from '@radix-ui/react-popover';
7
7
  import { PortalProps, PopperContentProps } from '@radix-ui/react-popover';
8
8
  import * as Select from '@radix-ui/react-select';
9
- import { SelectProps, SelectContentProps as SelectContentProps$1, SelectPortalProps, SelectItemProps } from '@radix-ui/react-select';
9
+ import { SelectProps, SelectContentProps, SelectPortalProps, SelectItemProps } from '@radix-ui/react-select';
10
10
  export { Item as RadixSelectItem } from '@radix-ui/react-select';
11
11
  import { UseComboboxProps, UseMultipleSelectionProps } from 'downshift';
12
12
  import { RadioGroupProps as RadioGroupProps$1, RadioGroupContextValue } from '@radix-ui/react-radio-group';
13
13
  import { CheckboxProps as CheckboxProps$1 } from '@radix-ui/react-checkbox';
14
14
  import * as styled_components from 'styled-components';
15
+ export { StyleSheetManager } from 'styled-components';
15
16
  import * as styled_components_dist_types from 'styled-components/dist/types';
16
17
  import * as _radix_ui_react_label from '@radix-ui/react-label';
17
18
  import { LabelProps } from '@radix-ui/react-label';
@@ -265,7 +266,7 @@ interface DropdownProps<T extends DefaultDropdownItem = DefaultDropdownItem> ext
265
266
  itemComponent?: (item: T, props?: DropdownItemProps | DropdownInputItemProps) => React.ReactNode | string;
266
267
  selectedItemComponent?: (item: T) => React.ReactNode | string;
267
268
  clearInputOnselect?: boolean;
268
- buttonContentProps?: SelectContentProps$1;
269
+ buttonContentProps?: SelectContentProps;
269
270
  portalContainer?: PortalProps['container'];
270
271
  selectRootProps?: SelectProps;
271
272
  selectPortalProps?: SelectPortalProps;
@@ -276,109 +277,7 @@ type DropdownItemProps = SelectItemProps & {
276
277
  showTick: boolean;
277
278
  };
278
279
 
279
- type StyledToggleButtonType = {
280
- disabled: boolean;
281
- $isErrored: boolean;
282
- };
283
- type DropdownContainerProps = {
284
- width?: string;
285
- };
286
- declare const StyledChevronUp: styled_components.IStyledComponent<"web", styled_components_dist_types.Substitute<Omit<Omit<react.SVGProps<SVGSVGElement>, "ref"> & react.RefAttributes<SVGSVGElement>, "ref"> & {
287
- ref?: ((instance: SVGSVGElement | null) => void) | react.RefObject<SVGSVGElement> | null | undefined;
288
- }, {
289
- $isOpen: boolean;
290
- }>> & Omit<react.ForwardRefExoticComponent<Omit<react.SVGProps<SVGSVGElement>, "ref"> & react.RefAttributes<SVGSVGElement>>, keyof react.Component<any, {}, any>>;
291
- declare const DropdownContainer: styled_components.IStyledComponent<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, DropdownContainerProps>>;
292
- declare const DropdownToggleButton: styled_components.IStyledComponent<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledToggleButtonType>>;
293
- declare const DropdownButtonPlaceholder: styled_components.IStyledComponent<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
294
- isP: boolean;
295
- }>>;
296
- declare const ItemsContainer: styled_components.IStyledComponent<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {
297
- $isOpen: boolean;
298
- }>>;
299
280
  declare const ListItem: styled_components.IStyledComponent<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, StyledListItemType>>;
300
- declare const TextAddButton: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
301
- declare const LoaderContainer: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
302
- declare const ArrowHolder: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
303
- type SelectTriggerProps = {
304
- disabled: boolean;
305
- $isErrored: boolean;
306
- width?: string;
307
- };
308
- declare const StyledSelect: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
309
- declare const EmptyPlaceholder: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
310
- declare const SelectRoot: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<Select.SelectProps, never>> & Omit<react.FC<Select.SelectProps>, keyof react.Component<any, {}, any>>;
311
- declare const SelectGroup: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<Omit<Select.SelectGroupProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
312
- ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
313
- }, never>> & Omit<react.ForwardRefExoticComponent<Select.SelectGroupProps & react.RefAttributes<HTMLDivElement>>, keyof react.Component<any, {}, any>>;
314
- declare const SelectValue: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<Omit<Select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "ref"> & {
315
- ref?: ((instance: HTMLSpanElement | null) => void) | react.RefObject<HTMLSpanElement> | null | undefined;
316
- }, never>> & Omit<react.ForwardRefExoticComponent<Select.SelectValueProps & react.RefAttributes<HTMLSpanElement>>, keyof react.Component<any, {}, any>>;
317
- declare const SelectPortal: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<Select.SelectPortalProps, never>> & Omit<react.FC<Select.SelectPortalProps>, keyof react.Component<any, {}, any>>;
318
- declare const SelectItem: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<Omit<Select.SelectItemProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
319
- ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
320
- }, never>> & Omit<react.ForwardRefExoticComponent<Select.SelectItemProps & react.RefAttributes<HTMLDivElement>>, keyof react.Component<any, {}, any>>;
321
- declare const SelectLabelDivider: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, never>>;
322
- declare const SelectLabel: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<Omit<Select.SelectLabelProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
323
- ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
324
- }, never>> & Omit<react.ForwardRefExoticComponent<Select.SelectLabelProps & react.RefAttributes<HTMLDivElement>>, keyof react.Component<any, {}, any>>;
325
- type SelectContentProps = {
326
- $matchButtonWidth?: boolean;
327
- };
328
- declare const SelectContent: styled_components.IStyledComponent<"web", styled_components_dist_types.Substitute<Omit<Select.SelectContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
329
- ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
330
- }, SelectContentProps>> & Omit<react.ForwardRefExoticComponent<Select.SelectContentProps & react.RefAttributes<HTMLDivElement>>, keyof react.Component<any, {}, any>>;
331
- declare const SelectItemText: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<Omit<Select.SelectItemTextProps & react.RefAttributes<HTMLSpanElement>, "ref"> & {
332
- ref?: ((instance: HTMLSpanElement | null) => void) | react.RefObject<HTMLSpanElement> | null | undefined;
333
- }, never>> & Omit<react.ForwardRefExoticComponent<Select.SelectItemTextProps & react.RefAttributes<HTMLSpanElement>>, keyof react.Component<any, {}, any>>;
334
- declare const SelectViewport: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<Omit<Select.SelectViewportProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
335
- ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
336
- }, never>> & Omit<react.ForwardRefExoticComponent<Select.SelectViewportProps & react.RefAttributes<HTMLDivElement>>, keyof react.Component<any, {}, any>>;
337
- declare const SelectItemIndicator: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<Omit<Select.SelectItemIndicatorProps & react.RefAttributes<HTMLSpanElement>, "ref"> & {
338
- ref?: ((instance: HTMLSpanElement | null) => void) | react.RefObject<HTMLSpanElement> | null | undefined;
339
- }, never>> & Omit<react.ForwardRefExoticComponent<Select.SelectItemIndicatorProps & react.RefAttributes<HTMLSpanElement>>, keyof react.Component<any, {}, any>>;
340
- declare const SelectScrollUpButton: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<Omit<Select.SelectScrollUpButtonProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
341
- ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
342
- }, never>> & Omit<react.ForwardRefExoticComponent<Select.SelectScrollUpButtonProps & react.RefAttributes<HTMLDivElement>>, keyof react.Component<any, {}, any>>;
343
- declare const SelectScrollDownButton: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<Omit<Select.SelectScrollDownButtonProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
344
- ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
345
- }, never>> & Omit<react.ForwardRefExoticComponent<Select.SelectScrollDownButtonProps & react.RefAttributes<HTMLDivElement>>, keyof react.Component<any, {}, any>>;
346
- declare const SelectIcon: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<Omit<Select.SelectIconProps & react.RefAttributes<HTMLSpanElement>, "ref"> & {
347
- ref?: ((instance: HTMLSpanElement | null) => void) | react.RefObject<HTMLSpanElement> | null | undefined;
348
- }, never>> & Omit<react.ForwardRefExoticComponent<Select.SelectIconProps & react.RefAttributes<HTMLSpanElement>>, keyof react.Component<any, {}, any>>;
349
- declare const SelectTrigger: styled_components.IStyledComponent<"web", styled_components_dist_types.Substitute<Omit<Select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> & {
350
- ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
351
- }, SelectTriggerProps>> & Omit<react.ForwardRefExoticComponent<Select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement>>, keyof react.Component<any, {}, any>>;
352
-
353
- declare const styles_d_ArrowHolder: typeof ArrowHolder;
354
- declare const styles_d_DropdownButtonPlaceholder: typeof DropdownButtonPlaceholder;
355
- declare const styles_d_DropdownContainer: typeof DropdownContainer;
356
- declare const styles_d_DropdownToggleButton: typeof DropdownToggleButton;
357
- declare const styles_d_EmptyPlaceholder: typeof EmptyPlaceholder;
358
- declare const styles_d_ItemsContainer: typeof ItemsContainer;
359
- declare const styles_d_ListItem: typeof ListItem;
360
- declare const styles_d_LoaderContainer: typeof LoaderContainer;
361
- declare const styles_d_SelectContent: typeof SelectContent;
362
- declare const styles_d_SelectGroup: typeof SelectGroup;
363
- declare const styles_d_SelectIcon: typeof SelectIcon;
364
- declare const styles_d_SelectItem: typeof SelectItem;
365
- declare const styles_d_SelectItemIndicator: typeof SelectItemIndicator;
366
- declare const styles_d_SelectItemText: typeof SelectItemText;
367
- declare const styles_d_SelectLabel: typeof SelectLabel;
368
- declare const styles_d_SelectLabelDivider: typeof SelectLabelDivider;
369
- declare const styles_d_SelectPortal: typeof SelectPortal;
370
- declare const styles_d_SelectRoot: typeof SelectRoot;
371
- declare const styles_d_SelectScrollDownButton: typeof SelectScrollDownButton;
372
- declare const styles_d_SelectScrollUpButton: typeof SelectScrollUpButton;
373
- declare const styles_d_SelectTrigger: typeof SelectTrigger;
374
- declare const styles_d_SelectValue: typeof SelectValue;
375
- declare const styles_d_SelectViewport: typeof SelectViewport;
376
- declare const styles_d_StyledChevronUp: typeof StyledChevronUp;
377
- declare const styles_d_StyledSelect: typeof StyledSelect;
378
- declare const styles_d_TextAddButton: typeof TextAddButton;
379
- declare namespace styles_d {
380
- export { styles_d_ArrowHolder as ArrowHolder, styles_d_DropdownButtonPlaceholder as DropdownButtonPlaceholder, styles_d_DropdownContainer as DropdownContainer, styles_d_DropdownToggleButton as DropdownToggleButton, styles_d_EmptyPlaceholder as EmptyPlaceholder, styles_d_ItemsContainer as ItemsContainer, styles_d_ListItem as ListItem, styles_d_LoaderContainer as LoaderContainer, styles_d_SelectContent as SelectContent, styles_d_SelectGroup as SelectGroup, styles_d_SelectIcon as SelectIcon, styles_d_SelectItem as SelectItem, styles_d_SelectItemIndicator as SelectItemIndicator, styles_d_SelectItemText as SelectItemText, styles_d_SelectLabel as SelectLabel, styles_d_SelectLabelDivider as SelectLabelDivider, styles_d_SelectPortal as SelectPortal, styles_d_SelectRoot as SelectRoot, styles_d_SelectScrollDownButton as SelectScrollDownButton, styles_d_SelectScrollUpButton as SelectScrollUpButton, styles_d_SelectTrigger as SelectTrigger, styles_d_SelectValue as SelectValue, styles_d_SelectViewport as SelectViewport, styles_d_StyledChevronUp as StyledChevronUp, styles_d_StyledSelect as StyledSelect, styles_d_TextAddButton as TextAddButton };
381
- }
382
281
 
383
282
  /**
384
283
  * Dropdown displays a list or drop-down box that enables selection of an option or multiple options from an available list of values.
@@ -2118,4 +2017,4 @@ declare namespace index_d {
2118
2017
  export { index_d_Z_INDEX as Z_INDEX, index_d_dark as dark, index_d_hextoRGB as hextoRGB, index_d_light as light };
2119
2018
  }
2120
2019
 
2121
- export { Accordion, type AccordionItemProps, type AccordionProps, Alert, type AlertProps, AutoComplete, type AutoCompleteInputItemProps, type AutoCompleteProps, BoxedRadio, type BoxedRadioItemProps, type BoxedRadioProps, Button, ButtonDropdown, type ButtonDropdownItemProps, type ButtonDropdownProps, type ButtonProps, type ButtonSizeKey, type ButtonVariant, Calendar, type CalendarProps, CardActions, CardContent, CardDescription, CardText, CardTitle, Checkbox, type CheckboxProps, Checkmark, ChevronUp, Confirmation, type ConfirmationProps, Cross as CrossIcon, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, DateTimeRangePicker, type DateTimeRangePickerProps, type DayProps, type DefaultAutoCompleteItem, type DefaultDropdownItem, type DefaultMultiSelectDropdownItem, type DefaultProps, Drawer, type DrawerPlacement, type DrawerProps, type DrawerSizeType, Dropdown, type DropdownButtonProps, ListItem as DropdownInputItem, type DropdownInputItemProps, type DropdownInputProps, Item as DropdownItem, type DropdownItemProps, DropdownMenuItem, type DropdownProps, styles_d as DropdownStyles, type DropdownTypes, ErrorIcon, Freddy, _default as FreemiumUIGlobalStyles, type FreemiumUiTheme, FreshLink, type FreshworksPalette, type FuiContextType, IconButton, InfoIcon, Input, InputLabel, type InputProps, type LevelType, Loader, type LoaderPropTypes, type LoaderSizes, type LoaderSpeeds, Menu, type MenuItemProps, type MenuProps, Minus, Modal, type ModalAlignType, type ModalCssType, type ModalPositionType, type ModalProps, type ModalSizeType, MoreVertical, MultiSelectDropdown, type MultiSelectDropdownProps, type Origin, Popover, PopoverClose, type PopoverProps, PopoverTrigger, Radio, RadioGroup, type RadioGroupProps, type RadioItemProps, type RadioProps, Reorder, type ReorderItemType, type ReorderProps, RequiredIndicator, type RowDataType, SortDropdown, StyledLabel, type StyledListItemType, Table, type TableProps, Tabs, TabsContent, type TabsItemProps, TabsList, type TabsProps, TabsRoot, TabsTrigger, Tag, type TagProps, TextArea, type TextAreaProps, ThemeProvider, type ThemeProviderType, index_d as Themes, TickIcon, TimePicker, type TimePickerProps, type ToastContextType, type ToastItemProps, ToastProvider, type ToastType, type ToastTypes, type ToastWithID, Toggle, type ToggleProps, type ToggleSizes, Tooltip, type TooltipAlign, type TooltipPosition, type TooltipProps, type TooltipSide, TriggerButtonWrapper, Typography, type TypographyProps, type TypographyVariantType, type TypographyWeightType, type UpdateToastsFunction, Warning, type WorkspaceRowDataType, WorkspaceTable, type WorkspaceTableProps, dialogContentMixin, dialogOverlayMixin, useToasts };
2020
+ export { Accordion, type AccordionItemProps, type AccordionProps, Alert, type AlertProps, AutoComplete, type AutoCompleteInputItemProps, type AutoCompleteProps, BoxedRadio, type BoxedRadioItemProps, type BoxedRadioProps, Button, ButtonDropdown, type ButtonDropdownItemProps, type ButtonDropdownProps, type ButtonProps, type ButtonSizeKey, type ButtonVariant, Calendar, type CalendarProps, CardActions, CardContent, CardDescription, CardText, CardTitle, Checkbox, type CheckboxProps, Checkmark, ChevronUp, Confirmation, type ConfirmationProps, Cross as CrossIcon, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, DateTimeRangePicker, type DateTimeRangePickerProps, type DayProps, type DefaultAutoCompleteItem, type DefaultDropdownItem, type DefaultMultiSelectDropdownItem, type DefaultProps, Drawer, type DrawerPlacement, type DrawerProps, type DrawerSizeType, Dropdown, type DropdownButtonProps, ListItem as DropdownInputItem, type DropdownInputItemProps, type DropdownInputProps, Item as DropdownItem, type DropdownItemProps, DropdownMenuItem, type DropdownProps, type DropdownTypes, ErrorIcon, Freddy, _default as FreemiumUIGlobalStyles, type FreemiumUiTheme, FreshLink, type FreshworksPalette, type FuiContextType, IconButton, InfoIcon, Input, InputLabel, type InputProps, type LevelType, Loader, type LoaderPropTypes, type LoaderSizes, type LoaderSpeeds, Menu, type MenuItemProps, type MenuProps, Minus, Modal, type ModalAlignType, type ModalCssType, type ModalPositionType, type ModalProps, type ModalSizeType, MoreVertical, MultiSelectDropdown, type MultiSelectDropdownProps, type Origin, Popover, PopoverClose, type PopoverProps, PopoverTrigger, Radio, RadioGroup, type RadioGroupProps, type RadioItemProps, type RadioProps, Reorder, type ReorderItemType, type ReorderProps, RequiredIndicator, type RowDataType, SortDropdown, StyledLabel, type StyledListItemType, Table, type TableProps, Tabs, TabsContent, type TabsItemProps, TabsList, type TabsProps, TabsRoot, TabsTrigger, Tag, type TagProps, TextArea, type TextAreaProps, ThemeProvider, type ThemeProviderType, index_d as Themes, TickIcon, TimePicker, type TimePickerProps, type ToastContextType, type ToastItemProps, ToastProvider, type ToastType, type ToastTypes, type ToastWithID, Toggle, type ToggleProps, type ToggleSizes, Tooltip, type TooltipAlign, type TooltipPosition, type TooltipProps, type TooltipSide, TriggerButtonWrapper, Typography, type TypographyProps, type TypographyVariantType, type TypographyWeightType, type UpdateToastsFunction, Warning, type WorkspaceRowDataType, WorkspaceTable, type WorkspaceTableProps, dialogContentMixin, dialogOverlayMixin, useToasts };