@commonsku/styles 1.13.4 → 1.13.7

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 (127) hide show
  1. package/dist/index.es.js +1667 -202
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.js +1695 -201
  4. package/dist/index.js.map +1 -1
  5. package/dist/styles/Artwork.d.ts +1 -1
  6. package/dist/styles/Artwork.d.ts.map +1 -1
  7. package/dist/styles/Box.d.ts +3 -2
  8. package/dist/styles/Box.d.ts.map +1 -1
  9. package/dist/styles/Button.d.ts +19 -2
  10. package/dist/styles/Button.d.ts.map +1 -1
  11. package/dist/styles/Datepicker.d.ts +6 -14
  12. package/dist/styles/Datepicker.d.ts.map +1 -1
  13. package/dist/styles/DropArea.d.ts +3 -2
  14. package/dist/styles/DropArea.d.ts.map +1 -1
  15. package/dist/styles/Dropdown.d.ts +18 -13
  16. package/dist/styles/Dropdown.d.ts.map +1 -1
  17. package/dist/styles/Input.d.ts +58 -27
  18. package/dist/styles/Input.d.ts.map +1 -1
  19. package/dist/styles/MultiProgress.d.ts +5 -2
  20. package/dist/styles/MultiProgress.d.ts.map +1 -1
  21. package/dist/styles/Select.d.ts +8 -10
  22. package/dist/styles/Select.d.ts.map +1 -1
  23. package/dist/styles/SharedStyles.d.ts +0 -1
  24. package/dist/styles/SharedStyles.d.ts.map +1 -1
  25. package/dist/styles/Sizer.d.ts +18 -14
  26. package/dist/styles/Sizer.d.ts.map +1 -1
  27. package/dist/styles/StateDropdown.d.ts +18 -22
  28. package/dist/styles/StateDropdown.d.ts.map +1 -1
  29. package/dist/styles/Table.d.ts +4 -4
  30. package/dist/styles/Table.d.ts.map +1 -1
  31. package/dist/styles/Tabs.d.ts +8 -7
  32. package/dist/styles/Tabs.d.ts.map +1 -1
  33. package/dist/styles/Task.d.ts +9 -3
  34. package/dist/styles/Task.d.ts.map +1 -1
  35. package/dist/styles/Text.d.ts +10 -7
  36. package/dist/styles/Text.d.ts.map +1 -1
  37. package/dist/styles/Textarea.d.ts +17 -7
  38. package/dist/styles/Textarea.d.ts.map +1 -1
  39. package/dist/styles/Theme.d.ts +349 -28
  40. package/dist/styles/Theme.d.ts.map +1 -1
  41. package/dist/styles/Thermometer.d.ts +10 -0
  42. package/dist/styles/Thermometer.d.ts.map +1 -0
  43. package/dist/styles/Toggle.d.ts +4 -2
  44. package/dist/styles/Toggle.d.ts.map +1 -1
  45. package/dist/styles/calendar/CalendarDayBody.d.ts +1 -1
  46. package/dist/styles/calendar/CalendarDayBody.d.ts.map +1 -1
  47. package/dist/styles/calendar/DraggableTasksCalendar.d.ts +7 -4
  48. package/dist/styles/calendar/DraggableTasksCalendar.d.ts.map +1 -1
  49. package/dist/styles/calendar/DroppableFooter.d.ts.map +1 -1
  50. package/dist/styles/calendar/StyledDayText.d.ts +2 -1
  51. package/dist/styles/calendar/StyledDayText.d.ts.map +1 -1
  52. package/dist/styles/calendar/TasksCalendar.d.ts +6 -3
  53. package/dist/styles/calendar/TasksCalendar.d.ts.map +1 -1
  54. package/dist/styles/calendar/TasksCalendarHeader.d.ts +9 -3
  55. package/dist/styles/calendar/TasksCalendarHeader.d.ts.map +1 -1
  56. package/dist/styles/calendar/types.d.ts +8 -0
  57. package/dist/styles/calendar/types.d.ts.map +1 -1
  58. package/dist/styles/colors.d.ts +495 -0
  59. package/dist/styles/colors.d.ts.map +1 -0
  60. package/dist/styles/globalStyles.d.ts.map +1 -1
  61. package/dist/styles/hooks/useCalendar.d.ts +4 -0
  62. package/dist/styles/hooks/useCalendar.d.ts.map +1 -1
  63. package/dist/styles/icons/ArrowLeftIcon.d.ts +8 -0
  64. package/dist/styles/icons/ArrowLeftIcon.d.ts.map +1 -0
  65. package/dist/styles/icons/ArrowRightIcon.d.ts +8 -0
  66. package/dist/styles/icons/ArrowRightIcon.d.ts.map +1 -0
  67. package/dist/styles/icons/BotIcon.d.ts +8 -0
  68. package/dist/styles/icons/BotIcon.d.ts.map +1 -0
  69. package/dist/styles/icons/BulletIcon.d.ts +8 -0
  70. package/dist/styles/icons/BulletIcon.d.ts.map +1 -0
  71. package/dist/styles/icons/Calendar2Icon.d.ts +9 -0
  72. package/dist/styles/icons/Calendar2Icon.d.ts.map +1 -0
  73. package/dist/styles/icons/CalendarIcon.d.ts +7 -7
  74. package/dist/styles/icons/CalendarIcon.d.ts.map +1 -1
  75. package/dist/styles/icons/CheckboxIcon.d.ts +8 -0
  76. package/dist/styles/icons/CheckboxIcon.d.ts.map +1 -0
  77. package/dist/styles/icons/CheckmarkIcon.d.ts +8 -0
  78. package/dist/styles/icons/CheckmarkIcon.d.ts.map +1 -0
  79. package/dist/styles/icons/CrossIcon.d.ts +8 -0
  80. package/dist/styles/icons/CrossIcon.d.ts.map +1 -0
  81. package/dist/styles/icons/DollarIcon.d.ts +8 -0
  82. package/dist/styles/icons/DollarIcon.d.ts.map +1 -0
  83. package/dist/styles/icons/ErrorIcon.d.ts +8 -0
  84. package/dist/styles/icons/ErrorIcon.d.ts.map +1 -0
  85. package/dist/styles/icons/EstimateCircleIcon.d.ts +6 -0
  86. package/dist/styles/icons/EstimateCircleIcon.d.ts.map +1 -0
  87. package/dist/styles/icons/FolderIcon.d.ts +8 -0
  88. package/dist/styles/icons/FolderIcon.d.ts.map +1 -0
  89. package/dist/styles/icons/GalleryIcon.d.ts +8 -0
  90. package/dist/styles/icons/GalleryIcon.d.ts.map +1 -0
  91. package/dist/styles/icons/LeftArrowIcon.d.ts +8 -0
  92. package/dist/styles/icons/LeftArrowIcon.d.ts.map +1 -0
  93. package/dist/styles/icons/ListIcon.d.ts +8 -0
  94. package/dist/styles/icons/ListIcon.d.ts.map +1 -0
  95. package/dist/styles/icons/Loading.d.ts +1 -0
  96. package/dist/styles/icons/Loading.d.ts.map +1 -1
  97. package/dist/styles/icons/OpportunityCircleIcon.d.ts +6 -0
  98. package/dist/styles/icons/OpportunityCircleIcon.d.ts.map +1 -0
  99. package/dist/styles/icons/PresentationCircleIcon.d.ts +6 -0
  100. package/dist/styles/icons/PresentationCircleIcon.d.ts.map +1 -0
  101. package/dist/styles/icons/PromostandardsIcon.d.ts +8 -0
  102. package/dist/styles/icons/PromostandardsIcon.d.ts.map +1 -0
  103. package/dist/styles/icons/ReceiptLongIcon.d.ts +8 -0
  104. package/dist/styles/icons/ReceiptLongIcon.d.ts.map +1 -0
  105. package/dist/styles/icons/RightArrowIcon.d.ts +8 -0
  106. package/dist/styles/icons/RightArrowIcon.d.ts.map +1 -0
  107. package/dist/styles/icons/SalesDownArrowIcon.d.ts +8 -0
  108. package/dist/styles/icons/SalesDownArrowIcon.d.ts.map +1 -0
  109. package/dist/styles/icons/SalesOrderCircleIcon.d.ts +6 -0
  110. package/dist/styles/icons/SalesOrderCircleIcon.d.ts.map +1 -0
  111. package/dist/styles/icons/SalesUpArrowIcon.d.ts +8 -0
  112. package/dist/styles/icons/SalesUpArrowIcon.d.ts.map +1 -0
  113. package/dist/styles/icons/TilesIcon.d.ts +8 -0
  114. package/dist/styles/icons/TilesIcon.d.ts.map +1 -0
  115. package/dist/styles/icons/UserIcon.d.ts +8 -0
  116. package/dist/styles/icons/UserIcon.d.ts.map +1 -0
  117. package/dist/styles/icons/index.d.ts +25 -0
  118. package/dist/styles/icons/index.d.ts.map +1 -1
  119. package/dist/styles/index.d.ts +1 -0
  120. package/dist/styles/index.d.ts.map +1 -1
  121. package/dist/styles/tables/SimpleWindowedTable.d.ts +22 -3
  122. package/dist/styles/tables/SimpleWindowedTable.d.ts.map +1 -1
  123. package/dist/styles/tables/types.d.ts +6 -1
  124. package/dist/styles/tables/types.d.ts.map +1 -1
  125. package/dist/utils/sizes.d.ts +2 -1
  126. package/dist/utils/sizes.d.ts.map +1 -1
  127. package/package.json +1 -1
@@ -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,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,QAAQ,GAAC,YAAY,CAAC;IAC/B,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,EAAC,UAAU,CAAC;IACvB,OAAO,CAAC,EAAC,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,OAAO,6BAGf,YAAY,GAAG,gBAAgB,gBAgCnC,CAAA"}
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,EAAC,UAAU,CAAC;IACvB,OAAO,CAAC,EAAC,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,OAAO,6BAGf,YAAY,GAAG,gBAAgB,gBAiCnC,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,6 +1,7 @@
1
+ import React from 'react';
1
2
  import { SharedStyleTypes } from './SharedStyles';
2
3
  import { SizerTypes } from './Sizer';
3
- declare const sizes: {
4
+ export declare const sizes: {
4
5
  tiny: {
5
6
  'font-size': string;
6
7
  'font-family': string;
@@ -10,6 +11,9 @@ declare const sizes: {
10
11
  'font-family': string;
11
12
  padding: string;
12
13
  };
14
+ medium: {
15
+ padding: string;
16
+ };
13
17
  large: {
14
18
  padding: string;
15
19
  };
@@ -17,12 +21,25 @@ declare const sizes: {
17
21
  padding: string;
18
22
  };
19
23
  };
24
+ export declare type TSize = keyof typeof sizes;
25
+ export declare type ButtonVariant = 'primary' | 'secondary' | 'cta' | 'error' | 'disabled' | 'text' | 'primary-outline' | 'primary-light' | 'cta-outline' | 'error-outline' | 'disabled-outline';
20
26
  declare type ButtonProps = {
21
27
  secondary?: boolean;
22
28
  cta?: boolean;
23
- size?: keyof typeof sizes;
29
+ size?: TSize;
30
+ variant?: ButtonVariant;
24
31
  } & SharedStyleTypes & SizerTypes;
25
32
  declare const Button: import("styled-components").StyledComponent<"button", any, ButtonProps, never>;
26
33
  export declare const ButtonsGroup: import("styled-components").StyledComponent<"div", any, SharedStyleTypes & SizerTypes, never>;
34
+ declare type IconFuncProps = {
35
+ fill: string;
36
+ [key: string]: any;
37
+ };
38
+ export declare type TButtonIcon = React.ReactNode | ((props: IconFuncProps) => React.ReactElement);
39
+ export declare type IconButtonProps = React.PropsWithChildren<ButtonProps & {
40
+ Icon: TButtonIcon;
41
+ iconPosition?: 'left' | 'right';
42
+ }>;
43
+ export declare function IconButton({ Icon, children, iconPosition, ...props }: IconButtonProps): JSX.Element;
27
44
  export { Button };
28
45
  //# 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,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;CAgBV,CAAC;AAEF,aAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IAAC,GAAG,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,OAAO,KAAK,CAAA;CAC9D,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;;;;;;;;;;;;;;;;;;;CAmBjB,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,iBAAiB,GACjB,eAAe,GACf,aAAa,GACb,eAAe,GACf,kBAAkB,CAAC;AAEvB,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;AA2KlC,QAAA,MAAM,MAAM,gFAoCX,CAAC;AAEF,eAAO,MAAM,YAAY,+FAUxB,CAAC;AAEF,aAAK,aAAa,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAC;AAC1D,oBAAY,WAAW,GAAG,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,KAAK,EAAE,aAAa,KAAK,KAAK,CAAC,YAAY,CAAC,CAAC;AAC3F,oBAAY,eAAe,GAAG,KAAK,CAAC,iBAAiB,CAAC,WAAW,GAAG;IAClE,IAAI,EAAE,WAAW,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACjC,CAAC,CAAC;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,QAAQ,EACR,YAAmB,EACnB,GAAG,KAAK,EACT,EAAE,eAAe,eA4BjB;AAED,OAAO,EAAC,MAAM,EAAC,CAAC"}
@@ -2,20 +2,12 @@ import React from 'react';
2
2
  import { ReactDatePickerProps } from 'react-datepicker';
3
3
  import { InputProps } from './Input';
4
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
- } & {
12
- noMargin?: boolean | undefined;
13
- error?: boolean | undefined;
14
- isPercent?: boolean | undefined;
15
- } & {
16
- 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 & {
5
+ declare type CustomInputProps = InputProps & {
6
+ isClearable?: boolean;
7
+ };
8
+ export declare const CustomDateInput: React.ForwardRefExoticComponent<Pick<CustomInputProps, "theme" | "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" | "noMargin" | "error" | "isPercent" | "hasIcon" | "pr" | "pl" | "pt" | "pb" | "px" | "py" | "mr" | "ml" | "mt" | "mb" | "mx" | "my" | "block" | "inline_block" | "flex" | "inline_flex" | "grid" | "custom" | "bg" | "float" | "isClearable"> & React.RefAttributes<HTMLInputElement>>;
9
+ export declare function Datepicker({ error, value, customInput, locale, todayButton, placeholder, dateFormat, isClearable, peekNextMonth, showMonthDropdown, showYearDropdown, dropdownMode, nextMonthButtonLabel, nextYearButtonLabel, previousMonthButtonLabel, previousYearButtonLabel, ...props }: Omit<ReactDatePickerProps, 'value'> & Omit<InputProps, 'value'> & {
19
10
  value?: Date | null;
20
11
  }): JSX.Element;
12
+ export {};
21
13
  //# 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,OAAmB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAS,UAAU,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,4CAA4C,CAAC;AAGpD,aAAK,gBAAgB,GAAG,UAAU,GAAG;IAAC,WAAW,CAAC,EAAE,OAAO,CAAA;CAAC,CAAC;AAC7D,eAAO,MAAM,eAAe,ksKAyB1B,CAAA;AAEF,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,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;CAAE,eAsB3F"}
@@ -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,6 @@
1
- import { ReactNode } from 'react';
1
+ import React, { ReactNode } from 'react';
2
+ import { CSSObject } from 'styled-components';
3
+ import { TSize } from './Button';
2
4
  export declare const StyledDropdown: import("styled-components").StyledComponent<"div", any, {}, never>;
3
5
  declare type DropdownContentProps = {
4
6
  primary?: boolean;
@@ -7,19 +9,22 @@ declare type DropdownContentProps = {
7
9
  };
8
10
  export declare const DropdownItem: import("styled-components").StyledComponent<"div", any, DropdownContentProps, never>;
9
11
  export declare const DropDownContent: import("styled-components").StyledComponent<"div", any, DropdownContentProps, never>;
10
- export declare const Dropdown: ({ items, children, underlined, primary, text, icon, openMenu, mouseLeaveCallback, ...props }: {
11
- items?: {
12
- onClick?: Function | VoidFunction | null | undefined;
13
- props?: {
14
- [key: string]: any;
15
- underlined?: boolean | undefined;
16
- } | undefined;
17
- content: ReactNode | string | any;
18
- }[] | undefined;
19
- children?: any;
12
+ export declare type TDropdownItem = {
13
+ onClick?: Function | VoidFunction | null;
14
+ props?: {
15
+ [key: string]: any;
16
+ underlined?: boolean;
17
+ };
18
+ content: ReactNode | string | any;
19
+ };
20
+ export declare type DropdownProps = {
21
+ items?: Array<TDropdownItem>;
20
22
  icon?: ReactNode;
21
- openMenu?: boolean | undefined;
23
+ openMenu?: boolean;
22
24
  mouseLeaveCallback?: any;
23
- } & DropdownContentProps) => JSX.Element;
25
+ size?: TSize;
26
+ style?: CSSObject;
27
+ };
28
+ export declare const Dropdown: ({ items, children, underlined, primary, text, icon, openMenu, mouseLeaveCallback, size, style, ...props }: React.PropsWithChildren<DropdownProps & DropdownContentProps>) => JSX.Element;
24
29
  export {};
25
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,OAAc,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAOtE,eAAO,MAAM,cAAc,oEAG1B,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,sFAiBxB,CAAC;AAEF,eAAO,MAAM,eAAe,sFAgC3B,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;iBAC+F,SAAS,GAAC,MAAM,GAAC,GAAG;;eACzH,GAAG;WACP,SAAS;;yBAEK,GAAG;wCAgE3B,CAAA"}
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,KAAK,CAAC,iBAAiB,CAAC,aAAa,GAAG,oBAAoB,CAAC,gBA+D/D,CAAA"}