diff --git a/packages/react-native-web-docs/src/pages/docs/components/view.md b/packages/react-native-web-docs/src/pages/docs/components/view.md index 01ed1fbbf..046390b4c 100644 --- a/packages/react-native-web-docs/src/pages/docs/components/view.md +++ b/packages/react-native-web-docs/src/pages/docs/components/view.md @@ -14,7 +14,7 @@ eleventyNavigation: The fundamental layout primitive. ::: -View uses a flexbox column layout by default. Every instance of `View` uses relative positioning by default and the `zIndex` can only be used to control the relative Z-axis stacking of siblings within their parent. +View uses a flexbox column layout by default. Every instance of `View` uses relative positioning by default. Raw text nodes are **not** allowed as children of View. A View nested within a Text will render inline without altering its display or that of its children. diff --git a/packages/react-native-web/src/exports/ActivityIndicator/__tests__/__snapshots__/index-test.js.snap b/packages/react-native-web/src/exports/ActivityIndicator/__tests__/__snapshots__/index-test.js.snap index 6e713a603..caa96b2bf 100644 --- a/packages/react-native-web/src/exports/ActivityIndicator/__tests__/__snapshots__/index-test.js.snap +++ b/packages/react-native-web/src/exports/ActivityIndicator/__tests__/__snapshots__/index-test.js.snap @@ -5,11 +5,11 @@ exports[`components/ActivityIndicator prop "accessibilityLabel" value is set 1`] aria-label="accessibility label" aria-valuemax="1" aria-valuemin="0" - class="css-view-g5y9jx r-alignItems-1awozwy r-justifyContent-1777fci" + class="css-view-1bh9chl r-alignItems-1awozwy r-justifyContent-1777fci" role="progressbar" >
{ [stylesheet-group="1"]{} .css-text-146c3p1{background-color:rgba(0,0,0,0.00);border:0 solid black;box-sizing:border-box;color:rgba(0,0,0,1.00);display:inline;font:14px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;list-style:none;margin:0px;padding:0px;position:relative;text-align:start;text-decoration:none;white-space:pre-wrap;word-wrap:break-word;} .css-textHasAncestor-1jxf684{background-color:rgba(0,0,0,0.00);border:0 solid black;box-sizing:border-box;color:inherit;display:inline;font:inherit;list-style:none;margin:0px;padding:0px;position:relative;text-align:inherit;text-decoration:none;white-space:inherit;word-wrap:break-word;} - .css-view-g5y9jx{align-content:flex-start;align-items:stretch;background-color:rgba(0,0,0,0.00);border:0 solid black;box-sizing:border-box;display:flex;flex-basis:auto;flex-direction:column;flex-shrink:0;list-style:none;margin:0px;min-height:0px;min-width:0px;padding:0px;position:relative;text-decoration:none;z-index:0;} + .css-view-1bh9chl{align-content:flex-start;align-items:stretch;background-color:rgba(0,0,0,0.00);border:0 solid black;box-sizing:border-box;display:flex;flex-basis:auto;flex-direction:column;flex-shrink:0;list-style:none;margin:0px;min-height:0px;min-width:0px;padding:0px;position:relative;text-decoration:none;z-index:auto;} [stylesheet-group="2"]{} .r-display-krxsd3{display:-webkit-box;} .r-display-xoduu5{display:inline-flex;} @@ -106,7 +106,7 @@ describe('AppRegistry', () => { [stylesheet-group="1"]{} .css-text-146c3p1{background-color:rgba(0,0,0,0.00);border:0 solid black;box-sizing:border-box;color:rgba(0,0,0,1.00);display:inline;font:14px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;list-style:none;margin:0px;padding:0px;position:relative;text-align:start;text-decoration:none;white-space:pre-wrap;word-wrap:break-word;} .css-textHasAncestor-1jxf684{background-color:rgba(0,0,0,0.00);border:0 solid black;box-sizing:border-box;color:inherit;display:inline;font:inherit;list-style:none;margin:0px;padding:0px;position:relative;text-align:inherit;text-decoration:none;white-space:inherit;word-wrap:break-word;} - .css-view-g5y9jx{align-content:flex-start;align-items:stretch;background-color:rgba(0,0,0,0.00);border:0 solid black;box-sizing:border-box;display:flex;flex-basis:auto;flex-direction:column;flex-shrink:0;list-style:none;margin:0px;min-height:0px;min-width:0px;padding:0px;position:relative;text-decoration:none;z-index:0;} + .css-view-1bh9chl{align-content:flex-start;align-items:stretch;background-color:rgba(0,0,0,0.00);border:0 solid black;box-sizing:border-box;display:flex;flex-basis:auto;flex-direction:column;flex-shrink:0;list-style:none;margin:0px;min-height:0px;min-width:0px;padding:0px;position:relative;text-decoration:none;z-index:auto;} [stylesheet-group="2"]{} .r-display-krxsd3{display:-webkit-box;} .r-display-xoduu5{display:inline-flex;} @@ -156,7 +156,7 @@ describe('AppRegistry', () => { [stylesheet-group="1"]{} .css-text-146c3p1{background-color:rgba(0,0,0,0.00);border:0 solid black;box-sizing:border-box;color:rgba(0,0,0,1.00);display:inline;font:14px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;list-style:none;margin:0px;padding:0px;position:relative;text-align:start;text-decoration:none;white-space:pre-wrap;word-wrap:break-word;} .css-textHasAncestor-1jxf684{background-color:rgba(0,0,0,0.00);border:0 solid black;box-sizing:border-box;color:inherit;display:inline;font:inherit;list-style:none;margin:0px;padding:0px;position:relative;text-align:inherit;text-decoration:none;white-space:inherit;word-wrap:break-word;} - .css-view-g5y9jx{align-content:flex-start;align-items:stretch;background-color:rgba(0,0,0,0.00);border:0 solid black;box-sizing:border-box;display:flex;flex-basis:auto;flex-direction:column;flex-shrink:0;list-style:none;margin:0px;min-height:0px;min-width:0px;padding:0px;position:relative;text-decoration:none;z-index:0;} + .css-view-1bh9chl{align-content:flex-start;align-items:stretch;background-color:rgba(0,0,0,0.00);border:0 solid black;box-sizing:border-box;display:flex;flex-basis:auto;flex-direction:column;flex-shrink:0;list-style:none;margin:0px;min-height:0px;min-width:0px;padding:0px;position:relative;text-decoration:none;z-index:auto;} [stylesheet-group="2"]{} .r-borderWidth-1bee2fs{border-bottom-width:1234px;border-left-width:1234px;border-right-width:1234px;border-top-width:1234px;} .r-display-krxsd3{display:-webkit-box;} diff --git a/packages/react-native-web/src/exports/CheckBox/__tests__/__snapshots__/index-test.js.snap b/packages/react-native-web/src/exports/CheckBox/__tests__/__snapshots__/index-test.js.snap index 0ff35570c..781b5bf99 100644 --- a/packages/react-native-web/src/exports/CheckBox/__tests__/__snapshots__/index-test.js.snap +++ b/packages/react-native-web/src/exports/CheckBox/__tests__/__snapshots__/index-test.js.snap @@ -3,10 +3,10 @@ exports[`CheckBox prop "accessibilityLabel" value is set 1`] = `
`; exports[`components/Image prop "nativeID" 1`] = `
`; exports[`components/Image prop "resizeMode" value "contain" 1`] = `
`; exports[`components/Image prop "resizeMode" value "cover" 1`] = `
`; exports[`components/Image prop "resizeMode" value "none" 1`] = `
`; exports[`components/Image prop "resizeMode" value "repeat" 1`] = `
`; exports[`components/Image prop "resizeMode" value "stretch" 1`] = `
`; exports[`components/Image prop "resizeMode" value "undefined" 1`] = `
`; exports[`components/Image prop "source" is correctly updated only when loaded if defaultSource provided 1`] = `
@@ -364,32 +364,32 @@ exports[`components/Image prop "style" supports "shadow" properties (converts to exports[`components/Image prop "style" supports static and dynamic styles 1`] = `
`; exports[`components/Image prop "testID" 1`] = `
`; exports[`components/Image prop "tintColor" convert to filter 1`] = `
`; diff --git a/packages/react-native-web/src/exports/Pressable/__tests__/__snapshots__/index-test.js.snap b/packages/react-native-web/src/exports/Pressable/__tests__/__snapshots__/index-test.js.snap index 683a938cd..10bba768e 100644 --- a/packages/react-native-web/src/exports/Pressable/__tests__/__snapshots__/index-test.js.snap +++ b/packages/react-native-web/src/exports/Pressable/__tests__/__snapshots__/index-test.js.snap @@ -2,21 +2,21 @@ exports[`components/Pressable default 1`] = `
`; exports[`components/Pressable focus interaction 1`] = `
`; exports[`components/Pressable focus interaction 2`] = `
@@ -28,7 +28,7 @@ exports[`components/Pressable focus interaction 2`] = ` exports[`components/Pressable focus interaction 3`] = `
@@ -36,14 +36,14 @@ exports[`components/Pressable focus interaction 3`] = ` exports[`components/Pressable hover interaction 1`] = `
`; exports[`components/Pressable hover interaction 2`] = `
@@ -55,7 +55,7 @@ exports[`components/Pressable hover interaction 2`] = ` exports[`components/Pressable hover interaction 3`] = `
@@ -63,14 +63,14 @@ exports[`components/Pressable hover interaction 3`] = ` exports[`components/Pressable press interaction (keyboard) trigger press when keyup is on the same element 1`] = `
`; exports[`components/Pressable press interaction (keyboard) trigger press when keyup is on the same element 2`] = `
@@ -84,14 +84,14 @@ exports[`components/Pressable press interaction (keyboard) trigger press when ke exports[`components/Pressable press interaction (pointer) 1`] = `
`; exports[`components/Pressable press interaction (pointer) 2`] = `
@@ -103,7 +103,7 @@ exports[`components/Pressable press interaction (pointer) 2`] = ` exports[`components/Pressable press interaction (pointer) 3`] = `
@@ -112,7 +112,7 @@ exports[`components/Pressable press interaction (pointer) 3`] = ` exports[`components/Pressable prop "accessibilityLabel" value is set 1`] = `
`; @@ -120,14 +120,14 @@ exports[`components/Pressable prop "accessibilityLabel" value is set 1`] = ` exports[`components/Pressable prop "accessibilityLiveRegion" value is set 1`] = `
`; exports[`components/Pressable prop "accessibilityRole" value alters HTML element 1`] = `
@@ -135,7 +135,7 @@ exports[`components/Pressable prop "accessibilityRole" value alters HTML element exports[`components/Pressable prop "accessibilityRole" value is "button" 1`] = `