@youngonesworks/ui 1.0.4 → 1.0.5
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/radioButton/index.d.ts +2 -2
- package/dist/hooks/phone/usePhoneNumberPrefix.d.ts +2 -1
- package/dist/index.cjs +286 -411
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +197 -337
- package/dist/index.js.map +1 -1
- package/dist/jsx-runtime-shim.d.ts +1 -3
- package/dist/utils/formatIcon.d.ts +1 -1
- package/package.json +22 -24
|
@@ -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[];
|