@epam/uui 5.5.6 → 5.6.1-patch.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/assets/styles/clickable.scss +27 -0
  2. package/assets/styles/index.scss +1 -0
  3. package/components/buttons/Button.d.ts +12 -10
  4. package/components/buttons/Button.d.ts.map +1 -1
  5. package/components/buttons/IconButton.d.ts +6 -3
  6. package/components/buttons/IconButton.d.ts.map +1 -1
  7. package/components/buttons/LinkButton.d.ts +29 -8
  8. package/components/buttons/LinkButton.d.ts.map +1 -1
  9. package/components/buttons/TabButton.d.ts +35 -8
  10. package/components/buttons/TabButton.d.ts.map +1 -1
  11. package/components/buttons/VerticalTabButton.d.ts +10 -1
  12. package/components/buttons/VerticalTabButton.d.ts.map +1 -1
  13. package/components/datePickers/DatePicker.d.ts.map +1 -1
  14. package/components/datePickers/RangeDatePicker.d.ts.map +1 -1
  15. package/components/fileUpload/DropSpot.d.ts +14 -6
  16. package/components/fileUpload/DropSpot.d.ts.map +1 -1
  17. package/components/fileUpload/FileCard.d.ts +12 -0
  18. package/components/fileUpload/FileCard.d.ts.map +1 -1
  19. package/components/filters/FilterPanelItemToggler.d.ts +3 -3
  20. package/components/filters/FilterPanelItemToggler.d.ts.map +1 -1
  21. package/components/filters/FiltersPanel.d.ts +4 -0
  22. package/components/filters/FiltersPanel.d.ts.map +1 -1
  23. package/components/filters/PresetPanel/PresetsPanel.d.ts +1 -0
  24. package/components/filters/PresetPanel/PresetsPanel.d.ts.map +1 -1
  25. package/components/inputs/MultiSwitch.d.ts +2 -3
  26. package/components/inputs/MultiSwitch.d.ts.map +1 -1
  27. package/components/inputs/RadioInput.d.ts +1 -0
  28. package/components/inputs/RadioInput.d.ts.map +1 -1
  29. package/components/inputs/TextInput.d.ts +1 -1
  30. package/components/inputs/TextInput.d.ts.map +1 -1
  31. package/components/inputs/index.d.ts +1 -1
  32. package/components/inputs/timePicker/TimePicker.d.ts +41 -0
  33. package/components/inputs/timePicker/TimePicker.d.ts.map +1 -0
  34. package/components/inputs/timePicker/TimePickerBody.d.ts +22 -0
  35. package/components/inputs/timePicker/TimePickerBody.d.ts.map +1 -0
  36. package/components/inputs/timePicker/index.d.ts +3 -0
  37. package/components/inputs/timePicker/index.d.ts.map +1 -0
  38. package/components/inputs/timePicker/parseTimeHelper.d.ts +7 -0
  39. package/components/inputs/timePicker/parseTimeHelper.d.ts.map +1 -0
  40. package/components/layout/FlexItems/FlexRow.d.ts +10 -0
  41. package/components/layout/FlexItems/FlexRow.d.ts.map +1 -1
  42. package/components/layout/RadioGroup.d.ts +3 -1
  43. package/components/layout/RadioGroup.d.ts.map +1 -1
  44. package/components/navigation/Anchor.d.ts +1 -2
  45. package/components/navigation/Anchor.d.ts.map +1 -1
  46. package/components/navigation/MainMenu/Burger/BurgerButton.d.ts +6 -2
  47. package/components/navigation/MainMenu/Burger/BurgerButton.d.ts.map +1 -1
  48. package/components/navigation/MainMenu/MainMenuAvatar.d.ts +3 -3
  49. package/components/navigation/MainMenu/MainMenuAvatar.d.ts.map +1 -1
  50. package/components/navigation/MainMenu/MainMenuButton.d.ts +28 -3
  51. package/components/navigation/MainMenu/MainMenuButton.d.ts.map +1 -1
  52. package/components/navigation/MainMenu/MainMenuIcon.d.ts +4 -37
  53. package/components/navigation/MainMenu/MainMenuIcon.d.ts.map +1 -1
  54. package/components/navigation/MainMenu/MainMenuSearch.d.ts +1 -1
  55. package/components/navigation/MainMenu/MainMenuSearch.d.ts.map +1 -1
  56. package/components/overlays/DropdownMenu.d.ts +3 -3
  57. package/components/overlays/DropdownMenu.d.ts.map +1 -1
  58. package/components/overlays/Snackbar.d.ts +12 -0
  59. package/components/overlays/Snackbar.d.ts.map +1 -0
  60. package/components/overlays/index.d.ts +1 -0
  61. package/components/overlays/index.d.ts.map +1 -1
  62. package/components/pickers/PickerItem.d.ts +11 -0
  63. package/components/pickers/PickerItem.d.ts.map +1 -1
  64. package/components/pickers/PickerList.d.ts +2 -2
  65. package/components/pickers/PickerList.d.ts.map +1 -1
  66. package/components/pickers/PickerListItem.d.ts +3 -0
  67. package/components/pickers/PickerListItem.d.ts.map +1 -1
  68. package/components/pickers/highlight.d.ts +2 -1
  69. package/components/pickers/highlight.d.ts.map +1 -1
  70. package/components/tables/DataTableHeaderCell.d.ts +2 -2
  71. package/components/tables/DataTableHeaderCell.d.ts.map +1 -1
  72. package/components/tables/types.d.ts +5 -0
  73. package/components/tables/types.d.ts.map +1 -1
  74. package/components/typography/Text.d.ts +1 -1
  75. package/components/typography/Text.d.ts.map +1 -1
  76. package/components/typography/TextPlaceholder.d.ts +2 -0
  77. package/components/typography/TextPlaceholder.d.ts.map +1 -1
  78. package/components/widgets/Badge.d.ts +23 -4
  79. package/components/widgets/Badge.d.ts.map +1 -1
  80. package/components/widgets/IndeterminateBar.d.ts +1 -0
  81. package/components/widgets/IndeterminateBar.d.ts.map +1 -1
  82. package/components/widgets/Tag.d.ts +41 -3
  83. package/components/widgets/Tag.d.ts.map +1 -1
  84. package/helpers/textLayout.d.ts +2 -0
  85. package/helpers/textLayout.d.ts.map +1 -1
  86. package/index.esm.js +2122 -1877
  87. package/index.esm.js.map +1 -1
  88. package/index.js +2211 -1962
  89. package/index.js.map +1 -1
  90. package/package.json +5 -5
  91. package/stats.html +1 -1
  92. package/styles.css +4931 -4802
  93. package/styles.css.map +1 -1
  94. package/components/inputs/TimePicker.d.ts +0 -15
  95. package/components/inputs/TimePicker.d.ts.map +0 -1
  96. package/components/inputs/TimePickerBody.d.ts +0 -3
  97. package/components/inputs/TimePickerBody.d.ts.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import { ICanBeReadonly, ICanFocus, IDisableable, IEditable, IHasCX, IHasDirection, IHasForwardedRef, IHasRawProps } from '@epam/uui-core';
2
2
  import { RadioInputProps } from '../inputs';
3
3
  import * as React from 'react';
4
- export interface RadioGroupItem<TValue> extends IDisableable, Omit<RadioInputProps, 'id' | 'onValueChange' | 'value'> {
4
+ export interface RadioGroupItem<TValue> extends IDisableable, Omit<RadioInputProps, 'id' | 'onValueChange' | 'value' | 'name'> {
5
5
  /** RadioInput label. Can be a string, or React.ReactNode */
6
6
  name?: React.ReactNode;
7
7
  /** Render callback for checkbox label
@@ -16,6 +16,8 @@ export interface RadioGroupProps<TValue> extends IHasCX, IEditable<TValue>, IDis
16
16
  items: RadioGroupItem<TValue>[];
17
17
  /** Defines group components size */
18
18
  size?: RadioInputProps['size'];
19
+ /** Defines native HTML name attribute for each group member */
20
+ name?: string;
19
21
  }
20
22
  export declare function RadioGroup<TValue>(props: RadioGroupProps<TValue>): JSX.Element;
21
23
  //# sourceMappingURL=RadioGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../components/layout/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,cAAc,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9J,OAAO,EAAc,eAAe,EAAE,MAAM,WAAW,CAAC;AAExD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,cAAc,CAAC,MAAM,CAAE,SAAQ,YAAY,EAAE,IAAI,CAAC,eAAe,EAAE,IAAI,GAAG,eAAe,GAAG,OAAO,CAAC;IACjH,4DAA4D;IAC5D,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;IACnC,oCAAoC;IACpC,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe,CAAC,MAAM,CACnC,SAAQ,MAAM,EACd,SAAS,CAAC,MAAM,CAAC,EACjB,YAAY,EACZ,aAAa,EACb,cAAc,EACd,YAAY,CAAC,KAAK,CAAC,sBAAsB,CAAC,mBAAmB,CAA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AM,CAAC,EAAE,CAAC;IAChC,oCAAoC;IACpC,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/B,+DAA+D;IAC/D,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,KAAK,EAAE,eAAe,CAAC,MAAM,CAAC,eAqChE"}
@@ -1,3 +1,2 @@
1
- import { AnchorProps } from '@epam/uui-components';
2
- export declare const Anchor: (props: (AnchorProps & {}) & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
1
+ export declare const Anchor: (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<import("@epam/uui-components").ClickableRawProps> & import("@epam/uui-core").IHasChildren & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
3
2
  //# sourceMappingURL=Anchor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Anchor.d.ts","sourceRoot":"","sources":["../../../components/navigation/Anchor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAIxE,eAAO,MAAM,MAAM,4JAAqD,CAAC"}
1
+ {"version":3,"file":"Anchor.d.ts","sourceRoot":"","sources":["../../../components/navigation/Anchor.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM,ufAAqD,CAAC"}
@@ -1,9 +1,13 @@
1
1
  import { IHasIcon, IDropdownToggler } from '@epam/uui-core';
2
- import { ButtonProps } from '@epam/uui-components';
3
2
  interface BurgerButtonMods extends IHasIcon, IDropdownToggler {
4
3
  type?: 'primary' | 'secondary';
5
4
  indentLevel?: number;
6
5
  }
7
- export declare const BurgerButton: (props: (ButtonProps & BurgerButtonMods) & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
+ export declare const BurgerButton: (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<import("@epam/uui-components").ClickableRawProps> & IDropdownToggler & IHasIcon & import("@epam/uui-core").IHasCaption & {
7
+ onClear?(e?: any): void;
8
+ clearIcon?: import("@epam/uui-core").Icon;
9
+ captionCX?: import("@epam/uui-core").ClassValue;
10
+ dropdownIcon?: import("@epam/uui-core").Icon;
11
+ } & BurgerButtonMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
8
12
  export {};
9
13
  //# sourceMappingURL=BurgerButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BurgerButton.d.ts","sourceRoot":"","sources":["../../../../../components/navigation/MainMenu/Burger/BurgerButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,QAAQ,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAU,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAI3D,UAAU,gBAAiB,SAAQ,QAAQ,EAAE,gBAAgB;IAIzD,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAI/B,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,YAAY,0KAWxB,CAAC"}
1
+ {"version":3,"file":"BurgerButton.d.ts","sourceRoot":"","sources":["../../../../../components/navigation/MainMenu/Burger/BurgerButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,QAAQ,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAKtE,UAAU,gBAAiB,SAAQ,QAAQ,EAAE,gBAAgB;IAIzD,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAI/B,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,YAAY;;;;;oJAWxB,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
- import { IAdaptiveItem, IDropdownToggler, Icon, IHasCX } from '@epam/uui-core';
2
+ import { IAdaptiveItem, IDropdownToggler, Icon, IHasCX, IClickable } from '@epam/uui-core';
3
3
  /** Represents the properties of the MainMenuAvatar component. */
4
- export interface MainMenuAvatarProps extends IAdaptiveItem, IDropdownToggler, IHasCX {
4
+ export interface MainMenuAvatarProps extends IClickable, IAdaptiveItem, IDropdownToggler, IHasCX {
5
5
  avatarUrl?: string;
6
6
  icon?: Icon;
7
7
  }
8
- export declare const MainMenuAvatar: React.ForwardRefExoticComponent<Pick<MainMenuAvatarProps, "isDisabled" | "isOpen" | "isDropdown" | "toggleDropdownOpening" | "isInteractedOutside" | "caption" | "onClick" | "cx" | "icon" | "estimatedWidth" | "priority" | "showInBurgerMenu" | "collapseToMore" | "collapsedContainer" | "avatarUrl"> & React.RefAttributes<HTMLButtonElement>>;
8
+ export declare const MainMenuAvatar: React.ForwardRefExoticComponent<MainMenuAvatarProps & React.RefAttributes<HTMLButtonElement>>;
9
9
  //# sourceMappingURL=MainMenuAvatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MainMenuAvatar.d.ts","sourceRoot":"","sources":["../../../../components/navigation/MainMenu/MainMenuAvatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EACH,aAAa,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,EAChD,MAAM,gBAAgB,CAAC;AAKxB,iEAAiE;AACjE,MAAM,WAAW,mBAAoB,SAAQ,aAAa,EAAE,gBAAgB,EAAE,MAAM;IAChF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,CAAC;CACf;AAED,eAAO,MAAM,cAAc,oVAczB,CAAC"}
1
+ {"version":3,"file":"MainMenuAvatar.d.ts","sourceRoot":"","sources":["../../../../components/navigation/MainMenu/MainMenuAvatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,EAAc,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAKvG,iEAAiE;AACjE,MAAM,WAAW,mBAAoB,SAAQ,UAAU,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM;IAC5F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,CAAC;CACf;AAED,eAAO,MAAM,cAAc,+FAczB,CAAC"}
@@ -1,8 +1,33 @@
1
- import { ButtonProps } from '@epam/uui-components';
2
- import { IAdaptiveItem } from '@epam/uui-core';
1
+ import * as React from 'react';
2
+ import { CX, IAdaptiveItem, Icon, IDropdownToggler, IHasCaption, IHasIcon } from '@epam/uui-core';
3
+ import { ClickableComponentProps } from '@epam/uui-components';
3
4
  interface MainMenuButtonMods {
5
+ /**
6
+ * Defines component type. The primary button leads to the main pages of the site, and the secondary to the others.
7
+ */
4
8
  type?: 'primary' | 'secondary';
5
9
  }
6
- export declare const MainMenuButton: (props: (ButtonProps & MainMenuButtonMods & IAdaptiveItem) & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
10
+ export type MainMenuButtonProps = MainMenuButtonMods & IAdaptiveItem & IDropdownToggler & Omit<ClickableComponentProps, 'isDisabled'> & IHasIcon & IHasCaption & {
11
+ /**
12
+ * CSS classes to put on the caption
13
+ * @deprecated
14
+ * */
15
+ captionCX?: CX;
16
+ /** Icon for drop-down toggler */
17
+ dropdownIcon?: Icon;
18
+ /** Count value to be placed in component */
19
+ count?: React.ReactNode;
20
+ };
21
+ export declare const MainMenuButton: React.ForwardRefExoticComponent<MainMenuButtonMods & IAdaptiveItem & IDropdownToggler & Omit<ClickableComponentProps, "isDisabled"> & IHasIcon & IHasCaption & {
22
+ /**
23
+ * CSS classes to put on the caption
24
+ * @deprecated
25
+ * */
26
+ captionCX?: CX;
27
+ /** Icon for drop-down toggler */
28
+ dropdownIcon?: Icon;
29
+ /** Count value to be placed in component */
30
+ count?: React.ReactNode;
31
+ } & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLSpanElement>>;
7
32
  export {};
8
33
  //# sourceMappingURL=MainMenuButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MainMenuButton.d.ts","sourceRoot":"","sources":["../../../../components/navigation/MainMenu/MainMenuButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAU,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAY,MAAM,gBAAgB,CAAC;AAGzD,UAAU,kBAAkB;IAIxB,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;CAClC;AAED,eAAO,MAAM,cAAc,4LAI1B,CAAC"}
1
+ {"version":3,"file":"MainMenuButton.d.ts","sourceRoot":"","sources":["../../../../components/navigation/MainMenu/MainMenuButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,EAAE,EAAiB,aAAa,EAAE,IAAI,EAAE,gBAAgB,EAAE,WAAW,EAAE,QAAQ,EAAc,MAAM,gBAAgB,CAAC;AAC7H,OAAO,EAAa,uBAAuB,EAAiB,MAAM,sBAAsB,CAAC;AAKzF,UAAU,kBAAkB;IACxB;;MAEE;IACF,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;CAClC;AAED,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,GAAG,aAAa,GAAG,gBAAgB,GAAG,IAAI,CAAC,uBAAuB,EAAE,YAAY,CAAC,GACnI,QAAQ,GAAG,WAAW,GAAG;IACvB;;;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;AAEF,eAAO,MAAM,cAAc;IAXvB;;;SAGK;gBACO,EAAE;IACd,iCAAiC;mBAClB,IAAI;IACnB,4CAA4C;YACpC,MAAM,SAAS;iFAoDzB,CAAC"}
@@ -5,45 +5,12 @@ import { ButtonProps } from '@epam/uui-components';
5
5
  export type MainMenuIconProps = ButtonProps & IAdaptiveItem & {
6
6
  icon: Icon;
7
7
  };
8
- export declare const MainMenuIcon: React.ForwardRefExoticComponent<(Pick<import("@epam/uui-core").ICanRedirect & import("@epam/uui-core").ButtonCoreProps & {
9
- rawProps?: React.AnchorHTMLAttributes<HTMLAnchorElement> & Record<`data-${string}`, string>;
10
- href: string;
11
- link?: never;
12
- } & import("@epam/uui-core").IHasForwardedRef<HTMLAnchorElement | HTMLButtonElement> & {
8
+ export declare const MainMenuIcon: 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> & import("@epam/uui-core").IDropdownToggler & import("@epam/uui-core").IHasIcon & import("@epam/uui-core").IHasCaption & {
9
+ onClear?(e?: any): void;
13
10
  clearIcon?: Icon;
14
11
  captionCX?: import("@epam/uui-core").ClassValue;
15
- countIndicator?: React.ComponentType<import("@epam/uui-core").IHasCaption>;
12
+ dropdownIcon?: Icon;
16
13
  } & IAdaptiveItem & {
17
14
  icon: Icon;
18
- }, "isDisabled" | "tabIndex" | "isOpen" | "isDropdown" | "toggleDropdownOpening" | "isInteractedOutside" | "caption" | "onClick" | "onClear" | "cx" | "icon" | "iconPosition" | "onIconClick" | "clickAnalyticsEvent" | "dropdownIcon" | "dropdownIconPosition" | "count" | "rawProps" | "forwardedRef" | keyof import("@epam/uui-core").ICanRedirect | "clearIcon" | "captionCX" | "countIndicator" | keyof IAdaptiveItem> | Pick<import("@epam/uui-core").ICanRedirect & import("@epam/uui-core").ButtonCoreProps & {
19
- rawProps?: React.AnchorHTMLAttributes<HTMLAnchorElement> & Record<`data-${string}`, string>;
20
- link: import("@epam/uui-core").Link;
21
- href?: never;
22
- } & import("@epam/uui-core").IHasForwardedRef<HTMLAnchorElement | HTMLButtonElement> & {
23
- clearIcon?: Icon;
24
- captionCX?: import("@epam/uui-core").ClassValue;
25
- countIndicator?: React.ComponentType<import("@epam/uui-core").IHasCaption>;
26
- } & IAdaptiveItem & {
27
- icon: Icon;
28
- }, "isDisabled" | "tabIndex" | "isOpen" | "isDropdown" | "toggleDropdownOpening" | "isInteractedOutside" | "caption" | "onClick" | "onClear" | "cx" | "icon" | "iconPosition" | "onIconClick" | "clickAnalyticsEvent" | "dropdownIcon" | "dropdownIconPosition" | "count" | "rawProps" | "forwardedRef" | keyof import("@epam/uui-core").ICanRedirect | "clearIcon" | "captionCX" | "countIndicator" | keyof IAdaptiveItem> | Pick<import("@epam/uui-core").ICanRedirect & import("@epam/uui-core").ButtonCoreProps & {
29
- rawProps?: React.ButtonHTMLAttributes<HTMLButtonElement> & Record<`data-${string}`, string>;
30
- href?: never;
31
- link?: never;
32
- } & import("@epam/uui-core").IHasForwardedRef<HTMLAnchorElement | HTMLButtonElement> & {
33
- clearIcon?: Icon;
34
- captionCX?: import("@epam/uui-core").ClassValue;
35
- countIndicator?: React.ComponentType<import("@epam/uui-core").IHasCaption>;
36
- } & IAdaptiveItem & {
37
- icon: Icon;
38
- }, "isDisabled" | "tabIndex" | "isOpen" | "isDropdown" | "toggleDropdownOpening" | "isInteractedOutside" | "caption" | "onClick" | "onClear" | "cx" | "icon" | "iconPosition" | "onIconClick" | "clickAnalyticsEvent" | "dropdownIcon" | "dropdownIconPosition" | "count" | "rawProps" | "forwardedRef" | keyof import("@epam/uui-core").ICanRedirect | "clearIcon" | "captionCX" | "countIndicator" | keyof IAdaptiveItem> | Pick<import("@epam/uui-core").ICanRedirect & import("@epam/uui-core").ButtonCoreProps & {
39
- rawProps?: React.AnchorHTMLAttributes<HTMLAnchorElement> & Record<`data-${string}`, string>;
40
- href: string;
41
- link: import("@epam/uui-core").Link;
42
- } & import("@epam/uui-core").IHasForwardedRef<HTMLAnchorElement | HTMLButtonElement> & {
43
- clearIcon?: Icon;
44
- captionCX?: import("@epam/uui-core").ClassValue;
45
- countIndicator?: React.ComponentType<import("@epam/uui-core").IHasCaption>;
46
- } & IAdaptiveItem & {
47
- icon: Icon;
48
- }, "isDisabled" | "tabIndex" | "isOpen" | "isDropdown" | "toggleDropdownOpening" | "isInteractedOutside" | "caption" | "onClick" | "onClear" | "cx" | "icon" | "iconPosition" | "onIconClick" | "clickAnalyticsEvent" | "dropdownIcon" | "dropdownIconPosition" | "count" | "rawProps" | "forwardedRef" | keyof import("@epam/uui-core").ICanRedirect | "clearIcon" | "captionCX" | "countIndicator" | keyof IAdaptiveItem>) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
15
+ } & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
49
16
  //# sourceMappingURL=MainMenuIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MainMenuIcon.d.ts","sourceRoot":"","sources":["../../../../components/navigation/MainMenu/MainMenuIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,aAAa,EAAM,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAInD,+DAA+D;AAC/D,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,aAAa,GAAG;IAI1D,IAAI,EAAE,IAAI,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;UAHf,IAAI;;;;;;;;;;UAAJ,IAAI;;;;;;;;;;UAAJ,IAAI;;;;;;;;;;UAAJ,IAAI;0dAKZ,CAAC"}
1
+ {"version":3,"file":"MainMenuIcon.d.ts","sourceRoot":"","sources":["../../../../components/navigation/MainMenu/MainMenuIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,aAAa,EAAM,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAInD,+DAA+D;AAC/D,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,aAAa,GAAG;IAI1D,IAAI,EAAE,IAAI,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;UAHf,IAAI;+DAKZ,CAAC"}
@@ -4,5 +4,5 @@ import { IAdaptiveItem } from '@epam/uui-core';
4
4
  /** Represents the properties of the MainMenuSearch component. */
5
5
  export interface MainMenuSearchProps extends TextInputProps, IAdaptiveItem {
6
6
  }
7
- export declare const MainMenuSearch: React.ForwardRefExoticComponent<Pick<MainMenuSearchProps, "name" | "value" | "onValueChange" | "isInvalid" | "validationMessage" | "validationProps" | "isDisabled" | "isReadonly" | "tabIndex" | "isOpen" | "isDropdown" | "toggleDropdownOpening" | "isInteractedOutside" | "caption" | "isRequired" | "onClick" | "id" | "placeholder" | "cx" | "icon" | "iconPosition" | "onIconClick" | "dropdownIcon" | "rawProps" | "onFocus" | "onBlur" | "getValueChangeAnalyticsEvent" | "onCancel" | "onAccept" | "onKeyDown" | "autoFocus" | "type" | "autoComplete" | "maxLength" | "inputMode" | "inputCx" | "acceptIcon" | "cancelIcon" | "renderInput" | "estimatedWidth" | "priority" | "showInBurgerMenu" | "collapseToMore" | "collapsedContainer"> & React.RefAttributes<HTMLInputElement>>;
7
+ export declare const MainMenuSearch: React.ForwardRefExoticComponent<MainMenuSearchProps & React.RefAttributes<HTMLInputElement>>;
8
8
  //# sourceMappingURL=MainMenuSearch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MainMenuSearch.d.ts","sourceRoot":"","sources":["../../../../components/navigation/MainMenu/MainMenuSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAa,MAAM,sBAAsB,CAAC;AAGjE,OAAO,EAAM,aAAa,EAAsB,MAAM,gBAAgB,CAAC;AAGvE,iEAAiE;AACjE,MAAM,WAAW,mBAAoB,SAAQ,cAAc,EAAE,aAAa;CAAG;AAE7E,eAAO,MAAM,cAAc,iwBAgBzB,CAAC"}
1
+ {"version":3,"file":"MainMenuSearch.d.ts","sourceRoot":"","sources":["../../../../components/navigation/MainMenu/MainMenuSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAa,MAAM,sBAAsB,CAAC;AAGjE,OAAO,EAAM,aAAa,EAAsB,MAAM,gBAAgB,CAAC;AAGvE,iEAAiE;AACjE,MAAM,WAAW,mBAAoB,SAAQ,cAAc,EAAE,aAAa;CAAG;AAE7E,eAAO,MAAM,cAAc,8FAgBzB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { IDropdownToggler, IHasChildren, VPanelProps, IHasIcon, ICanRedirect, IHasCaption, IDisableable, IAnalyticableClick, IHasCX, IClickable, DropdownBodyProps } from '@epam/uui-core';
2
+ import { IHasChildren, VPanelProps, IHasIcon, ICanRedirect, IHasCaption, IDisableable, IAnalyticableClick, IHasCX, IClickable, DropdownBodyProps, IDropdownTogglerProps } from '@epam/uui-core';
3
3
  import { DropdownContainerProps } from '@epam/uui-components';
4
- export interface IDropdownMenuItemProps extends IHasIcon, ICanRedirect, IHasCX, IDisableable, IAnalyticableClick, IDropdownToggler {
4
+ export interface IDropdownMenuItemProps extends IDropdownTogglerProps, IHasCaption, IHasIcon, ICanRedirect, IHasCX, IDisableable, IAnalyticableClick {
5
5
  isSelected?: boolean;
6
6
  isActive?: boolean;
7
7
  indent?: boolean;
@@ -19,7 +19,7 @@ export declare enum IDropdownControlKeys {
19
19
  DOWN_ARROW = "ArrowDown"
20
20
  }
21
21
  export declare const DropdownMenuBody: (props: DropdownMenuContainerProps & React.RefAttributes<any>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
22
- export declare const DropdownMenuButton: React.ForwardRefExoticComponent<Pick<IDropdownMenuItemProps, "isDisabled" | "isOpen" | "isDropdown" | "toggleDropdownOpening" | "isInteractedOutside" | "caption" | "onClick" | "link" | "cx" | "icon" | "iconPosition" | "onIconClick" | "clickAnalyticsEvent" | "isActive" | "target" | "href" | "isSelected" | "isLinkActive" | "indent"> & React.RefAttributes<any>>;
22
+ export declare const DropdownMenuButton: React.ForwardRefExoticComponent<Pick<IDropdownMenuItemProps, "isDisabled" | "toggleDropdownOpening" | "isInteractedOutside" | "isOpen" | "isDropdown" | "onClick" | "link" | "cx" | "icon" | "iconPosition" | "onIconClick" | "isActive" | "caption" | "clickAnalyticsEvent" | "target" | "href" | "isSelected" | "isLinkActive" | "indent"> & React.RefAttributes<any>>;
23
23
  export declare function DropdownMenuSplitter(props: IHasCX): JSX.Element;
24
24
  interface IDropdownMenuHeader extends IHasCX, IHasCaption {
25
25
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../components/overlays/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAC5D,OAAO,EACC,gBAAgB,EAAgC,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAChI,kBAAkB,EAAE,MAAM,EAAE,UAAU,EAAE,iBAAiB,EAC5D,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAA8D,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAQ1H,MAAM,WAAW,sBAAuB,SAAQ,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,YA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AAQ,EAAE,sBAAsB;IAC1F,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,gBAAgB,eAsCtD;AAED,UAAU,yBAA0B,SAAQ,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,kBAAkB,EAAE,UAAU;IACnH,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,yBAAyB,eA+BxE"}
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ import { UuiContexts } from '@epam/uui-core';
3
+ import { SnackbarProps as UuiSnackbarProps } from '@epam/uui-components';
4
+ export interface SnackbarProps extends UuiSnackbarProps {
5
+ }
6
+ export declare class Snackbar extends React.Component<SnackbarProps> {
7
+ static contextType: React.Context<import("@epam/uui-core").CommonContexts<any, any>>;
8
+ context: UuiContexts;
9
+ componentDidMount(): void;
10
+ render(): JSX.Element;
11
+ }
12
+ //# sourceMappingURL=Snackbar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Snackbar.d.ts","sourceRoot":"","sources":["../../../components/overlays/Snackbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAqC,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAAE,aAAa,IAAI,gBAAgB,EAA2B,MAAM,sBAAsB,CAAC;AAGlG,MAAM,WAAW,aAAc,SAAQ,gBAAgB;CAAG;AAE1D,qBAAa,QAAS,SAAQ,KAAK,CAAC,SAAS,CAAC,aAAa,CAAC;IACxD,OAAc,WAAW,mEAAc;IAChC,OAAO,EAAE,WAAW,CAAC;IACrB,iBAAiB;IAIjB,MAAM;CAgBhB"}
@@ -6,4 +6,5 @@ export * from './Modals';
6
6
  export * from './NotificationCard';
7
7
  export * from './Tooltip';
8
8
  export * from './ConfirmationModal';
9
+ export * from './Snackbar';
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/overlays/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/overlays/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC"}
@@ -2,10 +2,21 @@ import * as React from 'react';
2
2
  import { DataRowProps, DataSourceState, Icon } from '@epam/uui-core';
3
3
  import { SizeMod } from '../types';
4
4
  export interface PickerItemProps<TItem, TId> extends DataRowProps<TItem, TId>, SizeMod {
5
+ /** Path to the user avatar.
6
+ * If omitted, no avatar will be rendered.
7
+ * * */
5
8
  avatarUrl?: string;
9
+ /** Icon to render in picker row.
10
+ * If omitted, nothing will be rendered.
11
+ * */
6
12
  icon?: Icon;
13
+ /** Row title */
7
14
  title?: string;
15
+ /** Row subtitle. Will be rendered as a second line, below the title */
8
16
  subtitle?: string;
17
+ /** DataSourceState of the Picker.
18
+ * Usually provided via renderItem callback params
19
+ * */
9
20
  dataSourceState?: DataSourceState;
10
21
  /**
11
22
  * Enables highlighting of the items' text with search-matching results.
@@ -1 +1 @@
1
- {"version":3,"file":"PickerItem.d.ts","sourceRoot":"","sources":["../../../components/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I,CAAC;IACZ,gBAAgB;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uEAAuE;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;SAEK;IACL,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;;SAGK;IACL,sBAAsB,CAAC,EAAE,OAAO,CAAC;CACpC;AACD,qBAAa,UAAU,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACpF,OAAc,YAAY;;MAExB;IAEF,aAAa,SAAU,MAAM,eAAe,OAAO,KAAG,MAAM,GAAG,MAAM,CAEnE;IAEF,MAAM;CAgCT"}
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import { DataRowProps, IClickable, IDisableable, IHasCaption, IHasPlaceholder } from '@epam/uui-core';
3
3
  import { PickerListBaseProps, PickerModalOptions } from '@epam/uui-components';
4
- import { IHasEditMode, SizeMod } from '../types';
4
+ import { SizeMod } from '../types';
5
5
  export type PickerListProps<TItem, TId> = SizeMod & IHasPlaceholder & PickerModalOptions<TItem, TId> & {
6
6
  renderModalToggler?(props: IClickable & IHasCaption & IDisableable, selection: DataRowProps<TItem, TId>[]): React.ReactNode;
7
7
  noOptionsMessage?: React.ReactNode;
8
- } & PickerListBaseProps<TItem, TId> & IHasEditMode;
8
+ } & PickerListBaseProps<TItem, TId>;
9
9
  export declare function PickerList<TItem, TId>(props: PickerListProps<TItem, TId>): JSX.Element;
10
10
  //# sourceMappingURL=PickerList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PickerList.d.ts","sourceRoot":"","sources":["../../../components/pickers/PickerList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtG,OAAO,EAAE,mBA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CAAC;IAC5H,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACtC,GAAG,mBAAmB,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;AAEpC,wBAAgB,UAAU,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,eAAe,CAAC,KAAK,EAAE,GAAG,CAAC,eAkExE"}
@@ -1,6 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { DataRowProps } from '@epam/uui-core';
3
3
  export interface PickerListItemProps<TItem, TId> extends DataRowProps<TItem, TId> {
4
+ /** A pure function that gets entity name from entity object.
5
+ Default: (item) => item.name.
6
+ */
4
7
  getName(item: TItem): string;
5
8
  }
6
9
  export declare function PickerListItem<TItem, TId>(props: PickerListItemProps<TItem, TId>): JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"PickerListItem.d.ts","sourceRoot":"","sources":["../../../components/pickers/PickerListItem.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAK9C,MAAM,WAAW,mBAAmB,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC;IAC7E,OAAO,CAAC,IAAI,EAAE,KAAK,GAAG,MAAM,CAAC;CAChC;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,mBAAmB,CAAC,KAAK,EAAE,GAAG,CAAC,eA4ChF"}
1
+ {"version":3,"file":"PickerListItem.d.ts","sourceRoot":"","sources":["../../../components/pickers/PickerListItem.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAK9C,MAAM,WAAW,mBAAmB,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC;IAC7E;;OAEG;IACH,OAAO,CAAC,IAAI,EAAE,KAAK,GAAG,MAAM,CAAC;CAChC;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,mBAAmB,CAAC,KAAK,EAAE,GAAG,CAAC,eA4ChF"}
@@ -1,8 +1,9 @@
1
- export interface HighlightRange {
1
+ interface HighlightRange {
2
2
  from: number;
3
3
  to: number;
4
4
  isHighlighted: boolean;
5
5
  }
6
6
  export declare const getHighlightRanges: (str: string, search: string) => HighlightRange[];
7
7
  export declare const getHighlightedSearchMatches: (str: string, search?: string) => string | JSX.Element[];
8
+ export {};
8
9
  //# sourceMappingURL=highlight.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"highlight.d.ts","sourceRoot":"","sources":["../../../components/pickers/highlight.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,OAAO,CAAC;CAC1B;AA0CD,eAAO,MAAM,kBAAkB,QAAS,MAAM,UAAU,MAAM,qBAkB7D,CAAC;AAeF,eAAO,MAAM,2BAA2B,QAAS,MAAM,WAAW,MAAM,2BAWvE,CAAC"}
1
+ {"version":3,"file":"highlight.d.ts","sourceRoot":"","sources":["../../../components/pickers/highlight.tsx"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,OAAO,CAAC;CAC1B;AA0CD,eAAO,MAAM,kBAAkB,QAAS,MAAM,UAAU,MAAM,qBAkB7D,CAAC;AAeF,eAAO,MAAM,2BAA2B,QAAS,MAAM,WAAW,MAAM,2BAWvE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { DataTableHeaderCellProps, IDropdownToggler, DataColumnProps } from '@epam/uui-core';
2
+ import { DataTableHeaderCellProps, IDropdownTogglerProps, DataColumnProps } from '@epam/uui-core';
3
3
  import { HeaderCellContentProps } from '@epam/uui-components';
4
4
  import { DataTableHeaderCellMods } from './types';
5
5
  import './variables.scss';
@@ -13,7 +13,7 @@ export declare class DataTableHeaderCell<TItem, TId> extends React.Component<Dat
13
13
  getColumnCaption: () => JSX.Element;
14
14
  renderHeaderCheckbox: () => JSX.Element;
15
15
  renderResizeMark: (props: HeaderCellContentProps) => JSX.Element;
16
- renderCellContent: (props: HeaderCellContentProps, dropdownProps?: IDropdownToggler) => JSX.Element;
16
+ renderCellContent: (props: HeaderCellContentProps, dropdownProps?: IDropdownTogglerProps) => JSX.Element;
17
17
  renderCellWithFilter: (props: HeaderCellContentProps) => JSX.Element;
18
18
  render(): JSX.Element;
19
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableHeaderCell.d.ts","sourceRoot":"","sources":["../../../components/tables/DataTableHeaderCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACH,wBAAwB,EAAsC,gBAAgB,EAAM,eAAe,EACtG,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAiD,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAE7G,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAOlD,OAAO,kBAAkB,CAAC;AAQ1B,UAAU,wBAAwB;IAC9B,cAAc,EAAE,OAAO,CAAC;CAC3B;AAED,qBAAa,mBAAmB,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,KAAK,CAAC,SAAS,CAAC,wBAAwB,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,uBAAuB,EAAE,wBAAwB,CAAC;IAC1J,KAAK,EAAE,wBAAwB,CAE7B;IAEF,YAAY,eAGV;IAEF,iBAAiB,WAAY,gBAAgB,KAAK,EAAE,GAAG,CAAC,iBAKtD;IAEF,gBAAgB,oBA4Cd;IAEF,oBAAoB,oBAId;IAEN,gBAAgB,UAAW,sBAAsB,iBAAwG;IACzJ,iBAAiB,UAAW,sBAAsB,kBAAkB,gBAAgB,iBAqClF;IAEF,oBAAoB,UAAW,sBAAsB,iBAWnD;IAEF,MAAM;CAGT"}
1
+ {"version":3,"file":"DataTableHeaderCell.d.ts","sourceRoot":"","sources":["../../../components/tables/DataTableHeaderCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACH,wBAAwB,EAAsC,qBAAqB,EAAM,eAAe,EAC3G,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAiD,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAE7G,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAOlD,OAAO,kBAAkB,CAAC;AAQ1B,UAAU,wBAAwB;IAC9B,cAAc,EAAE,OAAO,CAAC;CAC3B;AAED,qBAAa,mBAAmB,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,KAAK,CAAC,SAAS,CAAC,wBAAwB,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,uBAAuB,EAAE,wBAAwB,CAAC;IAC1J,KAAK,EAAE,wBAAwB,CAE7B;IAEF,YAAY,eAGV;IAEF,iBAAiB,WAAY,gBAAgB,KAAK,EAAE,GAAG,CAAC,iBAKtD;IAEF,gBAAgB,oBA4Cd;IAEF,oBAAoB,oBAId;IAEN,gBAAgB,UAAW,sBAAsB,iBAAwG;IACzJ,iBAAiB,UAAW,sBAAsB,kBAAkB,qBAAqB,iBAqCvF;IAEF,oBAAoB,UAAW,sBAAsB,iBAWnD;IAEF,MAAM;CAGT"}
@@ -3,8 +3,13 @@ interface BaseRowMods {
3
3
  size?: ControlSize | '60';
4
4
  }
5
5
  export interface DataTableMods {
6
+ /** Min height of table rows and header */
6
7
  size?: ControlSize;
8
+ /** Pass true, to turn row bottom border */
7
9
  border?: boolean;
10
+ /** Configure column header text case
11
+ * @default 'normal'
12
+ * */
8
13
  headerTextCase?: 'upper' | 'normal';
9
14
  }
10
15
  interface TableSizesAndPositionMods {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../components/tables/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,UAAU,WAAW;IACjB,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,aAAa;IAC1B,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CACvC;AAED,UAAU,yBAAyB;IAC/B,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5B,YAAY,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;CACnC;AAED,MAAM,WAAW,gBAAiB,SAAQ,yBAAyB;IAC/D,YAAY,CAAC,EAAE,GAAG,CAAC;CACtB;AAED,MAAM,WAAW,iBAAkB,SAAQ,yBAAyB;IAChE,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,uBAAwB,SAAQ,WAAW;IACxD,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CACjC;AAED,MAAM,WAAW,sBAAuB,SAAQ,WAAW;IACvD,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CACjC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../components/tables/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,UAAU,WAAW;IACjB,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,aAAa;IAC1B,0CAA0C;IAC1C,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;SAEK;IACL,cAAc,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CACvC;AAED,UAAU,yBAAyB;IAC/B,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5B,YAAY,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;CACnC;AAED,MAAM,WAAW,gBAAiB,SAAQ,yBAAyB;IAC/D,YAAY,CAAC,EAAE,GAAG,CAAC;CACtB;AAED,MAAM,WAAW,iBAAkB,SAAQ,yBAAyB;IAChE,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,uBAAwB,SAAQ,WAAW;IACxD,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CACjC;AAED,MAAM,WAAW,sBAAuB,SAAQ,WAAW;IACvD,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CACjC"}
@@ -1,6 +1,6 @@
1
1
  import { TextSettings } from '../../helpers';
2
2
  import * as uuiComponents from '@epam/uui-components';
3
- type TextColor = 'info' | 'warning' | 'critical' | 'success' | 'brand' | 'primary' | 'secondary' | 'disabled' | 'white';
3
+ type TextColor = 'info' | 'warning' | 'critical' | 'success' | 'primary' | 'secondary' | 'disabled' | 'white' | 'tertiary';
4
4
  type TextSize = 'none' | '18' | '24' | '30' | '36' | '42' | '48';
5
5
  type TextFontStyle = 'normal' | 'italic';
6
6
  type TextFontWeight = '200' | '300' | '400' | '600' | '700' | '900';
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../components/typography/Text.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkB,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AAGtD,KAAK,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,OAAO,CAAC;AACx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AGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,WAAW,aAAc,SAAQ,aAAa,CAAC,SAAS,EAAE,YAAY;IACxE;;;OAGG;IACH,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B;;;OAGG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;CACnB;AAED,MAAM,WAAW,SAAU,SAAQ,aAAa,EAAE,QAAQ;CAAG;AAsB7D,eAAO,MAAM,IAAI,qcAAkF,CAAC"}
@@ -2,7 +2,9 @@ import * as React from 'react';
2
2
  import { IHasCX, IHasRawProps } from '@epam/uui-core';
3
3
  import { PropsWithChildren } from 'react';
4
4
  export interface ITextPlaceholderProps extends IHasRawProps<React.HTMLAttributes<HTMLDivElement>>, IHasCX {
5
+ /** Number of placeholder worlds to render in block */
5
6
  wordsCount?: number;
7
+ /** Pass true, to turn off the placeholder animation */
6
8
  isNotAnimated?: boolean;
7
9
  }
8
10
  export type TextPlaceholderProps = PropsWithChildren<ITextPlaceholderProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"TextPlaceholder.d.ts","sourceRoot":"","sources":["../../../components/typography/TextPlaceholder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,MAAM,WAAW,qBAAsB,SAAQ,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,EAAE,MAAM;IACrG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,qBAAqB,CAAC,CAAC;AAE5E,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,CAwB7F,CAAC"}
1
+ {"version":3,"file":"TextPlaceholder.d.ts","sourceRoot":"","sources":["../../../components/typography/TextPlaceholder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,MAAM,WAAW,qBAAsB,SAAQ,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,EAAE,MAAM;IACrG,sDAAsD;IACtD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uDAAuD;IACvD,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,qBAAqB,CAAC,CAAC;AAE5E,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,CAwB7F,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import * as uuiComponents from '@epam/uui-components';
2
+ import { CX, Icon, IDropdownToggler, IHasCaption, IHasIcon } from '@epam/uui-core';
3
+ import { ClickableComponentProps } from '@epam/uui-components';
3
4
  type BadgeMods = {
4
5
  /** Defines component color. */
5
6
  color?: 'info' | 'success' | 'warning' | 'critical' | 'neutral';
@@ -14,7 +15,7 @@ type BadgeMods = {
14
15
  */
15
16
  size?: '18' | '24' | '30' | '36' | '42' | '48';
16
17
  };
17
- export type BadgeCoreProps = Omit<uuiComponents.ButtonProps, 'onClear' | 'clearIcon' | 'iconPosition'> & {
18
+ export type BadgeCoreProps = ClickableComponentProps & IDropdownToggler & IHasIcon & IHasCaption & {
18
19
  /** Pass true to display an indicator. It shows only if fill = 'outline'. */
19
20
  indicator?: boolean;
20
21
  /**
@@ -22,10 +23,19 @@ export type BadgeCoreProps = Omit<uuiComponents.ButtonProps, 'onClear' | 'clearI
22
23
  * @default 'left'
23
24
  */
24
25
  iconPosition?: 'left' | 'right';
26
+ /**
27
+ * CSS classes to put on the caption
28
+ * @deprecated
29
+ * */
30
+ captionCX?: CX;
31
+ /** Icon for drop-down toggler */
32
+ dropdownIcon?: Icon;
33
+ /** Count value to be placed in component */
34
+ count?: React.ReactNode;
25
35
  };
26
36
  /** Represents the properties of a Badge component. */
27
37
  export type BadgeProps = BadgeCoreProps & BadgeMods;
28
- export declare const Badge: (props: Omit<uuiComponents.ButtonProps, "onClear" | "iconPosition" | "clearIcon"> & {
38
+ export declare const Badge: 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 & {
29
39
  /** Pass true to display an indicator. It shows only if fill = 'outline'. */
30
40
  indicator?: boolean;
31
41
  /**
@@ -33,6 +43,15 @@ export declare const Badge: (props: Omit<uuiComponents.ButtonProps, "onClear" |
33
43
  * @default 'left'
34
44
  */
35
45
  iconPosition?: 'left' | 'right';
36
- } & BadgeMods & React.RefAttributes<any>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
46
+ /**
47
+ * CSS classes to put on the caption
48
+ * @deprecated
49
+ * */
50
+ captionCX?: CX;
51
+ /** Icon for drop-down toggler */
52
+ dropdownIcon?: Icon;
53
+ /** Count value to be placed in component */
54
+ count?: React.ReactNode;
55
+ } & BadgeMods & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLSpanElement>>;
37
56
  export {};
38
57
  //# sourceMappingURL=Badge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../components/widgets/Badge.tsx"],"names":[],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AAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAClD,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,uBAAuB,GAAG,gBAAgB,GAAG,QAAQ,GAAG,WAAW,GAAG;IAC/F,4EAA4E;IAC5E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC;;;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;AAEF,sDAAsD;AACtD,MAAM,MAAM,UAAU,GAAG,cAAc,GAAG,SAAS,CAAC;AAuBpD,eAAO,MAAM,KAAK;IA1Cd,4EAA4E;gBAChE,OAAO;IACnB;;;OAGG;mBACY,MAAM,GAAG,OAAO;IAC/B;;;SAGK;gBACO,EAAE;IACd,iCAAiC;mBAClB,IAAI;IACnB,4CAA4C;YACpC,MAAM,SAAS;6FAoFzB,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { IHasCX } from '@epam/uui-core';
3
3
  export interface IndeterminateBarMods extends IHasCX {
4
+ /** Component size */
4
5
  size?: '12' | '18' | '24';
5
6
  }
6
7
  export declare const IndeterminateBar: React.ForwardRefExoticComponent<IndeterminateBarMods & React.RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"IndeterminateBar.d.ts","sourceRoot":"","sources":["../../../components/widgets/IndeterminateBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGxC,MAAM,WAAW,oBAAqB,SAAQ,MAAM;IAChD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC7B;AAED,eAAO,MAAM,gBAAgB,6FAM3B,CAAC"}
1
+ {"version":3,"file":"IndeterminateBar.d.ts","sourceRoot":"","sources":["../../../components/widgets/IndeterminateBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGxC,MAAM,WAAW,oBAAqB,SAAQ,MAAM;IAChD,qBAAqB;IACrB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC7B;AAED,eAAO,MAAM,gBAAgB,6FAM3B,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import { ButtonProps } from '@epam/uui-components';
2
+ import { CX, Icon, IDropdownToggler, IHasCaption, IHasIcon } from '@epam/uui-core';
3
+ import { ClickableComponentProps } from '@epam/uui-components';
3
4
  interface TagMods {
4
5
  /**
5
6
  * Defines component color.
@@ -8,7 +9,7 @@ interface TagMods {
8
9
  color?: 'info' | 'success' | 'warning' | 'critical' | 'neutral';
9
10
  }
10
11
  /** Represents the Core properties of the Tag component. */
11
- export type TagCoreProps = ButtonProps & {
12
+ export type TagCoreProps = ClickableComponentProps & IDropdownToggler & IHasIcon & IHasCaption & {
12
13
  /**
13
14
  * Defines component size.
14
15
  * @default '36'
@@ -19,9 +20,46 @@ export type TagCoreProps = ButtonProps & {
19
20
  * @default 'solid'
20
21
  */
21
22
  fill?: 'solid' | 'outline';
23
+ /** Call to clear toggler value */
24
+ onClear?(e?: any): void;
25
+ /** Icon for clear value button (usually cross) */
26
+ clearIcon?: Icon;
27
+ /**
28
+ * CSS classes to put on the caption
29
+ * @deprecated
30
+ * */
31
+ captionCX?: CX;
32
+ /** Icon for drop-down toggler */
33
+ dropdownIcon?: Icon;
34
+ /** Count value to be placed in component */
35
+ count?: React.ReactNode;
22
36
  };
23
37
  /** Represents the properties of the Tag component. */
24
38
  export type TagProps = TagCoreProps & TagMods;
25
- export declare const Tag: (props: (TagCoreProps & TagMods) & React.RefAttributes<any>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
39
+ export declare const Tag: 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 & {
40
+ /**
41
+ * Defines component size.
42
+ * @default '36'
43
+ */
44
+ size?: '18' | '24' | '30' | '36' | '42' | '48';
45
+ /**
46
+ * Defines component fill style.
47
+ * @default 'solid'
48
+ */
49
+ fill?: 'solid' | 'outline';
50
+ /** Call to clear toggler value */
51
+ onClear?(e?: any): void;
52
+ /** Icon for clear value button (usually cross) */
53
+ clearIcon?: Icon;
54
+ /**
55
+ * CSS classes to put on the caption
56
+ * @deprecated
57
+ * */
58
+ captionCX?: CX;
59
+ /** Icon for drop-down toggler */
60
+ dropdownIcon?: Icon;
61
+ /** Count value to be placed in component */
62
+ count?: React.ReactNode;
63
+ } & TagMods & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLSpanElement>>;
26
64
  export {};
27
65
  //# sourceMappingURL=Tag.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../components/widgets/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAU,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAyB3D,UAAU,OAAO;IACb;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;CACnE;AAED,2DAA2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