Skip to content

Commit

Permalink
chore: update zag-js/dialog to match other components. fix: update sn…
Browse files Browse the repository at this point in the history
…apshots
  • Loading branch information
mgallagher56 committed Sep 24, 2023
1 parent c09fd17 commit 5cd9e20
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 86 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`FLPTab > renders correctly 1`] = `
<div>
<div
class="chakra-tabs css-0"
class="chakra-tabs css-79elbk"
>
<button
aria-selected="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`FLPTabList > renders correctly 1`] = `
<div>
<div
class="chakra-tabs css-0"
class="chakra-tabs css-79elbk"
>
<div
aria-orientation="horizontal"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`FLPTabPanel > renders correctly 1`] = `
<div>
<div
class="chakra-tabs css-0"
class="chakra-tabs css-79elbk"
>
<div>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`FLPTabList > renders correctly 1`] = `
<div>
<div
class="chakra-tabs css-0"
class="chakra-tabs css-79elbk"
>
<div
class="chakra-tabs__tab-panels css-8atqhb"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`FLPTabs > renders correctly 1`] = `
<div>
<div
class="chakra-tabs css-0"
class="chakra-tabs css-79elbk"
>
<div>
Tab 1
Expand Down
12 changes: 11 additions & 1 deletion app/containers/__snapshots__/TabsContainer.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`TabsContainer > renders correctly 1`] = `
<div>
<div
class="chakra-tabs css-0"
class="chakra-tabs css-79elbk"
data-orientation="horizontal"
data-part="root"
data-scope="tabs"
Expand All @@ -16,6 +16,7 @@ exports[`TabsContainer > renders correctly 1`] = `
data-orientation="horizontal"
data-part="list"
data-scope="tabs"
dir="ltr"
id="tabs::r0::list"
role="tablist"
>
Expand All @@ -29,6 +30,7 @@ exports[`TabsContainer > renders correctly 1`] = `
data-scope="tabs"
data-selected=""
data-value="tab1"
dir="ltr"
id="tabs::r0::trigger-tab1"
role="tab"
tabindex="0"
Expand All @@ -50,6 +52,7 @@ exports[`TabsContainer > renders correctly 1`] = `
data-part="trigger"
data-scope="tabs"
data-value="tab2"
dir="ltr"
id="tabs::r0::trigger-tab2"
role="tab"
tabindex="1"
Expand All @@ -71,6 +74,7 @@ exports[`TabsContainer > renders correctly 1`] = `
data-part="trigger"
data-scope="tabs"
data-value="tab3"
dir="ltr"
id="tabs::r0::trigger-tab3"
role="tab"
tabindex="2"
Expand All @@ -96,10 +100,12 @@ exports[`TabsContainer > renders correctly 1`] = `
>
<div
aria-labelledby="tabs::r0::trigger-tab1"
data-orientation="horizontal"
data-ownedby="tabs::r0::list"
data-part="content"
data-scope="tabs"
data-selected=""
dir="ltr"
id="tabs::r0::content-tab1"
role="tabpanel"
tabindex="0"
Expand All @@ -110,9 +116,11 @@ exports[`TabsContainer > renders correctly 1`] = `
</div>
<div
aria-labelledby="tabs::r0::trigger-tab2"
data-orientation="horizontal"
data-ownedby="tabs::r0::list"
data-part="content"
data-scope="tabs"
dir="ltr"
hidden=""
id="tabs::r0::content-tab2"
role="tabpanel"
Expand All @@ -124,9 +132,11 @@ exports[`TabsContainer > renders correctly 1`] = `
</div>
<div
aria-labelledby="tabs::r0::trigger-tab3"
data-orientation="horizontal"
data-ownedby="tabs::r0::list"
data-part="content"
data-scope="tabs"
dir="ltr"
hidden=""
id="tabs::r0::content-tab3"
role="tabpanel"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"@remix-run/testing": "1.19.3",
"@supabase/auth-helpers-remix": "0.2.2",
"@supabase/supabase-js": "2.36.0",
"@zag-js/dialog": "0.16.0",
"@zag-js/dialog": "0.21.0",
"@zag-js/editable": "0.21.0",
"@zag-js/pressable": "0.21.0",
"@zag-js/react": "0.21.0",
Expand Down
103 changes: 24 additions & 79 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5cd9e20

Please sign in to comment.