@epam/uui 6.0.0-beta.0 → 6.0.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 (118) hide show
  1. package/assets/styles/inputs.scss +4 -4
  2. package/components/buttons/Button.d.ts +1 -1
  3. package/components/buttons/Button.d.ts.map +1 -1
  4. package/components/buttons/LinkButton.d.ts +2 -2
  5. package/components/buttons/LinkButton.d.ts.map +1 -1
  6. package/components/buttons/TabButton.d.ts +2 -2
  7. package/components/buttons/TabButton.d.ts.map +1 -1
  8. package/components/datePickers/DatePicker.d.ts +48 -3
  9. package/components/datePickers/DatePicker.d.ts.map +1 -1
  10. package/components/datePickers/DatePickerBody.d.ts +2 -2
  11. package/components/datePickers/DatePickerBody.d.ts.map +1 -1
  12. package/components/datePickers/RangeDatePicker.d.ts +68 -3
  13. package/components/datePickers/RangeDatePicker.d.ts.map +1 -1
  14. package/components/datePickers/RangeDatePickerBody.d.ts +5 -6
  15. package/components/datePickers/RangeDatePickerBody.d.ts.map +1 -1
  16. package/components/datePickers/RangeDatePickerInput.d.ts +4 -7
  17. package/components/datePickers/RangeDatePickerInput.d.ts.map +1 -1
  18. package/components/datePickers/index.d.ts +1 -1
  19. package/components/datePickers/index.d.ts.map +1 -1
  20. package/components/datePickers/types.d.ts +9 -109
  21. package/components/datePickers/types.d.ts.map +1 -1
  22. package/components/fileUpload/FileCard.d.ts +2 -2
  23. package/components/fileUpload/FileCard.d.ts.map +1 -1
  24. package/components/fileUpload/SvgCircleProgress.d.ts +2 -2
  25. package/components/fileUpload/SvgCircleProgress.d.ts.map +1 -1
  26. package/components/filters/FilterNumericBody.d.ts.map +1 -1
  27. package/components/filters/FilterPanelItemToggler.d.ts +5 -4
  28. package/components/filters/FilterPanelItemToggler.d.ts.map +1 -1
  29. package/components/filters/FilterPickerBody.d.ts +1 -1
  30. package/components/filters/FilterPickerBody.d.ts.map +1 -1
  31. package/components/filters/FilterRangeDatePickerBody.d.ts +1 -1
  32. package/components/filters/FilterRangeDatePickerBody.d.ts.map +1 -1
  33. package/components/filters/FiltersPanel.d.ts +1 -1
  34. package/components/filters/FiltersPanel.d.ts.map +1 -1
  35. package/components/filters/FiltersPanelItem.d.ts.map +1 -1
  36. package/components/filters/PresetPanel/Preset.d.ts +1 -1
  37. package/components/filters/PresetPanel/Preset.d.ts.map +1 -1
  38. package/components/filters/PresetPanel/PresetActionsDropdown.d.ts +1 -1
  39. package/components/filters/PresetPanel/PresetActionsDropdown.d.ts.map +1 -1
  40. package/components/filters/PresetPanel/PresetInput.d.ts +1 -1
  41. package/components/filters/PresetPanel/PresetInput.d.ts.map +1 -1
  42. package/components/filters/PresetPanel/PresetsPanel.d.ts +1 -1
  43. package/components/filters/PresetPanel/PresetsPanel.d.ts.map +1 -1
  44. package/components/filters/constants.d.ts +4 -0
  45. package/components/filters/constants.d.ts.map +1 -1
  46. package/components/inputs/MultiSwitch.d.ts +3 -3
  47. package/components/inputs/MultiSwitch.d.ts.map +1 -1
  48. package/components/inputs/Switch.d.ts +1 -1
  49. package/components/inputs/Switch.d.ts.map +1 -1
  50. package/components/inputs/TextInput.d.ts +2 -2
  51. package/components/inputs/TextInput.d.ts.map +1 -1
  52. package/components/inputs/timePicker/TimePicker.d.ts +3 -2
  53. package/components/inputs/timePicker/TimePicker.d.ts.map +1 -1
  54. package/components/layout/FlexItems/FlexRow.d.ts +1 -1
  55. package/components/layout/FlexItems/FlexRow.d.ts.map +1 -1
  56. package/components/layout/FlexItems/Panel.d.ts +1 -1
  57. package/components/layout/VirtualList.d.ts +3 -2
  58. package/components/layout/VirtualList.d.ts.map +1 -1
  59. package/components/navigation/Anchor.d.ts +1 -1
  60. package/components/navigation/Anchor.d.ts.map +1 -1
  61. package/components/navigation/MainMenu/Burger/BurgerButton.d.ts +1 -1
  62. package/components/navigation/MainMenu/GlobalMenu.d.ts +2 -2
  63. package/components/navigation/MainMenu/GlobalMenu.d.ts.map +1 -1
  64. package/components/navigation/MainMenu/MainMenuAvatar.d.ts +2 -2
  65. package/components/navigation/MainMenu/MainMenuAvatar.d.ts.map +1 -1
  66. package/components/navigation/MainMenu/MainMenuButton.d.ts +7 -2
  67. package/components/navigation/MainMenu/MainMenuButton.d.ts.map +1 -1
  68. package/components/navigation/MainMenu/MainMenuIcon.d.ts +8 -2
  69. package/components/navigation/MainMenu/MainMenuIcon.d.ts.map +1 -1
  70. package/components/navigation/MainMenu/MainMenuSearch.d.ts +2 -2
  71. package/components/navigation/MainMenu/MainMenuSearch.d.ts.map +1 -1
  72. package/components/overlays/Alert.d.ts +6 -6
  73. package/components/overlays/Alert.d.ts.map +1 -1
  74. package/components/overlays/DropdownMenu.d.ts +2 -2
  75. package/components/overlays/DropdownMenu.d.ts.map +1 -1
  76. package/components/overlays/NotificationCard.d.ts +7 -7
  77. package/components/overlays/NotificationCard.d.ts.map +1 -1
  78. package/components/overlays/Tooltip.d.ts +4 -1
  79. package/components/overlays/Tooltip.d.ts.map +1 -1
  80. package/components/pickers/DataPickerBody.d.ts +1 -2
  81. package/components/pickers/DataPickerBody.d.ts.map +1 -1
  82. package/components/pickers/DataPickerFooter.d.ts +1 -0
  83. package/components/pickers/DataPickerFooter.d.ts.map +1 -1
  84. package/components/pickers/DataPickerRow.d.ts.map +1 -1
  85. package/components/pickers/PickerInput.d.ts +6 -3
  86. package/components/pickers/PickerInput.d.ts.map +1 -1
  87. package/components/pickers/PickerToggler.d.ts +4 -1
  88. package/components/pickers/PickerToggler.d.ts.map +1 -1
  89. package/components/pickers/PickerTogglerTag.d.ts +1 -1
  90. package/components/pickers/PickerTogglerTag.d.ts.map +1 -1
  91. package/components/tables/ColumnHeaderDropdown/ColumnHeaderDropdown.d.ts.map +1 -1
  92. package/components/tables/DataRowsContainer/DataRowsContainer.d.ts +2 -2
  93. package/components/tables/DataRowsContainer/DataRowsContainer.d.ts.map +1 -1
  94. package/components/tables/DataRowsContainer/DataRowsGroups.d.ts +2 -2
  95. package/components/tables/DataRowsContainer/DataRowsGroups.d.ts.map +1 -1
  96. package/components/tables/DataTableCell.d.ts.map +1 -1
  97. package/components/widgets/Badge.d.ts +2 -2
  98. package/components/widgets/Badge.d.ts.map +1 -1
  99. package/components/widgets/CountIndicator.d.ts +2 -2
  100. package/components/widgets/CountIndicator.d.ts.map +1 -1
  101. package/components/widgets/IndeterminateBar.d.ts +2 -2
  102. package/components/widgets/IndeterminateBar.d.ts.map +1 -1
  103. package/components/widgets/IndicatorBar.d.ts +2 -2
  104. package/components/widgets/IndicatorBar.d.ts.map +1 -1
  105. package/components/widgets/StatusIndicator.d.ts +16 -3
  106. package/components/widgets/StatusIndicator.d.ts.map +1 -1
  107. package/components/widgets/Tag.d.ts +1 -1
  108. package/components/widgets/Tag.d.ts.map +1 -1
  109. package/index.esm.js +1308 -1328
  110. package/index.esm.js.map +1 -1
  111. package/index.js +1306 -1324
  112. package/index.js.map +1 -1
  113. package/package.json +7 -8
  114. package/settings.d.ts +40 -4
  115. package/settings.d.ts.map +1 -1
  116. package/stats.html +1 -1
  117. package/styles.css +1702 -1616
  118. package/styles.css.map +1 -1
@@ -1,5 +1,5 @@
1
1
  @mixin disabled-input() {
2
- &.mode-form {
2
+ &:global(.uui-control-mode-form) {
3
3
  cursor: default;
4
4
  @include input-colors(var(--uui-control-bg-disabled), var(--uui-control-text-disabled), var(--uui-control-border-disabled), var(--uui-control-placeholder-disabled));
5
5
 
@@ -9,7 +9,7 @@
9
9
  }
10
10
  }
11
11
 
12
- &.mode-cell {
12
+ &:global(.uui-control-mode-cell) {
13
13
  cursor: default;
14
14
  @include input-colors(transparent, var(--uui-control-text-disabled), transparent, var(--uui-control-placeholder-disabled));
15
15
 
@@ -21,7 +21,7 @@
21
21
  }
22
22
 
23
23
  @mixin readonly-input() {
24
- &.mode-form {
24
+ &:global(.uui-control-mode-form) {
25
25
  background-color: var(--uui-control-bg-disabled);
26
26
  border-color: var(--uui-control-border-disabled);
27
27
 
@@ -36,7 +36,7 @@
36
36
  }
37
37
  }
38
38
 
39
- &.mode-cell {
39
+ &:global(.uui-control-mode-cell) {
40
40
  background-color: transparent;
41
41
  border-color: transparent;
42
42
 
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import * as uuiComponents from '@epam/uui-components';
3
- import { Overwrite } from '@epam/uui-core';
3
+ import type { Overwrite } from '@epam/uui-core';
4
4
  import type { ControlSize } from '../types';
5
5
  type ButtonMods = {
6
6
  /**
@@ -1 +1 @@
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,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAI5C,KAAK,UAAU,GAAG;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,WAAW,GAAG,IAAI,CAAC;IACjC;;;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
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../components/buttons/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAI5C,KAAK,UAAU,GAAG;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,WAAW,GAAG,IAAI,CAAC;IACjC;;;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"}
@@ -15,7 +15,7 @@ interface LinkButtonMods {
15
15
  size?: types.ControlSize | '42';
16
16
  }
17
17
  /** Represents the Core properties of the LinkButton component. */
18
- export interface LinkButtonCoreProps extends ClickableComponentProps, IDropdownToggler, IHasIcon, IHasCaption, React.RefAttributes<HTMLButtonElement | HTMLAnchorElement> {
18
+ export interface LinkButtonCoreProps extends ClickableComponentProps, IDropdownToggler, IHasIcon, IHasCaption {
19
19
  /** Icon for drop-down toggler */
20
20
  dropdownIcon?: Icon;
21
21
  /**
@@ -33,6 +33,6 @@ export interface LinkButtonModsOverride {
33
33
  /** Represents the properties of the LinkButton component. */
34
34
  export interface LinkButtonProps extends LinkButtonCoreProps, Overwrite<LinkButtonMods, LinkButtonModsOverride> {
35
35
  }
36
- export declare function LinkButton(props: LinkButtonProps): React.JSX.Element;
36
+ export declare const LinkButton: React.ForwardRefExoticComponent<LinkButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
37
37
  export {};
38
38
  //# 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;AAE/B,OAAO,EAAE,IAAI,EAAa,gBAAgB,EAAE,WAAW,EAAE,QAAQ,EAAc,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACjH,OAAO,EAAa,uBAAuB,EAAiB,MAAM,sBAAsB,CAAC;AAEzF,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAOlC,UAAU,cAAc;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,GAAG,UAAU,CAAC;IAE/E;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC;CACnC;AAED,kEAAkE;AAClE,MAAM,WAAW,mBAAoB,SAAQ,uBAAuB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,WAAW,EACzG,KAAK,CAAC,aAAa,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC1D,iCAAiC;IACjC,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB;;;OAGG;IACH,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CAClC;AAED,MAAM,WAAW,sBAAsB;CAAG;AAE1C,6DAA6D;AAC7D,MAAM,WAAW,eAAgB,SAAQ,mBAAmB,EAAE,SAAS,CAAC,cAAc,EAAE,sBAAsB,CAAC;CAAG;AAElH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,qBAoDhD"}
1
+ {"version":3,"file":"LinkButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/LinkButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,IAAI,EAAa,gBAAgB,EAAE,WAAW,EAAE,QAAQ,EAAc,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACjH,OAAO,EAAa,uBAAuB,EAAiB,MAAM,sBAAsB,CAAC;AAEzF,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAOlC,UAAU,cAAc;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,GAAG,UAAU,CAAC;IAE/E;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC;CACnC;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,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CAClC;AAED,MAAM,WAAW,sBAAsB;CAAG;AAE1C,6DAA6D;AAC7D,MAAM,WAAW,eAAgB,SAAQ,mBAAmB,EAAE,SAAS,CAAC,cAAc,EAAE,sBAAsB,CAAC;CAAG;AAElH,eAAO,MAAM,UAAU,+GAoDrB,CAAC"}
@@ -13,7 +13,7 @@ type TabButtonMods = {
13
13
  export interface TabButtonModsOverride {
14
14
  }
15
15
  /** Represents the properties of a TabButton component. */
16
- export interface TabButtonProps extends Overwrite<TabButtonMods, TabButtonModsOverride>, ClickableComponentProps, IDropdownToggler, IHasIcon, IHasCaption, React.RefAttributes<HTMLButtonElement | HTMLAnchorElement> {
16
+ export interface TabButtonProps extends Overwrite<TabButtonMods, TabButtonModsOverride>, ClickableComponentProps, IDropdownToggler, IHasIcon, IHasCaption {
17
17
  /** Call to clear toggler value */
18
18
  onClear?(e?: any): void;
19
19
  /** Icon for clear value button (usually cross) */
@@ -23,6 +23,6 @@ export interface TabButtonProps extends Overwrite<TabButtonMods, TabButtonModsOv
23
23
  /** Count value to be placed in component */
24
24
  count?: React.ReactNode;
25
25
  }
26
- export declare function TabButton(props: TabButtonProps): React.JSX.Element;
26
+ export declare const TabButton: React.ForwardRefExoticComponent<TabButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLSpanElement>>;
27
27
  export {};
28
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,EAAM,IAAI,EAAE,gBAAgB,EAAE,WAAW,EAAE,QAAQ,EAA0B,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACtH,OAAO,EAAa,uBAAuB,EAAiB,MAAM,sBAAsB,CAAC;AAOzF,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,EACxI,WAAW,EAAE,KAAK,CAAC,aAAa,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IACvE,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,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,qBAsD9C"}
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;AAOzF,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,gIAsDpB,CAAC"}
@@ -1,4 +1,49 @@
1
- import React from 'react';
2
- import { DatePickerProps } from './types';
3
- export declare function DatePicker(props: DatePickerProps & React.RefAttributes<HTMLElement>): React.JSX.Element;
1
+ import React, { ReactElement, ReactNode } from 'react';
2
+ import { Overwrite, CommonDatePickerProps, ICanFocus, IEditable, IAnalyticableOnChange, IHasPlaceholder, IHasRawProps } from '@epam/uui-core';
3
+ import { DayProps } from '@epam/uui-components';
4
+ import { IHasEditMode } from '../types';
5
+ type DatePickerMods = {
6
+ /**
7
+ * Defines component size.
8
+ * @default '36'
9
+ */
10
+ size?: '24' | '30' | '36' | '42' | '48';
11
+ };
12
+ export interface DatePickerModsOverride {
13
+ }
14
+ /**
15
+ * Represents the properties of the DatePicker component
16
+ */
17
+ export interface DatePickerProps extends Overwrite<DatePickerMods, DatePickerModsOverride>, CommonDatePickerProps, IHasEditMode, ICanFocus<HTMLInputElement>, IEditable<string | null>, IAnalyticableOnChange<string>, IHasPlaceholder {
18
+ /**
19
+ * Defines where to place calendar icon
20
+ */
21
+ iconPosition?: 'left' | 'right';
22
+ /**
23
+ * Render prop to add a custom footer inside the DatePicker dropdown body
24
+ */
25
+ renderFooter?(): ReactNode;
26
+ /**
27
+ * Overrides rendering of the single day. For example, to highlight certain days
28
+ */
29
+ renderDay?: (renderProps: DayProps) => ReactElement<Element>;
30
+ /**
31
+ * Any HTML attributes (native or 'data-') to put on date picker parts
32
+ */
33
+ rawProps?: {
34
+ /**
35
+ * Any HTML attributes (native or 'data-') to put on date picker input
36
+ */
37
+ input?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
38
+ /**
39
+ * Any HTML attributes (native or 'data-') to put on date picker body
40
+ */
41
+ body?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
42
+ };
43
+ }
44
+ export declare function DatePickerComponent(props: DatePickerProps, ref: React.ForwardedRef<HTMLElement>): React.JSX.Element;
45
+ export declare const DatePicker: (props: DatePickerProps & {
46
+ ref?: React.ForwardedRef<HTMLElement>;
47
+ }) => ReturnType<typeof DatePickerComponent>;
48
+ export {};
4
49
  //# sourceMappingURL=DatePicker.d.ts.map
@@ -1 +1 @@
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;AA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CAAC,CAAC;QACvE;;WAEG;QACH,IAAI,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;KACzE,CAAC;CACL;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,eAAe,EAAE,GAAG,EAAE,KAAK,CAAC,YAAY,CAAC,WAAW,CAAC,qBAkH/F;AAED,eAAO,MAAM,UAAU,UACX,eAAe,GAAG;IAAE,GAAG,CAAC,EAAE,MAAM,YAAY,CAAC,WAAW,CAAC,CAAA;CAAE,KAAK,WAAW,0BAA0B,CAAC,CAAC"}
@@ -11,7 +11,7 @@ export interface DatePickerBodyProps extends CommonDatePickerBodyProps, IControl
11
11
  export declare const uuiDatePickerBody: {
12
12
  readonly wrapper: "uui-datepicker-body-wrapper";
13
13
  };
14
- export declare function DatePickerBody(props: DatePickerBodyProps & React.RefAttributes<HTMLDivElement>): React.JSX.Element;
14
+ export declare const DatePickerBody: React.ForwardRefExoticComponent<DatePickerBodyProps & React.RefAttributes<HTMLDivElement>>;
15
15
  export interface StatelessDatePickerBodyValue<TSelection> {
16
16
  value: TSelection | null;
17
17
  month: Dayjs;
@@ -23,5 +23,5 @@ export interface StatelessDatePickerBodyProps extends CommonDatePickerBodyProps,
23
23
  onViewChange: (v: ViewType) => void;
24
24
  isHoliday?: (day: Dayjs) => boolean;
25
25
  }
26
- export declare function StatelessDatePickerBody({ renderDay, isHoliday, cx: classes, filter, rawProps, value, month, view, onValueChange, onMonthChange, onViewChange, isDisabled, ref, }: StatelessDatePickerBodyProps & React.RefAttributes<HTMLDivElement>): React.JSX.Element;
26
+ export declare const StatelessDatePickerBody: React.ForwardRefExoticComponent<StatelessDatePickerBodyProps & React.RefAttributes<HTMLDivElement>>;
27
27
  //# sourceMappingURL=DatePickerBody.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePickerBody.tsx"],"names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aAAa,CAAC,cAAc,CAAC,qBA0EpE"}
1
+ {"version":3,"file":"DatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePickerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,EACH,WAAW,EAEd,MAAM,gBAAgB,CAAC;AAIxB,OAAO,EAAE,yBAAyB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAI9D,OAAO,EAAE,KAAK,EAAY,MAAM,2BAA2B,CAAC;AAK5D,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;;CAEpB,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,4 +1,69 @@
1
- import React from 'react';
2
- import { RangeDatePickerProps } from './types';
3
- export declare function RangeDatePicker(props: RangeDatePickerProps & React.RefAttributes<HTMLElement>): React.JSX.Element;
1
+ import React, { ReactElement, ReactNode, type JSX } from 'react';
2
+ import type { CommonDatePickerProps, RangeDatePickerPresets, IAnalyticableOnChange, IEditable, IHasRawProps, Overwrite } from '@epam/uui-core';
3
+ import { DayProps } from '@epam/uui-components';
4
+ import type { RangeDatePickerInputType, RangeDatePickerValue } from './types';
5
+ export interface RangeDatePickerModsOverride {
6
+ }
7
+ type RangeDatePickerMods = {
8
+ /**
9
+ * Defines component size.
10
+ */
11
+ size?: '24' | '30' | '36' | '42' | '48';
12
+ };
13
+ /**
14
+ * Represents the properties of the RangeDatePicker component
15
+ */
16
+ export interface RangeDatePickerProps extends Overwrite<RangeDatePickerMods, RangeDatePickerModsOverride>, IEditable<RangeDatePickerValue | null>, IAnalyticableOnChange<RangeDatePickerValue | null>, CommonDatePickerProps {
17
+ /**
18
+ * Range presets (like 'this week', 'this month', etc.) to display at the right of the Picker's body.
19
+ * UUI provides defaults in the 'rangeDatePickerPresets' exported variable - you can use it as is, or build on top of it (e.g. add your presets)
20
+ */
21
+ presets?: RangeDatePickerPresets;
22
+ /**
23
+ * Allows to add a custom footer to the Picker's dropdown body
24
+ */
25
+ renderFooter?(value: RangeDatePickerValue): ReactNode;
26
+ /**
27
+ * Called when component gets input focus
28
+ */
29
+ onFocus?: (e: React.FocusEvent<HTMLInputElement>, inputType: RangeDatePickerInputType) => void;
30
+ /**
31
+ * Called when component looses input focus
32
+ */
33
+ onBlur?: (e: React.FocusEvent<HTMLInputElement>, inputType: RangeDatePickerInputType) => void;
34
+ /**
35
+ * Called when component is opened/closed
36
+ */
37
+ onOpenChange?: (isOpen: boolean) => void;
38
+ /**
39
+ * A pure function that gets placeholder for 'from' or 'to' input.
40
+ */
41
+ getPlaceholder?(type: RangeDatePickerInputType): string;
42
+ /**
43
+ * Overrides rendering of the single day. For example, to highlight certain days
44
+ */
45
+ renderDay?: (renderProps: DayProps) => ReactElement<Element>;
46
+ /**
47
+ * rawProps as HTML attributes
48
+ */
49
+ rawProps?: {
50
+ /**
51
+ * Any HTML attributes (native or 'data-') to put on 'from' input
52
+ */
53
+ from?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
54
+ /**
55
+ * Any HTML attributes (native or 'data-') to put on 'to' input
56
+ */
57
+ to?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
58
+ /**
59
+ * Any HTML attributes (native or 'data-') to put on date picker body
60
+ */
61
+ body?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
62
+ };
63
+ }
64
+ declare function RangeDatePickerComponent(props: RangeDatePickerProps, ref: React.ForwardedRef<HTMLElement>): JSX.Element;
65
+ export declare const RangeDatePicker: (props: RangeDatePickerProps & {
66
+ ref?: React.ForwardedRef<HTMLElement>;
67
+ }) => ReturnType<typeof RangeDatePickerComponent>;
68
+ export {};
4
69
  //# sourceMappingURL=RangeDatePicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RangeDatePicker.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAUxC,OAAO,EAAsD,oBAAoB,EAAwB,MAAM,SAAS,CAAC;AAWzH,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,qBAuH7F"}
1
+ {"version":3,"file":"RangeDatePicker.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,SAAS,EAAiC,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAGhG,OAAO,KAAK,EACR,qBAAqB,EAAE,sBAAsB,EAC1B,qBAAqB,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAC/E,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,QAAQ,EAAY,MAAM,sBAAsB,CAAC;AAK1D,OAAO,KAAK,EAER,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ACH,EAAE,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;QACpE;;WAEG;QACH,IAAI,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;KACzE,CAAC;CACL;AAED,iBAAS,wBAAwB,CAAC,KAAK,EAAE,oBAAoB,EAAE,GAAG,EAAE,KAAK,CAAC,YAAY,CAAC,WAAW,CAAC,GAAG,GAAG,CAAC,OAAO,CA6HhH;AAED,eAAO,MAAM,eAAe,UAChB,oBAAoB,GAAG;IAAE,GAAG,CAAC,EAAE,MAAM,YAAY,CAAC,WAAW,CAAC,CAAA;CAAE,KAAK,WAAW,+BAA+B,CAAC,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
- import { IControlled } from '@epam/uui-core';
3
- import { RangeDatePickerPresets } from '@epam/uui-components';
4
- import { Dayjs } from '../../helpers/dayJsHelper';
5
- import { CommonDatePickerBodyProps, RangeDatePickerValue, RangeDatePickerBodyValue } from './types';
2
+ import type { IControlled, RangeDatePickerPresets } from '@epam/uui-core';
3
+ import type { Dayjs } from '../../helpers/dayJsHelper';
4
+ import type { CommonDatePickerBodyProps, RangeDatePickerValue, RangeDatePickerBodyValue } from './types';
6
5
  export declare const uuiRangeDatePickerBody: {
7
6
  inRange: string;
8
7
  firstDayInRangeWrapper: string;
@@ -10,9 +9,9 @@ export declare const uuiRangeDatePickerBody: {
10
9
  separator: string;
11
10
  };
12
11
  export declare const rangeDatePickerPresets: RangeDatePickerPresets;
13
- export interface RangeDatePickerBodyProps<T> extends CommonDatePickerBodyProps, IControlled<RangeDatePickerBodyValue<T>>, React.RefAttributes<HTMLDivElement> {
12
+ export interface RangeDatePickerBodyProps<T> extends CommonDatePickerBodyProps, IControlled<RangeDatePickerBodyValue<T>> {
14
13
  renderFooter?(): React.ReactNode;
15
14
  isHoliday?: (day: Dayjs) => boolean;
16
15
  }
17
- export declare function RangeDatePickerBody(props: RangeDatePickerBodyProps<RangeDatePickerValue | null>): React.JSX.Element;
16
+ export declare const RangeDatePickerBody: React.ForwardRefExoticComponent<RangeDatePickerBodyProps<RangeDatePickerValue> & React.RefAttributes<HTMLDivElement>>;
18
17
  //# sourceMappingURL=RangeDatePickerBody.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RangeDatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePickerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAM,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAC6B,sBAAsB,EACzD,MAAM,sBAAsB,CAAC;AAK9B,OAAO,EAAE,KAAK,EAAY,MAAM,2BAA2B,CAAC;AAI5D,OAAO,EACH,yBAAyB,EACC,oBAAoB,EAAE,wBAAwB,EAC3E,MAAM,SAAS,CAAC;AAIjB,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,EAAE,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC;IACzJ,YAAY,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,OAAO,CAAC;CACvC;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,CAAC,oBAAoB,GAAG,IAAI,CAAC,qBAqJ/F"}
1
+ {"version":3,"file":"RangeDatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePickerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,KAAK,EAAE,WAAW,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAO1E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAKvD,OAAO,KAAK,EACR,yBAAyB,EACC,oBAAoB,EAAE,wBAAwB,EAC3E,MAAM,SAAS,CAAC;AAIjB,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"}
@@ -1,14 +1,11 @@
1
1
  import React from 'react';
2
2
  import { IEditable, IHasCX, IClickable, IHasRawProps } from '@epam/uui-core';
3
- import { RangeDatePickerInputType, RangeDatePickerProps, RangeDatePickerValue } from './types';
3
+ import type { RangeDatePickerInputType, RangeDatePickerValue } from './types';
4
+ import type { RangeDatePickerProps } from './RangeDatePicker';
4
5
  /**
5
6
  * Represents RangeDatePickerInputProps
6
7
  */
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';
8
+ export interface RangeDatePickerInputProps extends IEditable<RangeDatePickerValue>, IHasCX, IClickable, Pick<RangeDatePickerProps, 'getPlaceholder' | 'disableClear' | 'filter' | 'id' | 'format' | 'size'> {
12
9
  /**
13
10
  * rawProps as HTML attributes
14
11
  */
@@ -39,5 +36,5 @@ export interface RangeDatePickerInputProps extends IEditable<RangeDatePickerValu
39
36
  */
40
37
  onKeyDown?(e: React.KeyboardEvent<HTMLDivElement>): void;
41
38
  }
42
- export declare function RangeDatePickerInput({ isDisabled, isInvalid, isReadonly, size, disableClear, rawProps, value, inFocus, format, onValueChange, onFocusInput, onBlurInput, onClick, getPlaceholder, filter, onKeyDown, id, cx: classes, ref, }: RangeDatePickerInputProps & React.RefAttributes<HTMLDivElement>): React.JSX.Element;
39
+ export declare const RangeDatePickerInput: React.ForwardRefExoticComponent<RangeDatePickerInputProps & React.RefAttributes<HTMLDivElement>>;
43
40
  //# sourceMappingURL=RangeDatePickerInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RangeDatePickerInput.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePickerInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,SAAS,EAAc,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAKzF,OAAO,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAO/F;;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;IACxC;;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;IAEhH;;OAEG;IACH,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC;CAC5D;AAED,wBAAgB,oBAAoB,CAAC,EACjC,UAAU,EACV,SAAS,EACT,UAAU,EACV,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,OAAO,EACP,MAAM,EACN,aAAa,EACb,YAAY,EACZ,WAAW,EACX,OAAO,EACP,cAAc,EACd,MAAM,EACN,SAAS,EACT,EAAE,EACF,EAAE,EAAE,OAAO,EACX,GAAG,GACN,EAAE,yBAAyB,GAAG,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,qBAuGjE"}
1
+ {"version":3,"file":"RangeDatePickerInput.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePickerInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AACzE,OAAO,EAAE,SAAS,EAAc,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAKzF,OAAO,KAAK,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC9E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAO9D;;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,GAAG,MAAM,CAAC;IACnG;;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;IAEhH;;OAEG;IACH,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC;CAC5D;AAED,eAAO,MAAM,oBAAoB,kGA2H/B,CAAC"}
@@ -5,5 +5,5 @@ export * from './RangeDatePickerInput';
5
5
  export * from './RangeDatePicker';
6
6
  export * from './RangeDatePickerBody';
7
7
  export type { DatePickerBodyProps } from './DatePickerBody';
8
- export type { DatePickerProps, RangeDatePickerProps, RangeDatePickerValue, RangeDatePickerBodyValue, } from './types';
8
+ export type { RangeDatePickerValue, RangeDatePickerBodyValue, } from './types';
9
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,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"}
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,oBAAoB,EACpB,wBAAwB,GAC3B,MAAM,SAAS,CAAC"}
@@ -1,12 +1,11 @@
1
- import { CommonDatePickerProps, IAnalyticableOnChange, ICanFocus, IDisableable, IEditable, IHasCX, IHasPlaceholder, IHasRawProps, Overwrite } from '@epam/uui-core';
2
- import { IHasEditMode } from '../types';
3
- import React, { ReactElement, ReactNode } from 'react';
4
- import { DayProps, RangeDatePickerPresets } from '@epam/uui-components';
1
+ /// <reference types="react" />
2
+ import type { IDisableable, IHasCX, IHasRawProps, RangeDatePickerPresets } from '@epam/uui-core';
3
+ import type { DayProps } from '@epam/uui-components';
5
4
  import type { Dayjs } from '../../helpers/dayJsHelper';
6
5
  /**
7
6
  * Represents RangeDatePicker value
8
7
  */
9
- type RangeDatePickerValue = {
8
+ export type RangeDatePickerValue = {
10
9
  /**
11
10
  * Defines DatePicker value 'from'.
12
11
  */
@@ -16,118 +15,20 @@ type RangeDatePickerValue = {
16
15
  */
17
16
  to: string | null;
18
17
  };
19
- export interface DatePickerModsOverride {
20
- }
21
- type DatePickerMods = {
22
- /**
23
- * Defines component size.
24
- * @default '36'
25
- */
26
- size?: '24' | '30' | '36' | '42' | '48';
27
- };
28
- /**
29
- * Represents the properties of the DatePicker component
30
- */
31
- interface DatePickerProps extends Overwrite<DatePickerMods, DatePickerModsOverride>, CommonDatePickerProps, IHasEditMode, ICanFocus<HTMLInputElement>, IEditable<string | null>, IAnalyticableOnChange<string>, IHasPlaceholder {
32
- /**
33
- * Defines where to place calendar icon
34
- */
35
- iconPosition?: 'left' | 'right';
36
- /**
37
- * Render prop to add a custom footer inside the DatePicker dropdown body
38
- */
39
- renderFooter?(): ReactNode;
40
- /**
41
- * Overrides rendering of the single day. For example, to highlight certain days
42
- */
43
- renderDay?: (renderProps: DayProps) => ReactElement<Element>;
44
- /**
45
- * Any HTML attributes (native or 'data-') to put on date picker parts
46
- */
47
- rawProps?: {
48
- /**
49
- * Any HTML attributes (native or 'data-') to put on date picker input
50
- */
51
- input?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
52
- /**
53
- * Any HTML attributes (native or 'data-') to put on date picker body
54
- */
55
- body?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
56
- };
57
- }
58
- export interface RangeDatePickerModsOverride {
59
- }
60
- type RangeDatePickerMods = {
61
- /**
62
- * Defines component size.
63
- */
64
- size?: '24' | '30' | '36' | '42' | '48';
65
- };
66
- /**
67
- * Represents the properties of the RangeDatePicker component
68
- */
69
- interface RangeDatePickerProps extends Overwrite<RangeDatePickerMods, RangeDatePickerModsOverride>, IEditable<RangeDatePickerValue | null>, IAnalyticableOnChange<RangeDatePickerValue | null>, CommonDatePickerProps {
70
- /**
71
- * Range presets (like 'this week', 'this month', etc.) to display at the right of the Picker's body.
72
- * UUI provides defaults in the 'rangeDatePickerPresets' exported variable - you can use it as is, or build on top of it (e.g. add your presets)
73
- */
74
- presets?: RangeDatePickerPresets;
75
- /**
76
- * Allows to add a custom footer to the Picker's dropdown body
77
- */
78
- renderFooter?(value: RangeDatePickerValue): ReactNode;
79
- /**
80
- * Called when component gets input focus
81
- */
82
- onFocus?: (e: React.FocusEvent<HTMLInputElement>, inputType: RangeDatePickerInputType) => void;
83
- /**
84
- * Called when component looses input focus
85
- */
86
- onBlur?: (e: React.FocusEvent<HTMLInputElement>, inputType: RangeDatePickerInputType) => void;
87
- /**
88
- * Called when component is opened/closed
89
- */
90
- onOpenChange?: (isOpen: boolean) => void;
91
- /**
92
- * A pure function that gets placeholder for 'from' or 'to' input.
93
- */
94
- getPlaceholder?(type: RangeDatePickerInputType): string;
95
- /**
96
- * Overrides rendering of the single day. For example, to highlight certain days
97
- */
98
- renderDay?: (renderProps: DayProps) => ReactElement<Element>;
99
- /**
100
- * rawProps as HTML attributes
101
- */
102
- rawProps?: {
103
- /**
104
- * Any HTML attributes (native or 'data-') to put on 'from' input
105
- */
106
- from?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
107
- /**
108
- * Any HTML attributes (native or 'data-') to put on 'to' input
109
- */
110
- to?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
111
- /**
112
- * Any HTML attributes (native or 'data-') to put on date picker body
113
- */
114
- body?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
115
- };
116
- }
117
18
  /**
118
19
  * Represents RangeDatePicker input type
119
20
  */
120
- type RangeDatePickerInputType = 'from' | 'to' | null;
121
- interface CommonDatePickerBodyProps extends IHasCX, IDisableable, IHasRawProps<React.HTMLAttributes<HTMLDivElement>> {
21
+ export type RangeDatePickerInputType = 'from' | 'to' | null;
22
+ export interface CommonDatePickerBodyProps extends IHasCX, IDisableable, IHasRawProps<React.HTMLAttributes<HTMLDivElement>> {
122
23
  filter?(day: Dayjs): boolean;
123
24
  presets?: RangeDatePickerPresets;
124
- renderDay?: (renderProps: DayProps) => React.ReactNode;
25
+ renderDay?: (renderProps: DayProps) => React.ReactElement<Element>;
125
26
  }
126
- type ViewType = 'DAY_SELECTION' | 'MONTH_SELECTION' | 'YEAR_SELECTION';
27
+ export type ViewType = 'DAY_SELECTION' | 'MONTH_SELECTION' | 'YEAR_SELECTION';
127
28
  /**
128
29
  * Represents date picker body value
129
30
  */
130
- interface RangeDatePickerBodyValue<TSelection> {
31
+ export interface RangeDatePickerBodyValue<TSelection> {
131
32
  /**
132
33
  * Currently setting date
133
34
  */
@@ -137,5 +38,4 @@ interface RangeDatePickerBodyValue<TSelection> {
137
38
  */
138
39
  selectedDate: TSelection;
139
40
  }
140
- export type { RangeDatePickerValue, DatePickerProps, RangeDatePickerProps, RangeDatePickerInputType, CommonDatePickerBodyProps, ViewType, RangeDatePickerBodyValue, };
141
41
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../components/datePickers/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,qBAAqB,EACrB,qBAAqB,EACrB,SAAS,EAAE,YAAY,EACvB,SAAS,EACT,MAAM,EACN,eAAe,EACf,YAAY,EACZ,SAAS,EACZ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAEvD;;EAEE;AACF,KAAK,oBAAoB,GAAG;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,WAAW,sBAAsB;CAAG;AAE1C,KAAK,cAAc,GAAG;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,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,YAAY,CAAC,OAAO,CAAC,CAAC;CACtE;AAED,MAAM,MAAM,QAAQ,GAAG,eAAe,GAAG,iBAAiB,GAAG,gBAAgB,CAAC;AAE9E;;GAEG;AACH,MAAM,WAAW,wBAAwB,CAAC,UAAU;IAChD;;OAEG;IACH,OAAO,EAAE,wBAAwB,CAAC;IAClC;;OAEG;IACH,YAAY,EAAE,UAAU,CAAC;CAC5B"}
@@ -11,7 +11,7 @@ export interface FileCardItem extends Partial<File & FileUploadResponse> {
11
11
  */
12
12
  abortXHR?: () => void;
13
13
  }
14
- export interface FileCardProps extends IHasCX, IClickable, React.RefAttributes<HTMLDivElement> {
14
+ export interface FileCardProps extends IClickable, IHasCX {
15
15
  /** Defines file card item */
16
16
  file: FileCardItem;
17
17
  /**
@@ -20,5 +20,5 @@ export interface FileCardProps extends IHasCX, IClickable, React.RefAttributes<H
20
20
  */
21
21
  width?: number;
22
22
  }
23
- export declare function FileCard(props: FileCardProps): React.JSX.Element;
23
+ export declare const FileCard: React.ForwardRefExoticComponent<FileCardProps & React.RefAttributes<HTMLDivElement>>;
24
24
  //# sourceMappingURL=FileCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FileCard.d.ts","sourceRoot":"","sources":["../../../components/fileUpload/FileCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAM,kBAAkB,EAAe,UAAU,EAAE,MAAM,EAAU,MAAM,gBAAgB,CAAC;AAWjG,MAAM,WAAW,YAAa,SAAQ,OAAO,CAAC,IAAI,GAAG,kBAAkB,CAAC;IACpE;;MAEE;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;MAGE;IACF,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,aAAc,SAAQ,MAAM,EAAE,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC;IAC1F,6BAA6B;IAC7B,IAAI,EAAE,YAAY,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,qBA6G5C"}
1
+ {"version":3,"file":"FileCard.d.ts","sourceRoot":"","sources":["../../../components/fileUpload/FileCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAM,kBAAkB,EAAe,UAAU,EAAE,MAAM,EAAU,MAAM,gBAAgB,CAAC;AAWjG,MAAM,WAAW,YAAa,SAAQ,OAAO,CAAC,IAAI,GAAG,kBAAkB,CAAC;IACpE;;MAEE;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;MAGE;IACF,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,aAAc,SAAQ,UAAU,EAAE,MAAM;IACrD,6BAA6B;IAC7B,IAAI,EAAE,YAAY,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,QAAQ,sFA6GnB,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import { IHasCX, IHasRawProps } from '@epam/uui-core';
3
- interface SvgCircleProgressProps extends IHasCX, IHasRawProps<React.SVGAttributes<SVGSVGElement>>, React.RefAttributes<SVGSVGElement> {
3
+ interface SvgCircleProgressProps extends IHasCX, IHasRawProps<React.SVGAttributes<SVGSVGElement>> {
4
4
  size: number;
5
5
  progress: number;
6
6
  }
7
- export declare function SvgCircleProgress(props: SvgCircleProgressProps): React.JSX.Element;
7
+ export declare const SvgCircleProgress: React.ForwardRefExoticComponent<SvgCircleProgressProps & React.RefAttributes<SVGSVGElement>>;
8
8
  export {};
9
9
  //# sourceMappingURL=SvgCircleProgress.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SvgCircleProgress.d.ts","sourceRoot":"","sources":["../../../components/fileUpload/SvgCircleProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGtD,UAAU,sBAAuB,SAAQ,MAAM,EAAE,YAAY,CAAC,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC;IAIjI,IAAI,EAAE,MAAM,CAAC;IAIb,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,qBAyB9D"}
1
+ {"version":3,"file":"SvgCircleProgress.d.ts","sourceRoot":"","sources":["../../../components/fileUpload/SvgCircleProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGtD,UAAU,sBAAuB,SAAQ,MAAM,EAAE,YAAY,CAAC,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IAI7F,IAAI,EAAE,MAAM,CAAC;IAIb,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,8FAyB5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FilterNumericBody.d.ts","sourceRoot":"","sources":["../../../components/filters/FilterNumericBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAY,MAAM,gBAAgB,CAAC;AAS7D,UAAU,kBAAkB;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB;AAED,UAAU,uBAAwB,SAAQ,iBAAiB;IACvD;;OAEG;IACH,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,kBAAkB,KAAK,IAAI,CAAC;IAC5D;;OAEG;IACH,KAAK,EAAE,SAAS,GAAG,MAAM,GAAG,kBAAkB,CAAC;IAC/C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,uBAAuB,qBA+G/D"}
1
+ {"version":3,"file":"FilterNumericBody.d.ts","sourceRoot":"","sources":["../../../components/filters/FilterNumericBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAY,MAAM,gBAAgB,CAAC;AAU7D,UAAU,kBAAkB;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB;AAED,UAAU,uBAAwB,SAAQ,iBAAiB;IACvD;;OAEG;IACH,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,kBAAkB,KAAK,IAAI,CAAC;IAC5D;;OAEG;IACH,KAAK,EAAE,SAAS,GAAG,MAAM,GAAG,kBAAkB,CAAC;IAC/C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,uBAAuB,qBAiH/D"}
@@ -1,12 +1,13 @@
1
1
  import * as React from 'react';
2
2
  import type { IDisableable, IDropdownTogglerProps, IHasCX } from '@epam/uui-core';
3
- export interface FilterToolbarItemTogglerProps extends IDropdownTogglerProps<HTMLDivElement>, IDisableable, IHasCX {
3
+ import type { FiltersPanelProps } from './FiltersPanel';
4
+ import type { JSX } from 'react';
5
+ export interface FilterToolbarItemTogglerProps extends IDropdownTogglerProps, IDisableable, IHasCX, Pick<FiltersPanelProps<any>, 'size'> {
4
6
  selection?: React.ReactNode[];
5
- postfix?: string | null | React.ReactNode;
7
+ postfix?: string | null | JSX.Element;
6
8
  title?: string;
7
9
  maxWidth?: number;
8
- size?: '24' | '30' | '36' | '42' | '48';
9
10
  predicateName: string | null;
10
11
  }
11
- export declare function FilterPanelItemToggler(props: FilterToolbarItemTogglerProps): React.JSX.Element;
12
+ export declare const FilterPanelItemToggler: React.ForwardRefExoticComponent<Omit<FilterToolbarItemTogglerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
13
  //# sourceMappingURL=FilterPanelItemToggler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FilterPanelItemToggler.d.ts","sourceRoot":"","sources":["../../../components/filters/FilterPanelItemToggler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AASlF,MAAM,WAAW,6BAA8B,SAAQ,qBAAqB,CAAC,cAAc,CAAC,EAAE,YAAY,EAAE,MAAM;IAC9G,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACxC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,6BAA6B,qBAkE1E"}
1
+ {"version":3,"file":"FilterPanelItemToggler.d.ts","sourceRoot":"","sources":["../../../components/filters/FilterPanelItemToggler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGlF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AASxD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,WAAW,6BAA8B,SAAQ,qBAAqB,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IACpI,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,GAAG,CAAC,OAAO,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,eAAO,MAAM,sBAAsB,mHAmEjC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { DropdownBodyProps, PickerFilterConfig, PickerInputBaseProps } from '@epam/uui-core';
2
+ import type { DropdownBodyProps, PickerFilterConfig, PickerInputBaseProps } from '@epam/uui-core';
3
3
  type FilterPickerBodyProps<TItem, TId> = DropdownBodyProps & PickerInputBaseProps<TItem, TId> & PickerFilterConfig<any> & {
4
4
  showSearch?: boolean;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"FilterPickerBody.d.ts","sourceRoot":"","sources":["../../../components/filters/FilterPickerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACH,iBAAiB,EAEjB,kBAAkB,EAElB,oBAAoB,EAEvB,MAAM,gBAAgB,CAAC;AAQxB,KAAK,qBAAqB,CAAC,KAAK,EAAE,GAAG,IAAI,iBAAiB,GAAG,oBAAoB,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,kBAAkB,CAAC,GAAG,CAAC,GAAG;IACtH,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,GAAG,EAAE,EACzC,sBAA6B,EAC7B,GAAG,SAAS,EACf,EAAE,qBAAqB,CAAC,KAAK,EAAE,GAAG,CAAC,qBA2FnC"}
1
+ {"version":3,"file":"FilterPickerBody.d.ts","sourceRoot":"","sources":["../../../components/filters/FilterPickerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,oBAAoB,EAAmB,MAAM,gBAAgB,CAAC;AAUnH,KAAK,qBAAqB,CAAC,KAAK,EAAE,GAAG,IAAI,iBAAiB,GAAG,oBAAoB,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,kBAAkB,CAAC,GAAG,CAAC,GAAG;IACtH,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,GAAG,EAAE,EACzC,sBAA6B,EAC7B,GAAG,SAAS,EACf,EAAE,qBAAqB,CAAC,KAAK,EAAE,GAAG,CAAC,qBA2FnC"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IDropdownBodyProps } from '@epam/uui-core';
3
- import { RangeDatePickerProps } from '../datePickers/types';
3
+ import type { RangeDatePickerProps } from '../datePickers';
4
4
  export interface FilterRangeDatePickerProps extends RangeDatePickerProps, IDropdownBodyProps {
5
5
  }
6
6
  export declare function FilterRangeDatePickerBody(props: FilterRangeDatePickerProps): React.JSX.Element;