@covalent/components 8.23.2 → 9.0.0-beta.2
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/{_commonjsHelpers-2f131a27.mjs → _commonjsHelpers-DjF3Plf2.mjs} +2 -4
- package/action-ribbon.js +5 -6
- package/action-ribbon.mjs +47 -51
- package/alert.js +5 -6
- package/alert.mjs +48 -52
- package/app-shell.js +1 -2
- package/app-shell.mjs +13 -30
- package/{async-directive-99a01ec7.mjs → async-directive-Cx1B9M5C.mjs} +11 -23
- package/{async-directive-4a34f75e.js → async-directive-y3fBDDSk.js} +1 -1
- package/badge.js +1 -2
- package/badge.mjs +10 -12
- package/{base-element-acf30176.mjs → base-element-C-U4OfWx.mjs} +2 -2
- package/{base-element-58a3f9ea.js → base-element-aUDWLn36.js} +1 -1
- package/button.js +2 -3
- package/button.mjs +18 -23
- package/card.js +8 -9
- package/card.mjs +36 -38
- package/check-list-item.js +11 -15
- package/check-list-item.mjs +53 -70
- package/checkbox.js +1 -2
- package/checkbox.mjs +15 -31
- package/{chip-c65a4549.js → chip-BsDYOEFW.js} +31 -32
- package/{chip-fb0ea5c5.mjs → chip-C8L37ovG.mjs} +110 -117
- package/chip-set.js +5 -6
- package/chip-set.mjs +73 -83
- package/chip.js +1 -1
- package/chip.mjs +4 -13
- package/circular-progress.js +1 -1
- package/circular-progress.mjs +9 -10
- package/{class-map-6e504a9a.mjs → class-map-C1SJpero.mjs} +4 -6
- package/{class-map-0a4c6ca9.js → class-map-C8G1ALWK.js} +1 -1
- package/{code-editor-712d0ce9.mjs → code-editor-CxQzms2S.mjs} +13485 -13720
- package/code-editor-hT6MTCL6.js +660 -0
- package/code-editor.js +1 -1
- package/code-editor.mjs +3 -6
- package/code-snippet.js +5 -6
- package/code-snippet.mjs +235 -284
- package/{dialog-78a9fd0e.mjs → dialog-BoNH4r3n.mjs} +23 -25
- package/{dialog-83104700.js → dialog-LUOzoMeO.js} +6 -7
- package/dialog.js +1 -1
- package/dialog.mjs +4 -13
- package/directive-C7oCP5Bh.js +5 -0
- package/{directive-helpers-e3ea6592.mjs → directive-helpers-CllkNDrI.mjs} +1 -1
- package/{directive-helpers-0ce1f995.js → directive-helpers-Duf3sfLn.js} +1 -1
- package/{directive-daf4e9b6.mjs → directive-oAbCiebi.mjs} +4 -4
- package/drawer.js +2 -3
- package/drawer.mjs +7 -17
- package/empty-state.js +2 -3
- package/empty-state.mjs +12 -15
- package/{event-options-3f5eb195.js → event-options-BH8ks-kz.js} +1 -1
- package/{event-options-78d6cf94.mjs → event-options-CNykeE2u.mjs} +1 -1
- package/expansion-panel-item.js +1 -2
- package/expansion-panel-item.mjs +6 -9
- package/expansion-panel.js +1 -1
- package/expansion-panel.mjs +2 -2
- package/focused-page.js +1 -2
- package/focused-page.mjs +13 -16
- package/{form-element-abadd335.mjs → form-element-CxSqbssX.mjs} +4 -4
- package/{form-element-c553d6f5.js → form-element-DwqUbs65.js} +1 -1
- package/formfield.js +6 -7
- package/formfield.mjs +19 -23
- package/{foundation-e980aa3d.js → foundation-CySCCTUE.js} +3 -3
- package/{foundation-d533452a.mjs → foundation-qQ4jzaAu.mjs} +11 -13
- package/full-screen-dialog.js +4 -5
- package/full-screen-dialog.mjs +13 -22
- package/{html-021d0b5b.mjs → html-BFM6gjw5.mjs} +13 -18
- package/html-BMgGKfr0.js +6 -0
- package/icon-button-toggle.js +11 -16
- package/icon-button-toggle.mjs +68 -78
- package/icon-button.js +6 -11
- package/icon-button.mjs +56 -66
- package/icon-check-toggle.js +6 -7
- package/icon-check-toggle.mjs +10 -23
- package/icon-radio-toggle.js +4 -5
- package/icon-radio-toggle.mjs +13 -29
- package/icon.js +1 -5
- package/icon.mjs +13 -20
- package/{if-defined-c367f208.mjs → if-defined-BsNkRMMG.mjs} +1 -1
- package/{if-defined-f1c45245.js → if-defined-D8C6ewRn.js} +1 -1
- package/index.js +1 -1
- package/index.mjs +110 -150
- package/{inert.esm-359d4581.mjs → inert.esm-BJ7IrRxy.mjs} +3 -4
- package/{javascript-5b83986c.js → javascript-20JK5_5Y.js} +1 -1
- package/{javascript-d2604785.mjs → javascript-BVQ0GGQP.mjs} +4 -10
- package/linear-progress.js +2 -3
- package/linear-progress.mjs +12 -14
- package/list-item-BZVW1fmJ.js +5 -0
- package/list-item-DCzzLVZh.mjs +11 -0
- package/list-item.js +5 -5
- package/list-item.mjs +21 -32
- package/list.js +3 -8
- package/list.mjs +18 -38
- package/menu.js +3 -8
- package/menu.mjs +18 -39
- package/{mwc-checkbox.css-b3434429.js → mwc-checkbox.css-Cd0yCOHu.js} +42 -2
- package/{mwc-checkbox.css-8f4f1a9b.mjs → mwc-checkbox.css-MBOzkrQg.mjs} +198 -3
- package/{mwc-drawer-base-bbae43c3.js → mwc-drawer-base-D-48lqfn.js} +5 -5
- package/{mwc-drawer-base-ca75f41f.mjs → mwc-drawer-base-Dgs9327G.mjs} +24 -26
- package/{mwc-icon-5227aec3.mjs → mwc-icon-BZRds8SY.mjs} +6 -5
- package/{mwc-icon-f87639bc.js → mwc-icon-BumH81hp.js} +2 -2
- package/mwc-icon-button.css-BtgKBOl3.js +5 -0
- package/mwc-icon-button.css-DJMY7U7e.mjs +10 -0
- package/{mwc-line-ripple-directive-40145003.js → mwc-line-ripple-directive-DvPWr3ER.js} +1 -1
- package/{mwc-line-ripple-directive-aabd8778.mjs → mwc-line-ripple-directive-zhm5Zc8i.mjs} +7 -7
- package/{list-item-8b940ec8.js → mwc-list-item.css-CtRq5wSu.js} +28 -6
- package/{list-item-ef175b93.mjs → mwc-list-item.css-g34xqhLC.mjs} +199 -9
- package/mwc-list.css-CaMJWsDp.js +111 -0
- package/{mwc-list-base-402e1d8e.mjs → mwc-list.css-DFOdJyFB.mjs} +213 -213
- package/{mwc-menu-base-04586160.mjs → mwc-menu.css-BEiPghgR.mjs} +90 -92
- package/{mwc-menu-base-08f54c38.js → mwc-menu.css-pxcxlTrh.js} +22 -22
- package/mwc-radio.css-CVMtIq-L.js +105 -0
- package/{mwc-radio-base-768b4221.mjs → mwc-radio.css-XRx0vL1k.mjs} +124 -118
- package/{mwc-slider.css-cda43bd0.mjs → mwc-slider.css-2Bqk43z7.mjs} +200 -211
- package/{mwc-slider.css-c5f99704.js → mwc-slider.css-WrkrmqkL.js} +6 -6
- package/{mwc-tab-base-0814a3ef.mjs → mwc-tab.css-B9yQpkYf.mjs} +126 -122
- package/{mwc-tab-base-f2269fd1.js → mwc-tab.css-CgdXMZBB.js} +26 -22
- package/{mwc-top-app-bar-base-8a7f7312.mjs → mwc-top-app-bar-base-B0EW9eNk.mjs} +13 -15
- package/{mwc-top-app-bar-base-8c8cde51.js → mwc-top-app-bar-base-CSXRBOiX.js} +3 -3
- package/nav-list-item.js +4 -5
- package/nav-list-item.mjs +12 -23
- package/notebook-cell.js +8 -9
- package/notebook-cell.mjs +14 -29
- package/package.json +1 -1
- package/python-B8sEpp0H.js +6 -0
- package/{python-0707b744.mjs → python-BRZC-1dQ.mjs} +11 -16
- package/query-BBDQWsft.mjs +15 -0
- package/query-BxDs8ftQ.js +5 -0
- package/{query-assigned-elements-4a39219d.mjs → query-assigned-elements-DCt2xozt.mjs} +32 -57
- package/{query-assigned-nodes-df691e78.mjs → query-assigned-nodes-B9zBfkh6.mjs} +1 -1
- package/{query-assigned-nodes-99eae71d.js → query-assigned-nodes-CckKHm2z.js} +1 -1
- package/radio-list-item.js +9 -13
- package/radio-list-item.mjs +50 -66
- package/radio.js +1 -2
- package/radio.mjs +15 -32
- package/{ripple-handlers-9fb4a31a.js → ripple-handlers-CzfSBjWo.js} +8 -8
- package/{ripple-handlers-8883e893.mjs → ripple-handlers-i3WPEBiO.mjs} +20 -25
- package/select.js +15 -20
- package/select.mjs +196 -213
- package/side-sheet.js +1 -2
- package/side-sheet.mjs +18 -27
- package/slider-range.js +1 -1
- package/slider-range.mjs +15 -19
- package/slider.js +1 -1
- package/slider.mjs +18 -26
- package/snackbar.js +9 -10
- package/snackbar.mjs +30 -33
- package/{state-0974a8e5.js → state-C3HoXfoa.js} +1 -1
- package/{state-b5e865db.mjs → state-DaD9o2aK.mjs} +1 -1
- package/status-dialog/status-dialog.d.ts.map +1 -1
- package/status-dialog.js +15 -37
- package/status-dialog.mjs +47 -116
- package/status-header-item.js +1 -2
- package/status-header-item.mjs +7 -8
- package/status-header.js +4 -5
- package/status-header.mjs +22 -24
- package/{style-map-a135c6ab.js → style-map-BJBXlSqn.js} +1 -1
- package/{style-map-e7ec6d41.mjs → style-map-CCsABR5m.mjs} +4 -6
- package/style.css +1 -1
- package/switch.js +6 -7
- package/switch.mjs +20 -29
- package/tab-bar.js +18 -22
- package/tab-bar.mjs +192 -205
- package/tab.js +1 -6
- package/tab.mjs +13 -31
- package/text-lockup.js +1 -2
- package/text-lockup.mjs +14 -16
- package/textarea.js +15 -19
- package/textarea.mjs +53 -68
- package/textfield-BwmiygD8.js +136 -0
- package/textfield-C6sUZIeA.mjs +927 -0
- package/textfield.js +3 -7
- package/textfield.mjs +17 -37
- package/toolbar.js +1 -2
- package/toolbar.mjs +6 -13
- package/tooltip.js +3 -4
- package/tooltip.mjs +29 -40
- package/{top-app-bar-f83386e0.mjs → top-app-bar-4SA3DjLX.mjs} +2 -3
- package/{top-app-bar-a531c1b4.js → top-app-bar-CGjBuyiD.js} +2 -3
- package/top-app-bar-fixed.js +6 -6
- package/top-app-bar-fixed.mjs +24 -32
- package/top-app-bar.js +3 -3
- package/top-app-bar.mjs +18 -25
- package/tree-list-item.js +1 -2
- package/tree-list-item.mjs +9 -13
- package/tree-list.js +1 -2
- package/tree-list.mjs +6 -7
- package/{tslib.es6-c4b0f3b1.mjs → tslib.es6-pPsSiLLK.mjs} +15 -26
- package/typescript-CqVUCaiQ.js +6 -0
- package/{typescript-399a453a.mjs → typescript-qqbekFoQ.mjs} +10 -15
- package/typography.js +1 -2
- package/typography.mjs +7 -8
- package/code-editor-b36fad77.js +0 -662
- package/directive-1186bc23.js +0 -5
- package/html-b2900c6a.js +0 -6
- package/mwc-checkbox-base-02b4eb91.mjs +0 -198
- package/mwc-checkbox-base-935d9566.js +0 -41
- package/mwc-list-base-22616d0a.js +0 -111
- package/mwc-list-item-base-06d93e6e.js +0 -28
- package/mwc-list-item-base-3c6a3bfb.mjs +0 -202
- package/mwc-radio-base-147cf999.js +0 -101
- package/mwc-radio.css-4e140252.js +0 -5
- package/mwc-radio.css-7454bb11.mjs +0 -10
- package/python-6a1f2ad7.js +0 -6
- package/query-680f1868.js +0 -5
- package/query-d843aa92.mjs +0 -25
- package/textfield-83e78e56.js +0 -133
- package/textfield-853ebae5.mjs +0 -933
- package/typescript-98fbdb3d.js +0 -6
- /package/{_commonjsHelpers-2367a3a2.js → _commonjsHelpers-6jR-N8xe.js} +0 -0
- /package/{aria-property-fa2717fe.mjs → aria-property-6O5bK0tV.mjs} +0 -0
- /package/{aria-property-849c8816.js → aria-property-Dl2ZKBbP.js} +0 -0
- /package/{css-9be95551.js → css-Bn4le2Sp.js} +0 -0
- /package/{css-5dd354ac.mjs → css-DjwjINlv.mjs} +0 -0
- /package/{foundation-2334d146.mjs → foundation-PL3XY-m_.mjs} +0 -0
- /package/{foundation-e830bd94.js → foundation-pgmPu2iJ.js} +0 -0
- /package/{inert.esm-2cee6f2e.js → inert.esm-CNFtJ8pb.js} +0 -0
- /package/{keyboard-983b121c.mjs → keyboard-BLpVBEDM.mjs} +0 -0
- /package/{keyboard-39125691.js → keyboard-CZlaSOb1.js} +0 -0
- /package/{markdown-eae8e3ba.js → markdown-CrnizovQ.js} +0 -0
- /package/{markdown-9b448c46.mjs → markdown-bAu8rWEZ.mjs} +0 -0
- /package/{observer-be7b92e2.mjs → observer-DQ8OfVDQ.mjs} +0 -0
- /package/{observer-a096ab43.js → observer-N9cgkDqh.js} +0 -0
- /package/{property-9b6ea53b.mjs → property-DJzm_oB9.mjs} +0 -0
- /package/{property-57f6f6fe.js → property-DYTC_2-m.js} +0 -0
- /package/{query-assigned-elements-f623705d.js → query-assigned-elements-4CafVNR8.js} +0 -0
- /package/{r-42c6f0aa.js → r-DKABafMl.js} +0 -0
- /package/{r-630f5d6b.mjs → r-rF4J5dF2.mjs} +0 -0
- /package/{sql-63ec8e76.mjs → sql-CL8qgBkR.mjs} +0 -0
- /package/{sql-faf05577.js → sql-CXm05EUD.js} +0 -0
- /package/{tslib.es6-98719205.js → tslib.es6-CHeFCc6E.js} +0 -0
- /package/{utils-dc65fdc9.mjs → utils-Dr5MegQq.mjs} +0 -0
- /package/{utils-a8190a39.js → utils-wMBJ9n_n.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a 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 {
|
|
9
|
-
import { o as
|
|
10
|
-
import { t as
|
|
11
|
-
import { e as
|
|
1
|
+
import { a as b, b as f, _ as i } from "./tslib.es6-pPsSiLLK.mjs";
|
|
2
|
+
import { x as d, i as y, e as R } from "./query-assigned-elements-DCt2xozt.mjs";
|
|
3
|
+
import { B as C } from "./base-element-C-U4OfWx.mjs";
|
|
4
|
+
import { n as r } from "./property-DJzm_oB9.mjs";
|
|
5
|
+
import { i as p } from "./query-BBDQWsft.mjs";
|
|
6
|
+
import { o as g } from "./class-map-C1SJpero.mjs";
|
|
7
|
+
import { a as x } from "./utils-Dr5MegQq.mjs";
|
|
8
|
+
import { R as w, e as T } from "./ripple-handlers-i3WPEBiO.mjs";
|
|
9
|
+
import { o as A } from "./observer-DQ8OfVDQ.mjs";
|
|
10
|
+
import { t as I } from "./state-DaD9o2aK.mjs";
|
|
11
|
+
import { e as E } from "./event-options-CNykeE2u.mjs";
|
|
12
12
|
/**
|
|
13
13
|
* @license
|
|
14
14
|
* Copyright 2016 Google Inc.
|
|
@@ -31,7 +31,7 @@ import { e as O } from "./event-options-78d6cf94.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 O = (
|
|
35
35
|
/** @class */
|
|
36
36
|
function() {
|
|
37
37
|
function e(t) {
|
|
@@ -88,11 +88,11 @@ var D = (
|
|
|
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 k = {
|
|
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
|
+
}, F = {
|
|
96
96
|
CONTENT_SELECTOR: ".mdc-tab-indicator__content"
|
|
97
97
|
};
|
|
98
98
|
/**
|
|
@@ -117,22 +117,22 @@ var w = {
|
|
|
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 c = (
|
|
121
121
|
/** @class */
|
|
122
122
|
function(e) {
|
|
123
|
-
|
|
124
|
-
function t(
|
|
125
|
-
return e.call(this,
|
|
123
|
+
b(t, e);
|
|
124
|
+
function t(a) {
|
|
125
|
+
return e.call(this, f(f({}, t.defaultAdapter), a)) || this;
|
|
126
126
|
}
|
|
127
127
|
return Object.defineProperty(t, "cssClasses", {
|
|
128
128
|
get: function() {
|
|
129
|
-
return
|
|
129
|
+
return k;
|
|
130
130
|
},
|
|
131
131
|
enumerable: !1,
|
|
132
132
|
configurable: !0
|
|
133
133
|
}), Object.defineProperty(t, "strings", {
|
|
134
134
|
get: function() {
|
|
135
|
-
return
|
|
135
|
+
return F;
|
|
136
136
|
},
|
|
137
137
|
enumerable: !1,
|
|
138
138
|
configurable: !0
|
|
@@ -155,7 +155,7 @@ var s = (
|
|
|
155
155
|
}), t.prototype.computeContentClientRect = function() {
|
|
156
156
|
return this.adapter.computeContentClientRect();
|
|
157
157
|
}, t;
|
|
158
|
-
}(
|
|
158
|
+
}(O)
|
|
159
159
|
);
|
|
160
160
|
/**
|
|
161
161
|
* @license
|
|
@@ -179,21 +179,20 @@ var s = (
|
|
|
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 z = (
|
|
183
183
|
/** @class */
|
|
184
184
|
function(e) {
|
|
185
|
-
|
|
185
|
+
b(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(c.cssClasses.ACTIVE);
|
|
191
191
|
}, t.prototype.deactivate = function() {
|
|
192
|
-
this.adapter.removeClass(
|
|
192
|
+
this.adapter.removeClass(c.cssClasses.ACTIVE);
|
|
193
193
|
}, t;
|
|
194
|
-
}(
|
|
194
|
+
}(c)
|
|
195
195
|
);
|
|
196
|
-
const P = L;
|
|
197
196
|
/**
|
|
198
197
|
* @license
|
|
199
198
|
* Copyright 2018 Google Inc.
|
|
@@ -216,37 +215,36 @@ const P = L;
|
|
|
216
215
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
217
216
|
* THE SOFTWARE.
|
|
218
217
|
*/
|
|
219
|
-
var
|
|
218
|
+
var D = (
|
|
220
219
|
/** @class */
|
|
221
220
|
function(e) {
|
|
222
|
-
|
|
221
|
+
b(t, e);
|
|
223
222
|
function t() {
|
|
224
223
|
return e !== null && e.apply(this, arguments) || this;
|
|
225
224
|
}
|
|
226
|
-
return t.prototype.activate = function(
|
|
227
|
-
if (!
|
|
228
|
-
this.adapter.addClass(
|
|
225
|
+
return t.prototype.activate = function(a) {
|
|
226
|
+
if (!a) {
|
|
227
|
+
this.adapter.addClass(c.cssClasses.ACTIVE);
|
|
229
228
|
return;
|
|
230
229
|
}
|
|
231
|
-
var o = this.computeContentClientRect(),
|
|
232
|
-
this.adapter.addClass(
|
|
230
|
+
var o = this.computeContentClientRect(), h = a.width / o.width, m = a.left - o.left;
|
|
231
|
+
this.adapter.addClass(c.cssClasses.NO_TRANSITION), this.adapter.setContentStyleProperty("transform", "translateX(" + m + "px) scaleX(" + h + ")"), this.computeContentClientRect(), this.adapter.removeClass(c.cssClasses.NO_TRANSITION), this.adapter.addClass(c.cssClasses.ACTIVE), this.adapter.setContentStyleProperty("transform", "");
|
|
233
232
|
}, t.prototype.deactivate = function() {
|
|
234
|
-
this.adapter.removeClass(
|
|
233
|
+
this.adapter.removeClass(c.cssClasses.ACTIVE);
|
|
235
234
|
}, t;
|
|
236
|
-
}(
|
|
235
|
+
}(c)
|
|
237
236
|
);
|
|
238
|
-
const S = M;
|
|
239
237
|
/**
|
|
240
238
|
* @license
|
|
241
239
|
* Copyright 2018 Google LLC
|
|
242
240
|
* SPDX-License-Identifier: Apache-2.0
|
|
243
241
|
*/
|
|
244
|
-
class
|
|
242
|
+
class l extends C {
|
|
245
243
|
constructor() {
|
|
246
244
|
super(...arguments), this.icon = "", this.fade = !1;
|
|
247
245
|
}
|
|
248
246
|
get mdcFoundationClass() {
|
|
249
|
-
return this.fade ?
|
|
247
|
+
return this.fade ? z : D;
|
|
250
248
|
}
|
|
251
249
|
render() {
|
|
252
250
|
const t = {
|
|
@@ -254,11 +252,11 @@ class u extends g {
|
|
|
254
252
|
"material-icons": this.icon,
|
|
255
253
|
"mdc-tab-indicator__content--underline": !this.icon
|
|
256
254
|
};
|
|
257
|
-
return
|
|
258
|
-
<span class="mdc-tab-indicator ${
|
|
255
|
+
return d`
|
|
256
|
+
<span class="mdc-tab-indicator ${g({
|
|
259
257
|
"mdc-tab-indicator--fade": this.fade
|
|
260
258
|
})}">
|
|
261
|
-
<span class="mdc-tab-indicator__content ${
|
|
259
|
+
<span class="mdc-tab-indicator__content ${g(t)}">${this.icon}</span>
|
|
262
260
|
</span>
|
|
263
261
|
`;
|
|
264
262
|
}
|
|
@@ -266,7 +264,7 @@ class u extends g {
|
|
|
266
264
|
t.has("fade") && this.createFoundation();
|
|
267
265
|
}
|
|
268
266
|
createAdapter() {
|
|
269
|
-
return Object.assign(Object.assign({},
|
|
267
|
+
return Object.assign(Object.assign({}, x(this.mdcRoot)), { computeContentClientRect: () => this.contentElement.getBoundingClientRect(), setContentStyleProperty: (t, a) => this.contentElement.style.setProperty(t, a) });
|
|
270
268
|
}
|
|
271
269
|
computeContentClientRect() {
|
|
272
270
|
return this.mdcFoundation.computeContentClientRect();
|
|
@@ -279,34 +277,34 @@ class u extends g {
|
|
|
279
277
|
}
|
|
280
278
|
}
|
|
281
279
|
i([
|
|
282
|
-
|
|
283
|
-
],
|
|
280
|
+
p(".mdc-tab-indicator")
|
|
281
|
+
], l.prototype, "mdcRoot", void 0);
|
|
284
282
|
i([
|
|
285
|
-
|
|
286
|
-
],
|
|
283
|
+
p(".mdc-tab-indicator__content")
|
|
284
|
+
], l.prototype, "contentElement", void 0);
|
|
287
285
|
i([
|
|
288
286
|
r()
|
|
289
|
-
],
|
|
287
|
+
], l.prototype, "icon", void 0);
|
|
290
288
|
i([
|
|
291
289
|
r({ type: Boolean })
|
|
292
|
-
],
|
|
290
|
+
], l.prototype, "fade", void 0);
|
|
293
291
|
/**
|
|
294
292
|
* @license
|
|
295
293
|
* Copyright 2021 Google LLC
|
|
296
294
|
* SPDX-LIcense-Identifier: Apache-2.0
|
|
297
295
|
*/
|
|
298
|
-
const
|
|
296
|
+
const $ = 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-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}`;
|
|
299
297
|
/**
|
|
300
298
|
* @license
|
|
301
299
|
* Copyright 2018 Google LLC
|
|
302
300
|
* SPDX-License-Identifier: Apache-2.0
|
|
303
301
|
*/
|
|
304
|
-
let
|
|
302
|
+
let _ = class extends l {
|
|
305
303
|
};
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
],
|
|
304
|
+
_.styles = [$];
|
|
305
|
+
_ = i([
|
|
306
|
+
R("mwc-tab-indicator")
|
|
307
|
+
], _);
|
|
310
308
|
/**
|
|
311
309
|
* @license
|
|
312
310
|
* Copyright 2016 Google Inc.
|
|
@@ -329,7 +327,7 @@ C = i([
|
|
|
329
327
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
330
328
|
* THE SOFTWARE.
|
|
331
329
|
*/
|
|
332
|
-
var
|
|
330
|
+
var L = (
|
|
333
331
|
/** @class */
|
|
334
332
|
function() {
|
|
335
333
|
function e(t) {
|
|
@@ -386,9 +384,9 @@ var B = (
|
|
|
386
384
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
387
385
|
* THE SOFTWARE.
|
|
388
386
|
*/
|
|
389
|
-
var
|
|
387
|
+
var u = {
|
|
390
388
|
ACTIVE: "mdc-tab--active"
|
|
391
|
-
},
|
|
389
|
+
}, s = {
|
|
392
390
|
ARIA_SELECTED: "aria-selected",
|
|
393
391
|
CONTENT_SELECTOR: ".mdc-tab__content",
|
|
394
392
|
INTERACTED_EVENT: "MDCTab:interacted",
|
|
@@ -418,23 +416,23 @@ var f = {
|
|
|
418
416
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
419
417
|
* THE SOFTWARE.
|
|
420
418
|
*/
|
|
421
|
-
var
|
|
419
|
+
var v = (
|
|
422
420
|
/** @class */
|
|
423
421
|
function(e) {
|
|
424
|
-
|
|
425
|
-
function t(
|
|
426
|
-
var o = e.call(this,
|
|
422
|
+
b(t, e);
|
|
423
|
+
function t(a) {
|
|
424
|
+
var o = e.call(this, f(f({}, t.defaultAdapter), a)) || this;
|
|
427
425
|
return o.focusOnActivate = !0, o;
|
|
428
426
|
}
|
|
429
427
|
return Object.defineProperty(t, "cssClasses", {
|
|
430
428
|
get: function() {
|
|
431
|
-
return
|
|
429
|
+
return u;
|
|
432
430
|
},
|
|
433
431
|
enumerable: !1,
|
|
434
432
|
configurable: !0
|
|
435
433
|
}), Object.defineProperty(t, "strings", {
|
|
436
434
|
get: function() {
|
|
437
|
-
return
|
|
435
|
+
return s;
|
|
438
436
|
},
|
|
439
437
|
enumerable: !1,
|
|
440
438
|
configurable: !0
|
|
@@ -477,34 +475,33 @@ var N = (
|
|
|
477
475
|
}), t.prototype.handleClick = function() {
|
|
478
476
|
this.adapter.notifyInteracted();
|
|
479
477
|
}, t.prototype.isActive = function() {
|
|
480
|
-
return this.adapter.hasClass(
|
|
481
|
-
}, t.prototype.setFocusOnActivate = function(
|
|
482
|
-
this.focusOnActivate =
|
|
483
|
-
}, t.prototype.activate = function(
|
|
484
|
-
this.adapter.addClass(
|
|
478
|
+
return this.adapter.hasClass(u.ACTIVE);
|
|
479
|
+
}, t.prototype.setFocusOnActivate = function(a) {
|
|
480
|
+
this.focusOnActivate = a;
|
|
481
|
+
}, t.prototype.activate = function(a) {
|
|
482
|
+
this.adapter.addClass(u.ACTIVE), this.adapter.setAttr(s.ARIA_SELECTED, "true"), this.adapter.setAttr(s.TABINDEX, "0"), this.adapter.activateIndicator(a), this.focusOnActivate && this.adapter.focus();
|
|
485
483
|
}, t.prototype.deactivate = function() {
|
|
486
|
-
this.isActive() && (this.adapter.removeClass(
|
|
484
|
+
this.isActive() && (this.adapter.removeClass(u.ACTIVE), this.adapter.setAttr(s.ARIA_SELECTED, "false"), this.adapter.setAttr(s.TABINDEX, "-1"), this.adapter.deactivateIndicator());
|
|
487
485
|
}, t.prototype.computeDimensions = function() {
|
|
488
|
-
var
|
|
486
|
+
var a = this.adapter.getOffsetWidth(), o = this.adapter.getOffsetLeft(), h = this.adapter.getContentOffsetWidth(), m = this.adapter.getContentOffsetLeft();
|
|
489
487
|
return {
|
|
490
|
-
contentLeft: o +
|
|
491
|
-
contentRight: o +
|
|
488
|
+
contentLeft: o + m,
|
|
489
|
+
contentRight: o + m + h,
|
|
492
490
|
rootLeft: o,
|
|
493
|
-
rootRight: o +
|
|
491
|
+
rootRight: o + a
|
|
494
492
|
};
|
|
495
493
|
}, t;
|
|
496
|
-
}(
|
|
494
|
+
}(L)
|
|
497
495
|
);
|
|
498
|
-
const y = N;
|
|
499
496
|
/**
|
|
500
497
|
* @license
|
|
501
498
|
* Copyright 2018 Google LLC
|
|
502
499
|
* SPDX-License-Identifier: Apache-2.0
|
|
503
500
|
*/
|
|
504
|
-
let
|
|
505
|
-
class
|
|
501
|
+
let P = 0;
|
|
502
|
+
class n extends C {
|
|
506
503
|
constructor() {
|
|
507
|
-
super(...arguments), this.mdcFoundationClass =
|
|
504
|
+
super(...arguments), this.mdcFoundationClass = v, 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 w(() => (this.shouldRenderRipple = !0, this.ripple.then((t) => this.rippleElement = t), this.ripple));
|
|
508
505
|
}
|
|
509
506
|
get active() {
|
|
510
507
|
return this._active;
|
|
@@ -513,22 +510,22 @@ class a extends g {
|
|
|
513
510
|
this.dir = document.dir, super.connectedCallback();
|
|
514
511
|
}
|
|
515
512
|
firstUpdated() {
|
|
516
|
-
super.firstUpdated(), this.id = this.id || `mdc-tab-${++
|
|
513
|
+
super.firstUpdated(), this.id = this.id || `mdc-tab-${++P}`;
|
|
517
514
|
}
|
|
518
515
|
render() {
|
|
519
516
|
const t = {
|
|
520
517
|
"mdc-tab--min-width": this.minWidth,
|
|
521
518
|
"mdc-tab--stacked": this.stacked
|
|
522
519
|
};
|
|
523
|
-
let
|
|
524
|
-
(this.hasImageIcon || this.icon) && (
|
|
520
|
+
let a = d``;
|
|
521
|
+
(this.hasImageIcon || this.icon) && (a = d`
|
|
525
522
|
<span class="mdc-tab__icon material-icons"><slot name="icon">${this.icon}</slot></span>`);
|
|
526
|
-
let o =
|
|
527
|
-
return this.label && (o =
|
|
528
|
-
<span class="mdc-tab__text-label">${this.label}</span>`),
|
|
523
|
+
let o = d``;
|
|
524
|
+
return this.label && (o = d`
|
|
525
|
+
<span class="mdc-tab__text-label">${this.label}</span>`), d`
|
|
529
526
|
<button
|
|
530
527
|
@click="${this.handleClick}"
|
|
531
|
-
class="mdc-tab ${
|
|
528
|
+
class="mdc-tab ${g(t)}"
|
|
532
529
|
role="tab"
|
|
533
530
|
aria-selected="false"
|
|
534
531
|
tabindex="-1"
|
|
@@ -541,7 +538,7 @@ class a extends g {
|
|
|
541
538
|
@touchend="${this.handleRippleDeactivate}"
|
|
542
539
|
@touchcancel="${this.handleRippleDeactivate}">
|
|
543
540
|
<span class="mdc-tab__content">
|
|
544
|
-
${
|
|
541
|
+
${a}
|
|
545
542
|
${o}
|
|
546
543
|
${this.isMinWidthIndicator ? this.renderIndicator() : ""}
|
|
547
544
|
</span>
|
|
@@ -550,22 +547,22 @@ class a extends g {
|
|
|
550
547
|
</button>`;
|
|
551
548
|
}
|
|
552
549
|
renderIndicator() {
|
|
553
|
-
return
|
|
550
|
+
return d`<mwc-tab-indicator
|
|
554
551
|
.icon="${this.indicatorIcon}"
|
|
555
552
|
.fade="${this.isFadingIndicator}"></mwc-tab-indicator>`;
|
|
556
553
|
}
|
|
557
554
|
// TODO(dfreedm): Make this use selected as a param after Polymer/internal#739
|
|
558
555
|
/** @soyCompatible */
|
|
559
556
|
renderRipple() {
|
|
560
|
-
return this.shouldRenderRipple ?
|
|
557
|
+
return this.shouldRenderRipple ? d`<mwc-ripple primary
|
|
561
558
|
.internalUseStateLayerCustomProperties="${this.useStateLayerCustomProperties}"></mwc-ripple>` : "";
|
|
562
559
|
}
|
|
563
560
|
createAdapter() {
|
|
564
|
-
return Object.assign(Object.assign({},
|
|
561
|
+
return Object.assign(Object.assign({}, x(this.mdcRoot)), { setAttr: (t, a) => this.mdcRoot.setAttribute(t, a), activateIndicator: async (t) => {
|
|
565
562
|
await this.tabIndicator.updateComplete, this.tabIndicator.activate(t);
|
|
566
563
|
}, deactivateIndicator: async () => {
|
|
567
564
|
await this.tabIndicator.updateComplete, this.tabIndicator.deactivate();
|
|
568
|
-
}, notifyInteracted: () => this.dispatchEvent(new CustomEvent(
|
|
565
|
+
}, notifyInteracted: () => this.dispatchEvent(new CustomEvent(v.strings.INTERACTED_EVENT, {
|
|
569
566
|
detail: { tabId: this.id },
|
|
570
567
|
bubbles: !0,
|
|
571
568
|
composed: !0,
|
|
@@ -583,8 +580,8 @@ class a extends g {
|
|
|
583
580
|
this.mdcFoundation.deactivate(), this.setActive(this.mdcFoundation.isActive());
|
|
584
581
|
}
|
|
585
582
|
setActive(t) {
|
|
586
|
-
const
|
|
587
|
-
|
|
583
|
+
const a = this.active;
|
|
584
|
+
a !== t && (this._active = t, this.requestUpdate("active", a));
|
|
588
585
|
}
|
|
589
586
|
computeDimensions() {
|
|
590
587
|
return this.mdcFoundation.computeDimensions();
|
|
@@ -606,10 +603,10 @@ class a extends g {
|
|
|
606
603
|
this.handleRippleBlur();
|
|
607
604
|
}
|
|
608
605
|
handleRippleMouseDown(t) {
|
|
609
|
-
const
|
|
610
|
-
window.removeEventListener("mouseup",
|
|
606
|
+
const a = () => {
|
|
607
|
+
window.removeEventListener("mouseup", a), this.handleRippleDeactivate();
|
|
611
608
|
};
|
|
612
|
-
window.addEventListener("mouseup",
|
|
609
|
+
window.addEventListener("mouseup", a), this.rippleHandlers.startPress(t);
|
|
613
610
|
}
|
|
614
611
|
handleRippleTouchStart(t) {
|
|
615
612
|
this.rippleHandlers.startPress(t);
|
|
@@ -634,61 +631,68 @@ class a extends g {
|
|
|
634
631
|
return ((t = this.rippleElement) === null || t === void 0 ? void 0 : t.isActive) || !1;
|
|
635
632
|
}
|
|
636
633
|
}
|
|
637
|
-
|
|
634
|
+
n.shadowRootOptions = { mode: "open", delegatesFocus: !0 };
|
|
638
635
|
i([
|
|
639
|
-
|
|
640
|
-
],
|
|
636
|
+
p(".mdc-tab")
|
|
637
|
+
], n.prototype, "mdcRoot", void 0);
|
|
641
638
|
i([
|
|
642
|
-
|
|
643
|
-
],
|
|
639
|
+
p("mwc-tab-indicator")
|
|
640
|
+
], n.prototype, "tabIndicator", void 0);
|
|
644
641
|
i([
|
|
645
642
|
r()
|
|
646
|
-
],
|
|
643
|
+
], n.prototype, "label", void 0);
|
|
647
644
|
i([
|
|
648
645
|
r()
|
|
649
|
-
],
|
|
646
|
+
], n.prototype, "icon", void 0);
|
|
650
647
|
i([
|
|
651
648
|
r({ type: Boolean })
|
|
652
|
-
],
|
|
649
|
+
], n.prototype, "hasImageIcon", void 0);
|
|
653
650
|
i([
|
|
654
651
|
r({ type: Boolean })
|
|
655
|
-
],
|
|
652
|
+
], n.prototype, "isFadingIndicator", void 0);
|
|
656
653
|
i([
|
|
657
654
|
r({ type: Boolean })
|
|
658
|
-
],
|
|
655
|
+
], n.prototype, "minWidth", void 0);
|
|
659
656
|
i([
|
|
660
657
|
r({ type: Boolean })
|
|
661
|
-
],
|
|
658
|
+
], n.prototype, "isMinWidthIndicator", void 0);
|
|
662
659
|
i([
|
|
663
660
|
r({ type: Boolean, reflect: !0, attribute: "active" })
|
|
664
|
-
],
|
|
661
|
+
], n.prototype, "active", null);
|
|
665
662
|
i([
|
|
666
663
|
r()
|
|
667
|
-
],
|
|
664
|
+
], n.prototype, "indicatorIcon", void 0);
|
|
668
665
|
i([
|
|
669
666
|
r({ type: Boolean })
|
|
670
|
-
],
|
|
667
|
+
], n.prototype, "stacked", void 0);
|
|
671
668
|
i([
|
|
672
|
-
|
|
669
|
+
A(async function(e) {
|
|
673
670
|
await this.updateComplete, this.mdcFoundation.setFocusOnActivate(e);
|
|
674
671
|
}),
|
|
675
672
|
r({ type: Boolean })
|
|
676
|
-
],
|
|
673
|
+
], n.prototype, "focusOnActivate", void 0);
|
|
677
674
|
i([
|
|
678
|
-
|
|
679
|
-
],
|
|
675
|
+
p(".mdc-tab__content")
|
|
676
|
+
], n.prototype, "_contentElement", void 0);
|
|
680
677
|
i([
|
|
681
|
-
|
|
682
|
-
],
|
|
678
|
+
I()
|
|
679
|
+
], n.prototype, "shouldRenderRipple", void 0);
|
|
683
680
|
i([
|
|
684
|
-
|
|
685
|
-
],
|
|
681
|
+
I()
|
|
682
|
+
], n.prototype, "useStateLayerCustomProperties", void 0);
|
|
686
683
|
i([
|
|
687
684
|
T("mwc-ripple")
|
|
688
|
-
],
|
|
685
|
+
], n.prototype, "ripple", void 0);
|
|
689
686
|
i([
|
|
690
|
-
|
|
691
|
-
],
|
|
687
|
+
E({ passive: !0 })
|
|
688
|
+
], n.prototype, "handleRippleTouchStart", null);
|
|
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))}`;
|
|
692
695
|
export {
|
|
693
|
-
|
|
696
|
+
n as T,
|
|
697
|
+
J as s
|
|
694
698
|
};
|