@tamagui/alert-dialog 1.20.3 → 1.20.4
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.
- package/package.json +17 -17
- package/src/AlertDialog.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/alert-dialog",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.4",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"types": "./types/index.d.ts",
|
|
6
6
|
"main": "dist/cjs",
|
|
@@ -29,28 +29,28 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@tamagui/animate-presence": "1.20.
|
|
33
|
-
"@tamagui/aria-hidden": "1.20.
|
|
34
|
-
"@tamagui/compose-refs": "1.20.
|
|
35
|
-
"@tamagui/core": "1.20.
|
|
36
|
-
"@tamagui/create-context": "1.20.
|
|
37
|
-
"@tamagui/dialog": "1.20.
|
|
38
|
-
"@tamagui/dismissable": "1.20.
|
|
39
|
-
"@tamagui/focus-scope": "1.20.
|
|
40
|
-
"@tamagui/polyfill-dev": "1.20.
|
|
41
|
-
"@tamagui/popper": "1.20.
|
|
42
|
-
"@tamagui/portal": "1.20.
|
|
43
|
-
"@tamagui/remove-scroll": "1.20.
|
|
44
|
-
"@tamagui/stacks": "1.20.
|
|
45
|
-
"@tamagui/text": "1.20.
|
|
46
|
-
"@tamagui/use-controllable-state": "1.20.
|
|
32
|
+
"@tamagui/animate-presence": "1.20.4",
|
|
33
|
+
"@tamagui/aria-hidden": "1.20.4",
|
|
34
|
+
"@tamagui/compose-refs": "1.20.4",
|
|
35
|
+
"@tamagui/core": "1.20.4",
|
|
36
|
+
"@tamagui/create-context": "1.20.4",
|
|
37
|
+
"@tamagui/dialog": "1.20.4",
|
|
38
|
+
"@tamagui/dismissable": "1.20.4",
|
|
39
|
+
"@tamagui/focus-scope": "1.20.4",
|
|
40
|
+
"@tamagui/polyfill-dev": "1.20.4",
|
|
41
|
+
"@tamagui/popper": "1.20.4",
|
|
42
|
+
"@tamagui/portal": "1.20.4",
|
|
43
|
+
"@tamagui/remove-scroll": "1.20.4",
|
|
44
|
+
"@tamagui/stacks": "1.20.4",
|
|
45
|
+
"@tamagui/text": "1.20.4",
|
|
46
|
+
"@tamagui/use-controllable-state": "1.20.4"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"react": "*",
|
|
50
50
|
"react-native": "*"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@tamagui/build": "1.20.
|
|
53
|
+
"@tamagui/build": "1.20.4",
|
|
54
54
|
"react": "^18.2.0",
|
|
55
55
|
"react-native": "^0.71.4"
|
|
56
56
|
},
|
package/src/AlertDialog.tsx
CHANGED
|
@@ -290,7 +290,7 @@ const DescriptionWarning: React.FC<DescriptionWarningProps> = ({ contentRef }) =
|
|
|
290
290
|
contentRef.current?.getAttribute('aria-describedby')!
|
|
291
291
|
)
|
|
292
292
|
if (!hasDescription) {
|
|
293
|
-
//
|
|
293
|
+
// rome-ignore lint/nursery/noConsoleLog: ok
|
|
294
294
|
console.warn(`\`${CONTENT_NAME}\` requires a description for the component to be accessible for screen reader users.
|
|
295
295
|
|
|
296
296
|
You can add a description to the \`${CONTENT_NAME}\` by passing a \`${DESCRIPTION_NAME}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|