@povio/ui 0.0.6 → 0.0.7

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 (91) hide show
  1. package/dist/components/Menu/MenuDesktop.d.ts +1 -1
  2. package/dist/components/Menu/MenuItem.d.ts +1 -1
  3. package/dist/components/Menu/MenuMobile.d.ts +1 -1
  4. package/dist/components/Menu/MenuPopover.d.ts +1 -1
  5. package/dist/components/buttons/Button/Button.d.ts +1 -1
  6. package/dist/components/buttons/Button/button.cva.d.ts +1 -1
  7. package/dist/components/buttons/IconButton/IconButton.d.ts +1 -1
  8. package/dist/components/buttons/InlineIconButton/InlineIconButton.d.ts +1 -1
  9. package/dist/components/buttons/PillButton/PillButton.d.ts +2 -2
  10. package/dist/components/buttons/PillButton/pillButton.cva.d.ts +1 -1
  11. package/dist/components/buttons/SplitButton/SplitButton.d.ts +2 -2
  12. package/dist/components/buttons/TextButton/TextButton.d.ts +3 -3
  13. package/dist/components/buttons/ToggleButton/ToggleButton.d.ts +3 -3
  14. package/dist/components/buttons/shared/ButtonContent.d.ts +3 -3
  15. package/dist/components/inputs/Checkbox/Checkbox.d.ts +3 -3
  16. package/dist/components/inputs/Checkbox/CheckboxCheckmark.d.ts +1 -1
  17. package/dist/components/inputs/Checkbox/checkbox.cva.d.ts +1 -1
  18. package/dist/components/inputs/DateTime/DatePicker/DatePicker.d.ts +3 -3
  19. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +3 -3
  20. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +3 -3
  21. package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +3 -3
  22. package/dist/components/inputs/DateTime/shared/CalendarHeader.d.ts +1 -1
  23. package/dist/components/inputs/DateTime/shared/DatePickerInput.d.ts +2 -2
  24. package/dist/components/inputs/DateTime/shared/TimePickerInput.d.ts +2 -2
  25. package/dist/components/inputs/File/fileUpload.types.d.ts +3 -3
  26. package/dist/components/inputs/File/inputUpload.types.d.ts +2 -2
  27. package/dist/components/inputs/File/shared/FileCard.d.ts +1 -1
  28. package/dist/components/inputs/File/shared/FileCardList.d.ts +1 -1
  29. package/dist/components/inputs/File/shared/FileUploadContent.d.ts +1 -1
  30. package/dist/components/inputs/File/shared/FileUploadContentEmpty.d.ts +1 -1
  31. package/dist/components/inputs/File/shared/FileUploadContentError.d.ts +1 -1
  32. package/dist/components/inputs/File/shared/FileUploadContentFilled.d.ts +1 -1
  33. package/dist/components/inputs/File/shared/FileUploadContentLoading.d.ts +1 -1
  34. package/dist/components/inputs/File/shared/InputUploadContent.d.ts +1 -1
  35. package/dist/components/inputs/FormField/FormField.d.ts +3 -3
  36. package/dist/components/inputs/FormField/FormFieldLabel.d.ts +1 -1
  37. package/dist/components/inputs/Input/NumberInput/NumberInput.d.ts +4 -4
  38. package/dist/components/inputs/Input/PasswordInput/PasswordInput.d.ts +2 -2
  39. package/dist/components/inputs/Input/TextArea/TextArea.d.ts +3 -3
  40. package/dist/components/inputs/Input/TextInput/TextInput.d.ts +4 -4
  41. package/dist/components/inputs/Input/shared/InputContent.d.ts +3 -3
  42. package/dist/components/inputs/Inputs/Form.d.ts +2 -2
  43. package/dist/components/inputs/Inputs/InputItem.d.ts +16 -16
  44. package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +3 -3
  45. package/dist/components/inputs/RadioGroup/radio.cva.d.ts +1 -1
  46. package/dist/components/inputs/Selection/Autocomplete/Autocomplete.d.ts +3 -3
  47. package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts +3 -3
  48. package/dist/components/inputs/Selection/Select/Select.d.ts +3 -3
  49. package/dist/components/inputs/Selection/shared/SelectBase.d.ts +3 -3
  50. package/dist/components/inputs/Selection/shared/SelectDesktop.d.ts +1 -1
  51. package/dist/components/inputs/Selection/shared/SelectInput.d.ts +4 -4
  52. package/dist/components/inputs/Selection/shared/SelectListBox.d.ts +2 -2
  53. package/dist/components/inputs/Selection/shared/SelectListBoxItem.d.ts +2 -2
  54. package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.d.ts +1 -1
  55. package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.d.ts +1 -1
  56. package/dist/components/inputs/Selection/shared/SelectMobile.d.ts +1 -1
  57. package/dist/components/inputs/Selection/shared/select.context.d.ts +2 -2
  58. package/dist/components/inputs/Selection/shared/select.types.d.ts +1 -1
  59. package/dist/components/inputs/Selection/shared/useSelectItems.d.ts +2 -2
  60. package/dist/components/inputs/Slider/Slider.d.ts +2 -2
  61. package/dist/components/inputs/TextEditor/TextEditor.d.ts +2 -2
  62. package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.d.ts +1 -1
  63. package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.d.ts +1 -1
  64. package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.d.ts +1 -1
  65. package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.d.ts +1 -1
  66. package/dist/components/inputs/TextEditor/Toolbar/TextListActions.d.ts +1 -1
  67. package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.d.ts +1 -1
  68. package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.d.ts +1 -1
  69. package/dist/components/inputs/Toggle/Toggle.d.ts +3 -3
  70. package/dist/components/inputs/Toggle/toggle.cva.d.ts +1 -1
  71. package/dist/components/inputs/shared/CheckContent.d.ts +1 -1
  72. package/dist/components/inputs/shared/label.cva.d.ts +1 -1
  73. package/dist/components/overlays/ActionModal/ActionModal.d.ts +2 -2
  74. package/dist/components/overlays/Modal/Modal.d.ts +1 -1
  75. package/dist/components/segment/segment.types.d.ts +1 -1
  76. package/dist/components/shared/pagination/PaginationList.d.ts +1 -1
  77. package/dist/components/status/Alert/Alert.d.ts +1 -1
  78. package/dist/components/status/Loader/Loader.d.ts +1 -1
  79. package/dist/components/status/Toast/Toast.d.ts +1 -1
  80. package/dist/components/status/Toast/toast.cva.d.ts +1 -1
  81. package/dist/components/text/Link/Link.d.ts +1 -1
  82. package/dist/components/text/Tag/Tag.d.ts +1 -1
  83. package/dist/components/text/Typography/Typography.d.ts +1 -1
  84. package/dist/config/confirmation.context.d.ts +1 -1
  85. package/dist/config/uiConfig.context.d.ts +7 -7
  86. package/dist/config/uiStyle.context.d.ts +14 -14
  87. package/dist/helpers/dynamicInputs.d.ts +2 -2
  88. package/dist/hooks/useFormAutosave.d.ts +2 -2
  89. package/dist/types/react-query.d.ts +1 -1
  90. package/dist/utils/rest/rest-client.d.ts +2 -2
  91. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- import { MenuProps } from '#ui/components/Menu/Menu';
1
+ import { MenuProps } from './Menu';
2
2
  export declare const MenuDesktop: ({ trigger, items, closeDelay, triggerOnHover }: MenuProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { MenuItem as MenuItemType } from '#ui/components/Menu/Menu';
1
+ import { MenuItem as MenuItemType } from './Menu';
2
2
  type MenuListItemProps = MenuItemType;
3
3
  export declare const MenuItem: ({ label, content, children, ...item }: MenuListItemProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export declare const menuItemClass: string;
@@ -1,2 +1,2 @@
1
- import { MenuProps } from '#ui/components/Menu/Menu';
1
+ import { MenuProps } from './Menu';
2
2
  export declare const MenuMobile: ({ trigger, items }: MenuProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { PopoverProps as AriaPopoverProps } from 'react-aria-components';
2
- import { MenuProps } from '#ui/components/Menu/Menu';
2
+ import { MenuProps } from './Menu';
3
3
  export interface MenuPopoverProps extends Pick<MenuProps, "items">, AriaPopoverProps {
4
4
  }
5
5
  export declare const MenuPopover: ({ items, ...props }: MenuPopoverProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { FC, ReactElement, SVGProps } from 'react';
2
2
  import { ButtonProps as AriaButtonProps, LinkProps as AriaLinkProps, ToggleButtonProps as AriaToggleButtonProps } from 'react-aria-components';
3
- import { ButtonContentVariantProps } from '#ui/components/buttons/shared/buttonContent.cva';
3
+ import { ButtonContentVariantProps } from '../shared/buttonContent.cva';
4
4
  import { ButtonVariantProps } from './button.cva';
5
5
  export type ButtonIconProps<IconOnly extends boolean = false> = {
6
6
  iconOnly?: IconOnly;
@@ -1,5 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
- import { TypographyVariantProps } from '#ui/components/text/Typography/typography.cva';
2
+ import { TypographyVariantProps } from '../../text/Typography/typography.cva';
3
3
  export declare const button: (props?: ({
4
4
  width?: "fill" | "hug" | null | undefined;
5
5
  size?: "xxs" | "xs" | "s" | "m" | "l" | null | undefined;
@@ -1,6 +1,6 @@
1
1
  import { FC, ReactElement, SVGProps } from 'react';
2
2
  import { ButtonProps as AriaButtonProps, LinkProps as AriaLinkProps } from 'react-aria-components';
3
- import { ButtonVariantProps } from '#ui/components/buttons/Button/button.cva';
3
+ import { ButtonVariantProps } from '../Button/button.cva';
4
4
  export interface IconButtonProps extends ButtonVariantProps, Omit<AriaButtonProps, "children"> {
5
5
  label: string;
6
6
  icon: FC<SVGProps<SVGSVGElement>> | ReactElement;
@@ -1,6 +1,6 @@
1
1
  import { FC, ReactElement, RefObject, SVGProps } from 'react';
2
2
  import { ButtonProps as AriaButtonProps, LinkProps as AriaLinkProps } from 'react-aria-components';
3
- import { ButtonVariantProps } from '#ui/components/buttons/Button/button.cva';
3
+ import { ButtonVariantProps } from '../Button/button.cva';
4
4
  export interface InlineIconButtonProps extends Omit<AriaButtonProps, "children">, ButtonVariantProps {
5
5
  label: string;
6
6
  icon: FC<SVGProps<SVGSVGElement>> | ReactElement;
@@ -1,7 +1,7 @@
1
1
  import { FC, SVGProps } from 'react';
2
2
  import { ButtonProps as AriaButtonProps, ToggleButtonProps as AriaToggleButtonProps } from 'react-aria-components';
3
- import { PillButtonVariants } from '#ui/components/buttons/PillButton/pillButton.cva';
4
- import { ButtonContentVariantProps } from '#ui/components/buttons/shared/buttonContent.cva';
3
+ import { PillButtonVariants } from './pillButton.cva';
4
+ import { ButtonContentVariantProps } from '../shared/buttonContent.cva';
5
5
  export interface PillButtonProps extends AriaButtonProps, Omit<AriaToggleButtonProps, keyof AriaButtonProps>, ButtonContentVariantProps, PillButtonVariants {
6
6
  children: string;
7
7
  dismissable?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
- import { TypographyVariantProps } from '#ui/components/text/Typography/typography.cva';
2
+ import { TypographyVariantProps } from '../../text/Typography/typography.cva';
3
3
  export declare const pillButton: (props?: ({
4
4
  color?: "primary" | "secondary" | "success" | "warning" | "error" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,6 +1,6 @@
1
1
  import { ButtonProps as AriaButtonProps, LinkProps as AriaLinkProps } from 'react-aria-components';
2
- import { ButtonVariantProps } from '#ui/components/buttons/Button/button.cva';
3
- import { MenuItem } from '#ui/components/Menu/Menu';
2
+ import { ButtonVariantProps } from '../Button/button.cva';
3
+ import { MenuItem } from '../../Menu/Menu';
4
4
  export interface SplitButtonProps extends ButtonVariantProps, Omit<AriaButtonProps, "children"> {
5
5
  label: string;
6
6
  labelRight: string;
@@ -1,7 +1,7 @@
1
1
  import { ButtonProps as AriaButtonProps, LinkProps as AriaLinkProps } from 'react-aria-components';
2
- import { ButtonIconProps } from '#ui/components/buttons/Button/Button';
3
- import { ButtonVariantProps } from '#ui/components/buttons/Button/button.cva';
4
- import { ButtonContentVariantProps } from '#ui/components/buttons/shared/buttonContent.cva';
2
+ import { ButtonIconProps } from '../Button/Button';
3
+ import { ButtonVariantProps } from '../Button/button.cva';
4
+ import { ButtonContentVariantProps } from '../shared/buttonContent.cva';
5
5
  export type TextButtonProps = Omit<ButtonVariantProps, "variant"> & ButtonContentVariantProps & AriaButtonProps & ButtonIconProps<true | false> & {
6
6
  children: string;
7
7
  isLoading?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { ToggleButtonProps as AriaToggleButtonProps } from 'react-aria-components';
2
- import { ButtonIconProps } from '#ui/components/buttons/Button/Button';
3
- import { ButtonVariantProps } from '#ui/components/buttons/Button/button.cva';
4
- import { ButtonContentVariantProps } from '#ui/components/buttons/shared/buttonContent.cva';
2
+ import { ButtonIconProps } from '../Button/Button';
3
+ import { ButtonVariantProps } from '../Button/button.cva';
4
+ import { ButtonContentVariantProps } from '../shared/buttonContent.cva';
5
5
  export type ToggleButtonProps = ButtonVariantProps & ButtonContentVariantProps & AriaToggleButtonProps & ButtonIconProps<true | false> & {
6
6
  children: string;
7
7
  disableTooltip?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { FC, ReactElement, Ref, SVGProps } from 'react';
2
- import { ButtonVariantProps } from '#ui/components/buttons/Button/button.cva';
3
- import { ButtonContentVariantProps } from '#ui/components/buttons/shared/buttonContent.cva';
4
- import { TypographyVariantProps } from '#ui/components/text/Typography/typography.cva';
2
+ import { ButtonVariantProps } from '../Button/button.cva';
3
+ import { ButtonContentVariantProps } from './buttonContent.cva';
4
+ import { TypographyVariantProps } from '../../text/Typography/typography.cva';
5
5
  interface ButtonContentProps extends ButtonContentVariantProps, Pick<ButtonVariantProps, "size"> {
6
6
  ref?: Ref<HTMLHeadingElement>;
7
7
  text: string;
@@ -1,9 +1,9 @@
1
1
  import { ComponentType, ReactElement, Ref, SVGProps } from 'react';
2
2
  import { CheckboxProps as AriaCheckboxProps } from 'react-aria-components';
3
3
  import { FieldValues } from 'react-hook-form';
4
- import { CheckboxVariantProps } from '#ui/components/inputs/Checkbox/checkbox.cva';
5
- import { FormFieldErrorProps } from '#ui/components/inputs/FormField/FormFieldError';
6
- import { ControlProps } from '#ui/components/inputs/shared/form.types';
4
+ import { CheckboxVariantProps } from './checkbox.cva';
5
+ import { FormFieldErrorProps } from '../FormField/FormFieldError';
6
+ import { ControlProps } from '../shared/form.types';
7
7
  interface CheckboxBaseProps extends FormFieldErrorProps, CheckboxVariantProps, Omit<AriaCheckboxProps, "className"> {
8
8
  ref?: Ref<HTMLLabelElement>;
9
9
  children: string | ReactElement;
@@ -1,5 +1,5 @@
1
1
  import { ComponentType, SVGProps } from 'react';
2
- import { CheckboxVariantProps } from '#ui/components/inputs/Checkbox/checkbox.cva';
2
+ import { CheckboxVariantProps } from './checkbox.cva';
3
3
  interface CheckboxCheckmarkProps extends CheckboxVariantProps {
4
4
  className?: string;
5
5
  selectedIcon?: ComponentType<SVGProps<SVGSVGElement>>;
@@ -1,5 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
- import { TypographyVariantProps } from '#ui/components/text/Typography/typography.cva';
2
+ import { TypographyVariantProps } from '../../text/Typography/typography.cva';
3
3
  export declare const checkbox: (props?: ({
4
4
  variant?: "default" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -2,9 +2,9 @@ import { CalendarDate, DateValue } from '@internationalized/date';
2
2
  import { Ref } from 'react';
3
3
  import { FieldValues } from 'react-hook-form';
4
4
  import { DatePickerStateOptions } from 'react-stately';
5
- import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
6
- import { ControlProps } from '#ui/components/inputs/shared/form.types';
7
- import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
5
+ import { FormFieldProps } from '../../FormField/FormField';
6
+ import { ControlProps } from '../../shared/form.types';
7
+ import { InputVariantProps } from '../../shared/input.cva';
8
8
  interface DatePickerBaseProps extends FormFieldProps, InputVariantProps, Omit<DatePickerStateOptions<CalendarDate>, "granularity" | "shouldCloseOnSelect" | "label"> {
9
9
  ref?: Ref<HTMLDivElement>;
10
10
  disableDropdown?: boolean;
@@ -3,9 +3,9 @@ import { Ref } from 'react';
3
3
  import { DateValue } from 'react-aria';
4
4
  import { FieldValues } from 'react-hook-form';
5
5
  import { DateRangePickerStateOptions } from 'react-stately';
6
- import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
7
- import { ControlProps } from '#ui/components/inputs/shared/form.types';
8
- import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
6
+ import { FormFieldProps } from '../../FormField/FormField';
7
+ import { ControlProps } from '../../shared/form.types';
8
+ import { InputVariantProps } from '../../shared/input.cva';
9
9
  interface DateRangePickerBaseProps extends FormFieldProps, InputVariantProps, Omit<DateRangePickerStateOptions<CalendarDate>, "granularity" | "shouldCloseOnSelect" | "label"> {
10
10
  ref?: Ref<HTMLDivElement>;
11
11
  disableDropdown?: boolean;
@@ -2,9 +2,9 @@ import { Ref } from 'react';
2
2
  import { DateValue } from 'react-aria';
3
3
  import { FieldValues } from 'react-hook-form';
4
4
  import { DatePickerStateOptions } from 'react-stately';
5
- import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
6
- import { ControlProps } from '#ui/components/inputs/shared/form.types';
7
- import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
5
+ import { FormFieldProps } from '../../FormField/FormField';
6
+ import { ControlProps } from '../../shared/form.types';
7
+ import { InputVariantProps } from '../../shared/input.cva';
8
8
  interface DateTimePickerBaseProps extends FormFieldProps, InputVariantProps, Omit<DatePickerStateOptions<DateValue>, "granularity" | "shouldCloseOnSelect" | "label"> {
9
9
  ref?: Ref<HTMLDivElement>;
10
10
  disableDropdown?: boolean;
@@ -1,9 +1,9 @@
1
1
  import { Ref } from 'react';
2
2
  import { AriaTimeFieldProps, TimeValue } from 'react-aria';
3
3
  import { FieldValues } from 'react-hook-form';
4
- import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
5
- import { ControlProps } from '#ui/components/inputs/shared/form.types';
6
- import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
4
+ import { FormFieldProps } from '../../FormField/FormField';
5
+ import { ControlProps } from '../../shared/form.types';
6
+ import { InputVariantProps } from '../../shared/input.cva';
7
7
  interface TimePickerBaseProps extends FormFieldProps, InputVariantProps, Omit<AriaTimeFieldProps<TimeValue>, "label"> {
8
8
  ref?: Ref<HTMLDivElement>;
9
9
  disableDropdown?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { AriaButtonProps } from '@react-aria/button';
2
2
  import { CalendarState } from '@react-stately/calendar';
3
3
  import { DatePickerState } from 'react-stately';
4
- import { ToggleState } from '#ui/components/inputs/DateTime/shared/Calendar';
4
+ import { ToggleState } from './Calendar';
5
5
  interface CalendarProps {
6
6
  calendarState: CalendarState;
7
7
  datePickerState?: DatePickerState;
@@ -1,7 +1,7 @@
1
1
  import { Ref } from 'react';
2
2
  import { DatePickerAria } from 'react-aria';
3
- import { FormFieldHeaderProps } from '#ui/components/inputs/FormField/FormFieldHeader';
4
- import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
3
+ import { FormFieldHeaderProps } from '../../FormField/FormFieldHeader';
4
+ import { InputVariantProps } from '../../shared/input.cva';
5
5
  interface DatePickerInputProps extends InputVariantProps {
6
6
  ref?: Ref<HTMLDivElement>;
7
7
  groupProps: DatePickerAria["groupProps"];
@@ -1,8 +1,8 @@
1
1
  import { Ref } from 'react';
2
2
  import { DateFieldAria } from 'react-aria';
3
3
  import { TimeFieldState } from 'react-stately';
4
- import { FormFieldHeaderProps } from '#ui/components/inputs/FormField/FormFieldHeader';
5
- import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
4
+ import { FormFieldHeaderProps } from '../../FormField/FormFieldHeader';
5
+ import { InputVariantProps } from '../../shared/input.cva';
6
6
  interface DatePickerInputProps extends InputVariantProps {
7
7
  ref?: Ref<HTMLDivElement>;
8
8
  fieldProps: DateFieldAria["fieldProps"];
@@ -1,9 +1,9 @@
1
1
  import { ReactNode, Ref } from 'react';
2
2
  import { DropZoneProps, FileTriggerProps } from 'react-aria-components';
3
3
  import { FieldValues } from 'react-hook-form';
4
- import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
5
- import { ControlProps } from '#ui/components/inputs/shared/form.types';
6
- import { ApplicationException, GeneralErrorCodes } from '#ui/utils/vendor/error-handling';
4
+ import { FormFieldProps } from '../FormField/FormField';
5
+ import { ControlProps } from '../shared/form.types';
6
+ import { ApplicationException, GeneralErrorCodes } from '../../../utils/vendor/error-handling';
7
7
  export interface FileUploadVariant {
8
8
  variant?: "vertical" | "horizontal";
9
9
  }
@@ -1,8 +1,8 @@
1
1
  import { Ref } from 'react';
2
2
  import { DropZoneProps, FileTriggerProps } from 'react-aria-components';
3
3
  import { FieldValues } from 'react-hook-form';
4
- import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
5
- import { ControlProps } from '#ui/components/inputs/shared/form.types';
4
+ import { FormFieldProps } from '../FormField/FormField';
5
+ import { ControlProps } from '../shared/form.types';
6
6
  import { InputUploadButtonProps } from './shared/inputUploadButton.cva';
7
7
  export interface SingleFileUploadProps {
8
8
  allowsMultiple?: false;
@@ -1,4 +1,4 @@
1
- import { FileUploadProps, FileUploadState } from '#ui/components/inputs/File/FileUpload';
1
+ import { FileUploadProps, FileUploadState } from '../FileUpload';
2
2
  interface FileCardProps extends Pick<FileUploadProps, "as" | "isDisabled"> {
3
3
  index: number;
4
4
  state: FileUploadState;
@@ -1,4 +1,4 @@
1
- import { FileUploadProps, FileUploadState } from '#ui/components/inputs/File/FileUpload';
1
+ import { FileUploadProps, FileUploadState } from '../FileUpload';
2
2
  interface FileCardListProps extends Pick<FileUploadProps, "isDisabled" | "as"> {
3
3
  uploadState: FileUploadState[];
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import { FileUploadBaseProps, FileUploadState } from '#ui/components/inputs/File/fileUpload.types';
1
+ import { FileUploadBaseProps, FileUploadState } from '../fileUpload.types';
2
2
  type FileUploadContentProps = Omit<FileUploadBaseProps, "ref" | "children" | "emptyText" | "label"> & {
3
3
  emptyText: string;
4
4
  uploadState: FileUploadState[];
@@ -1,4 +1,4 @@
1
- import { FileUploadBaseProps } from '#ui/components/inputs/File/fileUpload.types';
1
+ import { FileUploadBaseProps } from '../fileUpload.types';
2
2
  type FileUploadContentEmptyProps = Pick<FileUploadBaseProps, "variant" | "as" | "isDisabled" | "emptyText" | "browseText" | "uploadText"> & {
3
3
  title: string;
4
4
  singleFile?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { FileTriggerProps } from 'react-aria-components';
2
- import { FileUploadBaseProps, FileUploadState } from '#ui/components/inputs/File/fileUpload.types';
2
+ import { FileUploadBaseProps, FileUploadState } from '../fileUpload.types';
3
3
  type FileUploadContentErrorProps = Pick<FileUploadBaseProps, "variant" | "as" | "isDisabled" | "emptyText" | "browseText"> & {
4
4
  state: FileUploadState;
5
5
  fileTriggerProps?: FileTriggerProps;
@@ -1,5 +1,5 @@
1
1
  import { FileTriggerProps } from 'react-aria-components';
2
- import { FileUploadBaseProps, FileUploadState } from '#ui/components/inputs/File/fileUpload.types';
2
+ import { FileUploadBaseProps, FileUploadState } from '../fileUpload.types';
3
3
  type FileUploadContentFilledProps = Pick<FileUploadBaseProps, "variant" | "as" | "isDisabled" | "emptyText" | "browseText"> & {
4
4
  state: FileUploadState;
5
5
  fileTriggerProps?: FileTriggerProps;
@@ -1,4 +1,4 @@
1
- import { FileUploadBaseProps, FileUploadState } from '#ui/components/inputs/File/fileUpload.types';
1
+ import { FileUploadBaseProps, FileUploadState } from '../fileUpload.types';
2
2
  type FileUploadContentLoadingProps = Pick<FileUploadBaseProps, "variant" | "as" | "isDisabled" | "emptyText" | "browseText"> & {
3
3
  index: number;
4
4
  state: FileUploadState;
@@ -1,5 +1,5 @@
1
1
  import { DropZoneProps, FileTriggerProps } from 'react-aria-components';
2
- import { InputUploadBaseProps } from '#ui/components/inputs/File/inputUpload.types';
2
+ import { InputUploadBaseProps } from '../inputUpload.types';
3
3
  interface InputUploadContentProps extends Omit<InputUploadBaseProps, "ref"> {
4
4
  onSelect: FileTriggerProps["onSelect"];
5
5
  onDrop: DropZoneProps["onDrop"];
@@ -1,7 +1,7 @@
1
1
  import { PropsWithChildren, Ref } from 'react';
2
- import { FormFieldErrorProps } from '#ui/components/inputs/FormField/FormFieldError';
3
- import { FormFieldHeaderProps } from '#ui/components/inputs/FormField/FormFieldHeader';
4
- import { TextInputProps } from '#ui/components/inputs/Input/TextInput/TextInput';
2
+ import { FormFieldErrorProps } from './FormFieldError';
3
+ import { FormFieldHeaderProps } from './FormFieldHeader';
4
+ import { TextInputProps } from '../Input/TextInput/TextInput';
5
5
  export interface FormFieldProps extends Omit<FormFieldHeaderProps, "className" | "labelProps">, Omit<FormFieldErrorProps, "className"> {
6
6
  hideLabel?: boolean;
7
7
  headerClassName?: string;
@@ -1,6 +1,6 @@
1
1
  import { DOMAttributes } from '@react-types/shared';
2
2
  import { RefCallback } from 'react';
3
- import { LabelBaseProps } from '#ui/components/inputs/shared/label.cva';
3
+ import { LabelBaseProps } from '../shared/label.cva';
4
4
  export interface FormFieldLabelProps extends LabelBaseProps {
5
5
  label: string;
6
6
  isRequired?: boolean;
@@ -1,10 +1,10 @@
1
1
  import { Ref } from 'react';
2
2
  import { NumberFieldProps as AriaNumberFieldProps } from 'react-aria-components';
3
3
  import { FieldValues } from 'react-hook-form';
4
- import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
5
- import { InputContentProps } from '#ui/components/inputs/Input/shared/InputContent';
6
- import { ControlProps } from '#ui/components/inputs/shared/form.types';
7
- import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
4
+ import { FormFieldProps } from '../../FormField/FormField';
5
+ import { InputContentProps } from '../shared/InputContent';
6
+ import { ControlProps } from '../../shared/form.types';
7
+ import { InputVariantProps } from '../../shared/input.cva';
8
8
  interface NumberInputBaseProps extends FormFieldProps, InputVariantProps, Omit<InputContentProps, "ref" | "value" | "onChange">, Omit<AriaNumberFieldProps, "value" | "onChange" | "className"> {
9
9
  ref?: Ref<HTMLInputElement>;
10
10
  placeholder?: string;
@@ -1,6 +1,6 @@
1
1
  import { FieldValues } from 'react-hook-form';
2
- import { TextInputProps } from '#ui/components/inputs/Input/TextInput/TextInput';
3
- import { ControlProps } from '#ui/components/inputs/shared/form.types';
2
+ import { TextInputProps } from '../TextInput/TextInput';
3
+ import { ControlProps } from '../../shared/form.types';
4
4
  export interface PasswordInputProps extends Omit<TextInputProps, "type" | "action" | "trailingIcon" | "unit"> {
5
5
  }
6
6
  export type ControlledPasswordInputProps<TFieldValues extends FieldValues> = ControlProps<PasswordInputProps, TFieldValues>;
@@ -2,9 +2,9 @@ import { Ref } from 'react';
2
2
  import { AriaTextFieldProps } from 'react-aria';
3
3
  import { TextAreaProps as AriaTextAreaProps } from 'react-aria-components';
4
4
  import { FieldValues } from 'react-hook-form';
5
- import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
6
- import { ControlProps } from '#ui/components/inputs/shared/form.types';
7
- import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
5
+ import { FormFieldProps } from '../../FormField/FormField';
6
+ import { ControlProps } from '../../shared/form.types';
7
+ import { InputVariantProps } from '../../shared/input.cva';
8
8
  interface TextAreaBaseProps extends FormFieldProps, InputVariantProps, Omit<AriaTextAreaProps, "value" | "defaultValue" | "onChange" | "disabled" | "required" | "className" | keyof AriaTextFieldProps>, Omit<AriaTextFieldProps<HTMLTextAreaElement>, "label"> {
9
9
  ref?: Ref<HTMLTextAreaElement>;
10
10
  isClearable?: boolean;
@@ -2,10 +2,10 @@ import { Ref } from 'react';
2
2
  import { AriaTextFieldProps } from 'react-aria';
3
3
  import { InputProps as AriaInputProps } from 'react-aria-components';
4
4
  import { FieldValues } from 'react-hook-form';
5
- import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
6
- import { InputContentProps } from '#ui/components/inputs/Input/shared/InputContent';
7
- import { ControlProps } from '#ui/components/inputs/shared/form.types';
8
- import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
5
+ import { FormFieldProps } from '../../FormField/FormField';
6
+ import { InputContentProps } from '../shared/InputContent';
7
+ import { ControlProps } from '../../shared/form.types';
8
+ import { InputVariantProps } from '../../shared/input.cva';
9
9
  type AllowedHTMLInputTypeAttribute = "email" | "hidden" | "tel" | "text" | "url";
10
10
  interface TextInputBaseProps extends FormFieldProps, InputVariantProps, Omit<InputContentProps, "ref" | "value" | "onChange">, Omit<AriaInputProps, "value" | "defaultValue" | "onChange" | "disabled" | "required" | "type" | "size" | "className" | keyof AriaTextFieldProps>, Omit<AriaTextFieldProps<HTMLInputElement>, "label"> {
11
11
  ref?: Ref<HTMLInputElement>;
@@ -1,7 +1,7 @@
1
1
  import { CSSProperties, FC, ReactElement, ReactNode, SVGProps } from 'react';
2
- import { InlineIconButtonProps } from '#ui/components/buttons/InlineIconButton/InlineIconButton';
3
- import { FormFieldHeaderProps } from '#ui/components/inputs/FormField/FormFieldHeader';
4
- import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
2
+ import { InlineIconButtonProps } from '../../../buttons/InlineIconButton/InlineIconButton';
3
+ import { FormFieldHeaderProps } from '../../FormField/FormFieldHeader';
4
+ import { InputVariantProps } from '../../shared/input.cva';
5
5
  export interface InputContentProps {
6
6
  className?: string;
7
7
  unit?: string;
@@ -1,8 +1,8 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { SubmitErrorHandler, SubmitHandler, UseFormReturn } from 'react-hook-form';
3
3
  import { z } from 'zod';
4
- import { InputComponentProps, InputDefBaseProps } from '#ui/components/inputs/Inputs/InputItem';
5
- import { AllowedComponentType, DefaultComponentType } from '#ui/helpers/dynamicInputs';
4
+ import { InputComponentProps, InputDefBaseProps } from './InputItem';
5
+ import { AllowedComponentType, DefaultComponentType } from '../../../helpers/dynamicInputs';
6
6
  type Capitalize<T extends string> = T extends `${infer First}${infer Rest}` ? `${Uppercase<First>}${Rest}` : T;
7
7
  type FieldProps<TProps = {}> = {
8
8
  label: string;
@@ -1,18 +1,18 @@
1
1
  import { ComponentProps, JSXElementConstructor, ReactElement, ReactNode } from 'react';
2
2
  import { Control, UseFormReturn } from 'react-hook-form';
3
3
  import { z } from 'zod';
4
- import { HasRequiredProperty } from '#ui/types/common';
4
+ import { HasRequiredProperty } from '../../../types/common';
5
5
  declare const componentRegistry: {
6
- readonly toggle: <TFieldValues extends import('react-hook-form').FieldValues>(props: import('#ui/components/inputs/Toggle/Toggle').ControlledToggleProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
7
- readonly checkbox: <TFieldValues extends import('react-hook-form').FieldValues>(props: import('#ui/components/inputs/Checkbox/Checkbox').ControlledCheckboxProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
8
- readonly numberInput: <TFieldValues extends import('react-hook-form').FieldValues>(props: import('#ui/components/inputs/Input/NumberInput/NumberInput').ControlledNumberInputProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
9
- readonly slider: <TFieldValues extends import('react-hook-form').FieldValues, IsRange extends boolean = false>(props: import('#ui/components/inputs/Slider/Slider').ControlledSliderProps<TFieldValues, IsRange>) => import("react/jsx-runtime").JSX.Element;
10
- readonly textInput: <TFieldValues extends import('react-hook-form').FieldValues>(props: import('#ui/components/inputs/Input/TextInput/TextInput').ControlledTextInputProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
11
- readonly passwordInput: <TFieldValues extends import('react-hook-form').FieldValues>(props: import('#ui/components/inputs/Input/PasswordInput/PasswordInput').ControlledPasswordInputProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
12
- readonly textArea: <TFieldValues extends import('react-hook-form').FieldValues>(props: import('#ui/components/inputs/Input/TextArea/TextArea').ControlledTextAreaProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
13
- readonly select: <TFieldValues extends import('react-hook-form').FieldValues, TKey extends import('react-aria').Key = import('react-aria').Key, TInitialSelectItem = import('../Selection/shared/select.types').DefaultInitialSelectItem<TKey>>(props: import('#ui/components/inputs/Selection/Select/Select').ControlledSelectProps<TFieldValues, TKey, TInitialSelectItem>) => import("react/jsx-runtime").JSX.Element;
14
- readonly autocomplete: <TFieldValues extends import('react-hook-form').FieldValues, TKey extends import('react-aria').Key = import('react-aria').Key, TInitialSelectItem = import('../Selection/shared/select.types').DefaultInitialSelectItem<TKey>>(props: import('#ui/components/inputs/Selection/Autocomplete/Autocomplete').ControlledAutocompleteProps<TFieldValues, TKey, TInitialSelectItem>) => import("react/jsx-runtime").JSX.Element;
15
- readonly queryAutocomplete: <TFieldValues extends import('react-hook-form').FieldValues, TSelectItem extends import('../Selection/shared/select.types').SelectItem<any>, TQueryFn extends (...args: any) => import('@tanstack/react-query').UseQueryResult<TSelectItem[]>>({ query, queryParams, queryOptions, ...props }: import('#ui/types/common').OmitDiscriminatedUnion<import('#ui/components/inputs/Selection/Autocomplete/Autocomplete').AutocompleteProps<Exclude<ReturnType<TQueryFn>["data"], undefined>[0] extends {
6
+ readonly toggle: <TFieldValues extends import('react-hook-form').FieldValues>(props: import('../Toggle/Toggle').ControlledToggleProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
7
+ readonly checkbox: <TFieldValues extends import('react-hook-form').FieldValues>(props: import('../Checkbox/Checkbox').ControlledCheckboxProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
8
+ readonly numberInput: <TFieldValues extends import('react-hook-form').FieldValues>(props: import('../Input/NumberInput/NumberInput').ControlledNumberInputProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
9
+ readonly slider: <TFieldValues extends import('react-hook-form').FieldValues, IsRange extends boolean = false>(props: import('../Slider/Slider').ControlledSliderProps<TFieldValues, IsRange>) => import("react/jsx-runtime").JSX.Element;
10
+ readonly textInput: <TFieldValues extends import('react-hook-form').FieldValues>(props: import('../Input/TextInput/TextInput').ControlledTextInputProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
11
+ readonly passwordInput: <TFieldValues extends import('react-hook-form').FieldValues>(props: import('../Input/PasswordInput/PasswordInput').ControlledPasswordInputProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
12
+ readonly textArea: <TFieldValues extends import('react-hook-form').FieldValues>(props: import('../Input/TextArea/TextArea').ControlledTextAreaProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
13
+ readonly select: <TFieldValues extends import('react-hook-form').FieldValues, TKey extends import('react-aria').Key = import('react-aria').Key, TInitialSelectItem = import('../Selection/shared/select.types').DefaultInitialSelectItem<TKey>>(props: import('../Selection/Select/Select').ControlledSelectProps<TFieldValues, TKey, TInitialSelectItem>) => import("react/jsx-runtime").JSX.Element;
14
+ readonly autocomplete: <TFieldValues extends import('react-hook-form').FieldValues, TKey extends import('react-aria').Key = import('react-aria').Key, TInitialSelectItem = import('../Selection/shared/select.types').DefaultInitialSelectItem<TKey>>(props: import('../Selection/Autocomplete/Autocomplete').ControlledAutocompleteProps<TFieldValues, TKey, TInitialSelectItem>) => import("react/jsx-runtime").JSX.Element;
15
+ readonly queryAutocomplete: <TFieldValues extends import('react-hook-form').FieldValues, TSelectItem extends import('../Selection/shared/select.types').SelectItem<any>, TQueryFn extends (...args: any) => import('@tanstack/react-query').UseQueryResult<TSelectItem[]>>({ query, queryParams, queryOptions, ...props }: import('../../../types/common').OmitDiscriminatedUnion<import('../Selection/Autocomplete/Autocomplete').AutocompleteProps<Exclude<ReturnType<TQueryFn>["data"], undefined>[0] extends {
16
16
  id: infer InferredKey extends import('react-aria').Key;
17
17
  } ? InferredKey : never>, "onChange" | "value" | "isLoading" | "items" | "selectionMode" | "showSelectionBar" | "showSelectAllOption" | "initialSelection" | "showSelectionContent" | "onSearchChange"> & (import('../Selection/shared/select.types').GroupedSelectControlProps<TFieldValues, Exclude<ReturnType<TQueryFn>["data"], undefined>[0] extends {
18
18
  id: infer InferredKey extends import('react-aria').Key;
@@ -24,11 +24,11 @@ declare const componentRegistry: {
24
24
  queryOptions?: Parameters<TQueryFn>[1] | undefined;
25
25
  })) => import("react/jsx-runtime").JSX.Element;
26
26
  readonly segment: <TFieldValues extends import('react-hook-form').FieldValues, TKey extends import('react-aria').Key = import('react-aria').Key>(props: import('../../..').ControlledSegmentProps<TFieldValues, TKey>) => import("react/jsx-runtime").JSX.Element;
27
- readonly datePicker: <TFieldValues extends import('react-hook-form').FieldValues>({ fullIso, minValue, maxValue, ...props }: import('#ui/components/inputs/DateTime/DatePicker/DatePicker').ControlledDatePickerProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
28
- readonly dateTimePicker: <TFieldValues extends import('react-hook-form').FieldValues>({ fullIso, ...props }: import('#ui/components/inputs/DateTime/DateTimePicker/DateTimePicker').ControlledDateTimePickerProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
29
- readonly timePicker: <TFieldValues extends import('react-hook-form').FieldValues>(props: import('#ui/components/inputs/DateTime/TimePicker/TimePicker').ControlledTimePickerProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
30
- readonly dateRangePicker: <TFieldValues extends import('react-hook-form').FieldValues>({ fullIso, minValue, maxValue, ...props }: import('#ui/components/inputs/DateTime/DateRangePicker/DateRangePicker').ControlledDateRangePickerProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
31
- readonly textEditor: <TFieldValues extends import('react-hook-form').FieldValues>(props: import('#ui/components/inputs/TextEditor/TextEditor').ControlledTextEditorProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
27
+ readonly datePicker: <TFieldValues extends import('react-hook-form').FieldValues>({ fullIso, minValue, maxValue, ...props }: import('../DateTime/DatePicker/DatePicker').ControlledDatePickerProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
28
+ readonly dateTimePicker: <TFieldValues extends import('react-hook-form').FieldValues>({ fullIso, ...props }: import('../DateTime/DateTimePicker/DateTimePicker').ControlledDateTimePickerProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
29
+ readonly timePicker: <TFieldValues extends import('react-hook-form').FieldValues>(props: import('../DateTime/TimePicker/TimePicker').ControlledTimePickerProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
30
+ readonly dateRangePicker: <TFieldValues extends import('react-hook-form').FieldValues>({ fullIso, minValue, maxValue, ...props }: import('../DateTime/DateRangePicker/DateRangePicker').ControlledDateRangePickerProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
31
+ readonly textEditor: <TFieldValues extends import('react-hook-form').FieldValues>(props: import('../TextEditor/TextEditor').ControlledTextEditorProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
32
32
  readonly unknown: null;
33
33
  };
34
34
  export type InputComponentRegistry = typeof componentRegistry;
@@ -1,9 +1,9 @@
1
1
  import { ReactElement, Ref } from 'react';
2
2
  import { RadioGroupProps as AriaRadioGroupProps } from 'react-aria-components';
3
3
  import { FieldValues } from 'react-hook-form';
4
- import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
5
- import { RadioVariantProps } from '#ui/components/inputs/RadioGroup/radio.cva';
6
- import { ControlProps } from '#ui/components/inputs/shared/form.types';
4
+ import { FormFieldProps } from '../FormField/FormField';
5
+ import { RadioVariantProps } from './radio.cva';
6
+ import { ControlProps } from '../shared/form.types';
7
7
  interface RadioGroupBaseProps extends Omit<FormFieldProps, "variant">, RadioVariantProps, Omit<AriaRadioGroupProps, "className"> {
8
8
  ref?: Ref<HTMLDivElement>;
9
9
  options: {
@@ -1,5 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
- import { TypographyVariantProps } from '#ui/components/text/Typography/typography.cva';
2
+ import { TypographyVariantProps } from '../../text/Typography/typography.cva';
3
3
  export declare const radio: (props?: ({
4
4
  variant?: "default" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,8 +1,8 @@
1
1
  import { Key } from 'react-aria-components';
2
2
  import { FieldValues } from 'react-hook-form';
3
- import { SelectBaseProps } from '#ui/components/inputs/Selection/shared/SelectBase';
4
- import { DefaultInitialSelectItem, GroupedSelectControlProps, GroupedSelectProps } from '#ui/components/inputs/Selection/shared/select.types';
5
- import { OmitDiscriminatedUnion } from '#ui/types/common';
3
+ import { SelectBaseProps } from '../shared/SelectBase';
4
+ import { DefaultInitialSelectItem, GroupedSelectControlProps, GroupedSelectProps } from '../shared/select.types';
5
+ import { OmitDiscriminatedUnion } from '../../../../types/common';
6
6
  export type AutocompleteProps<TKey extends Key = Key, TInitialSelectItem = DefaultInitialSelectItem<TKey>> = OmitDiscriminatedUnion<SelectBaseProps<TKey, TInitialSelectItem>, "isSearchable">;
7
7
  export type ControlledAutocompleteProps<TFieldValues extends FieldValues, TKey extends Key = Key, TInitialSelectItem = DefaultInitialSelectItem<TKey>> = Omit<AutocompleteProps<TKey, TInitialSelectItem>, keyof GroupedSelectProps> & GroupedSelectControlProps<TFieldValues, TKey, TInitialSelectItem>;
8
8
  export declare const Autocomplete: <TFieldValues extends FieldValues, TKey extends Key = Key, TInitialSelectItem = DefaultInitialSelectItem<TKey>>(props: ControlledAutocompleteProps<TFieldValues, TKey, TInitialSelectItem>) => import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,9 @@
1
1
  import { UseQueryResult } from '@tanstack/react-query';
2
2
  import { Key } from 'react-aria-components';
3
3
  import { FieldValues } from 'react-hook-form';
4
- import { AutocompleteProps } from '#ui/components/inputs/Selection/Autocomplete/Autocomplete';
5
- import { GroupedSelectControlProps, GroupedSelectProps, SelectItem } from '#ui/components/inputs/Selection/shared/select.types';
6
- import { OmitDiscriminatedUnion } from '#ui/types/common';
4
+ import { AutocompleteProps } from './Autocomplete';
5
+ import { GroupedSelectControlProps, GroupedSelectProps, SelectItem } from '../shared/select.types';
6
+ import { OmitDiscriminatedUnion } from '../../../../types/common';
7
7
  type QueryFn<TSelectItem extends SelectItem = SelectItem> = (...args: any) => UseQueryResult<Array<TSelectItem>>;
8
8
  type TKey<TQueryFn extends QueryFn> = Exclude<ReturnType<TQueryFn>["data"], undefined>[0] extends {
9
9
  id: infer InferredKey extends Key;
@@ -1,8 +1,8 @@
1
1
  import { Key } from 'react-aria-components';
2
2
  import { FieldValues } from 'react-hook-form';
3
- import { SelectBaseProps } from '#ui/components/inputs/Selection/shared/SelectBase';
4
- import { DefaultInitialSelectItem, GroupedSelectControlProps, GroupedSelectProps, SelectAsyncProps } from '#ui/components/inputs/Selection/shared/select.types';
5
- import { OmitDiscriminatedUnion } from '#ui/types/common';
3
+ import { SelectBaseProps } from '../shared/SelectBase';
4
+ import { DefaultInitialSelectItem, GroupedSelectControlProps, GroupedSelectProps, SelectAsyncProps } from '../shared/select.types';
5
+ import { OmitDiscriminatedUnion } from '../../../../types/common';
6
6
  export type SelectProps<TKey extends Key = Key, TInitialSelectItem = DefaultInitialSelectItem<TKey>> = OmitDiscriminatedUnion<SelectBaseProps<TKey, TInitialSelectItem>, "initialSelection" | "mapInitialToSelectItem" | keyof SelectAsyncProps>;
7
7
  export type ControlledSelectProps<TFieldValues extends FieldValues, TKey extends Key = Key, TInitialSelectItem = DefaultInitialSelectItem<TKey>> = Omit<SelectProps<TKey, TInitialSelectItem>, keyof GroupedSelectProps> & GroupedSelectControlProps<TFieldValues, TKey>;
8
8
  export declare const Select: <TFieldValues extends FieldValues, TKey extends Key = Key, TInitialSelectItem = DefaultInitialSelectItem<TKey>>(props: ControlledSelectProps<TFieldValues, TKey, TInitialSelectItem>) => import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,9 @@
1
1
  import { ReactElement, Ref } from 'react';
2
2
  import { AriaButtonProps } from 'react-aria';
3
3
  import { Key } from 'react-aria-components';
4
- import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
5
- import { DefaultInitialSelectItem, GroupedSelectProps, SelectAsyncProps, SelectItem, SelectNewItemProps } from '#ui/components/inputs/Selection/shared/select.types';
6
- import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
4
+ import { FormFieldProps } from '../../FormField/FormField';
5
+ import { DefaultInitialSelectItem, GroupedSelectProps, SelectAsyncProps, SelectItem, SelectNewItemProps } from './select.types';
6
+ import { InputVariantProps } from '../../shared/input.cva';
7
7
  export type SelectBaseProps<TKey extends Key = Key, TInitialSelectItem = DefaultInitialSelectItem<TKey>> = FormFieldProps & GroupedSelectProps<TKey, TInitialSelectItem> & SelectNewItemProps & SelectAsyncProps & InputVariantProps & Pick<AriaButtonProps, "onBlur"> & {
8
8
  ref?: Ref<HTMLDivElement>;
9
9
  className?: string;
@@ -1,5 +1,5 @@
1
1
  import { Key } from 'react-aria-components';
2
- import { SelectBaseProps } from '#ui/components/inputs/Selection/shared/SelectBase';
2
+ import { SelectBaseProps } from './SelectBase';
3
3
  type SelectDesktopProps<TKey extends Key = Key> = SelectBaseProps<TKey>;
4
4
  export declare const SelectDesktop: <TKey extends Key = Key>({ ref, error, ignoreTriggerWidth, showSelectionContent, inputClassName, containerClassName, customTrigger, onBlur, ...props }: SelectDesktopProps<TKey>) => import("react/jsx-runtime").JSX.Element;
5
5
  export {};
@@ -1,9 +1,9 @@
1
1
  import { AriaFieldProps } from 'react-aria';
2
2
  import { ComboBoxState } from 'react-stately';
3
- import { FormFieldHeaderProps } from '#ui/components/inputs/FormField/FormFieldHeader';
4
- import { SelectBaseProps } from '#ui/components/inputs/Selection/shared/SelectBase';
5
- import { SelectItem } from '#ui/components/inputs/Selection/shared/select.types';
6
- import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
3
+ import { FormFieldHeaderProps } from '../../FormField/FormFieldHeader';
4
+ import { SelectBaseProps } from './SelectBase';
5
+ import { SelectItem } from './select.types';
6
+ import { InputVariantProps } from '../../shared/input.cva';
7
7
  interface SelectInputProps extends InputVariantProps, Pick<SelectBaseProps, "ref" | "placeholder" | "isDisabled" | "hideDropdownIcon" | "isSearchable" | "isClearable" | "onBlur" | "showSelectionContent" | "inputClassName"> {
8
8
  isInvalid?: boolean;
9
9
  className?: string;
@@ -1,6 +1,6 @@
1
1
  import { AriaListBoxProps } from 'react-aria';
2
- import { SelectBaseProps } from '#ui/components/inputs/Selection/shared/SelectBase';
3
- import { SelectItem } from '#ui/components/inputs/Selection/shared/select.types';
2
+ import { SelectBaseProps } from './SelectBase';
3
+ import { SelectItem } from './select.types';
4
4
  export interface SelectListBoxProps extends Pick<SelectBaseProps, "label" | "newItemRender" | "onLoadMore" | "selectionMode" | "isSearchable">, Omit<AriaListBoxProps<SelectItem>, "children" | "aria-label" | "selectionMode" | "items" | "selectedKeys" | "onSelectionChange" | "escapeKeyBehavior" | "shouldSelectOnPressUp" | "label"> {
5
5
  className?: string;
6
6
  isScrollable?: boolean;
@@ -1,5 +1,5 @@
1
- import { SelectBaseProps } from '#ui/components/inputs/Selection/shared/SelectBase';
2
- import { SelectItem } from '#ui/components/inputs/Selection/shared/select.types';
1
+ import { SelectBaseProps } from './SelectBase';
2
+ import { SelectItem } from './select.types';
3
3
  interface SelectListBoxItemProps extends Pick<SelectBaseProps, "isSearchable" | "newItemRender">, SelectItem {
4
4
  isNewItem?: boolean;
5
5
  }
@@ -1,4 +1,4 @@
1
- import { SelectItem } from '#ui/components/inputs/Selection/shared/select.types';
1
+ import { SelectItem } from './select.types';
2
2
  type SelectListBoxItemSelectAllProps = SelectItem;
3
3
  export declare const SelectListBoxItemSelectAll: ({ id, label, isDisabled }: SelectListBoxItemSelectAllProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export {};
@@ -1,4 +1,4 @@
1
- import { SelectItem } from '#ui/components/inputs/Selection/shared/select.types';
1
+ import { SelectItem } from './select.types';
2
2
  interface SelectListBoxLoadingItemProps extends Omit<SelectItem, "isDisabled"> {
3
3
  onLoadMore?: () => void;
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import { Key } from 'react-aria-components';
2
- import { SelectBaseProps } from '#ui/components/inputs/Selection/shared/SelectBase';
2
+ import { SelectBaseProps } from './SelectBase';
3
3
  type SelectMobileProps<TKey extends Key = Key> = SelectBaseProps<TKey>;
4
4
  export declare const SelectMobile: <TKey extends Key = Key>({ ref, error, showSelectionContent, inputClassName, containerClassName, customTrigger, onBlur, ...props }: SelectMobileProps<TKey>) => import("react/jsx-runtime").JSX.Element;
5
5
  export {};
@@ -1,7 +1,7 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { Key } from 'react-aria-components';
3
- import { SelectBaseProps } from '#ui/components/inputs/Selection/shared/SelectBase';
4
- import { ExtendedSelectItem, GroupedSelectProps, SelectItem } from '#ui/components/inputs/Selection/shared/select.types';
3
+ import { SelectBaseProps } from './SelectBase';
4
+ import { ExtendedSelectItem, GroupedSelectProps, SelectItem } from './select.types';
5
5
  export declare namespace SelectContext {
6
6
  interface FieldState {
7
7
  value: Key | Key[] | null;
@@ -1,7 +1,7 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { Key } from 'react-aria-components';
3
3
  import { FieldValues } from 'react-hook-form';
4
- import { ControlProps } from '#ui/components/inputs/shared/form.types';
4
+ import { ControlProps } from '../../shared/form.types';
5
5
  export interface SelectItem<TKey extends Key = Key> {
6
6
  id: TKey;
7
7
  label: string;
@@ -1,6 +1,6 @@
1
1
  import { Key } from 'react-aria-components';
2
- import { SelectBaseProps } from '#ui/components/inputs/Selection/shared/SelectBase';
3
- import { ExtendedSelectItem, SelectItem } from '#ui/components/inputs/Selection/shared/select.types';
2
+ import { SelectBaseProps } from './SelectBase';
3
+ import { ExtendedSelectItem, SelectItem } from './select.types';
4
4
  export declare const SelectAllItemId = "all-item-id";
5
5
  export declare const NewItemId = "new-item-id";
6
6
  export declare const LoadingItemId = "loading-item-id";
@@ -1,8 +1,8 @@
1
1
  import { Ref } from 'react';
2
2
  import { SliderProps as AriaSliderProps } from 'react-aria-components';
3
3
  import { FieldValues } from 'react-hook-form';
4
- import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
5
- import { ControlProps } from '#ui/components/inputs/shared/form.types';
4
+ import { FormFieldProps } from '../FormField/FormField';
5
+ import { ControlProps } from '../shared/form.types';
6
6
  type SliderValue<IsRange extends boolean = false> = IsRange extends false ? number : number[];
7
7
  interface SliderBaseProps<IsRange extends boolean = false> extends FormFieldProps, Omit<AriaSliderProps, "value" | "defaultValue" | "onChange" | "className"> {
8
8
  ref?: Ref<HTMLDivElement>;
@@ -1,8 +1,8 @@
1
1
  import { JSONContent } from '@tiptap/react';
2
2
  import { Ref } from 'react';
3
3
  import { FieldValues } from 'react-hook-form';
4
- import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
5
- import { ControlProps } from '#ui/components/inputs/shared/form.types';
4
+ import { FormFieldProps } from '../FormField/FormField';
5
+ import { ControlProps } from '../shared/form.types';
6
6
  export interface TextEditorValue {
7
7
  html?: string | null;
8
8
  json?: JSONContent | null;
@@ -1,2 +1,2 @@
1
- import { TextEditorSharedProps } from '#ui/components/inputs/TextEditor/textEditor.types';
1
+ import { TextEditorSharedProps } from '../textEditor.types';
2
2
  export declare const HyperlinkAction: ({ editor }: TextEditorSharedProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,2 +1,2 @@
1
- import { TextEditorSharedProps } from '#ui/components/inputs/TextEditor/textEditor.types';
1
+ import { TextEditorSharedProps } from '../textEditor.types';
2
2
  export declare const TextAlignSelect: ({ editor }: TextEditorSharedProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,2 +1,2 @@
1
- import { TextEditorSharedProps } from '#ui/components/inputs/TextEditor/textEditor.types';
1
+ import { TextEditorSharedProps } from '../textEditor.types';
2
2
  export declare const TextColorSelect: ({ editor }: TextEditorSharedProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,2 +1,2 @@
1
- import { TextEditorSharedProps } from '#ui/components/inputs/TextEditor/textEditor.types';
1
+ import { TextEditorSharedProps } from '../textEditor.types';
2
2
  export declare const TextHighlightSelect: ({ editor }: TextEditorSharedProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,2 +1,2 @@
1
- import { TextEditorSharedProps } from '#ui/components/inputs/TextEditor/textEditor.types';
1
+ import { TextEditorSharedProps } from '../textEditor.types';
2
2
  export declare const TextListActions: ({ editor }: TextEditorSharedProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,2 +1,2 @@
1
- import { TextEditorSharedProps } from '#ui/components/inputs/TextEditor/textEditor.types';
1
+ import { TextEditorSharedProps } from '../textEditor.types';
2
2
  export declare const TextMarksActions: ({ editor }: TextEditorSharedProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,2 +1,2 @@
1
- import { TextEditorSharedProps } from '#ui/components/inputs/TextEditor/textEditor.types';
1
+ import { TextEditorSharedProps } from '../textEditor.types';
2
2
  export declare const TextStyleSelect: ({ editor }: TextEditorSharedProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,9 +1,9 @@
1
1
  import { Ref } from 'react';
2
2
  import { SwitchProps as AriaSwitchProps } from 'react-aria-components';
3
3
  import { FieldValues } from 'react-hook-form';
4
- import { FormFieldErrorProps } from '#ui/components/inputs/FormField/FormFieldError';
5
- import { ControlProps } from '#ui/components/inputs/shared/form.types';
6
- import { ToggleVariantProps } from '#ui/components/inputs/Toggle/toggle.cva';
4
+ import { FormFieldErrorProps } from '../FormField/FormFieldError';
5
+ import { ControlProps } from '../shared/form.types';
6
+ import { ToggleVariantProps } from './toggle.cva';
7
7
  interface ToggleBaseProps extends FormFieldErrorProps, ToggleVariantProps, Omit<AriaSwitchProps, "className"> {
8
8
  ref?: Ref<HTMLLabelElement>;
9
9
  children?: string;
@@ -1,5 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
- import { TypographyVariantProps } from '#ui/components/text/Typography/typography.cva';
2
+ import { TypographyVariantProps } from '../../text/Typography/typography.cva';
3
3
  export declare const toggle: (props?: ({
4
4
  variant?: "default" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren } from 'react';
2
- import { TypographyVariantProps } from '#ui/components/text/Typography/typography.cva';
2
+ import { TypographyVariantProps } from '../../text/Typography/typography.cva';
3
3
  interface CheckContentProps {
4
4
  typography?: TypographyVariantProps;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
- import { TypographyVariantProps } from '#ui/components/text/Typography/typography.cva';
2
+ import { TypographyVariantProps } from '../../text/Typography/typography.cva';
3
3
  export declare const labelBase: (props?: ({
4
4
  as?: "default" | "filter" | "inline" | "floating" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,5 +1,5 @@
1
- import { ButtonVariantProps } from '#ui/components/buttons/Button/button.cva';
2
- import { ModalProps } from '#ui/components/overlays/Modal/Modal';
1
+ import { ButtonVariantProps } from '../../buttons/Button/button.cva';
2
+ import { ModalProps } from '../Modal/Modal';
3
3
  interface ActionModalAction {
4
4
  label: string;
5
5
  onPress: () => void;
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren, RefObject } from 'react';
2
- import { ModalVariantProps } from '#ui/components/overlays/Modal/modal.cva';
2
+ import { ModalVariantProps } from './modal.cva';
3
3
  export interface ModalProps extends ModalVariantProps {
4
4
  isOpen: boolean;
5
5
  portalContainerRef?: RefObject<HTMLElement>;
@@ -1,7 +1,7 @@
1
1
  import { FC, ReactElement, Ref, SVGProps } from 'react';
2
2
  import { Key, ToggleButtonGroupProps, ToggleButtonProps } from 'react-aria-components';
3
3
  import { FieldValues } from 'react-hook-form';
4
- import { ControlProps } from '#ui/components/inputs/shared/form.types';
4
+ import { ControlProps } from '../inputs/shared/form.types';
5
5
  export interface SegmentItem<TKey extends Key = Key> extends ToggleButtonProps {
6
6
  id: TKey;
7
7
  label?: string;
@@ -1,4 +1,4 @@
1
- import { ButtonProps } from '#ui/components/buttons/Button/Button';
1
+ import { ButtonProps } from '../../buttons/Button/Button';
2
2
  export interface PaginationListProps {
3
3
  page: number;
4
4
  totalPages: number;
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode, SVGProps } from 'react';
2
- import { AlertVariantProps } from '#ui/components/status/Alert/alert.cva';
2
+ import { AlertVariantProps } from './alert.cva';
3
3
  export interface AlertProps extends AlertVariantProps {
4
4
  text: string;
5
5
  isLoading?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { SVGProps } from 'react';
2
- import { LoaderVariantProps } from '#ui/components/status/Loader/loader.cva';
2
+ import { LoaderVariantProps } from './loader.cva';
3
3
  export interface LoaderProps extends LoaderVariantProps, SVGProps<SVGSVGElement> {
4
4
  }
5
5
  export declare const Loader: ({ size, className, ...props }: Omit<LoaderProps, "color">) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode, SVGProps } from 'react';
2
- import { ToastVariantProps } from '#ui/components/status/Toast/toast.cva';
2
+ import { ToastVariantProps } from './toast.cva';
3
3
  export interface ToastAction {
4
4
  text: string;
5
5
  onPress: () => void;
@@ -1,5 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
- import { ButtonVariantProps } from '#ui/components/buttons/Button/button.cva';
2
+ import { ButtonVariantProps } from '../../buttons/Button/button.cva';
3
3
  export declare const toastContainer: (props?: ({
4
4
  position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | "bottom-center" | "top-center" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,6 +1,6 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { LinkProps as AriaLinkProps } from 'react-aria-components';
3
- import { LinkVariantProps } from '#ui/components/text/Link/link.cva';
3
+ import { LinkVariantProps } from './link.cva';
4
4
  export interface LinkProps extends PropsWithChildren<AriaLinkProps>, LinkVariantProps {
5
5
  className?: string;
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import { ButtonProps as AriaButtonProps } from 'react-aria-components';
2
- import { TagVariantProps } from '#ui/components/text/Tag/tag.cva';
2
+ import { TagVariantProps } from './tag.cva';
3
3
  export interface TagProps extends TagVariantProps, AriaButtonProps {
4
4
  className?: string;
5
5
  children: string;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes, Ref } from 'react';
2
- import { TypographyVariantProps } from '#ui/components/text/Typography/typography.cva';
2
+ import { TypographyVariantProps } from './typography.cva';
3
3
  type TypographyTag = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | "div";
4
4
  interface TypographyPropsCva extends Omit<TypographyVariantProps, "size">, Required<Pick<TypographyVariantProps, "size">> {
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren } from 'react';
2
- import { ActionModalProps } from '#ui/components/overlays/ActionModal/ActionModal';
2
+ import { ActionModalProps } from '../components/overlays/ActionModal/ActionModal';
3
3
  export declare namespace Confirmation {
4
4
  type ContextState = Pick<ActionModalProps, "heading" | "description" | "buttonSize" | "textAlign" | "primaryAction" | "secondaryAction" | "modalClassName"> & {
5
5
  isOpen: boolean;
@@ -1,11 +1,11 @@
1
1
  import { PropsWithChildren } from 'react';
2
- import { CheckboxProps } from '#ui/components/inputs/Checkbox/Checkbox';
3
- import { NumberInputProps } from '#ui/components/inputs/Input/NumberInput/NumberInput';
4
- import { TextInputProps } from '#ui/components/inputs/Input/TextInput/TextInput';
5
- import { RadioGroupProps } from '#ui/components/inputs/RadioGroup/RadioGroup';
6
- import { SelectBaseProps } from '#ui/components/inputs/Selection/shared/SelectBase';
7
- import { SliderProps } from '#ui/components/inputs/Slider/Slider';
8
- import { ToggleProps } from '#ui/components/inputs/Toggle/Toggle';
2
+ import { CheckboxProps } from '../components/inputs/Checkbox/Checkbox';
3
+ import { NumberInputProps } from '../components/inputs/Input/NumberInput/NumberInput';
4
+ import { TextInputProps } from '../components/inputs/Input/TextInput/TextInput';
5
+ import { RadioGroupProps } from '../components/inputs/RadioGroup/RadioGroup';
6
+ import { SelectBaseProps } from '../components/inputs/Selection/shared/SelectBase';
7
+ import { SliderProps } from '../components/inputs/Slider/Slider';
8
+ import { ToggleProps } from '../components/inputs/Toggle/Toggle';
9
9
  export declare namespace UIConfig {
10
10
  type DeepRequired<T> = {
11
11
  [P in keyof T]-?: T[P] extends object ? DeepRequired<T[P]> : Exclude<T[P], null | undefined>;
@@ -1,19 +1,19 @@
1
1
  import { ClassProp } from 'class-variance-authority/types';
2
2
  import { PropsWithChildren } from 'react';
3
- import { ButtonVariantProps } from '#ui/components/buttons/Button/button.cva';
4
- import { PillButtonVariants } from '#ui/components/buttons/PillButton/pillButton.cva';
5
- import { CheckboxVariantProps } from '#ui/components/inputs/Checkbox/checkbox.cva';
6
- import { RadioVariantProps } from '#ui/components/inputs/RadioGroup/radio.cva';
7
- import { InputBaseProps, InputSideProps, InputSizeProps } from '#ui/components/inputs/shared/input.cva';
8
- import { LabelBaseProps } from '#ui/components/inputs/shared/label.cva';
9
- import { ToggleVariantProps } from '#ui/components/inputs/Toggle/toggle.cva';
10
- import { AlertVariantProps } from '#ui/components/status/Alert/alert.cva';
11
- import { ToastVariantProps } from '#ui/components/status/Toast/toast.cva';
12
- import { TableDataVariantProps, TableHeadRowVariantProps, TableRowVariantProps } from '#ui/components/table/table.cva';
13
- import { LinkVariantProps } from '#ui/components/text/Link/link.cva';
14
- import { TagVariantProps } from '#ui/components/text/Tag/tag.cva';
15
- import { TypographyVariantProps } from '#ui/components/text/Typography/typography.cva';
16
- import { CompoundMapper } from '#ui/utils/compoundMapper';
3
+ import { ButtonVariantProps } from '../components/buttons/Button/button.cva';
4
+ import { PillButtonVariants } from '../components/buttons/PillButton/pillButton.cva';
5
+ import { CheckboxVariantProps } from '../components/inputs/Checkbox/checkbox.cva';
6
+ import { RadioVariantProps } from '../components/inputs/RadioGroup/radio.cva';
7
+ import { InputBaseProps, InputSideProps, InputSizeProps } from '../components/inputs/shared/input.cva';
8
+ import { LabelBaseProps } from '../components/inputs/shared/label.cva';
9
+ import { ToggleVariantProps } from '../components/inputs/Toggle/toggle.cva';
10
+ import { AlertVariantProps } from '../components/status/Alert/alert.cva';
11
+ import { ToastVariantProps } from '../components/status/Toast/toast.cva';
12
+ import { TableDataVariantProps, TableHeadRowVariantProps, TableRowVariantProps } from '../components/table/table.cva';
13
+ import { LinkVariantProps } from '../components/text/Link/link.cva';
14
+ import { TagVariantProps } from '../components/text/Tag/tag.cva';
15
+ import { TypographyVariantProps } from '../components/text/Typography/typography.cva';
16
+ import { CompoundMapper } from '../utils/compoundMapper';
17
17
  export declare namespace UIStyle {
18
18
  export type Cva<T> = (props: T & ClassProp) => string;
19
19
  interface Options {
@@ -1,8 +1,8 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { Control, UseFormReturn } from 'react-hook-form';
3
3
  import { z } from 'zod';
4
- import { InputComponentProps, InputComponentType, InputDef, InputDefBaseProps, InputWrapperType } from '#ui/components/inputs/Inputs/InputItem';
5
- import { ZodUtils } from '#ui/utils/zod.utils';
4
+ import { InputComponentProps, InputComponentType, InputDef, InputDefBaseProps, InputWrapperType } from '../components/inputs/Inputs/InputItem';
5
+ import { ZodUtils } from '../utils/zod.utils';
6
6
  declare const defaultComponentTypes: {
7
7
  readonly datetime: "datePicker";
8
8
  readonly dateRange: "dateRangePicker";
@@ -1,7 +1,7 @@
1
1
  import { DependencyList } from 'react';
2
2
  import { FieldValues } from 'react-hook-form';
3
- import { UseAutosaveProps } from '#ui/hooks/useAutosave';
4
- import { UseFormProps, UseFormResolverProps } from '#ui/hooks/useForm';
3
+ import { UseAutosaveProps } from './useAutosave';
4
+ import { UseFormProps, UseFormResolverProps } from './useForm';
5
5
  export type UseFormAutosaveProps<TFieldValues extends FieldValues = FieldValues, TContext = any, TTransformedValues = TFieldValues, TResponse = unknown> = Omit<UseFormProps<TFieldValues, TContext, TTransformedValues>, "defaultValues"> & UseFormResolverProps<TFieldValues, TTransformedValues> & {
6
6
  autosaveDelay?: UseAutosaveProps<TFieldValues, TContext, TTransformedValues, TResponse>["delay"];
7
7
  enableAutosave?: UseAutosaveProps<TFieldValues, TContext, TTransformedValues, TResponse>["enabled"];
@@ -1,5 +1,5 @@
1
1
  import { InfiniteData, QueryKey, UseInfiniteQueryOptions, UseMutationOptions, UseQueryOptions } from '@tanstack/react-query';
2
- import { ApplicationException, GeneralErrorCodes } from '#ui/utils/vendor/error-handling';
2
+ import { ApplicationException, GeneralErrorCodes } from '../utils/vendor/error-handling';
3
3
  import { Function, IsUnknown } from './common';
4
4
  export type AppQueryOptions<TFunction extends Function, TData = Awaited<ReturnType<TFunction>>, TErrorCodes = GeneralErrorCodes> = Omit<UseQueryOptions<Awaited<ReturnType<TFunction>>, ApplicationException<TErrorCodes>, IsUnknown<TData, Awaited<ReturnType<TFunction>>>>, "queryKey" | "queryFn">;
5
5
  export type AppMutationOptions<TFunction extends Function, TVariables = void, TData = Awaited<ReturnType<TFunction>>, TErrorCodes = GeneralErrorCodes> = Omit<UseMutationOptions<TData, ApplicationException<TErrorCodes>, TVariables>, "mutationKey" | "mutationFn">;
@@ -1,7 +1,7 @@
1
1
  import { AxiosInstance, AxiosRequestConfig, AxiosResponse, CreateAxiosDefaults } from 'axios';
2
2
  import { z } from 'zod';
3
- import { RestInterceptor } from '#ui/utils/rest/interceptors/rest-interceptor';
4
- import { ErrorHandler, GeneralErrorCodes } from '#ui/utils/vendor/error-handling';
3
+ import { RestInterceptor } from './interceptors/rest-interceptor';
4
+ import { ErrorHandler, GeneralErrorCodes } from '../vendor/error-handling';
5
5
  interface RequestInfo<ZOutput, ECodes extends string> {
6
6
  resSchema: z.ZodType<ZOutput>;
7
7
  errorHandler?: ErrorHandler<ECodes>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@povio/ui",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",