@epam/uui 4.11.0-alpha.0 → 4.11.0-alpha.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 (127) hide show
  1. package/assets/styles/typography-mixins.scss +159 -0
  2. package/assets/styles/typography.scss +35 -0
  3. package/components/filters/FilterDataPickerBody.d.ts +14 -0
  4. package/components/filters/FilterDataPickerBody.d.ts.map +1 -0
  5. package/components/filters/FilterItemBody.d.ts +3 -0
  6. package/components/filters/FilterItemBody.d.ts.map +1 -0
  7. package/components/filters/FilterNumericBody.d.ts +13 -0
  8. package/components/filters/FilterNumericBody.d.ts.map +1 -0
  9. package/components/filters/FilterPanelItemToggler.d.ts +13 -0
  10. package/components/filters/FilterPanelItemToggler.d.ts.map +1 -0
  11. package/components/filters/FilterPickerBody.d.ts +20 -0
  12. package/components/filters/FilterPickerBody.d.ts.map +1 -0
  13. package/components/filters/FilterRangeDatePickerBody.d.ts +19 -0
  14. package/components/filters/FilterRangeDatePickerBody.d.ts.map +1 -0
  15. package/components/filters/FiltersPanel.d.ts +9 -0
  16. package/components/filters/FiltersPanel.d.ts.map +1 -0
  17. package/components/filters/FiltersPanelItem.d.ts +8 -0
  18. package/components/filters/FiltersPanelItem.d.ts.map +1 -0
  19. package/components/filters/PresetPanel/Preset.d.ts +9 -0
  20. package/components/filters/PresetPanel/Preset.d.ts.map +1 -0
  21. package/components/filters/PresetPanel/PresetActionsDropdown.d.ts +10 -0
  22. package/components/filters/PresetPanel/PresetActionsDropdown.d.ts.map +1 -0
  23. package/components/filters/PresetPanel/PresetInput.d.ts +9 -0
  24. package/components/filters/PresetPanel/PresetInput.d.ts.map +1 -0
  25. package/components/filters/PresetPanel/PresetsPanel.d.ts +7 -0
  26. package/components/filters/PresetPanel/PresetsPanel.d.ts.map +1 -0
  27. package/components/filters/PresetPanel/index.d.ts +2 -0
  28. package/components/filters/PresetPanel/index.d.ts.map +1 -0
  29. package/components/filters/defaultPredicates.d.ts +5 -0
  30. package/components/filters/defaultPredicates.d.ts.map +1 -0
  31. package/components/filters/index.d.ts +5 -0
  32. package/components/filters/index.d.ts.map +1 -0
  33. package/components/forms/Form.d.ts +4 -0
  34. package/components/forms/Form.d.ts.map +1 -0
  35. package/components/forms/index.d.ts +3 -0
  36. package/components/forms/index.d.ts.map +1 -0
  37. package/components/forms/useForm.d.ts +3 -0
  38. package/components/forms/useForm.d.ts.map +1 -0
  39. package/components/index.d.ts +3 -0
  40. package/components/index.d.ts.map +1 -1
  41. package/components/layout/Accordion.d.ts +0 -1
  42. package/components/layout/Accordion.d.ts.map +1 -1
  43. package/components/layout/Blocker.d.ts +4 -0
  44. package/components/layout/Blocker.d.ts.map +1 -0
  45. package/components/layout/CheckboxGroup.d.ts +3 -0
  46. package/components/layout/CheckboxGroup.d.ts.map +1 -0
  47. package/components/layout/index.d.ts +3 -1
  48. package/components/layout/index.d.ts.map +1 -1
  49. package/components/navigation/MainMenu/Burger/Burger.d.ts +6 -0
  50. package/components/navigation/MainMenu/Burger/Burger.d.ts.map +1 -0
  51. package/components/navigation/MainMenu/Burger/BurgerButton.d.ts +8 -0
  52. package/components/navigation/MainMenu/Burger/BurgerButton.d.ts.map +1 -0
  53. package/components/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts +5 -0
  54. package/components/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts.map +1 -0
  55. package/components/navigation/MainMenu/Burger/BurgerSearch.d.ts +5 -0
  56. package/components/navigation/MainMenu/Burger/BurgerSearch.d.ts.map +1 -0
  57. package/components/navigation/MainMenu/Burger/index.d.ts +5 -0
  58. package/components/navigation/MainMenu/Burger/index.d.ts.map +1 -0
  59. package/components/navigation/MainMenu/GlobalMenu.d.ts +6 -0
  60. package/components/navigation/MainMenu/GlobalMenu.d.ts.map +1 -0
  61. package/components/navigation/MainMenu/MainMenu.d.ts +5 -0
  62. package/components/navigation/MainMenu/MainMenu.d.ts.map +1 -0
  63. package/components/navigation/MainMenu/MainMenuAvatar.d.ts +8 -0
  64. package/components/navigation/MainMenu/MainMenuAvatar.d.ts.map +1 -0
  65. package/components/navigation/MainMenu/MainMenuButton.d.ts +7 -0
  66. package/components/navigation/MainMenu/MainMenuButton.d.ts.map +1 -0
  67. package/components/navigation/MainMenu/MainMenuDropdown.d.ts +6 -0
  68. package/components/navigation/MainMenu/MainMenuDropdown.d.ts.map +1 -0
  69. package/components/navigation/MainMenu/MainMenuIcon.d.ts +8 -0
  70. package/components/navigation/MainMenu/MainMenuIcon.d.ts.map +1 -0
  71. package/components/navigation/MainMenu/MainMenuSearch.d.ts +7 -0
  72. package/components/navigation/MainMenu/MainMenuSearch.d.ts.map +1 -0
  73. package/components/navigation/MainMenu/index.d.ts +9 -0
  74. package/components/navigation/MainMenu/index.d.ts.map +1 -0
  75. package/components/navigation/index.d.ts +2 -0
  76. package/components/navigation/index.d.ts.map +1 -0
  77. package/components/overlays/Alert.d.ts +24 -0
  78. package/components/overlays/Alert.d.ts.map +1 -0
  79. package/components/overlays/ConfirmationModal.d.ts +11 -0
  80. package/components/overlays/ConfirmationModal.d.ts.map +1 -0
  81. package/components/overlays/DropdownContainer.d.ts +6 -3
  82. package/components/overlays/DropdownContainer.d.ts.map +1 -1
  83. package/components/overlays/Modals.d.ts +1 -4
  84. package/components/overlays/Modals.d.ts.map +1 -1
  85. package/components/overlays/NotificationCard.d.ts +12 -17
  86. package/components/overlays/NotificationCard.d.ts.map +1 -1
  87. package/components/overlays/index.d.ts +1 -0
  88. package/components/overlays/index.d.ts.map +1 -1
  89. package/components/pickers/PickerList.d.ts.map +1 -1
  90. package/components/tables/DataTable.d.ts.map +1 -1
  91. package/components/tables/DataTableCell.d.ts.map +1 -1
  92. package/components/types.d.ts +5 -3
  93. package/components/types.d.ts.map +1 -1
  94. package/components/typography/RichTextView.d.ts +7 -0
  95. package/components/typography/RichTextView.d.ts.map +1 -0
  96. package/components/typography/Text.d.ts +2 -2
  97. package/components/typography/Text.d.ts.map +1 -1
  98. package/components/typography/TextPlaceholder.d.ts +5 -3
  99. package/components/typography/TextPlaceholder.d.ts.map +1 -1
  100. package/components/typography/index.d.ts +1 -0
  101. package/components/typography/index.d.ts.map +1 -1
  102. package/components/widgets/Spinner.d.ts +6 -0
  103. package/components/widgets/Spinner.d.ts.map +1 -0
  104. package/components/widgets/index.d.ts +1 -0
  105. package/components/widgets/index.d.ts.map +1 -1
  106. package/helpers/index.d.ts +3 -0
  107. package/helpers/index.d.ts.map +1 -0
  108. package/helpers/useColumnsWithFilters.d.ts +3 -0
  109. package/helpers/useColumnsWithFilters.d.ts.map +1 -0
  110. package/i18n.d.ts +13 -0
  111. package/i18n.d.ts.map +1 -1
  112. package/index.d.ts +2 -1
  113. package/index.d.ts.map +1 -1
  114. package/index.js +1787 -700
  115. package/index.js.map +1 -1
  116. package/package.json +5 -5
  117. package/stats.html +1 -1
  118. package/styles.css +8578 -2507
  119. package/styles.css.map +1 -1
  120. package/assets/styles/fonts-variables.scss +0 -24
  121. package/assets/styles/variables/layout/accordion.scss +0 -10
  122. package/assets/styles/variables/overlays/dropdownContainer.scss +0 -5
  123. package/assets/styles/variables/overlays/notificationCard.scss +0 -28
  124. package/assets/styles/variables/typography/text.scss +0 -19
  125. package/assets/styles/variables/typography/textPlaceholder.scss +0 -4
  126. package/components/layout/IconContainer.d.ts +0 -8
  127. package/components/layout/IconContainer.d.ts.map +0 -1
@@ -0,0 +1,7 @@
1
+ import { ButtonProps } from '@epam/uui-components';
2
+ import { IAdaptiveItem } from '@epam/uui-core';
3
+ export interface MainMenuButtonMods {
4
+ type?: 'primary' | 'secondary';
5
+ }
6
+ export declare const MainMenuButton: (props: ButtonProps & MainMenuButtonMods & IAdaptiveItem & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
7
+ //# sourceMappingURL=MainMenuButton.d.ts.map
@@ -0,0 +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,MAAM,WAAW,kBAAkB;IAC/B,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;CAClC;AAED,eAAO,MAAM,cAAc,0LAO1B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ import { MainMenuDropdownProps } from '@epam/uui-components';
3
+ export declare class MainMenuDropdown extends React.Component<MainMenuDropdownProps> {
4
+ render(): JSX.Element;
5
+ }
6
+ //# sourceMappingURL=MainMenuDropdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MainMenuDropdown.d.ts","sourceRoot":"","sources":["../../../../components/navigation/MainMenu/MainMenuDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAY,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAIvE,qBAAa,gBAAiB,SAAQ,KAAK,CAAC,SAAS,CAAC,qBAAqB,CAAC;IACxE,MAAM;CA8BT"}
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ import { Icon, IAdaptiveItem } from '@epam/uui-core';
3
+ import { ButtonProps } from '@epam/uui-components';
4
+ export interface MainMenuIconProps extends ButtonProps, IAdaptiveItem {
5
+ icon: Icon;
6
+ }
7
+ export declare const MainMenuIcon: React.ForwardRefExoticComponent<Pick<MainMenuIconProps, "isDisabled" | "onClick" | "link" | "caption" | "dropdownIcon" | "dropdownIconPosition" | "countPosition" | "count" | "cx" | "href" | "isLinkActive" | "target" | "icon" | "iconPosition" | "onIconClick" | "clickAnalyticsEvent" | "tabIndex" | "rawProps" | "onClear" | "isOpen" | "isDropdown" | "toggleDropdownOpening" | "isInteractedOutside" | "placeholder" | "forwardedRef" | "clearIcon" | "captionCX" | "estimatedWidth" | "priority" | "showInBurgerMenu" | "collapseToMore" | "collapsedContainer"> & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
8
+ //# sourceMappingURL=MainMenuIcon.d.ts.map
@@ -0,0 +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,MAAM,WAAW,iBAAkB,SAAQ,WAAW,EAAE,aAAa;IACjE,IAAI,EAAE,IAAI,CAAC;CACd;AAED,eAAO,MAAM,YAAY,wmBAEvB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import { TextInputProps } from '@epam/uui-components';
3
+ import { IAdaptiveItem } from '@epam/uui-core';
4
+ export interface MainMenuSearchProps extends TextInputProps, IAdaptiveItem {
5
+ }
6
+ export declare const MainMenuSearch: React.ForwardRefExoticComponent<Pick<MainMenuSearchProps, "value" | "onValueChange" | "isInvalid" | "validationMessage" | "validationProps" | "isDisabled" | "isReadonly" | "isRequired" | "onClick" | "caption" | "dropdownIcon" | "cx" | "icon" | "iconPosition" | "onIconClick" | "tabIndex" | "rawProps" | "isOpen" | "isDropdown" | "toggleDropdownOpening" | "isInteractedOutside" | "placeholder" | "type" | "inputMode" | "id" | "prefix" | "name" | "onFocus" | "onBlur" | "getValueChangeAnalyticsEvent" | "onCancel" | "onAccept" | "onKeyDown" | "autoFocus" | "autoComplete" | "maxLength" | "suffix" | "inputCx" | "acceptIcon" | "cancelIcon" | "renderInput" | "estimatedWidth" | "priority" | "showInBurgerMenu" | "collapseToMore" | "collapsedContainer"> & React.RefAttributes<HTMLInputElement>>;
7
+ //# sourceMappingURL=MainMenuSearch.d.ts.map
@@ -0,0 +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,MAAM,WAAW,mBAAoB,SAAQ,cAAc,EAAE,aAAa;CAAG;AAE7E,eAAO,MAAM,cAAc,uxBAczB,CAAC"}
@@ -0,0 +1,9 @@
1
+ export * from './MainMenu';
2
+ export * from './GlobalMenu';
3
+ export * from './Burger';
4
+ export * from './MainMenuAvatar';
5
+ export * from './MainMenuSearch';
6
+ export * from './MainMenuIcon';
7
+ export * from './MainMenuDropdown';
8
+ export * from './MainMenuButton';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/navigation/MainMenu/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './MainMenu';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/navigation/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -0,0 +1,24 @@
1
+ import * as React from 'react';
2
+ import { IHasChildren, IHasCX, Icon, IHasRawProps } from '@epam/uui-core';
3
+ import { SemanticColor } from '../types';
4
+ type notificationAction = {
5
+ name: string;
6
+ action: () => void;
7
+ };
8
+ export interface AlertProps extends IHasChildren, IHasCX, IHasRawProps<React.HTMLAttributes<HTMLDivElement>> {
9
+ /** List of actions to display in the alert. Each action has name and 'action' callback */
10
+ actions?: notificationAction[];
11
+ /** Alert color */
12
+ color?: SemanticColor;
13
+ /** When specified, a close icon is rendered. onClose callback will be called on clicking the close icon */
14
+ onClose?(): void;
15
+ /** An optional icon to show on the left of the alert */
16
+ icon?: Icon;
17
+ }
18
+ export declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
19
+ export declare const WarningAlert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
20
+ export declare const SuccessAlert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
21
+ export declare const HintAlert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
22
+ export declare const ErrorAlert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
23
+ export {};
24
+ //# sourceMappingURL=Alert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../components/overlays/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG1E,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAQzC,KAAK,kBAAkB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,UAAW,SAAQ,YAAY,EAAE,MAAM,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;IACxG,0FAA0F;IAC1F,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC/B,kBAAkB;IAClB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,2GAA2G;IAC3G,OAAO,CAAC,IAAI,IAAI,CAAC;IACjB,wDAAwD;IACxD,IAAI,CAAC,EAAE,IAAI,CAAC;CACf;AAED,eAAO,MAAM,KAAK,mFA4BhB,CAAC;AAEH,eAAO,MAAM,YAAY,mFAEvB,CAAC;AAEH,eAAO,MAAM,YAAY,mFAEvB,CAAC;AAEH,eAAO,MAAM,SAAS,mFAEpB,CAAC;AAEH,eAAO,MAAM,UAAU,mFAErB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { IModal } from '@epam/uui-core';
3
+ export interface ConfirmationModalWindowProps extends IModal<any> {
4
+ caption: any;
5
+ bodyContent?: any;
6
+ hideCancelButton?: boolean;
7
+ }
8
+ export declare class ConfirmationModal extends React.Component<ConfirmationModalWindowProps> {
9
+ render(): JSX.Element;
10
+ }
11
+ //# sourceMappingURL=ConfirmationModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmationModal.d.ts","sourceRoot":"","sources":["../../../components/overlays/ConfirmationModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAIxC,MAAM,WAAW,4BAA6B,SAAQ,MAAM,CAAC,GAAG,CAAC;IAC7D,OAAO,EAAE,GAAG,CAAC;IACb,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,qBAAa,iBAAkB,SAAQ,KAAK,CAAC,SAAS,CAAC,4BAA4B,CAAC;IAEhF,MAAM;CAyBT"}
@@ -1,6 +1,9 @@
1
- import { DropdownContainerProps } from '@epam/uui-components';
2
- import '../../assets/styles/variables/overlays/dropdownContainer.scss';
1
+ import { DropdownContainerProps as uuiDropdownContainerProps } from '@epam/uui-components';
3
2
  export interface DropdownContainerMods {
3
+ vPadding?: '6' | '12' | '18' | '24' | '30' | '48';
4
+ padding?: '6' | '12' | '18' | '24' | '30';
4
5
  }
5
- export declare const DropdownContainer: (props: DropdownContainerProps & DropdownContainerMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
+ export interface DropdownContainerProps extends uuiDropdownContainerProps, DropdownContainerMods {
7
+ }
8
+ export declare const DropdownContainer: (props: uuiDropdownContainerProps & DropdownContainerMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
9
  //# sourceMappingURL=DropdownContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownContainer.d.ts","sourceRoot":"","sources":["../../../components/overlays/DropdownContainer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiD,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC7G,OAAO,+DAA+D,CAAC;AAGvE,MAAM,WAAW,qBAAqB;CAAG;AASzC,eAAO,MAAM,iBAAiB,wLAAgH,CAAC"}
1
+ {"version":3,"file":"DropdownContainer.d.ts","sourceRoot":"","sources":["../../../components/overlays/DropdownContainer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiD,sBAAsB,IAAI,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAG1I,MAAM,WAAW,qBAAqB;IAClC,QAAQ,CAAC,EAAE,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAClD,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC7C;AAED,MAAM,WAAW,sBAAuB,SAAQ,yBAAyB,EAAE,qBAAqB;CAAG;AAUnG,eAAO,MAAM,iBAAiB,2LAAmH,CAAC"}
@@ -1,10 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ModalFooterCoreProps, ModalWindowProps, ModalBlockerProps, ModalHeaderCoreProps } from '@epam/uui-core';
3
3
  import { RowMods } from '../layout';
4
- export interface ModalBlockerMods {
5
- overlay?: boolean;
6
- }
7
- export declare const ModalBlocker: (props: ModalBlockerProps & ModalBlockerMods & React.RefAttributes<any>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
4
+ export declare const ModalBlocker: (props: ModalBlockerProps & React.RefAttributes<any>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
8
5
  export interface ModalWindowMods {
9
6
  width?: number;
10
7
  height?: number | 'auto';
@@ -1 +1 @@
1
- {"version":3,"file":"Modals.d.ts","sourceRoot":"","sources":["../../../components/overlays/Modals.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAY,oBAAoB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3H,OAAO,EAAuB,OAAO,EAAY,MAAM,WAAW,CAAC;AAMnE,MAAM,WAAW,gBAAgB;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,YAAY,gJAGvB,CAAC;AAEH,MAAM,WAAW,eAAe;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B;AAED,eAAO,MAAM,WAAW,8IAWvB,CAAC;AAEF,MAAM,WAAW,gBAAiB,SAAQ,OAAO,EAAE,oBAAoB;CAAG;AAE1E,qBAAa,WAAY,SAAQ,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC;IAC9D,MAAM;CAiBT;AAED,MAAM,WAAW,gBAAiB,SAAQ,OAAO,EAAE,oBAAoB;CAAG;AAE1E,qBAAa,WAAY,SAAQ,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC;IAC9D,MAAM;CAaT"}
1
+ {"version":3,"file":"Modals.d.ts","sourceRoot":"","sources":["../../../components/overlays/Modals.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAY,oBAAoB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3H,OAAO,EAAuB,OAAO,EAAY,MAAM,WAAW,CAAC;AAMnE,eAAO,MAAM,YAAY,6HAGnB,CAAC;AAEP,MAAM,WAAW,eAAe;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B;AAED,eAAO,MAAM,WAAW,8IAWvB,CAAC;AAEF,MAAM,WAAW,gBAAiB,SAAQ,OAAO,EAAE,oBAAoB;CAAG;AAE1E,qBAAa,WAAY,SAAQ,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC;IAC9D,MAAM;CAiBT;AAED,MAAM,WAAW,gBAAiB,SAAQ,OAAO,EAAE,oBAAoB;CAAG;AAE1E,qBAAa,WAAY,SAAQ,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC;IAC9D,MAAM;CAaT"}
@@ -1,27 +1,22 @@
1
1
  import React from 'react';
2
- import { INotification, Icon, IHasChildren, IHasCX, UuiContexts } from '@epam/uui-core';
3
- import '../../assets/styles/variables/overlays/notificationCard.scss';
4
- type notificationAction = {
2
+ import { INotification, Icon, IHasChildren, IHasCX, UuiContexts, IHasRawProps } from '@epam/uui-core';
3
+ import { SemanticColor } from '../types';
4
+ interface NotificationAction extends IHasRawProps<React.ButtonHTMLAttributes<HTMLButtonElement>> {
5
5
  name: string;
6
6
  action: () => void;
7
- };
8
- export interface DefaultNotificationProps extends INotification, IHasChildren, IHasCX {
9
- actions?: notificationAction[];
7
+ }
8
+ export interface DefaultNotificationProps extends INotification, IHasChildren, IHasCX, IHasRawProps<React.HTMLAttributes<HTMLDivElement>> {
9
+ actions?: NotificationAction[];
10
10
  }
11
11
  export interface NotificationCardProps extends DefaultNotificationProps {
12
12
  icon?: Icon;
13
- color: 'info' | 'success' | 'warning' | 'error';
14
- }
15
- export declare class NotificationCard extends React.Component<NotificationCardProps> {
16
- notificationCardNode: HTMLElement | null;
17
- componentDidMount(): void;
18
- componentWillUnmount(): void;
19
- render(): JSX.Element;
13
+ color?: SemanticColor;
20
14
  }
21
- export declare const WarningNotification: (props: DefaultNotificationProps) => JSX.Element;
22
- export declare const SuccessNotification: (props: DefaultNotificationProps) => JSX.Element;
23
- export declare const HintNotification: (props: DefaultNotificationProps) => JSX.Element;
24
- export declare const ErrorNotification: (props: DefaultNotificationProps) => JSX.Element;
15
+ export declare const NotificationCard: React.ForwardRefExoticComponent<NotificationCardProps & React.RefAttributes<HTMLDivElement>>;
16
+ export declare const WarningNotification: React.ForwardRefExoticComponent<DefaultNotificationProps & React.RefAttributes<HTMLDivElement>>;
17
+ export declare const SuccessNotification: React.ForwardRefExoticComponent<DefaultNotificationProps & React.RefAttributes<HTMLDivElement>>;
18
+ export declare const HintNotification: React.ForwardRefExoticComponent<DefaultNotificationProps & React.RefAttributes<HTMLDivElement>>;
19
+ export declare const ErrorNotification: React.ForwardRefExoticComponent<DefaultNotificationProps & React.RefAttributes<HTMLDivElement>>;
25
20
  export declare class ClearNotification extends React.Component<{}> {
26
21
  static contextType: React.Context<import("@epam/uui-core").CommonContexts<any, any>>;
27
22
  context: UuiContexts;
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationCard.d.ts","sourceRoot":"","sources":["../../../components/overlays/NotificationCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAc,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAQpG,OAAO,8DAA8D,CAAC;AAGtE,KAAK,kBAAkB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,wBAAyB,SAAQ,aAAa,EAAE,YAAY,EAAE,MAAM;IACjF,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAClC;AAED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AC;IACrI,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAClC;AAED,MAAM,WAAW,qBAAsB,SAAQ,wBAAwB;IACnE,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,KAAK,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,eAAO,MAAM,gBAAgB,8FAuD3B,CAAC;AAEH,eAAO,MAAM,mBAAmB,iGAE9B,CAAC;AAEH,eAAO,MAAM,mBAAmB,iGAE9B,CAAC;AAEH,eAAO,MAAM,gBAAgB,iGAE3B,CAAC;AAEH,eAAO,MAAM,iBAAiB,iGAE5B,CAAC;AAEH,qBAAa,iBAAkB,SAAQ,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC;IACtD,OAAc,WAAW,mEAAc;IAChC,OAAO,EAAE,WAAW,CAAC;IAE5B,MAAM;CAMT"}
@@ -1,3 +1,4 @@
1
+ export * from './Alert';
1
2
  export * from './Dropdown';
2
3
  export * from './DropdownContainer';
3
4
  export * from './DropdownMenu';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/overlays/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,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"}
@@ -1 +1 @@
1
- {"version":3,"file":"PickerList.d.ts","sourceRoot":"","sources":["../../../components/pickers/PickerList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OA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eAiC1H"}
1
+ {"version":3,"file":"DataTableCell.d.ts","sourceRoot":"","sources":["../../../components/tables/DataTableCell.tsx"],"names":[],"mappings":";AACA,OAAO,EAAc,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AA0C5C,wBAAgB,aAAa,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,kBAAkB,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,CAAC,GAAG,iBAAiB,eAiC1H"}
@@ -4,8 +4,10 @@ export type ControlSize = 'none' | '24' | '30' | '36' | '42' | '48';
4
4
  export declare const allSizes: ControlSize[];
5
5
  export type RowSize = null | '24' | '30' | '36' | '42' | '48';
6
6
  export declare const allRowSizes: RowSize[];
7
- export type EpamSemanticColor = 'accent' | 'primary' | 'secondary' | 'negative';
8
- export declare const allEpamSemanticColors: EpamSemanticColor[];
7
+ export type SemanticColor = 'info' | 'success' | 'warning' | 'error';
8
+ export declare const allSemanticColors: SemanticColor[];
9
+ export type ButtonSemanticColor = 'accent' | 'primary' | 'secondary' | 'negative';
10
+ export declare const allButtonSemanticColors: ButtonSemanticColor[];
9
11
  export type EpamBadgeSemanticColor = 'info' | 'success' | 'warning' | 'error' | 'default';
10
12
  export declare const allEpamBadgeSemanticColors: EpamBadgeSemanticColor[];
11
13
  export type TextSize = 'none' | '18' | '24' | '30' | '36' | '48';
@@ -14,7 +16,7 @@ export type FontStyle = 'regular' | 'semibold' | 'italic' | 'primary' | 'promo';
14
16
  export declare const allFontStyles: FontStyle[];
15
17
  export interface ColorMod {
16
18
  /** Component color */
17
- color?: EpamSemanticColor;
19
+ color?: SemanticColor;
18
20
  }
19
21
  export interface RowSizeMod {
20
22
  size?: RowSize;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../components/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,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G,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AAChF,eAAO,MAAM,aAAa,EAAE,SAAS,EAA0D,CAAC;AAEhG,MAAM,WAAW,QAAQ;IACrB,sBAAsB;IACtB,KAAK,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,MAAM,WAAW,UAAU;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,OAAO;IACpB,IAAI,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,MAAM,WAAW,YAAY;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;CACrC;AAED,oBAAY,QAAQ;IAChB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,MAAM,WAAW;CACpB"}
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import { RichTextViewProps } from '@epam/uui-components';
3
+ export interface RichTextViewMods {
4
+ size?: '12' | '14' | '16';
5
+ }
6
+ export declare const RichTextView: (props: RichTextViewProps & RichTextViewMods & React.RefAttributes<any>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
7
+ //# sourceMappingURL=RichTextView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichTextView.d.ts","sourceRoot":"","sources":["../../../components/typography/RichTextView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAmC,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAG1F,MAAM,WAAW,gBAAgB;IAC7B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC7B;AAED,eAAO,MAAM,YAAY,gJAGvB,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import * as types from '../types';
3
+ import { TextProps as UuiTextProps } from '@epam/uui-components';
3
4
  import { TextSettings } from '../../helpers/textLayout';
4
- import '../../assets/styles/variables/typography/text.scss';
5
- import '../../assets/styles/fonts-variables.scss';
6
5
  export interface TextMods extends TextSettings {
7
6
  size?: types.TextSize | '42';
8
7
  font?: types.FontStyle;
9
8
  color?: 'brand' | 'primary' | 'secondary' | 'disabled' | 'contrast';
10
9
  }
10
+ export type TextProps = UuiTextProps & TextMods;
11
11
  export declare const Text: (props: import("@epam/uui-core").IHasCX & import("@epam/uui-core").IHasChildren & import("@epam/uui-core").IClickable & import("@epam/uui-core").IAnalyticableClick & import("@epam/uui-core").IHasRawProps<React.HTMLAttributes<HTMLDivElement>> & import("@epam/uui-core").IHasForwardedRef<HTMLDivElement> & TextMods & React.RefAttributes<any>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
12
12
  //# sourceMappingURL=Text.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../components/typography/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAGlC,OAAO,EAAkB,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,oDAAoD,CAAC;AAC5D,OAAO,0CAA0C,CAAC;AAElD,MAAM,WAAW,QAAS,SAAQ,YAAY;IAC1C,IAAI,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IAC7B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,CAAC;CACvE;AAgBD,eAAO,MAAM,IAAI,4ZAAwD,CAAC"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../components/typography/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAClC,OAAO,EAAmB,SAAS,IAAI,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAElF,OAAO,EAAkB,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExE,MAAM,WAAW,QAAS,SAAQ,YAAY;IAC1C,IAAI,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IAC7B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,CAAC;CACvE;AAED,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,QAAQ,CAAC;AAgBhD,eAAO,MAAM,IAAI,4ZAA2D,CAAC"}
@@ -1,8 +1,10 @@
1
1
  import * as React from 'react';
2
- import '../../assets/styles/variables/typography/textPlaceholder.scss';
3
- export interface TextPlaceholderProps {
2
+ import { IHasCX, IHasRawProps } from "@epam/uui-core";
3
+ import { PropsWithChildren } from "react";
4
+ export interface ITextPlaceholderProps extends IHasRawProps<React.HTMLAttributes<HTMLDivElement>>, IHasCX {
4
5
  wordsCount?: number;
5
6
  isNotAnimated?: boolean;
6
7
  }
7
- export declare const TextPlaceholder: React.FunctionComponent<TextPlaceholderProps>;
8
+ export type TextPlaceholderProps = PropsWithChildren<ITextPlaceholderProps>;
9
+ export declare const TextPlaceholder: React.FunctionComponent<PropsWithChildren<ITextPlaceholderProps>>;
8
10
  //# sourceMappingURL=TextPlaceholder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextPlaceholder.d.ts","sourceRoot":"","sources":["../../../components/typography/TextPlaceholder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,+DAA+D,CAAC;AAEvE,MAAM,WAAW,oBAAoB;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CA0BzE,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,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,CA0B7F,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from './Text';
2
2
  export * from './TextPlaceholder';
3
+ export * from './RichTextView';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/typography/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/typography/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ import { SpinnerProps as UuiSpinnerProps } from '@epam/uui-components';
3
+ export type SpinnerProps = UuiSpinnerProps;
4
+ export declare function applySpinnerMods(): string[];
5
+ export declare const Spinner: (props: UuiSpinnerProps & React.RefAttributes<any>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
6
+ //# sourceMappingURL=Spinner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../components/widgets/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAyB,YAAY,IAAI,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAI9F,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC;AAE3C,wBAAgB,gBAAgB,aAI/B;AAED,eAAO,MAAM,OAAO,2HAA0D,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export * from './Avatar';
2
2
  export * from './Badge';
3
3
  export * from './Tag';
4
+ export * from './Spinner';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/widgets/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/widgets/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from "./useColumnsWithFilters";
2
+ export * from "./textLayout";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DataColumnProps, TableFiltersConfig } from "@epam/uui-core";
2
+ export declare const useColumnsWithFilters: <TFilter extends Record<string, any>>(initialColumns: DataColumnProps[], filters: TableFiltersConfig<TFilter>[]) => DataColumnProps<any, any, any>[];
3
+ //# sourceMappingURL=useColumnsWithFilters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useColumnsWithFilters.d.ts","sourceRoot":"","sources":["../../helpers/useColumnsWithFilters.tsx"],"names":[],"mappings":"AACA,OAAO,EAAqB,eAAe,EAAS,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAG/F,eAAO,MAAM,qBAAqB,wDAAyD,eAAe,EAAE,6EA8B3G,CAAC"}
package/i18n.d.ts CHANGED
@@ -87,5 +87,18 @@ export declare const i18n: {
87
87
  presetPanel: {
88
88
  addCaption: string;
89
89
  };
90
+ confirmationModal: {
91
+ discardButton: string;
92
+ saveButton: string;
93
+ };
94
+ lenses: {
95
+ validation: {
96
+ isRequiredMessage: string;
97
+ lessThanMinimumValueMessage: (minValue: number) => string;
98
+ greaterThanMaximumValueMessage: (maxValue: number) => string;
99
+ greaterThanMaximumLengthMessage: (maxLength: number) => string;
100
+ };
101
+ };
102
+ locale: string;
90
103
  };
91
104
  //# sourceMappingURL=i18n.d.ts.map
package/i18n.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../i18n.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyFhB,CAAC"}
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../i18n.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8FhB,CAAC"}
package/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import './assets/styles/font-faces.scss';
2
2
  export * from './components';
3
- export * from '@epam/uui-core';
3
+ export * from './i18n';
4
+ export * from './helpers';
4
5
  //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.tsx"],"names":[],"mappings":"AAAA,OAAO,iCAAiC,CAAC;AACzC,cAAc,cAAc,CAAC;AAE7B,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.tsx"],"names":[],"mappings":"AAAA,OAAO,iCAAiC,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC"}