@commonsku/styles 1.13.6 → 1.14.1
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 +2620 -0
- package/dist/index.es.js +3165 -4803
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +3229 -4837
- package/dist/index.js.map +1 -1
- package/dist/styles/Accordion.d.ts.map +1 -1
- package/dist/styles/Artwork.d.ts +1 -1
- package/dist/styles/Artwork.d.ts.map +1 -1
- package/dist/styles/Avatar.d.ts +62 -2
- package/dist/styles/Avatar.d.ts.map +1 -1
- package/dist/styles/Box.d.ts +3 -2
- package/dist/styles/Box.d.ts.map +1 -1
- package/dist/styles/Button.d.ts +55 -3
- package/dist/styles/Button.d.ts.map +1 -1
- package/dist/styles/Datepicker.d.ts +12 -13
- package/dist/styles/Datepicker.d.ts.map +1 -1
- package/dist/styles/DropArea.d.ts +3 -2
- package/dist/styles/DropArea.d.ts.map +1 -1
- package/dist/styles/Dropdown.d.ts +3 -1
- package/dist/styles/Dropdown.d.ts.map +1 -1
- package/dist/styles/ErrorBoundary.d.ts +2 -2
- package/dist/styles/ErrorBoundary.d.ts.map +1 -1
- package/dist/styles/Feed.d.ts.map +1 -1
- package/dist/styles/FlexboxGrid.d.ts +10 -2
- package/dist/styles/FlexboxGrid.d.ts.map +1 -1
- package/dist/styles/HeadlessTable.d.ts.map +1 -1
- package/dist/styles/IconShowcase.d.ts +25 -0
- package/dist/styles/IconShowcase.d.ts.map +1 -0
- package/dist/styles/Img.d.ts +8 -1
- package/dist/styles/Img.d.ts.map +1 -1
- package/dist/styles/Input.d.ts +34 -35
- package/dist/styles/Input.d.ts.map +1 -1
- package/dist/styles/MultiProgress.d.ts +5 -2
- package/dist/styles/MultiProgress.d.ts.map +1 -1
- package/dist/styles/Product.d.ts.map +1 -1
- package/dist/styles/Select.d.ts +27 -39
- package/dist/styles/Select.d.ts.map +1 -1
- package/dist/styles/SharedStyles.d.ts +0 -1
- package/dist/styles/SharedStyles.d.ts.map +1 -1
- package/dist/styles/SidePanel.d.ts.map +1 -1
- package/dist/styles/Sizer.d.ts +18 -14
- package/dist/styles/Sizer.d.ts.map +1 -1
- package/dist/styles/Spinner.d.ts.map +1 -1
- package/dist/styles/StateDropdown.d.ts +18 -22
- package/dist/styles/StateDropdown.d.ts.map +1 -1
- package/dist/styles/Table.d.ts +4 -4
- package/dist/styles/Table.d.ts.map +1 -1
- package/dist/styles/Tabs.d.ts +8 -7
- package/dist/styles/Tabs.d.ts.map +1 -1
- package/dist/styles/Task.d.ts +10 -3
- package/dist/styles/Task.d.ts.map +1 -1
- package/dist/styles/Text.d.ts +17 -14
- package/dist/styles/Text.d.ts.map +1 -1
- package/dist/styles/Textarea.d.ts +11 -12
- package/dist/styles/Textarea.d.ts.map +1 -1
- package/dist/styles/Theme.d.ts +375 -378
- package/dist/styles/Theme.d.ts.map +1 -1
- package/dist/styles/Thermometer.d.ts +13 -0
- package/dist/styles/Thermometer.d.ts.map +1 -0
- package/dist/styles/Toggle.d.ts +4 -2
- package/dist/styles/Toggle.d.ts.map +1 -1
- package/dist/styles/calendar/Calendar.d.ts.map +1 -1
- package/dist/styles/calendar/CalendarDayBody.d.ts +1 -1
- package/dist/styles/calendar/CalendarDayBody.d.ts.map +1 -1
- package/dist/styles/calendar/DaysHeaderWrapper.d.ts +9 -1
- package/dist/styles/calendar/DaysHeaderWrapper.d.ts.map +1 -1
- package/dist/styles/calendar/DefaultCalendarHeader.d.ts.map +1 -1
- package/dist/styles/calendar/DraggableCalendarFooterTasks.d.ts.map +1 -1
- package/dist/styles/calendar/DraggableTasksCalendar.d.ts +7 -4
- package/dist/styles/calendar/DraggableTasksCalendar.d.ts.map +1 -1
- package/dist/styles/calendar/HeaderWrapper.d.ts +9 -1
- package/dist/styles/calendar/HeaderWrapper.d.ts.map +1 -1
- package/dist/styles/calendar/StyledDayText.d.ts +2 -1
- package/dist/styles/calendar/StyledDayText.d.ts.map +1 -1
- package/dist/styles/calendar/TasksCalendar.d.ts +7 -3
- package/dist/styles/calendar/TasksCalendar.d.ts.map +1 -1
- package/dist/styles/calendar/TasksCalendarFooter.d.ts.map +1 -1
- package/dist/styles/calendar/TasksCalendarHeader.d.ts +9 -3
- package/dist/styles/calendar/TasksCalendarHeader.d.ts.map +1 -1
- package/dist/styles/calendar/styles.d.ts +8 -14
- package/dist/styles/calendar/styles.d.ts.map +1 -1
- package/dist/styles/calendar/types.d.ts +8 -0
- package/dist/styles/calendar/types.d.ts.map +1 -1
- package/dist/styles/colors.d.ts +302 -170
- package/dist/styles/colors.d.ts.map +1 -1
- package/dist/styles/datepickerStyles.d.ts +3 -0
- package/dist/styles/datepickerStyles.d.ts.map +1 -0
- package/dist/styles/globalStyles.d.ts +5 -1
- package/dist/styles/globalStyles.d.ts.map +1 -1
- package/dist/styles/hooks/useCalendar.d.ts +4 -0
- package/dist/styles/hooks/useCalendar.d.ts.map +1 -1
- package/dist/styles/icons/AddIcon.d.ts +6 -0
- package/dist/styles/icons/AddIcon.d.ts.map +1 -0
- package/dist/styles/icons/ArrowIcon.d.ts +9 -0
- package/dist/styles/icons/ArrowIcon.d.ts.map +1 -0
- package/dist/styles/icons/BotIcon.d.ts +6 -0
- package/dist/styles/icons/BotIcon.d.ts.map +1 -0
- package/dist/styles/icons/Calendar2Icon.d.ts +9 -0
- package/dist/styles/icons/Calendar2Icon.d.ts.map +1 -0
- package/dist/styles/icons/CalendarIcon.d.ts +7 -7
- package/dist/styles/icons/CalendarIcon.d.ts.map +1 -1
- package/dist/styles/icons/CheckboxIcon.d.ts +8 -0
- package/dist/styles/icons/CheckboxIcon.d.ts.map +1 -0
- package/dist/styles/icons/CheckmarkOnlyIcon.d.ts +6 -0
- package/dist/styles/icons/CheckmarkOnlyIcon.d.ts.map +1 -0
- package/dist/styles/icons/ChevronIcon.d.ts +9 -0
- package/dist/styles/icons/ChevronIcon.d.ts.map +1 -0
- package/dist/styles/icons/ClipboardIcon.d.ts +6 -0
- package/dist/styles/icons/ClipboardIcon.d.ts.map +1 -0
- package/dist/styles/icons/ClockIcon.d.ts +6 -0
- package/dist/styles/icons/ClockIcon.d.ts.map +1 -0
- package/dist/styles/icons/CrossIcon.d.ts +6 -0
- package/dist/styles/icons/CrossIcon.d.ts.map +1 -0
- package/dist/styles/icons/DollarIcon.d.ts +6 -0
- package/dist/styles/icons/DollarIcon.d.ts.map +1 -0
- package/dist/styles/icons/DownloadIcon.d.ts +1 -1
- package/dist/styles/icons/EstimateCircleIcon.d.ts +10 -0
- package/dist/styles/icons/EstimateCircleIcon.d.ts.map +1 -0
- package/dist/styles/icons/FilledChevronIcon.d.ts +9 -0
- package/dist/styles/icons/FilledChevronIcon.d.ts.map +1 -0
- package/dist/styles/icons/FolderIcon.d.ts +6 -0
- package/dist/styles/icons/FolderIcon.d.ts.map +1 -0
- package/dist/styles/icons/GalleryIcon.d.ts +6 -0
- package/dist/styles/icons/GalleryIcon.d.ts.map +1 -0
- package/dist/styles/icons/GearIcon.d.ts +7 -9
- package/dist/styles/icons/GearIcon.d.ts.map +1 -1
- package/dist/styles/icons/ListIcon.d.ts +6 -0
- package/dist/styles/icons/ListIcon.d.ts.map +1 -0
- package/dist/styles/icons/Loading.d.ts +1 -0
- package/dist/styles/icons/Loading.d.ts.map +1 -1
- package/dist/styles/icons/MarketingStatusIcon.d.ts +8 -0
- package/dist/styles/icons/MarketingStatusIcon.d.ts.map +1 -0
- package/dist/styles/icons/NavManagementIcon.d.ts.map +1 -1
- package/dist/styles/icons/OpportunityCircleIcon.d.ts +10 -0
- package/dist/styles/icons/OpportunityCircleIcon.d.ts.map +1 -0
- package/dist/styles/icons/PresentationCircleIcon.d.ts +10 -0
- package/dist/styles/icons/PresentationCircleIcon.d.ts.map +1 -0
- package/dist/styles/icons/PromostandardsIcon.d.ts +8 -0
- package/dist/styles/icons/PromostandardsIcon.d.ts.map +1 -0
- package/dist/styles/icons/RadioIcon.d.ts +8 -0
- package/dist/styles/icons/RadioIcon.d.ts.map +1 -0
- package/dist/styles/icons/ReceiptLongIcon.d.ts +8 -0
- package/dist/styles/icons/ReceiptLongIcon.d.ts.map +1 -0
- package/dist/styles/icons/SalesOrderCircleIcon.d.ts +10 -0
- package/dist/styles/icons/SalesOrderCircleIcon.d.ts.map +1 -0
- package/dist/styles/icons/SearchIcon.d.ts +6 -0
- package/dist/styles/icons/SearchIcon.d.ts.map +1 -0
- package/dist/styles/icons/SubtractIcon.d.ts +6 -0
- package/dist/styles/icons/SubtractIcon.d.ts.map +1 -0
- package/dist/styles/icons/SvgIcon.d.ts +45 -0
- package/dist/styles/icons/SvgIcon.d.ts.map +1 -0
- package/dist/styles/icons/TilesIcon.d.ts +8 -0
- package/dist/styles/icons/TilesIcon.d.ts.map +1 -0
- package/dist/styles/icons/UserIcon.d.ts +6 -0
- package/dist/styles/icons/UserIcon.d.ts.map +1 -0
- package/dist/styles/icons/UsersIcon.d.ts +6 -0
- package/dist/styles/icons/UsersIcon.d.ts.map +1 -0
- package/dist/styles/icons/index.d.ts +31 -7
- package/dist/styles/icons/index.d.ts.map +1 -1
- package/dist/styles/index.d.ts +2 -0
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/tables/SimpleWindowedTable.d.ts.map +1 -1
- package/dist/styles/tables/scrollbarWidth.d.ts.map +1 -1
- package/dist/utils/sizes.d.ts +2 -1
- package/dist/utils/sizes.d.ts.map +1 -1
- package/package.json +6 -2
- package/dist/styles/icons/DownArrowIcon.d.ts +0 -10
- package/dist/styles/icons/DownArrowIcon.d.ts.map +0 -1
- package/dist/styles/icons/NextPrevIcon.d.ts +0 -11
- package/dist/styles/icons/NextPrevIcon.d.ts.map +0 -1
- package/dist/styles/icons/UpArrowIcon.d.ts +0 -10
- package/dist/styles/icons/UpArrowIcon.d.ts.map +0 -1
- package/dist/styles/icons/UpDownArrowsIcon.d.ts +0 -10
- package/dist/styles/icons/UpDownArrowsIcon.d.ts.map +0 -1
- package/dist/styles/icons/WarningIcon.d.ts +0 -7
- package/dist/styles/icons/WarningIcon.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Accordion.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Accordion.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,oEAErB,CAAC"}
|
package/dist/styles/Artwork.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare type ArtworkProps = {
|
|
|
9
9
|
date?: string;
|
|
10
10
|
edit?: boolean;
|
|
11
11
|
noTruncate?: boolean;
|
|
12
|
-
onClick?:
|
|
12
|
+
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
13
13
|
onEdit?: Function | VoidFunction;
|
|
14
14
|
onDelete?: Function | VoidFunction;
|
|
15
15
|
onSave?: Function | VoidFunction;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Artwork.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Artwork.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAQ,UAAU,EAAC,MAAM,SAAS,CAAA;AAGzC,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAkFhE,oBAAY,YAAY,GAAG;IACzB,OAAO,CAAC,EAAC,MAAM,CAAC;IAChB,IAAI,CAAC,EAAC,MAAM,CAAC;IACb,IAAI,EAAC,MAAM,CAAC;IACZ,SAAS,CAAC,EAAC,MAAM,CAAC;IAClB,IAAI,CAAC,EAAC,MAAM,CAAC;IACb,IAAI,CAAC,EAAC,OAAO,CAAC;IACd,UAAU,CAAC,EAAC,OAAO,CAAC;IACpB,OAAO,CAAC,EAAC,
|
|
1
|
+
{"version":3,"file":"Artwork.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Artwork.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAQ,UAAU,EAAC,MAAM,SAAS,CAAA;AAGzC,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAkFhE,oBAAY,YAAY,GAAG;IACzB,OAAO,CAAC,EAAC,MAAM,CAAC;IAChB,IAAI,CAAC,EAAC,MAAM,CAAC;IACb,IAAI,EAAC,MAAM,CAAC;IACZ,SAAS,CAAC,EAAC,MAAM,CAAC;IAClB,IAAI,CAAC,EAAC,MAAM,CAAC;IACb,IAAI,CAAC,EAAC,OAAO,CAAC;IACd,UAAU,CAAC,EAAC,OAAO,CAAC;IACpB,OAAO,CAAC,EAAC,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;IACjD,MAAM,CAAC,EAAC,QAAQ,GAAC,YAAY,CAAC;IAC9B,QAAQ,CAAC,EAAC,QAAQ,GAAC,YAAY,CAAC;IAChC,MAAM,CAAC,EAAC,QAAQ,GAAC,YAAY,CAAC;IAC9B,UAAU,CAAC,EAAC,QAAQ,GAAC,YAAY,CAAC;IAClC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,OAAO,CAAC,EAAC,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,OAAO,6BAGf,YAAY,GAAG,gBAAgB,gBAkCnC,CAAA"}
|
package/dist/styles/Avatar.d.ts
CHANGED
|
@@ -1,11 +1,71 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SharedStyleTypes } from './SharedStyles';
|
|
3
|
+
declare const avatarSizes: {
|
|
4
|
+
tiny: {
|
|
5
|
+
size: string;
|
|
6
|
+
fontSize: string;
|
|
7
|
+
};
|
|
8
|
+
small: {
|
|
9
|
+
size: string;
|
|
10
|
+
fontSize: string;
|
|
11
|
+
};
|
|
12
|
+
medium: {
|
|
13
|
+
size: string;
|
|
14
|
+
fontSize: string;
|
|
15
|
+
};
|
|
16
|
+
large: {
|
|
17
|
+
size: string;
|
|
18
|
+
fontSize: string;
|
|
19
|
+
};
|
|
20
|
+
huge: {
|
|
21
|
+
size: string;
|
|
22
|
+
fontSize: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export declare type AvatarSize = keyof typeof avatarSizes;
|
|
26
|
+
declare const avatarShapes: {
|
|
27
|
+
square: string;
|
|
28
|
+
circle: string;
|
|
29
|
+
};
|
|
30
|
+
export declare type AvatarShape = keyof typeof avatarShapes;
|
|
31
|
+
declare const avatarColors: {
|
|
32
|
+
teal: {
|
|
33
|
+
backgroundColor: string;
|
|
34
|
+
textColor: string;
|
|
35
|
+
};
|
|
36
|
+
green: {
|
|
37
|
+
backgroundColor: string;
|
|
38
|
+
textColor: string;
|
|
39
|
+
};
|
|
40
|
+
yellow: {
|
|
41
|
+
backgroundColor: string;
|
|
42
|
+
textColor: string;
|
|
43
|
+
};
|
|
44
|
+
navy: {
|
|
45
|
+
backgroundColor: string;
|
|
46
|
+
textColor: string;
|
|
47
|
+
};
|
|
48
|
+
pink: {
|
|
49
|
+
backgroundColor: string;
|
|
50
|
+
textColor: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export declare type AvatarColor = keyof typeof avatarColors;
|
|
3
54
|
declare type _AvatarProps = {
|
|
4
|
-
size:
|
|
55
|
+
size: AvatarSize;
|
|
56
|
+
shape?: AvatarShape;
|
|
57
|
+
color?: AvatarColor;
|
|
58
|
+
hasPic?: boolean;
|
|
59
|
+
initials?: string;
|
|
60
|
+
icon?: boolean;
|
|
5
61
|
} & React.HTMLAttributes<HTMLDivElement> & SharedStyleTypes;
|
|
6
62
|
declare const Avatar: React.FC<Omit<_AvatarProps, 'size'> & {
|
|
7
63
|
pic?: string;
|
|
8
|
-
size?:
|
|
64
|
+
size?: AvatarSize;
|
|
65
|
+
shape?: AvatarShape;
|
|
66
|
+
color?: AvatarColor;
|
|
67
|
+
initials?: string;
|
|
68
|
+
icon?: boolean;
|
|
9
69
|
}>;
|
|
10
70
|
export { Avatar };
|
|
11
71
|
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Avatar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Avatar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAKhE,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAqBhB,CAAC;AAEF,oBAAY,UAAU,GAAG,MAAM,OAAO,WAAW,CAAC;AAElD,QAAA,MAAM,YAAY;;;CAGjB,CAAA;AAED,oBAAY,WAAW,GAAG,MAAM,OAAO,YAAY,CAAC;AAEpD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;CAqBjB,CAAA;AAED,oBAAY,WAAW,GAAG,MAAM,OAAO,YAAY,CAAC;AAOpD,aAAK,YAAY,GAAG;IAAC,IAAI,EAAE,UAAU,CAAC;IAAC,KAAK,CAAC,EAAE,WAAW,CAAC;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAC,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,gBAAgB,CAAC;AAkCjM,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CACpB,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,GAAG;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,UAAU,CAAC;IAAC,KAAK,CAAC,EAAE,WAAW,CAAC;IAAC,KAAK,CAAC,EAAE,WAAW,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAC,CAe5I,CAAA;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
|
package/dist/styles/Box.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SharedStyleTypes } from './SharedStyles';
|
|
3
|
-
declare
|
|
3
|
+
declare type BoxProps = React.PropsWithChildren<{
|
|
4
4
|
borderless?: boolean;
|
|
5
5
|
padded?: boolean;
|
|
6
6
|
title?: string | React.ReactNode;
|
|
7
7
|
controls?: React.ReactNode;
|
|
8
|
-
} & SharedStyleTypes
|
|
8
|
+
} & SharedStyleTypes>;
|
|
9
|
+
declare const Box: ({ title, controls, children, ...props }: BoxProps) => JSX.Element;
|
|
9
10
|
export { Box };
|
|
10
11
|
//# sourceMappingURL=Box.d.ts.map
|
package/dist/styles/Box.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Box.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Box.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAUhE,aAAK,QAAQ,GAAG,KAAK,CAAC,iBAAiB,CAAC;IACtC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,GAAG,gBAAgB,CAAC,CAAC;AACtB,QAAA,MAAM,GAAG,4CAKN,QAAQ,gBAgBV,CAAA;AAED,OAAO,EAAE,GAAG,EAAE,CAAA"}
|
package/dist/styles/Button.d.ts
CHANGED
|
@@ -1,29 +1,81 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { SharedStyleTypes } from './SharedStyles';
|
|
2
3
|
import { SizerTypes } from './Sizer';
|
|
3
4
|
export declare const sizes: {
|
|
4
5
|
tiny: {
|
|
5
|
-
'font-size': string;
|
|
6
6
|
'font-family': string;
|
|
7
|
+
'font-size': string;
|
|
8
|
+
'line-height': string;
|
|
7
9
|
padding: string;
|
|
10
|
+
iconOnlyPadding: string;
|
|
11
|
+
borderRadius: string;
|
|
12
|
+
iconSize: string;
|
|
8
13
|
};
|
|
9
14
|
small: {
|
|
10
15
|
'font-family': string;
|
|
16
|
+
'font-size': string;
|
|
17
|
+
'line-height': string;
|
|
18
|
+
padding: string;
|
|
19
|
+
iconOnlyPadding: string;
|
|
20
|
+
borderRadius: string;
|
|
21
|
+
iconSize: string;
|
|
22
|
+
};
|
|
23
|
+
medium: {
|
|
24
|
+
'font-family': string;
|
|
25
|
+
'font-size': string;
|
|
26
|
+
'line-height': string;
|
|
11
27
|
padding: string;
|
|
28
|
+
iconOnlyPadding: string;
|
|
29
|
+
borderRadius: string;
|
|
30
|
+
iconSize: string;
|
|
12
31
|
};
|
|
13
32
|
large: {
|
|
33
|
+
'font-family': string;
|
|
34
|
+
'font-size': string;
|
|
35
|
+
'line-height': string;
|
|
14
36
|
padding: string;
|
|
37
|
+
iconOnlyPadding: string;
|
|
38
|
+
borderRadius: string;
|
|
39
|
+
iconSize: string;
|
|
15
40
|
};
|
|
16
|
-
|
|
41
|
+
huge: {
|
|
42
|
+
'font-family': string;
|
|
43
|
+
'font-size': string;
|
|
44
|
+
'line-height': string;
|
|
17
45
|
padding: string;
|
|
46
|
+
iconOnlyPadding: string;
|
|
47
|
+
borderRadius: string;
|
|
48
|
+
iconSize: string;
|
|
18
49
|
};
|
|
19
50
|
};
|
|
20
51
|
export declare type TSize = keyof typeof sizes;
|
|
52
|
+
export declare type ButtonVariant = 'primary' | 'secondary' | 'cta' | 'error' | 'disabled' | 'text' | 'primary-light';
|
|
21
53
|
declare type ButtonProps = {
|
|
22
54
|
secondary?: boolean;
|
|
23
55
|
cta?: boolean;
|
|
24
56
|
size?: TSize;
|
|
57
|
+
variant?: ButtonVariant;
|
|
25
58
|
} & SharedStyleTypes & SizerTypes;
|
|
26
|
-
declare const Button: import("styled-components").StyledComponent<"button", any,
|
|
59
|
+
declare const Button: import("styled-components").StyledComponent<"button", any, {
|
|
60
|
+
secondary?: boolean | undefined;
|
|
61
|
+
cta?: boolean | undefined;
|
|
62
|
+
size?: "tiny" | "small" | "medium" | "large" | "huge" | undefined;
|
|
63
|
+
variant?: ButtonVariant | undefined;
|
|
64
|
+
} & SharedStyleTypes & SizerTypes, never>;
|
|
27
65
|
export declare const ButtonsGroup: import("styled-components").StyledComponent<"div", any, SharedStyleTypes & SizerTypes, never>;
|
|
66
|
+
declare type IconFuncProps = {
|
|
67
|
+
color: string;
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
};
|
|
70
|
+
export declare type TButtonIcon = ((props: IconFuncProps) => React.ReactElement);
|
|
71
|
+
export declare type IconButtonProps = React.PropsWithChildren<ButtonProps & {
|
|
72
|
+
Icon?: TButtonIcon | React.ReactElement<IconFuncProps>;
|
|
73
|
+
iconProps?: {
|
|
74
|
+
[key: string]: any;
|
|
75
|
+
};
|
|
76
|
+
iconPosition?: 'left' | 'right';
|
|
77
|
+
style?: React.CSSProperties;
|
|
78
|
+
}> & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
79
|
+
export declare function IconButton({ Icon, children, iconPosition, size, iconProps, ...props }: IconButtonProps): JSX.Element;
|
|
28
80
|
export { Button };
|
|
29
81
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAY,UAAU,EAAE,MAAM,SAAS,CAAC;AAuB/C,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDjB,CAAC;AACF,oBAAY,KAAK,GAAG,MAAM,OAAO,KAAK,CAAC;AAEvC,oBAAY,aAAa,GAAG,SAAS,GACjC,WAAW,GACX,KAAK,GACL,OAAO,GACP,UAAU,GACV,MAAM,GACN,eAAe,CAAA;AAKnB,aAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,OAAO,CAAC,EAAE,aAAa,CAAA;CACxB,GAAG,gBAAgB,GAAG,UAAU,CAAC;AA0JlC,QAAA,MAAM,MAAM;;;;;yCAqCX,CAAC;AAEF,eAAO,MAAM,YAAY,+FASxB,CAAC;AAEF,aAAK,aAAa,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAC;AAC3D,oBAAY,WAAW,GAAG,CAAC,CAAC,KAAK,EAAE,aAAa,KAAK,KAAK,CAAC,YAAY,CAAC,CAAC;AACzE,oBAAY,eAAe,GAAG,KAAK,CAAC,iBAAiB,CAAC,WAAW,GAAG;IAClE,IAAI,CAAC,EAAE,WAAW,GAAG,KAAK,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC;IACvD,SAAS,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,CAAC,GAAG,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AACnD,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,QAAQ,EACR,YAAmB,EACnB,IAAI,EACJ,SAAY,EACZ,GAAG,KAAK,EACT,EAAE,eAAe,eAqDjB;AAED,OAAO,EAAC,MAAM,EAAC,CAAC"}
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ReactDatePickerProps } from 'react-datepicker';
|
|
2
|
+
import { default as BaseDatePicker, ReactDatePickerProps } from 'react-datepicker';
|
|
3
3
|
import { InputProps } from './Input';
|
|
4
|
-
|
|
5
|
-
export declare const CustomDateInput: ({ error, noMargin, onClick, isClearable, ...props }: Pick<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "form" | "slot" | "style" | "title" | "pattern" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "name" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step"> & {
|
|
6
|
-
ref?: ((instance: HTMLInputElement | null) => void) | React.RefObject<HTMLInputElement> | null | undefined;
|
|
7
|
-
}, "ref" | "form" | "slot" | "style" | "title" | "pattern" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "name" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step"> & Partial<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "form" | "slot" | "style" | "title" | "pattern" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "name" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step"> & {
|
|
8
|
-
ref?: ((instance: HTMLInputElement | null) => void) | React.RefObject<HTMLInputElement> | null | undefined;
|
|
9
|
-
}, never>>, "ref" | "form" | "slot" | "style" | "title" | "pattern" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "name" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step"> & {
|
|
10
|
-
theme?: any;
|
|
11
|
-
} & {
|
|
4
|
+
export declare const CustomDateInput: React.ForwardRefExoticComponent<{
|
|
12
5
|
noMargin?: boolean | undefined;
|
|
13
6
|
error?: boolean | undefined;
|
|
14
|
-
isPercent?: boolean | undefined;
|
|
15
7
|
} & {
|
|
8
|
+
hasIcon?: boolean | undefined;
|
|
9
|
+
} & import("./SharedStyles").SharedStyleTypes & React.InputHTMLAttributes<HTMLInputElement> & {
|
|
16
10
|
isClearable?: boolean | undefined;
|
|
17
|
-
}
|
|
18
|
-
export declare
|
|
11
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
12
|
+
export declare type DatepickerPorps = Omit<ReactDatePickerProps, 'value'> & Omit<InputProps, 'value'> & {
|
|
19
13
|
value?: Date | null;
|
|
20
|
-
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const Datepicker: React.ForwardRefExoticComponent<Omit<ReactDatePickerProps, "value"> & Omit<InputProps, "value"> & {
|
|
17
|
+
value?: Date | null | undefined;
|
|
18
|
+
placeholder?: string | undefined;
|
|
19
|
+
} & React.RefAttributes<BaseDatePicker>>;
|
|
21
20
|
//# sourceMappingURL=Datepicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Datepicker.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Datepicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,
|
|
1
|
+
{"version":3,"file":"Datepicker.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Datepicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACnF,OAAO,EAAS,UAAU,EAAE,MAAM,SAAS,CAAC;AAI5C,eAAO,MAAM,eAAe;;;;;;;0CAmB1B,CAAC;AAEH,oBAAY,eAAe,GAAG,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,GAC7D,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,GACzB;IACA,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AACJ,eAAO,MAAM,UAAU;;;wCAkDrB,CAAA"}
|
|
@@ -6,9 +6,10 @@ export declare const StyledDropArea: import("styled-components").StyledComponent
|
|
|
6
6
|
isDragReject?: boolean | undefined;
|
|
7
7
|
isDragActive?: boolean | undefined;
|
|
8
8
|
} & SharedStyleTypes, never>;
|
|
9
|
-
export declare
|
|
9
|
+
export declare type DropAreaProps = React.PropsWithChildren<{
|
|
10
10
|
placeholder?: string | React.ReactNode;
|
|
11
|
-
} & SharedStyleTypes
|
|
11
|
+
} & SharedStyleTypes>;
|
|
12
|
+
export declare const DropArea: ({ children, placeholder, ...props }: DropAreaProps) => JSX.Element;
|
|
12
13
|
export declare type DropzoneTypes = {
|
|
13
14
|
placeholder?: string | React.ReactNode;
|
|
14
15
|
showDroppedFiles?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropArea.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/DropArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAe,eAAe,EAAa,MAAM,gBAAgB,CAAC;AAGzE,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEhE,eAAO,MAAM,cAAc;;;;4BAe1B,CAAC;
|
|
1
|
+
{"version":3,"file":"DropArea.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/DropArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAe,eAAe,EAAa,MAAM,gBAAgB,CAAC;AAGzE,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEhE,eAAO,MAAM,cAAc;;;;4BAe1B,CAAC;AAiDF,oBAAY,aAAa,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAClD,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;CACxC,GAAG,gBAAgB,CAAC,CAAA;AACrB,eAAO,MAAM,QAAQ,wCAIlB,aAAa,gBAIf,CAAA;AAgBD,oBAAY,aAAa,GAAG;IAC1B,WAAY,CAAC,EAAE,MAAM,GAAC,KAAK,CAAC,SAAS,CAAC;IACtC,gBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,GAAG,eAAe,CAAA;AAEnB,wBAAgB,SAAS,CAAC,EACxB,WAAuB,EACvB,MAAM,EACN,gBAAsB,EACtB,GAAG,KAAK,EACT,EAAE,aAAa,eA4Bf;AAED,wBAAgB,iBAAiB,CAAC,EAChC,WAAuB,EACvB,MAAM,EACN,MAAM,EACN,GAAG,KAAK,EACT,EAAE,aAAa,eA4Cf"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
+
import { CSSObject } from 'styled-components';
|
|
2
3
|
import { TSize } from './Button';
|
|
3
4
|
export declare const StyledDropdown: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
5
|
declare type DropdownContentProps = {
|
|
@@ -22,7 +23,8 @@ export declare type DropdownProps = {
|
|
|
22
23
|
openMenu?: boolean;
|
|
23
24
|
mouseLeaveCallback?: any;
|
|
24
25
|
size?: TSize;
|
|
26
|
+
style?: CSSObject;
|
|
25
27
|
};
|
|
26
|
-
export declare const Dropdown: ({ items, children, underlined, primary, text, icon, openMenu, mouseLeaveCallback, size, ...props }: React.PropsWithChildren<DropdownProps & DropdownContentProps>) => JSX.Element;
|
|
28
|
+
export declare const Dropdown: ({ items, children, underlined, primary, text, icon, openMenu, mouseLeaveCallback, size, style, ...props }: React.PropsWithChildren<DropdownProps & DropdownContentProps>) => JSX.Element;
|
|
27
29
|
export {};
|
|
28
30
|
//# sourceMappingURL=Dropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AACtE,OAAe,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAErD,OAAO,EAAU,KAAK,EAAE,MAAM,UAAU,CAAC;AAIzC,eAAO,MAAM,cAAc,oEAK1B,CAAC;AAEF,aAAK,oBAAoB,GAAG;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,eAAO,MAAM,YAAY,sFAmBxB,CAAC;AAEF,eAAO,MAAM,eAAe,sFAkC3B,CAAC;AAEF,oBAAY,aAAa,GAAG;IACxB,OAAO,CAAC,EAAE,QAAQ,GAAC,YAAY,GAAC,IAAI,CAAC;IACrC,KAAK,CAAC,EAAE;QACJ,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;QACnB,UAAU,CAAC,EAAC,OAAO,CAAC;KACvB,CAAC;IACF,OAAO,EAAE,SAAS,GAAC,MAAM,GAAC,GAAG,CAAC;CACjC,CAAC;AACF,oBAAY,aAAa,GAAG;IACxB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAC7B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,GAAG,CAAC;IACzB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,KAAK,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,QAAQ,8GAYlB,MAAM,iBAAiB,CAAC,aAAa,GAAG,oBAAoB,CAAC,gBA+D/D,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
2
|
declare type StateType = {
|
|
3
3
|
hasError: boolean;
|
|
4
4
|
};
|
|
5
5
|
export declare class ErrorBoundary extends Component<object, StateType> {
|
|
6
6
|
constructor(props: StateType);
|
|
7
7
|
componentDidCatch(error: Error | any, info: string | any): void;
|
|
8
|
-
render():
|
|
8
|
+
render(): React.ReactNode;
|
|
9
9
|
}
|
|
10
10
|
export default ErrorBoundary;
|
|
11
11
|
//# sourceMappingURL=ErrorBoundary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorBoundary.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/ErrorBoundary.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/ErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AA6DxC,aAAK,SAAS,GAAG;IAAE,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAC;AAEvC,qBAAa,aAAc,SAAQ,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC;gBACjD,KAAK,EAAE,SAAS;IAK5B,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,GAAG;IAKxD,MAAM;CAiBP;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Feed.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Feed.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGhE,eAAO,MAAM,SAAS,UAAW,
|
|
1
|
+
{"version":3,"file":"Feed.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Feed.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGhE,eAAO,MAAM,SAAS,UAAW,MAAM,iBAAiB,CAAC,EAAE,CAAC,gBAI3D,CAAA;AAYD,eAAO,MAAM,QAAQ,UAAW,MAAM,iBAAiB,CAAC;IAAC,MAAM,EAAE,GAAG,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,SAAS,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,SAAS,EAAE,CAAA;CAAC,GAAC,gBAAgB,CAAC,gBAmB3K,CAAA"}
|
|
@@ -10,7 +10,15 @@ export declare type RowPropTypes = {
|
|
|
10
10
|
end?: boolean;
|
|
11
11
|
middle?: boolean;
|
|
12
12
|
} & SharedStyleTypes;
|
|
13
|
-
export declare const Row: import("styled-components").StyledComponent<"div", any,
|
|
13
|
+
export declare const Row: import("styled-components").StyledComponent<"div", any, {
|
|
14
|
+
justify?: string | undefined;
|
|
15
|
+
wrap?: string | undefined;
|
|
16
|
+
align?: string | undefined;
|
|
17
|
+
padded?: boolean | undefined;
|
|
18
|
+
start?: boolean | undefined;
|
|
19
|
+
end?: boolean | undefined;
|
|
20
|
+
middle?: boolean | undefined;
|
|
21
|
+
} & SharedStyleTypes, never>;
|
|
14
22
|
export declare type ColPropTypes = SizerTypes & SharedStyleTypes;
|
|
15
|
-
export declare const Col: import("styled-components").StyledComponent<"div", any,
|
|
23
|
+
export declare const Col: import("styled-components").StyledComponent<"div", any, SizerTypes & SharedStyleTypes, never>;
|
|
16
24
|
//# sourceMappingURL=FlexboxGrid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlexboxGrid.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/FlexboxGrid.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,UAAU,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAE/D,eAAO,MAAM,IAAI,kFAEhB,CAAC;AAEF,oBAAY,YAAY,GAAG;IACvB,OAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,gBAAgB,CAAC;AAErB,eAAO,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"FlexboxGrid.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/FlexboxGrid.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,UAAU,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAE/D,eAAO,MAAM,IAAI,kFAEhB,CAAC;AAEF,oBAAY,YAAY,GAAG;IACvB,OAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,gBAAgB,CAAC;AAErB,eAAO,MAAM,GAAG;;;;;;;;4BAef,CAAC;AAEF,oBAAY,YAAY,GAAG,UAAU,GAAG,gBAAgB,CAAC;AAEzD,eAAO,MAAM,GAAG,+FASf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeadlessTable.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/HeadlessTable.tsx"],"names":[],"mappings":"AACA,OAAO,KAEN,MAAM,OAAO,CAAC;AASf,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAoK/D,aAAK,kBAAkB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAChD,OAAO,EAAE,GAAG,CAAC;IACb,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,WAAW,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,OAAO,CAAA;KAAE,CAAC;IAC5C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,kBAAkB,CAAC,EAAE,GAAG,CAAC;IACzB,sBAAsB,CAAC,EAAE,GAAG,CAAC;IAC7B,eAAe,CAAC,EAAC,GAAG,CAAC;IACrB,gBAAgB,CAAC,EAAC,GAAG,CAAC;IACtB,qBAAqB,CAAC,EAAE,GAAG,CAAC;IAC5B,mBAAmB,CAAC,EAAE,GAAG,CAAC;IAC1B,oBAAoB,CAAC,EAAE,GAAG,CAAC;IAC3B,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,GAAG,gBAAgB,CAAC,CAAC;AA+ItB,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,eAAmB,EAAE,gBAAkB,EAAE,mBAAqB,EAAE,uBAAyB,EACjI,eAAe,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,aAAa,EACnH,mBAAmB,EAAE,oBAAoB,EAAE,SAAS,EAAE,UAAe,EACtE,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"HeadlessTable.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/HeadlessTable.tsx"],"names":[],"mappings":"AACA,OAAO,KAEN,MAAM,OAAO,CAAC;AASf,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAoK/D,aAAK,kBAAkB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAChD,OAAO,EAAE,GAAG,CAAC;IACb,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,WAAW,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,OAAO,CAAA;KAAE,CAAC;IAC5C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,kBAAkB,CAAC,EAAE,GAAG,CAAC;IACzB,sBAAsB,CAAC,EAAE,GAAG,CAAC;IAC7B,eAAe,CAAC,EAAC,GAAG,CAAC;IACrB,gBAAgB,CAAC,EAAC,GAAG,CAAC;IACtB,qBAAqB,CAAC,EAAE,GAAG,CAAC;IAC5B,mBAAmB,CAAC,EAAE,GAAG,CAAC;IAC1B,oBAAoB,CAAC,EAAE,GAAG,CAAC;IAC3B,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,GAAG,gBAAgB,CAAC,CAAC;AA+ItB,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,eAAmB,EAAE,gBAAkB,EAAE,mBAAqB,EAAE,uBAAyB,EACjI,eAAe,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,aAAa,EACnH,mBAAmB,EAAE,oBAAoB,EAAE,SAAS,EAAE,UAAe,EACtE,EAAE,kBAAkB,eA+ZpB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TButtonIcon } from './Button';
|
|
3
|
+
export declare const IconContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const IconGroup: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const IconBox: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const IconLabel: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
7
|
+
declare type ShowcaseProps = {
|
|
8
|
+
name: string;
|
|
9
|
+
size?: string;
|
|
10
|
+
iconColor?: string;
|
|
11
|
+
iconProps?: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
style?: React.CSSProperties;
|
|
15
|
+
};
|
|
16
|
+
declare type IconShowcaseProps = ShowcaseProps & {
|
|
17
|
+
Icon: TButtonIcon;
|
|
18
|
+
};
|
|
19
|
+
export declare function IconShowcase({ Icon, name, iconColor, iconProps, size, ...props }: IconShowcaseProps): JSX.Element;
|
|
20
|
+
declare type IconsShowcaseProps = ShowcaseProps & {
|
|
21
|
+
Icons: React.ReactElement[];
|
|
22
|
+
};
|
|
23
|
+
export declare function IconsShowcase({ Icons, name, iconColor, iconProps, size }: IconsShowcaseProps): JSX.Element;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=IconShowcase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconShowcase.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/IconShowcase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAC,WAAW,EAAC,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,aAAa,oEAQzB,CAAC;AAEF,eAAO,MAAM,SAAS,oEAOrB,CAAC;AAEF,eAAO,MAAM,OAAO,oEAKnB,CAAC;AAEF,eAAO,MAAM,SAAS,kEAOrB,CAAC;AAIF,aAAK,aAAa,GAAE;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,CAAC;IACjC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC/B,CAAC;AAEF,aAAK,iBAAiB,GAAG,aAAa,GAAG;IACrC,IAAI,EAAE,WAAW,CAAC;CACrB,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC7B,IAAI,EACJ,IAAI,EACJ,SAAuB,EACvB,SAAS,EACT,IAAa,EACb,GAAG,KAAK,EACP,EAAE,iBAAiB,eAUnB;AAGD,aAAK,kBAAkB,GAAG,aAAa,GAAG;IACxC,KAAK,EAAE,KAAK,CAAC,YAAY,EAAE,CAAC;CAC7B,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,IAAI,EACJ,SAAuB,EACvB,SAAS,EACT,IAAa,EACd,EAAE,kBAAkB,eAiBpB"}
|
package/dist/styles/Img.d.ts
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
export class Img extends React.Component<any, any, any> {
|
|
2
2
|
constructor(props: any);
|
|
3
|
+
state: {
|
|
4
|
+
src: any;
|
|
5
|
+
attempts: number;
|
|
6
|
+
};
|
|
3
7
|
onError(): void;
|
|
4
|
-
|
|
8
|
+
UNSAFE_componentWillReceiveProps(nextProps: any): void;
|
|
9
|
+
componentWillUnmount(): void;
|
|
10
|
+
retryId: NodeJS.Timeout | undefined;
|
|
11
|
+
render(): JSX.Element;
|
|
5
12
|
}
|
|
6
13
|
import React from "react";
|
|
7
14
|
//# sourceMappingURL=Img.d.ts.map
|
package/dist/styles/Img.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Img.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Img.js"],"names":[],"mappings":"AAKA;IACE,wBAOC;
|
|
1
|
+
{"version":3,"file":"Img.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Img.js"],"names":[],"mappings":"AAKA;IACE,wBAOC;IALC;;;MAGC;IAgBH,gBAqBC;IAlCD,uDAOC;IACD,6BAIC;IAiBC,oCAI4E;IAE9E,sBAQC;CACF"}
|