You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 30, 2020. It is now read-only.
fix(fab): allow reactive switching between basic and extended style (#533)
* fix(fab): update README.md
* fix(fab): make it possible to switching between extended and basic fab reactive
possible defect: using style `display: none` for label in basic fab
* test(fab): update snapshots
exports[`Fab should render as absolute right 1`] =`
4
-
<buttonclass="mdc-fab mdc-fab--absolute-right">
5
-
<!----> </button>
6
-
`;
3
+
exports[`Fab should render as absolute right 1`] =`<buttonclass="mdc-fab mdc-fab--absolute-right"> <spanclass="mdc-fab__label"style="display: none;"></span> </button>`;
7
4
8
-
exports[`Fab should render as exited 1`] =`
9
-
<buttonclass="mdc-fab mdc-fab--exited">
10
-
<!----> </button>
11
-
`;
5
+
exports[`Fab should render as exited 1`] =`<buttonclass="mdc-fab mdc-fab--exited"> <spanclass="mdc-fab__label"style="display: none;"></span> </button>`;
12
6
13
-
exports[`Fab should render as extended 1`] =`
14
-
<buttonclass="mdc-fab mdc-fab--extended">
15
-
<divclass="mdc-fab__label">create</div>
16
-
</button>
17
-
`;
7
+
exports[`Fab should render as extended 1`] =`<buttonclass="mdc-fab mdc-fab--extended"> <spanclass="mdc-fab__label"style="">create</span> </button>`;
18
8
19
-
exports[`Fab should render as mini 1`] =`
20
-
<buttonclass="mdc-fab mdc-fab--mini">
21
-
<!----> </button>
22
-
`;
9
+
exports[`Fab should render as mini 1`] =`<buttonclass="mdc-fab mdc-fab--mini"> <spanclass="mdc-fab__label"style="display: none;"></span> </button>`;
23
10
24
-
exports[`Fab should render with no prop 1`] =`
25
-
<buttonclass="mdc-fab">
26
-
<!----> </button>
27
-
`;
11
+
exports[`Fab should render with no prop 1`] =`<buttonclass="mdc-fab"> <spanclass="mdc-fab__label"style="display: none;"></span> </button>`;
28
12
29
-
exports[`Fab should render without ripple 1`] =`
30
-
<buttonclass="mdc-fab">
31
-
<!----> </button>
32
-
`;
13
+
exports[`Fab should render without ripple 1`] =`<buttonclass="mdc-fab"> <spanclass="mdc-fab__label"style="display: none;"></span> </button>`;
0 commit comments