@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
package/dist/ui.css CHANGED
@@ -2857,6 +2857,13 @@
2857
2857
  }
2858
2858
  }
2859
2859
  }
2860
+ .ui\:hover\:bg-segmentify-100 {
2861
+ &:hover {
2862
+ @media (hover: hover) {
2863
+ background-color: var(--ui-color-segmentify-100);
2864
+ }
2865
+ }
2866
+ }
2860
2867
  .ui\:hover\:bg-segmentify-200 {
2861
2868
  &:hover {
2862
2869
  @media (hover: hover) {
@@ -3131,6 +3138,14 @@
3131
3138
  --tw-ring-color: var(--ui-color-neutral-500);
3132
3139
  }
3133
3140
  }
3141
+ .ui\:focus-visible\:ring-primary\/50 {
3142
+ &:focus-visible {
3143
+ --tw-ring-color: var(--ui-color-primary);
3144
+ @supports (color: color-mix(in lab, red, red)) {
3145
+ --tw-ring-color: color-mix(in oklab, var(--ui-color-primary) 50%, transparent);
3146
+ }
3147
+ }
3148
+ }
3134
3149
  .ui\:focus-visible\:ring-ring {
3135
3150
  &:focus-visible {
3136
3151
  --tw-ring-color: var(--ui-color-ring);
@@ -3191,6 +3206,11 @@
3191
3206
  cursor: not-allowed;
3192
3207
  }
3193
3208
  }
3209
+ .ui\:disabled\:border-gray-400 {
3210
+ &:disabled {
3211
+ border-color: var(--ui-color-gray-400);
3212
+ }
3213
+ }
3194
3214
  .ui\:disabled\:bg-gray-400 {
3195
3215
  &:disabled {
3196
3216
  background-color: var(--ui-color-gray-400);
@@ -3201,6 +3221,16 @@
3201
3221
  background-color: var(--ui-color-neutral-700);
3202
3222
  }
3203
3223
  }
3224
+ .ui\:disabled\:bg-white {
3225
+ &:disabled {
3226
+ background-color: var(--ui-color-white);
3227
+ }
3228
+ }
3229
+ .ui\:disabled\:text-gray-400 {
3230
+ &:disabled {
3231
+ color: var(--ui-color-gray-400);
3232
+ }
3233
+ }
3204
3234
  .ui\:disabled\:text-white {
3205
3235
  &:disabled {
3206
3236
  color: var(--ui-color-white);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@segmentify/ui",
3
- "version": "0.0.64",
3
+ "version": "0.0.65",
4
4
  "description": "A collection of reusable React UI components built with Tailwind CSS and Radix UI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -137,7 +137,7 @@
137
137
  "scripts": {
138
138
  "dev": "vite",
139
139
  "build:css": "tailwindcss -i src/index.css -o dist/ui.css",
140
- "build": "pnpm run build:css && vite build --emptyOutDir=false && tsc -p tsconfig.build.json && node scripts/fix-type-aliases.mjs",
140
+ "build": "pnpm run build:css && vite build --emptyOutDir=false && node scripts/clean-declarations.mjs && tsc -p tsconfig.build.json && node scripts/fix-type-aliases.mjs",
141
141
  "postbuild": "node ./scripts/verify-dist.mjs",
142
142
  "lint": "eslint .",
143
143
  "lint:fix": "npm run lint -- --fix",
@@ -1,13 +0,0 @@
1
- import { Autocomplete as AutocompletePrimitive } from '@base-ui/react';
2
- declare const Autocomplete: typeof AutocompletePrimitive.Root;
3
- declare function AutocompleteValue({ ...props }: AutocompletePrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
4
- declare function AutocompleteTrigger({ className, children, ...props }: AutocompletePrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
5
- declare function AutocompleteInput({ className, children, disabled, showTrigger, showClear, ...props }: AutocompletePrimitive.Input.Props & {
6
- showTrigger?: boolean;
7
- showClear?: boolean;
8
- }): import("react/jsx-runtime").JSX.Element;
9
- declare function AutocompleteContent({ className, side, sideOffset, align, alignOffset, ...props }: AutocompletePrimitive.Popup.Props & Pick<AutocompletePrimitive.Positioner.Props, 'side' | 'align' | 'sideOffset' | 'alignOffset'>): import("react/jsx-runtime").JSX.Element;
10
- declare function AutocompleteList({ className, ...props }: AutocompletePrimitive.List.Props): import("react/jsx-runtime").JSX.Element;
11
- declare function AutocompleteItem({ className, children, ...props }: AutocompletePrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
12
- declare function AutocompleteEmpty({ className, ...props }: AutocompletePrimitive.Empty.Props): import("react/jsx-runtime").JSX.Element;
13
- export { Autocomplete, AutocompleteInput, AutocompleteContent, AutocompleteList, AutocompleteItem, AutocompleteEmpty, AutocompleteTrigger, AutocompleteValue, };
@@ -1,2 +0,0 @@
1
- import { type PropsWithChildren } from 'react';
2
- export declare const Iphone15: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- import { type PropsWithChildren } from 'react';
2
- type PreviewSingleButtonProps = {
3
- className?: string;
4
- };
5
- export declare const PreviewSingleButton: ({ children, className }: PropsWithChildren<PreviewSingleButtonProps>) => import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1,17 +0,0 @@
1
- export type AutocompleteFieldItem = {
2
- value: string;
3
- label: string;
4
- };
5
- type Props = {
6
- items: AutocompleteFieldItem[];
7
- value: string;
8
- onValueChange: (value: string) => void;
9
- label?: string;
10
- disabled?: boolean;
11
- placeholder?: string;
12
- containerClassName?: string;
13
- emptyMessage?: string;
14
- onInputChange?: (value: string) => void;
15
- };
16
- export declare const AutocompleteField: ({ items, label, disabled, placeholder, containerClassName, emptyMessage, onInputChange, value, onValueChange, }: Props) => import("react/jsx-runtime").JSX.Element;
17
- export {};
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- import type { VariantProps } from 'class-variance-authority';
3
- import { buttonVariants } from '../../lib/design-variants';
4
- import type { Union } from 'ts-toolbelt';
5
- type BaseProps = {
6
- title: string;
7
- description: string;
8
- onAction: () => void;
9
- children?: React.ReactNode;
10
- cancelLabel: string;
11
- actionLabel: string;
12
- actionVariant?: VariantProps<typeof buttonVariants>['variant'];
13
- };
14
- type ControlledProps = BaseProps & {
15
- controlled: true;
16
- open: boolean;
17
- setOpen: (open: boolean) => void;
18
- };
19
- type UncontrolledProps = BaseProps & {
20
- controlled?: false;
21
- };
22
- type Props = Union.Strict<ControlledProps | UncontrolledProps>;
23
- export declare const ConfirmationDialog: ({ title, description, onAction, children, cancelLabel, actionLabel, actionVariant, open, setOpen, controlled, }: Props) => import("react/jsx-runtime").JSX.Element;
24
- export {};
@@ -1,5 +0,0 @@
1
- import { MessagingPhoneProps } from '../../types/messaging';
2
- export declare const PreviewSMS: {
3
- ({ messageData }: MessagingPhoneProps): import("react/jsx-runtime").JSX.Element | null;
4
- displayName: string;
5
- };
@@ -1,15 +0,0 @@
1
- import { type PropsWithChildren } from 'react';
2
- type WhatsappMessageProps = {
3
- cards?: {
4
- image?: string;
5
- title?: string;
6
- content?: string;
7
- buttons: {
8
- text?: string;
9
- yupButtonsText?: string;
10
- }[];
11
- }[];
12
- includeTime?: boolean;
13
- };
14
- export declare const WhatsappMessage: ({ children, cards, includeTime }: PropsWithChildren<WhatsappMessageProps>) => import("react/jsx-runtime").JSX.Element;
15
- export {};
@@ -1,10 +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
- formClassName?: string;
7
- containerClassName?: string;
8
- };
9
- export declare const FormCheckbox: <TFieldValues extends FieldValues = FieldValues>({ name, control, formClassName, ...props }: FormCheckboxProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
10
- export {};
package/dist/src/app.d.ts DELETED
@@ -1,14 +0,0 @@
1
- export type Product = {
2
- id: number;
3
- title: string;
4
- description: string;
5
- price: number;
6
- discountPercentage: number;
7
- rating: number;
8
- stock: number;
9
- brand: string;
10
- category: string;
11
- thumbnail: string;
12
- };
13
- declare function App(): import("react/jsx-runtime").JSX.Element;
14
- export default App;
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- import * as AccordionPrimitive from '@radix-ui/react-accordion';
3
- declare function Accordion({ ...props }: React.ComponentProps<typeof AccordionPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function AccordionItem({ className, ...props }: React.ComponentProps<typeof AccordionPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
5
- declare function AccordionTrigger({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
- declare function AccordionContent({ className, wrapperClassName, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Content> & {
7
- wrapperClassName?: string;
8
- }): import("react/jsx-runtime").JSX.Element;
9
- export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
@@ -1,18 +0,0 @@
1
- import * as React from 'react';
2
- import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
3
- import { Button } from '../../../components/atoms/button';
4
- declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
- declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
- declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
7
- declare function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
8
- declare function AlertDialogContent({ className, size, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content> & {
9
- size?: 'default' | 'sm';
10
- }): import("react/jsx-runtime").JSX.Element;
11
- declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
12
- declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
13
- declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
14
- declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
15
- declare function AlertDialogMedia({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
16
- declare function AlertDialogAction({ className, variant, size, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action> & Pick<React.ComponentProps<typeof Button>, 'variant' | 'size'>): import("react/jsx-runtime").JSX.Element;
17
- declare function AlertDialogCancel({ className, variant, size, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel> & Pick<React.ComponentProps<typeof Button>, 'variant' | 'size'>): import("react/jsx-runtime").JSX.Element;
18
- export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, };
@@ -1,3 +0,0 @@
1
- import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
2
- declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatioPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
3
- export { AspectRatio };
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import * as AvatarPrimitive from '@radix-ui/react-avatar';
3
- declare function Avatar({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>): import("react/jsx-runtime").JSX.Element;
5
- declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): import("react/jsx-runtime").JSX.Element;
6
- export { Avatar, AvatarImage, AvatarFallback };
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import { type VariantProps } from 'class-variance-authority';
3
- import { badgeVariants } from '../../../lib/design-variants';
4
- declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
5
- asChild?: boolean;
6
- }): import("react/jsx-runtime").JSX.Element;
7
- export { Badge };
@@ -1,11 +0,0 @@
1
- import * as React from 'react';
2
- declare function Breadcrumb({ ...props }: React.ComponentProps<'nav'>): import("react/jsx-runtime").JSX.Element;
3
- declare function BreadcrumbList({ className, ...props }: React.ComponentProps<'ol'>): import("react/jsx-runtime").JSX.Element;
4
- declare function BreadcrumbItem({ className, ...props }: React.ComponentProps<'li'>): import("react/jsx-runtime").JSX.Element;
5
- declare function BreadcrumbLink({ asChild, className, ...props }: React.ComponentProps<'a'> & {
6
- asChild?: boolean;
7
- }): import("react/jsx-runtime").JSX.Element;
8
- declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
9
- declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<'li'>): import("react/jsx-runtime").JSX.Element;
10
- declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
11
- export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- import { type VariantProps } from 'class-variance-authority';
3
- import { buttonVariants } from '../../../lib/design-variants';
4
- export interface ButtonProps extends React.ComponentProps<'button'> {
5
- variant?: VariantProps<typeof buttonVariants>['variant'];
6
- size?: VariantProps<typeof buttonVariants>['size'];
7
- asChild?: boolean;
8
- }
9
- declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
10
- export { Button };
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- import { type DayButton, DayPicker } from 'react-day-picker';
3
- import { Button } from './button';
4
- declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
5
- buttonVariant?: React.ComponentProps<typeof Button>['variant'];
6
- }): import("react/jsx-runtime").JSX.Element;
7
- declare function CalendarDayButton({ className, day, modifiers, ...props }: React.ComponentProps<typeof DayButton>): import("react/jsx-runtime").JSX.Element;
8
- export { Calendar, CalendarDayButton };
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- declare function Card({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
3
- declare function CardHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
4
- declare function CardTitle({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
5
- declare function CardDescription({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
6
- declare function CardAction({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
7
- declare function CardContent({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
8
- declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
9
- export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent };
@@ -1,19 +0,0 @@
1
- import * as React from 'react';
2
- import useEmblaCarousel, { type UseEmblaCarouselType } from 'embla-carousel-react';
3
- import { Button } from '../../../components/atoms/button';
4
- type CarouselApi = UseEmblaCarouselType[1];
5
- type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
6
- type CarouselOptions = UseCarouselParameters[0];
7
- type CarouselPlugin = UseCarouselParameters[1];
8
- type CarouselProps = {
9
- opts?: CarouselOptions;
10
- plugins?: CarouselPlugin;
11
- orientation?: 'horizontal' | 'vertical';
12
- setApi?: (api: CarouselApi) => void;
13
- };
14
- declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React.ComponentProps<'div'> & CarouselProps): import("react/jsx-runtime").JSX.Element;
15
- declare function CarouselContent({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
16
- declare function CarouselItem({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
17
- declare function CarouselPrevious({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
18
- declare function CarouselNext({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
19
- export { type CarouselApi, Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext };
@@ -1,40 +0,0 @@
1
- import * as React from 'react';
2
- import * as RechartsPrimitive from 'recharts';
3
- declare const THEMES: {
4
- readonly light: "";
5
- readonly dark: ".dark";
6
- };
7
- export type ChartConfig = {
8
- [k in string]: {
9
- label?: React.ReactNode;
10
- icon?: React.ComponentType;
11
- } & ({
12
- color?: string;
13
- theme?: never;
14
- } | {
15
- color?: never;
16
- theme: Record<keyof typeof THEMES, string>;
17
- });
18
- };
19
- declare function ChartContainer({ id, className, children, config, ...props }: React.ComponentProps<'div'> & {
20
- config: ChartConfig;
21
- children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>['children'];
22
- }): import("react/jsx-runtime").JSX.Element;
23
- declare const ChartStyle: ({ id, config }: {
24
- id: string;
25
- config: ChartConfig;
26
- }) => import("react/jsx-runtime").JSX.Element | null;
27
- declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
28
- declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React.ComponentProps<typeof RechartsPrimitive.Tooltip> & React.ComponentProps<'div'> & {
29
- hideLabel?: boolean;
30
- hideIndicator?: boolean;
31
- indicator?: 'line' | 'dot' | 'dashed';
32
- nameKey?: string;
33
- labelKey?: string;
34
- }): import("react/jsx-runtime").JSX.Element | null;
35
- declare const ChartLegend: typeof RechartsPrimitive.Legend;
36
- declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React.ComponentProps<'div'> & Pick<RechartsPrimitive.LegendProps, 'payload' | 'verticalAlign'> & {
37
- hideIcon?: boolean;
38
- nameKey?: string;
39
- }): import("react/jsx-runtime").JSX.Element | null;
40
- export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle };
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
3
- declare function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- export { Checkbox };
@@ -1,5 +0,0 @@
1
- import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
2
- declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): import("react/jsx-runtime").JSX.Element;
3
- declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): import("react/jsx-runtime").JSX.Element;
4
- declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): import("react/jsx-runtime").JSX.Element;
5
- export { Collapsible, CollapsibleTrigger, CollapsibleContent };
@@ -1,24 +0,0 @@
1
- import * as React from 'react';
2
- import { Combobox as ComboboxPrimitive } from '@base-ui/react';
3
- declare const Combobox: typeof ComboboxPrimitive.Root;
4
- declare function ComboboxValue({ ...props }: ComboboxPrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
5
- declare function ComboboxTrigger({ className, children, ...props }: ComboboxPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
6
- declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: ComboboxPrimitive.Input.Props & {
7
- showTrigger?: boolean;
8
- showClear?: boolean;
9
- }): import("react/jsx-runtime").JSX.Element;
10
- declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, ...props }: ComboboxPrimitive.Popup.Props & Pick<ComboboxPrimitive.Positioner.Props, 'side' | 'align' | 'sideOffset' | 'alignOffset' | 'anchor'>): import("react/jsx-runtime").JSX.Element;
11
- declare function ComboboxList({ className, ...props }: ComboboxPrimitive.List.Props): import("react/jsx-runtime").JSX.Element;
12
- declare function ComboboxItem({ className, children, ...props }: ComboboxPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
13
- declare function ComboboxGroup({ className, ...props }: ComboboxPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
14
- declare function ComboboxLabel({ className, ...props }: ComboboxPrimitive.GroupLabel.Props): import("react/jsx-runtime").JSX.Element;
15
- declare function ComboboxCollection({ ...props }: ComboboxPrimitive.Collection.Props): import("react/jsx-runtime").JSX.Element;
16
- declare function ComboboxEmpty({ className, ...props }: ComboboxPrimitive.Empty.Props): import("react/jsx-runtime").JSX.Element;
17
- declare function ComboboxSeparator({ className, ...props }: ComboboxPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
18
- declare function ComboboxChips({ className, ...props }: React.ComponentPropsWithRef<typeof ComboboxPrimitive.Chips> & ComboboxPrimitive.Chips.Props): import("react/jsx-runtime").JSX.Element;
19
- declare function ComboboxChip({ className, children, showRemove, ...props }: ComboboxPrimitive.Chip.Props & {
20
- showRemove?: boolean;
21
- }): import("react/jsx-runtime").JSX.Element;
22
- declare function ComboboxChipsInput({ className, ...props }: ComboboxPrimitive.Input.Props): import("react/jsx-runtime").JSX.Element;
23
- declare function useComboboxAnchor(): React.RefObject<HTMLDivElement | null>;
24
- export { Combobox, ComboboxInput, ComboboxContent, ComboboxList, ComboboxItem, ComboboxGroup, ComboboxLabel, ComboboxCollection, ComboboxEmpty, ComboboxSeparator, ComboboxChips, ComboboxChip, ComboboxChipsInput, ComboboxTrigger, ComboboxValue, useComboboxAnchor, };
@@ -1,20 +0,0 @@
1
- import * as React from 'react';
2
- import { Command as CommandPrimitive } from 'cmdk';
3
- import { Dialog } from '../../../components/atoms/dialog';
4
- declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>): import("react/jsx-runtime").JSX.Element;
5
- declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React.ComponentProps<typeof Dialog> & {
6
- title?: string;
7
- description?: string;
8
- className?: string;
9
- showCloseButton?: boolean;
10
- }): import("react/jsx-runtime").JSX.Element;
11
- declare function CommandInput({ containerClassName, className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input> & {
12
- containerClassName?: string;
13
- }): import("react/jsx-runtime").JSX.Element;
14
- declare function CommandList({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>): import("react/jsx-runtime").JSX.Element;
15
- declare function CommandEmpty({ ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>): import("react/jsx-runtime").JSX.Element;
16
- declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
17
- declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
18
- declare function CommandItem({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
19
- declare function CommandShortcut({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
20
- export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
@@ -1,19 +0,0 @@
1
- import * as React from 'react';
2
- interface CaseProps {
3
- condition: boolean;
4
- children: React.ReactNode;
5
- }
6
- declare function Case({ children }: CaseProps): React.ReactNode;
7
- declare namespace Case {
8
- var displayName: string;
9
- }
10
- declare function Default({ children }: {
11
- children: React.ReactNode;
12
- }): React.ReactNode;
13
- declare namespace Default {
14
- var displayName: string;
15
- }
16
- declare function ComponentSwitch({ children }: {
17
- children: React.ReactNode;
18
- }): null;
19
- export { Case, Default, ComponentSwitch };
@@ -1,11 +0,0 @@
1
- import * as React from 'react';
2
- import type { ClassValue } from 'clsx';
3
- type Props = {
4
- children: React.ReactNode;
5
- title?: string;
6
- className?: ClassValue;
7
- titleClassName?: string;
8
- header?: React.ReactNode;
9
- };
10
- export declare const ContentWrapper: ({ title, className, titleClassName, header, children }: Props) => import("react/jsx-runtime").JSX.Element;
11
- export {};
@@ -1,4 +0,0 @@
1
- export declare const FormattedDate: ({ date, format }: {
2
- date: Date;
3
- format: string;
4
- }) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,16 +0,0 @@
1
- import * as React from 'react';
2
- import * as DialogPrimitive from '@radix-ui/react-dialog';
3
- declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
- declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
6
- declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
7
- declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
8
- declare function DialogContent({ className, children, showCloseButton, overlayClassName, ref, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
9
- showCloseButton?: boolean;
10
- overlayClassName?: string;
11
- }): import("react/jsx-runtime").JSX.Element;
12
- declare function DialogHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
13
- declare function DialogFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
14
- declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
15
- declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
16
- export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- import { Drawer as DrawerPrimitive } from 'vaul';
3
- declare function Drawer({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function DrawerTrigger({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
- declare function DrawerPortal({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
6
- declare function DrawerClose({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
7
- declare function DrawerOverlay({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
8
- declare function DrawerContent({ className, children, ...props }: React.ComponentProps<typeof DrawerPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
9
- declare function DrawerHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
10
- declare function DrawerFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
11
- declare function DrawerTitle({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
12
- declare function DrawerDescription({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
13
- export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };
@@ -1,25 +0,0 @@
1
- import * as React from 'react';
2
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
- declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
5
- declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
- declare function DropdownMenuContent({ className, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
- declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
8
- declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
9
- inset?: boolean;
10
- variant?: 'default' | 'destructive';
11
- }): import("react/jsx-runtime").JSX.Element;
12
- declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): import("react/jsx-runtime").JSX.Element;
13
- declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
14
- declare function DropdownMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): import("react/jsx-runtime").JSX.Element;
15
- declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
16
- inset?: boolean;
17
- }): import("react/jsx-runtime").JSX.Element;
18
- declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
19
- declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
20
- declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
21
- declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
22
- inset?: boolean;
23
- }): import("react/jsx-runtime").JSX.Element;
24
- declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
25
- export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, };
@@ -1,11 +0,0 @@
1
- import { type VariantProps } from 'class-variance-authority';
2
- declare function Empty({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
3
- declare function EmptyHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
4
- declare const emptyMediaVariants: (props?: ({
5
- variant?: "default" | "icon" | null | undefined;
6
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
- declare function EmptyMedia({ className, variant, ...props }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): import("react/jsx-runtime").JSX.Element;
8
- declare function EmptyTitle({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
9
- declare function EmptyDescription({ className, ...props }: React.ComponentProps<'p'>): import("react/jsx-runtime").JSX.Element;
10
- declare function EmptyContent({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
11
- export { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, EmptyMedia };
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- interface ErrorMessageProps extends React.ComponentProps<'p'> {
3
- message: string;
4
- }
5
- declare function ErrorMessage({ message, className }: ErrorMessageProps): import("react/jsx-runtime").JSX.Element;
6
- export { ErrorMessage };
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- interface FieldDescriptionProps extends React.ComponentProps<'p'> {
3
- description: string;
4
- }
5
- declare function FieldDescription({ description, className }: FieldDescriptionProps): import("react/jsx-runtime").JSX.Element;
6
- export { FieldDescription };
@@ -1,17 +0,0 @@
1
- import * as React from 'react';
2
- import { Slot } from '@radix-ui/react-slot';
3
- import { type ControllerProps, type FieldPath, type FieldValues } from 'react-hook-form';
4
- import type * as LabelPrimitive from '@radix-ui/react-label';
5
- declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>(props: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
6
- declare function FormItem({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
7
- type FormLabelProps = React.ComponentProps<typeof LabelPrimitive.Root> & {
8
- required?: boolean;
9
- };
10
- declare function FormLabel({ className, required, ...props }: FormLabelProps): import("react/jsx-runtime").JSX.Element;
11
- declare function FormControl(props: React.ComponentProps<typeof Slot>): import("react/jsx-runtime").JSX.Element;
12
- declare function FormDescription({ className, ...props }: React.ComponentProps<'p'>): import("react/jsx-runtime").JSX.Element;
13
- type FormMessageProps = React.ComponentProps<'p'> & {
14
- showErrorPlaceholder?: boolean;
15
- };
16
- declare function FormMessage({ className, showErrorPlaceholder, ...props }: FormMessageProps): import("react/jsx-runtime").JSX.Element | null;
17
- export { FormField, FormItem, FormLabel, FormControl, FormDescription, FormMessage };
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
3
- declare function HoverCard({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function HoverCardTrigger({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
- declare function HoverCardContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof HoverCardPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
6
- export { HoverCard, HoverCardTrigger, HoverCardContent };
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- interface IconProps extends React.ComponentProps<'i'> {
3
- name: string;
4
- }
5
- declare function Icon({ name, className, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
6
- export { Icon };
@@ -1,16 +0,0 @@
1
- import * as React from 'react';
2
- import { type VariantProps } from 'class-variance-authority';
3
- import { Button } from '../../../components/atoms/button';
4
- declare function InputGroup({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
5
- declare const inputGroupAddonVariants: (props?: ({
6
- align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
7
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
- declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<'div'> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
9
- declare const inputGroupButtonVariants: (props?: ({
10
- size?: "xs" | "sm" | "icon-sm" | "icon-xs" | null | undefined;
11
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
12
- declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, 'size'> & VariantProps<typeof inputGroupButtonVariants>): import("react/jsx-runtime").JSX.Element;
13
- declare function InputGroupText({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
14
- declare function InputGroupInput({ className, ...props }: React.ComponentProps<'input'>): import("react/jsx-runtime").JSX.Element;
15
- declare function InputGroupTextarea({ className, ...props }: React.ComponentProps<'textarea'>): import("react/jsx-runtime").JSX.Element;
16
- export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupText, InputGroupInput, InputGroupTextarea };