@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.
Files changed (176) hide show
  1. package/dist/index.d.ts +2620 -0
  2. package/dist/index.es.js +3165 -4803
  3. package/dist/index.es.js.map +1 -1
  4. package/dist/index.js +3229 -4837
  5. package/dist/index.js.map +1 -1
  6. package/dist/styles/Accordion.d.ts.map +1 -1
  7. package/dist/styles/Artwork.d.ts +1 -1
  8. package/dist/styles/Artwork.d.ts.map +1 -1
  9. package/dist/styles/Avatar.d.ts +62 -2
  10. package/dist/styles/Avatar.d.ts.map +1 -1
  11. package/dist/styles/Box.d.ts +3 -2
  12. package/dist/styles/Box.d.ts.map +1 -1
  13. package/dist/styles/Button.d.ts +55 -3
  14. package/dist/styles/Button.d.ts.map +1 -1
  15. package/dist/styles/Datepicker.d.ts +12 -13
  16. package/dist/styles/Datepicker.d.ts.map +1 -1
  17. package/dist/styles/DropArea.d.ts +3 -2
  18. package/dist/styles/DropArea.d.ts.map +1 -1
  19. package/dist/styles/Dropdown.d.ts +3 -1
  20. package/dist/styles/Dropdown.d.ts.map +1 -1
  21. package/dist/styles/ErrorBoundary.d.ts +2 -2
  22. package/dist/styles/ErrorBoundary.d.ts.map +1 -1
  23. package/dist/styles/Feed.d.ts.map +1 -1
  24. package/dist/styles/FlexboxGrid.d.ts +10 -2
  25. package/dist/styles/FlexboxGrid.d.ts.map +1 -1
  26. package/dist/styles/HeadlessTable.d.ts.map +1 -1
  27. package/dist/styles/IconShowcase.d.ts +25 -0
  28. package/dist/styles/IconShowcase.d.ts.map +1 -0
  29. package/dist/styles/Img.d.ts +8 -1
  30. package/dist/styles/Img.d.ts.map +1 -1
  31. package/dist/styles/Input.d.ts +34 -35
  32. package/dist/styles/Input.d.ts.map +1 -1
  33. package/dist/styles/MultiProgress.d.ts +5 -2
  34. package/dist/styles/MultiProgress.d.ts.map +1 -1
  35. package/dist/styles/Product.d.ts.map +1 -1
  36. package/dist/styles/Select.d.ts +27 -39
  37. package/dist/styles/Select.d.ts.map +1 -1
  38. package/dist/styles/SharedStyles.d.ts +0 -1
  39. package/dist/styles/SharedStyles.d.ts.map +1 -1
  40. package/dist/styles/SidePanel.d.ts.map +1 -1
  41. package/dist/styles/Sizer.d.ts +18 -14
  42. package/dist/styles/Sizer.d.ts.map +1 -1
  43. package/dist/styles/Spinner.d.ts.map +1 -1
  44. package/dist/styles/StateDropdown.d.ts +18 -22
  45. package/dist/styles/StateDropdown.d.ts.map +1 -1
  46. package/dist/styles/Table.d.ts +4 -4
  47. package/dist/styles/Table.d.ts.map +1 -1
  48. package/dist/styles/Tabs.d.ts +8 -7
  49. package/dist/styles/Tabs.d.ts.map +1 -1
  50. package/dist/styles/Task.d.ts +10 -3
  51. package/dist/styles/Task.d.ts.map +1 -1
  52. package/dist/styles/Text.d.ts +17 -14
  53. package/dist/styles/Text.d.ts.map +1 -1
  54. package/dist/styles/Textarea.d.ts +11 -12
  55. package/dist/styles/Textarea.d.ts.map +1 -1
  56. package/dist/styles/Theme.d.ts +375 -378
  57. package/dist/styles/Theme.d.ts.map +1 -1
  58. package/dist/styles/Thermometer.d.ts +13 -0
  59. package/dist/styles/Thermometer.d.ts.map +1 -0
  60. package/dist/styles/Toggle.d.ts +4 -2
  61. package/dist/styles/Toggle.d.ts.map +1 -1
  62. package/dist/styles/calendar/Calendar.d.ts.map +1 -1
  63. package/dist/styles/calendar/CalendarDayBody.d.ts +1 -1
  64. package/dist/styles/calendar/CalendarDayBody.d.ts.map +1 -1
  65. package/dist/styles/calendar/DaysHeaderWrapper.d.ts +9 -1
  66. package/dist/styles/calendar/DaysHeaderWrapper.d.ts.map +1 -1
  67. package/dist/styles/calendar/DefaultCalendarHeader.d.ts.map +1 -1
  68. package/dist/styles/calendar/DraggableCalendarFooterTasks.d.ts.map +1 -1
  69. package/dist/styles/calendar/DraggableTasksCalendar.d.ts +7 -4
  70. package/dist/styles/calendar/DraggableTasksCalendar.d.ts.map +1 -1
  71. package/dist/styles/calendar/HeaderWrapper.d.ts +9 -1
  72. package/dist/styles/calendar/HeaderWrapper.d.ts.map +1 -1
  73. package/dist/styles/calendar/StyledDayText.d.ts +2 -1
  74. package/dist/styles/calendar/StyledDayText.d.ts.map +1 -1
  75. package/dist/styles/calendar/TasksCalendar.d.ts +7 -3
  76. package/dist/styles/calendar/TasksCalendar.d.ts.map +1 -1
  77. package/dist/styles/calendar/TasksCalendarFooter.d.ts.map +1 -1
  78. package/dist/styles/calendar/TasksCalendarHeader.d.ts +9 -3
  79. package/dist/styles/calendar/TasksCalendarHeader.d.ts.map +1 -1
  80. package/dist/styles/calendar/styles.d.ts +8 -14
  81. package/dist/styles/calendar/styles.d.ts.map +1 -1
  82. package/dist/styles/calendar/types.d.ts +8 -0
  83. package/dist/styles/calendar/types.d.ts.map +1 -1
  84. package/dist/styles/colors.d.ts +302 -170
  85. package/dist/styles/colors.d.ts.map +1 -1
  86. package/dist/styles/datepickerStyles.d.ts +3 -0
  87. package/dist/styles/datepickerStyles.d.ts.map +1 -0
  88. package/dist/styles/globalStyles.d.ts +5 -1
  89. package/dist/styles/globalStyles.d.ts.map +1 -1
  90. package/dist/styles/hooks/useCalendar.d.ts +4 -0
  91. package/dist/styles/hooks/useCalendar.d.ts.map +1 -1
  92. package/dist/styles/icons/AddIcon.d.ts +6 -0
  93. package/dist/styles/icons/AddIcon.d.ts.map +1 -0
  94. package/dist/styles/icons/ArrowIcon.d.ts +9 -0
  95. package/dist/styles/icons/ArrowIcon.d.ts.map +1 -0
  96. package/dist/styles/icons/BotIcon.d.ts +6 -0
  97. package/dist/styles/icons/BotIcon.d.ts.map +1 -0
  98. package/dist/styles/icons/Calendar2Icon.d.ts +9 -0
  99. package/dist/styles/icons/Calendar2Icon.d.ts.map +1 -0
  100. package/dist/styles/icons/CalendarIcon.d.ts +7 -7
  101. package/dist/styles/icons/CalendarIcon.d.ts.map +1 -1
  102. package/dist/styles/icons/CheckboxIcon.d.ts +8 -0
  103. package/dist/styles/icons/CheckboxIcon.d.ts.map +1 -0
  104. package/dist/styles/icons/CheckmarkOnlyIcon.d.ts +6 -0
  105. package/dist/styles/icons/CheckmarkOnlyIcon.d.ts.map +1 -0
  106. package/dist/styles/icons/ChevronIcon.d.ts +9 -0
  107. package/dist/styles/icons/ChevronIcon.d.ts.map +1 -0
  108. package/dist/styles/icons/ClipboardIcon.d.ts +6 -0
  109. package/dist/styles/icons/ClipboardIcon.d.ts.map +1 -0
  110. package/dist/styles/icons/ClockIcon.d.ts +6 -0
  111. package/dist/styles/icons/ClockIcon.d.ts.map +1 -0
  112. package/dist/styles/icons/CrossIcon.d.ts +6 -0
  113. package/dist/styles/icons/CrossIcon.d.ts.map +1 -0
  114. package/dist/styles/icons/DollarIcon.d.ts +6 -0
  115. package/dist/styles/icons/DollarIcon.d.ts.map +1 -0
  116. package/dist/styles/icons/DownloadIcon.d.ts +1 -1
  117. package/dist/styles/icons/EstimateCircleIcon.d.ts +10 -0
  118. package/dist/styles/icons/EstimateCircleIcon.d.ts.map +1 -0
  119. package/dist/styles/icons/FilledChevronIcon.d.ts +9 -0
  120. package/dist/styles/icons/FilledChevronIcon.d.ts.map +1 -0
  121. package/dist/styles/icons/FolderIcon.d.ts +6 -0
  122. package/dist/styles/icons/FolderIcon.d.ts.map +1 -0
  123. package/dist/styles/icons/GalleryIcon.d.ts +6 -0
  124. package/dist/styles/icons/GalleryIcon.d.ts.map +1 -0
  125. package/dist/styles/icons/GearIcon.d.ts +7 -9
  126. package/dist/styles/icons/GearIcon.d.ts.map +1 -1
  127. package/dist/styles/icons/ListIcon.d.ts +6 -0
  128. package/dist/styles/icons/ListIcon.d.ts.map +1 -0
  129. package/dist/styles/icons/Loading.d.ts +1 -0
  130. package/dist/styles/icons/Loading.d.ts.map +1 -1
  131. package/dist/styles/icons/MarketingStatusIcon.d.ts +8 -0
  132. package/dist/styles/icons/MarketingStatusIcon.d.ts.map +1 -0
  133. package/dist/styles/icons/NavManagementIcon.d.ts.map +1 -1
  134. package/dist/styles/icons/OpportunityCircleIcon.d.ts +10 -0
  135. package/dist/styles/icons/OpportunityCircleIcon.d.ts.map +1 -0
  136. package/dist/styles/icons/PresentationCircleIcon.d.ts +10 -0
  137. package/dist/styles/icons/PresentationCircleIcon.d.ts.map +1 -0
  138. package/dist/styles/icons/PromostandardsIcon.d.ts +8 -0
  139. package/dist/styles/icons/PromostandardsIcon.d.ts.map +1 -0
  140. package/dist/styles/icons/RadioIcon.d.ts +8 -0
  141. package/dist/styles/icons/RadioIcon.d.ts.map +1 -0
  142. package/dist/styles/icons/ReceiptLongIcon.d.ts +8 -0
  143. package/dist/styles/icons/ReceiptLongIcon.d.ts.map +1 -0
  144. package/dist/styles/icons/SalesOrderCircleIcon.d.ts +10 -0
  145. package/dist/styles/icons/SalesOrderCircleIcon.d.ts.map +1 -0
  146. package/dist/styles/icons/SearchIcon.d.ts +6 -0
  147. package/dist/styles/icons/SearchIcon.d.ts.map +1 -0
  148. package/dist/styles/icons/SubtractIcon.d.ts +6 -0
  149. package/dist/styles/icons/SubtractIcon.d.ts.map +1 -0
  150. package/dist/styles/icons/SvgIcon.d.ts +45 -0
  151. package/dist/styles/icons/SvgIcon.d.ts.map +1 -0
  152. package/dist/styles/icons/TilesIcon.d.ts +8 -0
  153. package/dist/styles/icons/TilesIcon.d.ts.map +1 -0
  154. package/dist/styles/icons/UserIcon.d.ts +6 -0
  155. package/dist/styles/icons/UserIcon.d.ts.map +1 -0
  156. package/dist/styles/icons/UsersIcon.d.ts +6 -0
  157. package/dist/styles/icons/UsersIcon.d.ts.map +1 -0
  158. package/dist/styles/icons/index.d.ts +31 -7
  159. package/dist/styles/icons/index.d.ts.map +1 -1
  160. package/dist/styles/index.d.ts +2 -0
  161. package/dist/styles/index.d.ts.map +1 -1
  162. package/dist/styles/tables/SimpleWindowedTable.d.ts.map +1 -1
  163. package/dist/styles/tables/scrollbarWidth.d.ts.map +1 -1
  164. package/dist/utils/sizes.d.ts +2 -1
  165. package/dist/utils/sizes.d.ts.map +1 -1
  166. package/package.json +6 -2
  167. package/dist/styles/icons/DownArrowIcon.d.ts +0 -10
  168. package/dist/styles/icons/DownArrowIcon.d.ts.map +0 -1
  169. package/dist/styles/icons/NextPrevIcon.d.ts +0 -11
  170. package/dist/styles/icons/NextPrevIcon.d.ts.map +0 -1
  171. package/dist/styles/icons/UpArrowIcon.d.ts +0 -10
  172. package/dist/styles/icons/UpArrowIcon.d.ts.map +0 -1
  173. package/dist/styles/icons/UpDownArrowsIcon.d.ts +0 -10
  174. package/dist/styles/icons/UpDownArrowsIcon.d.ts.map +0 -1
  175. package/dist/styles/icons/WarningIcon.d.ts +0 -7
  176. 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":"AAGA,eAAO,MAAM,SAAS,oEAErB,CAAC"}
1
+ {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Accordion.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,oEAErB,CAAC"}
@@ -9,7 +9,7 @@ export declare type ArtworkProps = {
9
9
  date?: string;
10
10
  edit?: boolean;
11
11
  noTruncate?: boolean;
12
- onClick?: Function | VoidFunction;
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,CAA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AC,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"}
@@ -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: string;
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?: string;
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;AAOhE,aAAK,YAAY,GAAG;IAAC,IAAI,EAAE,MAAM,CAAA;CAAC,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,gBAAgB,CAAC;AAqB7F,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,MAAM,CAAA;CAAC,CAK3D,CAAA;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
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"}
@@ -1,10 +1,11 @@
1
1
  import React from 'react';
2
2
  import { SharedStyleTypes } from './SharedStyles';
3
- declare const Box: (props: React.PropsWithChildren<{
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>) => JSX.Element;
8
+ } & SharedStyleTypes>;
9
+ declare const Box: ({ title, controls, children, ...props }: BoxProps) => JSX.Element;
9
10
  export { Box };
10
11
  //# sourceMappingURL=Box.d.ts.map
@@ -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;AAWhE,QAAA,MAAM,GAAG,UAAW,KAAK,CAAC,iBAAiB,CAAC;IAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAM,OAAO,CAAC;IACrB,KAAK,CAAC,EAAO,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACtC,QAAQ,CAAC,EAAI,KAAK,CAAC,SAAS,CAAA;CAAE,GAAG,gBAAgB,CAAC,gBAgB9F,CAAA;AAED,OAAO,EAAE,GAAG,EAAE,CAAA"}
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"}
@@ -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
- xl: {
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, ButtonProps, never>;
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":"AAGA,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAY,UAAU,EAAE,MAAM,SAAS,CAAC;AAsB/C,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;CAgBjB,CAAC;AACF,oBAAY,KAAK,GAAG,MAAM,OAAO,KAAK,CAAC;AAEvC,aAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IAAC,GAAG,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,KAAK,CAAA;CACjD,GAAG,gBAAgB,GAAG,UAAU,CAAC;AAWlC,QAAA,MAAM,MAAM,gFAiCX,CAAC;AAEF,eAAO,MAAM,YAAY,+FAUxB,CAAC;AAEF,OAAO,EAAC,MAAM,EAAC,CAAC"}
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
- import "react-datepicker/dist/react-datepicker.css";
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
- }) => JSX.Element;
18
- export declare function Datepicker({ error, value, customInput, locale, todayButton, placeholder, dateFormat, isClearable, peekNextMonth, showMonthDropdown, showYearDropdown, dropdownMode, nextMonthButtonLabel, nextYearButtonLabel, previousMonthButtonLabel, previousYearButtonLabel, ...props }: ReactDatePickerProps & InputProps & {
11
+ } & React.RefAttributes<HTMLInputElement>>;
12
+ export declare type DatepickerPorps = Omit<ReactDatePickerProps, 'value'> & Omit<InputProps, 'value'> & {
19
13
  value?: Date | null;
20
- }): JSX.Element;
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,OAAmB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAS,UAAU,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,4CAA4C,CAAC;AAGpD,eAAO,MAAM,eAAe;;;;;;;;;;;;iBAiB3B,CAAA;AAED,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,KAAK,EACL,WAAW,EACX,MAAW,EACX,WAAmB,EACnB,WAAwB,EACxB,UAAuB,EACvB,WAAiB,EACjB,aAAkB,EAClB,iBAAsB,EACtB,gBAAqB,EACrB,YAAqB,EACrB,oBAAuB,EACvB,mBAAsB,EACtB,wBAA2B,EAC3B,uBAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,oBAAoB,GAAG,UAAU,GAAG;IAAE,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;CAAE,eAsB7D"}
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 const DropArea: (props: React.PropsWithChildren<{
9
+ export declare type DropAreaProps = React.PropsWithChildren<{
10
10
  placeholder?: string | React.ReactNode;
11
- } & SharedStyleTypes>) => JSX.Element;
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;AAkDF,eAAO,MAAM,QAAQ,UAAW,KAAK,CAAC,iBAAiB,CAAC;IAAE,WAAW,CAAC,EAAC,MAAM,GAAC,KAAK,CAAC,SAAS,CAAA;CAAC,GAAG,gBAAgB,CAAC,gBAIjH,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
+ {"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"],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,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(): {} | null | undefined;
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,OAAc,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
+ {"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,KAAK,CAAC,iBAAiB,CAAC,EAAE,CAAC,gBAI3D,CAAA;AAYD,eAAO,MAAM,QAAQ,UAAW,KAAK,CAAC,iBAAiB,CAAC;IAAC,MAAM,EAAE,GAAG,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,CAAA;CAAC,GAAC,gBAAgB,CAAC,gBAmB3K,CAAA"}
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, RowPropTypes, never>;
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, ColPropTypes, never>;
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,8EAef,CAAC;AAEF,oBAAY,YAAY,GAAG,UAAU,GAAG,gBAAgB,CAAC;AAEzD,eAAO,MAAM,GAAG,8EASf,CAAC"}
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,CAA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,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"}
@@ -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
- retryId: number | undefined;
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
@@ -1 +1 @@
1
- {"version":3,"file":"Img.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Img.js"],"names":[],"mappings":"AAKA;IACE,wBAOC;IAcD,gBAqBC;IALC,4BAI4E;CAW/E"}
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"}