@covalent/components 6.3.0-beta.4 → 6.4.0
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 +6 -6
- package/action-ribbon.mjs +23 -24
- package/alert.js +4 -4
- package/alert.mjs +27 -28
- package/app-shell/app-shell.d.ts +0 -13
- package/app-shell/app-shell.d.ts.map +1 -1
- package/app-shell.js +12 -20
- package/app-shell.mjs +54 -85
- package/{base-element-d5abe37a.js → base-element-58a3f9ea.js} +1 -1
- package/{base-element-c3dc926e.mjs → base-element-67ae173f.mjs} +2 -2
- package/button.js +4 -4
- package/button.mjs +13 -13
- package/card.js +8 -8
- package/card.mjs +4 -4
- package/check-list-item.js +3 -3
- package/check-list-item.mjs +16 -16
- package/checkbox.js +1 -1
- package/checkbox.mjs +15 -15
- package/circular-progress.js +7 -7
- package/circular-progress.mjs +6 -6
- package/class-map-4b94b017.mjs +62 -0
- package/class-map-b5efe8da.js +9 -0
- package/code-snippet.js +9 -9
- package/code-snippet.mjs +1276 -1213
- package/{dialog-8ee07177.js → dialog-79036d60.js} +4 -4
- package/{dialog-85c21333.mjs → dialog-9ac44447.mjs} +39 -39
- package/dialog.js +1 -1
- package/dialog.mjs +8 -8
- package/{directive-helpers-fce8cf91.js → directive-helpers-0ce1f995.js} +2 -2
- package/{directive-helpers-725a181d.mjs → directive-helpers-e3ea6592.mjs} +3 -3
- package/drawer.js +1 -1
- package/drawer.mjs +8 -8
- package/empty-state.js +7 -7
- package/empty-state.mjs +4 -4
- package/{event-options-7bc382d8.js → event-options-3f5eb195.js} +1 -1
- package/{event-options-3937d997.mjs → event-options-78d6cf94.mjs} +1 -1
- package/{form-element-6dbd7afa.mjs → form-element-bd973124.mjs} +4 -4
- package/{form-element-d4e7bcdb.js → form-element-ead758d4.js} +2 -2
- package/{foundation-c580100a.mjs → foundation-3f556da7.mjs} +78 -28
- package/{foundation-3f55a9dc.js → foundation-62d4413d.js} +24 -3
- package/icon-button.js +5 -5
- package/icon-button.mjs +12 -12
- package/icon-check-toggle.js +5 -5
- package/icon-check-toggle.mjs +15 -15
- package/icon-radio-toggle.js +4 -4
- package/icon-radio-toggle.mjs +15 -15
- package/icon.js +1 -1
- package/icon.mjs +3 -3
- package/{if-defined-639ed018.mjs → if-defined-c367f208.mjs} +1 -1
- package/if-defined-f1c45245.js +5 -0
- package/index.js +1 -1
- package/index.mjs +120 -121
- package/linear-progress.js +6 -6
- package/linear-progress.mjs +13 -13
- package/list/list-expansion.d.ts +4 -1
- package/list/list-expansion.d.ts.map +1 -1
- package/list/list-item.d.ts +2 -0
- package/list/list-item.d.ts.map +1 -1
- package/list/list.d.ts +5 -0
- package/list/list.d.ts.map +1 -1
- package/list/nav-list-item.d.ts +1 -0
- package/list/nav-list-item.d.ts.map +1 -1
- package/list-05db7fed.js +5 -0
- package/list-066f5de4.mjs +45 -0
- package/list-expansion.js +9 -11
- package/list-expansion.mjs +53 -47
- package/list-item-8da7ba96.js +9 -0
- package/list-item-ba77097d.mjs +44 -0
- package/list-item.js +1 -1
- package/list-item.mjs +13 -13
- package/list.js +1 -6
- package/list.mjs +17 -38
- package/menu.js +1 -1
- package/menu.mjs +15 -15
- package/{mwc-checkbox-base-10e977f2.mjs → mwc-checkbox-base-3da36456.mjs} +21 -21
- package/{mwc-checkbox-base-435c1f1d.js → mwc-checkbox-base-d46c7666.js} +9 -9
- package/{mwc-checkbox.css-b7abc7fd.mjs → mwc-checkbox.css-8f4f1a9b.mjs} +1 -1
- package/{mwc-checkbox.css-956e3d6c.js → mwc-checkbox.css-b3434429.js} +1 -1
- package/{mwc-drawer-base-f44fcf34.js → mwc-drawer-base-8eecb1de.js} +6 -6
- package/{mwc-drawer-base-b2b772c3.mjs → mwc-drawer-base-fe660bdf.mjs} +10 -10
- package/{mwc-icon-b96fb867.js → mwc-icon-8c9cd0c9.js} +2 -2
- package/{mwc-icon-c7013880.mjs → mwc-icon-ba18383d.mjs} +2 -2
- package/{mwc-line-ripple-directive-a97ce725.js → mwc-line-ripple-directive-d1cf9570.js} +3 -3
- package/{mwc-line-ripple-directive-c3e1f04a.mjs → mwc-line-ripple-directive-ffce2cff.mjs} +6 -6
- package/{mwc-list-base-c0f8af1c.mjs → mwc-list-base-32d4ac31.mjs} +9 -9
- package/{mwc-list-base-7d5f7278.js → mwc-list-base-cb3500b4.js} +4 -4
- package/{mwc-list-item-base-803b9771.js → mwc-list-item-base-4a4d1e1b.js} +8 -8
- package/{mwc-list-item-base-acef0223.mjs → mwc-list-item-base-8654347d.mjs} +7 -7
- package/{mwc-list-item.css-401e2407.js → mwc-list-item.css-25adc0c4.js} +1 -1
- package/{mwc-list-item.css-b5481d96.mjs → mwc-list-item.css-b0009fc7.mjs} +1 -1
- package/{mwc-menu-base-8970b43d.mjs → mwc-menu-base-572a76b9.mjs} +11 -11
- package/{mwc-menu-base-ac49fe54.js → mwc-menu-base-f14ec544.js} +17 -17
- package/{mwc-radio-base-442d495a.js → mwc-radio-base-470b4fcc.js} +4 -4
- package/{mwc-radio-base-c29e6f42.mjs → mwc-radio-base-9446d39b.mjs} +11 -11
- package/{mwc-radio.css-388ad26d.js → mwc-radio.css-4e140252.js} +1 -1
- package/{mwc-radio.css-4694aa9c.mjs → mwc-radio.css-7454bb11.mjs} +1 -1
- package/{mwc-slider.css-336f809b.mjs → mwc-slider.css-10adbaf8.mjs} +12 -12
- package/{mwc-slider.css-48f02f1e.js → mwc-slider.css-9dd57b10.js} +11 -11
- package/{mwc-tab-base-7fb3d339.mjs → mwc-tab-base-4ba47acc.mjs} +14 -14
- package/{mwc-tab-base-1a19b299.js → mwc-tab-base-fc3ffb43.js} +13 -13
- package/{mwc-top-app-bar-base-14e0a018.js → mwc-top-app-bar-base-0304e67f.js} +8 -8
- package/{mwc-top-app-bar-base-79c87e69.mjs → mwc-top-app-bar-base-adc4168a.mjs} +22 -24
- package/nav-list-item.js +10 -10
- package/nav-list-item.mjs +31 -28
- package/package.json +1 -2
- package/{property-074570d1.js → property-57f6f6fe.js} +1 -1
- package/{property-ca27685b.mjs → property-9b6ea53b.mjs} +9 -9
- package/{query-2ba749b7.js → query-680f1868.js} +1 -1
- package/{query-assigned-elements-514e5265.mjs → query-assigned-elements-4a39219d.mjs} +153 -152
- package/query-assigned-elements-f623705d.js +31 -0
- package/{query-assigned-nodes-9ec0fa5f.js → query-assigned-nodes-99eae71d.js} +1 -1
- package/{query-assigned-nodes-bea12e0c.mjs → query-assigned-nodes-df691e78.mjs} +1 -1
- package/{query-1e7846ea.mjs → query-d843aa92.mjs} +1 -1
- package/radio-list-item.js +3 -3
- package/radio-list-item.mjs +18 -18
- package/radio.js +1 -1
- package/radio.mjs +15 -15
- package/{ripple-handlers-227497d3.mjs → ripple-handlers-321219b8.mjs} +10 -10
- package/{ripple-handlers-2176f137.js → ripple-handlers-c82b1232.js} +5 -5
- package/select.js +10 -10
- package/select.mjs +20 -20
- package/side-sheet.js +2 -2
- package/side-sheet.mjs +21 -21
- package/slider-range.js +7 -7
- package/slider-range.mjs +13 -13
- package/slider.js +3 -3
- package/slider.mjs +15 -15
- package/snackbar.js +6 -6
- package/snackbar.mjs +12 -12
- package/state-0974a8e5.js +5 -0
- package/{state-6f7e570d.mjs → state-b5e865db.mjs} +1 -1
- package/status-header-item.js +3 -3
- package/status-header-item.mjs +15 -15
- package/status-header.js +2 -2
- package/status-header.mjs +3 -3
- package/style-map-88d2563f.js +5 -0
- package/style-map-bc3ed3e0.mjs +44 -0
- package/style.css +1 -1
- package/switch.js +8 -8
- package/switch.mjs +13 -13
- package/tab-bar.js +5 -5
- package/tab-bar.mjs +16 -16
- package/tab.js +1 -1
- package/tab.mjs +12 -12
- package/text-lockup.js +4 -4
- package/text-lockup.mjs +7 -7
- package/textarea.js +4 -4
- package/textarea.mjs +26 -26
- package/{textfield-507c6a06.js → textfield-0993c163.js} +12 -12
- package/{textfield-276b0ded.mjs → textfield-2cee5a1a.mjs} +14 -14
- package/textfield.js +1 -1
- package/textfield.mjs +14 -14
- package/toolbar.js +1 -1
- package/toolbar.mjs +8 -8
- package/tooltip/tooltip.d.ts.map +1 -1
- package/tooltip.js +32 -11
- package/tooltip.mjs +611 -516
- package/{top-app-bar-34e85527.js → top-app-bar-a531c1b4.js} +1 -1
- package/{top-app-bar-a236c3bc.mjs → top-app-bar-f83386e0.mjs} +1 -1
- package/top-app-bar-fixed.js +89 -5
- package/top-app-bar-fixed.mjs +279 -37
- package/top-app-bar.js +1 -1
- package/top-app-bar.mjs +9 -9
- package/tree-list-item.js +7 -7
- package/tree-list-item.mjs +6 -6
- package/tree-list.js +2 -2
- package/tree-list.mjs +1 -1
- package/tslib.es6-e6a11c8a.js +1 -0
- package/tslib.es6-f1eaf65c.mjs +82 -0
- package/typography.js +3 -3
- package/typography.mjs +2 -2
- package/{utils-dc65fdc9.mjs → utils-2932417c.mjs} +2 -2
- package/class-map-08c84aeb.mjs +0 -62
- package/class-map-50b8edb4.js +0 -9
- package/foundation-2334d146.mjs +0 -60
- package/foundation-e830bd94.js +0 -22
- package/if-defined-cb12d481.js +0 -5
- package/list-item-1c65e4db.mjs +0 -32
- package/list-item-ee331821.js +0 -8
- package/query-assigned-elements-07e38f46.js +0 -33
- package/state-949232e6.js +0 -5
- package/style-map-2cb0fb63.mjs +0 -40
- package/style-map-3056a771.js +0 -5
- package/tslib.es6-6b53b818.js +0 -1
- package/tslib.es6-b5e819a6.mjs +0 -82
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import { B as _ } from "./base-element-
|
5
|
-
import { a as A, s as S } from "./utils-
|
6
|
-
import { i as g } from "./query-
|
7
|
-
import { o as h } from "./class-map-
|
1
|
+
import { _ as f, a as u, b as s } from "./tslib.es6-f1eaf65c.mjs";
|
2
|
+
import { n as p } from "./property-9b6ea53b.mjs";
|
3
|
+
import { x as c } from "./query-assigned-elements-4a39219d.mjs";
|
4
|
+
import { B as _ } from "./base-element-67ae173f.mjs";
|
5
|
+
import { a as A, s as S } from "./utils-2932417c.mjs";
|
6
|
+
import { i as g } from "./query-d843aa92.mjs";
|
7
|
+
import { o as h } from "./class-map-4b94b017.mjs";
|
8
8
|
/**
|
9
9
|
* @license
|
10
10
|
* Copyright 2018 Google Inc.
|
@@ -65,7 +65,7 @@ var v = {
|
|
65
65
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
66
66
|
* THE SOFTWARE.
|
67
67
|
*/
|
68
|
-
var
|
68
|
+
var B = (
|
69
69
|
/** @class */
|
70
70
|
function() {
|
71
71
|
function r(e) {
|
@@ -122,7 +122,7 @@ var y = (
|
|
122
122
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
123
123
|
* THE SOFTWARE.
|
124
124
|
*/
|
125
|
-
var
|
125
|
+
var y = (
|
126
126
|
/** @class */
|
127
127
|
function(r) {
|
128
128
|
f(e, r);
|
@@ -182,7 +182,7 @@ var B = (
|
|
182
182
|
}, e.prototype.handleNavigationClick = function() {
|
183
183
|
this.adapter.notifyNavigationIconClicked();
|
184
184
|
}, e;
|
185
|
-
}(
|
185
|
+
}(B)
|
186
186
|
);
|
187
187
|
/**
|
188
188
|
* @license
|
@@ -211,14 +211,14 @@ var n = 0, C = (
|
|
211
211
|
function(r) {
|
212
212
|
f(e, r);
|
213
213
|
function e(t) {
|
214
|
-
var
|
215
|
-
return
|
214
|
+
var i = r.call(this, t) || this;
|
215
|
+
return i.wasDocked = !0, i.isDockedShowing = !0, i.currentAppBarOffsetTop = 0, i.isCurrentlyBeingResized = !1, i.resizeThrottleId = n, i.resizeDebounceId = n, i.lastScrollPosition = i.adapter.getViewportScrollY(), i.topAppBarHeight = i.adapter.getTopAppBarHeight(), i;
|
216
216
|
}
|
217
217
|
return e.prototype.destroy = function() {
|
218
218
|
r.prototype.destroy.call(this), this.adapter.setStyle("top", "");
|
219
219
|
}, e.prototype.handleTargetScroll = function() {
|
220
|
-
var t = Math.max(this.adapter.getViewportScrollY(), 0),
|
221
|
-
this.lastScrollPosition = t, this.isCurrentlyBeingResized || (this.currentAppBarOffsetTop -=
|
220
|
+
var t = Math.max(this.adapter.getViewportScrollY(), 0), i = t - this.lastScrollPosition;
|
221
|
+
this.lastScrollPosition = t, this.isCurrentlyBeingResized || (this.currentAppBarOffsetTop -= i, this.currentAppBarOffsetTop > 0 ? this.currentAppBarOffsetTop = 0 : Math.abs(this.currentAppBarOffsetTop) > this.topAppBarHeight && (this.currentAppBarOffsetTop = -this.topAppBarHeight), this.moveTopAppBar());
|
222
222
|
}, e.prototype.handleWindowResize = function() {
|
223
223
|
var t = this;
|
224
224
|
this.resizeThrottleId || (this.resizeThrottleId = setTimeout(function() {
|
@@ -227,7 +227,7 @@ var n = 0, C = (
|
|
227
227
|
t.handleTargetScroll(), t.isCurrentlyBeingResized = !1, t.resizeDebounceId = n;
|
228
228
|
}, a.DEBOUNCE_THROTTLE_RESIZE_TIME_MS);
|
229
229
|
}, e.prototype.checkForUpdate = function() {
|
230
|
-
var t = -this.topAppBarHeight,
|
230
|
+
var t = -this.topAppBarHeight, i = this.currentAppBarOffsetTop < 0, l = this.currentAppBarOffsetTop > t, d = i && l;
|
231
231
|
if (d)
|
232
232
|
this.wasDocked = !1;
|
233
233
|
else if (this.wasDocked) {
|
@@ -245,7 +245,7 @@ var n = 0, C = (
|
|
245
245
|
var t = this.adapter.getTopAppBarHeight();
|
246
246
|
this.topAppBarHeight !== t && (this.wasDocked = !1, this.currentAppBarOffsetTop -= this.topAppBarHeight - t, this.topAppBarHeight = t), this.handleTargetScroll();
|
247
247
|
}, e;
|
248
|
-
}(
|
248
|
+
}(y)
|
249
249
|
);
|
250
250
|
const O = C;
|
251
251
|
/**
|
@@ -321,16 +321,16 @@ class o extends _ {
|
|
321
321
|
super.disconnectedCallback(), this.unregisterListeners();
|
322
322
|
}
|
323
323
|
}
|
324
|
-
|
324
|
+
s([
|
325
325
|
g(".mdc-top-app-bar")
|
326
326
|
], o.prototype, "mdcRoot", void 0);
|
327
|
-
|
327
|
+
s([
|
328
328
|
g('slot[name="actionItems"]')
|
329
329
|
], o.prototype, "_actionItemsSlot", void 0);
|
330
|
-
|
330
|
+
s([
|
331
331
|
p({ type: Boolean })
|
332
332
|
], o.prototype, "centerTitle", void 0);
|
333
|
-
|
333
|
+
s([
|
334
334
|
p({ type: Object })
|
335
335
|
], o.prototype, "scrollTarget", null);
|
336
336
|
/**
|
@@ -366,15 +366,13 @@ class b extends o {
|
|
366
366
|
super.unregisterListeners(), window.removeEventListener("resize", this.handleResize);
|
367
367
|
}
|
368
368
|
}
|
369
|
-
|
369
|
+
s([
|
370
370
|
p({ type: Boolean, reflect: !0 })
|
371
371
|
], b.prototype, "prominent", void 0);
|
372
|
-
|
372
|
+
s([
|
373
373
|
p({ type: Boolean, reflect: !0 })
|
374
374
|
], b.prototype, "dense", void 0);
|
375
375
|
export {
|
376
|
-
C as M,
|
377
376
|
b as T,
|
378
|
-
v as c,
|
379
377
|
m as p
|
380
378
|
};
|
package/nav-list-item.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
2
|
-
`;var
|
3
|
-
${
|
4
|
-
`,
|
5
|
-
${
|
6
|
-
`,
|
7
|
-
${
|
8
|
-
`,
|
9
|
-
${
|
10
|
-
`];exports.CovalentNavRailListItem=
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./query-assigned-elements-f623705d.js"),c=require("./property-57f6f6fe.js"),m=require("./list-item-8da7ba96.js"),l=require("./mwc-list-item.css-25adc0c4.js");require("./mwc-list-item-base-4a4d1e1b.js");require("./tslib.es6-e6a11c8a.js");require("./ripple-handlers-c82b1232.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./state-0974a8e5.js");require("./query-680f1868.js");require("./class-map-b5efe8da.js");require("./style-map-88d2563f.js");require("./observer-a096ab43.js");const d=`:host{font-family:var(--mdc-typography-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height)}:host([navopen]){border-radius:0 28px 28px 0;transition:border-radius .1s ease-out;margin-right:16px}:host([graphic=avatar]:not([navopen])){border-radius:100%;margin:0 auto 8px;padding:0;width:48px;height:48px}:host([graphic=avatar]:not([navopen])) ::slotted(cv-icon[slot=graphic]){margin-left:8px;background:transparent}:host(.home-item) ::slotted(.teradata-no-circle){--mdc-list-item-graphic-size: 40px;--mdc-icon-size: 40px;display:none}:host(.home-item) ::slotted(.home-icon){display:none}:host(.home-item) ::slotted(.home-icon):hover .covalent-icon{display:none}:host(.home-item:hover) ::slotted(.home-icon){display:block}:host(.home-item:hover) ::slotted(.teradata-circle){display:none}:host(.home-item:hover) ::slotted(.teradata-no-circle){display:none}:host(.home-item:not([navopen])){background-color:#f3753f;--mdc-ripple-color: #ffffff;--mdc-theme-text-icon-on-background: #ffffff}:host(.home-item:not([navopen])) ::slotted(.teradata-circle){display:none}:host(.home-item:not([navopen])) ::slotted(.teradata-no-circle){display:block}:host(.home-item:hover:not([navopen])) ::slotted(.teradata-no-circle){display:none}:host(.beta-list-item){--mdc-theme-primary: var(--mdc-theme-surface-caution);--mdc-list-item-meta-size: 20px;--mdc-list-item-graphic-size: 40px;--mdc-list-item-graphic-margin: 15px;--mdc-typography-subtitle1-font-size: var( --mdc-typography-subtitle2-font-size );--mdc-typography-body2-font-size: var(--mdc-typography-caption-font-size);margin-bottom:8px;font-size:var(--mdc-typography-subtitle1-font-size);margin-right:0;border-radius:0}:host(.beta-list-item:not([navopen])){--mdc-list-item-graphic-margin: 0;--mdc-typography-subtitle1-font-size: 0;--mdc-typography-body2-font-size: 0;height:48px;font-size:0;padding:0;justify-content:center;align-content:center}
|
2
|
+
`;var h=Object.defineProperty,v=Object.getOwnPropertyDescriptor,p=(a,o,r,i)=>{for(var t=i>1?void 0:i?v(o,r):o,n=a.length-1,s;n>=0;n--)(s=a[n])&&(t=(i?s(o,r,t):s(t))||t);return i&&t&&h(o,r,t),t};exports.CovalentNavRailListItem=class extends m.CovalentListItem{constructor(){super(),this.navOpen=!1}};exports.CovalentNavRailListItem.styles=[e.i`
|
3
|
+
${e.r(l.styles)}
|
4
|
+
`,e.i`
|
5
|
+
${e.r(l.styles$1)}
|
6
|
+
`,e.i`
|
7
|
+
${e.r(m.styles)}
|
8
|
+
`,e.i`
|
9
|
+
${e.r(d)}
|
10
|
+
`];p([c.n({type:Boolean,reflect:!0})],exports.CovalentNavRailListItem.prototype,"navOpen",2);exports.CovalentNavRailListItem=p([e.e("cv-nav-list-item")],exports.CovalentNavRailListItem);const y=exports.CovalentNavRailListItem;exports.default=y;
|
package/nav-list-item.mjs
CHANGED
@@ -1,48 +1,51 @@
|
|
1
|
-
import { i as a, r
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import "./mwc-list-item-
|
5
|
-
import "./
|
6
|
-
import "./
|
7
|
-
import "./
|
8
|
-
import "./
|
9
|
-
import "./
|
10
|
-
import "./state-
|
11
|
-
import "./query-
|
12
|
-
import "./class-map-
|
13
|
-
import "./style-map-
|
1
|
+
import { i as a, r, e as h } from "./query-assigned-elements-4a39219d.mjs";
|
2
|
+
import { n as l } from "./property-9b6ea53b.mjs";
|
3
|
+
import { C as d, s as y } from "./list-item-ba77097d.mjs";
|
4
|
+
import { s as f, a as v } from "./mwc-list-item.css-b0009fc7.mjs";
|
5
|
+
import "./mwc-list-item-base-8654347d.mjs";
|
6
|
+
import "./tslib.es6-f1eaf65c.mjs";
|
7
|
+
import "./ripple-handlers-321219b8.mjs";
|
8
|
+
import "./base-element-67ae173f.mjs";
|
9
|
+
import "./utils-2932417c.mjs";
|
10
|
+
import "./state-b5e865db.mjs";
|
11
|
+
import "./query-d843aa92.mjs";
|
12
|
+
import "./class-map-4b94b017.mjs";
|
13
|
+
import "./style-map-bc3ed3e0.mjs";
|
14
14
|
import "./observer-be7b92e2.mjs";
|
15
|
-
const
|
15
|
+
const g = `:host{font-family:var(--mdc-typography-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height)}:host([navopen]){border-radius:0 28px 28px 0;transition:border-radius .1s ease-out;margin-right:16px}:host([graphic=avatar]:not([navopen])){border-radius:100%;margin:0 auto 8px;padding:0;width:48px;height:48px}:host([graphic=avatar]:not([navopen])) ::slotted(cv-icon[slot=graphic]){margin-left:8px;background:transparent}:host(.home-item) ::slotted(.teradata-no-circle){--mdc-list-item-graphic-size: 40px;--mdc-icon-size: 40px;display:none}:host(.home-item) ::slotted(.home-icon){display:none}:host(.home-item) ::slotted(.home-icon):hover .covalent-icon{display:none}:host(.home-item:hover) ::slotted(.home-icon){display:block}:host(.home-item:hover) ::slotted(.teradata-circle){display:none}:host(.home-item:hover) ::slotted(.teradata-no-circle){display:none}:host(.home-item:not([navopen])){background-color:#f3753f;--mdc-ripple-color: #ffffff;--mdc-theme-text-icon-on-background: #ffffff}:host(.home-item:not([navopen])) ::slotted(.teradata-circle){display:none}:host(.home-item:not([navopen])) ::slotted(.teradata-no-circle){display:block}:host(.home-item:hover:not([navopen])) ::slotted(.teradata-no-circle){display:none}:host(.beta-list-item){--mdc-theme-primary: var(--mdc-theme-surface-caution);--mdc-list-item-meta-size: 20px;--mdc-list-item-graphic-size: 40px;--mdc-list-item-graphic-margin: 15px;--mdc-typography-subtitle1-font-size: var( --mdc-typography-subtitle2-font-size );--mdc-typography-body2-font-size: var(--mdc-typography-caption-font-size);margin-bottom:8px;font-size:var(--mdc-typography-subtitle1-font-size);margin-right:0;border-radius:0}:host(.beta-list-item:not([navopen])){--mdc-list-item-graphic-margin: 0;--mdc-typography-subtitle1-font-size: 0;--mdc-typography-body2-font-size: 0;height:48px;font-size:0;padding:0;justify-content:center;align-content:center}
|
16
16
|
`;
|
17
|
-
var
|
18
|
-
for (var t =
|
19
|
-
(
|
20
|
-
return
|
17
|
+
var b = Object.defineProperty, u = Object.getOwnPropertyDescriptor, c = (m, e, n, i) => {
|
18
|
+
for (var t = i > 1 ? void 0 : i ? u(e, n) : e, s = m.length - 1, p; s >= 0; s--)
|
19
|
+
(p = m[s]) && (t = (i ? p(e, n, t) : p(t)) || t);
|
20
|
+
return i && t && b(e, n, t), t;
|
21
21
|
};
|
22
|
-
let o = class extends
|
22
|
+
let o = class extends d {
|
23
23
|
constructor() {
|
24
|
-
super();
|
24
|
+
super(), this.navOpen = !1;
|
25
25
|
}
|
26
26
|
};
|
27
27
|
o.styles = [
|
28
28
|
a`
|
29
|
-
${
|
29
|
+
${r(f)}
|
30
30
|
`,
|
31
31
|
a`
|
32
|
-
${
|
32
|
+
${r(v)}
|
33
33
|
`,
|
34
34
|
a`
|
35
|
-
${
|
35
|
+
${r(y)}
|
36
36
|
`,
|
37
37
|
a`
|
38
|
-
${
|
38
|
+
${r(g)}
|
39
39
|
`
|
40
40
|
];
|
41
|
-
|
42
|
-
|
41
|
+
c([
|
42
|
+
l({ type: Boolean, reflect: !0 })
|
43
|
+
], o.prototype, "navOpen", 2);
|
44
|
+
o = c([
|
45
|
+
h("cv-nav-list-item")
|
43
46
|
], o);
|
44
|
-
const
|
47
|
+
const B = o;
|
45
48
|
export {
|
46
49
|
o as CovalentNavRailListItem,
|
47
|
-
|
50
|
+
B as default
|
48
51
|
};
|
package/package.json
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@covalent/components",
|
3
|
-
"version": "6.
|
3
|
+
"version": "6.4.0",
|
4
4
|
"description": "a catalog of material components for covalent",
|
5
5
|
"main": "./index.js",
|
6
6
|
"module": "./index.mjs",
|
7
7
|
"types": "./index.d.ts",
|
8
8
|
"exports": {
|
9
9
|
".": {
|
10
|
-
"sass": "./style.css",
|
11
10
|
"import": "./index.mjs",
|
12
11
|
"require": "./index.js"
|
13
12
|
},
|
@@ -2,4 +2,4 @@
|
|
2
2
|
* @license
|
3
3
|
* Copyright 2017 Google LLC
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
-
*/const
|
5
|
+
*/const e=(t,i)=>i.kind==="method"&&i.descriptor&&!("value"in i.descriptor)?{...i,finisher(r){r.createProperty(i.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:i.key,initializer(){typeof i.initializer=="function"&&(this[i.key]=i.initializer.call(this))},finisher(r){r.createProperty(i.key,t)}},n=(t,i,r)=>{i.constructor.createProperty(r,t)};function o(t){return(i,r)=>r!==void 0?n(t,i,r):e(t,i)}exports.n=o;
|
@@ -3,18 +3,18 @@
|
|
3
3
|
* Copyright 2017 Google LLC
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
5
5
|
*/
|
6
|
-
const
|
7
|
-
r.createProperty(i.key,
|
6
|
+
const t = (e, i) => i.kind === "method" && i.descriptor && !("value" in i.descriptor) ? { ...i, finisher(r) {
|
7
|
+
r.createProperty(i.key, e);
|
8
8
|
} } : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: i.key, initializer() {
|
9
9
|
typeof i.initializer == "function" && (this[i.key] = i.initializer.call(this));
|
10
10
|
}, finisher(r) {
|
11
|
-
r.createProperty(i.key,
|
12
|
-
} }
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
11
|
+
r.createProperty(i.key, e);
|
12
|
+
} }, n = (e, i, r) => {
|
13
|
+
i.constructor.createProperty(r, e);
|
14
|
+
};
|
15
|
+
function o(e) {
|
16
|
+
return (i, r) => r !== void 0 ? n(e, i, r) : t(e, i);
|
17
17
|
}
|
18
18
|
export {
|
19
|
-
|
19
|
+
o as n
|
20
20
|
};
|