Nicolas Gallagher
5ec261f31e
wip
2021-10-22 19:00:27 -07:00
Nicolas Gallagher
e92a1ce768
Add failing tests for Image
2021-09-30 12:34:31 -07:00
Nicolas Gallagher
7017d662ac
[change] Image: improve tintColor style implementation
...
The `tintColor` style is now implemented by passing an inline SVG color matrix
as the CSS `filter`. This avoids the need to render SVG elements to the DOM and
avoids the need to manage unique IDs.
Still no support in Safari; lacks support for inline SVG filters.
Close #1914
2021-09-30 12:34:00 -07:00
Nicolas Gallagher
081a128db3
0.17.5
0.17.5
2021-09-29 10:34:06 -07:00
Chris Green
d05fa342d0
Add failing test for style resolving behavior
...
Less specific shorthand style properties are being applied instead of the more
specific styles if there is another element also with one of the more specific
styles. This is due to the common styles being pulled out as class names for
de-duplication.
Ref #2007
Close #2010
2021-09-29 10:31:00 -07:00
Nicolas Gallagher
04fbf5e5ce
[fix] Animated no longer sets non-unique IDs on elements
...
Remove problematic code added only for native platforms using Fabric.
Fix #2136
2021-09-29 10:27:15 -07:00
Nicolas Gallagher
798d34e192
0.17.4
0.17.4
2021-09-29 10:24:51 -07:00
Nicolas Gallagher
8999188b5d
[fix] Pressable disabled focus behavior
...
Fix #2127
2021-09-29 10:19:26 -07:00
Nicolas Gallagher
36681c4f54
0.17.3
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
0.17.2
2021-09-28 11:41:39 -07:00
Warr1611
192472b226
Add document about use PanResponder on elements with text content
...
Close #2123
2021-09-28 11:39:21 -07:00
sawa-zen
aeae9dd184
Update documentation styling example
...
Close #2137
2021-09-28 11:35:18 -07:00
Janic Duplessis
562db69a0f
[fix] numberOfLines=1 on Safari
...
Safari requires use of `white-space:nowrap` if not using the multi-line
technique. This patch uses the multi-lines styles to truncate single-lines.
Fix #2111
Close #2113
2021-09-28 11:19:33 -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
dependabot[bot]
b80b06da0d
Bump path-parse from 1.0.6 to 1.0.7
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-28 11:03:02 -07:00
dependabot[bot]
38530ff46a
Bump prismjs from 1.24.0 to 1.25.0
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.24.0...v1.25.0 )
---
updated-dependencies:
- dependency-name: prismjs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-28 11:02:50 -07:00
dependabot[bot]
ec7cf83308
Bump tmpl from 1.0.4 to 1.0.5
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-28 11:02:31 -07:00
dependabot[bot]
f21b8f4408
Bump semver-regex from 3.1.2 to 3.1.3
...
Bumps [semver-regex](https://github.com/sindresorhus/semver-regex ) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/sindresorhus/semver-regex/releases )
- [Commits](https://github.com/sindresorhus/semver-regex/commits )
---
updated-dependencies:
- dependency-name: semver-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-28 11:02:25 -07:00
dependabot[bot]
815709fb78
Bump nth-check from 2.0.0 to 2.0.1
...
Bumps [nth-check](https://github.com/fb55/nth-check ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/fb55/nth-check/releases )
- [Commits](https://github.com/fb55/nth-check/compare/v2.0.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: nth-check
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-28 11:02:02 -07:00
Imad Bouziani
a6c976416b
Fix examples link in README
2021-07-20 10:35:14 -07:00
dependabot[bot]
98dcefd904
Bump prismjs from 1.23.0 to 1.24.0
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.23.0...v1.24.0 )
---
updated-dependencies:
- dependency-name: prismjs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-07-01 08:52:33 -07:00
dependabot[bot]
13f7b9e2f4
Bump color-string from 1.5.4 to 1.5.5
...
Bumps [color-string](https://github.com/Qix-/color-string ) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/Qix-/color-string/releases )
- [Changelog](https://github.com/Qix-/color-string/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Qix-/color-string/compare/1.5.4...1.5.5 )
---
updated-dependencies:
- dependency-name: color-string
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-23 10:48:27 -07:00
dependabot[bot]
a5be8bdcd7
Bump y18n from 4.0.0 to 4.0.3
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3 )
---
updated-dependencies:
- dependency-name: y18n
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-23 10:48:01 -07:00
Nicolas Gallagher
39ee95b4a4
0.17.1
0.17.1
2021-06-23 10:45:51 -07:00
Andrew Hayward
ba3c728f2c
[fix] Image does not set persistent click handler
...
Only set the click handler if it is needed. This was previously always set,
which caused screen readers to announce the element as "clickable".
Close #2061
2021-06-23 10:42:05 -07:00
Nicolas Gallagher
b2eb3ca03f
0.17.0
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
d48f630600
[fix] ProgressBar & Switch for High Contrast mode
...
Prevent these controls from becoming invisible in Windows High Contrast mode by
disabling forced color adjustment for these elements.
Fix #1606
2021-06-14 12:41:09 -07:00
Nicolas Gallagher
2a930b7e3f
[fix] Change logic of PressResponder for keyboards
...
This patch removes the keyboard `onClick` shim from `unstable_createElement`
and adds it to the `PressResponder`.
Previously, the logic in `createElement` was calling `onClick` during
`onKeyDown`. This could result in React state update warnings if the host
element was no longer in the DOM during `keyup`.
Fix #2051
2021-06-14 10:25:20 -07:00
Nicolas Gallagher
6d7a1eaf0e
[change] Remove createElement host type inference for 'href'
...
Elements other than 'a' support the 'href' attribute, so the element type
should not be inferred from 'href'. Longer term no host element type inference
should be performed by 'createElement'.
Fix #1958
2021-06-08 16:45:20 -07:00
Nicolas Gallagher
7775b3ab19
[change] Remove special treatment of accessibilityRole="menuitem"
...
This role is not meant to be in the tab flow unless the element type demands
it. Users will now have to manage `onClick` and `onKeyDown` callbacks to apply
the desired interaction behavior.
Fix #1968
2021-06-08 16:45:20 -07:00
Nicolas Gallagher
22f3d142c6
[fix] Remove CSS reset for number spin buttons
...
The TextInput element no longer uses the 'number' input type, so this reset is
no longer necessary. Furthermore, the reset potentially impacts non-framework
components.
Fix #1949
2021-06-08 16:45:20 -07:00
Nicolas Gallagher
6de619563c
0.16.5
0.16.5
2021-06-08 16:43:36 -07:00
aryo
a7fabe4500
[fix] ScrollView forwards style when 'refreshControl' prop is present
...
Fix #2024
2021-06-08 16:28:23 -07:00
Nicolas Gallagher
a968c0ce66
TextInput: event handlers get hostNode from event not ref
...
Avoid the event handlers depending on a React ref when the hostNode can be
found on the event object.
2021-06-08 16:12:20 -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
0.16.4
2021-06-08 15:13:05 -07:00
Nicolas Gallagher
146426dc27
[fix] Allow focusable={false} to set tabIndex="-1"
...
Close #2046
2021-06-08 13:38:46 -07:00
Petr Bela
3a0cc734cb
[fix] Convert 'aspectRatio' style value to string
...
The RN value is a number and the CSS value must be a string.
Close #2038
2021-06-08 13:10:24 -07:00
Satyajit Sahoo
17d8b12299
Update docs example of webpack url-loader
...
Latest versions of `url-loader` default `esModule: true` which outputs a module
object with `default` property for asset imports. This behaviour is different
from Metro which doesn't do that.
This breaks compatibility with a lot of React Native libraries since it's
common to do an inline `require` for assets., so it'd work for Metro, but break
with url-loader.
Close #2040
2021-06-08 13:04:21 -07:00
dependabot[bot]
72e7f46ae4
Bump trim-newlines from 3.0.0 to 3.0.1
...
Bumps [trim-newlines](https://github.com/sindresorhus/trim-newlines ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sindresorhus/trim-newlines/releases )
- [Commits](https://github.com/sindresorhus/trim-newlines/commits )
---
updated-dependencies:
- dependency-name: trim-newlines
dependency-type: indirect
...
Close #2048
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-08 13:02:33 -07:00
Nicolas Gallagher
6bf2443433
[fix] Remove unused dependencies
...
Fix #2020
2021-06-08 13:00:53 -07:00
Bhanu Teja Allaparthi
968b3e90a1
[fix] Avoid retaining DOM nodes in Touchable
...
Explicitly clear the DOM nodes to prevent memory leaks.
Fix #2039
Close #2047
2021-06-08 11:47:18 -07:00
Nicolas Gallagher
5b7b974224
[fix] Avoid retaining DOM nodes in PressResponder
2021-06-08 11:43:59 -07:00
dependabot[bot]
e1aa5378e1
Bump hosted-git-info from 2.7.1 to 2.8.9
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.7.1 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-13 14:51:09 -07:00
dependabot[bot]
5e607f8ee1
Bump handlebars from 4.7.6 to 4.7.7
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-13 14:50:58 -07:00
dependabot[bot]
eea9034f04
Bump ua-parser-js from 0.7.19 to 0.7.28
...
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js ) from 0.7.19 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases )
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.19...0.7.28 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-13 14:50:47 -07:00
Nicolas Gallagher
855d5340c3
0.16.3
0.16.3
2021-05-13 14:33:24 -07:00