@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.
- package/dist/components/filters/index.d.ts +1 -1
- package/dist/components/modal/index.d.ts +2 -1
- package/dist/components/pageUnavailable/index.d.ts +1 -1
- package/dist/components/popover/index.d.ts +1 -0
- package/dist/components/radioButton/index.d.ts +2 -2
- package/dist/hooks/phone/usePhoneNumberPrefix.d.ts +2 -1
- package/dist/index.cjs +370 -496
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +281 -422
- package/dist/index.js.map +1 -1
- package/dist/jsx-runtime-shim.d.ts +1 -3
- package/dist/styles/utilities.css +1 -1
- package/dist/styles/variables.css +6 -0
- package/dist/utils/formatIcon.d.ts +1 -1
- package/package.json +22 -24
|
@@ -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 {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IRadioButton extends
|
|
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
|
-
|
|
1
|
+
import type { Country } from 'country-list-with-dial-code-and-flag';
|
|
2
|
+
export declare const usePhoneNumberPrefix: (defaultCountry: string) => Country[];
|