@hero-design/rn 8.105.4 → 8.106.1-alpha.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 (55) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/CHANGELOG.md +31 -0
  3. package/es/index.js +2947 -2564
  4. package/lib/index.js +2950 -2567
  5. package/package.json +3 -3
  6. package/src/components/Avatar/AvatarStack/utils.ts +2 -2
  7. package/src/components/Button/Button.tsx +70 -44
  8. package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +12 -33
  9. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +4 -4
  10. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
  11. package/src/components/Button/LoadingIndicator/index.tsx +4 -1
  12. package/src/components/Button/StyledButton.tsx +461 -313
  13. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +102 -86
  14. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +19 -18
  15. package/src/components/Chart/Line/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  16. package/src/components/Checkbox/{index.tsx → DefaultCheckBox.tsx} +6 -31
  17. package/src/components/Checkbox/InlineCheckBox.tsx +97 -0
  18. package/src/components/Checkbox/{StyledCheckbox.tsx → StyledDefaultCheckBox.tsx} +1 -0
  19. package/src/components/Checkbox/StyledInlineCheckBox.tsx +49 -0
  20. package/src/components/Checkbox/__tests__/{index.spec.tsx → DefaultCheckBox.spec.tsx} +21 -20
  21. package/src/components/Checkbox/__tests__/InlineCheckBox.spec.tsx +93 -0
  22. package/src/components/Checkbox/__tests__/{StyledCheckbox.spec.tsx → StyledDefaultCheckbox.spec.tsx} +2 -2
  23. package/src/components/Checkbox/__tests__/__snapshots__/{index.spec.tsx.snap → DefaultCheckBox.spec.tsx.snap} +6 -0
  24. package/src/components/Checkbox/__tests__/__snapshots__/InlineCheckBox.spec.tsx.snap +988 -0
  25. package/src/components/Checkbox/__tests__/__snapshots__/{StyledCheckbox.spec.tsx.snap → StyledDefaultCheckbox.spec.tsx.snap} +4 -0
  26. package/src/components/Checkbox/__tests__/utils.spec.ts +20 -0
  27. package/src/components/Checkbox/index.ts +9 -0
  28. package/src/components/Checkbox/utils.ts +25 -0
  29. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +2 -2
  30. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +11 -8
  31. package/src/components/Drawer/__tests__/index.spec.tsx +15 -1
  32. package/src/components/Drawer/index.tsx +5 -2
  33. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
  34. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +1 -1
  35. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +59 -19
  36. package/src/theme/components/button.ts +52 -19
  37. package/src/theme/components/checkbox.ts +7 -0
  38. package/src/theme/components/drawer.ts +1 -1
  39. package/src/utils/__tests__/helpers.spec.ts +37 -1
  40. package/src/utils/helpers.ts +14 -0
  41. package/stats/8.106.0/rn-stats.html +4842 -0
  42. package/types/components/Button/Button.d.ts +5 -4
  43. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +3 -4
  44. package/types/components/Button/LoadingIndicator/index.d.ts +1 -1
  45. package/types/components/Button/StyledButton.d.ts +8 -4
  46. package/types/components/Checkbox/DefaultCheckBox.d.ts +40 -0
  47. package/types/components/Checkbox/InlineCheckBox.d.ts +38 -0
  48. package/types/components/Checkbox/StyledInlineCheckBox.d.ts +45 -0
  49. package/types/components/Checkbox/index.d.ts +5 -45
  50. package/types/components/Checkbox/utils.d.ts +6 -0
  51. package/types/theme/components/button.d.ts +49 -15
  52. package/types/theme/components/checkbox.d.ts +6 -0
  53. package/types/theme/components/drawer.d.ts +1 -1
  54. package/types/utils/helpers.d.ts +2 -0
  55. /package/types/components/Checkbox/{StyledCheckbox.d.ts → StyledDefaultCheckBox.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- (node:3308) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
1
+ (node:4180) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
2
2
  (Use `node --trace-warnings ...` to show where the warning was created)
3
3
  
4
4
  src/index.ts → lib/index.js, es/index.js...
@@ -15,9 +15,9 @@ node_modules/d3-selection/src/selection/index.js -> node_modules/d3-selection/sr
15
15
     ~~~~~~~~~~~~~~~~~~~
16
16
  
17
17
  (!) [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.
18
- created lib/index.js, es/index.js in 1m 10.3s
18
+ created lib/index.js, es/index.js in 1m 11s
19
19
  
20
20
  /home/runner/work/hero-design/hero-design/packages/rn/src/locales/en_AU.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/en_CA.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/index.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/types.ts → ., ....
21
21
  (!) Generated empty chunks
22
22
  "locales/types" and "locales/types"
23
- created ., . in 22s
23
+ created ., . in 20.9s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # @hero-design/rn
2
2
 
3
+ ## 8.106.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3497](https://github.com/Thinkei/hero-design/pull/3497) [`e92d1dab57316441e7b5054debe823328e1a1083`](https://github.com/Thinkei/hero-design/commit/e92d1dab57316441e7b5054debe823328e1a1083) Thanks [@luanlai2201](https://github.com/luanlai2201)! - [Font] replace playful font to Saiga
8
+
9
+ - [#4185](https://github.com/Thinkei/hero-design/pull/4185) [`353896c59f62ba7230365d8ba59e07edefc0ded2`](https://github.com/Thinkei/hero-design/commit/353896c59f62ba7230365d8ba59e07edefc0ded2) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Avatar] Use mobileAvatarPalette for avatar hook
10
+
11
+ - [#4123](https://github.com/Thinkei/hero-design/pull/4123) [`ecc5905dec81783858f57595a0af4306ff3b0b89`](https://github.com/Thinkei/hero-design/commit/ecc5905dec81783858f57595a0af4306ff3b0b89) Thanks [@truongnguyen-eh](https://github.com/truongnguyen-eh)! - [ANG-3740] Resolve conflict between alpha and master-react-18
12
+
13
+ - Updated dependencies [[`353896c59f62ba7230365d8ba59e07edefc0ded2`](https://github.com/Thinkei/hero-design/commit/353896c59f62ba7230365d8ba59e07edefc0ded2)]:
14
+ - @hero-design/colors@8.46.2-alpha.0
15
+
16
+ ## 8.106.0
17
+
18
+ ### Minor Changes
19
+
20
+ - [#4176](https://github.com/Thinkei/hero-design/pull/4176) [`2b96e6f94c6fbd1f0fcd799f4ee105ca609b1130`](https://github.com/Thinkei/hero-design/commit/2b96e6f94c6fbd1f0fcd799f4ee105ca609b1130) Thanks [@ttkien](https://github.com/ttkien)! - [CheckBox] add inline variant
21
+
22
+ - [#4162](https://github.com/Thinkei/hero-design/pull/4162) [`8542ccb19ca8a3773b0c3c8eaa69fc20b1184543`](https://github.com/Thinkei/hero-design/commit/8542ccb19ca8a3773b0c3c8eaa69fc20b1184543) Thanks [@dathuynh-eh](https://github.com/dathuynh-eh)! - - [Button] Add `invered` intent
23
+ - [Button] Deprecated `white` intent
24
+ - [Button] Add `filled-medium`, `outlined-medium` and `text-medium` variant
25
+ - [Button] Add new icon only Button(no label)
26
+ - [Button] Update correct color token support dark mode
27
+
28
+ ### Patch Changes
29
+
30
+ - [#4166](https://github.com/Thinkei/hero-design/pull/4166) [`33d8c79cb6ea7dc3e997a762fa215d64eb7fe911`](https://github.com/Thinkei/hero-design/commit/33d8c79cb6ea7dc3e997a762fa215d64eb7fe911) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Drawer] Fix backdrop not working and update backdrop style
31
+
32
+ - [#4181](https://github.com/Thinkei/hero-design/pull/4181) [`e5b376ed3b8d828e6c8a914f918d2c7bb49ebdf1`](https://github.com/Thinkei/hero-design/commit/e5b376ed3b8d828e6c8a914f918d2c7bb49ebdf1) Thanks [@ttkien](https://github.com/ttkien)! - [RichTextEditor] bump hero-editor
33
+
3
34
  ## 8.105.4
4
35
 
5
36
  ### Patch Changes