@epam/uui 5.7.2 → 5.8.1-alpha.0

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 (165) hide show
  1. package/components/buttons/Button.d.ts +8 -8
  2. package/components/buttons/Button.d.ts.map +1 -1
  3. package/components/buttons/IconButton.d.ts +8 -8
  4. package/components/buttons/IconButton.d.ts.map +1 -1
  5. package/components/buttons/LinkButton.d.ts +8 -24
  6. package/components/buttons/LinkButton.d.ts.map +1 -1
  7. package/components/buttons/TabButton.d.ts +6 -23
  8. package/components/buttons/TabButton.d.ts.map +1 -1
  9. package/components/buttons/VerticalTabButton.d.ts +2 -10
  10. package/components/buttons/VerticalTabButton.d.ts.map +1 -1
  11. package/components/datePickers/Calendar.d.ts +3 -2
  12. package/components/datePickers/Calendar.d.ts.map +1 -1
  13. package/components/datePickers/CalendarPresets.d.ts +2 -1
  14. package/components/datePickers/CalendarPresets.d.ts.map +1 -1
  15. package/components/datePickers/DatePicker.d.ts +3 -10
  16. package/components/datePickers/DatePicker.d.ts.map +1 -1
  17. package/components/datePickers/DatePickerBody.d.ts +18 -10
  18. package/components/datePickers/DatePickerBody.d.ts.map +1 -1
  19. package/components/datePickers/DatePickerHeader.d.ts +12 -8
  20. package/components/datePickers/DatePickerHeader.d.ts.map +1 -1
  21. package/components/datePickers/RangeDatePicker.d.ts +3 -15
  22. package/components/datePickers/RangeDatePicker.d.ts.map +1 -1
  23. package/components/datePickers/RangeDatePickerBody.d.ts +13 -30
  24. package/components/datePickers/RangeDatePickerBody.d.ts.map +1 -1
  25. package/components/datePickers/RangeDatePickerInput.d.ts +43 -0
  26. package/components/datePickers/RangeDatePickerInput.d.ts.map +1 -0
  27. package/components/datePickers/helpers.d.ts +34 -0
  28. package/components/datePickers/helpers.d.ts.map +1 -0
  29. package/components/datePickers/index.d.ts +4 -1
  30. package/components/datePickers/index.d.ts.map +1 -1
  31. package/components/datePickers/types.d.ts +132 -0
  32. package/components/datePickers/types.d.ts.map +1 -0
  33. package/components/filters/FilterDatePickerBody.d.ts +7 -11
  34. package/components/filters/FilterDatePickerBody.d.ts.map +1 -1
  35. package/components/filters/FilterNumericBody.d.ts.map +1 -1
  36. package/components/filters/FilterPanelItemToggler.d.ts +1 -1
  37. package/components/filters/FilterPickerBody.d.ts +1 -1
  38. package/components/filters/FilterPickerBody.d.ts.map +1 -1
  39. package/components/filters/FilterRangeDatePickerBody.d.ts +4 -17
  40. package/components/filters/FilterRangeDatePickerBody.d.ts.map +1 -1
  41. package/components/filters/FiltersPanel.d.ts.map +1 -1
  42. package/components/filters/FiltersPanelItem.d.ts.map +1 -1
  43. package/components/filters/PresetPanel/PresetActionsDropdown.d.ts.map +1 -1
  44. package/components/filters/PresetPanel/PresetsPanel.d.ts.map +1 -1
  45. package/components/inputs/Checkbox.d.ts +7 -2
  46. package/components/inputs/Checkbox.d.ts.map +1 -1
  47. package/components/inputs/InputAddon.d.ts +2 -1
  48. package/components/inputs/InputAddon.d.ts.map +1 -1
  49. package/components/inputs/NumericInput.d.ts +9 -12
  50. package/components/inputs/NumericInput.d.ts.map +1 -1
  51. package/components/inputs/RadioInput.d.ts +3 -2
  52. package/components/inputs/RadioInput.d.ts.map +1 -1
  53. package/components/inputs/Slider.d.ts +2 -1
  54. package/components/inputs/Slider.d.ts.map +1 -1
  55. package/components/inputs/Switch.d.ts +7 -2
  56. package/components/inputs/Switch.d.ts.map +1 -1
  57. package/components/inputs/TextArea.d.ts +8 -11
  58. package/components/inputs/TextArea.d.ts.map +1 -1
  59. package/components/inputs/TextInput.d.ts +5 -9
  60. package/components/inputs/TextInput.d.ts.map +1 -1
  61. package/components/inputs/timePicker/TimePicker.d.ts +6 -2
  62. package/components/inputs/timePicker/TimePicker.d.ts.map +1 -1
  63. package/components/inputs/timePicker/TimePickerBody.d.ts.map +1 -1
  64. package/components/layout/Accordion.d.ts +6 -2
  65. package/components/layout/Accordion.d.ts.map +1 -1
  66. package/components/layout/Blocker.d.ts +1 -1
  67. package/components/layout/Blocker.d.ts.map +1 -1
  68. package/components/layout/ControlGroup.d.ts +2 -1
  69. package/components/layout/ControlGroup.d.ts.map +1 -1
  70. package/components/layout/FlexItems/FlexCell.d.ts +3 -2
  71. package/components/layout/FlexItems/FlexCell.d.ts.map +1 -1
  72. package/components/layout/FlexItems/FlexRow.d.ts +2 -6
  73. package/components/layout/FlexItems/FlexRow.d.ts.map +1 -1
  74. package/components/layout/FlexItems/Panel.d.ts +3 -2
  75. package/components/layout/FlexItems/Panel.d.ts.map +1 -1
  76. package/components/layout/LabeledInput.d.ts +12 -4
  77. package/components/layout/LabeledInput.d.ts.map +1 -1
  78. package/components/layout/ScrollBars.d.ts +2 -1
  79. package/components/layout/ScrollBars.d.ts.map +1 -1
  80. package/components/layout/index.d.ts +1 -0
  81. package/components/layout/index.d.ts.map +1 -1
  82. package/components/navigation/Anchor.d.ts +2 -1
  83. package/components/navigation/Anchor.d.ts.map +1 -1
  84. package/components/navigation/MainMenu/Burger/Burger.d.ts +2 -4
  85. package/components/navigation/MainMenu/Burger/Burger.d.ts.map +1 -1
  86. package/components/navigation/MainMenu/Burger/BurgerButton.d.ts +5 -3
  87. package/components/navigation/MainMenu/Burger/BurgerButton.d.ts.map +1 -1
  88. package/components/navigation/MainMenu/MainMenu.d.ts +3 -6
  89. package/components/navigation/MainMenu/MainMenu.d.ts.map +1 -1
  90. package/components/navigation/MainMenu/MainMenuButton.d.ts +1 -11
  91. package/components/navigation/MainMenu/MainMenuButton.d.ts.map +1 -1
  92. package/components/navigation/MainMenu/MainMenuIcon.d.ts +0 -1
  93. package/components/navigation/MainMenu/MainMenuIcon.d.ts.map +1 -1
  94. package/components/overlays/Dropdown.d.ts +2 -1
  95. package/components/overlays/Dropdown.d.ts.map +1 -1
  96. package/components/overlays/DropdownContainer.d.ts +2 -1
  97. package/components/overlays/DropdownContainer.d.ts.map +1 -1
  98. package/components/overlays/DropdownMenu.d.ts +2 -2
  99. package/components/overlays/DropdownMenu.d.ts.map +1 -1
  100. package/components/overlays/Modals.d.ts +3 -3
  101. package/components/overlays/Modals.d.ts.map +1 -1
  102. package/components/overlays/NotificationCard.d.ts +2 -6
  103. package/components/overlays/NotificationCard.d.ts.map +1 -1
  104. package/components/overlays/Snackbar.d.ts +2 -8
  105. package/components/overlays/Snackbar.d.ts.map +1 -1
  106. package/components/overlays/Tooltip.d.ts +2 -1
  107. package/components/overlays/Tooltip.d.ts.map +1 -1
  108. package/components/pickers/PickerInput.d.ts +10 -3
  109. package/components/pickers/PickerInput.d.ts.map +1 -1
  110. package/components/pickers/PickerItem.d.ts +7 -10
  111. package/components/pickers/PickerItem.d.ts.map +1 -1
  112. package/components/pickers/PickerList.d.ts.map +1 -1
  113. package/components/pickers/PickerModal.d.ts.map +1 -1
  114. package/components/pickers/PickerToggler.d.ts +4 -4
  115. package/components/pickers/PickerToggler.d.ts.map +1 -1
  116. package/components/pickers/PickerTogglerTag.d.ts +10 -0
  117. package/components/pickers/PickerTogglerTag.d.ts.map +1 -0
  118. package/components/pickers/highlight.d.ts +1 -0
  119. package/components/pickers/highlight.d.ts.map +1 -1
  120. package/components/pickers/index.d.ts +1 -0
  121. package/components/pickers/index.d.ts.map +1 -1
  122. package/components/tables/ColumnHeaderDropdown/SortingPanel.d.ts.map +1 -1
  123. package/components/tables/DataRowsContainer/DataRowsGroups.d.ts.map +1 -1
  124. package/components/tables/DataRowsContainer/utils.d.ts.map +1 -1
  125. package/components/tables/DataTable.d.ts +13 -1
  126. package/components/tables/DataTable.d.ts.map +1 -1
  127. package/components/tables/DataTableCell.d.ts.map +1 -1
  128. package/components/tables/DataTableHeaderCell.d.ts.map +1 -1
  129. package/components/tables/DataTableHeaderRow.d.ts +3 -2
  130. package/components/tables/DataTableHeaderRow.d.ts.map +1 -1
  131. package/components/tables/DataTableRow.d.ts +3 -2
  132. package/components/tables/DataTableRow.d.ts.map +1 -1
  133. package/components/tables/columnsConfigurationModal/ColumnRow.d.ts.map +1 -1
  134. package/components/tables/columnsConfigurationModal/PinIconButton.d.ts.map +1 -1
  135. package/components/tables/types.d.ts +20 -0
  136. package/components/tables/types.d.ts.map +1 -1
  137. package/components/typography/RichTextView.d.ts +7 -2
  138. package/components/typography/RichTextView.d.ts.map +1 -1
  139. package/components/typography/Text.d.ts +7 -3
  140. package/components/typography/Text.d.ts.map +1 -1
  141. package/components/widgets/AvatarStack.d.ts +2 -1
  142. package/components/widgets/AvatarStack.d.ts.map +1 -1
  143. package/components/widgets/Badge.d.ts +7 -27
  144. package/components/widgets/Badge.d.ts.map +1 -1
  145. package/components/widgets/ProgressBar.d.ts +4 -3
  146. package/components/widgets/ProgressBar.d.ts.map +1 -1
  147. package/components/widgets/Spinner.d.ts +2 -1
  148. package/components/widgets/Spinner.d.ts.map +1 -1
  149. package/components/widgets/Tag.d.ts +6 -32
  150. package/components/widgets/Tag.d.ts.map +1 -1
  151. package/helpers/dayJsHelper.d.ts +6 -0
  152. package/helpers/dayJsHelper.d.ts.map +1 -0
  153. package/helpers/useColumnsWithFilters.d.ts +1 -1
  154. package/helpers/useColumnsWithFilters.d.ts.map +1 -1
  155. package/i18n.d.ts.map +1 -1
  156. package/icons/icons.d.ts +1 -0
  157. package/icons/icons.d.ts.map +1 -1
  158. package/index.esm.js +1706 -1328
  159. package/index.esm.js.map +1 -1
  160. package/index.js +1697 -1314
  161. package/index.js.map +1 -1
  162. package/package.json +7 -7
  163. package/stats.html +32 -46
  164. package/styles.css +4576 -4696
  165. package/styles.css.map +1 -1
@@ -1,4 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import * as uuiComponents from '@epam/uui-components';
3
+ import { Overwrite } from '@epam/uui-core';
2
4
  import { ControlSize } from '../types';
3
5
  type ButtonMods = {
4
6
  /**
@@ -15,17 +17,15 @@ type ButtonMods = {
15
17
  * Defines component color.
16
18
  * @default 'primary'
17
19
  */
18
- color?: 'accent' | 'primary' | 'critical' | 'secondary' | 'neutral';
20
+ color?: 'accent' | 'primary' | 'critical' | 'secondary' | 'neutral' | 'white';
19
21
  };
22
+ export interface ButtonModsOverride {
23
+ }
20
24
  /** Represents the 'Core properties' for the Button component. */
21
25
  export type ButtonCoreProps = uuiComponents.ButtonProps;
22
26
  /** Represents the props for a Button component. */
23
- export type ButtonProps = ButtonMods & ButtonCoreProps;
24
- export declare const Button: (props: import("@epam/uui-core").IClickable & import("@epam/uui-core").IAnalyticableClick & import("@epam/uui-core").IHasTabIndex & import("@epam/uui-core").IDisableable & import("@epam/uui-core").IHasCX & import("@epam/uui-core").ICanRedirect & import("@epam/uui-core").IHasRawProps<uuiComponents.ClickableRawProps> & import("@epam/uui-core").IDropdownToggler & import("@epam/uui-core").IHasIcon & import("@epam/uui-core").IHasCaption & {
25
- onClear?(e?: any): void;
26
- clearIcon?: import("@epam/uui-core").Icon;
27
- captionCX?: import("@epam/uui-core").ClassValue;
28
- dropdownIcon?: import("@epam/uui-core").Icon;
29
- } & ButtonMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
27
+ export interface ButtonProps extends ButtonCoreProps, Overwrite<ButtonMods, ButtonModsOverride> {
28
+ }
29
+ export declare const Button: import("react").ComponentType<ButtonProps & import("react").RefAttributes<any>>;
30
30
  export {};
31
31
  //# sourceMappingURL=Button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../components/buttons/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAMvC,KAAK,UAAU,GAAG;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;IAC9C;;;OAGG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,CAAC;CACvE,CAAC;AAEF,iEAAiE;AACjE,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC,WAAW,CAAC;AAExD,mDAAmD;AACnD,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,eAAe,CAAC;AAYvD,eAAO,MAAM,MAAM;;;;;8IAalB,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../components/buttons/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAY,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAMvC,KAAK,UAAU,GAAG;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;IAC9C;;;OAGG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,CAAC;CACjF,CAAC;AACF,MAAM,WAAW,kBAAkB;CAAG;AAEtC,iEAAiE;AACjE,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC,WAAW,CAAC;AAExD,mDAAmD;AACnD,MAAM,WAAW,WAAY,SAAQ,eAAe,EAAE,SAAS,CAAC,UAAU,EAAE,kBAAkB,CAAC;CAAG;AAYlG,eAAO,MAAM,MAAM,iFASlB,CAAC"}
@@ -1,10 +1,12 @@
1
+ /// <reference types="react" />
1
2
  import * as uuiComponents from '@epam/uui-components';
3
+ import { Overwrite } from '@epam/uui-core';
2
4
  interface IconButtonMods {
3
5
  /**
4
6
  * Defines component color.
5
7
  * @default 'neutral'
6
8
  */
7
- color?: 'info' | 'success' | 'warning' | 'error' | 'secondary' | 'neutral';
9
+ color?: 'info' | 'success' | 'error' | 'primary' | 'accent' | 'critical' | 'warning' | 'secondary' | 'neutral' | 'white';
8
10
  }
9
11
  /** Represents the Core properties of the IconButton component. */
10
12
  export type IconButtonCoreProps = Omit<uuiComponents.IconButtonProps, 'size'> & {
@@ -13,13 +15,11 @@ export type IconButtonCoreProps = Omit<uuiComponents.IconButtonProps, 'size'> &
13
15
  */
14
16
  size?: '18' | '24' | '30' | '36';
15
17
  };
18
+ export interface IconButtonModsOverride {
19
+ }
16
20
  /** Represents the properties of the IconButton component. */
17
- export type IconButtonProps = IconButtonCoreProps & IconButtonMods;
18
- export declare const IconButton: (props: Omit<uuiComponents.IconButtonProps, "size"> & {
19
- /**
20
- * Defines component size.
21
- */
22
- size?: '18' | '24' | '30' | '36';
23
- } & IconButtonMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
21
+ export interface IconButtonProps extends IconButtonCoreProps, Overwrite<IconButtonMods, IconButtonModsOverride> {
22
+ }
23
+ export declare const IconButton: import("react").ComponentType<IconButtonProps & import("react").RefAttributes<any>>;
24
24
  export {};
25
25
  //# sourceMappingURL=IconButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AAKtD,UAAU,cAAc;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,WAAW,GAAG,SAAS,CAAC;CAC9E;AAED,kEAAkE;AAClE,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,aAAa,CAAC,eAAe,EAAE,MAAM,CAAC,GAAG;IAC5E;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CACpC,CAAC;AAEF,6DAA6D;AAC7D,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG,cAAc,CAAC;AAMnE,eAAO,MAAM,UAAU;IAbnB;;OAEG;WACI,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;kJAmBnC,CAAC"}
1
+ {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/IconButton.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAY,SAAS,EAAa,MAAM,gBAAgB,CAAC;AAIhE,UAAU,cAAc;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,CAAC;CAC5H;AAED,kEAAkE;AAClE,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,aAAa,CAAC,eAAe,EAAE,MAAM,CAAC,GAAG;IAC5E;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CACpC,CAAC;AAEF,MAAM,WAAW,sBAAsB;CAAG;AAE1C,6DAA6D;AAC7D,MAAM,WAAW,eAAgB,SAAQ,mBAAmB,EAAE,SAAS,CAAC,cAAc,EAAE,sBAAsB,CAAC;CAAG;AAMlH,eAAO,MAAM,UAAU,qFAkBtB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { CX, Icon, IDropdownToggler, IHasCaption, IHasIcon } from '@epam/uui-core';
2
+ import { Icon, IDropdownToggler, IHasCaption, IHasIcon, Overwrite } from '@epam/uui-core';
3
3
  import { ClickableComponentProps } from '@epam/uui-components';
4
4
  import * as types from '../types';
5
5
  interface LinkButtonMods {
@@ -7,15 +7,10 @@ interface LinkButtonMods {
7
7
  * Defines component color.
8
8
  * @default 'primary'
9
9
  */
10
- color?: 'primary' | 'secondary' | 'contrast';
10
+ color?: 'primary' | 'secondary' | 'accent' | 'critical' | 'white' | 'contrast';
11
11
  }
12
12
  /** Represents the Core properties of the LinkButton component. */
13
- export type LinkButtonCoreProps = ClickableComponentProps & IDropdownToggler & IHasIcon & IHasCaption & {
14
- /**
15
- * CSS classes to put on the caption
16
- * @deprecated
17
- * */
18
- captionCX?: CX;
13
+ export interface LinkButtonCoreProps extends ClickableComponentProps, IDropdownToggler, IHasIcon, IHasCaption {
19
14
  /** Icon for drop-down toggler */
20
15
  dropdownIcon?: Icon;
21
16
  /**
@@ -23,22 +18,11 @@ export type LinkButtonCoreProps = ClickableComponentProps & IDropdownToggler & I
23
18
  * @default '36'
24
19
  */
25
20
  size?: types.ControlSize | '42';
26
- };
21
+ }
22
+ export interface LinkButtonModsOverride {
23
+ }
27
24
  /** Represents the properties of the LinkButton component. */
28
- export type LinkButtonProps = LinkButtonCoreProps & LinkButtonMods;
29
- export declare const LinkButton: React.ForwardRefExoticComponent<import("@epam/uui-core").IClickable & import("@epam/uui-core").IAnalyticableClick & import("@epam/uui-core").IHasTabIndex & import("@epam/uui-core").IDisableable & import("@epam/uui-core").IHasCX & import("@epam/uui-core").ICanRedirect & import("@epam/uui-core").IHasRawProps<import("@epam/uui-components").ClickableRawProps> & IDropdownToggler & IHasIcon & IHasCaption & {
30
- /**
31
- * CSS classes to put on the caption
32
- * @deprecated
33
- * */
34
- captionCX?: CX;
35
- /** Icon for drop-down toggler */
36
- dropdownIcon?: Icon;
37
- /**
38
- * Defines component size.
39
- * @default '36'
40
- */
41
- size?: types.ControlSize | '42';
42
- } & LinkButtonMods & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
25
+ export type LinkButtonProps = LinkButtonCoreProps & Overwrite<LinkButtonMods, LinkButtonModsOverride>;
26
+ export declare const LinkButton: React.ForwardRefExoticComponent<LinkButtonCoreProps & Omit<LinkButtonMods, never> & LinkButtonModsOverride & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
43
27
  export {};
44
28
  //# sourceMappingURL=LinkButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LinkButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/LinkButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,EAAE,EAAiB,IAAI,EAAE,gBAAgB,EAAE,WAAW,EAAE,QAAQ,EAAc,MAAM,gBAAgB,CAAC;AAC9G,OAAO,EAAa,uBAAuB,EAAiB,MAAM,sBAAsB,CAAC;AACzF,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAQlC,UAAU,cAAc;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;CAChD;AAED,kEAAkE;AAClE,MAAM,MAAM,mBAAmB,GAAG,uBAAuB,GAAG,gBAAgB,GAAG,QAAQ,GAAG,WAAW,GAAG;IACpG;;;SAGK;IACL,SAAS,CAAC,EAAE,EAAE,CAAC;IACf,iCAAiC;IACjC,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC;CACnC,CAAC;AAEF,6DAA6D;AAC7D,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG,cAAc,CAAC;AAYnE,eAAO,MAAM,UAAU;IA3BnB;;;SAGK;gBACO,EAAE;IACd,iCAAiC;mBAClB,IAAI;IACnB;;;OAGG;WACI,MAAM,WAAW,GAAG,IAAI;gFAmDjC,CAAC"}
1
+ {"version":3,"file":"LinkButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/LinkButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAa,gBAAgB,EAAE,WAAW,EAAE,QAAQ,EAAc,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACjH,OAAO,EAAa,uBAAuB,EAAiB,MAAM,sBAAsB,CAAC;AACzF,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAQlC,UAAU,cAAc;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,GAAG,UAAU,CAAC;CAClF;AAED,kEAAkE;AAClE,MAAM,WAAW,mBAAoB,SAAQ,uBAAuB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,WAAW;IACzG,iCAAiC;IACjC,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC;CACnC;AAED,MAAM,WAAW,sBAAsB;CAAG;AAE1C,6DAA6D;AAC7D,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG,SAAS,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;AAYtG,eAAO,MAAM,UAAU,0KAyCrB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { CX, Icon, IDropdownToggler, IHasCaption, IHasIcon } from '@epam/uui-core';
2
+ import { Icon, IDropdownToggler, IHasCaption, IHasIcon, Overwrite } from '@epam/uui-core';
3
3
  import { ClickableComponentProps } from '@epam/uui-components';
4
4
  type TabButtonMods = {
5
5
  /**
@@ -10,36 +10,19 @@ type TabButtonMods = {
10
10
  /** Defines is the component showing Notify */
11
11
  withNotify?: boolean;
12
12
  };
13
+ export interface TabButtonModsOverride {
14
+ }
13
15
  /** Represents the properties of a TabButton component. */
14
- export type TabButtonProps = TabButtonMods & ClickableComponentProps & IDropdownToggler & IHasIcon & IHasCaption & {
16
+ export interface TabButtonProps extends Overwrite<TabButtonMods, TabButtonModsOverride>, ClickableComponentProps, IDropdownToggler, IHasIcon, IHasCaption {
15
17
  /** Call to clear toggler value */
16
18
  onClear?(e?: any): void;
17
19
  /** Icon for clear value button (usually cross) */
18
20
  clearIcon?: Icon;
19
- /**
20
- * CSS classes to put on the caption
21
- * @deprecated
22
- * */
23
- captionCX?: CX;
24
- /** Icon for drop-down toggler */
25
- dropdownIcon?: Icon;
26
- /** Count value to be placed in component */
27
- count?: React.ReactNode;
28
- };
29
- export declare const TabButton: React.ForwardRefExoticComponent<TabButtonMods & import("@epam/uui-core").IClickable & import("@epam/uui-core").IAnalyticableClick & import("@epam/uui-core").IHasTabIndex & import("@epam/uui-core").IDisableable & import("@epam/uui-core").IHasCX & import("@epam/uui-core").ICanRedirect & import("@epam/uui-core").IHasRawProps<import("@epam/uui-components").ClickableRawProps> & IDropdownToggler & IHasIcon & IHasCaption & {
30
- /** Call to clear toggler value */
31
- onClear?(e?: any): void;
32
- /** Icon for clear value button (usually cross) */
33
- clearIcon?: Icon;
34
- /**
35
- * CSS classes to put on the caption
36
- * @deprecated
37
- * */
38
- captionCX?: CX;
39
21
  /** Icon for drop-down toggler */
40
22
  dropdownIcon?: Icon;
41
23
  /** Count value to be placed in component */
42
24
  count?: React.ReactNode;
43
- } & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLSpanElement>>;
25
+ }
26
+ export declare const TabButton: React.ForwardRefExoticComponent<TabButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLSpanElement>>;
44
27
  export {};
45
28
  //# sourceMappingURL=TabButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/TabButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAiB,IAAI,EAAE,gBAAgB,EAAE,WAAW,EAAE,QAAQ,EAA0B,MAAM,gBAAgB,CAAC;AAC1H,OAAO,EAAa,uBAAuB,EAAiB,MAAM,sBAAsB,CAAC;AAMzF,KAAK,aAAa,GAAG;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,8CAA8C;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,0DAA0D;AAC1D,MAAM,MAAM,cAAc,GAAG,aAAa,GAAG,uBAAuB,GAAG,gBAAgB,GAAG,QAAQ,GAAG,WAAW,GAAG;IAC/G,kCAAkC;IAClC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IACxB,kDAAkD;IAClD,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB;;;SAGK;IACL,SAAS,CAAC,EAAE,EAAE,CAAC;IACf,iCAAiC;IACjC,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAYF,eAAO,MAAM,SAAS;IAzBlB,kCAAkC;iBACrB,GAAG,GAAG,IAAI;IACvB,kDAAkD;gBACtC,IAAI;IAChB;;;SAGK;gBACO,EAAE;IACd,iCAAiC;mBAClB,IAAI;IACnB,4CAA4C;YACpC,MAAM,SAAS;iFAiEzB,CAAC"}
1
+ {"version":3,"file":"TabButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/TabButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAM,IAAI,EAAE,gBAAgB,EAAE,WAAW,EAAE,QAAQ,EAA0B,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACtH,OAAO,EAAa,uBAAuB,EAAiB,MAAM,sBAAsB,CAAC;AAMzF,KAAK,aAAa,GAAG;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,8CAA8C;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,WAAW,qBAAqB;CAAG;AAEzC,0DAA0D;AAC1D,MAAM,WAAW,cAAe,SAAQ,SAAS,CAAC,aAAa,EAAE,qBAAqB,CAAC,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,WAAW;IACrJ,kCAAkC;IAClC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IACxB,kDAAkD;IAClD,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,iCAAiC;IACjC,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,SAAS,gIAuDpB,CAAC"}
@@ -1,14 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { TabButtonProps } from './TabButton';
2
3
  /** Represents the properties of a VerticalTabButton component. */
3
4
  export type VerticalTabButtonProps = TabButtonProps;
4
- export declare const VerticalTabButton: (props: {
5
- size?: "36" | "48" | "60";
6
- withNotify?: boolean;
7
- } & import("@epam/uui-core").IClickable & import("@epam/uui-core").IAnalyticableClick & import("@epam/uui-core").IHasTabIndex & import("@epam/uui-core").IDisableable & import("@epam/uui-core").IHasCX & import("@epam/uui-core").ICanRedirect & import("@epam/uui-core").IHasRawProps<import("@epam/uui-components").ClickableRawProps> & import("@epam/uui-core").IDropdownToggler & import("@epam/uui-core").IHasIcon & import("@epam/uui-core").IHasCaption & {
8
- onClear?(e?: any): void;
9
- clearIcon?: import("@epam/uui-core").Icon;
10
- captionCX?: import("@epam/uui-core").ClassValue;
11
- dropdownIcon?: import("@epam/uui-core").Icon;
12
- count?: import("react").ReactNode;
13
- } & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
5
+ export declare const VerticalTabButton: import("react").ComponentType<TabButtonProps & import("react").RefAttributes<any>>;
14
6
  //# sourceMappingURL=VerticalTabButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VerticalTabButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/VerticalTabButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,cAAc,EAAE,MAAM,aAAa,CAAC;AAOxD,kEAAkE;AAClE,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC;AAEpD,eAAO,MAAM,iBAAiB;;;;;;;;;iIAA0E,CAAC"}
1
+ {"version":3,"file":"VerticalTabButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/VerticalTabButton.tsx"],"names":[],"mappings":";AACA,OAAO,EAAa,cAAc,EAAE,MAAM,aAAa,CAAC;AAOxD,kEAAkE;AAClE,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC;AAEpD,eAAO,MAAM,iBAAiB,oFAAkG,CAAC"}
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarProps } from '@epam/uui-components';
2
- import { Dayjs } from 'dayjs';
3
+ import { Dayjs } from '../../helpers/dayJsHelper';
3
4
  export declare function applyDateSelectionMods(): string[];
4
- export declare const Calendar: (props: CalendarProps<Dayjs> & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
5
+ export declare const Calendar: import("react").ComponentType<CalendarProps<Dayjs> & import("react").RefAttributes<any>>;
5
6
  //# sourceMappingURL=Calendar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../../components/datePickers/Calendar.tsx"],"names":[],"mappings":"AACA,OAAO,EAA2B,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE9E,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAE9B,wBAAgB,sBAAsB,aAErC;AAED,eAAO,MAAM,QAAQ,8JAAsE,CAAC"}
1
+ {"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../../components/datePickers/Calendar.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAA2B,MAAM,sBAAsB,CAAC;AAE9E,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAElD,wBAAgB,sBAAsB,aAErC;AAED,eAAO,MAAM,QAAQ,0FAA4F,CAAC"}
@@ -1,4 +1,5 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarPresetsProps } from '@epam/uui-components';
2
3
  export declare function applyCalendarPresetsMods(): string[];
3
- export declare const CalendarPresets: (props: CalendarPresetsProps & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
4
+ export declare const CalendarPresets: import("react").ComponentType<CalendarPresetsProps & import("react").RefAttributes<any>>;
4
5
  //# sourceMappingURL=CalendarPresets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarPresets.d.ts","sourceRoot":"","sources":["../../../components/datePickers/CalendarPresets.tsx"],"names":[],"mappings":"AACA,OAAO,EAAyC,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAGnG,wBAAgB,wBAAwB,aAEvC;AAED,eAAO,MAAM,eAAe,8JAA2F,CAAC"}
1
+ {"version":3,"file":"CalendarPresets.d.ts","sourceRoot":"","sources":["../../../components/datePickers/CalendarPresets.tsx"],"names":[],"mappings":";AACA,OAAO,EAAyC,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAGnG,wBAAgB,wBAAwB,aAEvC;AAED,eAAO,MAAM,eAAe,0FAAiH,CAAC"}
@@ -1,12 +1,5 @@
1
1
  import React from 'react';
2
- import { DatePickerCoreProps } from '@epam/uui-core';
3
- import { SizeMod, IHasEditMode } from '../types';
4
- /** Represents the properties of the DatePicker component. */
5
- export interface DatePickerProps extends DatePickerCoreProps, SizeMod, IHasEditMode {
6
- /**
7
- * HTML ID attribute for the toggler input
8
- */
9
- id?: string;
10
- }
11
- export declare const DatePicker: (props: DatePickerProps & React.RefAttributes<any>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
2
+ import { DatePickerProps } from './types';
3
+ export declare function DatePickerComponent(props: DatePickerProps, ref: React.ForwardedRef<HTMLElement>): JSX.Element;
4
+ export declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLElement>>;
12
5
  //# sourceMappingURL=DatePicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAM,mBAAmB,EAAoE,MAAM,gBAAgB,CAAC;AAE3H,OAAO,EAAY,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAQ3D,6DAA6D;AAC7D,MAAM,WAAW,eAAgB,SAAQ,mBAAmB,EAAE,OAAO,EAAE,YAAY;IAC/E;;MAEE;IACF,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AA8DD,eAAO,MAAM,UAAU,2HAAgC,CAAC"}
1
+ {"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AASnD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAY1C,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,eAAe,EAAE,GAAG,EAAE,KAAK,CAAC,YAAY,CAAC,WAAW,CAAC,eAoH/F;AAED,eAAO,MAAM,UAAU,qFAAwC,CAAC"}
@@ -1,9 +1,10 @@
1
- import { Dayjs } from 'dayjs';
2
- import { DatePickerBodyBase, DatePickerBodyBaseProps } from '@epam/uui-components';
3
- export interface DatePickerBodyProps extends DatePickerBodyBaseProps<string> {
4
- getDayCX?(day: Dayjs): string[];
1
+ import React from 'react';
2
+ import { IControlled } from '@epam/uui-core';
3
+ import { CommonDatePickerBodyProps, ViewType } from './types';
4
+ import { Dayjs } from '../../helpers/dayJsHelper';
5
+ export interface DatePickerBodyProps extends CommonDatePickerBodyProps, IControlled<string | null> {
5
6
  /**
6
- * A pure function that gets whether day is holiday for each day.
7
+ * Manually handles holidays
7
8
  */
8
9
  isHoliday?: (day: Dayjs) => boolean;
9
10
  }
@@ -11,10 +12,17 @@ export declare const uuiDatePickerBody: {
11
12
  readonly wrapper: "uui-datepickerBody-wrapper";
12
13
  readonly separator: "uui-datepickerBody-separator";
13
14
  };
14
- export declare class DatePickerBody extends DatePickerBodyBase<string, DatePickerBodyProps> {
15
- constructor(props: DatePickerBodyProps);
16
- onDayClick: (day: Dayjs) => void;
17
- getView: () => JSX.Element;
18
- renderBody: () => JSX.Element;
15
+ export declare const DatePickerBody: React.ForwardRefExoticComponent<DatePickerBodyProps & React.RefAttributes<HTMLDivElement>>;
16
+ export interface StatelessDatePickerBodyValue<TSelection> {
17
+ value: TSelection | null;
18
+ month: Dayjs;
19
+ view: ViewType;
19
20
  }
21
+ export interface StatelessDatePickerBodyProps extends CommonDatePickerBodyProps, StatelessDatePickerBodyValue<string> {
22
+ onValueChange: (value: string | null) => void;
23
+ onMonthChange: (m: Dayjs) => void;
24
+ onViewChange: (v: ViewType) => void;
25
+ isHoliday?: (day: Dayjs) => boolean;
26
+ }
27
+ export declare const StatelessDatePickerBody: React.ForwardRefExoticComponent<StatelessDatePickerBodyProps & React.RefAttributes<HTMLDivElement>>;
20
28
  //# sourceMappingURL=DatePickerBody.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePickerBody.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAGrC,OAAO,EAAiC,kBAAkB,EAAE,uBAAuB,EAAqB,MAAM,sBAAsB,CAAC;AAOrI,MAAM,WAAW,mBAAoB,SAAQ,uBAAuB,CAAC,MAAM,CAAC;IAIxE,QAAQ,CAAC,CAAC,GAAG,EAAE,KAAK,GAAG,MAAM,EAAE,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,OAAO,CAAC;CACvC;AAED,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AAEX,qBAAa,cAAe,SAAQ,kBAAkB,CAAC,MAAM,EAAE,mBAAmB,CAAC;gBACnE,KAAK,EAAE,mBAAmB;IAMtC,UAAU,QAAS,KAAK,UAKtB;IAEF,OAAO,oBAuBL;IAEF,UAAU,oBAUR;CACL"}
1
+ {"version":3,"file":"DatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePickerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAC/D,OAAO,EACH,WAAW,EAEd,MAAM,gBAAgB,CAAC;AAKxB,OAAO,EAAE,yBAAyB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAI9D,OAAO,EAAE,KAAK,EAAY,MAAM,2BAA2B,CAAC;AAE5D,MAAM,WAAW,mBAAoB,SAAQ,yBAAyB,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC;IAC9F;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,OAAO,CAAC;CACvC;AAED,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AAEX,eAAO,MAAM,cAAc,4FAAiC,CAAC;AA0B7D,MAAM,WAAW,4BAA4B,CAAC,UAAU;IACpD,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,QAAQ,CAAC;CAClB;AAED,MAAM,WAAW,4BAA6B,SAAQ,yBAAyB,EAAE,4BAA4B,CAAC,MAAM,CAAC;IACjH,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,aAAa,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;IAClC,YAAY,EAAE,CAAC,CAAC,EAAE,QAAQ,KAAK,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,OAAO,CAAC;CACvC;AAED,eAAO,MAAM,uBAAuB,qGAA0C,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { Icon, IEditable, IHasCX } from '@epam/uui-core';
3
- import dayjs, { Dayjs } from 'dayjs';
4
- import { PickerBodyValue } from '@epam/uui-components';
2
+ import { Icon, IHasCX } from '@epam/uui-core';
3
+ import { type Dayjs } from '../../helpers/dayJsHelper';
4
+ import { ViewType } from './types';
5
5
  export declare const uuiHeader: {
6
6
  container: string;
7
7
  header: string;
@@ -9,12 +9,16 @@ export declare const uuiHeader: {
9
9
  navIconRight: string;
10
10
  navIconLeft: string;
11
11
  };
12
- export interface DatePickerHeaderProps extends IEditable<PickerBodyValue<string>>, IHasCX {
12
+ interface DatePickerHeaderValue {
13
+ view: ViewType;
14
+ month: Dayjs;
15
+ }
16
+ export interface DatePickerHeaderProps extends IHasCX {
17
+ value: DatePickerHeaderValue;
18
+ onValueChange: (value: DatePickerHeaderValue) => void;
13
19
  navIconLeft?: Icon;
14
20
  navIconRight?: Icon;
15
21
  }
16
- export declare const getNextMonthFromCurrent: (currentDate: Dayjs) => dayjs.Dayjs;
17
- export declare const getNextYearFromCurrent: (currentDate: Dayjs) => dayjs.Dayjs;
18
- export declare const getNextListYearFromCurrent: (currentDate: Dayjs) => dayjs.Dayjs;
19
- export declare function DatePickerHeader(props: DatePickerHeaderProps): JSX.Element;
22
+ export declare function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, onValueChange, }: DatePickerHeaderProps): JSX.Element;
23
+ export {};
20
24
  //# sourceMappingURL=DatePickerHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DatePickerHeader.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePickerHeader.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGzD,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,eAAe,EAAY,MAAM,sBAAsB,CAAC;AAQjE,eAAO,MAAM,SAAS;;;;;;CAMrB,CAAC;AAEF,MAAM,WAAW,qBAAsB,SAAQ,SAAS,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM;IAKrF,WAAW,CAAC,EAAE,IAAI,CAAC;IAKnB,YAAY,CAAC,EAAE,IAAI,CAAC;CACvB;AAMD,eAAO,MAAM,uBAAuB,gBAAiB,KAAK,gBAEzD,CAAC;AAMF,eAAO,MAAM,sBAAsB,gBAAiB,KAAK,gBAExD,CAAC;AAMF,eAAO,MAAM,0BAA0B,gBAAiB,KAAK,gBAE5D,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,eAmE5D"}
1
+ {"version":3,"file":"DatePickerHeader.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePickerHeader.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAG9C,OAAO,EAAE,KAAK,KAAK,EAAY,MAAM,2BAA2B,CAAC;AAIjE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAKnC,eAAO,MAAM,SAAS;;;;;;CAMrB,CAAC;AAEF,UAAU,qBAAqB;IAC3B,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CAChB;AAED,MAAM,WAAW,qBAAsB,SAAQ,MAAM;IACjD,KAAK,EAAE,qBAAqB,CAAC;IAC7B,aAAa,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAKtD,WAAW,CAAC,EAAE,IAAI,CAAC;IAKnB,YAAY,CAAC,EAAE,IAAI,CAAC;CACvB;AAMD,wBAAgB,gBAAgB,CAAC,EAC7B,WAAW,EAAE,YAAY,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,aAAa,GACnE,EAAE,qBAAqB,eAqGvB"}
@@ -1,16 +1,4 @@
1
- import * as React from 'react';
2
- import { BaseRangeDatePickerProps } from '@epam/uui-core';
3
- import { SizeMod } from '../types';
4
- export interface RangeDatePickerProps extends BaseRangeDatePickerProps, SizeMod {
5
- /**
6
- * A pure function that gets placeholder for 'from' or 'to' input.
7
- */
8
- getPlaceholder?(type: InputType): string;
9
- /**
10
- * HTML ID attribute for the first input into toggler
11
- */
12
- id?: string;
13
- }
14
- export type InputType = 'from' | 'to';
15
- export declare const RangeDatePicker: (props: RangeDatePickerProps & React.RefAttributes<any>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
1
+ import React from 'react';
2
+ import { RangeDatePickerProps } from './types';
3
+ export declare const RangeDatePicker: React.ForwardRefExoticComponent<RangeDatePickerProps & React.RefAttributes<HTMLElement>>;
16
4
  //# sourceMappingURL=RangeDatePicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RangeDatePicker.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAU,wBAAwB,EAAiE,MAAM,gBAAgB,CAAC;AAKjI,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAOnC,MAAM,WAAW,oBAAqB,SAAQ,wBAAwB,EAAE,OAAO;IAC3E;;OAEG;IACH,cAAc,CAAC,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC;IACzC;;MAEE;IACF,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAKD,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC;AAyFtC,eAAO,MAAM,eAAe,gIAAqC,CAAC"}
1
+ {"version":3,"file":"RangeDatePicker.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAUxC,OAAO,EACiD,oBAAoB,EAC3E,MAAM,SAAS,CAAC;AA4HjB,eAAO,MAAM,eAAe,0FAA6C,CAAC"}
@@ -1,35 +1,18 @@
1
- import * as React from 'react';
2
- import { Dayjs } from 'dayjs';
3
- import { IEditable, RangeDatePickerPresets } from '@epam/uui-core';
4
- import { DatePickerBodyBaseOptions, PickerBodyValue, ViewType } from '@epam/uui-components';
5
- export declare function weekCount(displayedDate: Dayjs): number;
6
- export type PickerPart = 'from' | 'to' | null;
1
+ import React from 'react';
2
+ import { Dayjs } from '../../helpers/dayJsHelper';
3
+ import { IControlled } from '@epam/uui-core';
4
+ import { RangeDatePickerPresets } from '@epam/uui-components';
5
+ import { CommonDatePickerBodyProps, RangeDatePickerValue, RangeDatePickerBodyValue } from './types';
6
+ export declare const uuiRangeDatePickerBody: {
7
+ inRange: string;
8
+ firstDayInRangeWrapper: string;
9
+ lastDayInRangeWrapper: string;
10
+ separator: string;
11
+ };
7
12
  export declare const rangeDatePickerPresets: RangeDatePickerPresets;
8
- export interface RangeDatePickerValue {
9
- from: string | null;
10
- to: string | null;
11
- }
12
- interface RangeDatePickerBodyState {
13
- activePart: PickerPart;
14
- }
15
- type InputType = 'from' | 'to';
16
- export interface RangeDatePickerBodyProps<T> extends DatePickerBodyBaseOptions, IEditable<PickerBodyValue<T>> {
17
- focusPart: InputType;
13
+ export interface RangeDatePickerBodyProps<T> extends CommonDatePickerBodyProps, IControlled<RangeDatePickerBodyValue<T>> {
18
14
  renderFooter?(): React.ReactNode;
19
15
  isHoliday?: (day: Dayjs) => boolean;
20
- renderHeader?: (props: IEditable<PickerBodyValue<string>>) => React.ReactNode;
21
- }
22
- export declare class RangeDatePickerBody extends React.Component<RangeDatePickerBodyProps<RangeDatePickerValue>, RangeDatePickerBodyState> {
23
- state: RangeDatePickerBodyState;
24
- getDayCX: (day: Dayjs) => string[];
25
- getRange(selectedDate: string): RangeDatePickerValue;
26
- setSelectedDate(selectedDate: string): void;
27
- setDisplayedDateAndView(displayedDate: Dayjs, view: ViewType, part: PickerPart): void;
28
- getFromValue: () => PickerBodyValue<string>;
29
- getToValue: () => PickerBodyValue<string>;
30
- renderPresets: (presets: RangeDatePickerPresets) => JSX.Element;
31
- renderDatePicker: () => JSX.Element;
32
- render(): JSX.Element;
33
16
  }
34
- export {};
17
+ export declare const RangeDatePickerBody: React.ForwardRefExoticComponent<RangeDatePickerBodyProps<RangeDatePickerValue> & React.RefAttributes<HTMLDivElement>>;
35
18
  //# sourceMappingURL=RangeDatePickerBody.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RangeDatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePickerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAc,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,EAAqB,SAAS,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACtF,OAAO,EACH,yBAAyB,EAAyB,eAAe,EAAe,QAAQ,EAC3F,MAAM,sBAAsB,CAAC;AAQ9B,wBAAgB,SAAS,CAAC,aAAa,EAAE,KAAK,UAO7C;AASD,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9C,eAAO,MAAM,sBAAsB,EAAE,sBAiCpC,CAAC;AAEF,MAAM,WAAW,oBAAoB;IAIjC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAIpB,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB;AAED,UAAU,wBAAwB;IAI9B,UAAU,EAAE,UAAU,CAAC;CAC1B;AAKD,KAAK,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC;AAE/B,MAAM,WAAW,wBAAwB,CAAC,CAAC,CAAE,SAAQ,yBAAyB,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IACzG,SAAS,EAAE,SAAS,CAAC;IACrB,YAAY,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,OAAO,CAAC;IACpC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;CACjF;AAED,qBAAa,mBAAoB,SAAQ,KAAK,CAAC,SAAS,CAAC,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,wBAAwB,CAAC;IAC9H,KAAK,EAAE,wBAAwB,CAE7B;IAEF,QAAQ,QAAS,KAAK,KAAG,MAAM,EAAE,CAiB/B;IAEF,QAAQ,CAAC,YAAY,EAAE,MAAM;IA+B7B,eAAe,CAAC,YAAY,EAAE,MAAM;IAapC,uBAAuB,CAAC,aAAa,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU;IAU9E,YAAY,QAAO,gBAAgB,MAAM,CAAC,CAMxC;IAEF,UAAU,QAAO,gBAAgB,MAAM,CAAC,CAMtC;IAEF,aAAa,YAAa,sBAAsB,iBAkB9C;IAEF,gBAAgB,oBA0Cd;IAEF,MAAM;CAOT"}
1
+ {"version":3,"file":"RangeDatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePickerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,KAAK,EAAY,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAM,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAC6B,sBAAsB,EACzD,MAAM,sBAAsB,CAAC;AAO9B,OAAO,EACH,yBAAyB,EACC,oBAAoB,EAAE,wBAAwB,EAC3E,MAAM,SAAS,CAAC;AAGjB,eAAO,MAAM,sBAAsB;;;;;CAKlC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,sBAiEpC,CAAC;AAEF,MAAM,WAAW,wBAAwB,CAAC,CAAC,CAAE,SAAQ,yBAAyB,EAAE,WAAW,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC;IACpH,YAAY,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,OAAO,CAAC;CACvC;AAED,eAAO,MAAM,mBAAmB,uHAAsC,CAAC"}
@@ -0,0 +1,43 @@
1
+ import React from 'react';
2
+ import { IEditable, IHasCX, IClickable, IHasRawProps } from '@epam/uui-core';
3
+ import { RangeDatePickerInputType, RangeDatePickerProps, RangeDatePickerValue } from './types';
4
+ /**
5
+ * Represents RangeDatePickerInputProps
6
+ */
7
+ export interface RangeDatePickerInputProps extends IEditable<RangeDatePickerValue>, IHasCX, IClickable, Pick<RangeDatePickerProps, 'getPlaceholder' | 'disableClear' | 'filter' | 'id' | 'format'> {
8
+ /**
9
+ * Defines component size.
10
+ */
11
+ size?: '24' | '30' | '36' | '42' | '48';
12
+ /**
13
+ * rawProps as HTML attributes
14
+ */
15
+ rawProps?: {
16
+ /**
17
+ * Any HTML attributes (native or 'data-') to put on 'from' input
18
+ */
19
+ from?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
20
+ /**
21
+ * Any HTML attributes (native or 'data-') to put on 'to' input
22
+ */
23
+ to?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
24
+ };
25
+ /**
26
+ * Currently setting date
27
+ */
28
+ inFocus: RangeDatePickerInputType;
29
+ /**
30
+ * Handles focus event on input element
31
+ */
32
+ onFocusInput: (event: React.FocusEvent<HTMLInputElement>, inputType: RangeDatePickerInputType) => void;
33
+ /**
34
+ * Handles blur event on input element
35
+ */
36
+ onBlurInput?: (event: React.FocusEvent<HTMLInputElement, Element>, inputType: RangeDatePickerInputType) => void;
37
+ /**
38
+ * Handles blur event on root element
39
+ */
40
+ onBlur?: (event: React.FocusEvent<HTMLDivElement>) => void;
41
+ }
42
+ export declare const RangeDatePickerInput: React.ForwardRefExoticComponent<RangeDatePickerInputProps & React.RefAttributes<HTMLDivElement>>;
43
+ //# sourceMappingURL=RangeDatePickerInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RangeDatePickerInput.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePickerInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAEN,MAAM,OAAO,CAAC;AAEf,OAAO,EACH,SAAS,EAAc,MAAM,EAAE,UAAU,EAAE,YAAY,EAC1D,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACH,wBAAwB,EAAE,oBAAoB,EAAE,oBAAoB,EACvE,MAAM,SAAS,CAAC;AAQjB;;GAEG;AACH,MAAM,WAAW,yBACb,SAAQ,SAAS,CAAC,oBAAoB,CAAC,EACvC,MAAM,EACN,UAAU,EACV,IAAI,CAAC,oBAAoB,EAAE,gBAAgB,GAAG,cAAc,GAAG,QAAQ,GAAG,IAAI,GAAG,QAAQ,CAAC;IAC1F;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAExC;;OAEG;IACH,QAAQ,CAAC,EAAE;QACP;;WAEG;QACH,IAAI,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;QACtE;;WAEG;QACH,EAAE,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;KACvE,CAAC;IACF;;OAEG;IACH,OAAO,EAAE,wBAAwB,CAAC;IAClC;;MAEE;IACF,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,EAAE,SAAS,EAAE,wBAAwB,KAAK,IAAI,CAAC;IACvG;;KAEC;IACD,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,EAAE,OAAO,CAAC,EAAE,SAAS,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAChH;;KAEC;IACD,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CAC9D;AAED,eAAO,MAAM,oBAAoB,kGAiH/B,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { Dayjs } from '../../helpers/dayJsHelper';
2
+ import { RangeDatePickerInputType, RangeDatePickerValue } from './types';
3
+ export declare const defaultFormat = "MMM D, YYYY";
4
+ export declare const valueFormat = "YYYY-MM-DD";
5
+ export declare const supportedDateFormats: (format?: string) => string[];
6
+ export declare const uuiDatePickerBodyBase: {
7
+ readonly container: "uui-datepicker-container";
8
+ };
9
+ export declare const getNewMonth: (value: string | Dayjs | null) => Dayjs;
10
+ export declare const defaultRangeValue: RangeDatePickerValue;
11
+ export declare const rangeIsEmpty: (range: RangeDatePickerValue) => boolean;
12
+ export declare const getValidMonth: (i: RangeDatePickerValue, focus: RangeDatePickerInputType, format: string, filter?: (day: Dayjs) => boolean) => Dayjs;
13
+ export declare const getMonthOnOpen: (selectedDate: RangeDatePickerValue, focus: RangeDatePickerInputType) => Dayjs;
14
+ export declare const isValidDate: (input: string | null, format: string, filter?: (day: Dayjs) => boolean) => boolean | undefined;
15
+ export declare const isValidRange: (range: RangeDatePickerValue) => boolean;
16
+ export declare const getWithFrom: (selectedDate: RangeDatePickerValue, newValue: string | null) => {
17
+ from: string;
18
+ to: string;
19
+ };
20
+ export declare const getWithTo: (selectedDate: RangeDatePickerValue, newValue: string | null) => {
21
+ from: string;
22
+ to: string;
23
+ };
24
+ export declare const toValueDateRangeFormat: (value: RangeDatePickerValue, format?: string) => RangeDatePickerValue;
25
+ export declare const toCustomDateRangeFormat: (value: RangeDatePickerValue, format?: string) => RangeDatePickerValue;
26
+ export declare const toValueDateFormat: (value: string | null, format?: string) => string | null;
27
+ export declare const toCustomDateFormat: (value: string | null, format?: string) => string | null;
28
+ export declare const getPrevMonth: (currentDate: Dayjs) => Dayjs;
29
+ export declare const getNextMonth: (currentDate: Dayjs) => Dayjs;
30
+ export declare const getPrevYear: (currentDate: Dayjs) => Dayjs;
31
+ export declare const getNextYear: (currentDate: Dayjs) => Dayjs;
32
+ export declare const getPrevYearsList: (currentDate: Dayjs) => Dayjs;
33
+ export declare const getNextYearsList: (currentDate: Dayjs) => Dayjs;
34
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../components/datePickers/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEzE,eAAO,MAAM,aAAa,gBAAgB,CAAC;AAC3C,eAAO,MAAM,WAAW,eAAe,CAAC;AAExC,eAAO,MAAM,oBAAoB,YAAa,MAAM,aAInD,CAAC;AAEF,eAAO,MAAM,qBAAqB;;CAExB,CAAC;AAEX,eAAO,MAAM,WAAW,UAAW,MAAM,GAAG,KAAK,GAAG,IAAI,UAEvD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,oBAG/B,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,oBAAoB,YAEvD,CAAC;AAEF,eAAO,MAAM,aAAa,MAAO,oBAAoB,SAAS,wBAAwB,UAAU,MAAM,iBAAiB,KAAK,KAAK,OAAO,UAUvI,CAAC;AAEF,eAAO,MAAM,cAAc,iBAAkB,oBAAoB,SAAS,wBAAwB,UASjG,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,MAAM,GAAG,IAAI,UAAU,MAAM,iBAAgB,KAAK,KAAK,OAAO,KAAG,OAAO,GAAG,SAG7G,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,oBAAoB,YAMvD,CAAC;AAEF,eAAO,MAAM,WAAW,iBAAkB,oBAAoB,YAAY,MAAM,GAAG,IAAI;;;CActF,CAAC;AAEF,eAAO,MAAM,SAAS,iBAAiB,oBAAoB,YAAY,MAAM,GAAG,IAAI;;;CAoBnF,CAAC;AAEF,eAAO,MAAM,sBAAsB,UAAW,oBAAoB,WAAW,MAAM,KAAG,oBAWrF,CAAC;AAEF,eAAO,MAAM,uBAAuB,UAAW,oBAAoB,WAAW,MAAM,KAAG,oBAYtF,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAAW,MAAM,GAAG,IAAI,WAAW,MAAM,KAAG,MAAM,GAAG,IAElF,CAAC;AAEF,eAAO,MAAM,kBAAkB,UAAW,MAAM,GAAG,IAAI,WAAW,MAAM,KAAG,MAAM,GAAG,IAInF,CAAC;AAEF,eAAO,MAAM,YAAY,gBAAiB,KAAK,UAE9C,CAAC;AAEF,eAAO,MAAM,YAAY,gBAAiB,KAAK,UAE9C,CAAC;AAEF,eAAO,MAAM,WAAW,gBAAiB,KAAK,UAE7C,CAAC;AAEF,eAAO,MAAM,WAAW,gBAAiB,KAAK,UAE7C,CAAC;AAEF,eAAO,MAAM,gBAAgB,gBAAiB,KAAK,UAElD,CAAC;AAEF,eAAO,MAAM,gBAAgB,gBAAiB,KAAK,UAElD,CAAC"}
@@ -1,6 +1,9 @@
1
1
  export * from './DatePicker';
2
- export * from './DatePickerBody';
2
+ export { DatePickerBody, uuiDatePickerBody } from './DatePickerBody';
3
3
  export * from './Calendar';
4
+ export * from './RangeDatePickerInput';
4
5
  export * from './RangeDatePicker';
5
6
  export * from './RangeDatePickerBody';
7
+ export type { DatePickerBodyProps } from './DatePickerBody';
8
+ export type { DatePickerProps, RangeDatePickerProps, RangeDatePickerValue, RangeDatePickerBodyValue, } from './types';
6
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/datePickers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/datePickers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrE,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AAEtC,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,YAAY,EACR,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,wBAAwB,GAC3B,MAAM,SAAS,CAAC"}