@covalent/components 8.2.0 → 8.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-ribbon.js +3 -2
- package/action-ribbon.mjs +10 -9
- package/alert.js +3 -2
- package/alert.mjs +10 -9
- package/app-shell.js +2 -1
- package/app-shell.mjs +20 -19
- package/{base-element-atp_8bvP.js → base-element-58a3f9ea.js} +1 -1
- package/{base-element--jaKdI-8.mjs → base-element-67ae173f.mjs} +2 -2
- package/button.js +3 -2
- package/button.mjs +16 -15
- package/card.js +3 -2
- package/card.mjs +5 -4
- package/check-list-item.js +15 -11
- package/check-list-item.mjs +68 -62
- package/checkbox.js +2 -1
- package/checkbox.mjs +25 -23
- package/circular-progress.js +1 -1
- package/circular-progress.mjs +7 -7
- package/{class-map-YPXv0Hj4.mjs → class-map-4b94b017.mjs} +1 -1
- package/{class-map-wtcW44Of.js → class-map-b5efe8da.js} +1 -1
- package/code-snippet-2137b11c.js +13 -0
- package/code-snippet-ccca324f.mjs +12278 -0
- package/code-snippet.js +1 -12
- package/code-snippet.mjs +7 -12251
- package/{dialog-tIMorfuj.mjs → dialog-3ca1b701.mjs} +62 -60
- package/{dialog-SpbwRuWY.js → dialog-82b03745.js} +7 -6
- package/dialog.js +1 -1
- package/dialog.mjs +10 -10
- package/{directive-helpers--rJ2jf3N.js → directive-helpers-0ce1f995.js} +1 -1
- package/{directive-helpers-9566lOOl.mjs → directive-helpers-e3ea6592.mjs} +1 -1
- package/drawer.js +3 -2
- package/drawer.mjs +12 -11
- package/empty-state.js +2 -1
- package/empty-state.mjs +6 -5
- package/{event-options-2TJPtsKy.js → event-options-3f5eb195.js} +1 -1
- package/{event-options-0xzSdemG.mjs → event-options-78d6cf94.mjs} +1 -1
- package/{form-element-5s8gft-A.js → form-element-c553d6f5.js} +1 -1
- package/{form-element-gM33WEq3.mjs → form-element-ffcf59ff.mjs} +4 -4
- package/{foundation-3Wg80pI7.mjs → foundation-39dc72d2.mjs} +1 -1
- package/{foundation-1Vzfdey_.js → foundation-786bf879.js} +1 -1
- package/icon-button.js +3 -2
- package/icon-button.mjs +15 -14
- package/icon-check-toggle.js +5 -4
- package/icon-check-toggle.mjs +24 -22
- package/icon-radio-toggle.js +5 -4
- package/icon-radio-toggle.mjs +27 -25
- package/icon.js +5 -1
- package/icon.mjs +21 -15
- package/{if-defined-BH_l2PVl.mjs → if-defined-c367f208.mjs} +1 -1
- package/{if-defined-lAIUwAsA.js → if-defined-f1c45245.js} +1 -1
- package/index.js +560 -1
- package/index.mjs +3654 -124
- package/{inert.esm-vhZXthJr.mjs → inert.esm-359d4581.mjs} +1 -1
- package/linear-progress.js +3 -2
- package/linear-progress.mjs +13 -12
- package/{mwc-list-item.css-d-SHhq7Q.mjs → list-item-1fc0d619.mjs} +9 -199
- package/{mwc-list-item.css-yJ5bjNGc.js → list-item-209613bf.js} +6 -28
- package/list-item.js +3 -3
- package/list-item.mjs +25 -25
- package/list.js +8 -3
- package/list.mjs +37 -31
- package/menu.js +5 -1
- package/menu.mjs +34 -28
- package/mwc-checkbox-base-3d8c9549.js +41 -0
- package/mwc-checkbox-base-f10fd709.mjs +198 -0
- package/{mwc-checkbox.css-c44nPIEs.mjs → mwc-checkbox.css-8f4f1a9b.mjs} +3 -198
- package/{mwc-checkbox.css-JOD-Qh-9.js → mwc-checkbox.css-b3434429.js} +2 -42
- package/{mwc-drawer-base-8e_1aSuf.mjs → mwc-drawer-base-135de8a5.mjs} +26 -24
- package/{mwc-drawer-base-Fv3JVYPS.js → mwc-drawer-base-798b11f8.js} +5 -5
- package/{mwc-icon-eaW72Ei7.mjs → mwc-icon-bf656cf5.mjs} +5 -6
- package/{mwc-icon-r2y4-AXI.js → mwc-icon-f87639bc.js} +2 -2
- package/{mwc-line-ripple-directive-iRoAkPnW.js → mwc-line-ripple-directive-a6b39a3c.js} +1 -1
- package/{mwc-line-ripple-directive-Q_HMRGPE.mjs → mwc-line-ripple-directive-b24a914e.mjs} +6 -6
- package/mwc-list-base-400b00e2.js +111 -0
- package/{mwc-list.css-_OVL_dbR.mjs → mwc-list-base-76e37212.mjs} +212 -213
- package/mwc-list-item-base-297d86b0.js +28 -0
- package/mwc-list-item-base-fe4398c3.mjs +202 -0
- package/{mwc-menu.css-cKtc1ZD4.mjs → mwc-menu-base-c4bc88ea.mjs} +75 -74
- package/mwc-menu-base-c75ca473.js +190 -0
- package/mwc-radio-base-913e02e2.js +101 -0
- package/{mwc-radio.css-_lt-Vcvl.mjs → mwc-radio-base-a374fbd9.mjs} +117 -123
- package/mwc-radio.css-4e140252.js +5 -0
- package/mwc-radio.css-7454bb11.mjs +10 -0
- package/{mwc-slider.css-md7hPAE7.mjs → mwc-slider.css-8b6f275c.mjs} +11 -11
- package/{mwc-slider.css-lCfMVbO5.js → mwc-slider.css-c7107d94.js} +1 -1
- package/{mwc-tab.css-lT5vTf5I.mjs → mwc-tab-base-be0c887f.mjs} +123 -127
- package/{mwc-tab.css-q4Jsbyp5.js → mwc-tab-base-f28722aa.js} +22 -26
- package/{mwc-top-app-bar-base-nm6mdCR3.mjs → mwc-top-app-bar-base-55da3fe4.mjs} +13 -12
- package/{mwc-top-app-bar-base-8qOIX1me.js → mwc-top-app-bar-base-aec60f27.js} +3 -3
- package/nav-list-item.js +6 -5
- package/nav-list-item.mjs +38 -37
- package/package.json +1 -1
- package/{query-duvhtfSs.js → query-680f1868.js} +1 -1
- package/{query-assigned-nodes-1p7z6CEm.js → query-assigned-nodes-99eae71d.js} +1 -1
- package/{query-assigned-nodes-6yHI5ePh.mjs → query-assigned-nodes-df691e78.mjs} +1 -1
- package/{query-1WmuF6Bq.mjs → query-d843aa92.mjs} +1 -1
- package/radio-list-item.js +13 -9
- package/radio-list-item.mjs +64 -58
- package/radio.js +2 -1
- package/radio.mjs +25 -23
- package/{ripple-handlers-HeGhXgD2.js → ripple-handlers-5d5b21db.js} +8 -8
- package/{ripple-handlers-BwaZu9Ps.mjs → ripple-handlers-f37f21cf.mjs} +17 -16
- package/select.js +15 -10
- package/select.mjs +147 -139
- package/side-sheet.js +2 -1
- package/side-sheet.mjs +12 -11
- package/slider-range.js +1 -1
- package/slider-range.mjs +14 -14
- package/slider.js +1 -1
- package/slider.mjs +16 -16
- package/snackbar.js +11 -10
- package/snackbar.mjs +36 -34
- package/{state-LqPxt99W.js → state-0974a8e5.js} +1 -1
- package/{state-inNZe6rL.mjs → state-b5e865db.mjs} +1 -1
- package/status-header-item.js +2 -1
- package/status-header-item.mjs +4 -3
- package/status-header.js +3 -2
- package/status-header.mjs +5 -4
- package/{style-map-66_3wrLx.js → style-map-88d2563f.js} +1 -1
- package/{style-map-8yp6DGeh.mjs → style-map-bc3ed3e0.mjs} +2 -2
- package/style.css +1 -1
- package/switch.js +3 -2
- package/switch.mjs +16 -15
- package/tab-bar.js +22 -18
- package/tab-bar.mjs +203 -195
- package/tab.js +6 -1
- package/tab.mjs +32 -26
- package/text-lockup.js +2 -1
- package/text-lockup.mjs +9 -8
- package/textarea.js +19 -15
- package/textarea.mjs +65 -59
- package/textfield-62e16cc2.js +133 -0
- package/textfield-63d1859a.mjs +932 -0
- package/textfield.js +7 -3
- package/textfield.mjs +36 -30
- package/toolbar.js +2 -1
- package/toolbar.mjs +10 -9
- package/tooltip.js +3 -2
- package/tooltip.mjs +10 -9
- package/{top-app-bar-qcW2ucE3.js → top-app-bar-a531c1b4.js} +3 -2
- package/{top-app-bar-h0V-USh_.mjs → top-app-bar-f83386e0.mjs} +3 -2
- package/top-app-bar-fixed.js +6 -6
- package/top-app-bar-fixed.mjs +28 -27
- package/top-app-bar.js +1 -1
- package/top-app-bar.mjs +9 -9
- package/tree-list-item.js +2 -1
- package/tree-list-item.mjs +7 -6
- package/tree-list.js +2 -1
- package/tree-list.mjs +3 -2
- package/{tslib.es6-S8SvF2K1.mjs → tslib.es6-f3e988cd.mjs} +5 -5
- package/typography.js +2 -1
- package/typography.mjs +4 -3
- package/_commonjsHelpers-ZPn_iTGj.mjs +0 -28
- package/_commonjsHelpers-fFrWAeZI.js +0 -1
- package/chip-M5Vb5Kd6.js +0 -492
- package/chip-m2mKzWQT.mjs +0 -3115
- package/chip-set.js +0 -75
- package/chip-set.mjs +0 -531
- package/chip.js +0 -1
- package/chip.mjs +0 -12
- package/expansion-panel-item.js +0 -24
- package/expansion-panel-item.mjs +0 -106
- package/expansion-panel.js +0 -7
- package/expansion-panel.mjs +0 -59
- package/formfield.js +0 -79
- package/formfield.mjs +0 -275
- package/list-item-F2e6aWaj.mjs +0 -11
- package/list-item-Ze98reWt.js +0 -5
- package/mwc-list.css-DjU8XB1m.js +0 -111
- package/mwc-menu.css-qavo4jer.js +0 -190
- package/mwc-radio.css-h_Wv0Eag.js +0 -105
- package/textfield-7aU1kEO6.mjs +0 -936
- package/textfield-jvevIGSw.js +0 -136
- /package/{aria-property-52VAcg_f.js → aria-property-849c8816.js} +0 -0
- /package/{aria-property-wYjPNXcK.mjs → aria-property-fa2717fe.mjs} +0 -0
- /package/{inert.esm-TSRtlTFV.js → inert.esm-2cee6f2e.js} +0 -0
- /package/{observer-LlGBroG9.js → observer-a096ab43.js} +0 -0
- /package/{observer-cKAgu-MI.mjs → observer-be7b92e2.mjs} +0 -0
- /package/{property-iZpLBvy-.js → property-57f6f6fe.js} +0 -0
- /package/{property-K7hFBmOi.mjs → property-9b6ea53b.mjs} +0 -0
- /package/{query-assigned-elements-yFWOzcsT.mjs → query-assigned-elements-4a39219d.mjs} +0 -0
- /package/{query-assigned-elements-j_5ZiL65.js → query-assigned-elements-f623705d.js} +0 -0
- /package/{tslib.es6-5xG0QhxF.js → tslib.es6-98719205.js} +0 -0
- /package/{utils-xAXEDL0Y.mjs → utils-2932417c.mjs} +0 -0
- /package/{utils-W3ENJhq-.js → utils-a8190a39.js} +0 -0
@@ -1,14 +1,14 @@
|
|
1
|
-
import { _ as
|
2
|
-
import { x as
|
3
|
-
import { B as
|
4
|
-
import { n as r } from "./property-
|
5
|
-
import { i as
|
6
|
-
import { o as
|
7
|
-
import { a as
|
8
|
-
import { e as
|
9
|
-
import { o as
|
10
|
-
import { t as
|
11
|
-
import { e as
|
1
|
+
import { _ as m, a as h, f as i } from "./tslib.es6-f3e988cd.mjs";
|
2
|
+
import { x as c, i as R, e as A } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
+
import { B as g } from "./base-element-67ae173f.mjs";
|
4
|
+
import { n as r } from "./property-9b6ea53b.mjs";
|
5
|
+
import { i as l } from "./query-d843aa92.mjs";
|
6
|
+
import { o as v } from "./class-map-4b94b017.mjs";
|
7
|
+
import { a as I } from "./utils-2932417c.mjs";
|
8
|
+
import { e as T, R as E } from "./ripple-handlers-f37f21cf.mjs";
|
9
|
+
import { o as F } from "./observer-be7b92e2.mjs";
|
10
|
+
import { t as _ } from "./state-b5e865db.mjs";
|
11
|
+
import { e as O } from "./event-options-78d6cf94.mjs";
|
12
12
|
/**
|
13
13
|
* @license
|
14
14
|
* Copyright 2016 Google Inc.
|
@@ -31,7 +31,7 @@ import { e as E } from "./event-options-0xzSdemG.mjs";
|
|
31
31
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
32
32
|
* THE SOFTWARE.
|
33
33
|
*/
|
34
|
-
var
|
34
|
+
var D = (
|
35
35
|
/** @class */
|
36
36
|
function() {
|
37
37
|
function e(t) {
|
@@ -88,11 +88,11 @@ var O = (
|
|
88
88
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
89
89
|
* THE SOFTWARE.
|
90
90
|
*/
|
91
|
-
var
|
91
|
+
var w = {
|
92
92
|
ACTIVE: "mdc-tab-indicator--active",
|
93
93
|
FADE: "mdc-tab-indicator--fade",
|
94
94
|
NO_TRANSITION: "mdc-tab-indicator--no-transition"
|
95
|
-
},
|
95
|
+
}, $ = {
|
96
96
|
CONTENT_SELECTOR: ".mdc-tab-indicator__content"
|
97
97
|
};
|
98
98
|
/**
|
@@ -117,22 +117,22 @@ var k = {
|
|
117
117
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
118
118
|
* THE SOFTWARE.
|
119
119
|
*/
|
120
|
-
var
|
120
|
+
var s = (
|
121
121
|
/** @class */
|
122
122
|
function(e) {
|
123
|
-
|
124
|
-
function t(
|
125
|
-
return e.call(this,
|
123
|
+
m(t, e);
|
124
|
+
function t(n) {
|
125
|
+
return e.call(this, h(h({}, t.defaultAdapter), n)) || this;
|
126
126
|
}
|
127
127
|
return Object.defineProperty(t, "cssClasses", {
|
128
128
|
get: function() {
|
129
|
-
return
|
129
|
+
return w;
|
130
130
|
},
|
131
131
|
enumerable: !1,
|
132
132
|
configurable: !0
|
133
133
|
}), Object.defineProperty(t, "strings", {
|
134
134
|
get: function() {
|
135
|
-
return
|
135
|
+
return $;
|
136
136
|
},
|
137
137
|
enumerable: !1,
|
138
138
|
configurable: !0
|
@@ -155,7 +155,7 @@ var c = (
|
|
155
155
|
}), t.prototype.computeContentClientRect = function() {
|
156
156
|
return this.adapter.computeContentClientRect();
|
157
157
|
}, t;
|
158
|
-
}(
|
158
|
+
}(D)
|
159
159
|
);
|
160
160
|
/**
|
161
161
|
* @license
|
@@ -179,20 +179,21 @@ var c = (
|
|
179
179
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
180
180
|
* THE SOFTWARE.
|
181
181
|
*/
|
182
|
-
var
|
182
|
+
var L = (
|
183
183
|
/** @class */
|
184
184
|
function(e) {
|
185
|
-
|
185
|
+
m(t, e);
|
186
186
|
function t() {
|
187
187
|
return e !== null && e.apply(this, arguments) || this;
|
188
188
|
}
|
189
189
|
return t.prototype.activate = function() {
|
190
|
-
this.adapter.addClass(
|
190
|
+
this.adapter.addClass(s.cssClasses.ACTIVE);
|
191
191
|
}, t.prototype.deactivate = function() {
|
192
|
-
this.adapter.removeClass(
|
192
|
+
this.adapter.removeClass(s.cssClasses.ACTIVE);
|
193
193
|
}, t;
|
194
|
-
}(
|
194
|
+
}(s)
|
195
195
|
);
|
196
|
+
const P = L;
|
196
197
|
/**
|
197
198
|
* @license
|
198
199
|
* Copyright 2018 Google Inc.
|
@@ -215,36 +216,37 @@ var z = (
|
|
215
216
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
216
217
|
* THE SOFTWARE.
|
217
218
|
*/
|
218
|
-
var
|
219
|
+
var M = (
|
219
220
|
/** @class */
|
220
221
|
function(e) {
|
221
|
-
|
222
|
+
m(t, e);
|
222
223
|
function t() {
|
223
224
|
return e !== null && e.apply(this, arguments) || this;
|
224
225
|
}
|
225
|
-
return t.prototype.activate = function(
|
226
|
-
if (!
|
227
|
-
this.adapter.addClass(
|
226
|
+
return t.prototype.activate = function(n) {
|
227
|
+
if (!n) {
|
228
|
+
this.adapter.addClass(s.cssClasses.ACTIVE);
|
228
229
|
return;
|
229
230
|
}
|
230
|
-
var o = this.computeContentClientRect(),
|
231
|
-
this.adapter.addClass(
|
231
|
+
var o = this.computeContentClientRect(), b = n.width / o.width, p = n.left - o.left;
|
232
|
+
this.adapter.addClass(s.cssClasses.NO_TRANSITION), this.adapter.setContentStyleProperty("transform", "translateX(" + p + "px) scaleX(" + b + ")"), this.computeContentClientRect(), this.adapter.removeClass(s.cssClasses.NO_TRANSITION), this.adapter.addClass(s.cssClasses.ACTIVE), this.adapter.setContentStyleProperty("transform", "");
|
232
233
|
}, t.prototype.deactivate = function() {
|
233
|
-
this.adapter.removeClass(
|
234
|
+
this.adapter.removeClass(s.cssClasses.ACTIVE);
|
234
235
|
}, t;
|
235
|
-
}(
|
236
|
+
}(s)
|
236
237
|
);
|
238
|
+
const S = M;
|
237
239
|
/**
|
238
240
|
* @license
|
239
241
|
* Copyright 2018 Google LLC
|
240
242
|
* SPDX-License-Identifier: Apache-2.0
|
241
243
|
*/
|
242
|
-
class
|
244
|
+
class u extends g {
|
243
245
|
constructor() {
|
244
246
|
super(...arguments), this.icon = "", this.fade = !1;
|
245
247
|
}
|
246
248
|
get mdcFoundationClass() {
|
247
|
-
return this.fade ?
|
249
|
+
return this.fade ? P : S;
|
248
250
|
}
|
249
251
|
render() {
|
250
252
|
const t = {
|
@@ -252,11 +254,11 @@ class l extends C {
|
|
252
254
|
"material-icons": this.icon,
|
253
255
|
"mdc-tab-indicator__content--underline": !this.icon
|
254
256
|
};
|
255
|
-
return
|
256
|
-
<span class="mdc-tab-indicator ${
|
257
|
+
return c`
|
258
|
+
<span class="mdc-tab-indicator ${v({
|
257
259
|
"mdc-tab-indicator--fade": this.fade
|
258
260
|
})}">
|
259
|
-
<span class="mdc-tab-indicator__content ${
|
261
|
+
<span class="mdc-tab-indicator__content ${v(t)}">${this.icon}</span>
|
260
262
|
</span>
|
261
263
|
`;
|
262
264
|
}
|
@@ -264,7 +266,7 @@ class l extends C {
|
|
264
266
|
t.has("fade") && this.createFoundation();
|
265
267
|
}
|
266
268
|
createAdapter() {
|
267
|
-
return Object.assign(Object.assign({},
|
269
|
+
return Object.assign(Object.assign({}, I(this.mdcRoot)), { computeContentClientRect: () => this.contentElement.getBoundingClientRect(), setContentStyleProperty: (t, n) => this.contentElement.style.setProperty(t, n) });
|
268
270
|
}
|
269
271
|
computeContentClientRect() {
|
270
272
|
return this.mdcFoundation.computeContentClientRect();
|
@@ -277,34 +279,34 @@ class l extends C {
|
|
277
279
|
}
|
278
280
|
}
|
279
281
|
i([
|
280
|
-
|
281
|
-
],
|
282
|
+
l(".mdc-tab-indicator")
|
283
|
+
], u.prototype, "mdcRoot", void 0);
|
282
284
|
i([
|
283
|
-
|
284
|
-
],
|
285
|
+
l(".mdc-tab-indicator__content")
|
286
|
+
], u.prototype, "contentElement", void 0);
|
285
287
|
i([
|
286
288
|
r()
|
287
|
-
],
|
289
|
+
], u.prototype, "icon", void 0);
|
288
290
|
i([
|
289
291
|
r({ type: Boolean })
|
290
|
-
],
|
292
|
+
], u.prototype, "fade", void 0);
|
291
293
|
/**
|
292
294
|
* @license
|
293
295
|
* Copyright 2021 Google LLC
|
294
296
|
* SPDX-LIcense-Identifier: Apache-2.0
|
295
297
|
*/
|
296
|
-
const
|
298
|
+
const x = R`.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-tab-indicator .mdc-tab-indicator__content--icon{color:#018786;color:var(--mdc-theme-secondary, #018786)}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}`;
|
297
299
|
/**
|
298
300
|
* @license
|
299
301
|
* Copyright 2018 Google LLC
|
300
302
|
* SPDX-License-Identifier: Apache-2.0
|
301
303
|
*/
|
302
|
-
let
|
304
|
+
let C = class extends u {
|
303
305
|
};
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
],
|
306
|
+
C.styles = [x];
|
307
|
+
C = i([
|
308
|
+
A("mwc-tab-indicator")
|
309
|
+
], C);
|
308
310
|
/**
|
309
311
|
* @license
|
310
312
|
* Copyright 2016 Google Inc.
|
@@ -327,7 +329,7 @@ _ = i([
|
|
327
329
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
328
330
|
* THE SOFTWARE.
|
329
331
|
*/
|
330
|
-
var
|
332
|
+
var B = (
|
331
333
|
/** @class */
|
332
334
|
function() {
|
333
335
|
function e(t) {
|
@@ -384,9 +386,9 @@ var L = (
|
|
384
386
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
385
387
|
* THE SOFTWARE.
|
386
388
|
*/
|
387
|
-
var
|
389
|
+
var f = {
|
388
390
|
ACTIVE: "mdc-tab--active"
|
389
|
-
},
|
391
|
+
}, d = {
|
390
392
|
ARIA_SELECTED: "aria-selected",
|
391
393
|
CONTENT_SELECTOR: ".mdc-tab__content",
|
392
394
|
INTERACTED_EVENT: "MDCTab:interacted",
|
@@ -416,23 +418,23 @@ var u = {
|
|
416
418
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
417
419
|
* THE SOFTWARE.
|
418
420
|
*/
|
419
|
-
var
|
421
|
+
var N = (
|
420
422
|
/** @class */
|
421
423
|
function(e) {
|
422
|
-
|
423
|
-
function t(
|
424
|
-
var o = e.call(this,
|
424
|
+
m(t, e);
|
425
|
+
function t(n) {
|
426
|
+
var o = e.call(this, h(h({}, t.defaultAdapter), n)) || this;
|
425
427
|
return o.focusOnActivate = !0, o;
|
426
428
|
}
|
427
429
|
return Object.defineProperty(t, "cssClasses", {
|
428
430
|
get: function() {
|
429
|
-
return
|
431
|
+
return f;
|
430
432
|
},
|
431
433
|
enumerable: !1,
|
432
434
|
configurable: !0
|
433
435
|
}), Object.defineProperty(t, "strings", {
|
434
436
|
get: function() {
|
435
|
-
return
|
437
|
+
return d;
|
436
438
|
},
|
437
439
|
enumerable: !1,
|
438
440
|
configurable: !0
|
@@ -475,33 +477,34 @@ var v = (
|
|
475
477
|
}), t.prototype.handleClick = function() {
|
476
478
|
this.adapter.notifyInteracted();
|
477
479
|
}, t.prototype.isActive = function() {
|
478
|
-
return this.adapter.hasClass(
|
479
|
-
}, t.prototype.setFocusOnActivate = function(
|
480
|
-
this.focusOnActivate =
|
481
|
-
}, t.prototype.activate = function(
|
482
|
-
this.adapter.addClass(
|
480
|
+
return this.adapter.hasClass(f.ACTIVE);
|
481
|
+
}, t.prototype.setFocusOnActivate = function(n) {
|
482
|
+
this.focusOnActivate = n;
|
483
|
+
}, t.prototype.activate = function(n) {
|
484
|
+
this.adapter.addClass(f.ACTIVE), this.adapter.setAttr(d.ARIA_SELECTED, "true"), this.adapter.setAttr(d.TABINDEX, "0"), this.adapter.activateIndicator(n), this.focusOnActivate && this.adapter.focus();
|
483
485
|
}, t.prototype.deactivate = function() {
|
484
|
-
this.isActive() && (this.adapter.removeClass(
|
486
|
+
this.isActive() && (this.adapter.removeClass(f.ACTIVE), this.adapter.setAttr(d.ARIA_SELECTED, "false"), this.adapter.setAttr(d.TABINDEX, "-1"), this.adapter.deactivateIndicator());
|
485
487
|
}, t.prototype.computeDimensions = function() {
|
486
|
-
var
|
488
|
+
var n = this.adapter.getOffsetWidth(), o = this.adapter.getOffsetLeft(), b = this.adapter.getContentOffsetWidth(), p = this.adapter.getContentOffsetLeft();
|
487
489
|
return {
|
488
|
-
contentLeft: o +
|
489
|
-
contentRight: o +
|
490
|
+
contentLeft: o + p,
|
491
|
+
contentRight: o + p + b,
|
490
492
|
rootLeft: o,
|
491
|
-
rootRight: o +
|
493
|
+
rootRight: o + n
|
492
494
|
};
|
493
495
|
}, t;
|
494
|
-
}(
|
496
|
+
}(B)
|
495
497
|
);
|
498
|
+
const y = N;
|
496
499
|
/**
|
497
500
|
* @license
|
498
501
|
* Copyright 2018 Google LLC
|
499
502
|
* SPDX-License-Identifier: Apache-2.0
|
500
503
|
*/
|
501
|
-
let
|
502
|
-
class
|
504
|
+
let j = 0;
|
505
|
+
class a extends g {
|
503
506
|
constructor() {
|
504
|
-
super(...arguments), this.mdcFoundationClass =
|
507
|
+
super(...arguments), this.mdcFoundationClass = y, this.label = "", this.icon = "", this.hasImageIcon = !1, this.isFadingIndicator = !1, this.minWidth = !1, this.isMinWidthIndicator = !1, this.indicatorIcon = "", this.stacked = !1, this.focusOnActivate = !0, this._active = !1, this.initFocus = !1, this.shouldRenderRipple = !1, this.useStateLayerCustomProperties = !1, this.rippleElement = null, this.rippleHandlers = new E(() => (this.shouldRenderRipple = !0, this.ripple.then((t) => this.rippleElement = t), this.ripple));
|
505
508
|
}
|
506
509
|
get active() {
|
507
510
|
return this._active;
|
@@ -510,22 +513,22 @@ class n extends C {
|
|
510
513
|
this.dir = document.dir, super.connectedCallback();
|
511
514
|
}
|
512
515
|
firstUpdated() {
|
513
|
-
super.firstUpdated(), this.id = this.id || `mdc-tab-${++
|
516
|
+
super.firstUpdated(), this.id = this.id || `mdc-tab-${++j}`;
|
514
517
|
}
|
515
518
|
render() {
|
516
519
|
const t = {
|
517
520
|
"mdc-tab--min-width": this.minWidth,
|
518
521
|
"mdc-tab--stacked": this.stacked
|
519
522
|
};
|
520
|
-
let
|
521
|
-
(this.hasImageIcon || this.icon) && (
|
523
|
+
let n = c``;
|
524
|
+
(this.hasImageIcon || this.icon) && (n = c`
|
522
525
|
<span class="mdc-tab__icon material-icons"><slot name="icon">${this.icon}</slot></span>`);
|
523
|
-
let o =
|
524
|
-
return this.label && (o =
|
525
|
-
<span class="mdc-tab__text-label">${this.label}</span>`),
|
526
|
+
let o = c``;
|
527
|
+
return this.label && (o = c`
|
528
|
+
<span class="mdc-tab__text-label">${this.label}</span>`), c`
|
526
529
|
<button
|
527
530
|
@click="${this.handleClick}"
|
528
|
-
class="mdc-tab ${
|
531
|
+
class="mdc-tab ${v(t)}"
|
529
532
|
role="tab"
|
530
533
|
aria-selected="false"
|
531
534
|
tabindex="-1"
|
@@ -538,7 +541,7 @@ class n extends C {
|
|
538
541
|
@touchend="${this.handleRippleDeactivate}"
|
539
542
|
@touchcancel="${this.handleRippleDeactivate}">
|
540
543
|
<span class="mdc-tab__content">
|
541
|
-
${
|
544
|
+
${n}
|
542
545
|
${o}
|
543
546
|
${this.isMinWidthIndicator ? this.renderIndicator() : ""}
|
544
547
|
</span>
|
@@ -547,22 +550,22 @@ class n extends C {
|
|
547
550
|
</button>`;
|
548
551
|
}
|
549
552
|
renderIndicator() {
|
550
|
-
return
|
553
|
+
return c`<mwc-tab-indicator
|
551
554
|
.icon="${this.indicatorIcon}"
|
552
555
|
.fade="${this.isFadingIndicator}"></mwc-tab-indicator>`;
|
553
556
|
}
|
554
557
|
// TODO(dfreedm): Make this use selected as a param after Polymer/internal#739
|
555
558
|
/** @soyCompatible */
|
556
559
|
renderRipple() {
|
557
|
-
return this.shouldRenderRipple ?
|
560
|
+
return this.shouldRenderRipple ? c`<mwc-ripple primary
|
558
561
|
.internalUseStateLayerCustomProperties="${this.useStateLayerCustomProperties}"></mwc-ripple>` : "";
|
559
562
|
}
|
560
563
|
createAdapter() {
|
561
|
-
return Object.assign(Object.assign({},
|
564
|
+
return Object.assign(Object.assign({}, I(this.mdcRoot)), { setAttr: (t, n) => this.mdcRoot.setAttribute(t, n), activateIndicator: async (t) => {
|
562
565
|
await this.tabIndicator.updateComplete, this.tabIndicator.activate(t);
|
563
566
|
}, deactivateIndicator: async () => {
|
564
567
|
await this.tabIndicator.updateComplete, this.tabIndicator.deactivate();
|
565
|
-
}, notifyInteracted: () => this.dispatchEvent(new CustomEvent(
|
568
|
+
}, notifyInteracted: () => this.dispatchEvent(new CustomEvent(y.strings.INTERACTED_EVENT, {
|
566
569
|
detail: { tabId: this.id },
|
567
570
|
bubbles: !0,
|
568
571
|
composed: !0,
|
@@ -580,8 +583,8 @@ class n extends C {
|
|
580
583
|
this.mdcFoundation.deactivate(), this.setActive(this.mdcFoundation.isActive());
|
581
584
|
}
|
582
585
|
setActive(t) {
|
583
|
-
const
|
584
|
-
|
586
|
+
const n = this.active;
|
587
|
+
n !== t && (this._active = t, this.requestUpdate("active", n));
|
585
588
|
}
|
586
589
|
computeDimensions() {
|
587
590
|
return this.mdcFoundation.computeDimensions();
|
@@ -603,10 +606,10 @@ class n extends C {
|
|
603
606
|
this.handleRippleBlur();
|
604
607
|
}
|
605
608
|
handleRippleMouseDown(t) {
|
606
|
-
const
|
607
|
-
window.removeEventListener("mouseup",
|
609
|
+
const n = () => {
|
610
|
+
window.removeEventListener("mouseup", n), this.handleRippleDeactivate();
|
608
611
|
};
|
609
|
-
window.addEventListener("mouseup",
|
612
|
+
window.addEventListener("mouseup", n), this.rippleHandlers.startPress(t);
|
610
613
|
}
|
611
614
|
handleRippleTouchStart(t) {
|
612
615
|
this.rippleHandlers.startPress(t);
|
@@ -631,68 +634,61 @@ class n extends C {
|
|
631
634
|
return ((t = this.rippleElement) === null || t === void 0 ? void 0 : t.isActive) || !1;
|
632
635
|
}
|
633
636
|
}
|
634
|
-
|
637
|
+
a.shadowRootOptions = { mode: "open", delegatesFocus: !0 };
|
635
638
|
i([
|
636
|
-
|
637
|
-
],
|
639
|
+
l(".mdc-tab")
|
640
|
+
], a.prototype, "mdcRoot", void 0);
|
638
641
|
i([
|
639
|
-
|
640
|
-
],
|
642
|
+
l("mwc-tab-indicator")
|
643
|
+
], a.prototype, "tabIndicator", void 0);
|
641
644
|
i([
|
642
645
|
r()
|
643
|
-
],
|
646
|
+
], a.prototype, "label", void 0);
|
644
647
|
i([
|
645
648
|
r()
|
646
|
-
],
|
649
|
+
], a.prototype, "icon", void 0);
|
647
650
|
i([
|
648
651
|
r({ type: Boolean })
|
649
|
-
],
|
652
|
+
], a.prototype, "hasImageIcon", void 0);
|
650
653
|
i([
|
651
654
|
r({ type: Boolean })
|
652
|
-
],
|
655
|
+
], a.prototype, "isFadingIndicator", void 0);
|
653
656
|
i([
|
654
657
|
r({ type: Boolean })
|
655
|
-
],
|
658
|
+
], a.prototype, "minWidth", void 0);
|
656
659
|
i([
|
657
660
|
r({ type: Boolean })
|
658
|
-
],
|
661
|
+
], a.prototype, "isMinWidthIndicator", void 0);
|
659
662
|
i([
|
660
663
|
r({ type: Boolean, reflect: !0, attribute: "active" })
|
661
|
-
],
|
664
|
+
], a.prototype, "active", null);
|
662
665
|
i([
|
663
666
|
r()
|
664
|
-
],
|
667
|
+
], a.prototype, "indicatorIcon", void 0);
|
665
668
|
i([
|
666
669
|
r({ type: Boolean })
|
667
|
-
],
|
670
|
+
], a.prototype, "stacked", void 0);
|
668
671
|
i([
|
669
|
-
|
672
|
+
F(async function(e) {
|
670
673
|
await this.updateComplete, this.mdcFoundation.setFocusOnActivate(e);
|
671
674
|
}),
|
672
675
|
r({ type: Boolean })
|
673
|
-
],
|
676
|
+
], a.prototype, "focusOnActivate", void 0);
|
674
677
|
i([
|
675
|
-
|
676
|
-
],
|
678
|
+
l(".mdc-tab__content")
|
679
|
+
], a.prototype, "_contentElement", void 0);
|
677
680
|
i([
|
678
|
-
|
679
|
-
],
|
681
|
+
_()
|
682
|
+
], a.prototype, "shouldRenderRipple", void 0);
|
680
683
|
i([
|
681
|
-
|
682
|
-
],
|
684
|
+
_()
|
685
|
+
], a.prototype, "useStateLayerCustomProperties", void 0);
|
683
686
|
i([
|
684
|
-
|
685
|
-
],
|
687
|
+
T("mwc-ripple")
|
688
|
+
], a.prototype, "ripple", void 0);
|
686
689
|
i([
|
687
|
-
|
688
|
-
],
|
689
|
-
/**
|
690
|
-
* @license
|
691
|
-
* Copyright 2021 Google LLC
|
692
|
-
* SPDX-LIcense-Identifier: Apache-2.0
|
693
|
-
*/
|
694
|
-
const J = y`.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.mdc-tab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-button-font-size, 0.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:0.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, 0.0892857143em);text-decoration:none;text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-button-text-transform, uppercase);position:relative}.mdc-tab .mdc-tab__text-label{color:rgba(0, 0, 0, 0.6)}.mdc-tab .mdc-tab__icon{color:rgba(0, 0, 0, 0.54);fill:currentColor}.mdc-tab.mdc-ripple-upgraded--background-focused.mdc-tab--active .mdc-tab__focus-ring,.mdc-tab:not(.mdc-ripple-upgraded):focus.mdc-tab--active .mdc-tab__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:8px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc( 100% + -12px );width:calc( 100% + -8px );margin-top:-2px;z-index:2}@media screen and (forced-colors: active){.mdc-tab.mdc-ripple-upgraded--background-focused.mdc-tab--active .mdc-tab__focus-ring,.mdc-tab:not(.mdc-ripple-upgraded):focus.mdc-tab--active .mdc-tab__focus-ring{border-color:CanvasText}}.mdc-tab.mdc-ripple-upgraded--background-focused.mdc-tab--active .mdc-tab__focus-ring::after,.mdc-tab:not(.mdc-ripple-upgraded):focus.mdc-tab--active .mdc-tab__focus-ring::after{content:"";border:2px solid transparent;border-radius:10px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-tab.mdc-ripple-upgraded--background-focused.mdc-tab--active .mdc-tab__focus-ring::after,.mdc-tab:not(.mdc-ripple-upgraded):focus.mdc-tab--active .mdc-tab__focus-ring::after{border-color:CanvasText}}.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__focus-ring,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:8px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc( 100% + -8px );width:calc( 100% + -8px );z-index:2}@media screen and (forced-colors: active){.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__focus-ring,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__focus-ring{border-color:CanvasText}}.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__focus-ring::after,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__focus-ring::after{content:"";border:2px solid transparent;border-radius:10px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__focus-ring::after,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__focus-ring::after{border-color:CanvasText}}.mdc-tab__content{position:relative}.mdc-tab__icon{width:24px;height:24px;font-size:24px}.mdc-tab--active .mdc-tab__text-label{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-tab--active .mdc-tab__icon{color:#6200ee;color:var(--mdc-theme-primary, #6200ee);fill:currentColor}.mdc-tab{background:none}.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-tab{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-tab .mdc-tab__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-tab .mdc-tab__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-tab.mdc-ripple-upgraded--unbounded .mdc-tab__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-tab.mdc-ripple-upgraded--foreground-activation .mdc-tab__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-tab.mdc-ripple-upgraded--foreground-deactivation .mdc-tab__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-tab:hover .mdc-tab__ripple::before,.mdc-tab.mdc-ripple-surface--hover .mdc-tab__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__ripple::before,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-tab:not(.mdc-ripple-upgraded) .mdc-tab__ripple::after{transition:opacity 150ms linear}.mdc-tab:not(.mdc-ripple-upgraded):active .mdc-tab__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-tab.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-tab__ripple{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;will-change:transform,opacity}:host{outline:none;flex:1 0 auto;display:flex;justify-content:center;-webkit-tap-highlight-color:transparent}.mdc-tab{height:var(--mdc-tab-height, 48px);margin-left:0;margin-right:0;padding-right:var(--mdc-tab-horizontal-padding, 24px);padding-left:var(--mdc-tab-horizontal-padding, 24px)}.mdc-tab--stacked{height:var(--mdc-tab-stacked-height, 72px)}.mdc-tab::-moz-focus-inner{border:0}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mdc-tab-text-label-color-default, rgba(0, 0, 0, 0.6))}.mdc-tab:not(.mdc-tab--active) .mdc-tab__icon{color:var(--mdc-tab-color-default, rgba(0, 0, 0, 0.54))}`;
|
690
|
+
O({ passive: !0 })
|
691
|
+
], a.prototype, "handleRippleTouchStart", null);
|
695
692
|
export {
|
696
|
-
|
697
|
-
J as s
|
693
|
+
a as T
|
698
694
|
};
|