@hero-design/rn 8.105.4 → 8.106.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 (54) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/CHANGELOG.md +18 -0
  3. package/es/index.js +2797 -2453
  4. package/lib/index.js +2800 -2456
  5. package/package.json +2 -2
  6. package/src/components/Button/Button.tsx +70 -44
  7. package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +12 -33
  8. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +4 -4
  9. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
  10. package/src/components/Button/LoadingIndicator/index.tsx +4 -1
  11. package/src/components/Button/StyledButton.tsx +461 -313
  12. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +102 -86
  13. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +19 -18
  14. package/src/components/Chart/Line/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  15. package/src/components/Checkbox/{index.tsx → DefaultCheckBox.tsx} +6 -31
  16. package/src/components/Checkbox/InlineCheckBox.tsx +97 -0
  17. package/src/components/Checkbox/{StyledCheckbox.tsx → StyledDefaultCheckBox.tsx} +1 -0
  18. package/src/components/Checkbox/StyledInlineCheckBox.tsx +49 -0
  19. package/src/components/Checkbox/__tests__/{index.spec.tsx → DefaultCheckBox.spec.tsx} +21 -20
  20. package/src/components/Checkbox/__tests__/InlineCheckBox.spec.tsx +93 -0
  21. package/src/components/Checkbox/__tests__/{StyledCheckbox.spec.tsx → StyledDefaultCheckbox.spec.tsx} +2 -2
  22. package/src/components/Checkbox/__tests__/__snapshots__/{index.spec.tsx.snap → DefaultCheckBox.spec.tsx.snap} +6 -0
  23. package/src/components/Checkbox/__tests__/__snapshots__/InlineCheckBox.spec.tsx.snap +988 -0
  24. package/src/components/Checkbox/__tests__/__snapshots__/{StyledCheckbox.spec.tsx.snap → StyledDefaultCheckbox.spec.tsx.snap} +4 -0
  25. package/src/components/Checkbox/__tests__/utils.spec.ts +20 -0
  26. package/src/components/Checkbox/index.ts +9 -0
  27. package/src/components/Checkbox/utils.ts +25 -0
  28. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +2 -2
  29. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +11 -8
  30. package/src/components/Drawer/__tests__/index.spec.tsx +15 -1
  31. package/src/components/Drawer/index.tsx +5 -2
  32. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
  33. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +1 -1
  34. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +59 -19
  35. package/src/theme/components/button.ts +52 -19
  36. package/src/theme/components/checkbox.ts +7 -0
  37. package/src/theme/components/drawer.ts +1 -1
  38. package/src/utils/__tests__/helpers.spec.ts +37 -1
  39. package/src/utils/helpers.ts +14 -0
  40. package/stats/8.106.0/rn-stats.html +4844 -0
  41. package/types/components/Button/Button.d.ts +5 -4
  42. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +3 -4
  43. package/types/components/Button/LoadingIndicator/index.d.ts +1 -1
  44. package/types/components/Button/StyledButton.d.ts +8 -4
  45. package/types/components/Checkbox/DefaultCheckBox.d.ts +40 -0
  46. package/types/components/Checkbox/InlineCheckBox.d.ts +38 -0
  47. package/types/components/Checkbox/StyledInlineCheckBox.d.ts +45 -0
  48. package/types/components/Checkbox/index.d.ts +5 -45
  49. package/types/components/Checkbox/utils.d.ts +6 -0
  50. package/types/theme/components/button.d.ts +49 -15
  51. package/types/theme/components/checkbox.d.ts +6 -0
  52. package/types/theme/components/drawer.d.ts +1 -1
  53. package/types/utils/helpers.d.ts +2 -0
  54. /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:3306) 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 13.9s
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 21s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @hero-design/rn
2
2
 
3
+ ## 8.106.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#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
8
+
9
+ - [#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
10
+ - [Button] Deprecated `white` intent
11
+ - [Button] Add `filled-medium`, `outlined-medium` and `text-medium` variant
12
+ - [Button] Add new icon only Button(no label)
13
+ - [Button] Update correct color token support dark mode
14
+
15
+ ### Patch Changes
16
+
17
+ - [#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
18
+
19
+ - [#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
20
+
3
21
  ## 8.105.4
4
22
 
5
23
  ### Patch Changes