@hero-design/rn 8.71.0 → 8.73.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 (88) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/CHANGELOG.md +33 -0
  3. package/es/index.js +790 -470
  4. package/lib/index.js +793 -472
  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/MapPin/Focussed.tsx +28 -0
  26. package/src/components/MapPin/StyledMapPin.tsx +72 -0
  27. package/src/components/MapPin/__tests__/Focussed.spec.tsx +10 -0
  28. package/src/components/MapPin/__tests__/__snapshots__/Focussed.spec.tsx.snap +72 -0
  29. package/src/components/MapPin/__tests__/__snapshots__/index.spec.tsx.snap +470 -0
  30. package/src/components/MapPin/__tests__/index.spec.tsx +44 -0
  31. package/src/components/MapPin/index.tsx +64 -0
  32. package/src/components/MapPin/types.ts +41 -0
  33. package/src/components/PinInput/__tests__/index.spec.tsx +4 -0
  34. package/src/components/PinInput/index.tsx +7 -3
  35. package/src/components/Progress/ProgressStep.tsx +3 -1
  36. package/src/components/Progress/StyledStep.tsx +13 -11
  37. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +215 -4
  38. package/src/components/Progress/__tests__/index.spec.js +16 -4
  39. package/src/components/Search/SearchOneLine.tsx +7 -1
  40. package/src/components/Search/SearchSuffixIcon.tsx +12 -1
  41. package/src/components/Search/SearchTwoLine.tsx +7 -1
  42. package/src/components/Search/StyledSearch.tsx +42 -16
  43. package/src/components/Search/__tests__/SearchOneLine.spec.tsx +30 -0
  44. package/src/components/Search/__tests__/SearchTwoLine.spec.tsx +15 -0
  45. package/src/components/Search/__tests__/__snapshots__/SearchOneLine.spec.tsx.snap +166 -10
  46. package/src/components/Search/__tests__/__snapshots__/SearchSuffixIcon.spec.tsx.snap +3 -0
  47. package/src/components/Search/__tests__/__snapshots__/SearchTwoLine.spec.tsx.snap +182 -2
  48. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +1 -1
  49. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +9 -0
  50. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +6 -0
  51. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +3 -0
  52. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +9 -0
  53. package/src/components/Toolbar/StyledToolbar.tsx +11 -0
  54. package/src/components/Toolbar/ToolbarItem.tsx +3 -3
  55. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +24 -4
  56. package/src/index.ts +2 -0
  57. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +84 -9
  58. package/src/theme/components/badge.ts +10 -1
  59. package/src/theme/components/button.ts +2 -2
  60. package/src/theme/components/fab.ts +3 -0
  61. package/src/theme/components/mapPin.ts +47 -0
  62. package/src/theme/components/search.ts +30 -5
  63. package/src/theme/components/switch.ts +2 -2
  64. package/src/theme/components/toolbar.ts +1 -1
  65. package/src/theme/getTheme.ts +3 -0
  66. package/stats/8.72.0/rn-stats.html +4842 -0
  67. package/stats/8.73.0/rn-stats.html +4844 -0
  68. package/types/components/Badge/StyledBadge.d.ts +9 -1
  69. package/types/components/Badge/index.d.ts +3 -34
  70. package/types/components/Badge/types.d.ts +53 -0
  71. package/types/components/FAB/Pair/StyledFAB.d.ts +12 -0
  72. package/types/components/FAB/Pair/index.d.ts +16 -0
  73. package/types/components/FAB/index.d.ts +1 -0
  74. package/types/components/MapPin/Focussed.d.ts +13 -0
  75. package/types/components/MapPin/StyledMapPin.d.ts +32 -0
  76. package/types/components/MapPin/index.d.ts +5 -0
  77. package/types/components/MapPin/types.d.ts +38 -0
  78. package/types/components/Progress/StyledStep.d.ts +2 -0
  79. package/types/components/Search/SearchOneLine.d.ts +5 -0
  80. package/types/components/Search/SearchTwoLine.d.ts +5 -0
  81. package/types/components/Search/StyledSearch.d.ts +7 -2
  82. package/types/components/Toolbar/StyledToolbar.d.ts +9 -2
  83. package/types/index.d.ts +2 -1
  84. package/types/theme/components/badge.d.ts +8 -0
  85. package/types/theme/components/fab.d.ts +3 -0
  86. package/types/theme/components/mapPin.d.ts +40 -0
  87. package/types/theme/components/search.d.ts +31 -5
  88. package/types/theme/getTheme.d.ts +2 -0
@@ -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:2948) 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:2948) 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.5s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # @hero-design/rn
2
2
 
3
+ ## 8.73.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#3440](https://github.com/Thinkei/hero-design/pull/3440) [`5959fd728ea18e94a054e4276345218b3c1f15ed`](https://github.com/Thinkei/hero-design/commit/5959fd728ea18e94a054e4276345218b3c1f15ed) Thanks [@phucdph](https://github.com/phucdph)! - [MapPin] Add component
8
+
9
+ ### Patch Changes
10
+
11
+ - [#3436](https://github.com/Thinkei/hero-design/pull/3436) [`53fc3067bee1db6e209bb4012bf544ec750a93fb`](https://github.com/Thinkei/hero-design/commit/53fc3067bee1db6e209bb4012bf544ec750a93fb) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [PinInput] Resolve onFulfill being called incorrectly
12
+
13
+ ## 8.72.0
14
+
15
+ ### Minor Changes
16
+
17
+ - [#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
18
+
19
+ - [#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
20
+ [Badge] Support icon badge
21
+
22
+ - [#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
23
+
24
+ ### Patch Changes
25
+
26
+ - [#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
27
+
28
+ - [#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
29
+
30
+ - [#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
31
+
32
+ - [#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
33
+
34
+ - [#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
35
+
3
36
  ## 8.71.0
4
37
 
5
38
  ### Minor Changes