@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.
@@ -3,6 +3,6 @@ $ rollup -c
3
3
  
4
4
  src/index.ts → lib/index.js, es/index.js...
5
5
  (!) 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`.
6
- (!) Plugin node-resolve: preferring built-in module 'events' over local alternative at '/root/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning
7
- created lib/index.js, es/index.js in 26.5s
6
+ (!) 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
7
+ created lib/index.js, es/index.js in 20.2s
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
- style = _ref.style,
7512
- testID = _ref.testID;
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
- style = _ref.style,
7542
- testID = _ref.testID;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "8.44.0",
3
+ "version": "8.45.0-test.0",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -45,8 +45,8 @@ const Accordion = <K extends Key>({
45
45
  activeItemKey,
46
46
  onItemPress,
47
47
  variant = 'default',
48
- style,
49
48
  testID,
49
+ style,
50
50
  }: AccordionProps<K>) => {
51
51
  const defaultValue = useMemo(
52
52
  () => (typeof activeItemKey === 'number' ? NaN : '') as K,
@@ -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, style, testID, }: AccordionProps<K>) => React.JSX.Element;
38
+ declare const Accordion: <K extends React.Key>({ items, activeItemKey, onItemPress, variant, testID, style, }: AccordionProps<K>) => React.JSX.Element;
39
39
  export default Accordion;