Commit Graph

89 Commits

Author SHA1 Message Date
Nicolas Gallagher 3326aab292 Update copyright headers 2022-03-22 10:07:02 -07:00
Nicolas Gallagher da1a75a7f4 [change] Refactor localization APIs
* Control writing direction using 'dir' and 'lang' props.
* Change the compiler output for RTL styles polyfill.
* Export 'useLocaleContext' for working with writing direction context.
* Turn I18nManager into a mock API
2022-03-22 09:44:08 -07:00
Nicolas Gallagher 5cab098dd4 Update localization docs and examples 2022-03-02 10:50:05 -08:00
Nicolas Gallagher 314d78c0cc Update packages and benchmarks
Remove libraries from benchmarks as comparison to css-modules baseline is what
matters. This makes benchmark builds faster and will reduce how often people
open PRs asking for their library to be included.

Close #2210
2022-03-02 10:50:05 -08:00
Nicolas Gallagher dc9ecfbc84 0.17.7 2022-03-01 13:22:24 -08:00
Nicolas Gallagher 8cc79ea8d0 [fix] TextInput numberOfLines for text with line breaks
Reverts the change made for #2058, which is considered an avoidable
edge-case.

Fix #2243
2022-03-01 13:21:17 -08:00
David Rieman 9ffda21659 Add FlatList examples
Close #2229
2022-03-01 12:10:09 -08:00
David Rieman aaa58d7d75 Add SectionList example page
Close #2240
2022-03-01 12:09:17 -08:00
Nicolas Gallagher da80ede2dc 0.17.6 2022-02-18 10:31:11 -08:00
meenu 944b45cd0b [fix] Switch support for custom colors when disabled
Close #2164
Fix #1758
2022-02-17 14:47:36 -08:00
Nicolas Gallagher 081a128db3 0.17.5 2021-09-29 10:34:06 -07:00
Nicolas Gallagher 798d34e192 0.17.4 2021-09-29 10:24:51 -07:00
Nicolas Gallagher 36681c4f54 0.17.3 2021-09-29 10:12:10 -07:00
Chris Zelenak 126642783b [fix] AppState addEventListener returns subscription object
Close #2129
2021-09-29 10:09:36 -07:00
Cloud Le 4aba2bdcf4 [fix] Dimensions addEventListener returns subscription object
Fix #2130
Close #2131
2021-09-29 10:06:58 -07:00
Nicolas Gallagher 68e878be8f 0.17.2 2021-09-28 11:41:39 -07:00
dependabot[bot] ea3975d357 Bump next from 10.0.6 to 11.1.1
Bumps [next](https://github.com/vercel/next.js) from 10.0.6 to 11.1.1.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v10.0.6...v11.1.1)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-28 18:03:33 +00:00
Nicolas Gallagher 39ee95b4a4 0.17.1 2021-06-23 10:45:51 -07:00
Nicolas Gallagher b2eb3ca03f 0.17.0 2021-06-17 09:45:30 -07:00
Evan Charlton ab98851881 [fix] Text preserves white-space if numberOfLines={1}
Preserve meaningful white-space when `numberOfLines={1}` by using the `pre`
value instead of `nowrap`.

Source: https://developer.mozilla.org/en-US/docs/Web/CSS/white-space

Close #2058
2021-06-17 09:39:28 -07:00
Nicolas Gallagher 6de619563c 0.16.5 2021-06-08 16:43:36 -07:00
Nicolas Gallagher 697479e2cd [fix] TextInput calls onFocus if autoFocus={true}
The host node ref is not a dependency of the focus handling. Previously, the
focus callback was not called if the element was auto-focused, because  React
DOM calls `onFocus` while the object ref is `null`.

Fix #2045
2021-06-08 15:58:16 -07:00
Nicolas Gallagher 3fc7634819 0.16.4 2021-06-08 15:13:05 -07:00
Nicolas Gallagher 855d5340c3 0.16.3 2021-05-13 14:33:24 -07:00
Nicolas Gallagher c9eb794790 0.16.2 2021-05-03 10:09:58 -07:00
wishawa d8f60b4824 Fix one of the Linking code examples
Close #1996
2021-04-23 16:39:58 -07:00
Nicolas Gallagher 8362f3907f 0.16.1 2021-04-23 11:09:26 -07:00
Nicolas Gallagher 2d9dca42fa 0.16.0 2021-04-20 12:19:56 -07:00
Nicolas Gallagher 9d6d39f2c7 0.15.7 2021-04-13 12:42:07 -07:00
Nicolas Gallagher 6bfd80cc56 0.15.6 2021-04-06 17:17:15 -07:00
Nicolas Gallagher 6fa5353457 0.15.5 2021-03-30 19:09:29 -07:00
Nicolas Gallagher fc4cc216a1 0.15.4 2021-03-30 15:13:19 -07:00
Nicolas Gallagher 0ac406c91e 0.15.3 2021-03-29 13:50:09 -07:00
Nicolas Gallagher 09fbe85d10 [fix] Pressable supports onKeyDown prop
Fix #1950
Close #1951
2021-03-29 13:33:55 -07:00
Nicolas Gallagher 833d55bae4 0.15.2 2021-03-29 11:27:28 -07:00
Nicolas Gallagher 457d406714 0.15.1 2021-03-26 14:17:05 -07:00
Nicolas Gallagher c6be829fb1 Various documentation fixes
Fix #1948
Close #1906
Close #1918
Close #1922
Close #1956
Close #1960

Co-authored-by: Nishan <nishanbende@gmail.com>
Co-authored-by: Michel Couillard <mcouillard@hortau.com>
Co-authored-by: David Calhoun <dpcalhoun@gmail.com>
Co-authored-by: burakgormek <burak.gormek@gmail.com>
Co-authored-by: Evan Charlton <evancharlton@microsoft.com>
2021-03-25 12:51:05 -07:00
Nicolas Gallagher c47bec7b93 0.15.0 2021-02-12 10:54:39 -08:00
Nicolas Gallagher 51f9ab73e4 Fix accessibility props forwarding
Reintroduce 'accessible' and deprecate.
2021-02-11 15:02:27 -08:00
Nicolas Gallagher a5d6cd51ef Update prettier and reformat code 2021-02-11 14:58:05 -08:00
Nicolas Gallagher 2471561962 Update Babel dependencies 2021-02-11 14:53:10 -08:00
Nicolas Gallagher 7b0365272c New documentation site and examples app
Replaces the old storybook with static HTML documentation and an interactive
examples app. The documentation is now easier to customize, easier to maintain,
and faster to load. The interactive examples are a dedicated Next.js app that
can be loaded and edited in codesandbox, as well as embedded in the
documentation where needed.
2021-02-11 14:53:04 -08:00
Nicolas Gallagher 297cda7901 Rewrite interactive documentation
Consolidate all docs within the latest storybook

Ref #1172
2019-11-12 15:19:48 -08:00
Nicolas Gallagher e810f1fd2b 0.11.7 2019-08-16 13:15:07 -07:00
Nicolas Gallagher 1cce9a1668 0.11.6 2019-08-09 11:51:16 -07:00
Nicolas Gallagher 45f94eb43d 0.11.5 2019-07-02 14:06:34 -07:00
Nicolas Gallagher 5092be40ac Fix RNTester Image examples
The 'resizeMode' static no longer exists.

Fix #1360
Close #1387
2019-07-02 13:23:44 -07:00
Nicolas Gallagher 33dc3cb018 0.11.4 2019-05-21 14:17:21 -07:00
Nicolas Gallagher cddc2e346b 0.11.3 2019-05-21 12:21:08 -07:00
Nicolas Gallagher 801937748b 0.11.2 2019-03-22 10:02:44 -07:00