Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(overlay): change api #604

Merged
merged 3 commits into from
Apr 18, 2023
Merged
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
6 changes: 6 additions & 0 deletions src/action-sheet/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ exports[`ActionSheet > ActionSheet gridMultipleVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -1164,6 +1165,7 @@ exports[`ActionSheet > ActionSheet gridVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -1768,6 +1770,7 @@ exports[`ActionSheet > ActionSheet listVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -1938,6 +1941,7 @@ exports[`ActionSheet > ActionSheet mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -2069,6 +2073,7 @@ exports[`ActionSheet > ActionSheet mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -2666,6 +2671,7 @@ exports[`ActionSheet > ActionSheet mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down
12 changes: 12 additions & 0 deletions src/calendar/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ exports[`Calendar > Calendar baseVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -2408,6 +2409,7 @@ exports[`Calendar > Calendar customButtonVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -4799,6 +4801,7 @@ exports[`Calendar > Calendar customRangeVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -5302,6 +5305,7 @@ exports[`Calendar > Calendar customTextVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -6388,6 +6392,7 @@ exports[`Calendar > Calendar mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -8772,6 +8777,7 @@ exports[`Calendar > Calendar mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -11156,6 +11162,7 @@ exports[`Calendar > Calendar mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -13565,6 +13572,7 @@ exports[`Calendar > Calendar mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -14610,6 +14618,7 @@ exports[`Calendar > Calendar mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -16994,6 +17003,7 @@ exports[`Calendar > Calendar mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -17514,6 +17524,7 @@ exports[`Calendar > Calendar multipleVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -19901,6 +19912,7 @@ exports[`Calendar > Calendar rangeVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down
1 change: 1 addition & 0 deletions src/calendar/__test__/__snapshots__/index.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ exports[`calendar > props > : format 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay t-overlay--active"
Expand Down
10 changes: 10 additions & 0 deletions src/cascader/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ exports[`Cascader > Cascader baseVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -321,6 +322,7 @@ exports[`Cascader > Cascader keysVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -610,6 +612,7 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -881,6 +884,7 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -1126,6 +1130,7 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -1397,6 +1402,7 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -1668,6 +1674,7 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -1933,6 +1940,7 @@ exports[`Cascader > Cascader themeTabVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -2161,6 +2169,7 @@ exports[`Cascader > Cascader withTitleVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -2423,6 +2432,7 @@ exports[`Cascader > Cascader withValueVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ exports[`DateTimePicker > DateTimePicker baseVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -502,6 +503,7 @@ exports[`DateTimePicker > DateTimePicker customRangeVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -896,6 +898,7 @@ exports[`DateTimePicker > DateTimePicker fullVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -2149,6 +2152,7 @@ exports[`DateTimePicker > DateTimePicker mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -2601,6 +2605,7 @@ exports[`DateTimePicker > DateTimePicker mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -2897,6 +2902,7 @@ exports[`DateTimePicker > DateTimePicker mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -3472,6 +3478,7 @@ exports[`DateTimePicker > DateTimePicker mobileVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -3869,6 +3876,7 @@ exports[`DateTimePicker > DateTimePicker timeVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down Expand Up @@ -4427,6 +4435,7 @@ exports[`DateTimePicker > DateTimePicker yearMonthVue demo works fine 1`] = `
css="true"
name="t-overlay"
persisted="true"
transparent="false"
>
<div
class="t-overlay"
Expand Down
Loading