@boostdev/design-system-react-native 0.5.0 → 0.5.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 (25) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/index.cjs +572 -534
  3. package/dist/index.js +464 -426
  4. package/package.json +1 -1
  5. package/src/components/interaction/Button/Button.mdx +5 -1
  6. package/src/components/interaction/Button/Button.spec.tsx +23 -0
  7. package/src/components/interaction/Button/Button.tsx +7 -6
  8. package/src/components/interaction/form/Combobox/Combobox.spec.tsx +9 -0
  9. package/src/components/interaction/form/Combobox/Combobox.tsx +2 -2
  10. package/src/components/interaction/form/FileInput/FileInput.spec.tsx +6 -0
  11. package/src/components/interaction/form/FileInput/FileInput.tsx +1 -1
  12. package/src/components/interaction/form/FormInput/FormInput.spec.tsx +7 -0
  13. package/src/components/interaction/form/FormInput/FormInput.tsx +2 -2
  14. package/src/components/interaction/form/NumberInput/NumberInput.spec.tsx +8 -0
  15. package/src/components/interaction/form/NumberInput/NumberInput.tsx +4 -4
  16. package/src/components/interaction/form/Select/Select.mdx +2 -1
  17. package/src/components/interaction/form/Select/Select.spec.tsx +22 -1
  18. package/src/components/interaction/form/Select/Select.tsx +7 -6
  19. package/src/components/interaction/form/Textarea/Textarea.spec.tsx +6 -0
  20. package/src/components/interaction/form/Textarea/Textarea.tsx +1 -1
  21. package/src/components/ui/Collapsible/Collapsible.spec.tsx +1 -1
  22. package/src/components/ui/Collapsible/Collapsible.tsx +5 -10
  23. package/src/native/Chevron.spec.tsx +34 -0
  24. package/src/native/Chevron.tsx +50 -0
  25. package/src/test/cornerRadii.ts +15 -0
package/CHANGELOG.md CHANGED
@@ -1,6 +1,44 @@
1
1
  # Changelog
2
2
 
3
3
  All notable changes to `@boostdev/design-system-react-native` are documented here.
4
+ ## [0.5.1] - 2026-09-28
5
+ ### Fixed
6
+ - Fix(button): text buttons get medium corners
7
+
8
+ A button with a text label now uses border.radius.m (16) on every
9
+ size instead of border.radius.full. An icon-only button (isIconOnly)
10
+ stays round. A borderRadius in `style` still wins, since `style` is
11
+ applied last.
12
+
13
+ Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> ([`085e779`](https://gitlab.com/b00stdev/boostdev-design-system-react-native/-/commit/085e77953480a1724df35b716c4f8dcf23ed14a3))
14
+ - Fix(form): fields get the same medium corners as buttons
15
+
16
+ FormInput, Combobox, Select and NumberInput went from a pill
17
+ (border.radius.full) to border.radius.m (16). Textarea (xs) and the
18
+ FileInput drop zone (s) move to m as well, so every field matches.
19
+ NumberInput rounds only its outer corners, on the steppers.
20
+
21
+ FormInput and Combobox draw the border on an inner View, so a
22
+ consumer could not override the radius through `style`.
23
+
24
+ Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> ([`70f88f9`](https://gitlab.com/b00stdev/boostdev-design-system-react-native/-/commit/70f88f9d44e9c6552330eeaadb8e0c3e9f056a6c))
25
+ - Fix(select): a chevron replaces the ▾ glyph
26
+
27
+ The trigger drew its indicator as a ▾ character in the body font, so
28
+ it rendered small and its size and weight differed per platform and
29
+ font. It is now a thin open V in colorOnBgSubtle, drawn with borders
30
+ like Collapsible's disclosure chevron, sized to the body text and
31
+ centred on it. It stays hidden from assistive technology and the
32
+ trigger's accessibility label is unchanged.
33
+
34
+ Collapsible's chevron moves into one internal Chevron that both use,
35
+ so Collapsible changes a little too: its stroke goes from 2 to 1.5 pt
36
+ to match regular body text, and the V is centred on its box whichever
37
+ way it points. The old Collapsible stroke assertion passed a number to
38
+ toHaveStyle, which matched anything; it now checks '1.5px'.
39
+
40
+ Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> ([`ecf0dc0`](https://gitlab.com/b00stdev/boostdev-design-system-react-native/-/commit/ecf0dc0f43980128dd3e49a86d313dd4ab932cde))
41
+
4
42
  ## [0.5.0] - 2026-09-27
5
43
  ### Added
6
44
  - Feat(text): ScaledText with a ceiling from its own font size