@epam/uui 4.6.1 → 4.6.2
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/variables/buttons/iconButton.scss +5 -5
- package/assets/styles/variables/layout/accordion.scss +2 -3
- package/assets/styles/variables/layout/labeledInput.scss +1 -1
- package/assets/styles/variables/layout/panel.scss +1 -1
- package/assets/styles/variables/overlays/dropdownContainer.scss +1 -1
- package/assets/styles/variables/overlays/tooltip.scss +2 -2
- package/bundle-stats.json +1 -1
- package/components/inputs/TextInput.d.ts +1 -1
- package/components/layout/FlexItems/FlexSpacer.d.ts +4 -1
- package/components/layout/FlexItems/FlexSpacer.d.ts.map +1 -1
- package/components/pickers/DataPickerFooter.d.ts +1 -1
- package/components/pickers/DataPickerFooter.d.ts.map +1 -1
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/components/pickers/PickerModal.d.ts.map +1 -1
- package/components/pickers/docs/common.d.ts +1 -2
- package/components/pickers/docs/common.d.ts.map +1 -1
- package/components/tables/Presets/Preset.d.ts +1 -1
- package/components/tables/Presets/Preset.d.ts.map +1 -1
- package/components/tables/Presets/Presets.d.ts +1 -2
- package/components/tables/Presets/Presets.d.ts.map +1 -1
- package/components/tables/types.d.ts +0 -19
- package/components/tables/types.d.ts.map +1 -1
- package/index.js +287 -292
- package/index.js.map +1 -1
- package/package.json +6 -6
- package/styles.css +624 -623
- package/styles.css.map +1 -1
|
@@ -7,7 +7,7 @@ export interface TextInputMods extends IHasEditMode {
|
|
|
7
7
|
size?: ControlSize;
|
|
8
8
|
}
|
|
9
9
|
export declare function applyTextInputMods(mods: TextInputMods): string[];
|
|
10
|
-
export declare const TextInput: React.ForwardRefExoticComponent<Pick<TextInputProps & TextInputMods, "id" | "value" | "cx" | "onClick" | "rawProps" | "tabIndex" | "isDisabled" | "name" | "onValueChange" | "isInvalid" | "validationMessage" | "validationProps" | "isReadonly" | "isRequired" | "isOpen" | "isDropdown" | "toggleDropdownOpening" | "caption" | "dropdownIcon" | "icon" | "iconPosition" | "onIconClick" | "placeholder" | "type" | "
|
|
10
|
+
export declare const TextInput: React.ForwardRefExoticComponent<Pick<TextInputProps & TextInputMods, "id" | "value" | "cx" | "onClick" | "rawProps" | "tabIndex" | "isDisabled" | "name" | "onValueChange" | "isInvalid" | "validationMessage" | "validationProps" | "isReadonly" | "isRequired" | "isOpen" | "isDropdown" | "toggleDropdownOpening" | "caption" | "dropdownIcon" | "icon" | "iconPosition" | "onIconClick" | "placeholder" | "type" | "getValueChangeAnalyticsEvent" | "prefix" | "inputMode" | "maxLength" | "onCancel" | "onAccept" | "onKeyDown" | "onFocus" | "onBlur" | "autoFocus" | "autoComplete" | "suffix" | "acceptIcon" | "cancelIcon" | "inputCx" | "renderInput" | keyof TextInputMods> & React.RefAttributes<any>>;
|
|
11
11
|
export declare class SearchInput extends React.Component<TextInputProps & TextInputMods & IEditableDebouncerOptions, {}> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
export declare const FlexSpacer:
|
|
1
|
+
export declare const FlexSpacer: {
|
|
2
|
+
(props: import("@epam/uui-components").FlexSpacerProps): JSX.Element;
|
|
3
|
+
displayName: string;
|
|
4
|
+
};
|
|
2
5
|
//# sourceMappingURL=FlexSpacer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlexSpacer.d.ts","sourceRoot":"","sources":["../../../../components/layout/FlexItems/FlexSpacer.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"FlexSpacer.d.ts","sourceRoot":"","sources":["../../../../components/layout/FlexItems/FlexSpacer.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;CAAgB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
|
-
import { PickerFooterProps } from
|
|
2
|
+
import { PickerFooterProps } from "@epam/uui-core";
|
|
3
3
|
import { SizeMod } from '../types';
|
|
4
4
|
declare type DataPickerFooterProps<TItem, TId> = PickerFooterProps<TItem, TId> & SizeMod & {
|
|
5
5
|
hideShowOnlySelected?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataPickerFooter.d.ts","sourceRoot":"","sources":["../../../components/pickers/DataPickerFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DataPickerFooter.d.ts","sourceRoot":"","sources":["../../../components/pickers/DataPickerFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAY,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAK7D,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGnC,aAAK,qBAAqB,CAAC,KAAK,EAAE,GAAG,IAAI,iBAAiB,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,OAAO,GAAG;IAC/E,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAqDF,eAAO,MAAM,gBAAgB,6HAAmC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PickerInput.d.ts","sourceRoot":"","sources":["../../../components/pickers/PickerInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,gBAAgB,EAA4C,MAAM,gBAAgB,CAAC;AAC/H,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAGnH,OAAO,EAAiB,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAMnE,OAAO,EAAY,YAAY,EAAE,OAAO,EAAE,MAA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AM,CAAC,EAAE,IAAI,EAAE,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE;CA6BlI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PickerModal.d.ts","sourceRoot":"","sources":["../../../components/pickers/PickerModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAQ,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAA4B,MAAM,sBAAsB,CAAC;AAUnG,qBAAa,eAAe,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,eAAe,CAAC,KAAK,EAAE,GAAG,CAAC;IACxE,SAAS,CAAC,QAAQ,EAAE,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC;IAa5C,YAAY,CAAC,gBAAgB,EAAE,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE;IAiBzD,MAAM,IAAI,KAAK,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"PickerModal.d.ts","sourceRoot":"","sources":["../../../components/pickers/PickerModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAQ,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAA4B,MAAM,sBAAsB,CAAC;AAUnG,qBAAa,eAAe,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,eAAe,CAAC,KAAK,EAAE,GAAG,CAAC;IACxE,SAAS,CAAC,QAAQ,EAAE,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC;IAa5C,YAAY,CAAC,gBAAgB,EAAE,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE;IAiBzD,MAAM,IAAI,KAAK,CAAC,SAAS;CA8D5B;AAED,qBAAa,WAAW,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACtF,KAAK;;MAA0C;IAC/C,IAAI,sCAA2B;IAE/B,MAAM;CAOT"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ArrayDataSource, LazyDataSource, AsyncDataSource } from
|
|
1
|
+
import { ArrayDataSource, LazyDataSource, AsyncDataSource, PickerBaseOptions } from "@epam/uui-core";
|
|
2
2
|
import { DocBuilder, PropSamplesCreationContext } from '@epam/uui-docs';
|
|
3
|
-
import { PickerBaseOptions } from '@epam/uui-components';
|
|
4
3
|
export declare const getDataSourceExamples: (ctx: PropSamplesCreationContext) => ({
|
|
5
4
|
name: string;
|
|
6
5
|
isDefault: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../components/pickers/docs/common.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../components/pickers/docs/common.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACrG,OAAO,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAOxE,eAAO,MAAM,qBAAqB,QAAS,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;IAgCpE,CAAC;AAEF,eAAO,MAAM,oBAAoB,yCAkDkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Preset.d.ts","sourceRoot":"","sources":["../../../../components/tables/Presets/Preset.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Preset.d.ts","sourceRoot":"","sources":["../../../../components/tables/Presets/Preset.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AACrD,OAAO,EAAoB,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAMhE,UAAU,YAAY;IAClB,MAAM,EAAE,YAAY,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,eAAe,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAChD,YAAY,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,YAAY,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,cAAc,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAmHzC,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { DataTableState } from
|
|
3
|
-
import { IPresetsApi, ITablePreset } from '../types';
|
|
2
|
+
import { DataTableState, IPresetsApi, ITablePreset } from "@epam/uui-core";
|
|
4
3
|
interface IPresetsProps extends IPresetsApi {
|
|
5
4
|
presets: ITablePreset[];
|
|
6
5
|
tableState: DataTableState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Presets.d.ts","sourceRoot":"","sources":["../../../../components/tables/Presets/Presets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"Presets.d.ts","sourceRoot":"","sources":["../../../../components/tables/Presets/Presets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAM3E,UAAU,aAAc,SAAQ,WAAW;IACvC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,UAAU,EAAE,cAAc,CAAC;CAC9B;AAiDD,eAAO,MAAM,OAAO,2CAA0B,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ColumnsConfig } from '@epam/uui-core';
|
|
2
1
|
import { ControlSize } from '..';
|
|
3
2
|
export interface DataTableCellMods {
|
|
4
3
|
size?: ControlSize | '60';
|
|
@@ -7,22 +6,4 @@ export interface DataTableCellMods {
|
|
|
7
6
|
isLastColumn?: boolean;
|
|
8
7
|
alignActions?: 'top' | 'center';
|
|
9
8
|
}
|
|
10
|
-
export interface ITablePreset<TFilter = Record<string, any>> {
|
|
11
|
-
name: string;
|
|
12
|
-
id: number | null;
|
|
13
|
-
filter: TFilter;
|
|
14
|
-
isReadonly?: boolean;
|
|
15
|
-
columnsConfig: ColumnsConfig;
|
|
16
|
-
}
|
|
17
|
-
export interface IPresetsApi {
|
|
18
|
-
getActivePresetId(): number;
|
|
19
|
-
isDefaultPresetActive(): boolean;
|
|
20
|
-
choosePreset(preset: ITablePreset): void;
|
|
21
|
-
createNewPreset(name: string): void;
|
|
22
|
-
resetToDefault(): void;
|
|
23
|
-
hasPresetChanged(preset: ITablePreset): boolean;
|
|
24
|
-
duplicatePreset(preset: ITablePreset): void;
|
|
25
|
-
deletePreset(preset: ITablePreset): void;
|
|
26
|
-
updatePreset(preset: ITablePreset): void;
|
|
27
|
-
}
|
|
28
9
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../components/tables/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../components/tables/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAEjC,MAAM,WAAW,iBAAiB;IAC9B,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;CACnC"}
|