@epam/uui 4.10.0-rc.5 → 4.10.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/components/overlays/Dropdown.d.ts +1 -1
- package/components/overlays/Dropdown.d.ts.map +1 -1
- package/components/overlays/DropdownMenu.d.ts +1 -2
- package/components/overlays/DropdownMenu.d.ts.map +1 -1
- package/components/pickers/PickerInput.d.ts +2 -2
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/components/tables/Presets/Preset.d.ts.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/stats.html +1 -1
- package/styles.css +4 -4
- package/styles.css.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../components/overlays/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../components/overlays/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,qBAAa,QAAS,SAAQ,KAAK,CAAC,SAAS,CAAC,aAAa,EAAE,GAAG,CAAC;IAC7D,MAAM;CAKT"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IDropdownToggler, IHasChildren, VPanelProps, IHasIcon, ICanRedirect, IHasCaption, IDisableable, IAnalyticableClick, IHasCX, IClickable } from '@epam/uui-core';
|
|
3
|
-
import { DropdownBodyProps } from '@epam/uui-components';
|
|
2
|
+
import { DropdownBodyProps, IDropdownToggler, IHasChildren, VPanelProps, IHasIcon, ICanRedirect, IHasCaption, IDisableable, IAnalyticableClick, IHasCX, IClickable } from '@epam/uui-core';
|
|
4
3
|
export interface IDropdownMenuItemProps extends IHasIcon, ICanRedirect, IHasCX, IDisableable, IAnalyticableClick, IDropdownToggler {
|
|
5
4
|
isSelected?: boolean;
|
|
6
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../components/overlays/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAAO,EACC,gBAAgB,EAAgC,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../components/overlays/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAAO,EACC,iBAAiB,EAAE,gBAAgB,EAAgC,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,EACrI,YAAY,EAAE,kBAAkB,EAAE,MAAM,EAAE,UAAU,EACvD,MAAM,gBAAgB,CAAC;AAOxB,MAAM,WAAW,sBAAuB,SAAQ,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,kBAAkB,EAAE,gBAAgB;IAC9H,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,sBAAuB,SAAQ,WAAW,EAAE,iBAAiB;IAC1E,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC;CACxD;AAED,eAAO,MAAM,mBAAmB;;;;;;;CAO/B,CAAC;AA6CF,eAAO,MAAM,gBAAgB,oFAI5B,CAAC;AAEF,eAAO,MAAM,kBAAkB;YAAW,sBAAsB;;CAgF/D,CAAC;AAIF,eAAO,MAAM,oBAAoB,UAAW,MAAM,gBAIjD,CAAC;AAEF,UAAU,mBAAoB,SAAQ,MAAM,EAAE,WAAW;CAAI;AAE7D,eAAO,MAAM,kBAAkB,UAAW,mBAAmB,gBAI5D,CAAC;AAEF,UAAU,gBAAiB,SAAQ,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,sBAAsB;IAC1F,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,eAAe,UAAW,gBAAgB,gBAwBtD,CAAC;AAEF,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,eAAO,MAAM,wBAAwB,UAAW,yBAAyB,gBAmCxE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { DataRowProps, DataSourceListProps, IDropdownToggler } from '@epam/uui-core';
|
|
3
|
-
import {
|
|
2
|
+
import { DataRowProps, DataSourceListProps, DropdownBodyProps, IDropdownToggler } from '@epam/uui-core';
|
|
3
|
+
import { PickerBodyBaseProps, PickerInputBase, PickerTogglerProps } from '@epam/uui-components';
|
|
4
4
|
import { PickerTogglerMods } from './PickerToggler';
|
|
5
5
|
import { IHasEditMode, SizeMod } from '../types';
|
|
6
6
|
export type PickerInputProps = SizeMod & IHasEditMode & {};
|
|
@@ -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;
|
|
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,iBAAiB,EAAE,gBAAgB,EAA4C,MAAM,gBAAgB,CAAC;AAClJ,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAGhG,OAAO,EAAiB,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAMnE,OAAO,EAAY,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAG3D,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,YAAY,GAAG,EAAE,CAAC;AAK3D,qBAAa,WAAW,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,eAAe,CAAC,KAAK,EAAE,GAAG,EAAE,gBAAgB,CAAC;IACtF,kBAAkB,CAAC,MAAM,EAAE,OAAO;IAelC,UAAU;IAQV,UAAU,SAAU,KAAK,YAAY,aAAa,KAAK,EAAE,GAAG,CAAC,iBAE5D;IAED,SAAS,aAAc,aAAa,KAAK,EAAE,GAAG,CAAC,mEAY9C;IAED,cAAc,IAAI,iBAAiB;IAOnC,YAAY;IAQZ,YAAY,CAAC,WAAW,EAAE,gBAAgB,GAAG,kBAAkB,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC,SAAS;IAY7F,UAAU,CAAC,KAAK,EAAE,iBAAiB,GAAG,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,EAAE,MAAM,CAAC,EAAE,IAAI,EAAE,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE;CA6BlI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Preset.d.ts","sourceRoot":"","sources":["../../../../components/tables/Presets/Preset.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AACrD,OAAO,
|
|
1
|
+
{"version":3,"file":"Preset.d.ts","sourceRoot":"","sources":["../../../../components/tables/Presets/Preset.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AACrD,OAAO,EAAuC,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAKnF,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;CAChD;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA+GzC,CAAC"}
|
package/index.js
CHANGED
|
@@ -784,7 +784,7 @@ const DropdownMenuContainer = (props) => {
|
|
|
784
784
|
const DropdownMenuBody = uuiCore.withMods(DropdownMenuContainer, () => [css$n.bodyRoot], ({ style }) => ({ style }));
|
|
785
785
|
const DropdownMenuButton = (props) => {
|
|
786
786
|
const context = React.useContext(uuiCore.UuiContext);
|
|
787
|
-
const { icon, iconPosition, caption, isDisabled, isSelected, link, href, onClick, toggleDropdownOpening, isDropdown, target } = props;
|
|
787
|
+
const { icon, iconPosition, caption, isDisabled, isSelected, link, href, onClick, toggleDropdownOpening, isDropdown, target, } = props;
|
|
788
788
|
const handleClick = (event) => {
|
|
789
789
|
if (isDisabled || !onClick)
|
|
790
790
|
return;
|