@useblu/ocean-react 1.37.0 → 1.38.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/CHANGELOG.md +13 -0
- package/Chart/DoughnutChart.d.ts +20 -0
- package/Chart/DoughnutChart.d.ts.map +1 -0
- package/Chart/index.d.ts +3 -0
- package/Chart/index.d.ts.map +1 -0
- package/Chart/mocks/doughnutChart.d.ts +9 -0
- package/Chart/mocks/doughnutChart.d.ts.map +1 -0
- package/Input/Input.d.ts.map +1 -1
- package/Search/Search.d.ts.map +1 -1
- package/TextArea/TextArea.d.ts.map +1 -1
- package/_util/useInputFilled.d.ts +1 -0
- package/_util/useInputFilled.d.ts.map +1 -1
- package/index.es.js +17 -17
- package/index.es.js.map +1 -1
- package/index.js +17 -17
- package/index.js.map +1 -1
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.38.0](https://github.com/ocean-ds/ocean-web/compare/v1.37.2...v1.38.0) (2022-11-10)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- add doughnut chart component ([#1037](https://github.com/ocean-ds/ocean-web/issues/1037)) ([df268fb](https://github.com/ocean-ds/ocean-web/commit/df268fb9fdb7cbcb5b297d87e64cd42c6c260ad0))
|
|
11
|
+
|
|
12
|
+
## [1.37.2](https://github.com/ocean-ds/ocean-web/compare/v1.37.1...v1.37.2) (2022-11-09)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- components bugs ([#1034](https://github.com/ocean-ds/ocean-web/issues/1034)) ([d3e4397](https://github.com/ocean-ds/ocean-web/commit/d3e4397f301f631643c7b46023b8c80d93055ab9)), closes [#1023](https://github.com/ocean-ds/ocean-web/issues/1023) [#1018](https://github.com/ocean-ds/ocean-web/issues/1018)
|
|
17
|
+
- date-class tests ([#1035](https://github.com/ocean-ds/ocean-web/issues/1035)) ([8b009fc](https://github.com/ocean-ds/ocean-web/commit/8b009fcdc1edcdf1cd3bf17bc9c89abe704cf6ce))
|
|
18
|
+
|
|
6
19
|
# [1.37.0](https://github.com/ocean-ds/ocean-web/compare/v1.36.3...v1.37.0) (2022-10-20)
|
|
7
20
|
|
|
8
21
|
### Features
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
export declare type DoughnutChartProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle: string;
|
|
5
|
+
centerChartValue?: string;
|
|
6
|
+
centerChartLabel?: string;
|
|
7
|
+
data: IDoughnutChartData[];
|
|
8
|
+
className?: string;
|
|
9
|
+
} & React.ComponentPropsWithoutRef<'div'>;
|
|
10
|
+
export declare type IDoughnutChartData = {
|
|
11
|
+
id: string | number;
|
|
12
|
+
count: number;
|
|
13
|
+
percentage: number;
|
|
14
|
+
color: string;
|
|
15
|
+
descriptionLevel1: string | number | ReactNode;
|
|
16
|
+
descriptionLevel2?: string | number | ReactNode;
|
|
17
|
+
};
|
|
18
|
+
declare const DoughnutChart: React.FC<DoughnutChartProps>;
|
|
19
|
+
export default DoughnutChart;
|
|
20
|
+
//# sourceMappingURL=DoughnutChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DoughnutChart.d.ts","sourceRoot":"","sources":["../../src/Chart/DoughnutChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKzC,oBAAY,kBAAkB,GAAG;IAK/B,KAAK,EAAE,MAAM,CAAC;IAKd,QAAQ,EAAE,MAAM,CAAC;IAIjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAI1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,IAAI,EAAE,kBAAkB,EAAE,CAAC;IAK3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAE1C,oBAAY,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IAC/C,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CACjD,CAAC;AAIF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAgF/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/Chart/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Chart/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doughnutChart.d.ts","sourceRoot":"","sources":["../../../src/Chart/mocks/doughnutChart.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;;;;;GAiC9B,CAAC"}
|
package/Input/Input.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../src/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAoB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,oBAAY,UAAU,GAAG;IAKvB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAC;IAI3E,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,UAAU,CAAC,EAAE,MAAM,CAAC;IAIpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAIhB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAOnB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAI5B,SAAS,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;CAChC,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GACpC,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;AAE1C,QAAA,MAAM,KAAK;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../src/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAoB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,oBAAY,UAAU,GAAG;IAKvB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAC;IAI3E,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,UAAU,CAAC,EAAE,MAAM,CAAC;IAIpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAIhB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAOnB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAI5B,SAAS,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;CAChC,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GACpC,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;AAE1C,QAAA,MAAM,KAAK;;;;;;;;;;yOAqET,CAAC;AAEH,eAAe,KAAK,CAAC"}
|
package/Search/Search.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../src/Search/Search.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../src/Search/Search.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAoB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAK/D,oBAAY,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GAC/D,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;AAE1C,QAAA,MAAM,MAAM,uQAkEX,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../src/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAoB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,oBAAY,aAAa,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GAC5D,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;AAE7C,QAAA,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../src/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAoB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,oBAAY,aAAa,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GAC5D,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;AAE7C,QAAA,MAAM,QAAQ,yRAkDb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -6,6 +6,7 @@ declare type FilledProps = {
|
|
|
6
6
|
};
|
|
7
7
|
declare type FilledReturn = {
|
|
8
8
|
filled: boolean;
|
|
9
|
+
inputValue: string | number | readonly string[] | undefined;
|
|
9
10
|
handleChange: ChangeEventHandler<unknown>;
|
|
10
11
|
};
|
|
11
12
|
export default function useInputFilled({ value, defaultValue, onChange, }: FilledProps): FilledReturn;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInputFilled.d.ts","sourceRoot":"","sources":["../../src/_util/useInputFilled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAoC,MAAM,OAAO,CAAC;AAE7E,aAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IACxD,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IAC/D,QAAQ,CAAC,EAAE,kBAAkB,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,aAAK,YAAY,GAAG;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC3C,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,KAAK,EACL,YAAY,EACZ,QAAQ,GACT,EAAE,WAAW,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"useInputFilled.d.ts","sourceRoot":"","sources":["../../src/_util/useInputFilled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAoC,MAAM,OAAO,CAAC;AAE7E,aAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IACxD,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IAC/D,QAAQ,CAAC,EAAE,kBAAkB,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,aAAK,YAAY,GAAG;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IAC5D,YAAY,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC3C,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,KAAK,EACL,YAAY,EACZ,QAAQ,GACT,EAAE,WAAW,GAAG,YAAY,CAwB5B"}
|
package/index.es.js
CHANGED
|
@@ -4960,10 +4960,12 @@ var Carousel = function (_a) {
|
|
|
4960
4960
|
function useInputFilled(_a) {
|
|
4961
4961
|
var value = _a.value, defaultValue = _a.defaultValue, onChange = _a.onChange;
|
|
4962
4962
|
var _b = useState(Boolean(value || defaultValue)), filled = _b[0], setFilled = _b[1];
|
|
4963
|
+
var _c = useState(value || defaultValue), inputValue = _c[0], setInputValue = _c[1];
|
|
4963
4964
|
var handleChange = useCallback(function (event) {
|
|
4964
4965
|
if (onChange)
|
|
4965
4966
|
return onChange(event);
|
|
4966
4967
|
setFilled(Boolean(event.target.value));
|
|
4968
|
+
setInputValue(event.target.value);
|
|
4967
4969
|
}, [onChange]);
|
|
4968
4970
|
useEffect(function () {
|
|
4969
4971
|
setFilled(Boolean(value));
|
|
@@ -4971,7 +4973,7 @@ function useInputFilled(_a) {
|
|
|
4971
4973
|
useEffect(function () {
|
|
4972
4974
|
setFilled(Boolean(defaultValue));
|
|
4973
4975
|
}, [defaultValue]);
|
|
4974
|
-
return { filled: filled, handleChange: handleChange };
|
|
4976
|
+
return { inputValue: inputValue, filled: filled, handleChange: handleChange };
|
|
4975
4977
|
}
|
|
4976
4978
|
|
|
4977
4979
|
function FormLabelBase(_a, ref) {
|
|
@@ -4998,7 +5000,7 @@ var FormControl = function (_a) {
|
|
|
4998
5000
|
};
|
|
4999
5001
|
|
|
5000
5002
|
var Input = e.forwardRef(function Input(_a, ref) {
|
|
5001
|
-
var type = _a.type, label = _a.label, helperText = _a.helperText, error = _a.error, disabled = _a.disabled, defaultValue = _a.defaultValue, tooltipMessage = _a.tooltipMessage, position = _a.position, adornment = _a.adornment, className = _a.className, id = _a.id, onChange = _a.onChange, value = _a.value, rest = __rest$1(_a, ["type", "label", "helperText", "error", "disabled", "defaultValue", "tooltipMessage", "position", "adornment", "className", "id", "onChange", "value"]);
|
|
5003
|
+
var type = _a.type, label = _a.label, helperText = _a.helperText, error = _a.error, disabled = _a.disabled, defaultValue = _a.defaultValue, placeholder = _a.placeholder, tooltipMessage = _a.tooltipMessage, position = _a.position, adornment = _a.adornment, className = _a.className, id = _a.id, onChange = _a.onChange, value = _a.value, rest = __rest$1(_a, ["type", "label", "helperText", "error", "disabled", "defaultValue", "placeholder", "tooltipMessage", "position", "adornment", "className", "id", "onChange", "value"]);
|
|
5002
5004
|
var _b = useInputFilled({
|
|
5003
5005
|
defaultValue: defaultValue,
|
|
5004
5006
|
value: value,
|
|
@@ -5006,7 +5008,7 @@ var Input = e.forwardRef(function Input(_a, ref) {
|
|
|
5006
5008
|
}), filled = _b.filled, handleChange = _b.handleChange;
|
|
5007
5009
|
return (e.createElement(FormControl, { label: label, tooltipMessage: tooltipMessage, htmlFor: id, helperText: helperText, error: error, disabled: disabled },
|
|
5008
5010
|
e.createElement("div", { className: classNames('ods-input', filled && 'ods-input--filled', disabled && 'ods-input--disabled', error && 'ods-input--error', position === 'left' && 'ods-input--left', adornment && !filled ? 'ods-input--disabled--text' : '', className) },
|
|
5009
|
-
e.createElement("input", __assign$1({ ref: ref, type: type || 'text', id: id, disabled: disabled, onChange: handleChange, defaultValue: defaultValue, value: value }, rest)),
|
|
5011
|
+
e.createElement("input", __assign$1({ ref: ref, type: type || 'text', id: id, disabled: disabled, onChange: handleChange, defaultValue: defaultValue, placeholder: placeholder, value: value }, rest)),
|
|
5010
5012
|
adornment && (e.createElement("div", { className: classNames('ods-input__adornment', {
|
|
5011
5013
|
'ods-input__adornment--placeholder': !filled
|
|
5012
5014
|
}) }, adornment)))));
|
|
@@ -5049,14 +5051,14 @@ var Link = forwardRef(function Link(_a, ref) {
|
|
|
5049
5051
|
});
|
|
5050
5052
|
|
|
5051
5053
|
var TextArea = e.forwardRef(function TextArea(_a, ref) {
|
|
5052
|
-
var className = _a.className, label = _a.label, helperText = _a.helperText, error = _a.error, id = _a.id, disabled = _a.disabled, onChange = _a.onChange, value = _a.value, defaultValue = _a.defaultValue, rest = __rest$1(_a, ["className", "label", "helperText", "error", "id", "disabled", "onChange", "value", "defaultValue"]);
|
|
5054
|
+
var className = _a.className, label = _a.label, placeholder = _a.placeholder, helperText = _a.helperText, error = _a.error, id = _a.id, disabled = _a.disabled, onChange = _a.onChange, value = _a.value, defaultValue = _a.defaultValue, rest = __rest$1(_a, ["className", "label", "placeholder", "helperText", "error", "id", "disabled", "onChange", "value", "defaultValue"]);
|
|
5053
5055
|
var _b = useInputFilled({
|
|
5054
5056
|
defaultValue: defaultValue,
|
|
5055
5057
|
value: value,
|
|
5056
5058
|
onChange: onChange
|
|
5057
5059
|
}), filled = _b.filled, handleChange = _b.handleChange;
|
|
5058
5060
|
return (e.createElement(FormControl, { label: label, htmlFor: id, helperText: helperText, error: error, disabled: disabled },
|
|
5059
|
-
e.createElement("textarea", __assign$1({ ref: ref, id: id, className: classNames('ods-textarea', filled && 'ods-textarea--filled', error && 'ods-textarea--error', className), disabled: disabled, onChange: handleChange, defaultValue: defaultValue, value: value }, rest))));
|
|
5061
|
+
e.createElement("textarea", __assign$1({ ref: ref, id: id, className: classNames('ods-textarea', filled && 'ods-textarea--filled', error && 'ods-textarea--error', className), disabled: disabled, onChange: handleChange, placeholder: placeholder, defaultValue: defaultValue, value: value }, rest))));
|
|
5060
5062
|
});
|
|
5061
5063
|
|
|
5062
5064
|
var Context = e.createContext({});
|
|
@@ -8241,24 +8243,22 @@ function IconButtonBase(_a, ref) {
|
|
|
8241
8243
|
var IconButton = e.forwardRef(IconButtonBase);
|
|
8242
8244
|
|
|
8243
8245
|
var Search = e.forwardRef(function Input(_a, ref) {
|
|
8244
|
-
var className = _a.className, id = _a.id, disabled = _a.disabled, value = _a.value, defaultValue = _a.defaultValue, onChange = _a.onChange, rest = __rest$1(_a, ["className", "id", "disabled", "value", "defaultValue", "onChange"]);
|
|
8245
|
-
var _b =
|
|
8246
|
+
var className = _a.className, id = _a.id, disabled = _a.disabled, value = _a.value, defaultValue = _a.defaultValue, placeholder = _a.placeholder, onChange = _a.onChange, rest = __rest$1(_a, ["className", "id", "disabled", "value", "defaultValue", "placeholder", "onChange"]);
|
|
8247
|
+
var _b = useInputFilled({
|
|
8248
|
+
defaultValue: defaultValue,
|
|
8249
|
+
value: value,
|
|
8250
|
+
onChange: onChange
|
|
8251
|
+
}), inputValue = _b.inputValue, filled = _b.filled, handleChange = _b.handleChange;
|
|
8246
8252
|
return (e.createElement(FormControl, { htmlFor: id, disabled: disabled },
|
|
8247
|
-
e.createElement("div", { className: classNames('ods-search',
|
|
8253
|
+
e.createElement("div", { className: classNames('ods-search', filled && 'ods-search--filled', disabled && 'ods-search--disabled', className) },
|
|
8248
8254
|
e.createElement("div", { className: "ods-search__adornment" },
|
|
8249
8255
|
e.createElement(jt, null)),
|
|
8250
|
-
e.createElement("input", __assign$1({ ref: ref, type: "text", id: id, disabled: disabled, onChange:
|
|
8251
|
-
|
|
8252
|
-
if (onChange)
|
|
8253
|
-
onChange(e);
|
|
8254
|
-
}, value: inputValue }, rest)),
|
|
8255
|
-
inputValue && (e.createElement(IconButton, { "data-testid": "close", onClick: function () {
|
|
8256
|
-
setInputValue('');
|
|
8256
|
+
e.createElement("input", __assign$1({ ref: ref, type: "text", id: id, disabled: disabled, onChange: handleChange, placeholder: placeholder, defaultValue: defaultValue, value: inputValue || '' }, rest)),
|
|
8257
|
+
filled && (e.createElement(IconButton, { "data-testid": "close", onClick: function () {
|
|
8257
8258
|
var e = {
|
|
8258
8259
|
target: { value: '' }
|
|
8259
8260
|
};
|
|
8260
|
-
|
|
8261
|
-
onChange(e);
|
|
8261
|
+
handleChange(e);
|
|
8262
8262
|
}, className: "ods-search__clean", size: "sm" },
|
|
8263
8263
|
e.createElement(Ma, null))))));
|
|
8264
8264
|
});
|