Skip to content

Commit a822ad1

Browse files
committed
Merge remote-tracking branch 'upstream/main' into production
2 parents bf96faf + a263a3b commit a822ad1

2 files changed

Lines changed: 14 additions & 13 deletions

File tree

docs/pressable.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ If true, doesn't play Android system sound on press.
122122

123123
### `android_ripple` <div className="label android">Android</div>
124124

125-
Enables the Android ripple effect and configures its properties.
125+
Enables the Android ripple effect and configures its properties. The `color` field accepts both plain colors and [`PlatformColor`](platformcolor) values, so you can reference theme attributes like `?attr/colorAccent`. When a `PlatformColor` is used, the ripple is automatically updated when the system configuration changes (for example, when switching between light and dark mode).
126126

127127
| Type |
128128
| -------------------------------------- |
@@ -260,9 +260,10 @@ Ripple effect configuration for the `android_ripple` property.
260260

261261
**Properties:**
262262

263-
| Name | Type | Required | Description |
264-
| ---------- | --------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
265-
| color | [color](colors) | No | Defines the color of the ripple effect. |
266-
| borderless | boolean | No | Defines if ripple effect should not include border. |
267-
| radius | number | No | Defines the radius of the ripple effect. |
268-
| foreground | boolean | No | Set to true to add the ripple effect to the foreground of the view, instead of the background. This is useful if one of your child views has a background of its own, or you're e.g. displaying images, and you don't want the ripple to be covered by them. |
263+
| Name | Type | Required | Description |
264+
| ---------- | ------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
265+
| color | [color](colors) or [PlatformColor](platformcolor) | No | Defines the color of the ripple effect. |
266+
| borderless | boolean | No | Defines if ripple effect should not include border. |
267+
| radius | number | No | Defines the radius of the ripple effect. |
268+
| foreground | boolean | No | Set to true to add the ripple effect to the foreground of the view, instead of the background. This is useful if one of your child views has a background of its own, or you're e.g. displaying images, and you don't want the ripple to be covered by them. |
269+
| alpha | number | No | Controls the opacity of the ripple. Accepts a value between `0.0` (fully transparent) and `1.0` (fully opaque). The value is applied on top of any alpha already present in the color. |

yarn.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17104,9 +17104,9 @@ webpack-dev-middleware@^7.4.2:
1710417104
schema-utils "^4.0.0"
1710517105

1710617106
webpack-dev-server@^5.2.2:
17107-
version "5.2.3"
17108-
resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-5.2.3.tgz#7f36a78be7ac88833fd87757edee31469a9e47d3"
17109-
integrity sha512-9Gyu2F7+bg4Vv+pjbovuYDhHX+mqdqITykfzdM9UyKqKHlsE5aAjRhR+oOEfXW5vBeu8tarzlJFIZva4ZjAdrQ==
17107+
version "5.2.4"
17108+
resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-5.2.4.tgz#6e6306ce59848ed322c235e48b326632b1eed6d6"
17109+
integrity sha512-GqDPGZN9bRqKBTkp4aWkobDDHMsrXKoGSdOH56smIri8qR0JG8gfL8/v/f/OZR3/OKXjG8uwJbFVhKm/FNU/UA==
1711017110
dependencies:
1711117111
"@types/bonjour" "^3.5.13"
1711217112
"@types/connect-history-api-fallback" "^1.5.4"
@@ -17531,9 +17531,9 @@ ws@^7, ws@^7.3.1, ws@^7.5.10:
1753117531
integrity sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==
1753217532

1753317533
ws@^8.18.0:
17534-
version "8.20.0"
17535-
resolved "https://registry.yarnpkg.com/ws/-/ws-8.20.0.tgz#4cd9532358eba60bc863aad1623dfb045a4d4af8"
17536-
integrity sha512-sAt8BhgNbzCtgGbt2OxmpuryO63ZoDk/sqaB/znQm94T4fCEsy/yV+7CdC1kJhOU9lboAEU7R3kquuycDoibVA==
17534+
version "8.20.1"
17535+
resolved "https://registry.yarnpkg.com/ws/-/ws-8.20.1.tgz#91a9ae2b312ccf98e0a85ec499b48cef45ab0ddb"
17536+
integrity sha512-It4dO0K5v//JtTXuPkfEOaI3uUN87iYPnqo/ZzqCoG3g8uhA66QUMs/SrM0YK7/NAu+r4LMh/9dq2A7k+rHs+w==
1753717537

1753817538
wsl-utils@^0.1.0:
1753917539
version "0.1.0"

0 commit comments

Comments
 (0)