@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.
Files changed (185) hide show
  1. package/action-ribbon.js +6 -6
  2. package/action-ribbon.mjs +23 -24
  3. package/alert.js +4 -4
  4. package/alert.mjs +27 -28
  5. package/app-shell/app-shell.d.ts +0 -13
  6. package/app-shell/app-shell.d.ts.map +1 -1
  7. package/app-shell.js +12 -20
  8. package/app-shell.mjs +54 -85
  9. package/{base-element-d5abe37a.js → base-element-58a3f9ea.js} +1 -1
  10. package/{base-element-c3dc926e.mjs → base-element-67ae173f.mjs} +2 -2
  11. package/button.js +4 -4
  12. package/button.mjs +13 -13
  13. package/card.js +8 -8
  14. package/card.mjs +4 -4
  15. package/check-list-item.js +3 -3
  16. package/check-list-item.mjs +16 -16
  17. package/checkbox.js +1 -1
  18. package/checkbox.mjs +15 -15
  19. package/circular-progress.js +7 -7
  20. package/circular-progress.mjs +6 -6
  21. package/class-map-4b94b017.mjs +62 -0
  22. package/class-map-b5efe8da.js +9 -0
  23. package/code-snippet.js +9 -9
  24. package/code-snippet.mjs +1276 -1213
  25. package/{dialog-8ee07177.js → dialog-79036d60.js} +4 -4
  26. package/{dialog-85c21333.mjs → dialog-9ac44447.mjs} +39 -39
  27. package/dialog.js +1 -1
  28. package/dialog.mjs +8 -8
  29. package/{directive-helpers-fce8cf91.js → directive-helpers-0ce1f995.js} +2 -2
  30. package/{directive-helpers-725a181d.mjs → directive-helpers-e3ea6592.mjs} +3 -3
  31. package/drawer.js +1 -1
  32. package/drawer.mjs +8 -8
  33. package/empty-state.js +7 -7
  34. package/empty-state.mjs +4 -4
  35. package/{event-options-7bc382d8.js → event-options-3f5eb195.js} +1 -1
  36. package/{event-options-3937d997.mjs → event-options-78d6cf94.mjs} +1 -1
  37. package/{form-element-6dbd7afa.mjs → form-element-bd973124.mjs} +4 -4
  38. package/{form-element-d4e7bcdb.js → form-element-ead758d4.js} +2 -2
  39. package/{foundation-c580100a.mjs → foundation-3f556da7.mjs} +78 -28
  40. package/{foundation-3f55a9dc.js → foundation-62d4413d.js} +24 -3
  41. package/icon-button.js +5 -5
  42. package/icon-button.mjs +12 -12
  43. package/icon-check-toggle.js +5 -5
  44. package/icon-check-toggle.mjs +15 -15
  45. package/icon-radio-toggle.js +4 -4
  46. package/icon-radio-toggle.mjs +15 -15
  47. package/icon.js +1 -1
  48. package/icon.mjs +3 -3
  49. package/{if-defined-639ed018.mjs → if-defined-c367f208.mjs} +1 -1
  50. package/if-defined-f1c45245.js +5 -0
  51. package/index.js +1 -1
  52. package/index.mjs +120 -121
  53. package/linear-progress.js +6 -6
  54. package/linear-progress.mjs +13 -13
  55. package/list/list-expansion.d.ts +4 -1
  56. package/list/list-expansion.d.ts.map +1 -1
  57. package/list/list-item.d.ts +2 -0
  58. package/list/list-item.d.ts.map +1 -1
  59. package/list/list.d.ts +5 -0
  60. package/list/list.d.ts.map +1 -1
  61. package/list/nav-list-item.d.ts +1 -0
  62. package/list/nav-list-item.d.ts.map +1 -1
  63. package/list-05db7fed.js +5 -0
  64. package/list-066f5de4.mjs +45 -0
  65. package/list-expansion.js +9 -11
  66. package/list-expansion.mjs +53 -47
  67. package/list-item-8da7ba96.js +9 -0
  68. package/list-item-ba77097d.mjs +44 -0
  69. package/list-item.js +1 -1
  70. package/list-item.mjs +13 -13
  71. package/list.js +1 -6
  72. package/list.mjs +17 -38
  73. package/menu.js +1 -1
  74. package/menu.mjs +15 -15
  75. package/{mwc-checkbox-base-10e977f2.mjs → mwc-checkbox-base-3da36456.mjs} +21 -21
  76. package/{mwc-checkbox-base-435c1f1d.js → mwc-checkbox-base-d46c7666.js} +9 -9
  77. package/{mwc-checkbox.css-b7abc7fd.mjs → mwc-checkbox.css-8f4f1a9b.mjs} +1 -1
  78. package/{mwc-checkbox.css-956e3d6c.js → mwc-checkbox.css-b3434429.js} +1 -1
  79. package/{mwc-drawer-base-f44fcf34.js → mwc-drawer-base-8eecb1de.js} +6 -6
  80. package/{mwc-drawer-base-b2b772c3.mjs → mwc-drawer-base-fe660bdf.mjs} +10 -10
  81. package/{mwc-icon-b96fb867.js → mwc-icon-8c9cd0c9.js} +2 -2
  82. package/{mwc-icon-c7013880.mjs → mwc-icon-ba18383d.mjs} +2 -2
  83. package/{mwc-line-ripple-directive-a97ce725.js → mwc-line-ripple-directive-d1cf9570.js} +3 -3
  84. package/{mwc-line-ripple-directive-c3e1f04a.mjs → mwc-line-ripple-directive-ffce2cff.mjs} +6 -6
  85. package/{mwc-list-base-c0f8af1c.mjs → mwc-list-base-32d4ac31.mjs} +9 -9
  86. package/{mwc-list-base-7d5f7278.js → mwc-list-base-cb3500b4.js} +4 -4
  87. package/{mwc-list-item-base-803b9771.js → mwc-list-item-base-4a4d1e1b.js} +8 -8
  88. package/{mwc-list-item-base-acef0223.mjs → mwc-list-item-base-8654347d.mjs} +7 -7
  89. package/{mwc-list-item.css-401e2407.js → mwc-list-item.css-25adc0c4.js} +1 -1
  90. package/{mwc-list-item.css-b5481d96.mjs → mwc-list-item.css-b0009fc7.mjs} +1 -1
  91. package/{mwc-menu-base-8970b43d.mjs → mwc-menu-base-572a76b9.mjs} +11 -11
  92. package/{mwc-menu-base-ac49fe54.js → mwc-menu-base-f14ec544.js} +17 -17
  93. package/{mwc-radio-base-442d495a.js → mwc-radio-base-470b4fcc.js} +4 -4
  94. package/{mwc-radio-base-c29e6f42.mjs → mwc-radio-base-9446d39b.mjs} +11 -11
  95. package/{mwc-radio.css-388ad26d.js → mwc-radio.css-4e140252.js} +1 -1
  96. package/{mwc-radio.css-4694aa9c.mjs → mwc-radio.css-7454bb11.mjs} +1 -1
  97. package/{mwc-slider.css-336f809b.mjs → mwc-slider.css-10adbaf8.mjs} +12 -12
  98. package/{mwc-slider.css-48f02f1e.js → mwc-slider.css-9dd57b10.js} +11 -11
  99. package/{mwc-tab-base-7fb3d339.mjs → mwc-tab-base-4ba47acc.mjs} +14 -14
  100. package/{mwc-tab-base-1a19b299.js → mwc-tab-base-fc3ffb43.js} +13 -13
  101. package/{mwc-top-app-bar-base-14e0a018.js → mwc-top-app-bar-base-0304e67f.js} +8 -8
  102. package/{mwc-top-app-bar-base-79c87e69.mjs → mwc-top-app-bar-base-adc4168a.mjs} +22 -24
  103. package/nav-list-item.js +10 -10
  104. package/nav-list-item.mjs +31 -28
  105. package/package.json +1 -2
  106. package/{property-074570d1.js → property-57f6f6fe.js} +1 -1
  107. package/{property-ca27685b.mjs → property-9b6ea53b.mjs} +9 -9
  108. package/{query-2ba749b7.js → query-680f1868.js} +1 -1
  109. package/{query-assigned-elements-514e5265.mjs → query-assigned-elements-4a39219d.mjs} +153 -152
  110. package/query-assigned-elements-f623705d.js +31 -0
  111. package/{query-assigned-nodes-9ec0fa5f.js → query-assigned-nodes-99eae71d.js} +1 -1
  112. package/{query-assigned-nodes-bea12e0c.mjs → query-assigned-nodes-df691e78.mjs} +1 -1
  113. package/{query-1e7846ea.mjs → query-d843aa92.mjs} +1 -1
  114. package/radio-list-item.js +3 -3
  115. package/radio-list-item.mjs +18 -18
  116. package/radio.js +1 -1
  117. package/radio.mjs +15 -15
  118. package/{ripple-handlers-227497d3.mjs → ripple-handlers-321219b8.mjs} +10 -10
  119. package/{ripple-handlers-2176f137.js → ripple-handlers-c82b1232.js} +5 -5
  120. package/select.js +10 -10
  121. package/select.mjs +20 -20
  122. package/side-sheet.js +2 -2
  123. package/side-sheet.mjs +21 -21
  124. package/slider-range.js +7 -7
  125. package/slider-range.mjs +13 -13
  126. package/slider.js +3 -3
  127. package/slider.mjs +15 -15
  128. package/snackbar.js +6 -6
  129. package/snackbar.mjs +12 -12
  130. package/state-0974a8e5.js +5 -0
  131. package/{state-6f7e570d.mjs → state-b5e865db.mjs} +1 -1
  132. package/status-header-item.js +3 -3
  133. package/status-header-item.mjs +15 -15
  134. package/status-header.js +2 -2
  135. package/status-header.mjs +3 -3
  136. package/style-map-88d2563f.js +5 -0
  137. package/style-map-bc3ed3e0.mjs +44 -0
  138. package/style.css +1 -1
  139. package/switch.js +8 -8
  140. package/switch.mjs +13 -13
  141. package/tab-bar.js +5 -5
  142. package/tab-bar.mjs +16 -16
  143. package/tab.js +1 -1
  144. package/tab.mjs +12 -12
  145. package/text-lockup.js +4 -4
  146. package/text-lockup.mjs +7 -7
  147. package/textarea.js +4 -4
  148. package/textarea.mjs +26 -26
  149. package/{textfield-507c6a06.js → textfield-0993c163.js} +12 -12
  150. package/{textfield-276b0ded.mjs → textfield-2cee5a1a.mjs} +14 -14
  151. package/textfield.js +1 -1
  152. package/textfield.mjs +14 -14
  153. package/toolbar.js +1 -1
  154. package/toolbar.mjs +8 -8
  155. package/tooltip/tooltip.d.ts.map +1 -1
  156. package/tooltip.js +32 -11
  157. package/tooltip.mjs +611 -516
  158. package/{top-app-bar-34e85527.js → top-app-bar-a531c1b4.js} +1 -1
  159. package/{top-app-bar-a236c3bc.mjs → top-app-bar-f83386e0.mjs} +1 -1
  160. package/top-app-bar-fixed.js +89 -5
  161. package/top-app-bar-fixed.mjs +279 -37
  162. package/top-app-bar.js +1 -1
  163. package/top-app-bar.mjs +9 -9
  164. package/tree-list-item.js +7 -7
  165. package/tree-list-item.mjs +6 -6
  166. package/tree-list.js +2 -2
  167. package/tree-list.mjs +1 -1
  168. package/tslib.es6-e6a11c8a.js +1 -0
  169. package/tslib.es6-f1eaf65c.mjs +82 -0
  170. package/typography.js +3 -3
  171. package/typography.mjs +2 -2
  172. package/{utils-dc65fdc9.mjs → utils-2932417c.mjs} +2 -2
  173. package/class-map-08c84aeb.mjs +0 -62
  174. package/class-map-50b8edb4.js +0 -9
  175. package/foundation-2334d146.mjs +0 -60
  176. package/foundation-e830bd94.js +0 -22
  177. package/if-defined-cb12d481.js +0 -5
  178. package/list-item-1c65e4db.mjs +0 -32
  179. package/list-item-ee331821.js +0 -8
  180. package/query-assigned-elements-07e38f46.js +0 -33
  181. package/state-949232e6.js +0 -5
  182. package/style-map-2cb0fb63.mjs +0 -40
  183. package/style-map-3056a771.js +0 -5
  184. package/tslib.es6-6b53b818.js +0 -1
  185. package/tslib.es6-b5e819a6.mjs +0 -82
@@ -1,10 +1,10 @@
1
- import { a as f, b as u, _ as i } from "./tslib.es6-b5e819a6.mjs";
2
- import { e as p } from "./property-ca27685b.mjs";
3
- import { y as c } from "./query-assigned-elements-514e5265.mjs";
4
- import { B as _ } from "./base-element-c3dc926e.mjs";
5
- import { a as A, s as S } from "./utils-dc65fdc9.mjs";
6
- import { i as g } from "./query-1e7846ea.mjs";
7
- import { o as h } from "./class-map-08c84aeb.mjs";
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 y = (
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 B = (
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
- }(y)
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 s = r.call(this, t) || this;
215
- return s.wasDocked = !0, s.isDockedShowing = !0, s.currentAppBarOffsetTop = 0, s.isCurrentlyBeingResized = !1, s.resizeThrottleId = n, s.resizeDebounceId = n, s.lastScrollPosition = s.adapter.getViewportScrollY(), s.topAppBarHeight = s.adapter.getTopAppBarHeight(), s;
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), s = t - this.lastScrollPosition;
221
- this.lastScrollPosition = t, this.isCurrentlyBeingResized || (this.currentAppBarOffsetTop -= s, this.currentAppBarOffsetTop > 0 ? this.currentAppBarOffsetTop = 0 : Math.abs(this.currentAppBarOffsetTop) > this.topAppBarHeight && (this.currentAppBarOffsetTop = -this.topAppBarHeight), this.moveTopAppBar());
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, s = this.currentAppBarOffsetTop < 0, l = this.currentAppBarOffsetTop > t, d = s && l;
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
- }(B)
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
- i([
324
+ s([
325
325
  g(".mdc-top-app-bar")
326
326
  ], o.prototype, "mdcRoot", void 0);
327
- i([
327
+ s([
328
328
  g('slot[name="actionItems"]')
329
329
  ], o.prototype, "_actionItemsSlot", void 0);
330
- i([
330
+ s([
331
331
  p({ type: Boolean })
332
332
  ], o.prototype, "centerTitle", void 0);
333
- i([
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
- i([
369
+ s([
370
370
  p({ type: Boolean, reflect: !0 })
371
371
  ], b.prototype, "prominent", void 0);
372
- i([
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 t=require("./query-assigned-elements-07e38f46.js"),c=require("./list-item-ee331821.js"),n=require("./mwc-list-item.css-401e2407.js");require("./mwc-list-item-base-803b9771.js");require("./tslib.es6-6b53b818.js");require("./ripple-handlers-2176f137.js");require("./base-element-d5abe37a.js");require("./utils-a8190a39.js");require("./property-074570d1.js");require("./state-949232e6.js");require("./query-2ba749b7.js");require("./class-map-50b8edb4.js");require("./style-map-3056a771.js");require("./observer-a096ab43.js");const m=`:host{font-family:var(--mdc-typography-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:600;line-height:var(--mdc-typography-body2-line-height);text-align:left;border-radius:var(--cv-list-item-border-radius, 28px);transition:border-radius .1s ease-out;width:var(--cv-list-item-width, 100%)}::slotted(.section-selector){display:none;position:absolute;top:0;right:0}:host([activated]) ::slotted(cv-icon[slot=graphic]){color:var(--mdc-theme-primary)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{margin-left:var(--cv-list-item-graphic-margin-left, 12px)}:host([graphic=avatar]){padding:0}:host([graphic=avatar]) ::slotted(cv-icon[slot=graphic]){margin-left:8px;background:transparent}:host([graphic=avatar]:not([twoline])){height:48px}: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){--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 0 0 15px}
2
- `;var p=Object.defineProperty,d=Object.getOwnPropertyDescriptor,v=(a,i,s,r)=>{for(var e=r>1?void 0:r?d(i,s):i,o=a.length-1,l;o>=0;o--)(l=a[o])&&(e=(r?l(i,s,e):l(e))||e);return r&&e&&p(i,s,e),e};exports.CovalentNavRailListItem=class extends c.CovalentListItem{constructor(){super()}};exports.CovalentNavRailListItem.styles=[t.i`
3
- ${t.r(n.styles)}
4
- `,t.i`
5
- ${t.r(n.styles$1)}
6
- `,t.i`
7
- ${t.r(c.styles)}
8
- `,t.i`
9
- ${t.r(m)}
10
- `];exports.CovalentNavRailListItem=v([t.e("cv-nav-list-item")],exports.CovalentNavRailListItem);const h=exports.CovalentNavRailListItem;exports.default=h;
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 as e, e as n } from "./query-assigned-elements-514e5265.mjs";
2
- import { C as l, s as h } from "./list-item-1c65e4db.mjs";
3
- import { s as d, a as g } from "./mwc-list-item.css-b5481d96.mjs";
4
- import "./mwc-list-item-base-acef0223.mjs";
5
- import "./tslib.es6-b5e819a6.mjs";
6
- import "./ripple-handlers-227497d3.mjs";
7
- import "./base-element-c3dc926e.mjs";
8
- import "./utils-dc65fdc9.mjs";
9
- import "./property-ca27685b.mjs";
10
- import "./state-6f7e570d.mjs";
11
- import "./query-1e7846ea.mjs";
12
- import "./class-map-08c84aeb.mjs";
13
- import "./style-map-2cb0fb63.mjs";
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 v = `:host{font-family:var(--mdc-typography-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:600;line-height:var(--mdc-typography-body2-line-height);text-align:left;border-radius:var(--cv-list-item-border-radius, 28px);transition:border-radius .1s ease-out;width:var(--cv-list-item-width, 100%)}::slotted(.section-selector){display:none;position:absolute;top:0;right:0}:host([activated]) ::slotted(cv-icon[slot=graphic]){color:var(--mdc-theme-primary)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{margin-left:var(--cv-list-item-graphic-margin-left, 12px)}:host([graphic=avatar]){padding:0}:host([graphic=avatar]) ::slotted(cv-icon[slot=graphic]){margin-left:8px;background:transparent}:host([graphic=avatar]:not([twoline])){height:48px}: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){--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 0 0 15px}
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 y = Object.defineProperty, f = Object.getOwnPropertyDescriptor, b = (c, i, s, r) => {
18
- for (var t = r > 1 ? void 0 : r ? f(i, s) : i, p = c.length - 1, m; p >= 0; p--)
19
- (m = c[p]) && (t = (r ? m(i, s, t) : m(t)) || t);
20
- return r && t && y(i, s, t), t;
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 l {
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
- ${e(d)}
29
+ ${r(f)}
30
30
  `,
31
31
  a`
32
- ${e(g)}
32
+ ${r(v)}
33
33
  `,
34
34
  a`
35
- ${e(h)}
35
+ ${r(y)}
36
36
  `,
37
37
  a`
38
- ${e(v)}
38
+ ${r(g)}
39
39
  `
40
40
  ];
41
- o = b([
42
- n("cv-nav-list-item")
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 R = o;
47
+ const B = o;
45
48
  export {
46
49
  o as CovalentNavRailListItem,
47
- R as default
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.0-beta.4",
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 c=(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)}};function s(t){return(i,r)=>r!==void 0?((e,n,o)=>{n.constructor.createProperty(o,e)})(t,i,r):c(t,i)}exports.e=s;
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 c = (t, i) => i.kind === "method" && i.descriptor && !("value" in i.descriptor) ? { ...i, finisher(r) {
7
- r.createProperty(i.key, t);
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, t);
12
- } };
13
- function y(t) {
14
- return (i, r) => r !== void 0 ? ((e, o, n) => {
15
- o.constructor.createProperty(n, e);
16
- })(t, i, r) : c(t, i);
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
- y as e
19
+ o as n
20
20
  };
@@ -1,4 +1,4 @@
1
- "use strict";const u=require("./query-assigned-elements-07e38f46.js");/**
1
+ "use strict";const u=require("./query-assigned-elements-f623705d.js");/**
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause