@yr3/ui 1.0.16 → 1.0.18
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/components/Group/group.css +22 -8
- package/dist/components/Group/group.css.map +1 -1
- package/dist/index.cjs +536 -319
- package/dist/index.d.cts +100 -49
- package/dist/index.d.ts +100 -49
- package/dist/index.js +531 -319
- package/dist/styles/index.css +138 -8
- 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,88 @@ 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
|
+
};
|
|
1441
|
+
};
|
|
1442
|
+
declare const MonthSelector: React$1.FC<MonthSelectorProps>;
|
|
1443
|
+
|
|
1353
1444
|
type FadeProps = {
|
|
1354
1445
|
in: boolean;
|
|
1355
1446
|
children?: React$1.ReactNode;
|
|
@@ -1392,6 +1483,9 @@ type Option = {
|
|
|
1392
1483
|
label: string;
|
|
1393
1484
|
value: string;
|
|
1394
1485
|
disabled?: boolean;
|
|
1486
|
+
ui?: UIProps;
|
|
1487
|
+
style?: React$1.CSSProperties;
|
|
1488
|
+
active?: keyof Theme['colors'];
|
|
1395
1489
|
};
|
|
1396
1490
|
type GroupsVariant = 'filled' | 'outlined' | 'text';
|
|
1397
1491
|
type GroupsType = 'rounded' | 'square';
|
|
@@ -1454,54 +1548,6 @@ type ImageDropzoneProps = {
|
|
|
1454
1548
|
};
|
|
1455
1549
|
declare const ImageDropzone: React$1.FC<ImageDropzoneProps>;
|
|
1456
1550
|
|
|
1457
|
-
type LabelProps = {
|
|
1458
|
-
display?: boolean;
|
|
1459
|
-
text?: string;
|
|
1460
|
-
children?: React$1.ReactNode;
|
|
1461
|
-
className?: string;
|
|
1462
|
-
color?: keyof Theme['colors'];
|
|
1463
|
-
ui?: Omit<UIProps, 'color'>;
|
|
1464
|
-
style?: React$1.CSSProperties;
|
|
1465
|
-
};
|
|
1466
|
-
declare const Label: React$1.FC<LabelProps>;
|
|
1467
|
-
|
|
1468
|
-
type InputProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'onChange'> & {
|
|
1469
|
-
label?: string;
|
|
1470
|
-
value?: string;
|
|
1471
|
-
pattern?: 'text' | 'email' | 'phone' | 'number' | 'password' | 'search' | 'date' | 'currency';
|
|
1472
|
-
variant?: ControlVariants;
|
|
1473
|
-
separatorCurrency?: ',' | '.';
|
|
1474
|
-
color?: keyof Theme['colors'];
|
|
1475
|
-
onChange?: (e: React$1.ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
1476
|
-
error?: string | null;
|
|
1477
|
-
ui?: UIProps;
|
|
1478
|
-
style?: React$1.CSSProperties;
|
|
1479
|
-
propsComponent?: {
|
|
1480
|
-
control?: Omit<ControlProps, 'children'>;
|
|
1481
|
-
label?: LabelProps & {
|
|
1482
|
-
display?: boolean;
|
|
1483
|
-
};
|
|
1484
|
-
};
|
|
1485
|
-
};
|
|
1486
|
-
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange"> & {
|
|
1487
|
-
label?: string;
|
|
1488
|
-
value?: string;
|
|
1489
|
-
pattern?: "text" | "email" | "phone" | "number" | "password" | "search" | "date" | "currency";
|
|
1490
|
-
variant?: ControlVariants;
|
|
1491
|
-
separatorCurrency?: "," | ".";
|
|
1492
|
-
color?: keyof Theme["colors"];
|
|
1493
|
-
onChange?: (e: React$1.ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
1494
|
-
error?: string | null;
|
|
1495
|
-
ui?: UIProps;
|
|
1496
|
-
style?: React$1.CSSProperties;
|
|
1497
|
-
propsComponent?: {
|
|
1498
|
-
control?: Omit<ControlProps, "children">;
|
|
1499
|
-
label?: LabelProps & {
|
|
1500
|
-
display?: boolean;
|
|
1501
|
-
};
|
|
1502
|
-
};
|
|
1503
|
-
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
1504
|
-
|
|
1505
1551
|
type InputAreaVariant = 'filled' | 'outlined' | 'base' | 'lined';
|
|
1506
1552
|
type InputAreaProps = {
|
|
1507
1553
|
value?: string;
|
|
@@ -1608,6 +1654,7 @@ type SelectorProps = {
|
|
|
1608
1654
|
};
|
|
1609
1655
|
onChange?: (e: SelectorChangeEvent, value: string) => void;
|
|
1610
1656
|
};
|
|
1657
|
+
declare const Selector: React$1.FC<SelectorProps>;
|
|
1611
1658
|
|
|
1612
1659
|
type PhoneInputProps = {
|
|
1613
1660
|
name?: string;
|
|
@@ -1769,6 +1816,10 @@ declare const IconSearch: React.FC<IconProps>;
|
|
|
1769
1816
|
|
|
1770
1817
|
declare const IconDown: React.FC<IconProps>;
|
|
1771
1818
|
|
|
1819
|
+
declare const IconCalendar: React.FC<IconProps>;
|
|
1820
|
+
|
|
1821
|
+
declare const IconLeft: React.FC<IconProps>;
|
|
1822
|
+
|
|
1772
1823
|
declare const useClickAway: (ref: any, callback: any) => void;
|
|
1773
1824
|
|
|
1774
1825
|
type UsePlacesProps = {
|
|
@@ -1787,4 +1838,4 @@ declare const breakUp: (bp: number) => string;
|
|
|
1787
1838
|
declare const breakDown: (bp: number) => string;
|
|
1788
1839
|
declare function useBreakpoint(queryInput: QueryInput): boolean;
|
|
1789
1840
|
|
|
1790
|
-
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 };
|
|
1841
|
+
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,88 @@ 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
|
+
};
|
|
1441
|
+
};
|
|
1442
|
+
declare const MonthSelector: React$1.FC<MonthSelectorProps>;
|
|
1443
|
+
|
|
1353
1444
|
type FadeProps = {
|
|
1354
1445
|
in: boolean;
|
|
1355
1446
|
children?: React$1.ReactNode;
|
|
@@ -1392,6 +1483,9 @@ type Option = {
|
|
|
1392
1483
|
label: string;
|
|
1393
1484
|
value: string;
|
|
1394
1485
|
disabled?: boolean;
|
|
1486
|
+
ui?: UIProps;
|
|
1487
|
+
style?: React$1.CSSProperties;
|
|
1488
|
+
active?: keyof Theme['colors'];
|
|
1395
1489
|
};
|
|
1396
1490
|
type GroupsVariant = 'filled' | 'outlined' | 'text';
|
|
1397
1491
|
type GroupsType = 'rounded' | 'square';
|
|
@@ -1454,54 +1548,6 @@ type ImageDropzoneProps = {
|
|
|
1454
1548
|
};
|
|
1455
1549
|
declare const ImageDropzone: React$1.FC<ImageDropzoneProps>;
|
|
1456
1550
|
|
|
1457
|
-
type LabelProps = {
|
|
1458
|
-
display?: boolean;
|
|
1459
|
-
text?: string;
|
|
1460
|
-
children?: React$1.ReactNode;
|
|
1461
|
-
className?: string;
|
|
1462
|
-
color?: keyof Theme['colors'];
|
|
1463
|
-
ui?: Omit<UIProps, 'color'>;
|
|
1464
|
-
style?: React$1.CSSProperties;
|
|
1465
|
-
};
|
|
1466
|
-
declare const Label: React$1.FC<LabelProps>;
|
|
1467
|
-
|
|
1468
|
-
type InputProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'onChange'> & {
|
|
1469
|
-
label?: string;
|
|
1470
|
-
value?: string;
|
|
1471
|
-
pattern?: 'text' | 'email' | 'phone' | 'number' | 'password' | 'search' | 'date' | 'currency';
|
|
1472
|
-
variant?: ControlVariants;
|
|
1473
|
-
separatorCurrency?: ',' | '.';
|
|
1474
|
-
color?: keyof Theme['colors'];
|
|
1475
|
-
onChange?: (e: React$1.ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
1476
|
-
error?: string | null;
|
|
1477
|
-
ui?: UIProps;
|
|
1478
|
-
style?: React$1.CSSProperties;
|
|
1479
|
-
propsComponent?: {
|
|
1480
|
-
control?: Omit<ControlProps, 'children'>;
|
|
1481
|
-
label?: LabelProps & {
|
|
1482
|
-
display?: boolean;
|
|
1483
|
-
};
|
|
1484
|
-
};
|
|
1485
|
-
};
|
|
1486
|
-
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange"> & {
|
|
1487
|
-
label?: string;
|
|
1488
|
-
value?: string;
|
|
1489
|
-
pattern?: "text" | "email" | "phone" | "number" | "password" | "search" | "date" | "currency";
|
|
1490
|
-
variant?: ControlVariants;
|
|
1491
|
-
separatorCurrency?: "," | ".";
|
|
1492
|
-
color?: keyof Theme["colors"];
|
|
1493
|
-
onChange?: (e: React$1.ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
1494
|
-
error?: string | null;
|
|
1495
|
-
ui?: UIProps;
|
|
1496
|
-
style?: React$1.CSSProperties;
|
|
1497
|
-
propsComponent?: {
|
|
1498
|
-
control?: Omit<ControlProps, "children">;
|
|
1499
|
-
label?: LabelProps & {
|
|
1500
|
-
display?: boolean;
|
|
1501
|
-
};
|
|
1502
|
-
};
|
|
1503
|
-
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
1504
|
-
|
|
1505
1551
|
type InputAreaVariant = 'filled' | 'outlined' | 'base' | 'lined';
|
|
1506
1552
|
type InputAreaProps = {
|
|
1507
1553
|
value?: string;
|
|
@@ -1608,6 +1654,7 @@ type SelectorProps = {
|
|
|
1608
1654
|
};
|
|
1609
1655
|
onChange?: (e: SelectorChangeEvent, value: string) => void;
|
|
1610
1656
|
};
|
|
1657
|
+
declare const Selector: React$1.FC<SelectorProps>;
|
|
1611
1658
|
|
|
1612
1659
|
type PhoneInputProps = {
|
|
1613
1660
|
name?: string;
|
|
@@ -1769,6 +1816,10 @@ declare const IconSearch: React.FC<IconProps>;
|
|
|
1769
1816
|
|
|
1770
1817
|
declare const IconDown: React.FC<IconProps>;
|
|
1771
1818
|
|
|
1819
|
+
declare const IconCalendar: React.FC<IconProps>;
|
|
1820
|
+
|
|
1821
|
+
declare const IconLeft: React.FC<IconProps>;
|
|
1822
|
+
|
|
1772
1823
|
declare const useClickAway: (ref: any, callback: any) => void;
|
|
1773
1824
|
|
|
1774
1825
|
type UsePlacesProps = {
|
|
@@ -1787,4 +1838,4 @@ declare const breakUp: (bp: number) => string;
|
|
|
1787
1838
|
declare const breakDown: (bp: number) => string;
|
|
1788
1839
|
declare function useBreakpoint(queryInput: QueryInput): boolean;
|
|
1789
1840
|
|
|
1790
|
-
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 };
|
|
1841
|
+
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 };
|