@epam/uui 5.5.3 → 5.6.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.
- package/assets/styles/buttonLayout.scss +67 -67
- package/assets/styles/clickable.scss +27 -0
- package/assets/styles/controlLayout.scss +28 -28
- package/assets/styles/dnd.scss +9 -9
- package/assets/styles/effects.scss +7 -7
- package/assets/styles/icons.scss +19 -19
- package/assets/styles/index.scss +9 -8
- package/assets/styles/inputs.scss +74 -74
- package/assets/styles/text-size.scss +42 -42
- package/assets/styles/typography.scss +174 -174
- package/components/buttons/Button.d.ts +12 -10
- package/components/buttons/Button.d.ts.map +1 -1
- package/components/buttons/IconButton.d.ts +6 -3
- package/components/buttons/IconButton.d.ts.map +1 -1
- package/components/buttons/LinkButton.d.ts +29 -8
- package/components/buttons/LinkButton.d.ts.map +1 -1
- package/components/buttons/TabButton.d.ts +35 -8
- package/components/buttons/TabButton.d.ts.map +1 -1
- package/components/buttons/VerticalTabButton.d.ts +10 -1
- package/components/buttons/VerticalTabButton.d.ts.map +1 -1
- package/components/datePickers/DatePicker.d.ts.map +1 -1
- package/components/datePickers/RangeDatePicker.d.ts.map +1 -1
- package/components/fileUpload/DropSpot.d.ts +14 -6
- package/components/fileUpload/DropSpot.d.ts.map +1 -1
- package/components/fileUpload/FileCard.d.ts +12 -0
- package/components/fileUpload/FileCard.d.ts.map +1 -1
- package/components/filters/FilterPanelItemToggler.d.ts +3 -3
- package/components/filters/FilterPanelItemToggler.d.ts.map +1 -1
- package/components/filters/FiltersPanel.d.ts +4 -0
- package/components/filters/FiltersPanel.d.ts.map +1 -1
- package/components/filters/PresetPanel/PresetsPanel.d.ts +1 -0
- package/components/filters/PresetPanel/PresetsPanel.d.ts.map +1 -1
- package/components/inputs/MultiSwitch.d.ts +2 -3
- package/components/inputs/MultiSwitch.d.ts.map +1 -1
- package/components/inputs/RadioInput.d.ts +1 -0
- package/components/inputs/RadioInput.d.ts.map +1 -1
- package/components/inputs/TextInput.d.ts +1 -1
- package/components/inputs/TextInput.d.ts.map +1 -1
- package/components/inputs/index.d.ts +1 -1
- package/components/inputs/timePicker/TimePicker.d.ts +41 -0
- package/components/inputs/timePicker/TimePicker.d.ts.map +1 -0
- package/components/inputs/timePicker/TimePickerBody.d.ts +22 -0
- package/components/inputs/timePicker/TimePickerBody.d.ts.map +1 -0
- package/components/inputs/timePicker/index.d.ts +3 -0
- package/components/inputs/timePicker/index.d.ts.map +1 -0
- package/components/inputs/timePicker/parseTimeHelper.d.ts +7 -0
- package/components/inputs/timePicker/parseTimeHelper.d.ts.map +1 -0
- package/components/layout/FlexItems/FlexRow.d.ts +10 -0
- package/components/layout/FlexItems/FlexRow.d.ts.map +1 -1
- package/components/layout/RadioGroup.d.ts +3 -1
- package/components/layout/RadioGroup.d.ts.map +1 -1
- package/components/navigation/Anchor.d.ts +1 -2
- package/components/navigation/Anchor.d.ts.map +1 -1
- package/components/navigation/MainMenu/Burger/BurgerButton.d.ts +6 -2
- package/components/navigation/MainMenu/Burger/BurgerButton.d.ts.map +1 -1
- package/components/navigation/MainMenu/MainMenuAvatar.d.ts +3 -3
- package/components/navigation/MainMenu/MainMenuAvatar.d.ts.map +1 -1
- package/components/navigation/MainMenu/MainMenuButton.d.ts +28 -3
- package/components/navigation/MainMenu/MainMenuButton.d.ts.map +1 -1
- package/components/navigation/MainMenu/MainMenuIcon.d.ts +4 -37
- package/components/navigation/MainMenu/MainMenuIcon.d.ts.map +1 -1
- package/components/navigation/MainMenu/MainMenuSearch.d.ts +1 -1
- package/components/navigation/MainMenu/MainMenuSearch.d.ts.map +1 -1
- package/components/overlays/DropdownMenu.d.ts +3 -3
- package/components/overlays/DropdownMenu.d.ts.map +1 -1
- package/components/overlays/Snackbar.d.ts +12 -0
- package/components/overlays/Snackbar.d.ts.map +1 -0
- package/components/overlays/index.d.ts +1 -0
- package/components/overlays/index.d.ts.map +1 -1
- package/components/pickers/PickerItem.d.ts +11 -0
- package/components/pickers/PickerItem.d.ts.map +1 -1
- package/components/pickers/PickerList.d.ts +2 -2
- package/components/pickers/PickerList.d.ts.map +1 -1
- package/components/pickers/PickerListItem.d.ts +3 -0
- package/components/pickers/PickerListItem.d.ts.map +1 -1
- package/components/pickers/highlight.d.ts +2 -1
- package/components/pickers/highlight.d.ts.map +1 -1
- package/components/tables/DataTableHeaderCell.d.ts +2 -2
- package/components/tables/DataTableHeaderCell.d.ts.map +1 -1
- package/components/tables/types.d.ts +5 -0
- package/components/tables/types.d.ts.map +1 -1
- package/components/typography/Text.d.ts +1 -1
- package/components/typography/Text.d.ts.map +1 -1
- package/components/typography/TextPlaceholder.d.ts +2 -0
- package/components/typography/TextPlaceholder.d.ts.map +1 -1
- package/components/widgets/Badge.d.ts +23 -4
- package/components/widgets/Badge.d.ts.map +1 -1
- package/components/widgets/IndeterminateBar.d.ts +1 -0
- package/components/widgets/IndeterminateBar.d.ts.map +1 -1
- package/components/widgets/Tag.d.ts +41 -3
- package/components/widgets/Tag.d.ts.map +1 -1
- package/helpers/textLayout.d.ts +2 -0
- package/helpers/textLayout.d.ts.map +1 -1
- package/index.esm.js +2122 -1877
- package/index.esm.js.map +1 -1
- package/index.js +2211 -1962
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/readme.md +4 -4
- package/stats.html +1 -1
- package/styles.css +4931 -4802
- package/styles.css.map +1 -1
- package/components/inputs/TimePicker.d.ts +0 -15
- package/components/inputs/TimePicker.d.ts.map +0 -1
- package/components/inputs/TimePickerBody.d.ts +0 -3
- package/components/inputs/TimePickerBody.d.ts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface FilterToolbarItemTogglerProps extends
|
|
2
|
+
import { IDisableable, IDropdownTogglerProps, IHasCX } from '@epam/uui-core';
|
|
3
|
+
export interface FilterToolbarItemTogglerProps extends IDropdownTogglerProps, IDisableable {
|
|
4
4
|
selection?: React.ReactNode[];
|
|
5
5
|
postfix?: string | null | JSX.Element;
|
|
6
6
|
title?: string;
|
|
@@ -9,5 +9,5 @@ export interface FilterToolbarItemTogglerProps extends IDropdownToggler {
|
|
|
9
9
|
cx?: IHasCX;
|
|
10
10
|
predicateName: string | null;
|
|
11
11
|
}
|
|
12
|
-
export declare const FilterPanelItemToggler: React.ForwardRefExoticComponent<Pick<FilterToolbarItemTogglerProps, "isDisabled" | "
|
|
12
|
+
export declare const FilterPanelItemToggler: React.ForwardRefExoticComponent<Pick<FilterToolbarItemTogglerProps, "isDisabled" | "toggleDropdownOpening" | "isInteractedOutside" | "isOpen" | "isDropdown" | "onClick" | "selection" | "cx" | "title" | "maxWidth" | "size" | "postfix" | "predicateName"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
//# sourceMappingURL=FilterPanelItemToggler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterPanelItemToggler.d.ts","sourceRoot":"","sources":["../../../components/filters/FilterPanelItemToggler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FilterPanelItemToggler.d.ts","sourceRoot":"","sources":["../../../components/filters/FilterPanelItemToggler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,EAAkC,MAAM,gBAAgB,CAAC;AAS7G,MAAM,WAAW,6BAA8B,SAAQ,qBAAqB,EAAE,YAAY;IACtF,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,GAAG,CAAC,OAAO,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACxC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,eAAO,MAAM,sBAAsB,qSAqEjC,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TableFiltersConfig, DataTableState } from '@epam/uui-core';
|
|
3
3
|
export interface FiltersPanelProps<TFilter> {
|
|
4
|
+
/** Filters config to get data how to render filters */
|
|
4
5
|
filters: TableFiltersConfig<TFilter>[];
|
|
6
|
+
/** Current state value of the table(list) */
|
|
5
7
|
tableState: DataTableState;
|
|
8
|
+
/** Called when state needs to be changed */
|
|
6
9
|
setTableState: (newState: DataTableState) => void;
|
|
10
|
+
/** Defines size(height) of filter panel and filters */
|
|
7
11
|
size?: '24' | '30' | '36' | '42' | '48';
|
|
8
12
|
}
|
|
9
13
|
declare function FiltersToolbarImpl<TFilter extends object>(props: FiltersPanelProps<TFilter>): JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiltersPanel.d.ts","sourceRoot":"","sources":["../../../components/filters/FiltersPanel.tsx"],"names":[],"mappings":";AAOA,OAAO,EACa,kBAAkB,EAAmD,cAAc,EACtG,MAAM,gBAAgB,CAAC;AAMxB,MAAM,WAAW,iBAAiB,CAAC,OAAO;IACtC,OAAO,EAAE,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC;IACvC,UAAU,EAAE,cAAc,CAAC;IAC3B,aAAa,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,CAAC;IAClD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3C;AAyCD,iBAAS,kBAAkB,CAAC,OAAO,SAAS,MAAM,EAAE,KAAK,EAAE,iBAAiB,CAAC,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"FiltersPanel.d.ts","sourceRoot":"","sources":["../../../components/filters/FiltersPanel.tsx"],"names":[],"mappings":";AAOA,OAAO,EACa,kBAAkB,EAAmD,cAAc,EACtG,MAAM,gBAAgB,CAAC;AAMxB,MAAM,WAAW,iBAAiB,CAAC,OAAO;IACtC,uDAAuD;IACvD,OAAO,EAAE,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC;IACvC,6CAA6C;IAC7C,UAAU,EAAE,cAAc,CAAC;IAC3B,4CAA4C;IAC5C,aAAa,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,CAAC;IAClD,uDAAuD;IACvD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3C;AAyCD,iBAAS,kBAAkB,CAAC,OAAO,SAAS,MAAM,EAAE,KAAK,EAAE,iBAAiB,CAAC,OAAO,CAAC,eA2JpF;AAED,eAAO,MAAM,YAAY,2BAA8D,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { DataTableState, IHasRawProps, IPresetsApi } from '@epam/uui-core';
|
|
3
3
|
export interface PresetsPanelProps extends IPresetsApi, IHasRawProps<React.HTMLAttributes<HTMLDivElement>> {
|
|
4
|
+
/** Current state value of the table(list) */
|
|
4
5
|
tableState: DataTableState;
|
|
5
6
|
}
|
|
6
7
|
export declare function PresetsPanel(props: PresetsPanelProps): JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresetsPanel.d.ts","sourceRoot":"","sources":["../../../../components/filters/PresetPanel/PresetsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAGrD,OAAO,EACH,cAAc,EAAE,YAAY,EAAE,WAAW,EAC5C,MAAM,gBAAgB,CAAC;AAYxB,MAAM,WAAW,iBAAkB,SAAQ,WAAW,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;IACtG,UAAU,EAAE,cAAc,CAAC;CAC9B;AAID,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,eAwFpD"}
|
|
1
|
+
{"version":3,"file":"PresetsPanel.d.ts","sourceRoot":"","sources":["../../../../components/filters/PresetPanel/PresetsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAGrD,OAAO,EACH,cAAc,EAAE,YAAY,EAAE,WAAW,EAC5C,MAAM,gBAAgB,CAAC;AAYxB,MAAM,WAAW,iBAAkB,SAAQ,WAAW,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;IACtG,6CAA6C;IAC7C,UAAU,EAAE,cAAc,CAAC;CAC9B;AAID,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,eAwFpD"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IEditable, IHasRawProps } from '@epam/uui-core';
|
|
3
|
-
import { ButtonProps } from '
|
|
4
|
-
import { ButtonProps as uuiButtonProps } from '../buttons';
|
|
3
|
+
import { ButtonProps } from '../buttons';
|
|
5
4
|
import { SizeMod } from '../types';
|
|
6
|
-
type MultiSwitchItem<TValue> = ButtonProps &
|
|
5
|
+
type MultiSwitchItem<TValue> = ButtonProps & {
|
|
7
6
|
/**
|
|
8
7
|
* Defines the id of MultiSwitchItem.
|
|
9
8
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSwitch.d.ts","sourceRoot":"","sources":["../../../components/inputs/MultiSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"MultiSwitch.d.ts","sourceRoot":"","sources":["../../../components/inputs/MultiSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEzD,OAAO,EAAU,WAAW,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,KAAK,eAAe,CAAC,MAAM,IAAI,WAAW,GAAG;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,eAAe,GAAG;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;CACnC,CAAC;AAEF,sEAAsE;AACtE,MAAM,MAAM,oBAAoB,CAAC,MAAM,IAAI,SAAS,CAAC,MAAM,CAAC,GAAG,OAAO,GAAG,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,GAAG;IAC1H;;OAEG;IACH,KAAK,EAAE,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC;CACpC,CAAC;AAEF,+DAA+D;AAC/D,MAAM,MAAM,gBAAgB,CAAC,MAAM,GAAG,OAAO,IAAI,oBAAoB,CAAC,MAAM,CAAC,GAAG,eAAe,CAAC;AAgChG,eAAO,MAAM,WAAW;IAvCpB;;OAEG;;0DAqC0D,CAAC"}
|
|
@@ -12,6 +12,7 @@ export declare const RadioInput: (props: import("@epam/uui-core").IHasCX & impor
|
|
|
12
12
|
icon?: import("@epam/uui-core").Icon;
|
|
13
13
|
renderLabel?(): import("react").ReactNode;
|
|
14
14
|
id?: string;
|
|
15
|
+
name?: string;
|
|
15
16
|
} & RadioInputMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
16
17
|
export {};
|
|
17
18
|
//# sourceMappingURL=RadioInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioInput.d.ts","sourceRoot":"","sources":["../../../components/inputs/RadioInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAA+B,eAAe,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAI1G,KAAK,cAAc,GAAG;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACtB,CAAC;AAEF,2DAA2D;AAC3D,MAAM,MAAM,eAAe,GAAG,cAAc,GAAG,kBAAkB,CAAC;AAWlE,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"RadioInput.d.ts","sourceRoot":"","sources":["../../../components/inputs/RadioInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAA+B,eAAe,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAI1G,KAAK,cAAc,GAAG;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACtB,CAAC;AAEF,2DAA2D;AAC3D,MAAM,MAAM,eAAe,GAAG,cAAc,GAAG,kBAAkB,CAAC;AAWlE,eAAO,MAAM,UAAU;;;;;kJAItB,CAAC"}
|
|
@@ -22,6 +22,6 @@ export declare const TextInput: (props: CoreTextInputProps & IHasEditMode & {
|
|
|
22
22
|
*/
|
|
23
23
|
size?: ControlSize | '60';
|
|
24
24
|
} & React.RefAttributes<any>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
25
|
-
export declare const SearchInput: React.ForwardRefExoticComponent<
|
|
25
|
+
export declare const SearchInput: React.ForwardRefExoticComponent<SearchInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
26
26
|
export {};
|
|
27
27
|
//# sourceMappingURL=TextInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../components/inputs/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAgC,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AACzF,OAAO,EAA6B,cAAc,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACvG,OAAO,EAAE,YAAY,EAAY,WAAW,EAAE,MAAM,UAAU,CAAC;AAO/D,KAAK,aAAa,GAAG,YAAY,GAAG;IAChC;;;OAGG;IACH,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CAC7B,CAAC;AAUF,2DAA2D;AAC3D,MAAM,WAAW,cAAe,SAAQ,kBAAkB,EAAE,aAAa;CAAG;AAE5E,6DAA6D;AAC7D,MAAM,WAAW,gBAAiB,SAAQ,cAAc,EAAE,yBAAyB;CAAG;AAEtF,eAAO,MAAM,SAAS;IArBlB;;;OAGG;WACI,WAAW,GAAG,IAAI;mGAqB1B,CAAC;AAEJ,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../components/inputs/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAgC,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AACzF,OAAO,EAA6B,cAAc,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACvG,OAAO,EAAE,YAAY,EAAY,WAAW,EAAE,MAAM,UAAU,CAAC;AAO/D,KAAK,aAAa,GAAG,YAAY,GAAG;IAChC;;;OAGG;IACH,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CAC7B,CAAC;AAUF,2DAA2D;AAC3D,MAAM,WAAW,cAAe,SAAQ,kBAAkB,EAAE,aAAa;CAAG;AAE5E,6DAA6D;AAC7D,MAAM,WAAW,gBAAiB,SAAQ,cAAc,EAAE,yBAAyB;CAAG;AAEtF,eAAO,MAAM,SAAS;IArBlB;;;OAGG;WACI,WAAW,GAAG,IAAI;mGAqB1B,CAAC;AAEJ,eAAO,MAAM,WAAW,2FAyBtB,CAAC"}
|
|
@@ -5,7 +5,7 @@ export * from './TextInput';
|
|
|
5
5
|
export * from './MultiSwitch';
|
|
6
6
|
export * from './NumericInput';
|
|
7
7
|
export * from './TextArea';
|
|
8
|
-
export * from './
|
|
8
|
+
export * from './timePicker';
|
|
9
9
|
export * from './InputAddon';
|
|
10
10
|
export * from './Slider';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CX, ICanBeReadonly, ICanFocus, IDisableable, IDropdownToggler, IEditable, IHasForwardedRef, IHasPlaceholder, IHasRawProps } from '@epam/uui-core';
|
|
3
|
+
import { IHasEditMode, SizeMod } from '../../types';
|
|
4
|
+
export interface TimePickerProps extends SizeMod, IHasEditMode, IEditable<TimePickerValue | null>, IDisableable, ICanBeReadonly, IHasPlaceholder, ICanFocus<HTMLElement>, IHasForwardedRef<HTMLElement> {
|
|
5
|
+
/**
|
|
6
|
+
* Minutes input increase/decrease step on up/down icons clicks and up/down arrow keys
|
|
7
|
+
* @default 5
|
|
8
|
+
*/
|
|
9
|
+
minutesStep?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Time format, 12 hours with AM/PM or 24 hours
|
|
12
|
+
* @default 12
|
|
13
|
+
*/
|
|
14
|
+
format?: 12 | 24;
|
|
15
|
+
/** ID to put on time picker toggler 'input' node */
|
|
16
|
+
id?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Render callback for time picker toggler.
|
|
19
|
+
* If omitted, default TextInput component will be rendered.
|
|
20
|
+
*/
|
|
21
|
+
renderTarget?(props: IDropdownToggler): React.ReactNode;
|
|
22
|
+
/** HTML attributes to put directly to TimePicker parts */
|
|
23
|
+
rawProps?: {
|
|
24
|
+
/** HTML attributes to put directly to the input element */
|
|
25
|
+
input?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
|
|
26
|
+
/** HTML attributes to put directly to the body root element */
|
|
27
|
+
body?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
|
|
28
|
+
};
|
|
29
|
+
/** CSS class(es) to put on input-part component. See https://github.com/JedWatson/classnames#usage for details */
|
|
30
|
+
inputCx?: CX;
|
|
31
|
+
/** CSS class(es) to put on body-part component. See https://github.com/JedWatson/classnames#usage for details */
|
|
32
|
+
bodyCx?: CX;
|
|
33
|
+
}
|
|
34
|
+
export interface TimePickerValue {
|
|
35
|
+
/** Selected hours value */
|
|
36
|
+
hours: number;
|
|
37
|
+
/** Selected minutes value */
|
|
38
|
+
minutes: number;
|
|
39
|
+
}
|
|
40
|
+
export declare function TimePicker(props: TimePickerProps): JSX.Element;
|
|
41
|
+
//# sourceMappingURL=TimePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../../components/inputs/timePicker/TimePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,EACH,EAAE,EAAgC,cAAc,EAAE,SAAS,EAAE,YAAY,EAAE,gBAAgB,EAAE,SAAS,EACtG,gBAAgB,EAAE,eAAe,EAAE,YAAY,EAClD,MAAM,gBAAgB,CAAC;AAIxB,OAAO,EAAY,YAAY,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAQ9D,MAAM,WAAW,eAAgB,SAAQ,OAAO,EAAE,YAAY,EAAE,SAAS,CAAC,eAAe,GAAG,IAAI,CAAC,EAC7F,YAAY,EACZ,cAAc,EACd,eAAe,EACf,SAAS,CAAC,WAAW,CAAC,EACtB,gBAAgB,CAAC,WAAW,CAAC;IAC7B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,MAAM,CAAC,EAAE,EAAE,GAAG,EAAE,CAAC;IACjB,oDAAoD;IACpD,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IACH,YAAY,CAAC,CAAC,KAAK,EAAE,gBAAgB,GAAG,KAAK,CAAC,SAAS,CAAC;IAExD,0DAA0D;IAC1D,QAAQ,CAAC,EAAE;QACP,2DAA2D;QAC3D,KAAK,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;QACvE,+DAA+D;QAC/D,IAAI,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;KACzE,CAAC;IACF,kHAAkH;IAClH,OAAO,CAAC,EAAE,EAAE,CAAC;IACb,iHAAiH;IACjH,MAAM,CAAC,EAAE,EAAE,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC5B,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,6BAA6B;IAC7B,OAAO,EAAE,MAAM,CAAC;CACnB;AASD,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,eAqJhD"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Icon, IEditable, IHasCX, IHasForwardedRef, IHasRawProps } from '@epam/uui-core';
|
|
3
|
+
import { TimePickerProps, TimePickerValue } from '../timePicker';
|
|
4
|
+
export declare const uuiTimePicker: {
|
|
5
|
+
readonly container: "uui-timepicker-container";
|
|
6
|
+
readonly iconUp: "uui-timepicker-icon-up";
|
|
7
|
+
readonly iconDown: "uui-timepicker-icon-down";
|
|
8
|
+
readonly input: "uui-timepicker-input";
|
|
9
|
+
readonly elementContainer: "uui-timepicker-item";
|
|
10
|
+
};
|
|
11
|
+
export interface TimePickerBodyProps extends Pick<TimePickerProps, 'minutesStep' | 'format'>, IHasCX, IEditable<TimePickerValue>, IHasRawProps<React.HTMLAttributes<HTMLDivElement>>, IHasForwardedRef<HTMLDivElement> {
|
|
12
|
+
/** Icon for the add action.
|
|
13
|
+
* Usually it has a default implementation in skins, so providing this is only necessary if you want to replace the default icon
|
|
14
|
+
*/
|
|
15
|
+
addIcon?: Icon;
|
|
16
|
+
/** Icon for the subtract action.
|
|
17
|
+
* Usually it has a default implementation in skins, so providing this is only necessary if you want to replace the default icon
|
|
18
|
+
*/
|
|
19
|
+
subtractIcon?: Icon;
|
|
20
|
+
}
|
|
21
|
+
export declare function TimePickerBody(props: TimePickerBodyProps): JSX.Element;
|
|
22
|
+
//# sourceMappingURL=TimePickerBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimePickerBody.d.ts","sourceRoot":"","sources":["../../../../components/inputs/timePicker/TimePickerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAM,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE7F,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAMjE,eAAO,MAAM,aAAa;;;;;;CAMhB,CAAC;AAMX,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,eAAe,EAAE,aAAa,GAAG,QAAQ,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,eAAe,CAAC,EAC5H,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,EAAE,gBAAgB,CAAC,cAAc,CAAC;IACpF;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAC;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,IAAI,CAAC;CACvB;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,eAiGxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/inputs/timePicker/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const getMeridian: (newValue: string, format: 'HH:mm' | 'hh:mm A') => false | 'AM' | 'PM';
|
|
2
|
+
export declare const parseTimeNumbers: (value: string, separator: number) => {
|
|
3
|
+
hours: number;
|
|
4
|
+
minutes: number;
|
|
5
|
+
};
|
|
6
|
+
export declare const formatTime: (hours: number, minutes: number, meridian: 'AM' | 'PM' | false, format: 'HH:mm' | 'hh:mm A') => string;
|
|
7
|
+
//# sourceMappingURL=parseTimeHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseTimeHelper.d.ts","sourceRoot":"","sources":["../../../../components/inputs/timePicker/parseTimeHelper.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,aAAc,MAAM,UAAU,OAAO,GAAG,SAAS,KAAG,KAAK,GAAG,IAAI,GAAG,IAQ1F,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,MAAM,aAAa,MAAM;WAAY,MAAM;aAAW,MAAM;CAkBnG,CAAC;AAEF,eAAO,MAAM,UAAU,UAAW,MAAM,WAAW,MAAM,YAAY,IAAI,GAAG,IAAI,GAAG,KAAK,UAAU,OAAO,GAAG,SAAS,KAAG,MAuBvH,CAAC"}
|
|
@@ -1,14 +1,24 @@
|
|
|
1
1
|
import { FlexRowProps as uuiFlexRowProps } from '@epam/uui-core';
|
|
2
2
|
export type RowMods = {
|
|
3
|
+
/** Defines row size */
|
|
3
4
|
size?: null | '24' | '30' | '36' | '42' | '48';
|
|
5
|
+
/** Pass true, to enable row bottom border */
|
|
4
6
|
borderBottom?: boolean;
|
|
7
|
+
/** Defines row column gap */
|
|
5
8
|
columnGap?: number | '6' | '12' | '18' | '24' | '36';
|
|
9
|
+
/** Defines row margin */
|
|
6
10
|
margin?: '12' | '24';
|
|
11
|
+
/** Defines horizontal row padding */
|
|
7
12
|
padding?: '6' | '12' | '18' | '24';
|
|
13
|
+
/** Defines row gap */
|
|
8
14
|
rowGap?: number | '6' | '12' | '18' | '24' | '36';
|
|
15
|
+
/** Defines row spacing */
|
|
9
16
|
spacing?: '6' | '12' | '18';
|
|
17
|
+
/** Pass true, to show a top shadow */
|
|
10
18
|
topShadow?: boolean;
|
|
19
|
+
/** Defines vertical row padding */
|
|
11
20
|
vPadding?: '12' | '18' | '24' | '36' | '48';
|
|
21
|
+
/** Defines row background */
|
|
12
22
|
background?: 'surface-main';
|
|
13
23
|
};
|
|
14
24
|
/** Represents the properties of the FlexRow component. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlexRow.d.ts","sourceRoot":"","sources":["../../../../components/layout/FlexItems/FlexRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,eAAe,EAAY,MAAM,gBAAgB,CAAC;AAI3E,MAAM,MAAM,OAAO,GAAG;
|
|
1
|
+
{"version":3,"file":"FlexRow.d.ts","sourceRoot":"","sources":["../../../../components/layout/FlexItems/FlexRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,eAAe,EAAY,MAAM,gBAAgB,CAAC;AAI3E,MAAM,MAAM,OAAO,GAAG;IAClB,uBAAuB;IACvB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC/C,6CAA6C;IAC7C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACrD,yBAAyB;IACzB,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACrB,qCAAqC;IACrC,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACnC,sBAAsB;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAClD,0BAA0B;IAC1B,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5B,sCAAsC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5C,6BAA6B;IAC7B,UAAU,CAAC,EAAE,cAAc,CAAC;CAC/B,CAAC;AAEF,0DAA0D;AAC1D,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,eAAe,EAAE,WAAW,GAAG,QAAQ,CAAC,EAAE,OAAO;CAAG;AAE/F,eAAO,MAAM,OAAO,iMAYlB,CAAC"}
|
|
@@ -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;
|
|
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,GAAG,MAAM,CAAC;IAC1H,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,CAAC,CAAC,EAC/D,gBAAgB,CAAC,mBAAmB,CAAC,EACrC,SAAS,CAAC,mBAAmB,CAAC;IAC9B,sDAAsD;IACtD,KAAK,EAAE,cAAc,CAAC,MAAM,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
|
|
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":"
|
|
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: (
|
|
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;
|
|
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<
|
|
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;
|
|
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
|
|
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
|
|
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":"
|
|
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<(
|
|
9
|
-
|
|
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
|
-
|
|
12
|
+
dropdownIcon?: Icon;
|
|
16
13
|
} & IAdaptiveItem & {
|
|
17
14
|
icon: Icon;
|
|
18
|
-
}
|
|
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
|
|
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<
|
|
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,
|
|
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 {
|
|
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
|
|
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" | "
|
|
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,
|
|
1
|
+
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../components/overlays/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAC5D,OAAO,EAC+B,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAC9G,kBAAkB,EAAE,MAAM,EAAE,UAAU,EAAE,iBAAiB,EAAE,qBAAqB,EACnF,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAA8D,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAS1H,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,kBAAkB;IAChJ,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,0BAA2B,SAAQ,WAAW,EAAE,YAAY,EAAE,iBAAiB,EAAE,IAAI,CAAC,sBAAsB,EAAE,WAAW,CAAC;IACvI,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC;IACrD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,oBAAY,oBAAoB;IAC5B,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,UAAU,cAAc;IACxB,WAAW,eAAe;IAC1B,QAAQ,YAAY;IACpB,UAAU,cAAc;CAC3B;AAuCD,eAAO,MAAM,gBAAgB,sIAM5B,CAAC;AAEF,eAAO,MAAM,kBAAkB,0WAgF7B,CAAC;AAIH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,eAMjD;AAED,UAAU,mBAAoB,SAAQ,MAAM,EAAE,WAAW;CAAG;AAE5D,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,mBAAmB,eAM5D;AAED,UAAU,gBAAiB,SAAQ,YAAY,EAAE,WAAW,EAAE,QAAQ,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"}
|
|
@@ -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/pickers/PickerItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAKrE,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAMnC,MAAM,WAAW,eAAe,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE,OAAO;IAClF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,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
|
+
{"version":3,"file":"PickerItem.d.ts","sourceRoot":"","sources":["../../../components/pickers/PickerItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAKrE,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAMnC,MAAM,WAAW,eAAe,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE,OAAO;IAClF;;WAEO;IACP,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;SAEK;IACL,IAAI,CAAC,EAAE,IAAI,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 {
|
|
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
|
|
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,mBAAmB,EAAE,kBAAkB,EAAiB,MAAM,sBAAsB,CAAC;AAC9F,OAAO,EAAE,
|
|
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,mBAAmB,EAAE,kBAAkB,EAAiB,MAAM,sBAAsB,CAAC;AAC9F,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAMnC,MAAM,MAAM,eAAe,CAAC,KAAK,EAAE,GAAG,IAAI,OAAO,GACjD,eAAe,GACf,kBAAkB,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG;IAC7B,kBAAkB,CAAC,CAAC,KAAK,EAAE,UAAU,GAAG,WAAW,GAAG,YAAY,EAAE,SAAS,EAAE,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE,GAAG,KAAK,CAAC,SAAS,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"}
|