@yr3/ui 1.0.17 → 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/index.cjs +503 -313
- package/dist/index.d.cts +97 -49
- package/dist/index.d.ts +97 -49
- package/dist/index.js +498 -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,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;
|
|
@@ -1457,54 +1548,6 @@ type ImageDropzoneProps = {
|
|
|
1457
1548
|
};
|
|
1458
1549
|
declare const ImageDropzone: React$1.FC<ImageDropzoneProps>;
|
|
1459
1550
|
|
|
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
1551
|
type InputAreaVariant = 'filled' | 'outlined' | 'base' | 'lined';
|
|
1509
1552
|
type InputAreaProps = {
|
|
1510
1553
|
value?: string;
|
|
@@ -1611,6 +1654,7 @@ type SelectorProps = {
|
|
|
1611
1654
|
};
|
|
1612
1655
|
onChange?: (e: SelectorChangeEvent, value: string) => void;
|
|
1613
1656
|
};
|
|
1657
|
+
declare const Selector: React$1.FC<SelectorProps>;
|
|
1614
1658
|
|
|
1615
1659
|
type PhoneInputProps = {
|
|
1616
1660
|
name?: string;
|
|
@@ -1772,6 +1816,10 @@ declare const IconSearch: React.FC<IconProps>;
|
|
|
1772
1816
|
|
|
1773
1817
|
declare const IconDown: React.FC<IconProps>;
|
|
1774
1818
|
|
|
1819
|
+
declare const IconCalendar: React.FC<IconProps>;
|
|
1820
|
+
|
|
1821
|
+
declare const IconLeft: React.FC<IconProps>;
|
|
1822
|
+
|
|
1775
1823
|
declare const useClickAway: (ref: any, callback: any) => void;
|
|
1776
1824
|
|
|
1777
1825
|
type UsePlacesProps = {
|
|
@@ -1790,4 +1838,4 @@ declare const breakUp: (bp: number) => string;
|
|
|
1790
1838
|
declare const breakDown: (bp: number) => string;
|
|
1791
1839
|
declare function useBreakpoint(queryInput: QueryInput): boolean;
|
|
1792
1840
|
|
|
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 };
|
|
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;
|
|
@@ -1457,54 +1548,6 @@ type ImageDropzoneProps = {
|
|
|
1457
1548
|
};
|
|
1458
1549
|
declare const ImageDropzone: React$1.FC<ImageDropzoneProps>;
|
|
1459
1550
|
|
|
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
1551
|
type InputAreaVariant = 'filled' | 'outlined' | 'base' | 'lined';
|
|
1509
1552
|
type InputAreaProps = {
|
|
1510
1553
|
value?: string;
|
|
@@ -1611,6 +1654,7 @@ type SelectorProps = {
|
|
|
1611
1654
|
};
|
|
1612
1655
|
onChange?: (e: SelectorChangeEvent, value: string) => void;
|
|
1613
1656
|
};
|
|
1657
|
+
declare const Selector: React$1.FC<SelectorProps>;
|
|
1614
1658
|
|
|
1615
1659
|
type PhoneInputProps = {
|
|
1616
1660
|
name?: string;
|
|
@@ -1772,6 +1816,10 @@ declare const IconSearch: React.FC<IconProps>;
|
|
|
1772
1816
|
|
|
1773
1817
|
declare const IconDown: React.FC<IconProps>;
|
|
1774
1818
|
|
|
1819
|
+
declare const IconCalendar: React.FC<IconProps>;
|
|
1820
|
+
|
|
1821
|
+
declare const IconLeft: React.FC<IconProps>;
|
|
1822
|
+
|
|
1775
1823
|
declare const useClickAway: (ref: any, callback: any) => void;
|
|
1776
1824
|
|
|
1777
1825
|
type UsePlacesProps = {
|
|
@@ -1790,4 +1838,4 @@ declare const breakUp: (bp: number) => string;
|
|
|
1790
1838
|
declare const breakDown: (bp: number) => string;
|
|
1791
1839
|
declare function useBreakpoint(queryInput: QueryInput): boolean;
|
|
1792
1840
|
|
|
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 };
|
|
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 };
|