@youngonesworks/ui 1.0.4 → 1.0.6

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.
@@ -7,5 +7,5 @@ interface IFilterProps {
7
7
  filtersText: string;
8
8
  resetText: string;
9
9
  }
10
- export declare const Filters: ({ filters, setFilters, selectedFilters, selectedFiltersText, filtersText, resetText }: IFilterProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const Filters: ({ filters, setFilters, selectedFilters, selectedFiltersText, filtersText, resetText, }: IFilterProps) => import("react/jsx-runtime").JSX.Element;
11
11
  export {};
@@ -5,6 +5,7 @@ interface IModal {
5
5
  withCloseButton?: boolean;
6
6
  opened: boolean;
7
7
  onClose: () => void;
8
+ gradientVariant?: 'client' | 'agency';
8
9
  additionalClassNames?: string;
9
10
  gradient?: boolean;
10
11
  dataTestId?: string;
@@ -14,7 +15,7 @@ interface IModal {
14
15
  confirmText?: string;
15
16
  }
16
17
  export declare const Modal: {
17
- ({ title, children, withCloseButton, opened, additionalClassNames, closeModalWithConfirmation, gradient, uncloseAble, confirmText, dataTestId, onClose, size, }: IModal): JSX.Element | null;
18
+ ({ title, children, withCloseButton, opened, additionalClassNames, closeModalWithConfirmation, gradient, uncloseAble, confirmText, dataTestId, onClose, size, gradientVariant, }: IModal): JSX.Element | null;
18
19
  displayName: string;
19
20
  };
20
21
  export {};
@@ -3,5 +3,5 @@ interface PageUnavailableProps {
3
3
  notAvailableDescription: string;
4
4
  notAvailableHeaderText: string;
5
5
  }
6
- export declare const PageUnavailable: ({ notAvailableButton, notAvailableDescription, notAvailableHeaderText }: PageUnavailableProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const PageUnavailable: ({ notAvailableButton, notAvailableDescription, notAvailableHeaderText, }: PageUnavailableProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -9,6 +9,7 @@ type ITooltipProps = {
9
9
  amountOfOffset?: number;
10
10
  className?: string;
11
11
  style?: 'minimal' | 'card';
12
+ gradientVariant?: 'client' | 'agency';
12
13
  };
13
14
  export type PopoverRefType = {
14
15
  closePopover: () => void;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- export interface IRadioButton extends React.InputHTMLAttributes<HTMLInputElement> {
1
+ import React, { type InputHTMLAttributes } from 'react';
2
+ export interface IRadioButton extends InputHTMLAttributes<HTMLInputElement> {
3
3
  id?: string;
4
4
  name?: string;
5
5
  value: string;
@@ -1 +1,2 @@
1
- export declare const usePhoneNumberPrefix: (defaultCountry: string) => import("country-list-with-dial-code-and-flag").Country[];
1
+ import type { Country } from 'country-list-with-dial-code-and-flag';
2
+ export declare const usePhoneNumberPrefix: (defaultCountry: string) => Country[];