@hero-design/rn 8.71.0 → 8.72.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.
Files changed (67) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/CHANGELOG.md +23 -0
  3. package/es/index.js +353 -208
  4. package/lib/index.js +353 -208
  5. package/package.json +1 -1
  6. package/src/components/Accordion/AccordionItem.tsx +1 -1
  7. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +8 -8
  8. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
  9. package/src/components/Badge/StyledBadge.tsx +17 -2
  10. package/src/components/Badge/__tests__/Badge.spec.tsx +15 -0
  11. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +187 -0
  12. package/src/components/Badge/index.tsx +20 -36
  13. package/src/components/Badge/types.ts +55 -0
  14. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +3 -3
  15. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
  16. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +7 -7
  17. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +6 -6
  18. package/src/components/FAB/FAB.tsx +6 -1
  19. package/src/components/FAB/Pair/StyledFAB.tsx +19 -0
  20. package/src/components/FAB/Pair/__tests__/__snapshots__/index.spec.tsx.snap +276 -0
  21. package/src/components/FAB/Pair/__tests__/index.spec.tsx +39 -0
  22. package/src/components/FAB/Pair/index.tsx +46 -0
  23. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +31 -14
  24. package/src/components/FAB/index.tsx +3 -1
  25. package/src/components/Progress/ProgressStep.tsx +3 -1
  26. package/src/components/Progress/StyledStep.tsx +13 -11
  27. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +215 -4
  28. package/src/components/Progress/__tests__/index.spec.js +16 -4
  29. package/src/components/Search/SearchOneLine.tsx +7 -1
  30. package/src/components/Search/SearchSuffixIcon.tsx +12 -1
  31. package/src/components/Search/SearchTwoLine.tsx +7 -1
  32. package/src/components/Search/StyledSearch.tsx +42 -16
  33. package/src/components/Search/__tests__/SearchOneLine.spec.tsx +30 -0
  34. package/src/components/Search/__tests__/SearchTwoLine.spec.tsx +15 -0
  35. package/src/components/Search/__tests__/__snapshots__/SearchOneLine.spec.tsx.snap +166 -10
  36. package/src/components/Search/__tests__/__snapshots__/SearchSuffixIcon.spec.tsx.snap +3 -0
  37. package/src/components/Search/__tests__/__snapshots__/SearchTwoLine.spec.tsx.snap +182 -2
  38. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +1 -1
  39. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +9 -0
  40. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +6 -0
  41. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +3 -0
  42. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +9 -0
  43. package/src/components/Toolbar/StyledToolbar.tsx +11 -0
  44. package/src/components/Toolbar/ToolbarItem.tsx +3 -3
  45. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +24 -4
  46. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +46 -9
  47. package/src/theme/components/badge.ts +10 -1
  48. package/src/theme/components/button.ts +2 -2
  49. package/src/theme/components/fab.ts +3 -0
  50. package/src/theme/components/search.ts +30 -5
  51. package/src/theme/components/switch.ts +2 -2
  52. package/src/theme/components/toolbar.ts +1 -1
  53. package/stats/8.72.0/rn-stats.html +4844 -0
  54. package/types/components/Badge/StyledBadge.d.ts +9 -1
  55. package/types/components/Badge/index.d.ts +3 -34
  56. package/types/components/Badge/types.d.ts +53 -0
  57. package/types/components/FAB/Pair/StyledFAB.d.ts +12 -0
  58. package/types/components/FAB/Pair/index.d.ts +16 -0
  59. package/types/components/FAB/index.d.ts +1 -0
  60. package/types/components/Progress/StyledStep.d.ts +2 -0
  61. package/types/components/Search/SearchOneLine.d.ts +5 -0
  62. package/types/components/Search/SearchTwoLine.d.ts +5 -0
  63. package/types/components/Search/StyledSearch.d.ts +7 -2
  64. package/types/components/Toolbar/StyledToolbar.d.ts +9 -2
  65. package/types/theme/components/badge.d.ts +8 -0
  66. package/types/theme/components/fab.d.ts +3 -0
  67. package/types/theme/components/search.d.ts +31 -5
@@ -1,8 +1,8 @@
1
- (node:3001) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
1
+ (node:2356) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
2
2
  (Use `node --trace-warnings ...` to show where the warning was created)
3
- (node:3001) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
3
+ (node:2356) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
4
4
  
5
5
  src/index.ts → lib/index.js, es/index.js...
6
6
  (!) [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`.
7
7
  (!) [plugin node-resolve] preferring built-in module 'events' over local alternative at '/home/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.or passing a function to 'preferBuiltins' to provide more fine-grained control over which built-in modules to prefer.
8
- created lib/index.js, es/index.js in 50.9s
8
+ created lib/index.js, es/index.js in 52.6s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @hero-design/rn
2
2
 
3
+ ## 8.72.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#3431](https://github.com/Thinkei/hero-design/pull/3431) [`74aa7c77c9f026f82dfdd62288f16b5e8c971d50`](https://github.com/Thinkei/hero-design/commit/74aa7c77c9f026f82dfdd62288f16b5e8c971d50) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [FAB.Pair] Add component
8
+
9
+ - [#3428](https://github.com/Thinkei/hero-design/pull/3428) [`7308ff9d0af86f1f700b781359bc72cbf04a2e25`](https://github.com/Thinkei/hero-design/commit/7308ff9d0af86f1f700b781359bc72cbf04a2e25) Thanks [@phucdph](https://github.com/phucdph)! - [Badge] Add outlined variant
10
+ [Badge] Support icon badge
11
+
12
+ - [#3429](https://github.com/Thinkei/hero-design/pull/3429) [`63c7267233851d720126866e2ffe9bc30d7b0900`](https://github.com/Thinkei/hero-design/commit/63c7267233851d720126866e2ffe9bc30d7b0900) Thanks [@phucdph](https://github.com/phucdph)! - [Search] Add reversed variant
13
+
14
+ ### Patch Changes
15
+
16
+ - [#3433](https://github.com/Thinkei/hero-design/pull/3433) [`eab146f43607574f5a4c0349745684fefe259a05`](https://github.com/Thinkei/hero-design/commit/eab146f43607574f5a4c0349745684fefe259a05) Thanks [@ttkien](https://github.com/ttkien)! - [Toolbar] update secondary text of Toolbar item to mutedOnDefaultGlobalSurface
17
+
18
+ - [#3427](https://github.com/Thinkei/hero-design/pull/3427) [`74c25c46d20979c5818debcc67c6cff721e0d768`](https://github.com/Thinkei/hero-design/commit/74c25c46d20979c5818debcc67c6cff721e0d768) Thanks [@ttkien](https://github.com/ttkien)! - [Switch] Update disable background to muteOnDefaultGlobalSurface and thumb color
19
+
20
+ - [#3426](https://github.com/Thinkei/hero-design/pull/3426) [`25d1984b9bf5745ee9e2107c33d7e98c4f2c53a8`](https://github.com/Thinkei/hero-design/commit/25d1984b9bf5745ee9e2107c33d7e98c4f2c53a8) Thanks [@ttkien](https://github.com/ttkien)! - [Accordion] update icon color from secondary to primary
21
+
22
+ - [#3432](https://github.com/Thinkei/hero-design/pull/3432) [`c8b1580f3bbad8fad8d5fbc805085f520918340c`](https://github.com/Thinkei/hero-design/commit/c8b1580f3bbad8fad8d5fbc805085f520918340c) Thanks [@ttkien](https://github.com/ttkien)! - [Button] update secondary-variant color
23
+
24
+ - [#3423](https://github.com/Thinkei/hero-design/pull/3423) [`4f019dcf8eab14d55abd047afd02d8f8e0440140`](https://github.com/Thinkei/hero-design/commit/4f019dcf8eab14d55abd047afd02d8f8e0440140) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Progress.Step] Add complete state for 1 step
25
+
3
26
  ## 8.71.0
4
27
 
5
28
  ### Minor Changes