@hero-design/rn 8.44.0 → 8.45.0-test.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/.turbo/turbo-build.log
CHANGED
|
@@ -3,6 +3,6 @@ $ rollup -c
|
|
|
3
3
|
[36m
|
|
4
4
|
[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
5
5
|
[1m[33m(!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.[39m[22m
|
|
6
|
-
[1m[33m(!) Plugin node-resolve: preferring built-in module 'events' over local alternative at '/
|
|
7
|
-
[32mcreated [1mlib/index.js, es/index.js[22m in [
|
|
6
|
+
[1m[33m(!) Plugin node-resolve: preferring built-in module 'events' over local alternative at '/runner/_work/hero-design/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning[39m[22m
|
|
7
|
+
[32mcreated [1mlib/index.js, es/index.js[22m in [1m20.2s[22m[39m
|
|
8
8
|
$ tsc --noEmit false --emitDeclarationOnly --project tsconfig.prod.json
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @hero-design/rn
|
|
2
2
|
|
|
3
|
+
## 8.45.0-test.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`0f6446927`](https://github.com/Thinkei/hero-design/commit/0f644692789631246e1bea6e59b90fec86a42ae6) Thanks [@phucdph](https://github.com/phucdph)! - test
|
|
8
|
+
|
|
3
9
|
## 8.44.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/es/index.js
CHANGED
|
@@ -7508,8 +7508,8 @@ var Accordion = function Accordion(_ref) {
|
|
|
7508
7508
|
onItemPress = _ref.onItemPress,
|
|
7509
7509
|
_ref$variant = _ref.variant,
|
|
7510
7510
|
variant = _ref$variant === void 0 ? 'default' : _ref$variant,
|
|
7511
|
-
|
|
7512
|
-
|
|
7511
|
+
testID = _ref.testID,
|
|
7512
|
+
style = _ref.style;
|
|
7513
7513
|
var defaultValue = useMemo(function () {
|
|
7514
7514
|
return typeof activeItemKey === 'number' ? NaN : '';
|
|
7515
7515
|
}, [activeItemKey]);
|
package/lib/index.js
CHANGED
|
@@ -7538,8 +7538,8 @@ var Accordion = function Accordion(_ref) {
|
|
|
7538
7538
|
onItemPress = _ref.onItemPress,
|
|
7539
7539
|
_ref$variant = _ref.variant,
|
|
7540
7540
|
variant = _ref$variant === void 0 ? 'default' : _ref$variant,
|
|
7541
|
-
|
|
7542
|
-
|
|
7541
|
+
testID = _ref.testID,
|
|
7542
|
+
style = _ref.style;
|
|
7543
7543
|
var defaultValue = React.useMemo(function () {
|
|
7544
7544
|
return typeof activeItemKey === 'number' ? NaN : '';
|
|
7545
7545
|
}, [activeItemKey]);
|
package/package.json
CHANGED
|
@@ -35,5 +35,5 @@ export interface AccordionProps<K extends Key> {
|
|
|
35
35
|
*/
|
|
36
36
|
testID?: string;
|
|
37
37
|
}
|
|
38
|
-
declare const Accordion: <K extends React.Key>({ items, activeItemKey, onItemPress, variant,
|
|
38
|
+
declare const Accordion: <K extends React.Key>({ items, activeItemKey, onItemPress, variant, testID, style, }: AccordionProps<K>) => React.JSX.Element;
|
|
39
39
|
export default Accordion;
|