@yr3/ui 1.0.17 → 1.0.19
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/Date/month.css +117 -0
- package/dist/components/Date/month.css.map +1 -0
- package/dist/index.cjs +648 -420
- package/dist/index.d.cts +105 -49
- package/dist/index.d.ts +105 -49
- package/dist/index.js +536 -313
- package/dist/styles/index.css +116 -0
- package/dist/styles/index.css.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1112,6 +1112,15 @@ type CalendarComponentProps = {
|
|
|
1112
1112
|
props?: any;
|
|
1113
1113
|
};
|
|
1114
1114
|
declare function getMonthCalendar(year: number, month: number, startIndex: number, selected: CalendarDayProps, props?: any): CalendarComponentProps;
|
|
1115
|
+
type CalendarMonthProps = {
|
|
1116
|
+
year: number;
|
|
1117
|
+
month: number;
|
|
1118
|
+
years: number[];
|
|
1119
|
+
language?: string;
|
|
1120
|
+
formatMonth: string;
|
|
1121
|
+
monthsDisabled?: number[];
|
|
1122
|
+
};
|
|
1123
|
+
declare function getMonthCalendarProps({ year, years, month, formatMonth, monthsDisabled }: CalendarMonthProps): any;
|
|
1115
1124
|
|
|
1116
1125
|
declare const rgbToHex: (r: number, g: number, b: number) => string;
|
|
1117
1126
|
declare const hexToRgb: (hex: string) => {
|
|
@@ -1350,6 +1359,96 @@ type DrawerProps = {
|
|
|
1350
1359
|
};
|
|
1351
1360
|
declare const Drawer: React$1.FC<DrawerProps>;
|
|
1352
1361
|
|
|
1362
|
+
type LabelProps = {
|
|
1363
|
+
display?: boolean;
|
|
1364
|
+
text?: string;
|
|
1365
|
+
children?: React$1.ReactNode;
|
|
1366
|
+
className?: string;
|
|
1367
|
+
color?: keyof Theme['colors'];
|
|
1368
|
+
ui?: Omit<UIProps, 'color'>;
|
|
1369
|
+
style?: React$1.CSSProperties;
|
|
1370
|
+
};
|
|
1371
|
+
declare const Label: React$1.FC<LabelProps>;
|
|
1372
|
+
|
|
1373
|
+
type InputProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'onChange'> & {
|
|
1374
|
+
label?: string;
|
|
1375
|
+
value?: string;
|
|
1376
|
+
pattern?: 'text' | 'email' | 'phone' | 'number' | 'password' | 'search' | 'date' | 'currency';
|
|
1377
|
+
variant?: ControlVariants;
|
|
1378
|
+
separatorCurrency?: ',' | '.';
|
|
1379
|
+
color?: keyof Theme['colors'];
|
|
1380
|
+
onChange?: (e: React$1.ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
1381
|
+
error?: string | null;
|
|
1382
|
+
ui?: UIProps;
|
|
1383
|
+
style?: React$1.CSSProperties;
|
|
1384
|
+
propsComponent?: {
|
|
1385
|
+
control?: Omit<ControlProps, 'children'>;
|
|
1386
|
+
label?: LabelProps & {
|
|
1387
|
+
display?: boolean;
|
|
1388
|
+
};
|
|
1389
|
+
};
|
|
1390
|
+
};
|
|
1391
|
+
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange"> & {
|
|
1392
|
+
label?: string;
|
|
1393
|
+
value?: string;
|
|
1394
|
+
pattern?: "text" | "email" | "phone" | "number" | "password" | "search" | "date" | "currency";
|
|
1395
|
+
variant?: ControlVariants;
|
|
1396
|
+
separatorCurrency?: "," | ".";
|
|
1397
|
+
color?: keyof Theme["colors"];
|
|
1398
|
+
onChange?: (e: React$1.ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
1399
|
+
error?: string | null;
|
|
1400
|
+
ui?: UIProps;
|
|
1401
|
+
style?: React$1.CSSProperties;
|
|
1402
|
+
propsComponent?: {
|
|
1403
|
+
control?: Omit<ControlProps, "children">;
|
|
1404
|
+
label?: LabelProps & {
|
|
1405
|
+
display?: boolean;
|
|
1406
|
+
};
|
|
1407
|
+
};
|
|
1408
|
+
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
1409
|
+
|
|
1410
|
+
type MonthSelectorProps = {
|
|
1411
|
+
label?: string;
|
|
1412
|
+
name?: string;
|
|
1413
|
+
value?: string;
|
|
1414
|
+
defaultValue?: string;
|
|
1415
|
+
language?: string;
|
|
1416
|
+
years: number[];
|
|
1417
|
+
month: number;
|
|
1418
|
+
formatMonth?: string;
|
|
1419
|
+
monthsDisabled?: number[];
|
|
1420
|
+
year: number;
|
|
1421
|
+
onChange?: (e: any, value: string) => void;
|
|
1422
|
+
propsComponent?: {
|
|
1423
|
+
control?: Omit<React$1.ComponentProps<typeof Input>, 'value' | 'onChange'>;
|
|
1424
|
+
wrapper?: {
|
|
1425
|
+
ui?: UIProps;
|
|
1426
|
+
style?: React$1.CSSProperties;
|
|
1427
|
+
};
|
|
1428
|
+
label?: {
|
|
1429
|
+
display?: boolean;
|
|
1430
|
+
color?: keyof Theme['colors'];
|
|
1431
|
+
ui?: UIProps;
|
|
1432
|
+
style?: React$1.CSSProperties;
|
|
1433
|
+
};
|
|
1434
|
+
icon?: {
|
|
1435
|
+
style?: React$1.CSSProperties;
|
|
1436
|
+
component?: React$1.ReactNode;
|
|
1437
|
+
svg?: React$1.CSSProperties;
|
|
1438
|
+
color?: keyof Theme['colors'];
|
|
1439
|
+
};
|
|
1440
|
+
text?: Omit<TextProps, 'children'> & {
|
|
1441
|
+
button?: React$1.CSSProperties;
|
|
1442
|
+
};
|
|
1443
|
+
container?: {
|
|
1444
|
+
color?: keyof Theme['colors'];
|
|
1445
|
+
ui?: UIProps;
|
|
1446
|
+
style?: React$1.CSSProperties;
|
|
1447
|
+
};
|
|
1448
|
+
};
|
|
1449
|
+
};
|
|
1450
|
+
declare const MonthSelector: React$1.FC<MonthSelectorProps>;
|
|
1451
|
+
|
|
1353
1452
|
type FadeProps = {
|
|
1354
1453
|
in: boolean;
|
|
1355
1454
|
children?: React$1.ReactNode;
|
|
@@ -1457,54 +1556,6 @@ type ImageDropzoneProps = {
|
|
|
1457
1556
|
};
|
|
1458
1557
|
declare const ImageDropzone: React$1.FC<ImageDropzoneProps>;
|
|
1459
1558
|
|
|
1460
|
-
type LabelProps = {
|
|
1461
|
-
display?: boolean;
|
|
1462
|
-
text?: string;
|
|
1463
|
-
children?: React$1.ReactNode;
|
|
1464
|
-
className?: string;
|
|
1465
|
-
color?: keyof Theme['colors'];
|
|
1466
|
-
ui?: Omit<UIProps, 'color'>;
|
|
1467
|
-
style?: React$1.CSSProperties;
|
|
1468
|
-
};
|
|
1469
|
-
declare const Label: React$1.FC<LabelProps>;
|
|
1470
|
-
|
|
1471
|
-
type InputProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'onChange'> & {
|
|
1472
|
-
label?: string;
|
|
1473
|
-
value?: string;
|
|
1474
|
-
pattern?: 'text' | 'email' | 'phone' | 'number' | 'password' | 'search' | 'date' | 'currency';
|
|
1475
|
-
variant?: ControlVariants;
|
|
1476
|
-
separatorCurrency?: ',' | '.';
|
|
1477
|
-
color?: keyof Theme['colors'];
|
|
1478
|
-
onChange?: (e: React$1.ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
1479
|
-
error?: string | null;
|
|
1480
|
-
ui?: UIProps;
|
|
1481
|
-
style?: React$1.CSSProperties;
|
|
1482
|
-
propsComponent?: {
|
|
1483
|
-
control?: Omit<ControlProps, 'children'>;
|
|
1484
|
-
label?: LabelProps & {
|
|
1485
|
-
display?: boolean;
|
|
1486
|
-
};
|
|
1487
|
-
};
|
|
1488
|
-
};
|
|
1489
|
-
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange"> & {
|
|
1490
|
-
label?: string;
|
|
1491
|
-
value?: string;
|
|
1492
|
-
pattern?: "text" | "email" | "phone" | "number" | "password" | "search" | "date" | "currency";
|
|
1493
|
-
variant?: ControlVariants;
|
|
1494
|
-
separatorCurrency?: "," | ".";
|
|
1495
|
-
color?: keyof Theme["colors"];
|
|
1496
|
-
onChange?: (e: React$1.ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
1497
|
-
error?: string | null;
|
|
1498
|
-
ui?: UIProps;
|
|
1499
|
-
style?: React$1.CSSProperties;
|
|
1500
|
-
propsComponent?: {
|
|
1501
|
-
control?: Omit<ControlProps, "children">;
|
|
1502
|
-
label?: LabelProps & {
|
|
1503
|
-
display?: boolean;
|
|
1504
|
-
};
|
|
1505
|
-
};
|
|
1506
|
-
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
1507
|
-
|
|
1508
1559
|
type InputAreaVariant = 'filled' | 'outlined' | 'base' | 'lined';
|
|
1509
1560
|
type InputAreaProps = {
|
|
1510
1561
|
value?: string;
|
|
@@ -1611,6 +1662,7 @@ type SelectorProps = {
|
|
|
1611
1662
|
};
|
|
1612
1663
|
onChange?: (e: SelectorChangeEvent, value: string) => void;
|
|
1613
1664
|
};
|
|
1665
|
+
declare const Selector: React$1.FC<SelectorProps>;
|
|
1614
1666
|
|
|
1615
1667
|
type PhoneInputProps = {
|
|
1616
1668
|
name?: string;
|
|
@@ -1772,6 +1824,10 @@ declare const IconSearch: React.FC<IconProps>;
|
|
|
1772
1824
|
|
|
1773
1825
|
declare const IconDown: React.FC<IconProps>;
|
|
1774
1826
|
|
|
1827
|
+
declare const IconCalendar: React.FC<IconProps>;
|
|
1828
|
+
|
|
1829
|
+
declare const IconLeft: React.FC<IconProps>;
|
|
1830
|
+
|
|
1775
1831
|
declare const useClickAway: (ref: any, callback: any) => void;
|
|
1776
1832
|
|
|
1777
1833
|
type UsePlacesProps = {
|
|
@@ -1790,4 +1846,4 @@ declare const breakUp: (bp: number) => string;
|
|
|
1790
1846
|
declare const breakDown: (bp: number) => string;
|
|
1791
1847
|
declare function useBreakpoint(queryInput: QueryInput): boolean;
|
|
1792
1848
|
|
|
1793
|
-
export { Avatar, type AvatarProps, Backdrop, BackdropContext, type BackdropContextType, BackdropProvider, Box, type BoxProps, Button, type ButtonProps, type ButtonVariant, Calendar, type CalendarComponentProps, type CalendarDayProps, type CalendarProps, Checkbox, type CheckboxProps, Chip, type ChipProps, Collapse, type CollapseProps, Container, type ContainerProps, Control, ControlContext, type ControlProps, type ControlVariants, type CountriesDial, Divider, type DividerProps, Drawer, type DrawerProps, Fade, type FadeProps, Flex, type FlexProps, Grid, type GridProps, Group, type GroupProps, type GroupsType, type GroupsVariant, IconClose, IconDown, IconSearch, Image, ImageDropzone, type ImageDropzoneProps, type ImageProps, Input, InputArea, type InputAreaProps, type InputAreaVariant, type InputProps, Label, type LabelProps, Loader, type LoaderProps, Modal, ModalContainer, type ModalContainerProps, type ModalProps, Notistack, type NotistackAnchorProps, NotistackContext, type NotistackContextType, type NotistackProps, NotistackProvider, type Option, Pending, type PendingProps, Phone, type PhoneInputProps, type PlaceData, PlacesAutocomplete, type PropsPlaces, Radio, type RadioVariant, Select, type SelectChangeEvent, type SelectOptionsProps, type SelectProps, type SelectorChangeEvent, type SelectorProps, Slide, type SlideContentProps, type SlideProps, type Snack, Switch, type SwitchProps, Text, type TextProps, type TextVariant, type TextWeight, type Theme, ThemeContext, ThemeProvider, type UIProps, adjustColor, alpha, applyTheme, baseTokens, bem, bemMerge, breakDown, breakUp, breakpoints, composeStyles, createPaletteColor, createTheme, createVariants, cx, darken, getContrast, getCountryCodePhone, getDialPhone, getMonthCalendar, getNumberPhone, hexToRgb, initTheme, inputCurrency, isEmpty, lighten, mergeDeep, normalizePhone, rgbToHex, text, times, uiStyle, useBackdrop, useBreakpoint, useBreakpointValue, useClickAway, useControl, useMediaQuery, useNotistack, usePlaces, useTheme };
|
|
1849
|
+
export { Avatar, type AvatarProps, Backdrop, BackdropContext, type BackdropContextType, BackdropProvider, Box, type BoxProps, Button, type ButtonProps, type ButtonVariant, Calendar, type CalendarComponentProps, type CalendarDayProps, type CalendarMonthProps, type CalendarProps, Checkbox, type CheckboxProps, Chip, type ChipProps, Collapse, type CollapseProps, Container, type ContainerProps, Control, ControlContext, type ControlProps, type ControlVariants, type CountriesDial, Divider, type DividerProps, Drawer, type DrawerProps, Fade, type FadeProps, Flex, type FlexProps, Grid, type GridProps, Group, type GroupProps, type GroupsType, type GroupsVariant, IconCalendar, IconClose, IconDown, IconLeft, IconSearch, Image, ImageDropzone, type ImageDropzoneProps, type ImageProps, Input, InputArea, type InputAreaProps, type InputAreaVariant, type InputProps, Label, type LabelProps, Loader, type LoaderProps, Modal, ModalContainer, type ModalContainerProps, type ModalProps, MonthSelector, type MonthSelectorProps, Notistack, type NotistackAnchorProps, NotistackContext, type NotistackContextType, type NotistackProps, NotistackProvider, type Option, Pending, type PendingProps, Phone, type PhoneInputProps, type PlaceData, PlacesAutocomplete, type PropsPlaces, Radio, type RadioVariant, Select, type SelectChangeEvent, type SelectOptionsProps, type SelectProps, Selector, type SelectorChangeEvent, type SelectorProps, Slide, type SlideContentProps, type SlideProps, type Snack, Switch, type SwitchProps, Text, type TextProps, type TextVariant, type TextWeight, type Theme, ThemeContext, ThemeProvider, type UIProps, adjustColor, alpha, applyTheme, baseTokens, bem, bemMerge, breakDown, breakUp, breakpoints, composeStyles, createPaletteColor, createTheme, createVariants, cx, darken, getContrast, getCountryCodePhone, getDialPhone, getMonthCalendar, getMonthCalendarProps, getNumberPhone, hexToRgb, initTheme, inputCurrency, isEmpty, lighten, mergeDeep, normalizePhone, rgbToHex, text, times, uiStyle, useBackdrop, useBreakpoint, useBreakpointValue, useClickAway, useControl, useMediaQuery, useNotistack, usePlaces, useTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -1112,6 +1112,15 @@ type CalendarComponentProps = {
|
|
|
1112
1112
|
props?: any;
|
|
1113
1113
|
};
|
|
1114
1114
|
declare function getMonthCalendar(year: number, month: number, startIndex: number, selected: CalendarDayProps, props?: any): CalendarComponentProps;
|
|
1115
|
+
type CalendarMonthProps = {
|
|
1116
|
+
year: number;
|
|
1117
|
+
month: number;
|
|
1118
|
+
years: number[];
|
|
1119
|
+
language?: string;
|
|
1120
|
+
formatMonth: string;
|
|
1121
|
+
monthsDisabled?: number[];
|
|
1122
|
+
};
|
|
1123
|
+
declare function getMonthCalendarProps({ year, years, month, formatMonth, monthsDisabled }: CalendarMonthProps): any;
|
|
1115
1124
|
|
|
1116
1125
|
declare const rgbToHex: (r: number, g: number, b: number) => string;
|
|
1117
1126
|
declare const hexToRgb: (hex: string) => {
|
|
@@ -1350,6 +1359,96 @@ type DrawerProps = {
|
|
|
1350
1359
|
};
|
|
1351
1360
|
declare const Drawer: React$1.FC<DrawerProps>;
|
|
1352
1361
|
|
|
1362
|
+
type LabelProps = {
|
|
1363
|
+
display?: boolean;
|
|
1364
|
+
text?: string;
|
|
1365
|
+
children?: React$1.ReactNode;
|
|
1366
|
+
className?: string;
|
|
1367
|
+
color?: keyof Theme['colors'];
|
|
1368
|
+
ui?: Omit<UIProps, 'color'>;
|
|
1369
|
+
style?: React$1.CSSProperties;
|
|
1370
|
+
};
|
|
1371
|
+
declare const Label: React$1.FC<LabelProps>;
|
|
1372
|
+
|
|
1373
|
+
type InputProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'onChange'> & {
|
|
1374
|
+
label?: string;
|
|
1375
|
+
value?: string;
|
|
1376
|
+
pattern?: 'text' | 'email' | 'phone' | 'number' | 'password' | 'search' | 'date' | 'currency';
|
|
1377
|
+
variant?: ControlVariants;
|
|
1378
|
+
separatorCurrency?: ',' | '.';
|
|
1379
|
+
color?: keyof Theme['colors'];
|
|
1380
|
+
onChange?: (e: React$1.ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
1381
|
+
error?: string | null;
|
|
1382
|
+
ui?: UIProps;
|
|
1383
|
+
style?: React$1.CSSProperties;
|
|
1384
|
+
propsComponent?: {
|
|
1385
|
+
control?: Omit<ControlProps, 'children'>;
|
|
1386
|
+
label?: LabelProps & {
|
|
1387
|
+
display?: boolean;
|
|
1388
|
+
};
|
|
1389
|
+
};
|
|
1390
|
+
};
|
|
1391
|
+
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange"> & {
|
|
1392
|
+
label?: string;
|
|
1393
|
+
value?: string;
|
|
1394
|
+
pattern?: "text" | "email" | "phone" | "number" | "password" | "search" | "date" | "currency";
|
|
1395
|
+
variant?: ControlVariants;
|
|
1396
|
+
separatorCurrency?: "," | ".";
|
|
1397
|
+
color?: keyof Theme["colors"];
|
|
1398
|
+
onChange?: (e: React$1.ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
1399
|
+
error?: string | null;
|
|
1400
|
+
ui?: UIProps;
|
|
1401
|
+
style?: React$1.CSSProperties;
|
|
1402
|
+
propsComponent?: {
|
|
1403
|
+
control?: Omit<ControlProps, "children">;
|
|
1404
|
+
label?: LabelProps & {
|
|
1405
|
+
display?: boolean;
|
|
1406
|
+
};
|
|
1407
|
+
};
|
|
1408
|
+
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
1409
|
+
|
|
1410
|
+
type MonthSelectorProps = {
|
|
1411
|
+
label?: string;
|
|
1412
|
+
name?: string;
|
|
1413
|
+
value?: string;
|
|
1414
|
+
defaultValue?: string;
|
|
1415
|
+
language?: string;
|
|
1416
|
+
years: number[];
|
|
1417
|
+
month: number;
|
|
1418
|
+
formatMonth?: string;
|
|
1419
|
+
monthsDisabled?: number[];
|
|
1420
|
+
year: number;
|
|
1421
|
+
onChange?: (e: any, value: string) => void;
|
|
1422
|
+
propsComponent?: {
|
|
1423
|
+
control?: Omit<React$1.ComponentProps<typeof Input>, 'value' | 'onChange'>;
|
|
1424
|
+
wrapper?: {
|
|
1425
|
+
ui?: UIProps;
|
|
1426
|
+
style?: React$1.CSSProperties;
|
|
1427
|
+
};
|
|
1428
|
+
label?: {
|
|
1429
|
+
display?: boolean;
|
|
1430
|
+
color?: keyof Theme['colors'];
|
|
1431
|
+
ui?: UIProps;
|
|
1432
|
+
style?: React$1.CSSProperties;
|
|
1433
|
+
};
|
|
1434
|
+
icon?: {
|
|
1435
|
+
style?: React$1.CSSProperties;
|
|
1436
|
+
component?: React$1.ReactNode;
|
|
1437
|
+
svg?: React$1.CSSProperties;
|
|
1438
|
+
color?: keyof Theme['colors'];
|
|
1439
|
+
};
|
|
1440
|
+
text?: Omit<TextProps, 'children'> & {
|
|
1441
|
+
button?: React$1.CSSProperties;
|
|
1442
|
+
};
|
|
1443
|
+
container?: {
|
|
1444
|
+
color?: keyof Theme['colors'];
|
|
1445
|
+
ui?: UIProps;
|
|
1446
|
+
style?: React$1.CSSProperties;
|
|
1447
|
+
};
|
|
1448
|
+
};
|
|
1449
|
+
};
|
|
1450
|
+
declare const MonthSelector: React$1.FC<MonthSelectorProps>;
|
|
1451
|
+
|
|
1353
1452
|
type FadeProps = {
|
|
1354
1453
|
in: boolean;
|
|
1355
1454
|
children?: React$1.ReactNode;
|
|
@@ -1457,54 +1556,6 @@ type ImageDropzoneProps = {
|
|
|
1457
1556
|
};
|
|
1458
1557
|
declare const ImageDropzone: React$1.FC<ImageDropzoneProps>;
|
|
1459
1558
|
|
|
1460
|
-
type LabelProps = {
|
|
1461
|
-
display?: boolean;
|
|
1462
|
-
text?: string;
|
|
1463
|
-
children?: React$1.ReactNode;
|
|
1464
|
-
className?: string;
|
|
1465
|
-
color?: keyof Theme['colors'];
|
|
1466
|
-
ui?: Omit<UIProps, 'color'>;
|
|
1467
|
-
style?: React$1.CSSProperties;
|
|
1468
|
-
};
|
|
1469
|
-
declare const Label: React$1.FC<LabelProps>;
|
|
1470
|
-
|
|
1471
|
-
type InputProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'onChange'> & {
|
|
1472
|
-
label?: string;
|
|
1473
|
-
value?: string;
|
|
1474
|
-
pattern?: 'text' | 'email' | 'phone' | 'number' | 'password' | 'search' | 'date' | 'currency';
|
|
1475
|
-
variant?: ControlVariants;
|
|
1476
|
-
separatorCurrency?: ',' | '.';
|
|
1477
|
-
color?: keyof Theme['colors'];
|
|
1478
|
-
onChange?: (e: React$1.ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
1479
|
-
error?: string | null;
|
|
1480
|
-
ui?: UIProps;
|
|
1481
|
-
style?: React$1.CSSProperties;
|
|
1482
|
-
propsComponent?: {
|
|
1483
|
-
control?: Omit<ControlProps, 'children'>;
|
|
1484
|
-
label?: LabelProps & {
|
|
1485
|
-
display?: boolean;
|
|
1486
|
-
};
|
|
1487
|
-
};
|
|
1488
|
-
};
|
|
1489
|
-
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange"> & {
|
|
1490
|
-
label?: string;
|
|
1491
|
-
value?: string;
|
|
1492
|
-
pattern?: "text" | "email" | "phone" | "number" | "password" | "search" | "date" | "currency";
|
|
1493
|
-
variant?: ControlVariants;
|
|
1494
|
-
separatorCurrency?: "," | ".";
|
|
1495
|
-
color?: keyof Theme["colors"];
|
|
1496
|
-
onChange?: (e: React$1.ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
1497
|
-
error?: string | null;
|
|
1498
|
-
ui?: UIProps;
|
|
1499
|
-
style?: React$1.CSSProperties;
|
|
1500
|
-
propsComponent?: {
|
|
1501
|
-
control?: Omit<ControlProps, "children">;
|
|
1502
|
-
label?: LabelProps & {
|
|
1503
|
-
display?: boolean;
|
|
1504
|
-
};
|
|
1505
|
-
};
|
|
1506
|
-
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
1507
|
-
|
|
1508
1559
|
type InputAreaVariant = 'filled' | 'outlined' | 'base' | 'lined';
|
|
1509
1560
|
type InputAreaProps = {
|
|
1510
1561
|
value?: string;
|
|
@@ -1611,6 +1662,7 @@ type SelectorProps = {
|
|
|
1611
1662
|
};
|
|
1612
1663
|
onChange?: (e: SelectorChangeEvent, value: string) => void;
|
|
1613
1664
|
};
|
|
1665
|
+
declare const Selector: React$1.FC<SelectorProps>;
|
|
1614
1666
|
|
|
1615
1667
|
type PhoneInputProps = {
|
|
1616
1668
|
name?: string;
|
|
@@ -1772,6 +1824,10 @@ declare const IconSearch: React.FC<IconProps>;
|
|
|
1772
1824
|
|
|
1773
1825
|
declare const IconDown: React.FC<IconProps>;
|
|
1774
1826
|
|
|
1827
|
+
declare const IconCalendar: React.FC<IconProps>;
|
|
1828
|
+
|
|
1829
|
+
declare const IconLeft: React.FC<IconProps>;
|
|
1830
|
+
|
|
1775
1831
|
declare const useClickAway: (ref: any, callback: any) => void;
|
|
1776
1832
|
|
|
1777
1833
|
type UsePlacesProps = {
|
|
@@ -1790,4 +1846,4 @@ declare const breakUp: (bp: number) => string;
|
|
|
1790
1846
|
declare const breakDown: (bp: number) => string;
|
|
1791
1847
|
declare function useBreakpoint(queryInput: QueryInput): boolean;
|
|
1792
1848
|
|
|
1793
|
-
export { Avatar, type AvatarProps, Backdrop, BackdropContext, type BackdropContextType, BackdropProvider, Box, type BoxProps, Button, type ButtonProps, type ButtonVariant, Calendar, type CalendarComponentProps, type CalendarDayProps, type CalendarProps, Checkbox, type CheckboxProps, Chip, type ChipProps, Collapse, type CollapseProps, Container, type ContainerProps, Control, ControlContext, type ControlProps, type ControlVariants, type CountriesDial, Divider, type DividerProps, Drawer, type DrawerProps, Fade, type FadeProps, Flex, type FlexProps, Grid, type GridProps, Group, type GroupProps, type GroupsType, type GroupsVariant, IconClose, IconDown, IconSearch, Image, ImageDropzone, type ImageDropzoneProps, type ImageProps, Input, InputArea, type InputAreaProps, type InputAreaVariant, type InputProps, Label, type LabelProps, Loader, type LoaderProps, Modal, ModalContainer, type ModalContainerProps, type ModalProps, Notistack, type NotistackAnchorProps, NotistackContext, type NotistackContextType, type NotistackProps, NotistackProvider, type Option, Pending, type PendingProps, Phone, type PhoneInputProps, type PlaceData, PlacesAutocomplete, type PropsPlaces, Radio, type RadioVariant, Select, type SelectChangeEvent, type SelectOptionsProps, type SelectProps, type SelectorChangeEvent, type SelectorProps, Slide, type SlideContentProps, type SlideProps, type Snack, Switch, type SwitchProps, Text, type TextProps, type TextVariant, type TextWeight, type Theme, ThemeContext, ThemeProvider, type UIProps, adjustColor, alpha, applyTheme, baseTokens, bem, bemMerge, breakDown, breakUp, breakpoints, composeStyles, createPaletteColor, createTheme, createVariants, cx, darken, getContrast, getCountryCodePhone, getDialPhone, getMonthCalendar, getNumberPhone, hexToRgb, initTheme, inputCurrency, isEmpty, lighten, mergeDeep, normalizePhone, rgbToHex, text, times, uiStyle, useBackdrop, useBreakpoint, useBreakpointValue, useClickAway, useControl, useMediaQuery, useNotistack, usePlaces, useTheme };
|
|
1849
|
+
export { Avatar, type AvatarProps, Backdrop, BackdropContext, type BackdropContextType, BackdropProvider, Box, type BoxProps, Button, type ButtonProps, type ButtonVariant, Calendar, type CalendarComponentProps, type CalendarDayProps, type CalendarMonthProps, type CalendarProps, Checkbox, type CheckboxProps, Chip, type ChipProps, Collapse, type CollapseProps, Container, type ContainerProps, Control, ControlContext, type ControlProps, type ControlVariants, type CountriesDial, Divider, type DividerProps, Drawer, type DrawerProps, Fade, type FadeProps, Flex, type FlexProps, Grid, type GridProps, Group, type GroupProps, type GroupsType, type GroupsVariant, IconCalendar, IconClose, IconDown, IconLeft, IconSearch, Image, ImageDropzone, type ImageDropzoneProps, type ImageProps, Input, InputArea, type InputAreaProps, type InputAreaVariant, type InputProps, Label, type LabelProps, Loader, type LoaderProps, Modal, ModalContainer, type ModalContainerProps, type ModalProps, MonthSelector, type MonthSelectorProps, Notistack, type NotistackAnchorProps, NotistackContext, type NotistackContextType, type NotistackProps, NotistackProvider, type Option, Pending, type PendingProps, Phone, type PhoneInputProps, type PlaceData, PlacesAutocomplete, type PropsPlaces, Radio, type RadioVariant, Select, type SelectChangeEvent, type SelectOptionsProps, type SelectProps, Selector, type SelectorChangeEvent, type SelectorProps, Slide, type SlideContentProps, type SlideProps, type Snack, Switch, type SwitchProps, Text, type TextProps, type TextVariant, type TextWeight, type Theme, ThemeContext, ThemeProvider, type UIProps, adjustColor, alpha, applyTheme, baseTokens, bem, bemMerge, breakDown, breakUp, breakpoints, composeStyles, createPaletteColor, createTheme, createVariants, cx, darken, getContrast, getCountryCodePhone, getDialPhone, getMonthCalendar, getMonthCalendarProps, getNumberPhone, hexToRgb, initTheme, inputCurrency, isEmpty, lighten, mergeDeep, normalizePhone, rgbToHex, text, times, uiStyle, useBackdrop, useBreakpoint, useBreakpointValue, useClickAway, useControl, useMediaQuery, useNotistack, usePlaces, useTheme };
|