@useblu/ocean-react 1.96.0 → 1.98.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 +12 -0
- package/Select/stories/shared.d.ts +74 -0
- package/Select/stories/shared.d.ts.map +1 -0
- package/Stepper/Stepper.d.ts.map +1 -1
- package/TextArea/TextArea.d.ts.map +1 -1
- package/index.es.js +7 -7
- package/index.es.js.map +1 -1
- package/index.js +7 -7
- package/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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.98.0](https://github.com/ocean-ds/ocean-web/compare/v1.97.0...v1.98.0) (2025-08-04)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- select and stepper docs ([#1175](https://github.com/ocean-ds/ocean-web/issues/1175)) ([2f60bad](https://github.com/ocean-ds/ocean-web/commit/2f60bad3255bb1606cdf2cae57230d45ab2d3fac))
|
|
11
|
+
|
|
12
|
+
# [1.97.0](https://github.com/ocean-ds/ocean-web/compare/v1.96.0...v1.97.0) (2025-07-31)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- select docs ([#1174](https://github.com/ocean-ds/ocean-web/issues/1174)) ([d2e6529](https://github.com/ocean-ds/ocean-web/commit/d2e6529544b40dccafbbeb8b3d6b663368ec5677))
|
|
17
|
+
|
|
6
18
|
# [1.96.0](https://github.com/ocean-ds/ocean-web/compare/v1.95.0...v1.96.0) (2025-07-31)
|
|
7
19
|
|
|
8
20
|
### Features
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const sharedArgTypes: {
|
|
3
|
+
label: {
|
|
4
|
+
description: string;
|
|
5
|
+
control: string;
|
|
6
|
+
};
|
|
7
|
+
placeholder: {
|
|
8
|
+
description: string;
|
|
9
|
+
control: string;
|
|
10
|
+
};
|
|
11
|
+
helperText: {
|
|
12
|
+
description: string;
|
|
13
|
+
control: string;
|
|
14
|
+
};
|
|
15
|
+
error: {
|
|
16
|
+
description: string;
|
|
17
|
+
control: string;
|
|
18
|
+
};
|
|
19
|
+
disabled: {
|
|
20
|
+
description: string;
|
|
21
|
+
control: string;
|
|
22
|
+
};
|
|
23
|
+
tooltipMessage: {
|
|
24
|
+
description: string;
|
|
25
|
+
control: string;
|
|
26
|
+
};
|
|
27
|
+
id: {
|
|
28
|
+
table: {
|
|
29
|
+
disable: boolean;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
name: {
|
|
33
|
+
table: {
|
|
34
|
+
disable: boolean;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
value: {
|
|
38
|
+
table: {
|
|
39
|
+
disable: boolean;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
defaultValue: {
|
|
43
|
+
table: {
|
|
44
|
+
disable: boolean;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
ariaLabel: {
|
|
48
|
+
table: {
|
|
49
|
+
disable: boolean;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
onChange: {
|
|
53
|
+
table: {
|
|
54
|
+
disable: boolean;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
className: {
|
|
58
|
+
table: {
|
|
59
|
+
disable: boolean;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
options: {
|
|
63
|
+
table: {
|
|
64
|
+
disable: boolean;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export declare const defaultOptions: {
|
|
69
|
+
value: string;
|
|
70
|
+
label: string;
|
|
71
|
+
}[];
|
|
72
|
+
export declare const defaultDecorator: (StoryComponent: React.ComponentType) => JSX.Element;
|
|
73
|
+
export declare const emptyHandler: () => void;
|
|
74
|
+
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/Select/stories/shared.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkD1B,CAAC;AAGF,eAAO,MAAM,cAAc;;;GAS1B,CAAC;AAGF,eAAO,MAAM,gBAAgB,GAC3B,gBAAgB,KAAK,CAAC,aAAa,KAClC,GAAG,CAAC,OAcN,CAAC;AAGF,eAAO,MAAM,YAAY,QAAO,IAE/B,CAAC"}
|
package/Stepper/Stepper.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../src/Stepper/Stepper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAS3C,OAAoB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,MAAM,MAAM,YAAY,GAAG;IAMzB,GAAG,CAAC,EAAE,MAAM,CAAC;IAMb,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GACpC,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;AAE1C,QAAA,MAAM,OAAO;UAVL,MAAM;UAMN,MAAM;
|
|
1
|
+
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../src/Stepper/Stepper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAS3C,OAAoB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,MAAM,MAAM,YAAY,GAAG;IAMzB,GAAG,CAAC,EAAE,MAAM,CAAC;IAMb,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GACpC,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;AAE1C,QAAA,MAAM,OAAO;UAVL,MAAM;UAMN,MAAM;yOA4Jb,CAAC;AAIF,eAAe,OAAO,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,MAAM,MAAM,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,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GAC5D,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;AAE7C,QAAA,MAAM,QAAQ,yRAsDb,CAAC;AAIF,eAAe,QAAQ,CAAC"}
|
package/index.es.js
CHANGED
|
@@ -5348,14 +5348,14 @@ var Radio = e.forwardRef(function (_a, ref) {
|
|
|
5348
5348
|
Radio.displayName = 'Radio';
|
|
5349
5349
|
|
|
5350
5350
|
var TextArea = e.forwardRef(function (_a, ref) {
|
|
5351
|
-
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"]);
|
|
5352
|
-
var
|
|
5351
|
+
var className = _a.className, label = _a.label, tooltipMessage = _a.tooltipMessage, placeholder = _a.placeholder, helperText = _a.helperText, error = _a.error, id = _a.id, disabled = _a.disabled, onChange = _a.onChange, value = _a.value, defaultValue = _a.defaultValue, _b = _a.rows, rows = _b === void 0 ? 4 : _b, rest = __rest$1(_a, ["className", "label", "tooltipMessage", "placeholder", "helperText", "error", "id", "disabled", "onChange", "value", "defaultValue", "rows"]);
|
|
5352
|
+
var _c = useInputFilled({
|
|
5353
5353
|
defaultValue: defaultValue,
|
|
5354
5354
|
value: value,
|
|
5355
5355
|
onChange: onChange,
|
|
5356
|
-
}), filled =
|
|
5357
|
-
return (e.createElement(FormControl, { label: label, htmlFor: id, helperText: helperText, error: error, disabled: disabled },
|
|
5358
|
-
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))));
|
|
5356
|
+
}), filled = _c.filled, handleChange = _c.handleChange;
|
|
5357
|
+
return (e.createElement(FormControl, { label: label, tooltipMessage: tooltipMessage, htmlFor: id, helperText: helperText, error: error, disabled: disabled },
|
|
5358
|
+
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, rows: rows }, rest))));
|
|
5359
5359
|
});
|
|
5360
5360
|
TextArea.displayName = 'TextArea';
|
|
5361
5361
|
|
|
@@ -25973,7 +25973,7 @@ lodash.exports;
|
|
|
25973
25973
|
var lodashExports = lodash.exports;
|
|
25974
25974
|
|
|
25975
25975
|
var Stepper = e.forwardRef(function (_a, ref) {
|
|
25976
|
-
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, _b = _a.min, min = _b === void 0 ? 0 : _b, max = _a.max, rest = __rest$1(_a, ["className", "label", "helperText", "error", "id", "disabled", "onChange", "value", "defaultValue", "min", "max"]);
|
|
25976
|
+
var className = _a.className, label = _a.label, tooltipMessage = _a.tooltipMessage, helperText = _a.helperText, error = _a.error, id = _a.id, disabled = _a.disabled, onChange = _a.onChange, value = _a.value, defaultValue = _a.defaultValue, _b = _a.min, min = _b === void 0 ? 0 : _b, max = _a.max, rest = __rest$1(_a, ["className", "label", "tooltipMessage", "helperText", "error", "id", "disabled", "onChange", "value", "defaultValue", "min", "max"]);
|
|
25977
25977
|
var _c = useInputFilled({
|
|
25978
25978
|
defaultValue: defaultValue,
|
|
25979
25979
|
value: value,
|
|
@@ -26020,7 +26020,7 @@ var Stepper = e.forwardRef(function (_a, ref) {
|
|
|
26020
26020
|
break;
|
|
26021
26021
|
}
|
|
26022
26022
|
}, [addToAmount, deduceFromAmount]);
|
|
26023
|
-
return (e.createElement(FormControl, { label: label, htmlFor: id, helperText: helperText, error: error, disabled: disabled },
|
|
26023
|
+
return (e.createElement(FormControl, { label: label, tooltipMessage: tooltipMessage, htmlFor: id, helperText: helperText, error: error, disabled: disabled },
|
|
26024
26024
|
e.createElement("div", { className: classNames('ods-input', 'ods-input--amount', filled && 'ods-input--filled', disabled && 'ods-input--disabled', error && 'ods-input--error', className) },
|
|
26025
26025
|
e.createElement("div", { className: classNames('ods-input--root', {
|
|
26026
26026
|
'ods-input--amount--zero': amount === 0 && !disabled,
|