@segmentify/ui 0.0.64 → 0.0.65

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.
Files changed (139) hide show
  1. package/dist/components/atoms/chart.d.ts +1 -1
  2. package/dist/index.d.ts +3 -0
  3. package/dist/lib/design-variants.d.ts +1 -1
  4. package/dist/segmentify-ui.cjs +29 -29
  5. package/dist/segmentify-ui.js +757 -756
  6. package/dist/ui.css +30 -0
  7. package/package.json +2 -2
  8. package/dist/components/atoms/autocomplete.d.ts +0 -13
  9. package/dist/components/atoms/iphone-15.d.ts +0 -2
  10. package/dist/components/atoms/preview-single-button.d.ts +0 -6
  11. package/dist/components/molecules/autocomplete-field.d.ts +0 -17
  12. package/dist/components/molecules/confirmation-dialog.d.ts +0 -24
  13. package/dist/components/molecules/preview-sms.d.ts +0 -5
  14. package/dist/components/molecules/whatsapp-message.d.ts +0 -15
  15. package/dist/components/organisms/form-checkbox.d.ts +0 -10
  16. package/dist/src/app.d.ts +0 -14
  17. package/dist/src/components/atoms/accordion.d.ts +0 -9
  18. package/dist/src/components/atoms/alert-dialog.d.ts +0 -18
  19. package/dist/src/components/atoms/aspect-ratio.d.ts +0 -3
  20. package/dist/src/components/atoms/avatar.d.ts +0 -6
  21. package/dist/src/components/atoms/badge.d.ts +0 -7
  22. package/dist/src/components/atoms/breadcrumb.d.ts +0 -11
  23. package/dist/src/components/atoms/button.d.ts +0 -10
  24. package/dist/src/components/atoms/calendar.d.ts +0 -8
  25. package/dist/src/components/atoms/card.d.ts +0 -9
  26. package/dist/src/components/atoms/carousel.d.ts +0 -19
  27. package/dist/src/components/atoms/chart.d.ts +0 -40
  28. package/dist/src/components/atoms/checkbox.d.ts +0 -4
  29. package/dist/src/components/atoms/collapsible.d.ts +0 -5
  30. package/dist/src/components/atoms/combobox.d.ts +0 -24
  31. package/dist/src/components/atoms/command.d.ts +0 -20
  32. package/dist/src/components/atoms/component-switch.d.ts +0 -19
  33. package/dist/src/components/atoms/content-wrapper.d.ts +0 -11
  34. package/dist/src/components/atoms/date.d.ts +0 -4
  35. package/dist/src/components/atoms/dialog.d.ts +0 -16
  36. package/dist/src/components/atoms/drawer.d.ts +0 -13
  37. package/dist/src/components/atoms/dropdown-menu.d.ts +0 -25
  38. package/dist/src/components/atoms/empty.d.ts +0 -11
  39. package/dist/src/components/atoms/error-message.d.ts +0 -6
  40. package/dist/src/components/atoms/field-description.d.ts +0 -6
  41. package/dist/src/components/atoms/form.d.ts +0 -17
  42. package/dist/src/components/atoms/hover-card.d.ts +0 -6
  43. package/dist/src/components/atoms/icon.d.ts +0 -6
  44. package/dist/src/components/atoms/input-group.d.ts +0 -16
  45. package/dist/src/components/atoms/input-otp.d.ts +0 -20
  46. package/dist/src/components/atoms/input.d.ts +0 -3
  47. package/dist/src/components/atoms/kbd.d.ts +0 -3
  48. package/dist/src/components/atoms/label.d.ts +0 -9
  49. package/dist/src/components/atoms/native-select.d.ts +0 -7
  50. package/dist/src/components/atoms/pagination.d.ts +0 -13
  51. package/dist/src/components/atoms/phone-input.d.ts +0 -7
  52. package/dist/src/components/atoms/phone-preview.d.ts +0 -5
  53. package/dist/src/components/atoms/popover.d.ts +0 -7
  54. package/dist/src/components/atoms/quill-editor.d.ts +0 -11
  55. package/dist/src/components/atoms/radio-group.d.ts +0 -5
  56. package/dist/src/components/atoms/scroll-area.d.ts +0 -5
  57. package/dist/src/components/atoms/select.d.ts +0 -18
  58. package/dist/src/components/atoms/separator.d.ts +0 -4
  59. package/dist/src/components/atoms/sheet.d.ts +0 -13
  60. package/dist/src/components/atoms/sidebar.d.ts +0 -59
  61. package/dist/src/components/atoms/skeleton.d.ts +0 -3
  62. package/dist/src/components/atoms/slider.d.ts +0 -4
  63. package/dist/src/components/atoms/sonner.d.ts +0 -3
  64. package/dist/src/components/atoms/spinner.d.ts +0 -7
  65. package/dist/src/components/atoms/switch.d.ts +0 -4
  66. package/dist/src/components/atoms/table.d.ts +0 -10
  67. package/dist/src/components/atoms/tabs.d.ts +0 -7
  68. package/dist/src/components/atoms/textarea.d.ts +0 -3
  69. package/dist/src/components/atoms/tooltip.d.ts +0 -8
  70. package/dist/src/components/molecules/async-combobox.d.ts +0 -15
  71. package/dist/src/components/molecules/base-button.d.ts +0 -15
  72. package/dist/src/components/molecules/campaign-title.d.ts +0 -9
  73. package/dist/src/components/molecules/checkbox-field.d.ts +0 -10
  74. package/dist/src/components/molecules/combobox-field.d.ts +0 -26
  75. package/dist/src/components/molecules/creatable-action-icons.d.ts +0 -9
  76. package/dist/src/components/molecules/date-range-picker.d.ts +0 -17
  77. package/dist/src/components/molecules/debounced-input.d.ts +0 -19
  78. package/dist/src/components/molecules/detailed-image-modal.d.ts +0 -18
  79. package/dist/src/components/molecules/form-checkbox.d.ts +0 -9
  80. package/dist/src/components/molecules/form-phone-input.d.ts +0 -14
  81. package/dist/src/components/molecules/input-field.d.ts +0 -15
  82. package/dist/src/components/molecules/messaging-phone.d.ts +0 -2
  83. package/dist/src/components/molecules/messaging-preview.d.ts +0 -5
  84. package/dist/src/components/molecules/mobile-preview-message.d.ts +0 -8
  85. package/dist/src/components/molecules/multi-select-dropdown.d.ts +0 -18
  86. package/dist/src/components/molecules/preview-carousel.d.ts +0 -2
  87. package/dist/src/components/molecules/preview-rich-media.d.ts +0 -5
  88. package/dist/src/components/molecules/recommendation-card/components/recommendation-filters-button.d.ts +0 -9
  89. package/dist/src/components/molecules/recommendation-card/components/selected-algorithms.d.ts +0 -12
  90. package/dist/src/components/molecules/recommendation-card/index.d.ts +0 -2
  91. package/dist/src/components/molecules/recommendation-card/types/index.d.ts +0 -82
  92. package/dist/src/components/molecules/select-field.d.ts +0 -18
  93. package/dist/src/components/molecules/select-multi-field.d.ts +0 -20
  94. package/dist/src/components/molecules/switch-field.d.ts +0 -7
  95. package/dist/src/components/molecules/textarea-field.d.ts +0 -11
  96. package/dist/src/components/molecules/tooltip-field.d.ts +0 -13
  97. package/dist/src/components/organisms/data-table/actions.d.ts +0 -12
  98. package/dist/src/components/organisms/data-table/column-visibility.d.ts +0 -6
  99. package/dist/src/components/organisms/data-table/content.d.ts +0 -18
  100. package/dist/src/components/organisms/data-table/context.d.ts +0 -10
  101. package/dist/src/components/organisms/data-table/index.d.ts +0 -17
  102. package/dist/src/components/organisms/data-table/pagination.d.ts +0 -10
  103. package/dist/src/components/organisms/data-table/root.d.ts +0 -13
  104. package/dist/src/components/organisms/data-table/search.d.ts +0 -8
  105. package/dist/src/components/organisms/data-table/toolbar.d.ts +0 -7
  106. package/dist/src/components/organisms/date-preset/context.d.ts +0 -8
  107. package/dist/src/components/organisms/date-preset/date-preset.d.ts +0 -11
  108. package/dist/src/components/organisms/date-preset/index.d.ts +0 -8
  109. package/dist/src/components/organisms/date-preset/presets.d.ts +0 -21
  110. package/dist/src/components/organisms/date-preset/root.d.ts +0 -9
  111. package/dist/src/components/organisms/form-combobox.d.ts +0 -21
  112. package/dist/src/components/organisms/form-date-picker.d.ts +0 -13
  113. package/dist/src/components/organisms/form-file-upload.d.ts +0 -23
  114. package/dist/src/components/organisms/form-input.d.ts +0 -16
  115. package/dist/src/components/organisms/form-password.d.ts +0 -14
  116. package/dist/src/components/organisms/form-radio.d.ts +0 -15
  117. package/dist/src/components/organisms/form-select.d.ts +0 -19
  118. package/dist/src/components/organisms/form-slider.d.ts +0 -23
  119. package/dist/src/components/organisms/form-switch.d.ts +0 -10
  120. package/dist/src/components/organisms/form-textarea.d.ts +0 -11
  121. package/dist/src/components/organisms/form-time-picker.d.ts +0 -22
  122. package/dist/src/components/organisms/timeline.d.ts +0 -25
  123. package/dist/src/hooks/use-data-table.d.ts +0 -165
  124. package/dist/src/hooks/use-form-field.d.ts +0 -19
  125. package/dist/src/hooks/use-mobile.d.ts +0 -1
  126. package/dist/src/hooks/use-popup-layer.d.ts +0 -10
  127. package/dist/src/hooks/use-sidebar.d.ts +0 -12
  128. package/dist/src/index.d.ts +0 -105
  129. package/dist/src/lib/design-variants.d.ts +0 -13
  130. package/dist/src/lib/types.d.ts +0 -7
  131. package/dist/src/lib/utils.d.ts +0 -31
  132. package/dist/src/main.d.ts +0 -1
  133. package/dist/src/mock/actions.d.ts +0 -6
  134. package/dist/src/mock/columns.d.ts +0 -9
  135. package/dist/src/providers/popup-layer-provider.d.ts +0 -14
  136. package/dist/src/types/messaging.d.ts +0 -34
  137. /package/dist/{src/components → components}/atoms/sortable-item.d.ts +0 -0
  138. /package/dist/{src/components → components}/molecules/sortable-list.d.ts +0 -0
  139. /package/dist/{src/components → components}/organisms/form-sortable-list.d.ts +0 -0
@@ -1,20 +0,0 @@
1
- import * as React from 'react';
2
- import { OTPInput } from 'input-otp';
3
- type InputOTPProps = React.ComponentProps<typeof OTPInput> & {
4
- containerClassName?: string;
5
- };
6
- interface InputOTPGroupProps extends React.ComponentProps<'div'> {
7
- ref?: React.RefObject<HTMLDivElement> | null;
8
- }
9
- interface InputOTPSlotProps extends React.ComponentProps<'div'> {
10
- ref?: React.RefObject<HTMLDivElement> | null;
11
- index: number;
12
- }
13
- interface InputOTPSeparatorProps extends React.ComponentProps<'div'> {
14
- ref?: React.RefObject<HTMLDivElement> | null;
15
- }
16
- declare function InputOTP({ ref, className, containerClassName, ...props }: InputOTPProps): import("react/jsx-runtime").JSX.Element;
17
- declare function InputOTPGroup({ ref, className, ...props }: InputOTPGroupProps): import("react/jsx-runtime").JSX.Element;
18
- declare function InputOTPSlot({ ref, index, className, ...props }: InputOTPSlotProps): import("react/jsx-runtime").JSX.Element;
19
- declare function InputOTPSeparator({ ref, ...props }: InputOTPSeparatorProps): import("react/jsx-runtime").JSX.Element;
20
- export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator };
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- declare const Input: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
3
- export { Input };
@@ -1,3 +0,0 @@
1
- declare function Kbd({ className, ...props }: React.ComponentProps<'kbd'>): import("react/jsx-runtime").JSX.Element;
2
- declare function KbdGroup({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
3
- export { Kbd, KbdGroup };
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- import * as LabelPrimitive from '@radix-ui/react-label';
3
- import { type VariantProps } from 'class-variance-authority';
4
- import { labelVariants } from '../../../lib/design-variants';
5
- interface LabelProps extends React.ComponentProps<typeof LabelPrimitive.Root> {
6
- variant?: VariantProps<typeof labelVariants>['variant'];
7
- }
8
- declare function Label({ className, variant, ...props }: LabelProps): import("react/jsx-runtime").JSX.Element;
9
- export { Label };
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- declare function NativeSelect({ className, size, ...props }: Omit<React.ComponentProps<'select'>, 'size'> & {
3
- size?: 'sm' | 'default';
4
- }): import("react/jsx-runtime").JSX.Element;
5
- declare function NativeSelectOption({ ...props }: React.ComponentProps<'option'>): import("react/jsx-runtime").JSX.Element;
6
- declare function NativeSelectOptGroup({ className, ...props }: React.ComponentProps<'optgroup'>): import("react/jsx-runtime").JSX.Element;
7
- export { NativeSelect, NativeSelectOptGroup, NativeSelectOption };
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- import { Button } from './button';
3
- declare function Pagination({ className, ...props }: React.ComponentProps<'nav'>): import("react/jsx-runtime").JSX.Element;
4
- declare function PaginationContent({ className, ...props }: React.ComponentProps<'ul'>): import("react/jsx-runtime").JSX.Element;
5
- declare function PaginationItem({ ...props }: React.ComponentProps<'li'>): import("react/jsx-runtime").JSX.Element;
6
- type PaginationLinkProps = {
7
- isActive?: boolean;
8
- } & Pick<React.ComponentProps<typeof Button>, 'size'> & React.ComponentProps<'a'>;
9
- declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
10
- declare function PaginationPrevious({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
11
- declare function PaginationNext({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
12
- declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
13
- export { Pagination, PaginationContent, PaginationLink, PaginationItem, PaginationPrevious, PaginationNext, PaginationEllipsis, };
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import * as RPNInput from 'react-phone-number-input';
3
- type PhoneInputProps = Omit<React.ComponentProps<'input'>, 'onChange' | 'value' | 'ref'> & Omit<RPNInput.Props<typeof RPNInput.default>, 'onChange'> & {
4
- onChange?: (value: RPNInput.Value) => void;
5
- };
6
- declare const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps>;
7
- export { PhoneInput };
@@ -1,5 +0,0 @@
1
- import { type PropsWithChildren } from 'react';
2
- export interface PhonePreviewProps extends PropsWithChildren {
3
- className?: string;
4
- }
5
- export declare const PhonePreview: ({ children, className }: PhonePreviewProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import * as PopoverPrimitive from '@radix-ui/react-popover';
3
- declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
5
- declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
- declare const PopoverAnchor: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
- export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import Quill, { Delta, EmitterSource, Range } from 'quill';
3
- interface EditorProps {
4
- readOnly?: boolean;
5
- defaultValue?: Delta;
6
- onTextChange?: (html: string) => void;
7
- onSelectionChange?: (range: Range | null, oldRange: Range | null, source: EmitterSource) => void;
8
- theme?: 'snow' | 'bubble';
9
- }
10
- declare const QuillEditor: React.ForwardRefExoticComponent<EditorProps & React.RefAttributes<Quill>>;
11
- export { QuillEditor };
@@ -1,5 +0,0 @@
1
- import * as React from 'react';
2
- import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
3
- declare function RadioGroup({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function RadioGroupItem({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
5
- export { RadioGroup, RadioGroupItem };
@@ -1,5 +0,0 @@
1
- import * as React from 'react';
2
- import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
3
- declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): import("react/jsx-runtime").JSX.Element;
5
- export { ScrollArea, ScrollBar };
@@ -1,18 +0,0 @@
1
- import * as React from 'react';
2
- import * as SelectPrimitive from '@radix-ui/react-select';
3
- declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
5
- declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): import("react/jsx-runtime").JSX.Element;
6
- declare function SelectTrigger({ className, size, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
7
- size?: 'sm' | 'default';
8
- }): import("react/jsx-runtime").JSX.Element;
9
- type SelectContentProps = React.ComponentProps<typeof SelectPrimitive.Content> & {
10
- isPortal?: boolean;
11
- };
12
- declare function SelectContent({ className, children, position, isPortal, align, style, ...props }: SelectContentProps): import("react/jsx-runtime").JSX.Element;
13
- declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): import("react/jsx-runtime").JSX.Element;
14
- declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
15
- declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
16
- declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): import("react/jsx-runtime").JSX.Element;
17
- declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): import("react/jsx-runtime").JSX.Element;
18
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import * as SeparatorPrimitive from '@radix-ui/react-separator';
3
- declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- export { Separator };
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- import * as SheetPrimitive from '@radix-ui/react-dialog';
3
- declare function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
- declare function SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
6
- declare function SheetContent({ className, children, side, ...props }: React.ComponentProps<typeof SheetPrimitive.Content> & {
7
- side?: 'top' | 'right' | 'bottom' | 'left';
8
- }): import("react/jsx-runtime").JSX.Element;
9
- declare function SheetHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
10
- declare function SheetFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
11
- declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
12
- declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
13
- export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription };
@@ -1,59 +0,0 @@
1
- import * as React from 'react';
2
- import { type VariantProps } from 'class-variance-authority';
3
- import { Button } from '../../../components/atoms/button';
4
- import { Input } from '../../../components/atoms/input';
5
- import { Separator } from '../../../components/atoms/separator';
6
- import { TooltipContent } from '../../../components/atoms/tooltip';
7
- declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React.ComponentProps<'div'> & {
8
- defaultOpen?: boolean;
9
- open?: boolean;
10
- onOpenChange?: (open: boolean) => void;
11
- }): import("react/jsx-runtime").JSX.Element;
12
- declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React.ComponentProps<'div'> & {
13
- side?: 'left' | 'right';
14
- variant?: 'sidebar' | 'floating' | 'inset';
15
- collapsible?: 'offcanvas' | 'icon' | 'none';
16
- }): import("react/jsx-runtime").JSX.Element;
17
- declare function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
18
- declare function SidebarRail({ className, ...props }: React.ComponentProps<'button'>): import("react/jsx-runtime").JSX.Element;
19
- declare function SidebarInset({ className, ...props }: React.ComponentProps<'main'>): import("react/jsx-runtime").JSX.Element;
20
- declare function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>): import("react/jsx-runtime").JSX.Element;
21
- declare function SidebarHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
22
- declare function SidebarFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
23
- declare function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
24
- declare function SidebarContent({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
25
- declare function SidebarGroup({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
26
- declare function SidebarGroupLabel({ className, asChild, ...props }: React.ComponentProps<'div'> & {
27
- asChild?: boolean;
28
- }): import("react/jsx-runtime").JSX.Element;
29
- declare function SidebarGroupAction({ className, asChild, ...props }: React.ComponentProps<'button'> & {
30
- asChild?: boolean;
31
- }): import("react/jsx-runtime").JSX.Element;
32
- declare function SidebarGroupContent({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
33
- declare function SidebarMenu({ className, ...props }: React.ComponentProps<'ul'>): import("react/jsx-runtime").JSX.Element;
34
- declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<'li'>): import("react/jsx-runtime").JSX.Element;
35
- declare const sidebarMenuButtonVariants: (props?: ({
36
- variant?: "outline" | "default" | null | undefined;
37
- size?: "default" | "sm" | "lg" | null | undefined;
38
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
39
- declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React.ComponentProps<'button'> & {
40
- asChild?: boolean;
41
- isActive?: boolean;
42
- tooltip?: string | React.ComponentProps<typeof TooltipContent>;
43
- } & VariantProps<typeof sidebarMenuButtonVariants>): import("react/jsx-runtime").JSX.Element;
44
- declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React.ComponentProps<'button'> & {
45
- asChild?: boolean;
46
- showOnHover?: boolean;
47
- }): import("react/jsx-runtime").JSX.Element;
48
- declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
49
- declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<'div'> & {
50
- showIcon?: boolean;
51
- }): import("react/jsx-runtime").JSX.Element;
52
- declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<'ul'>): import("react/jsx-runtime").JSX.Element;
53
- declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<'li'>): import("react/jsx-runtime").JSX.Element;
54
- declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React.ComponentProps<'a'> & {
55
- asChild?: boolean;
56
- size?: 'sm' | 'md';
57
- isActive?: boolean;
58
- }): import("react/jsx-runtime").JSX.Element;
59
- export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, };
@@ -1,3 +0,0 @@
1
- import { type ComponentProps } from 'react';
2
- declare function Skeleton({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
3
- export { Skeleton };
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import * as SliderPrimitive from '@radix-ui/react-slider';
3
- declare function Slider({ className, defaultValue, value, min, max, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- export { Slider };
@@ -1,3 +0,0 @@
1
- import { type ToasterProps } from 'sonner';
2
- declare const Toaster: ({ ...props }: ToasterProps) => import("react/jsx-runtime").JSX.Element;
3
- export { Toaster };
@@ -1,7 +0,0 @@
1
- import type { ClassValue } from 'clsx';
2
- interface SpinnerProps extends React.ComponentProps<'svg'> {
3
- containerClassName?: ClassValue;
4
- title?: string;
5
- }
6
- declare function Spinner({ title, containerClassName, className, ...props }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
7
- export { Spinner };
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import * as SwitchPrimitive from '@radix-ui/react-switch';
3
- declare function Switch({ className, ...props }: React.ComponentProps<typeof SwitchPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- export { Switch };
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- declare function Table({ className, ...props }: React.ComponentProps<'table'>): import("react/jsx-runtime").JSX.Element;
3
- declare function TableHeader({ className, ...props }: React.ComponentProps<'thead'>): import("react/jsx-runtime").JSX.Element;
4
- declare function TableBody({ className, ...props }: React.ComponentProps<'tbody'>): import("react/jsx-runtime").JSX.Element;
5
- declare function TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>): import("react/jsx-runtime").JSX.Element;
6
- declare function TableRow({ className, ...props }: React.ComponentProps<'tr'>): import("react/jsx-runtime").JSX.Element;
7
- declare function TableHead({ className, ...props }: React.ComponentProps<'th'>): import("react/jsx-runtime").JSX.Element;
8
- declare function TableCell({ className, ...props }: React.ComponentProps<'td'>): import("react/jsx-runtime").JSX.Element;
9
- declare function TableCaption({ className, ...props }: React.ComponentProps<'caption'>): import("react/jsx-runtime").JSX.Element;
10
- export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption };
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import * as TabsPrimitive from '@radix-ui/react-tabs';
3
- declare function Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>): import("react/jsx-runtime").JSX.Element;
5
- declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
- declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
- export { Tabs, TabsList, TabsTrigger, TabsContent };
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- declare function Textarea({ className, ...props }: React.ComponentProps<'textarea'>): import("react/jsx-runtime").JSX.Element;
3
- export { Textarea };
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
3
- declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): import("react/jsx-runtime").JSX.Element;
4
- declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
- declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
- declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
- declare const TooltipContentWithPortal: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
- export { Tooltip, TooltipTrigger, TooltipContent, TooltipContentWithPortal, TooltipProvider };
@@ -1,15 +0,0 @@
1
- export type AsyncComboboxItem = {
2
- value: string;
3
- label: string;
4
- };
5
- export type AsyncComboboxProps = {
6
- selectedItem: AsyncComboboxItem;
7
- fetchItems: (search: string, signal?: AbortSignal) => Promise<AsyncComboboxItem[]>;
8
- onSelect: (item: AsyncComboboxItem) => void;
9
- searchPlaceholder?: string;
10
- placeholder?: string;
11
- className?: string;
12
- disabled?: boolean;
13
- align?: 'start' | 'center' | 'end';
14
- };
15
- export declare function AsyncCombobox({ selectedItem, fetchItems: fetchItemsProp, searchPlaceholder, placeholder, className, disabled, align, onSelect, }: AsyncComboboxProps): import("react/jsx-runtime").JSX.Element;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { buttonVariants } from '../../../lib/design-variants';
4
- declare const BaseButton: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "children"> & {
5
- size?: VariantProps<typeof buttonVariants>["size"];
6
- variant?: VariantProps<typeof buttonVariants>["variant"];
7
- label?: string;
8
- isSuffix?: boolean;
9
- isPrefix?: boolean;
10
- isLoading?: boolean;
11
- labelClassName?: string;
12
- isIconOnly?: boolean;
13
- icon?: React.ReactNode;
14
- } & React.RefAttributes<HTMLButtonElement>>;
15
- export { BaseButton };
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- interface CampaignTitleProps {
3
- label: React.ReactNode;
4
- isEdit?: boolean;
5
- campaignId?: string;
6
- children?: React.ReactNode;
7
- }
8
- declare const CampaignTitle: ({ label, campaignId, isEdit, children }: CampaignTitleProps) => import("react/jsx-runtime").JSX.Element;
9
- export { CampaignTitle };
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { Checkbox } from '../../../components/atoms/checkbox';
3
- interface Props extends React.ComponentProps<typeof Checkbox> {
4
- label: string;
5
- name: string;
6
- description?: string;
7
- onCheckedChange: (checked: boolean) => void;
8
- }
9
- export declare const CheckboxField: ({ label, name, description, onCheckedChange, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,26 +0,0 @@
1
- import React from 'react';
2
- export type ComboboxFieldItem = {
3
- value: string;
4
- label: string;
5
- disabled?: boolean;
6
- };
7
- export type ComboboxFieldInputMode = 'input' | 'popup';
8
- type Props = {
9
- items: ComboboxFieldItem[];
10
- value: ComboboxFieldItem[];
11
- onValueChange: (values: ComboboxFieldItem[]) => void;
12
- label?: string;
13
- multiple?: boolean;
14
- hasClearButton?: boolean;
15
- disabled?: boolean;
16
- placeholder?: string;
17
- containerClassName?: string;
18
- emptyMessage?: string;
19
- hasAllOption?: boolean;
20
- allOptionLabel?: string;
21
- inputMode?: ComboboxFieldInputMode;
22
- renderPopupTrigger?: (valueElement: React.ReactNode, selectedValues: ComboboxFieldItem[]) => React.ReactElement;
23
- onInputChange?: (value: string) => void;
24
- };
25
- export declare const ComboboxField: ({ items, label, multiple, hasClearButton, disabled, placeholder, containerClassName, emptyMessage, hasAllOption, allOptionLabel, inputMode, renderPopupTrigger, onInputChange, value, onValueChange, }: Props) => import("react/jsx-runtime").JSX.Element;
26
- export {};
@@ -1,9 +0,0 @@
1
- import { type ClassValue } from 'clsx';
2
- type Props = {
3
- onCreate: () => void;
4
- onDelete: () => void;
5
- showCreate?: boolean;
6
- className?: ClassValue;
7
- };
8
- export declare const CreatableActionIcons: ({ onCreate, onDelete, showCreate, className }: Props) => import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,17 +0,0 @@
1
- import { type ClassValue } from 'clsx';
2
- import { type Locale } from 'date-fns';
3
- import { type DateRange } from 'react-day-picker';
4
- type Props = {
5
- start?: Date;
6
- end?: Date;
7
- onConfirm: (range: DateRange) => void;
8
- label?: string;
9
- placeholder: string;
10
- triggerButtonClassName?: ClassValue;
11
- className?: ClassValue;
12
- confirmLabel?: string;
13
- disabledCondition?: boolean | ((date: Date) => boolean);
14
- dateLocale?: Locale;
15
- };
16
- export declare const DateRangePicker: ({ start, end, onConfirm, className, triggerButtonClassName, label, placeholder, confirmLabel, disabledCondition, dateLocale, }: Props) => import("react/jsx-runtime").JSX.Element;
17
- export {};
@@ -1,19 +0,0 @@
1
- import type { O } from 'ts-toolbelt';
2
- interface BaseSearchInputProps {
3
- value: string;
4
- onChange: (value: string) => void;
5
- placeholder: string;
6
- className?: string;
7
- inputClassName?: string;
8
- }
9
- type WithLabelProps = O.Merge<BaseSearchInputProps, {
10
- label: string;
11
- name: string;
12
- }>;
13
- type WithoutLabelProps = O.Merge<BaseSearchInputProps, {
14
- label?: undefined;
15
- name?: string;
16
- }>;
17
- type SearchInputProps = WithLabelProps | WithoutLabelProps;
18
- declare function DebouncedInput({ value, onChange, className, inputClassName, name, placeholder, label }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
19
- export { DebouncedInput };
@@ -1,18 +0,0 @@
1
- import { type ClassValue } from 'clsx';
2
- import type { Union } from 'ts-toolbelt';
3
- type BaseProps = {
4
- banner: string;
5
- campaignName: string;
6
- imageClassName?: ClassValue;
7
- };
8
- type ControlledProps = BaseProps & {
9
- isControlled: true;
10
- open: boolean;
11
- setOpen: (open: boolean) => void;
12
- };
13
- type UncontrolledProps = BaseProps & {
14
- isControlled?: false;
15
- };
16
- type DetailedImageModalProps = Union.Strict<ControlledProps | UncontrolledProps>;
17
- export declare const DetailedImageModal: ({ banner, campaignName, isControlled, open, setOpen, imageClassName, }: DetailedImageModalProps) => import("react/jsx-runtime").JSX.Element;
18
- export {};
@@ -1,9 +0,0 @@
1
- import { type Control, type FieldValues, type Path } from 'react-hook-form';
2
- type FormCheckboxProps<TFieldValues extends FieldValues = FieldValues> = {
3
- name: Path<TFieldValues>;
4
- control?: Control<TFieldValues>;
5
- label: string;
6
- containerClassName?: string;
7
- };
8
- export declare const FormCheckbox: <TFieldValues extends FieldValues = FieldValues>({ name, control, containerClassName, ...props }: FormCheckboxProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import flags from 'react-phone-number-input/flags';
3
- import { PhoneInput } from '../../../components/atoms/phone-input';
4
- export type FormPhoneInputProps = {
5
- label: string;
6
- name: string;
7
- description?: string;
8
- showErrorPlaceholder?: boolean;
9
- errorClassName?: string;
10
- containerClassName?: string;
11
- labelClassName?: string;
12
- mainLanguage?: keyof typeof flags;
13
- } & Omit<React.ComponentProps<typeof PhoneInput>, 'defaultCountry' | 'value' | 'onChange' | 'onBlur' | 'name' | 'ref'>;
14
- export declare const FormPhoneInput: ({ label, name, description, showErrorPlaceholder, errorClassName, containerClassName, labelClassName, mainLanguage, ...props }: FormPhoneInputProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { labelVariants } from '../../../lib/design-variants';
4
- export interface InputFieldProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'label'> {
5
- name: string;
6
- value?: string | number | readonly string[];
7
- label?: string;
8
- labelVariant?: VariantProps<typeof labelVariants>['variant'];
9
- description?: string;
10
- isReadOnly?: boolean;
11
- inputClassName?: string;
12
- hasRequiredIndicator?: boolean;
13
- }
14
- declare const InputField: React.ForwardRefExoticComponent<InputFieldProps & React.RefAttributes<HTMLInputElement>>;
15
- export { InputField };
@@ -1,2 +0,0 @@
1
- import { MessagingPhoneProps } from '../../../types/messaging';
2
- export declare const MessagingPhone: (props: MessagingPhoneProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- import { MessagingPhoneProps } from '../../../types/messaging';
2
- export declare const MessagingPreview: {
3
- (props: MessagingPhoneProps): import("react/jsx-runtime").JSX.Element;
4
- displayName: string;
5
- };
@@ -1,8 +0,0 @@
1
- import { type PropsWithChildren } from 'react';
2
- import { MessageCarouselCard } from '../../../types/messaging';
3
- type MobilePreviewMessageProps = {
4
- cards?: MessageCarouselCard[];
5
- includeTime?: boolean;
6
- };
7
- export declare const MobilePreviewMessage: ({ children, cards, includeTime, }: PropsWithChildren<MobilePreviewMessageProps>) => import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,18 +0,0 @@
1
- import { SelectItemProps } from '../../../lib/types';
2
- interface MultiSelectDropdownProps {
3
- label: string;
4
- options: SelectItemProps[];
5
- value: string[];
6
- onChange: (value: string[]) => void;
7
- toggleAllLabel?: string;
8
- optionSuffix?: string;
9
- translateOptions?: boolean;
10
- containerClassName?: string;
11
- contentClassName?: string;
12
- triggerClassName?: string;
13
- showSelectedItemLabels?: boolean;
14
- showErrorPlaceholder?: boolean;
15
- error?: string;
16
- }
17
- declare function MultiSelectDropdown({ label, options, value, onChange, toggleAllLabel, optionSuffix, translateOptions, containerClassName, contentClassName, triggerClassName, showSelectedItemLabels, showErrorPlaceholder, error, }: MultiSelectDropdownProps): import("react/jsx-runtime").JSX.Element;
18
- export { MultiSelectDropdown };
@@ -1,2 +0,0 @@
1
- import { MessagingPhoneProps } from '../../../types/messaging';
2
- export declare const PreviewCarousel: ({ body, carousel }: MessagingPhoneProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- import { MessagingPhoneProps } from '../../../types/messaging';
2
- export declare const PreviewRichMedia: {
3
- ({ header, body, footer, buttons }: MessagingPhoneProps): import("react/jsx-runtime").JSX.Element;
4
- displayName: string;
5
- };
@@ -1,9 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- interface RecommendationFiltersButtonProps {
3
- onClick: () => void;
4
- icon: ReactNode;
5
- label: ReactNode;
6
- isInclusion?: boolean;
7
- }
8
- export declare const RecommendationFiltersButton: React.FC<RecommendationFiltersButtonProps>;
9
- export {};
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import { FieldValues } from 'react-hook-form';
3
- import { RecommendationCardConfig, SharedAlgorithmProps } from '../types';
4
- interface SelectedAlgorithmsProps<TFieldValues extends FieldValues = FieldValues> extends SharedAlgorithmProps<TFieldValues> {
5
- update: (index: number, value: unknown) => void;
6
- swap: (index1: number, index2: number) => void;
7
- remove: (index: number) => void;
8
- move: (from: number, to: number) => void;
9
- config?: RecommendationCardConfig;
10
- }
11
- export declare const SelectedAlgorithms: React.FC<SelectedAlgorithmsProps>;
12
- export {};
@@ -1,2 +0,0 @@
1
- import { RecommendationCardProps } from './types';
2
- export declare const RecommendationCard: <TFieldValues extends Record<string, unknown> = Record<string, unknown>>({ ...props }: RecommendationCardProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;