@hero-design/rn 8.127.1 → 8.128.1

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 (35) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/CLAUDE.md +1 -1
  3. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  4. package/es/index.js +219 -209
  5. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  6. package/lib/index.js +219 -209
  7. package/package.json +4 -4
  8. package/src/components/Button/StyledButton.tsx +4 -4
  9. package/src/components/FAB/FAB.tsx +37 -5
  10. package/src/components/FAB/Pair/StyledFAB.tsx +2 -2
  11. package/src/components/FAB/Pair/index.tsx +6 -0
  12. package/src/components/FAB/StyledFAB.tsx +3 -1
  13. package/src/components/FilterTrigger/index.tsx +7 -6
  14. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  15. package/src/components/Icon/IconList.ts +1 -0
  16. package/src/components/StatusScreens/Error/StyledError.tsx +0 -6
  17. package/src/components/StatusScreens/Error/index.tsx +2 -6
  18. package/src/components/StatusScreens/Success/StyledSuccess.tsx +0 -6
  19. package/src/components/StatusScreens/Success/index.tsx +2 -2
  20. package/src/locales/types.ts +1 -3
  21. package/src/theme/components/fab.ts +12 -11
  22. package/src/theme/components/filterTrigger.ts +8 -10
  23. package/src/theme/global/colors/ehJobs.ts +1 -0
  24. package/src/theme/global/colors/ehWork.ts +1 -1
  25. package/types/components/Checkbox/StyledInlineCheckBox.d.ts +1 -1
  26. package/types/components/FAB/FAB.d.ts +5 -1
  27. package/types/components/FAB/Pair/StyledFAB.d.ts +3 -1
  28. package/types/components/FAB/StyledFAB.d.ts +1 -0
  29. package/types/components/Icon/IconList.d.ts +1 -1
  30. package/types/components/Icon/index.d.ts +1 -1
  31. package/types/components/StatusScreens/Error/StyledError.d.ts +1 -5
  32. package/types/components/StatusScreens/Success/StyledSuccess.d.ts +1 -5
  33. package/types/components/TextInput/index.d.ts +1 -1
  34. package/types/locales/types.d.ts +1 -3
  35. package/types/theme/components/filterTrigger.d.ts +0 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,46 @@
1
1
  # @hero-design/rn
2
2
 
3
+ ## 8.128.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#5088](https://github.com/Thinkei/hero-design/pull/5088) [`8a8a649b3d2ad1fa030be516afb94841ac4d7fa9`](https://github.com/Thinkei/hero-design/commit/8a8a649b3d2ad1fa030be516afb94841ac4d7fa9) Thanks [@ttkien](https://github.com/ttkien)! - [Error][success] fix: remove erroneous padding from StatusScreen buttons
8
+
9
+ - [#5085](https://github.com/Thinkei/hero-design/pull/5085) [`850eafeaec709444144e6cbe3cc15d53653c2088`](https://github.com/Thinkei/hero-design/commit/850eafeaec709444144e6cbe3cc15d53653c2088) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [FAB] Redesign FAB and FABPair visual tokens
10
+
11
+ - FAB size reduced from 64px (`xxxxxlarge`) to 48px (`xxxlarge`)
12
+ - FAB/FABPair button background changed from black (`overlayGlobalSurface`) to the `primary` color token
13
+ - Action.Item background changed from black to white (`defaultGlobalSurface`); text/icon color changed from `onDarkGlobalSurface` to `onDefaultGlobalSurface`
14
+ - FABPair label changed from 16px semiBold to 14px regular
15
+
16
+ - [#5080](https://github.com/Thinkei/hero-design/pull/5080) [`16e0cb317529452f5a10523c10b60f66fcba6ee4`](https://github.com/Thinkei/hero-design/commit/16e0cb317529452f5a10523c10b60f66fcba6ee4) Thanks [@ttkien](https://github.com/ttkien)! - [Theme] Update primary token to #7622d7 in EH Work & Jobs
17
+
18
+ ## 8.128.0
19
+
20
+ ### Minor Changes
21
+
22
+ - [#5078](https://github.com/Thinkei/hero-design/pull/5078) [`69f51118368fcc4b49d1cc6f2fe1ed8deb882ea0`](https://github.com/Thinkei/hero-design/commit/69f51118368fcc4b49d1cc6f2fe1ed8deb882ea0) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Icon] Add `history-outlined` icon to web and mobile
23
+
24
+ ### Patch Changes
25
+
26
+ - [#5071](https://github.com/Thinkei/hero-design/pull/5071) [`d1c5aeb6b12e27c3e719158e53a77d56db6dbc0a`](https://github.com/Thinkei/hero-design/commit/d1c5aeb6b12e27c3e719158e53a77d56db6dbc0a) Thanks [@kristellegangano-debug](https://github.com/kristellegangano-debug)! - [UXT-8912] **Button:** reduce default button height and fix horizontal padding
27
+
28
+ - Default button height reduced from `scale(60)` to `scale(48)` to align with the compact/medium sizes.
29
+ - Changed `padding` to `paddingHorizontal` on filled, outline, and text button containers so vertical padding no longer inflates the button height.
30
+
31
+ - [#5074](https://github.com/Thinkei/hero-design/pull/5074) [`a9f1d5613fa357b2c4e3cfddd820a2a122a7e773`](https://github.com/Thinkei/hero-design/commit/a9f1d5613fa357b2c4e3cfddd820a2a122a7e773) Thanks [@kristellegangano-debug](https://github.com/kristellegangano-debug)! - [UXT-9001] [FilterTrigger] Align visual style to web
32
+
33
+ - Icon position moved before label text (was after)
34
+ - Active state backgrounds unified to `highlightedSurface` for all variants
35
+ - Outlined variant border changed from `medium` to `base`, color from `primaryOutline`/`secondaryOutline` to `primary`
36
+ - Label weight fixed to `small` (was `small-bold` when active)
37
+ - Icon intent fixed to `text` (was `inactive` when inactive)
38
+ - Badge intent set to `primary` (was unset)
39
+ - Filter icon SVG updated to match web version
40
+
41
+ - Updated dependencies []:
42
+ - @hero-design/react-native-month-year-picker@8.45.2
43
+
3
44
  ## 8.127.1
4
45
 
5
46
  ### Patch Changes
package/CLAUDE.md CHANGED
@@ -28,7 +28,7 @@ React Native component library for Hero Design. Built with TypeScript and emotio
28
28
  ## Commands
29
29
 
30
30
  ```bash
31
- yarn turbo run test --filter=@hero-design/rn -- -- ComponentName [--watch|--updateSnapshot]
31
+ yarn turbo run test --filter=@hero-design/rn -- ComponentName [--watch|--updateSnapshot]
32
32
  yarn workspace @hero-design/rn lint
33
33
  yarn workspace @hero-design/rn type-check
34
34
  yarn build:watch:rn
Binary file