@epam/uui 5.2.0 → 5.3.0-rc.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 (79) hide show
  1. package/assets/styles/effects.scss +1 -1
  2. package/assets/styles/typography.scss +38 -35
  3. package/components/buttons/Button.d.ts +14 -0
  4. package/components/buttons/Button.d.ts.map +1 -0
  5. package/components/buttons/IconButton.d.ts +1 -1
  6. package/components/buttons/LinkButton.d.ts.map +1 -1
  7. package/components/buttons/TabButton.d.ts +2 -1
  8. package/components/buttons/TabButton.d.ts.map +1 -1
  9. package/components/buttons/index.d.ts +1 -1
  10. package/components/buttons/index.d.ts.map +1 -1
  11. package/components/datePickers/DatePickerBody.d.ts +1 -2
  12. package/components/datePickers/DatePickerBody.d.ts.map +1 -1
  13. package/components/dnd/DropMarker.d.ts.map +1 -1
  14. package/components/inputs/Checkbox.d.ts.map +1 -1
  15. package/components/inputs/Slider.d.ts +6 -0
  16. package/components/inputs/Slider.d.ts.map +1 -0
  17. package/components/inputs/index.d.ts +1 -0
  18. package/components/inputs/index.d.ts.map +1 -1
  19. package/components/layout/Accordion.d.ts.map +1 -1
  20. package/components/layout/FlexItems/FlexRow.d.ts +1 -0
  21. package/components/layout/FlexItems/FlexRow.d.ts.map +1 -1
  22. package/components/layout/FlexItems/Panel.d.ts +1 -0
  23. package/components/layout/FlexItems/Panel.d.ts.map +1 -1
  24. package/components/navigation/MainMenu/Burger/Burger.d.ts.map +1 -1
  25. package/components/navigation/MainMenu/Burger/BurgerButton.d.ts.map +1 -1
  26. package/components/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts.map +1 -1
  27. package/components/navigation/MainMenu/Burger/BurgerSearch.d.ts.map +1 -1
  28. package/components/navigation/MainMenu/MainMenu.d.ts.map +1 -1
  29. package/components/navigation/MainMenu/MainMenuIcon.d.ts +1 -1
  30. package/components/navigation/MainMenu/MainMenuIcon.d.ts.map +1 -1
  31. package/components/overlays/Alert.d.ts +5 -5
  32. package/components/overlays/Alert.d.ts.map +1 -1
  33. package/components/overlays/DropdownContainer.d.ts.map +1 -1
  34. package/components/overlays/DropdownMenu.d.ts.map +1 -1
  35. package/components/overlays/Modals.d.ts.map +1 -1
  36. package/components/overlays/Tooltip.d.ts +1 -1
  37. package/components/pickers/DataPickerBody.d.ts.map +1 -1
  38. package/components/pickers/PickerInput.d.ts.map +1 -1
  39. package/components/tables/DataTable.d.ts +1 -0
  40. package/components/tables/DataTable.d.ts.map +1 -1
  41. package/components/tables/DataTableCell.d.ts +1 -0
  42. package/components/tables/DataTableCell.d.ts.map +1 -1
  43. package/components/tables/DataTableHeaderCell.d.ts +1 -0
  44. package/components/tables/DataTableHeaderCell.d.ts.map +1 -1
  45. package/components/tables/DataTableHeaderRow.d.ts +1 -0
  46. package/components/tables/DataTableHeaderRow.d.ts.map +1 -1
  47. package/components/tables/DataTableRow.d.ts +1 -0
  48. package/components/tables/DataTableRow.d.ts.map +1 -1
  49. package/components/tables/columnsConfigurationModal/PinIconButton.d.ts.map +1 -1
  50. package/components/types.d.ts +4 -6
  51. package/components/types.d.ts.map +1 -1
  52. package/components/typography/RichTextView.d.ts.map +1 -1
  53. package/components/typography/Text.d.ts +4 -2
  54. package/components/typography/Text.d.ts.map +1 -1
  55. package/components/widgets/Badge.d.ts +4 -2
  56. package/components/widgets/Badge.d.ts.map +1 -1
  57. package/components/widgets/CountIndicator.d.ts +8 -0
  58. package/components/widgets/CountIndicator.d.ts.map +1 -0
  59. package/components/widgets/ProgressBar.d.ts.map +1 -1
  60. package/components/widgets/StatusIndicator.d.ts +15 -0
  61. package/components/widgets/StatusIndicator.d.ts.map +1 -0
  62. package/components/widgets/Tag.d.ts +2 -1
  63. package/components/widgets/Tag.d.ts.map +1 -1
  64. package/components/widgets/index.d.ts +2 -0
  65. package/components/widgets/index.d.ts.map +1 -1
  66. package/index.d.ts +1 -0
  67. package/index.d.ts.map +1 -1
  68. package/index.esm.js +1565 -1454
  69. package/index.esm.js.map +1 -1
  70. package/index.js +1570 -1455
  71. package/index.js.map +1 -1
  72. package/package.json +5 -5
  73. package/stats.html +1 -1
  74. package/styles.css +9360 -3726
  75. package/styles.css.map +1 -1
  76. package/components/buttons/Button/Button.d.ts +0 -13
  77. package/components/buttons/Button/Button.d.ts.map +0 -1
  78. package/components/buttons/Button/index.d.ts +0 -2
  79. package/components/buttons/Button/index.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../components/typography/Text.tsx"],"names":[],"mappings":"AACA,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,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,CAAC;CAC5H;AAED,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,QAAQ,CAAC;AAmBhD,eAAO,MAAM,IAAI,ocAA2D,CAAC"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../components/typography/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAElC,OAAO,EAAkB,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAmB,SAAS,IAAI,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAGlF,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,CAAC;AACzI,eAAO,MAAM,aAAa,EAAE,SAAS,EAA8G,CAAC;AAEpJ,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,SAAS,CAAC;CACrB;AAED,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,QAAQ,CAAC;AAqBhD,eAAO,MAAM,IAAI,ocAA2D,CAAC"}
@@ -1,14 +1,16 @@
1
+ import React from 'react';
1
2
  import { EpamBadgeSemanticColor } from '../types';
2
3
  import { ButtonProps } from '@epam/uui-components';
3
4
  export type BadgeColor = EpamBadgeSemanticColor;
4
- export type BadgeFill = 'solid' | 'semitransparent' | 'transparent';
5
+ export type BadgeFill = 'solid' | 'outline';
5
6
  export type BadgeSize = '18' | '24' | '30' | '36' | '42' | '48';
6
7
  export interface BadgeMods {
7
8
  color?: BadgeColor;
8
9
  fill?: BadgeFill;
9
10
  size?: BadgeSize;
11
+ indicator?: boolean;
10
12
  }
11
13
  export type BadgeProps = ButtonProps & BadgeMods;
12
14
  export declare function applyBadgeMods(mods: BadgeMods): string[];
13
- export declare const Badge: (props: ButtonProps & BadgeMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
15
+ export declare const Badge: (props: ButtonProps & BadgeMods & React.RefAttributes<any>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
14
16
  //# sourceMappingURL=Badge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../components/widgets/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,EAAU,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAe3D,MAAM,MAAM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,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IHasCaption, IHasCX } from '@epam/uui-core';
3
+ export interface CountIndicatorProps extends IHasCaption, IHasCX {
4
+ size?: '24' | '18' | '12';
5
+ color: 'neutral' | 'white' | 'info' | 'success' | 'warning' | 'critical' | null;
6
+ }
7
+ export declare const CountIndicator: React.ForwardRefExoticComponent<CountIndicatorProps & React.RefAttributes<HTMLDivElement>>;
8
+ //# sourceMappingURL=CountIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CountIndicator.d.ts","sourceRoot":"","sources":["../../../components/widgets/CountIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGrD,MAAM,WAAW,mBAAoB,SAAQ,WAAW,EAAE,MAAM;IAC5D,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,IAAI,CAAC;CACnF;AAED,eAAO,MAAM,cAAc,4FAezB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../components/widgets/ProgressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAMxF,MAAM,WAAW,eAAe;IAC5B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,eAAe,YAMzD;AAED,eAAO,MAAM,WAAW,6KAErB,CAAC"}
1
+ {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../components/widgets/ProgressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAMxF,MAAM,WAAW,eAAe;IAC5B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,eAAe,YAQzD;AAED,eAAO,MAAM,WAAW,6KAErB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { IHasCX } from '@epam/uui-core';
3
+ export type StatusIndicatorColors = 'neutral' | 'info' | 'success' | 'warning' | 'critical';
4
+ export interface StatusIndicatorProps extends IHasCX {
5
+ /** Component size. If omitted, 24 size will be used. */
6
+ size?: '24' | '18' | '12';
7
+ /** Component color. */
8
+ color?: StatusIndicatorColors;
9
+ /** Fill mode, solid is used by default */
10
+ fill?: 'solid' | 'outline';
11
+ /** Component caption. */
12
+ caption: string;
13
+ }
14
+ export declare const StatusIndicator: React.ForwardRefExoticComponent<StatusIndicatorProps & React.RefAttributes<HTMLDivElement>>;
15
+ //# sourceMappingURL=StatusIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusIndicator.d.ts","sourceRoot":"","sources":["../../../components/widgets/StatusIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGxC,MAAM,MAAM,qBAAqB,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAE5F,MAAM,WAAW,oBAAqB,SAAQ,MAAM;IAChD,wDAAwD;IACxD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,uBAAuB;IACvB,KAAK,CAAC,EAAE,qBAAqB,CAAC;IAC9B,0CAA0C;IAC1C,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,yBAAyB;IACzB,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,eAAe,6FAiB1B,CAAC"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ButtonProps } from '@epam/uui-components';
2
3
  export type TagSize = '18' | '24' | '30' | '36' | '42' | '48';
3
4
  export interface TagMods {
@@ -5,5 +6,5 @@ export interface TagMods {
5
6
  }
6
7
  export declare function applyTagMods(mods: TagMods): string[];
7
8
  export type TagProps = ButtonProps & TagMods;
8
- export declare const Tag: (props: ButtonProps & TagMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
9
+ export declare const Tag: (props: ButtonProps & TagMods & React.RefAttributes<any>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
9
10
  //# sourceMappingURL=Tag.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../components/widgets/Tag.tsx"],"names":[],"mappings":"AACA,OAAO,EAAU,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAe3D,MAAM,MAAM,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9D,MAAM,WAAW,OAAO;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,YAEzC;AAED,MAAM,MAAM,QAAQ,GAAG,WAAW,GAAG,OAAO,CAAC;AAE7C,eAAO,MAAM,GAAG,+JAGb,CAAC"}
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;AAgB3D,MAAM,MAAM,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAW9D,MAAM,WAAW,OAAO;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,YAOzC;AAED,MAAM,MAAM,QAAQ,GAAG,WAAW,GAAG,OAAO,CAAC;AAE7C,eAAO,MAAM,GAAG,iIAUb,CAAC"}
@@ -7,4 +7,6 @@ export * from './Paginator';
7
7
  export * from './IndeterminateBar';
8
8
  export * from './IndicatorBar';
9
9
  export * from './ProgressBar';
10
+ export * from './CountIndicator';
11
+ export * from './StatusIndicator';
10
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/widgets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/widgets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC"}
package/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import './assets/styles/typography.scss';
1
2
  export * from './components';
2
3
  export * from './i18n';
3
4
  export * from './helpers';
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.tsx"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.tsx"],"names":[],"mappings":"AAAA,OAAO,iCAAiC,CAAC;AAEzC,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC"}