@clasing/ui 0.1.110 → 0.1.111
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/index.d.ts +14 -0
- package/dist/index.es.js +1675 -1419
- package/dist/index.umd.js +4 -4
- package/dist/ui.css +284 -284
- package/package.json +92 -92
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { Matcher } from 'react-day-picker';
|
|
|
9
9
|
import { Placement } from '@floating-ui/react';
|
|
10
10
|
import { ReactNode } from 'react';
|
|
11
11
|
import { RefAttributes } from 'react';
|
|
12
|
+
import * as RPNInput from 'react-phone-number-input';
|
|
12
13
|
import { SetStateAction } from 'react';
|
|
13
14
|
import { SVGAttributes } from 'react';
|
|
14
15
|
import * as TablerIcons from '@tabler/icons-react';
|
|
@@ -453,6 +454,19 @@ declare interface OutsideClickHandlerProps {
|
|
|
453
454
|
handler: () => void;
|
|
454
455
|
}
|
|
455
456
|
|
|
457
|
+
export declare const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps>;
|
|
458
|
+
|
|
459
|
+
declare type PhoneInputProps = Omit<React.ComponentProps<'input'>, 'onChange' | 'value' | 'ref'> & Omit<RPNInput.Props<typeof RPNInput.default>, 'onChange'> & VariantProps<typeof inputStyles> & {
|
|
460
|
+
onChange?: (value: RPNInput.Value) => void;
|
|
461
|
+
label?: string;
|
|
462
|
+
helperText?: string;
|
|
463
|
+
locale?: 'en' | 'es';
|
|
464
|
+
error?: string;
|
|
465
|
+
touched?: boolean;
|
|
466
|
+
searchPlaceholder?: string;
|
|
467
|
+
searchResultsNotFound?: string;
|
|
468
|
+
};
|
|
469
|
+
|
|
456
470
|
export declare const Popover: default_2.ForwardRefExoticComponent<IPopoverProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
457
471
|
|
|
458
472
|
declare type PopoverPlacement = Placement;
|