@epam/uui 5.4.3 → 5.5.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/text-size.scss +5 -0
- package/components/buttons/Button.d.ts +22 -11
- package/components/buttons/Button.d.ts.map +1 -1
- package/components/buttons/IconButton.d.ts +9 -7
- package/components/buttons/IconButton.d.ts.map +1 -1
- package/components/buttons/LinkButton.d.ts +7 -4
- package/components/buttons/LinkButton.d.ts.map +1 -1
- package/components/buttons/TabButton.d.ts +10 -4
- package/components/buttons/TabButton.d.ts.map +1 -1
- package/components/buttons/VerticalTabButton.d.ts +4 -4
- package/components/buttons/VerticalTabButton.d.ts.map +1 -1
- package/components/datePickers/DatePicker.d.ts +5 -0
- package/components/datePickers/DatePicker.d.ts.map +1 -1
- package/components/datePickers/DatePickerBody.d.ts +3 -0
- package/components/datePickers/DatePickerBody.d.ts.map +1 -1
- package/components/datePickers/DatePickerHeader.d.ts.map +1 -1
- package/components/datePickers/RangeDatePicker.d.ts +7 -0
- package/components/datePickers/RangeDatePicker.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerBody.d.ts +4 -4
- package/components/datePickers/RangeDatePickerBody.d.ts.map +1 -1
- package/components/dnd/DropMarker.d.ts +5 -1
- package/components/dnd/DropMarker.d.ts.map +1 -1
- package/components/fileUpload/DropSpot.d.ts +2 -3
- package/components/fileUpload/DropSpot.d.ts.map +1 -1
- package/components/fileUpload/FileCard.d.ts.map +1 -1
- package/components/fileUpload/SvgCircleProgress.d.ts.map +1 -1
- package/components/filters/FilterDatePickerBody.d.ts +2 -2
- package/components/filters/FilterDatePickerBody.d.ts.map +1 -1
- package/components/filters/FilterNumericBody.d.ts +15 -0
- package/components/filters/FilterNumericBody.d.ts.map +1 -1
- package/components/filters/FilterPickerBody.d.ts +2 -2
- package/components/filters/FilterPickerBody.d.ts.map +1 -1
- package/components/filters/FiltersPanelItem.d.ts.map +1 -1
- package/components/filters/PresetPanel/PresetInput.d.ts.map +1 -1
- package/components/index.d.ts +0 -1
- package/components/index.d.ts.map +1 -1
- package/components/inputs/Checkbox.d.ts +11 -2
- package/components/inputs/Checkbox.d.ts.map +1 -1
- package/components/inputs/InputAddon.d.ts +2 -3
- package/components/inputs/InputAddon.d.ts.map +1 -1
- package/components/inputs/MultiSwitch.d.ts +24 -8
- package/components/inputs/MultiSwitch.d.ts.map +1 -1
- package/components/inputs/NumericInput.d.ts +19 -6
- package/components/inputs/NumericInput.d.ts.map +1 -1
- package/components/inputs/RadioInput.d.ts +12 -5
- package/components/inputs/RadioInput.d.ts.map +1 -1
- package/components/inputs/Slider.d.ts +3 -6
- package/components/inputs/Slider.d.ts.map +1 -1
- package/components/inputs/Switch.d.ts +4 -2
- package/components/inputs/Switch.d.ts.map +1 -1
- package/components/inputs/TextArea.d.ts +19 -7
- package/components/inputs/TextArea.d.ts.map +1 -1
- package/components/inputs/TextInput.d.ts +15 -6
- package/components/inputs/TextInput.d.ts.map +1 -1
- package/components/inputs/TimePicker.d.ts.map +1 -1
- package/components/layout/Accordion.d.ts +7 -2
- package/components/layout/Accordion.d.ts.map +1 -1
- package/components/layout/CheckboxGroup.d.ts +21 -2
- package/components/layout/CheckboxGroup.d.ts.map +1 -1
- package/components/layout/FlexItems/FlexCell.d.ts +3 -1
- package/components/layout/FlexItems/FlexCell.d.ts.map +1 -1
- package/components/layout/FlexItems/FlexRow.d.ts +3 -2
- package/components/layout/FlexItems/FlexRow.d.ts.map +1 -1
- package/components/layout/FlexItems/Panel.d.ts +3 -1
- package/components/layout/FlexItems/Panel.d.ts.map +1 -1
- package/components/layout/LabeledInput.d.ts +3 -1
- package/components/layout/LabeledInput.d.ts.map +1 -1
- package/components/layout/RadioGroup.d.ts +20 -2
- package/components/layout/RadioGroup.d.ts.map +1 -1
- package/components/layout/VirtualList.d.ts +5 -6
- package/components/layout/VirtualList.d.ts.map +1 -1
- package/components/navigation/MainMenu/Burger/Burger.d.ts +2 -1
- package/components/navigation/MainMenu/Burger/Burger.d.ts.map +1 -1
- package/components/navigation/MainMenu/Burger/BurgerButton.d.ts +2 -1
- package/components/navigation/MainMenu/Burger/BurgerButton.d.ts.map +1 -1
- package/components/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts +2 -1
- package/components/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts.map +1 -1
- package/components/navigation/MainMenu/Burger/BurgerSearch.d.ts +2 -1
- package/components/navigation/MainMenu/Burger/BurgerSearch.d.ts.map +1 -1
- package/components/navigation/MainMenu/GlobalMenu.d.ts +1 -0
- package/components/navigation/MainMenu/GlobalMenu.d.ts.map +1 -1
- package/components/navigation/MainMenu/MainMenu.d.ts +3 -1
- package/components/navigation/MainMenu/MainMenu.d.ts.map +1 -1
- package/components/navigation/MainMenu/MainMenuAvatar.d.ts +1 -0
- package/components/navigation/MainMenu/MainMenuAvatar.d.ts.map +1 -1
- package/components/navigation/MainMenu/MainMenuButton.d.ts +2 -1
- package/components/navigation/MainMenu/MainMenuButton.d.ts.map +1 -1
- package/components/navigation/MainMenu/MainMenuIcon.d.ts +1 -0
- package/components/navigation/MainMenu/MainMenuIcon.d.ts.map +1 -1
- package/components/navigation/MainMenu/MainMenuSearch.d.ts +1 -0
- package/components/navigation/MainMenu/MainMenuSearch.d.ts.map +1 -1
- package/components/overlays/Alert.d.ts +10 -5
- package/components/overlays/Alert.d.ts.map +1 -1
- package/components/overlays/ConfirmationModal.d.ts +3 -0
- package/components/overlays/ConfirmationModal.d.ts.map +1 -1
- package/components/overlays/DropdownContainer.d.ts +9 -1
- package/components/overlays/DropdownContainer.d.ts.map +1 -1
- package/components/overlays/Modals.d.ts +16 -4
- package/components/overlays/Modals.d.ts.map +1 -1
- package/components/overlays/NotificationCard.d.ts +14 -7
- package/components/overlays/NotificationCard.d.ts.map +1 -1
- package/components/overlays/Tooltip.d.ts +8 -4
- package/components/overlays/Tooltip.d.ts.map +1 -1
- package/components/pickers/DataPickerCell.d.ts +5 -0
- package/components/pickers/DataPickerCell.d.ts.map +1 -0
- package/components/pickers/DataPickerRow.d.ts +2 -5
- package/components/pickers/DataPickerRow.d.ts.map +1 -1
- package/components/pickers/MobileDropdownWrapper.d.ts +1 -0
- package/components/pickers/MobileDropdownWrapper.d.ts.map +1 -1
- package/components/pickers/PickerInput.d.ts +2 -3
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/components/pickers/PickerModal.d.ts.map +1 -1
- package/components/pickers/PickerToggler.d.ts +4 -0
- package/components/pickers/PickerToggler.d.ts.map +1 -1
- package/components/pickers/types.d.ts +7 -0
- package/components/pickers/types.d.ts.map +1 -0
- package/components/tables/DataTable.d.ts +25 -3
- package/components/tables/DataTable.d.ts.map +1 -1
- package/components/tables/DataTableCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderCell.d.ts.map +1 -1
- package/components/tables/columnsConfigurationModal/ColumnRow.d.ts.map +1 -1
- package/components/types.d.ts +13 -1
- package/components/types.d.ts.map +1 -1
- package/components/typography/RichTextView.d.ts +3 -1
- package/components/typography/RichTextView.d.ts.map +1 -1
- package/components/typography/Text.d.ts +28 -8
- package/components/typography/Text.d.ts.map +1 -1
- package/components/widgets/Badge.d.ts +33 -16
- package/components/widgets/Badge.d.ts.map +1 -1
- package/components/widgets/CountIndicator.d.ts +8 -3
- package/components/widgets/CountIndicator.d.ts.map +1 -1
- package/components/widgets/DataRowAddons.d.ts +16 -0
- package/components/widgets/DataRowAddons.d.ts.map +1 -0
- package/components/widgets/Paginator.d.ts.map +1 -1
- package/components/widgets/ProgressBar.d.ts +10 -2
- package/components/widgets/ProgressBar.d.ts.map +1 -1
- package/components/widgets/Spinner.d.ts +3 -4
- package/components/widgets/Spinner.d.ts.map +1 -1
- package/components/widgets/StatusIndicator.d.ts +4 -3
- package/components/widgets/StatusIndicator.d.ts.map +1 -1
- package/components/widgets/Tag.d.ts +20 -12
- package/components/widgets/Tag.d.ts.map +1 -1
- package/components/widgets/index.d.ts +1 -0
- package/components/widgets/index.d.ts.map +1 -1
- package/helpers/textLayout.d.ts +1 -1
- package/helpers/textLayout.d.ts.map +1 -1
- package/index.esm.js +935 -812
- package/index.esm.js.map +1 -1
- package/index.js +939 -831
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/stats.html +1 -1
- package/styles.css +4878 -4808
- package/styles.css.map +1 -1
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
@return (9px - $border-width);
|
|
8
8
|
} @else if ($size == 48px) {
|
|
9
9
|
@return (12px - $border-width);
|
|
10
|
+
} @else if ($size == 60px) {
|
|
11
|
+
@return (15px - $border-width);
|
|
10
12
|
}
|
|
11
13
|
|
|
12
14
|
@return (null);
|
|
@@ -31,6 +33,9 @@
|
|
|
31
33
|
} @else if ($size == 48px) {
|
|
32
34
|
line-height: 24px;
|
|
33
35
|
font-size: 16px;
|
|
36
|
+
} @else if ($size == 60px) {
|
|
37
|
+
line-height: 24px;
|
|
38
|
+
font-size: 20px;
|
|
34
39
|
}
|
|
35
40
|
padding-top: vpadding($size, $border-width);
|
|
36
41
|
padding-bottom: vpadding($size, $border-width);
|
|
@@ -1,18 +1,29 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ButtonProps as uuiButtonProps } from '@epam/uui-components';
|
|
3
3
|
import { ControlSize } from '../types';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
interface ButtonMods {
|
|
5
|
+
/**
|
|
6
|
+
* Defines component size.
|
|
7
|
+
* @default '36'
|
|
8
|
+
*/
|
|
8
9
|
size?: ControlSize | '18';
|
|
9
|
-
/**
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Defines component fill style.
|
|
12
|
+
* @default 'solid'
|
|
13
|
+
*/
|
|
14
|
+
fill?: 'solid' | 'outline' | 'ghost' | 'none';
|
|
15
|
+
/**
|
|
16
|
+
* Defines component color.
|
|
17
|
+
* @default 'primary'
|
|
18
|
+
*/
|
|
19
|
+
color?: 'accent' | 'primary' | 'critical' | 'secondary' | 'neutral';
|
|
20
|
+
}
|
|
21
|
+
/** Represents the 'Core properties' for the Button component, omitting the 'count' property. */
|
|
22
|
+
export interface ButtonCoreProps extends Omit<uuiButtonProps, 'count'> {
|
|
23
|
+
}
|
|
24
|
+
/** Represents the props for a Button component. */
|
|
25
|
+
export interface ButtonProps extends ButtonMods, ButtonCoreProps {
|
|
13
26
|
}
|
|
14
|
-
export type ButtonCoreProps = Omit<uuiButtonProps, 'count'> & {};
|
|
15
|
-
export type ButtonProps = ButtonMods & ButtonCoreProps;
|
|
16
|
-
export declare function applyButtonMods(mods: ButtonProps): string[];
|
|
17
27
|
export declare const Button: (props: (uuiButtonProps & ButtonMods) & React.RefAttributes<any>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
28
|
+
export {};
|
|
18
29
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../components/buttons/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAuB,WAAW,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE1F,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../components/buttons/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAuB,WAAW,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE1F,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAOvC,UAAU,UAAU;IAChB;;;OAGG;IACH,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;IAC9C;;;OAGG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,CAAC;CACvE;AAED,gGAAgG;AAChG,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC;CAAG;AAEzE,mDAAmD;AACnD,MAAM,WAAW,WAAY,SAAQ,UAAU,EAAE,eAAe;CAAG;AAYnE,eAAO,MAAM,MAAM,yIAQlB,CAAC"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { IconButtonBaseProps } from '@epam/uui-components';
|
|
2
|
-
|
|
3
|
-
export declare const allIconColors: IconColor[];
|
|
4
|
-
export interface IconButtonMods {
|
|
2
|
+
interface IconButtonMods {
|
|
5
3
|
/**
|
|
6
|
-
*
|
|
4
|
+
* Defines component color.
|
|
5
|
+
* @default 'neutral'
|
|
7
6
|
*/
|
|
8
|
-
color?:
|
|
7
|
+
color?: 'info' | 'success' | 'warning' | 'error' | 'secondary' | 'neutral';
|
|
9
8
|
}
|
|
10
|
-
|
|
11
|
-
export type IconButtonCoreProps = IconButtonBaseProps
|
|
9
|
+
/** Represents the Core properties of the IconButton component. */
|
|
10
|
+
export type IconButtonCoreProps = IconButtonBaseProps;
|
|
11
|
+
/** Represents the properties of the IconButton component. */
|
|
12
|
+
export type IconButtonProps = IconButtonCoreProps & IconButtonMods;
|
|
12
13
|
export declare const IconButton: (props: (IconButtonProps & IconButtonMods) & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
14
|
+
export {};
|
|
13
15
|
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAA+B,MAAM,sBAAsB,CAAC;AAIxF,
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAA+B,MAAM,sBAAsB,CAAC;AAIxF,UAAU,cAAc;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,WAAW,GAAG,SAAS,CAAC;CAC9E;AAED,kEAAkE;AAClE,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,CAAC;AAEtD,6DAA6D;AAC7D,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG,cAAc,CAAC;AAMnE,eAAO,MAAM,UAAU,4KAAgF,CAAC"}
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
import * as types from '../types';
|
|
2
2
|
import { ButtonProps } from '@epam/uui-components';
|
|
3
|
-
|
|
4
|
-
export declare const allLinkButtonColors: LinkButtonColorType[];
|
|
5
|
-
export interface LinkButtonMods {
|
|
3
|
+
interface LinkButtonMods {
|
|
6
4
|
/**
|
|
5
|
+
* Defines component size.
|
|
7
6
|
* @default '36'
|
|
8
7
|
*/
|
|
9
8
|
size?: types.ControlSize | '42';
|
|
10
9
|
/**
|
|
10
|
+
* Defines component color.
|
|
11
11
|
* @default 'primary'
|
|
12
12
|
*/
|
|
13
|
-
color?:
|
|
13
|
+
color?: 'primary' | 'secondary' | 'contrast';
|
|
14
14
|
}
|
|
15
|
+
/** Represents the Core properties of the LinkButton component. */
|
|
15
16
|
export type LinkButtonCoreProps = ButtonProps & {
|
|
16
17
|
size?: types.ControlSize | '42';
|
|
17
18
|
};
|
|
19
|
+
/** Represents the properties of the LinkButton component. */
|
|
18
20
|
export type LinkButtonProps = LinkButtonCoreProps & LinkButtonMods;
|
|
19
21
|
export declare const LinkButton: (props: (LinkButtonCoreProps & LinkButtonMods) & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
22
|
+
export {};
|
|
20
23
|
//# sourceMappingURL=LinkButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/LinkButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAElC,OAAO,EAAU,WAAW,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"LinkButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/LinkButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAElC,OAAO,EAAU,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAO3D,UAAU,cAAc;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC;IAChC;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;CAChD;AAED,kEAAkE;AAClE,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAAG;IAC5C,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC;CACnC,CAAC;AAEF,6DAA6D;AAC7D,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG,cAAc,CAAC;AAYnE,eAAO,MAAM,UAAU,gLAOtB,CAAC"}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
|
|
2
|
+
import * as uuiComponents from '@epam/uui-components';
|
|
3
|
+
interface TabButtonMods {
|
|
4
4
|
/**
|
|
5
|
+
* Defines component size.
|
|
5
6
|
* @default '48'
|
|
6
7
|
*/
|
|
7
8
|
size?: '36' | '48' | '60';
|
|
9
|
+
/**
|
|
10
|
+
* Defines is the component showing Notify
|
|
11
|
+
*/
|
|
8
12
|
withNotify?: boolean;
|
|
9
13
|
}
|
|
10
|
-
|
|
11
|
-
export
|
|
14
|
+
/** Represents the properties of a TabButton component. */
|
|
15
|
+
export type TabButtonProps = TabButtonMods & uuiComponents.ButtonProps;
|
|
16
|
+
export declare const TabButton: (props: (uuiComponents.ButtonProps & TabButtonMods) & React.RefAttributes<any>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
17
|
+
export {};
|
|
12
18
|
//# sourceMappingURL=TabButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/TabButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"TabButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/TabButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AAOtD,UAAU,aAAa;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,0DAA0D;AAC1D,MAAM,MAAM,cAAc,GAAG,aAAa,GAAG,aAAa,CAAC,WAAW,CAAC;AAYvE,eAAO,MAAM,SAAS,uJAgBrB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export type VerticalTabButtonProps =
|
|
4
|
-
export declare const VerticalTabButton: (props: (
|
|
1
|
+
import { TabButtonProps } from './TabButton';
|
|
2
|
+
/** Represents the properties of a VerticalTabButton component. */
|
|
3
|
+
export type VerticalTabButtonProps = TabButtonProps;
|
|
4
|
+
export declare const VerticalTabButton: (props: (TabButtonProps & {}) & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
5
5
|
//# sourceMappingURL=VerticalTabButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerticalTabButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/VerticalTabButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VerticalTabButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/VerticalTabButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,cAAc,EAAE,MAAM,aAAa,CAAC;AAOxD,kEAAkE;AAClE,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC;AAEpD,eAAO,MAAM,iBAAiB,+JAA0E,CAAC"}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { DatePickerCoreProps } from '@epam/uui-core';
|
|
3
3
|
import { SizeMod, IHasEditMode } from '../types';
|
|
4
|
+
/** Represents the properties of the DatePicker component. */
|
|
4
5
|
export interface DatePickerProps extends DatePickerCoreProps, SizeMod, IHasEditMode {
|
|
6
|
+
/**
|
|
7
|
+
* HTML ID attribute for the toggler input
|
|
8
|
+
*/
|
|
9
|
+
id?: string;
|
|
5
10
|
}
|
|
6
11
|
export declare const DatePicker: (props: DatePickerProps & React.RefAttributes<any>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
7
12
|
//# sourceMappingURL=DatePicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAM,mBAAmB,EAAoE,MAAM,gBAAgB,CAAC;AAE3H,OAAO,EAAY,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAQ3D,MAAM,WAAW,eAAgB,SAAQ,mBAAmB,EAAE,OAAO,EAAE,YAAY;
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAM,mBAAmB,EAAoE,MAAM,gBAAgB,CAAC;AAE3H,OAAO,EAAY,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAQ3D,6DAA6D;AAC7D,MAAM,WAAW,eAAgB,SAAQ,mBAAmB,EAAE,OAAO,EAAE,YAAY;IAC/E;;MAEE;IACF,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AA6DD,eAAO,MAAM,UAAU,2HAAgC,CAAC"}
|
|
@@ -2,6 +2,9 @@ import { Dayjs } from 'dayjs';
|
|
|
2
2
|
import { DatePickerBodyBase, DatePickerBodyBaseProps } from '@epam/uui-components';
|
|
3
3
|
export interface DatePickerBodyProps extends DatePickerBodyBaseProps<string> {
|
|
4
4
|
getDayCX?(day: Dayjs): string[];
|
|
5
|
+
/**
|
|
6
|
+
* A pure function that gets whether day is holiday for each day.
|
|
7
|
+
*/
|
|
5
8
|
isHoliday?: (day: Dayjs) => boolean;
|
|
6
9
|
}
|
|
7
10
|
export declare const uuiDatePickerBody: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePickerBody.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAGrC,OAAO,
|
|
1
|
+
{"version":3,"file":"DatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePickerBody.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAGrC,OAAO,EAAiC,kBAAkB,EAAE,uBAAuB,EAAqB,MAAM,sBAAsB,CAAC;AAOrI,MAAM,WAAW,mBAAoB,SAAQ,uBAAuB,CAAC,MAAM,CAAC;IAIxE,QAAQ,CAAC,CAAC,GAAG,EAAE,KAAK,GAAG,MAAM,EAAE,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,OAAO,CAAC;CACvC;AAED,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AAEX,qBAAa,cAAe,SAAQ,kBAAkB,CAAC,MAAM,EAAE,mBAAmB,CAAC;gBACnE,KAAK,EAAE,mBAAmB;IAMtC,UAAU,QAAS,KAAK,UAKtB;IAEF,OAAO,oBAuBL;IAEF,UAAU,oBAUR;CACL"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePickerHeader.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePickerHeader.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGzD,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,eAAe,EAAY,MAAM,sBAAsB,CAAC;AAQjE,eAAO,MAAM,SAAS;;;;;;CAMrB,CAAC;AAEF,MAAM,WAAW,qBAAsB,SAAQ,SAAS,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM;
|
|
1
|
+
{"version":3,"file":"DatePickerHeader.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePickerHeader.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGzD,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,eAAe,EAAY,MAAM,sBAAsB,CAAC;AAQjE,eAAO,MAAM,SAAS;;;;;;CAMrB,CAAC;AAEF,MAAM,WAAW,qBAAsB,SAAQ,SAAS,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM;IAKrF,WAAW,CAAC,EAAE,IAAI,CAAC;IAKnB,YAAY,CAAC,EAAE,IAAI,CAAC;CACvB;AAMD,eAAO,MAAM,uBAAuB,gBAAiB,KAAK,gBAEzD,CAAC;AAMF,eAAO,MAAM,sBAAsB,gBAAiB,KAAK,gBAExD,CAAC;AAMF,eAAO,MAAM,0BAA0B,gBAAiB,KAAK,gBAE5D,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,eAmE5D"}
|
|
@@ -2,7 +2,14 @@ import * as React from 'react';
|
|
|
2
2
|
import { BaseRangeDatePickerProps } from '@epam/uui-core';
|
|
3
3
|
import { SizeMod } from '../types';
|
|
4
4
|
export interface RangeDatePickerProps extends BaseRangeDatePickerProps, SizeMod {
|
|
5
|
+
/**
|
|
6
|
+
* A pure function that gets placeholder for 'from' or 'to' input.
|
|
7
|
+
*/
|
|
5
8
|
getPlaceholder?(type: InputType): string;
|
|
9
|
+
/**
|
|
10
|
+
* HTML ID attribute for the first input into toggler
|
|
11
|
+
*/
|
|
12
|
+
id?: string;
|
|
6
13
|
}
|
|
7
14
|
export type InputType = 'from' | 'to';
|
|
8
15
|
export declare const RangeDatePicker: (props: RangeDatePickerProps & React.RefAttributes<any>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangeDatePicker.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACuB,wBAAwB,EACrD,MAAM,gBAAgB,CAAC;AAKxB,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAOnC,MAAM,WAAW,oBAAqB,SAAQ,wBAAwB,EAAE,OAAO;IAC3E,cAAc,CAAC,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"RangeDatePicker.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACuB,wBAAwB,EACrD,MAAM,gBAAgB,CAAC;AAKxB,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAOnC,MAAM,WAAW,oBAAqB,SAAQ,wBAAwB,EAAE,OAAO;IAC3E;;OAEG;IACH,cAAc,CAAC,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC;IACzC;;MAEE;IACF,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAKD,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC;AAyFtC,eAAO,MAAM,eAAe,gIAAqC,CAAC"}
|
|
@@ -3,14 +3,14 @@ import { Dayjs } from 'dayjs';
|
|
|
3
3
|
import { IEditable, RangeDatePickerPresets } from '@epam/uui-core';
|
|
4
4
|
import { DatePickerBodyBaseOptions, PickerBodyValue, ViewType } from '@epam/uui-components';
|
|
5
5
|
export declare function weekCount(displayedDate: Dayjs): number;
|
|
6
|
-
export type
|
|
6
|
+
export type PickerPart = 'from' | 'to' | null;
|
|
7
7
|
export declare const rangeDatePickerPresets: RangeDatePickerPresets;
|
|
8
8
|
export interface RangeDatePickerValue {
|
|
9
9
|
from: string | null;
|
|
10
10
|
to: string | null;
|
|
11
11
|
}
|
|
12
12
|
interface RangeDatePickerBodyState {
|
|
13
|
-
activePart:
|
|
13
|
+
activePart: PickerPart;
|
|
14
14
|
}
|
|
15
15
|
type InputType = 'from' | 'to';
|
|
16
16
|
export interface RangeDatePickerBodyProps<T> extends DatePickerBodyBaseOptions, IEditable<PickerBodyValue<T>> {
|
|
@@ -24,10 +24,10 @@ export declare class RangeDatePickerBody extends React.Component<RangeDatePicker
|
|
|
24
24
|
getDayCX: (day: Dayjs) => string[];
|
|
25
25
|
getRange(selectedDate: string): RangeDatePickerValue;
|
|
26
26
|
setSelectedDate(selectedDate: string): void;
|
|
27
|
-
setDisplayedDateAndView(displayedDate: Dayjs, view: ViewType, part:
|
|
27
|
+
setDisplayedDateAndView(displayedDate: Dayjs, view: ViewType, part: PickerPart): void;
|
|
28
28
|
getFromValue: () => PickerBodyValue<string>;
|
|
29
29
|
getToValue: () => PickerBodyValue<string>;
|
|
30
|
-
renderPresets: () => JSX.Element;
|
|
30
|
+
renderPresets: (presets: RangeDatePickerPresets) => JSX.Element;
|
|
31
31
|
renderDatePicker: () => JSX.Element;
|
|
32
32
|
render(): JSX.Element;
|
|
33
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangeDatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePickerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAc,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,EAAqB,SAAS,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACtF,OAAO,EACH,yBAAyB,EAAyB,eAAe,EAAe,QAAQ,EAC3F,MAAM,sBAAsB,CAAC;AAQ9B,wBAAgB,SAAS,CAAC,aAAa,EAAE,KAAK,UAO7C;AASD,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"RangeDatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePickerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAc,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,EAAqB,SAAS,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACtF,OAAO,EACH,yBAAyB,EAAyB,eAAe,EAAe,QAAQ,EAC3F,MAAM,sBAAsB,CAAC;AAQ9B,wBAAgB,SAAS,CAAC,aAAa,EAAE,KAAK,UAO7C;AASD,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9C,eAAO,MAAM,sBAAsB,EAAE,sBAiCpC,CAAC;AAEF,MAAM,WAAW,oBAAoB;IAIjC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAIpB,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB;AAED,UAAU,wBAAwB;IAI9B,UAAU,EAAE,UAAU,CAAC;CAC1B;AAKD,KAAK,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC;AAE/B,MAAM,WAAW,wBAAwB,CAAC,CAAC,CAAE,SAAQ,yBAAyB,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IACzG,SAAS,EAAE,SAAS,CAAC;IACrB,YAAY,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,OAAO,CAAC;IACpC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;CACjF;AAED,qBAAa,mBAAoB,SAAQ,KAAK,CAAC,SAAS,CAAC,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,wBAAwB,CAAC;IAC9H,KAAK,EAAE,wBAAwB,CAE7B;IAEF,QAAQ,QAAS,KAAK,KAAG,MAAM,EAAE,CAiB/B;IAEF,QAAQ,CAAC,YAAY,EAAE,MAAM;IA+B7B,eAAe,CAAC,YAAY,EAAE,MAAM;IAapC,uBAAuB,CAAC,aAAa,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU;IAU9E,YAAY,QAAO,gBAAgB,MAAM,CAAC,CAMxC;IAEF,UAAU,QAAO,gBAAgB,MAAM,CAAC,CAMtC;IAEF,aAAa,YAAa,sBAAsB,iBAkB9C;IAEF,gBAAgB,oBA0Cd;IAEF,MAAM;CAOT"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { DndActorRenderParams, IHasCX } from '@epam/uui-core';
|
|
3
|
-
|
|
3
|
+
interface DropMarkerProps extends DndActorRenderParams, IHasCX {
|
|
4
|
+
/**
|
|
5
|
+
* Pass 'true' to enable Blocker.
|
|
6
|
+
*/
|
|
4
7
|
enableBlocker?: boolean;
|
|
5
8
|
}
|
|
6
9
|
export declare function DropMarker(props: DropMarkerProps): JSX.Element;
|
|
10
|
+
export {};
|
|
7
11
|
//# sourceMappingURL=DropMarker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropMarker.d.ts","sourceRoot":"","sources":["../../../components/dnd/DropMarker.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAG9D,
|
|
1
|
+
{"version":3,"file":"DropMarker.d.ts","sourceRoot":"","sources":["../../../components/dnd/DropMarker.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAG9D,UAAU,eAAgB,SAAQ,oBAAoB,EAAE,MAAM;IAC1D;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,eAehD"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { IHasRawProps } from '@epam/uui-core';
|
|
2
|
+
import { IHasCX, IHasRawProps } from '@epam/uui-core';
|
|
3
3
|
import { DropSpotRenderParams } from '@epam/uui-components';
|
|
4
|
-
export interface DropSpotProps extends IHasRawProps<React.HTMLAttributes<HTMLDivElement
|
|
5
|
-
cx?: string;
|
|
4
|
+
export interface DropSpotProps extends IHasRawProps<React.HTMLAttributes<HTMLDivElement>>, IHasCX {
|
|
6
5
|
infoText?: string;
|
|
7
6
|
onUploadFiles(files: File[]): any;
|
|
8
7
|
accept?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropSpot.d.ts","sourceRoot":"","sources":["../../../components/fileUpload/DropSpot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAM,YAAY,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"DropSpot.d.ts","sourceRoot":"","sources":["../../../components/fileUpload/DropSpot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAM,MAAM,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAA2B,oBAAoB,EAAqB,MAAM,sBAAsB,CAAC;AAQxG,MAAM,WAAW,aAAc,SAAQ,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,EAAE,MAAM;IAI7F,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,aAAa,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,GAAG,CAAC;IAIlC,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,QAAS,SAAQ,KAAK,CAAC,SAAS,CAAC,aAAa,CAAC;IACxD,oBAAoB,UAAW,oBAAoB,iBAgCjD;IAEF,MAAM;CAGT"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileCard.d.ts","sourceRoot":"","sources":["../../../components/fileUpload/FileCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAM,kBAAkB,EAAe,UAAU,EAAE,MAAM,EAAU,MAAM,gBAAgB,CAAC;AAWjG,MAAM,WAAW,YAAa,SAAQ,OAAO,CAAC,IAAI,GAAG,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"FileCard.d.ts","sourceRoot":"","sources":["../../../components/fileUpload/FileCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAM,kBAAkB,EAAe,UAAU,EAAE,MAAM,EAAU,MAAM,gBAAgB,CAAC;AAWjG,MAAM,WAAW,YAAa,SAAQ,OAAO,CAAC,IAAI,GAAG,kBAAkB,CAAC;IAIpE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,aAAc,SAAQ,UAAU,EAAE,MAAM;IAIrD,IAAI,EAAE,YAAY,CAAC;IAInB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,QAAQ,sFA6GnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SvgCircleProgress.d.ts","sourceRoot":"","sources":["../../../components/fileUpload/SvgCircleProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGtD,UAAU,sBAAuB,SAAQ,MAAM,EAAE,YAAY,CAAC,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"SvgCircleProgress.d.ts","sourceRoot":"","sources":["../../../components/fileUpload/SvgCircleProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGtD,UAAU,sBAAuB,SAAQ,MAAM,EAAE,YAAY,CAAC,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IAI7F,IAAI,EAAE,MAAM,CAAC;IAIb,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,8FAyB5B,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { DatePickerCoreProps, IDropdownBodyProps } from '@epam/uui-core';
|
|
3
|
-
import { BaseDatePicker
|
|
3
|
+
import { BaseDatePicker } from '@epam/uui-components';
|
|
4
|
+
/** Represents the properties of the DatePicker. */
|
|
4
5
|
export interface DatePickerProps extends DatePickerCoreProps, IDropdownBodyProps {
|
|
5
6
|
}
|
|
6
7
|
export declare class FilterDatePickerBody extends BaseDatePicker<DatePickerProps> {
|
|
7
|
-
state: DatePickerState;
|
|
8
8
|
renderInput: () => any;
|
|
9
9
|
onToggleHandler: (val: boolean) => void;
|
|
10
10
|
handleCancel: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterDatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/filters/FilterDatePickerBody.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"FilterDatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/filters/FilterDatePickerBody.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAMtD,mDAAmD;AACnD,MAAM,WAAW,eAAgB,SAAQ,mBAAmB,EAAE,kBAAkB;CAAG;AAEnF,qBAAa,oBAAqB,SAAQ,cAAc,CAAC,eAAe,CAAC;IACrE,WAAW,QAAO,GAAG,CAEnB;IAEF,eAAe,QAAS,OAAO,UAG7B;IAEF,YAAY,aAGV;IAEF,UAAU;IA0BV,MAAM;CAGT"}
|
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { DropdownBodyProps } from '@epam/uui-core';
|
|
3
3
|
interface INumericRangeValue {
|
|
4
|
+
/**
|
|
5
|
+
* Defines range value 'from'
|
|
6
|
+
*/
|
|
4
7
|
from: number | null;
|
|
8
|
+
/**
|
|
9
|
+
* Defines range value 'to'
|
|
10
|
+
*/
|
|
5
11
|
to: number | null;
|
|
6
12
|
}
|
|
7
13
|
interface IFilterNumericBodyProps extends DropdownBodyProps {
|
|
14
|
+
/**
|
|
15
|
+
* Called when numeric body value needs to be changed
|
|
16
|
+
*/
|
|
8
17
|
onValueChange: (value: number | INumericRangeValue) => void;
|
|
18
|
+
/**
|
|
19
|
+
* Defines numeric body value
|
|
20
|
+
*/
|
|
9
21
|
value: undefined | number | INumericRangeValue;
|
|
22
|
+
/**
|
|
23
|
+
* Defines the selected predicate
|
|
24
|
+
*/
|
|
10
25
|
selectedPredicate?: string;
|
|
11
26
|
}
|
|
12
27
|
export declare function FilterNumericBody(props: IFilterNumericBodyProps): JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterNumericBody.d.ts","sourceRoot":"","sources":["../../../components/filters/FilterNumericBody.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,iBAAiB,EAAY,MAAM,gBAAgB,CAAC;AAM7D,UAAU,kBAAkB;IACxB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB;AAED,UAAU,uBAAwB,SAAQ,iBAAiB;IACvD,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,kBAAkB,KAAK,IAAI,CAAC;IAC5D,KAAK,EAAE,SAAS,GAAG,MAAM,GAAG,kBAAkB,CAAC;IAC/C,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,uBAAuB,
|
|
1
|
+
{"version":3,"file":"FilterNumericBody.d.ts","sourceRoot":"","sources":["../../../components/filters/FilterNumericBody.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,iBAAiB,EAAY,MAAM,gBAAgB,CAAC;AAM7D,UAAU,kBAAkB;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB;AAED,UAAU,uBAAwB,SAAQ,iBAAiB;IACvD;;OAEG;IACH,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,kBAAkB,KAAK,IAAI,CAAC;IAC5D;;OAEG;IACH,KAAK,EAAE,SAAS,GAAG,MAAM,GAAG,kBAAkB,CAAC;IAC/C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,uBAAuB,eA+F/D"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DropdownBodyProps } from '@epam/uui-core';
|
|
2
|
+
import { DropdownBodyProps, PickerFilterConfig } from '@epam/uui-core';
|
|
3
3
|
import { PickerInputBaseProps } from '@epam/uui-components';
|
|
4
|
-
type FilterPickerBodyProps<TItem, TId> = DropdownBodyProps & PickerInputBaseProps<TItem, TId> & {
|
|
4
|
+
type FilterPickerBodyProps<TItem, TId> = DropdownBodyProps & PickerInputBaseProps<TItem, TId> & PickerFilterConfig<any> & {
|
|
5
5
|
showSearch?: boolean;
|
|
6
6
|
};
|
|
7
7
|
export declare function FilterPickerBody<TItem, TId>(props: FilterPickerBodyProps<TItem, TId>): JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterPickerBody.d.ts","sourceRoot":"","sources":["../../../components/filters/FilterPickerBody.tsx"],"names":[],"mappings":";AACA,OAAO,EAAqC,iBAAiB,EAAY,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"FilterPickerBody.d.ts","sourceRoot":"","sources":["../../../components/filters/FilterPickerBody.tsx"],"names":[],"mappings":";AACA,OAAO,EAAqC,iBAAiB,EAAY,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpH,OAAO,EAAuB,oBAAoB,EAAkB,MAAM,sBAAsB,CAAC;AAKjG,KAAK,qBAAqB,CAAC,KAAK,EAAE,GAAG,IAAI,iBAAiB,GAAG,oBAAoB,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,kBAAkB,CAAC,GAAG,CAAC,GAAG;IACtH,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,qBAAqB,CAAC,KAAK,EAAE,GAAG,CAAC,eA+DpF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiltersPanelItem.d.ts","sourceRoot":"","sources":["../../../components/filters/FiltersPanelItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAIzE,OAAO,EAAqB,kBAAkB,EAAoB,SAAS,EAAsG,MAAM,gBAAgB,CAAC;AAcxM,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,CAAC,GAAG,CAAC,GAC7D,SAAS,CAAC,GAAG,CAAC,GAAG;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACpC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3C,CAAC;AAEF,iBAAS,sBAAsB,CAAC,KAAK,EAAE,uBAAuB,
|
|
1
|
+
{"version":3,"file":"FiltersPanelItem.d.ts","sourceRoot":"","sources":["../../../components/filters/FiltersPanelItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAIzE,OAAO,EAAqB,kBAAkB,EAAoB,SAAS,EAAsG,MAAM,gBAAgB,CAAC;AAcxM,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,CAAC,GAAG,CAAC,GAC7D,SAAS,CAAC,GAAG,CAAC,GAAG;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACpC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3C,CAAC;AAEF,iBAAS,sBAAsB,CAAC,KAAK,EAAE,uBAAuB,eAiP7D;AAED,eAAO,MAAM,gBAAgB,0DAAqC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresetInput.d.ts","sourceRoot":"","sources":["../../../../components/filters/PresetPanel/PresetInput.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,UAAU,iBAAiB;IACvB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IAC3C,MAAM,CAAC,EAAE,YAAY,CAAC;CACzB;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"PresetInput.d.ts","sourceRoot":"","sources":["../../../../components/filters/PresetPanel/PresetInput.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,UAAU,iBAAiB;IACvB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IAC3C,MAAM,CAAC,EAAE,YAAY,CAAC;CACzB;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,eAwCnD"}
|
package/components/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../components/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../components/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import * as uuiComponents from '@epam/uui-components';
|
|
2
|
-
|
|
2
|
+
interface CheckboxMods {
|
|
3
|
+
/**
|
|
4
|
+
* Defines component size.
|
|
5
|
+
* @default '18'
|
|
6
|
+
*/
|
|
3
7
|
size?: '12' | '18';
|
|
8
|
+
/**
|
|
9
|
+
* Defines the different edit modes.
|
|
10
|
+
* @default 'form'
|
|
11
|
+
*/
|
|
4
12
|
mode?: 'form' | 'cell';
|
|
5
13
|
}
|
|
14
|
+
/** Represents the properties of the Checkbox component. */
|
|
6
15
|
export type CheckboxProps = CheckboxMods & uuiComponents.CheckboxProps;
|
|
7
|
-
export declare function applyCheckboxMods(mods: CheckboxMods): string[];
|
|
8
16
|
export declare const Checkbox: (props: uuiComponents.CheckboxProps & CheckboxMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
17
|
+
export {};
|
|
9
18
|
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../components/inputs/Checkbox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AAOtD,
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../components/inputs/Checkbox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AAOtD,UAAU,YAAY;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B;AAED,2DAA2D;AAC3D,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,aAAa,CAAC,aAAa,CAAC;AAoBvE,eAAO,MAAM,QAAQ,oLAAwH,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { InputAddonProps as
|
|
2
|
-
export declare
|
|
3
|
-
export declare const InputAddon: (props: UuiInputAddonProps & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
1
|
+
import { InputAddonProps as uuiInputAddonProps } from '@epam/uui-components';
|
|
2
|
+
export declare const InputAddon: (props: uuiInputAddonProps & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
4
3
|
//# sourceMappingURL=InputAddon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputAddon.d.ts","sourceRoot":"","sources":["../../../components/inputs/InputAddon.tsx"],"names":[],"mappings":"AACA,OAAO,EAA+B,eAAe,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"InputAddon.d.ts","sourceRoot":"","sources":["../../../components/inputs/InputAddon.tsx"],"names":[],"mappings":"AACA,OAAO,EAA+B,eAAe,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAS1G,eAAO,MAAM,UAAU,4JAAmE,CAAC"}
|
|
@@ -1,19 +1,35 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IEditable, IHasRawProps } from '@epam/uui-core';
|
|
3
3
|
import { ButtonProps } from '@epam/uui-components';
|
|
4
|
-
import {
|
|
4
|
+
import { ButtonProps as uuiButtonProps } from '../buttons';
|
|
5
5
|
import { SizeMod } from '../types';
|
|
6
|
-
type MultiSwitchItem<TValue> = ButtonProps &
|
|
6
|
+
type MultiSwitchItem<TValue> = ButtonProps & uuiButtonProps & {
|
|
7
|
+
/**
|
|
8
|
+
* Defines the id of MultiSwitchItem.
|
|
9
|
+
*/
|
|
7
10
|
id: TValue;
|
|
8
11
|
};
|
|
9
|
-
|
|
10
|
-
export interface MultiSwitchProps<TValue> extends IEditable<TValue>, SizeMod, IHasRawProps<React.HTMLAttributes<HTMLDivElement>> {
|
|
11
|
-
items: MultiSwitchItem<TValue>[];
|
|
12
|
+
type MultiSwitchMods = {
|
|
12
13
|
/**
|
|
14
|
+
* Defines component color.
|
|
13
15
|
* @default 'primary'
|
|
14
16
|
*/
|
|
15
|
-
color?:
|
|
16
|
-
}
|
|
17
|
-
|
|
17
|
+
color?: 'primary' | 'secondary';
|
|
18
|
+
};
|
|
19
|
+
/** Represents the 'Core properties' for the MultiSwitch component. */
|
|
20
|
+
export type MultiSwitchCoreProps<TValue> = IEditable<TValue> & SizeMod & IHasRawProps<React.HTMLAttributes<HTMLDivElement>> & {
|
|
21
|
+
/**
|
|
22
|
+
* Defines an array of MultiSwitchItems.
|
|
23
|
+
*/
|
|
24
|
+
items: MultiSwitchItem<TValue>[];
|
|
25
|
+
};
|
|
26
|
+
/** Represents the properties for the MultiSwitch component. */
|
|
27
|
+
export type MultiSwitchProps<TValue = unknown> = MultiSwitchCoreProps<TValue> & MultiSwitchMods;
|
|
28
|
+
export declare const MultiSwitch: React.ForwardRefExoticComponent<IEditable<unknown> & SizeMod & IHasRawProps<React.HTMLAttributes<HTMLDivElement>> & {
|
|
29
|
+
/**
|
|
30
|
+
* Defines an array of MultiSwitchItems.
|
|
31
|
+
*/
|
|
32
|
+
items: MultiSwitchItem<unknown>[];
|
|
33
|
+
} & MultiSwitchMods & React.RefAttributes<HTMLDivElement>>;
|
|
18
34
|
export {};
|
|
19
35
|
//# sourceMappingURL=MultiSwitch.d.ts.map
|
|
@@ -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;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAU,
|
|
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;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAU,WAAW,IAAI,cAAc,EAAE,MAAM,YAAY,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,KAAK,eAAe,CAAC,MAAM,IAAI,WAAW,GAAG,cAAc,GAAG;IAC1D;;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;AAsBhG,eAAO,MAAM,WAAW;IA7BpB;;OAEG;;0DA2B0D,CAAC"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
|
-
import * as types from '../types';
|
|
2
1
|
import { NumericInputProps as uuiNumericInputProps } from '@epam/uui-components';
|
|
3
|
-
import { IHasEditMode } from '../types';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import { ControlSize, IHasEditMode } from '../types';
|
|
3
|
+
type NumericInputMods = IHasEditMode & {
|
|
4
|
+
/**
|
|
5
|
+
* Defines component size
|
|
6
|
+
* @default '36'
|
|
7
|
+
* Size '48' is deprecated and will be removed in future release
|
|
8
|
+
*/
|
|
9
|
+
size?: ControlSize;
|
|
10
|
+
};
|
|
11
|
+
/** Represents the properties of a NumericInput component. */
|
|
7
12
|
export type NumericInputProps = uuiNumericInputProps & NumericInputMods;
|
|
8
|
-
export declare const NumericInput: (props: uuiNumericInputProps &
|
|
13
|
+
export declare const NumericInput: (props: uuiNumericInputProps & IHasEditMode & {
|
|
14
|
+
/**
|
|
15
|
+
* Defines component size
|
|
16
|
+
* @default '36'
|
|
17
|
+
* Size '48' is deprecated and will be removed in future release
|
|
18
|
+
*/
|
|
19
|
+
size?: ControlSize;
|
|
20
|
+
} & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
21
|
+
export {};
|
|
9
22
|
//# sourceMappingURL=NumericInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumericInput.d.ts","sourceRoot":"","sources":["../../../components/inputs/NumericInput.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NumericInput.d.ts","sourceRoot":"","sources":["../../../components/inputs/NumericInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAmC,iBAAiB,IAAI,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAClH,OAAO,EAAE,WAAW,EAAY,YAAY,EAAE,MAAM,UAAU,CAAC;AAQ/D,KAAK,gBAAgB,GAAG,YAAY,GAAG;IACnC;;;;OAIG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;CACtB,CAAC;AAYF,6DAA6D;AAC7D,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,GAAG,gBAAgB,CAAC;AAExE,eAAO,MAAM,YAAY;IArBrB;;;;OAIG;WACI,WAAW;iIAoCrB,CAAC"}
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
import { RadioInputProps as
|
|
2
|
-
|
|
1
|
+
import { RadioInputProps as uuiRadioInputProps } from '@epam/uui-components';
|
|
2
|
+
type RadioInputMods = {
|
|
3
3
|
/**
|
|
4
|
+
* Defines component size.
|
|
4
5
|
* @default '18'
|
|
5
6
|
*/
|
|
6
7
|
size?: '12' | '18';
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export
|
|
8
|
+
};
|
|
9
|
+
/** Represents the properties of a RadioInput component. */
|
|
10
|
+
export type RadioInputProps = RadioInputMods & uuiRadioInputProps;
|
|
11
|
+
export declare const RadioInput: (props: import("@epam/uui-core").IHasCX & import("@epam/uui-core").IDisableable & import("@epam/uui-core").IEditable<boolean> & import("@epam/uui-core").IHasLabel & import("@epam/uui-core").ICanBeReadonly & import("@epam/uui-core").IAnalyticableOnChange<boolean> & import("@epam/uui-core").IHasRawProps<import("react").LabelHTMLAttributes<HTMLLabelElement>> & import("@epam/uui-core").IHasForwardedRef<HTMLLabelElement> & import("@epam/uui-core").ICanFocus<HTMLInputElement> & import("@epam/uui-core").IHasTabIndex & {
|
|
12
|
+
icon?: import("@epam/uui-core").Icon;
|
|
13
|
+
renderLabel?(): import("react").ReactNode;
|
|
14
|
+
id?: string;
|
|
15
|
+
} & RadioInputMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
16
|
+
export {};
|
|
10
17
|
//# sourceMappingURL=RadioInput.d.ts.map
|