Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/__tests__/BottomNavigation.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ describe('getActiveTintColor', () => {
it.each`
activeColor | defaultColor | useV3 | expected
${'#FBF7DB'} | ${'#fff'} | ${true} | ${'#FBF7DB'}
${undefined} | ${'#fff'} | ${true} | ${MD3Colors.secondary10}
${undefined} | ${'#fff'} | ${true} | ${MD3Colors.secondary30}
${undefined} | ${'#fff'} | ${false} | ${'#fff'}
`(
'returns $expected when activeColor: $activeColor and useV3: $useV3',
Expand Down
12 changes: 6 additions & 6 deletions src/components/__tests__/__snapshots__/AnimatedFAB.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ exports[`renders animated fab 1`] = `
style={
[
{
"color": "rgba(33, 0, 93, 1)",
"color": "rgba(79, 55, 139, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -260,7 +260,7 @@ exports[`renders animated fab 1`] = `
onTextLayout={[Function]}
style={
{
"color": "rgba(33, 0, 93, 1)",
"color": "rgba(79, 55, 139, 1)",
"fontFamily": "System",
"fontSize": 14,
"fontWeight": "500",
Expand Down Expand Up @@ -515,7 +515,7 @@ exports[`renders animated fab with label on the left 1`] = `
style={
[
{
"color": "rgba(33, 0, 93, 1)",
"color": "rgba(79, 55, 139, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -547,7 +547,7 @@ exports[`renders animated fab with label on the left 1`] = `
onTextLayout={[Function]}
style={
{
"color": "rgba(33, 0, 93, 1)",
"color": "rgba(79, 55, 139, 1)",
"fontFamily": "System",
"fontSize": 14,
"fontWeight": "500",
Expand Down Expand Up @@ -804,7 +804,7 @@ exports[`renders animated fab with label on the right by default 1`] = `
style={
[
{
"color": "rgba(33, 0, 93, 1)",
"color": "rgba(79, 55, 139, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -836,7 +836,7 @@ exports[`renders animated fab with label on the right by default 1`] = `
onTextLayout={[Function]}
style={
{
"color": "rgba(33, 0, 93, 1)",
"color": "rgba(79, 55, 139, 1)",
"fontFamily": "System",
"fontSize": 14,
"fontWeight": "500",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ exports[`hides labels in non-shifting bottom navigation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -1102,7 +1102,7 @@ exports[`hides labels in non-shifting bottom navigation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -1296,7 +1296,7 @@ exports[`hides labels in non-shifting bottom navigation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -1649,7 +1649,7 @@ exports[`hides labels in shifting bottom navigation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -1843,7 +1843,7 @@ exports[`hides labels in shifting bottom navigation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -2037,7 +2037,7 @@ exports[`hides labels in shifting bottom navigation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -2521,7 +2521,7 @@ exports[`renders bottom navigation with getLazy 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -2835,7 +2835,7 @@ exports[`renders bottom navigation with getLazy 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -3149,7 +3149,7 @@ exports[`renders bottom navigation with getLazy 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -3463,7 +3463,7 @@ exports[`renders bottom navigation with getLazy 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -3777,7 +3777,7 @@ exports[`renders bottom navigation with getLazy 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -4255,7 +4255,7 @@ exports[`renders bottom navigation with scene animation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -4518,7 +4518,7 @@ exports[`renders bottom navigation with scene animation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -4781,7 +4781,7 @@ exports[`renders bottom navigation with scene animation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -5044,7 +5044,7 @@ exports[`renders bottom navigation with scene animation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -5307,7 +5307,7 @@ exports[`renders bottom navigation with scene animation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -9469,7 +9469,7 @@ exports[`renders non-shifting bottom navigation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -9783,7 +9783,7 @@ exports[`renders non-shifting bottom navigation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -10097,7 +10097,7 @@ exports[`renders non-shifting bottom navigation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -10575,7 +10575,7 @@ exports[`renders shifting bottom navigation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -10838,7 +10838,7 @@ exports[`renders shifting bottom navigation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -11101,7 +11101,7 @@ exports[`renders shifting bottom navigation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -11364,7 +11364,7 @@ exports[`renders shifting bottom navigation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -11627,7 +11627,7 @@ exports[`renders shifting bottom navigation 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down
16 changes: 8 additions & 8 deletions src/components/__tests__/__snapshots__/Chip.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ exports[`renders chip with close button 1`] = `
"textAlignVertical": "center",
},
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontFamily": "System",
"fontSize": 14,
"fontWeight": "500",
Expand Down Expand Up @@ -267,7 +267,7 @@ exports[`renders chip with close button 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 18,
},
[
Expand Down Expand Up @@ -472,7 +472,7 @@ exports[`renders chip with custom close button 1`] = `
"textAlignVertical": "center",
},
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontFamily": "System",
"fontSize": 14,
"fontWeight": "500",
Expand Down Expand Up @@ -562,7 +562,7 @@ exports[`renders chip with custom close button 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 18,
},
[
Expand Down Expand Up @@ -767,7 +767,7 @@ exports[`renders chip with icon 1`] = `
"textAlignVertical": "center",
},
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontFamily": "System",
"fontSize": 14,
"fontWeight": "500",
Expand Down Expand Up @@ -924,7 +924,7 @@ exports[`renders chip with onPress 1`] = `
"textAlignVertical": "center",
},
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontFamily": "System",
"fontSize": 14,
"fontWeight": "500",
Expand Down Expand Up @@ -1235,7 +1235,7 @@ exports[`renders selected chip 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 18,
},
[
Expand Down Expand Up @@ -1283,7 +1283,7 @@ exports[`renders selected chip 1`] = `
"textAlignVertical": "center",
},
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontFamily": "System",
"fontSize": 14,
"fontWeight": "500",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ exports[`renders active DrawerItem 1`] = `
style={
[
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontSize": 24,
},
[
Expand Down Expand Up @@ -297,7 +297,7 @@ exports[`renders active DrawerItem 1`] = `
"marginRight": 32,
},
{
"color": "rgba(29, 25, 43, 1)",
"color": "rgba(74, 68, 88, 1)",
"fontFamily": "System",
"fontSize": 14,
"fontWeight": "500",
Expand Down
Loading