@covalent/components 6.0.3 → 6.0.5

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 (304) hide show
  1. package/action-ribbon/action-ribbon-base.d.ts.map +1 -0
  2. package/{src/action-ribbon → action-ribbon}/action-ribbon.d.ts +1 -0
  3. package/action-ribbon/action-ribbon.d.ts.map +1 -0
  4. package/action-ribbon.js +18 -0
  5. package/action-ribbon.mjs +13 -11
  6. package/alert/alert-base.d.ts.map +1 -0
  7. package/{src/alert → alert}/alert.d.ts +1 -0
  8. package/alert/alert.d.ts.map +1 -0
  9. package/alert.js +21 -0
  10. package/alert.mjs +14 -12
  11. package/{src/app-shell → app-shell}/app-shell.d.ts +1 -0
  12. package/app-shell/app-shell.d.ts.map +1 -0
  13. package/app-shell.js +41 -0
  14. package/app-shell.mjs +19 -17
  15. package/aria-property.mjs +2 -38
  16. package/base-element.mjs +2 -25
  17. package/{src/button → button}/button.d.ts +3 -2
  18. package/button/button.d.ts.map +1 -0
  19. package/button.js +44 -0
  20. package/button.mjs +11 -9
  21. package/card/card-base.d.ts.map +1 -0
  22. package/{src/card → card}/card.d.ts +3 -2
  23. package/card/card.d.ts.map +1 -0
  24. package/card.js +19 -0
  25. package/card.mjs +3 -1
  26. package/check-list-item.js +27 -0
  27. package/check-list-item.mjs +17 -15
  28. package/{src/checkbox → checkbox}/checkbox.d.ts +3 -2
  29. package/checkbox/checkbox.d.ts.map +1 -0
  30. package/checkbox.js +2 -0
  31. package/checkbox.mjs +15 -13
  32. package/chips/chip-base.d.ts.map +1 -0
  33. package/chips/chip-set-base.d.ts.map +1 -0
  34. package/{src/chips → chips}/chip-set.d.ts +1 -0
  35. package/chips/chip-set.d.ts.map +1 -0
  36. package/{src/chips → chips}/chip.d.ts +1 -0
  37. package/chips/chip.d.ts.map +1 -0
  38. package/chips/foundation.d.ts.map +1 -0
  39. package/circular-progress/circular-progress.d.ts +11 -0
  40. package/circular-progress/circular-progress.d.ts.map +1 -0
  41. package/circular-progress.js +65 -0
  42. package/circular-progress.mjs +11 -9
  43. package/class-map.mjs +3 -56
  44. package/{src/code-snippet → code-snippet}/code-snippet.d.ts +3 -2
  45. package/code-snippet/code-snippet.d.ts.map +1 -0
  46. package/code-snippet.js +13 -0
  47. package/code-snippet.mjs +36 -34
  48. package/{src/dialog → dialog}/dialog.d.ts +3 -2
  49. package/dialog/dialog.d.ts.map +1 -0
  50. package/dialog.js +1 -0
  51. package/dialog.mjs +15 -608
  52. package/dialog2.mjs +750 -0
  53. package/directive-helpers.mjs +2 -8
  54. package/{src/drawer → drawer}/drawer.d.ts +3 -2
  55. package/drawer/drawer.d.ts.map +1 -0
  56. package/drawer.js +6 -0
  57. package/drawer.mjs +11 -9
  58. package/{src/empty-state → empty-state}/empty-state.d.ts +3 -2
  59. package/empty-state/empty-state.d.ts.map +1 -0
  60. package/empty-state.js +27 -0
  61. package/empty-state.mjs +17 -15
  62. package/event-options.mjs +2 -11
  63. package/form-element.mjs +2 -47
  64. package/{src/formfield → formfield}/formfield.d.ts +3 -2
  65. package/formfield/formfield.d.ts.map +1 -0
  66. package/foundation.mjs +3 -112
  67. package/foundation2.mjs +2 -40
  68. package/{src/icon → icon}/icon.d.ts +1 -0
  69. package/icon/icon.d.ts.map +1 -0
  70. package/{src/icon-button → icon-button}/icon-button.d.ts +3 -2
  71. package/icon-button/icon-button.d.ts.map +1 -0
  72. package/icon-button.js +32 -0
  73. package/icon-button.mjs +23 -21
  74. package/icon-check-toggle.js +15 -0
  75. package/icon-check-toggle.mjs +5 -5
  76. package/{src/icon-checkbox → icon-checkbox}/icon-check-toggle.d.ts +3 -2
  77. package/icon-checkbox/icon-check-toggle.d.ts.map +1 -0
  78. package/{src/icon-radio → icon-radio}/icon-radio-toggle.d.ts +3 -2
  79. package/icon-radio/icon-radio-toggle.d.ts.map +1 -0
  80. package/icon-radio-toggle.js +14 -0
  81. package/icon-radio-toggle.mjs +19 -19
  82. package/icon.js +5 -0
  83. package/icon.mjs +11 -9
  84. package/if-defined.mjs +2 -7
  85. package/index.d.ts +46 -0
  86. package/index.d.ts.map +1 -0
  87. package/index.js +1 -0
  88. package/index.mjs +126 -0
  89. package/inert.esm.mjs +3 -615
  90. package/linear-progress/linear-progress.d.ts +11 -0
  91. package/linear-progress/linear-progress.d.ts.map +1 -0
  92. package/linear-progress.js +36 -0
  93. package/linear-progress.mjs +21 -19
  94. package/list/check-list-item.d.ts +11 -0
  95. package/list/check-list-item.d.ts.map +1 -0
  96. package/{src/list → list}/list-expansion.d.ts +5 -4
  97. package/list/list-expansion.d.ts.map +1 -0
  98. package/{src/list → list}/list-item.d.ts +3 -2
  99. package/list/list-item.d.ts.map +1 -0
  100. package/{src/list → list}/list.d.ts +3 -2
  101. package/list/list.d.ts.map +1 -0
  102. package/{src/list → list}/nav-list-item.d.ts +3 -2
  103. package/list/nav-list-item.d.ts.map +1 -0
  104. package/list/radio-list-item.d.ts +11 -0
  105. package/list/radio-list-item.d.ts.map +1 -0
  106. package/list-expansion.js +9 -0
  107. package/list-expansion.mjs +20 -18
  108. package/list-item.js +1 -0
  109. package/list-item.mjs +8 -48
  110. package/list-item2.mjs +43 -0
  111. package/list.js +1 -0
  112. package/list.mjs +2 -27
  113. package/list2.mjs +25 -0
  114. package/{src/menu → menu}/menu.d.ts +3 -2
  115. package/menu/menu.d.ts.map +1 -0
  116. package/menu.js +5 -0
  117. package/menu.mjs +11 -9
  118. package/mwc-checkbox-base.mjs +11 -168
  119. package/mwc-checkbox.css.mjs +2 -7
  120. package/mwc-drawer-base.mjs +12 -242
  121. package/mwc-icon.mjs +3 -20
  122. package/mwc-line-ripple-directive.mjs +16 -452
  123. package/mwc-list-base.mjs +26 -755
  124. package/mwc-list-item-base.mjs +9 -183
  125. package/mwc-list-item.css.mjs +3 -11
  126. package/mwc-menu-base.mjs +21 -976
  127. package/mwc-radio-base.mjs +11 -438
  128. package/mwc-radio.css.mjs +2 -7
  129. package/mwc-slider.css.mjs +23 -794
  130. package/mwc-tab-base.mjs +25 -503
  131. package/mwc-top-app-bar-base.mjs +12 -282
  132. package/nav-list-item.js +10 -0
  133. package/nav-list-item.mjs +26 -24
  134. package/observer.mjs +2 -29
  135. package/package.json +226 -5
  136. package/property.mjs +2 -17
  137. package/query-assigned-elements.mjs +9 -591
  138. package/query-assigned-nodes.mjs +2 -14
  139. package/query.mjs +2 -22
  140. package/{src/radio → radio}/radio.d.ts +3 -2
  141. package/radio/radio.d.ts.map +1 -0
  142. package/radio-list-item.js +27 -0
  143. package/radio-list-item.mjs +17 -15
  144. package/radio.js +2 -0
  145. package/radio.mjs +12 -10
  146. package/ripple-handlers.mjs +12 -666
  147. package/{src/select → select}/select.d.ts +3 -2
  148. package/select/select.d.ts.map +1 -0
  149. package/select.js +272 -0
  150. package/select.mjs +124 -122
  151. package/{src/side-sheet → side-sheet}/side-sheet.d.ts +2 -2
  152. package/side-sheet/side-sheet.d.ts.map +1 -0
  153. package/side-sheet.js +4 -0
  154. package/side-sheet.mjs +3 -3
  155. package/slider/slider-range.d.ts +11 -0
  156. package/slider/slider-range.d.ts.map +1 -0
  157. package/{src/slider → slider}/slider.d.ts +3 -2
  158. package/slider/slider.d.ts.map +1 -0
  159. package/slider-range.js +64 -0
  160. package/slider-range.mjs +23 -21
  161. package/slider.js +14 -0
  162. package/slider.mjs +16 -14
  163. package/{src/snackbar → snackbar}/snackbar.d.ts +3 -2
  164. package/snackbar/snackbar.d.ts.map +1 -0
  165. package/snackbar.js +93 -0
  166. package/snackbar.mjs +12 -10
  167. package/state.mjs +2 -9
  168. package/status-header/status-header-base.d.ts.map +1 -0
  169. package/{src/status-header → status-header}/status-header-item.d.ts +1 -0
  170. package/status-header/status-header-item.d.ts.map +1 -0
  171. package/{src/status-header → status-header}/status-header.d.ts +1 -0
  172. package/status-header/status-header.d.ts.map +1 -0
  173. package/status-header-item.js +4 -0
  174. package/status-header-item.mjs +17 -15
  175. package/status-header.js +24 -0
  176. package/status-header.mjs +17 -15
  177. package/style-map.mjs +2 -37
  178. package/style.css +1 -0
  179. package/{src/switch → switch}/switch.d.ts +3 -2
  180. package/switch/switch.d.ts.map +1 -0
  181. package/switch.js +174 -0
  182. package/switch.mjs +10 -8
  183. package/{src/tab → tab}/tab-bar.d.ts +3 -2
  184. package/tab/tab-bar.d.ts.map +1 -0
  185. package/{src/tab → tab}/tab.d.ts +3 -2
  186. package/tab/tab.d.ts.map +1 -0
  187. package/tab-bar.js +278 -0
  188. package/tab-bar.mjs +23 -21
  189. package/tab.js +6 -0
  190. package/tab.mjs +11 -9
  191. package/{src/text-lockup → text-lockup}/text-lockup.d.ts +1 -0
  192. package/text-lockup/text-lockup.d.ts.map +1 -0
  193. package/text-lockup.js +7 -0
  194. package/text-lockup.mjs +11 -9
  195. package/{src/textarea → textarea}/textarea.d.ts +3 -2
  196. package/textarea/textarea.d.ts.map +1 -0
  197. package/textarea.js +40 -0
  198. package/textarea.mjs +14 -12
  199. package/{src/textfield → textfield}/textfield.d.ts +3 -2
  200. package/textfield/textfield.d.ts.map +1 -0
  201. package/textfield.js +7 -0
  202. package/textfield.mjs +132 -39
  203. package/textfield2.mjs +1 -1
  204. package/{src/toolbar → toolbar}/toolbar.d.ts +3 -2
  205. package/toolbar/toolbar.d.ts.map +1 -0
  206. package/toolbar.js +4 -0
  207. package/toolbar.mjs +11 -9
  208. package/{src/tooltip → tooltip}/tooltip.d.ts +3 -2
  209. package/tooltip/tooltip.d.ts.map +1 -0
  210. package/tooltip.js +126 -0
  211. package/tooltip.mjs +66 -64
  212. package/top-app-bar/top-app-bar-fixed.d.ts +11 -0
  213. package/top-app-bar/top-app-bar-fixed.d.ts.map +1 -0
  214. package/{src/top-app-bar → top-app-bar}/top-app-bar.d.ts +3 -2
  215. package/top-app-bar/top-app-bar.d.ts.map +1 -0
  216. package/top-app-bar-fixed.js +28 -0
  217. package/top-app-bar-fixed.mjs +16 -14
  218. package/top-app-bar.js +3 -0
  219. package/top-app-bar.mjs +6 -28
  220. package/{src/tree-list → tree-list}/tree-list-item.d.ts +1 -0
  221. package/tree-list/tree-list-item.d.ts.map +1 -0
  222. package/{src/tree-list → tree-list}/tree-list.d.ts +1 -0
  223. package/tree-list/tree-list.d.ts.map +1 -0
  224. package/tree-list-item.js +26 -0
  225. package/tree-list-item.mjs +7 -5
  226. package/tree-list.js +10 -0
  227. package/tree-list.mjs +13 -12
  228. package/tslib.es6.mjs +1 -82
  229. package/{src/typography → typography}/typography.d.ts +1 -0
  230. package/typography/typography.d.ts.map +1 -0
  231. package/typography.js +4 -0
  232. package/typography.mjs +16 -14
  233. package/utils.mjs +2 -49
  234. package/covalent.mjs +0 -44
  235. package/covalent.umd.js +0 -3501
  236. package/src/action-ribbon/action-ribbon-base.d.ts.map +0 -1
  237. package/src/action-ribbon/action-ribbon.d.ts.map +0 -1
  238. package/src/alert/alert-base.d.ts.map +0 -1
  239. package/src/alert/alert.d.ts.map +0 -1
  240. package/src/app-shell/app-shell.d.ts.map +0 -1
  241. package/src/button/button.d.ts.map +0 -1
  242. package/src/card/card-base.d.ts.map +0 -1
  243. package/src/card/card.d.ts.map +0 -1
  244. package/src/checkbox/checkbox.d.ts.map +0 -1
  245. package/src/chips/chip-base.d.ts.map +0 -1
  246. package/src/chips/chip-set-base.d.ts.map +0 -1
  247. package/src/chips/chip-set.d.ts.map +0 -1
  248. package/src/chips/chip.d.ts.map +0 -1
  249. package/src/chips/foundation.d.ts.map +0 -1
  250. package/src/circular-progress/circular-progress.d.ts +0 -10
  251. package/src/circular-progress/circular-progress.d.ts.map +0 -1
  252. package/src/code-snippet/code-snippet.d.ts.map +0 -1
  253. package/src/dialog/dialog.d.ts.map +0 -1
  254. package/src/drawer/drawer.d.ts.map +0 -1
  255. package/src/empty-state/empty-state.d.ts.map +0 -1
  256. package/src/formfield/formfield.d.ts.map +0 -1
  257. package/src/icon/icon.d.ts.map +0 -1
  258. package/src/icon-button/icon-button.d.ts.map +0 -1
  259. package/src/icon-checkbox/icon-check-toggle.d.ts.map +0 -1
  260. package/src/icon-radio/icon-radio-toggle.d.ts.map +0 -1
  261. package/src/index.d.ts +0 -3
  262. package/src/index.d.ts.map +0 -1
  263. package/src/linear-progress/linear-progress.d.ts +0 -10
  264. package/src/linear-progress/linear-progress.d.ts.map +0 -1
  265. package/src/list/check-list-item.d.ts +0 -10
  266. package/src/list/check-list-item.d.ts.map +0 -1
  267. package/src/list/list-expansion.d.ts.map +0 -1
  268. package/src/list/list-item.d.ts.map +0 -1
  269. package/src/list/list.d.ts.map +0 -1
  270. package/src/list/nav-list-item.d.ts.map +0 -1
  271. package/src/list/radio-list-item.d.ts +0 -10
  272. package/src/list/radio-list-item.d.ts.map +0 -1
  273. package/src/menu/menu.d.ts.map +0 -1
  274. package/src/radio/radio.d.ts.map +0 -1
  275. package/src/select/select.d.ts.map +0 -1
  276. package/src/side-sheet/side-sheet.d.ts.map +0 -1
  277. package/src/slider/slider-range.d.ts +0 -10
  278. package/src/slider/slider-range.d.ts.map +0 -1
  279. package/src/slider/slider.d.ts.map +0 -1
  280. package/src/snackbar/snackbar.d.ts.map +0 -1
  281. package/src/status-header/status-header-base.d.ts.map +0 -1
  282. package/src/status-header/status-header-item.d.ts.map +0 -1
  283. package/src/status-header/status-header.d.ts.map +0 -1
  284. package/src/switch/switch.d.ts.map +0 -1
  285. package/src/tab/tab-bar.d.ts.map +0 -1
  286. package/src/tab/tab.d.ts.map +0 -1
  287. package/src/text-lockup/text-lockup.d.ts.map +0 -1
  288. package/src/textarea/textarea.d.ts.map +0 -1
  289. package/src/textfield/textfield.d.ts.map +0 -1
  290. package/src/toolbar/toolbar.d.ts.map +0 -1
  291. package/src/tooltip/tooltip.d.ts.map +0 -1
  292. package/src/top-app-bar/top-app-bar-fixed.d.ts +0 -10
  293. package/src/top-app-bar/top-app-bar-fixed.d.ts.map +0 -1
  294. package/src/top-app-bar/top-app-bar.d.ts.map +0 -1
  295. package/src/tree-list/tree-list-item.d.ts.map +0 -1
  296. package/src/tree-list/tree-list.d.ts.map +0 -1
  297. package/src/typography/typography.d.ts.map +0 -1
  298. /package/{src/action-ribbon → action-ribbon}/action-ribbon-base.d.ts +0 -0
  299. /package/{src/alert → alert}/alert-base.d.ts +0 -0
  300. /package/{src/card → card}/card-base.d.ts +0 -0
  301. /package/{src/chips → chips}/chip-base.d.ts +0 -0
  302. /package/{src/chips → chips}/chip-set-base.d.ts +0 -0
  303. /package/{src/chips → chips}/foundation.d.ts +0 -0
  304. /package/{src/status-header → status-header}/status-header-base.d.ts +0 -0
@@ -1,28 +1,30 @@
1
- import { s as l, y as d, i as y, r as h, e as c } from "./query-assigned-elements.mjs";
1
+ import { i as p, r as d, s as y, y as h, e as c } from "./query-assigned-elements.mjs";
2
2
  import { e as m } from "./property.mjs";
3
3
  const f = `:host{--cv-status-header-item-width: 178px;display:flex;padding:14px 16px;align-items:center;font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height)}span{display:inline-block;width:var(--cv-status-header-item-width);color:var(--mdc-theme-text-secondary-on-background)}
4
4
  `;
5
- var v = Object.defineProperty, g = Object.getOwnPropertyDescriptor, p = (n, t, o, r) => {
6
- for (var e = r > 1 ? void 0 : r ? g(t, o) : t, s = n.length - 1, i; s >= 0; s--)
7
- (i = n[s]) && (e = (r ? i(t, o, e) : i(e)) || e);
8
- return r && e && v(t, o, e), e;
5
+ var v = Object.defineProperty, g = Object.getOwnPropertyDescriptor, l = (i, a, s, r) => {
6
+ for (var e = r > 1 ? void 0 : r ? g(a, s) : a, o = i.length - 1, n; o >= 0; o--)
7
+ (n = i[o]) && (e = (r ? n(a, s, e) : n(e)) || e);
8
+ return r && e && v(a, s, e), e;
9
9
  };
10
- let a = class extends l {
10
+ let t = class extends y {
11
11
  render() {
12
- return d`<span>${this.label}</span> <slot></slot>`;
12
+ return h`<span>${this.label}</span> <slot></slot>`;
13
13
  }
14
14
  };
15
- a.styles = [
16
- y`
17
- ${h(f)}
15
+ t.styles = [
16
+ p`
17
+ ${d(f)}
18
18
  `
19
19
  ];
20
- p([
20
+ l([
21
21
  m()
22
- ], a.prototype, "label", 2);
23
- a = p([
22
+ ], t.prototype, "label", 2);
23
+ t = l([
24
24
  c("cv-status-header-item")
25
- ], a);
25
+ ], t);
26
+ const w = t;
26
27
  export {
27
- a as CovalentStatusHeaderItem
28
+ t as CovalentStatusHeaderItem,
29
+ w as default
28
30
  };
@@ -0,0 +1,24 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./query-assigned-elements.mjs"),u=require("./class-map.mjs"),d=require("./property.mjs");var l=Object.defineProperty,v=Object.getOwnPropertyDescriptor,n=(s,e,r,a)=>{for(var t=a>1?void 0:a?v(e,r):e,o=s.length-1,c;o>=0;o--)(c=s[o])&&(t=(a?c(e,r,t):c(t))||t);return a&&t&&l(e,r,t),t};class h extends i.s{constructor(){super(...arguments),this.state="neutral",this.statusText="",this.statusHelper="",this.titleText=""}render(){const e={active:this.state==="active",caution:this.state==="caution",error:this.state==="error",positive:this.state==="positive"};return i.y`
2
+ <div class="status-header ${u.o(e)}">
3
+ <div class="status-header-title">
4
+ <div class="status-header-title-text">${this.titleText}</div>
5
+ <slot name="status-header-actions"></slot>
6
+ </div>
7
+ <div class="status-header-status">
8
+ <div class="status-header-icon">
9
+ <slot name="status-header-icon"></slot>
10
+ </div>
11
+ <div class="status-header-text-block">
12
+ <div class="status-header-text">${this.statusText}</div>
13
+ <div class="status-header-helper">${this.statusHelper}</div>
14
+ </div>
15
+ <div class="status-header-slot">
16
+ <slot name="status-header-text"></slot>
17
+ </div>
18
+ </div>
19
+ <slot></slot>
20
+ </div>
21
+ `}}n([d.e()],h.prototype,"state",2);n([d.e({type:String})],h.prototype,"statusText",2);n([d.e({type:String})],h.prototype,"statusHelper",2);n([d.e({type:String})],h.prototype,"titleText",2);const m=`.status-header{--cv-status-header-background: transparent;--cv-status-header-icon-background: var( --mdc-theme-surface-neutral-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-text-icon-on-background);--cv-status-header-status-color: var(--mdc-theme-on-surface);background-color:var(--cv-status-header-background)}.status-header .status-header-content{max-width:inherit;flex-direction:column}.status-header .status-header-icon{background-color:var(--cv-status-header-icon-background);color:var(--cv-status-header-icon-color)}.status-header .status-header-text{--mdc-theme-primary: var(--mdc-theme-surface-neutral-highlight-hover);--mdc-theme-on-surface: var(--mdc-theme-text-icon-on-background);color:var(--cv-status-header-status-color)}.status-header .status-header-helper{color:var(--mdc-theme-text-secondary-on-background)}.status-header .status-header-title-text{color:var(--mdc-theme-on-surface)}.status-header.active{--cv-status-header-background: var( --mdc-theme-surface-secondary-highlight );--cv-status-header-icon-background: var( --mdc-theme-surface-secondary-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-secondary);--cv-status-header-status-color: var(--mdc-theme-secondary)}.status-header.caution{--cv-status-header-background: var(--mdc-theme-surface-caution-highlight);--cv-status-header-icon-background: var( --mdc-theme-surface-caution-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-caution);--cv-status-header-status-color: var(--mdc-theme-caution)}.status-header.error{--cv-status-header-background: var( --mdc-theme-surface-negative-highlight );--cv-status-header-icon-background: var( --mdc-theme-surface-negative-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-negative);--cv-status-header-status-color: var(--mdc-theme-negative)}.status-header.positive{--cv-status-header-background: var( --mdc-theme-surface-positive-highlight );--cv-status-header-icon-background: var( --mdc-theme-surface-positive-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-positive);--cv-status-header-status-color: var(--mdc-theme-positive)}.status-header-title{padding:0 0 16px 16px;height:fit-content;display:flex;justify-content:space-between;align-items:center}.status-header-title-text{font-family:var(--mdc-typography-headline6-font-family);font-size:var(--mdc-typography-headline6-font-size);font-weight:var(--mdc-typography-headline6-font-weight);line-height:var(--mdc-typography-headline6-line-height)}.status-header-text{font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height)}.status-header-icon{--mdc-icon-size: 36px;border-radius:50%;min-width:72px;height:72px;display:flex;justify-content:center;align-items:center}.status-header-status{padding-left:32px;padding-bottom:16px;display:flex;flex-direction:row;align-items:center}.status-header-text-block{display:flex;flex-direction:column;margin-left:12px;margin-right:56px}.status-header-text-block .status-header-helper{font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height)}
22
+ `;var p=Object.defineProperty,g=Object.getOwnPropertyDescriptor,f=(s,e,r,a)=>{for(var t=a>1?void 0:a?g(e,r):e,o=s.length-1,c;o>=0;o--)(c=s[o])&&(t=(a?c(e,r,t):c(t))||t);return a&&t&&p(e,r,t),t};exports.CovalentStatusHeader=class extends h{};exports.CovalentStatusHeader.styles=[i.i`
23
+ ${i.r(m)}
24
+ `];exports.CovalentStatusHeader=f([i.e("cv-status-header")],exports.CovalentStatusHeader);const y=exports.CovalentStatusHeader;exports.default=y;
package/status-header.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { s as u, y as v, i as l, r as m, e as p } from "./query-assigned-elements.mjs";
2
2
  import { o as g } from "./class-map.mjs";
3
- import { e as h } from "./property.mjs";
4
- var f = Object.defineProperty, y = Object.getOwnPropertyDescriptor, d = (c, e, s, a) => {
3
+ import { e as d } from "./property.mjs";
4
+ var f = Object.defineProperty, y = Object.getOwnPropertyDescriptor, n = (c, e, s, a) => {
5
5
  for (var t = a > 1 ? void 0 : a ? y(e, s) : e, r = c.length - 1, o; r >= 0; r--)
6
6
  (o = c[r]) && (t = (a ? o(e, s, t) : o(t)) || t);
7
7
  return a && t && f(e, s, t), t;
@@ -40,17 +40,17 @@ class i extends u {
40
40
  `;
41
41
  }
42
42
  }
43
- d([
44
- h()
43
+ n([
44
+ d()
45
45
  ], i.prototype, "state", 2);
46
- d([
47
- h({ type: String })
46
+ n([
47
+ d({ type: String })
48
48
  ], i.prototype, "statusText", 2);
49
- d([
50
- h({ type: String })
49
+ n([
50
+ d({ type: String })
51
51
  ], i.prototype, "statusHelper", 2);
52
- d([
53
- h({ type: String })
52
+ n([
53
+ d({ type: String })
54
54
  ], i.prototype, "titleText", 2);
55
55
  const x = `.status-header{--cv-status-header-background: transparent;--cv-status-header-icon-background: var( --mdc-theme-surface-neutral-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-text-icon-on-background);--cv-status-header-status-color: var(--mdc-theme-on-surface);background-color:var(--cv-status-header-background)}.status-header .status-header-content{max-width:inherit;flex-direction:column}.status-header .status-header-icon{background-color:var(--cv-status-header-icon-background);color:var(--cv-status-header-icon-color)}.status-header .status-header-text{--mdc-theme-primary: var(--mdc-theme-surface-neutral-highlight-hover);--mdc-theme-on-surface: var(--mdc-theme-text-icon-on-background);color:var(--cv-status-header-status-color)}.status-header .status-header-helper{color:var(--mdc-theme-text-secondary-on-background)}.status-header .status-header-title-text{color:var(--mdc-theme-on-surface)}.status-header.active{--cv-status-header-background: var( --mdc-theme-surface-secondary-highlight );--cv-status-header-icon-background: var( --mdc-theme-surface-secondary-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-secondary);--cv-status-header-status-color: var(--mdc-theme-secondary)}.status-header.caution{--cv-status-header-background: var(--mdc-theme-surface-caution-highlight);--cv-status-header-icon-background: var( --mdc-theme-surface-caution-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-caution);--cv-status-header-status-color: var(--mdc-theme-caution)}.status-header.error{--cv-status-header-background: var( --mdc-theme-surface-negative-highlight );--cv-status-header-icon-background: var( --mdc-theme-surface-negative-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-negative);--cv-status-header-status-color: var(--mdc-theme-negative)}.status-header.positive{--cv-status-header-background: var( --mdc-theme-surface-positive-highlight );--cv-status-header-icon-background: var( --mdc-theme-surface-positive-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-positive);--cv-status-header-status-color: var(--mdc-theme-positive)}.status-header-title{padding:0 0 16px 16px;height:fit-content;display:flex;justify-content:space-between;align-items:center}.status-header-title-text{font-family:var(--mdc-typography-headline6-font-family);font-size:var(--mdc-typography-headline6-font-size);font-weight:var(--mdc-typography-headline6-font-weight);line-height:var(--mdc-typography-headline6-line-height)}.status-header-text{font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height)}.status-header-icon{--mdc-icon-size: 36px;border-radius:50%;min-width:72px;height:72px;display:flex;justify-content:center;align-items:center}.status-header-status{padding-left:32px;padding-bottom:16px;display:flex;flex-direction:row;align-items:center}.status-header-text-block{display:flex;flex-direction:column;margin-left:12px;margin-right:56px}.status-header-text-block .status-header-helper{font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height)}
56
56
  `;
@@ -59,16 +59,18 @@ var b = Object.defineProperty, w = Object.getOwnPropertyDescriptor, _ = (c, e, s
59
59
  (o = c[r]) && (t = (a ? o(e, s, t) : o(t)) || t);
60
60
  return a && t && b(e, s, t), t;
61
61
  };
62
- let n = class extends i {
62
+ let h = class extends i {
63
63
  };
64
- n.styles = [
64
+ h.styles = [
65
65
  l`
66
66
  ${m(x)}
67
67
  `
68
68
  ];
69
- n = _([
69
+ h = _([
70
70
  p("cv-status-header")
71
- ], n);
71
+ ], h);
72
+ const P = h;
72
73
  export {
73
- n as CovalentStatusHeader
74
+ h as CovalentStatusHeader,
75
+ P as default
74
76
  };
package/style-map.mjs CHANGED
@@ -1,40 +1,5 @@
1
- import { x as i } from "./query-assigned-elements.mjs";
2
- import { e as o, i as l, t as u } from "./class-map.mjs";
3
- /**
1
+ "use strict";const o=require("./query-assigned-elements.mjs"),i=require("./class-map.mjs");/**
4
2
  * @license
5
3
  * Copyright 2018 Google LLC
6
4
  * SPDX-License-Identifier: BSD-3-Clause
7
- */
8
- const a = o(class extends l {
9
- constructor(s) {
10
- var t;
11
- if (super(s), s.type !== u.ATTRIBUTE || s.name !== "style" || ((t = s.strings) === null || t === void 0 ? void 0 : t.length) > 2)
12
- throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
13
- }
14
- render(s) {
15
- return Object.keys(s).reduce((t, r) => {
16
- const e = s[r];
17
- return e == null ? t : t + `${r = r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${e};`;
18
- }, "");
19
- }
20
- update(s, [t]) {
21
- const { style: r } = s.element;
22
- if (this.vt === void 0) {
23
- this.vt = /* @__PURE__ */ new Set();
24
- for (const e in t)
25
- this.vt.add(e);
26
- return this.render(t);
27
- }
28
- this.vt.forEach((e) => {
29
- t[e] == null && (this.vt.delete(e), e.includes("-") ? r.removeProperty(e) : r[e] = "");
30
- });
31
- for (const e in t) {
32
- const n = t[e];
33
- n != null && (this.vt.add(e), e.includes("-") ? r.setProperty(e, n) : r[e] = n);
34
- }
35
- return i;
36
- }
37
- });
38
- export {
39
- a as i
40
- };
5
+ */const u=i.e(class extends i.i{constructor(s){var t;if(super(s),s.type!==i.t.ATTRIBUTE||s.name!=="style"||((t=s.strings)===null||t===void 0?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(s){return Object.keys(s).reduce((t,r)=>{const e=s[r];return e==null?t:t+`${r=r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${e};`},"")}update(s,[t]){const{style:r}=s.element;if(this.vt===void 0){this.vt=new Set;for(const e in t)this.vt.add(e);return this.render(t)}this.vt.forEach(e=>{t[e]==null&&(this.vt.delete(e),e.includes("-")?r.removeProperty(e):r[e]="")});for(const e in t){const n=t[e];n!=null&&(this.vt.add(e),e.includes("-")?r.setProperty(e,n):r[e]=n)}return o.x}});exports.i=u;
package/style.css ADDED
@@ -0,0 +1 @@
1
+ .covalent-icon{--mdc-icon-font: "covalent-icons"}.skeleton-text *{font-family:skeleton,sans-serif!important}.skeleton-text{--mdc-typography-headline1-font-family: "skeleton";--mdc-typography-headline2-font-family: "skeleton";--mdc-typography-headline3-font-family: "skeleton";--mdc-typography-headline4-font-family: "skeleton";--mdc-typography-headline5-font-family: "skeleton";--mdc-typography-headline6-font-family: "skeleton";--mdc-typography-subtitle1-font-family: "skeleton";--mdc-typography-subtitle2-font-family: "skeleton";--mdc-typography-button-font-family: "skeleton";--mdc-typography-caption-font-family: "skeleton";--mdc-typography-overline-font-family: "skeleton";--mdc-typography-body1-font-family: "skeleton";--mdc-typography-body2-font-family: "skeleton";--mdc-typography-body2-letter-spacing: -.03em;--mdc-theme-text-primary-on-background: #cccccc;--skeleton-color: #cccccc}.light{--mdc-theme-primary: #007373;--mdc-theme-secondary: #007373;--mdc-theme-error: #b11d00;--mdc-theme-negative: #b11d00;--mdc-theme-positive: #0a7e07;--mdc-theme-caution: #ff8f00;--mdc-theme-emphasis: #546e7a;--mdc-theme-accent: #007373;--mdc-theme-background: #f5f5f5;--mdc-ripple-color: rgba(0, 0, 0, .87);--mdc-theme-surface: white;--mdc-theme-surface-canvas: #eee;--mdc-theme-surface-primary: #85dddc;--mdc-theme-surface-primary-highlight: rgba(133, 221, 220, .1);--mdc-theme-surface-primary-highlight-hover: rgba(133, 221, 220, .2);--mdc-theme-surface-secondary: #85dddc;--mdc-theme-surface-secondary-highlight: rgba(133, 221, 220, .1);--mdc-theme-surface-secondary-highlight-hover: rgba(133, 221, 220, .2);--mdc-theme-surface-caution: #ffb74d;--mdc-theme-surface-caution-highlight: rgba(255, 183, 77, .1);--mdc-theme-surface-caution-highlight-hover: rgba(255, 183, 77, .2);--mdc-theme-surface-negative: #e57373;--mdc-theme-surface-negative-highlight: rgba(229, 115, 115, .1);--mdc-theme-surface-negative-highlight-hover: rgba(229, 115, 115, .2);--mdc-theme-surface-positive: #a5d6a7;--mdc-theme-surface-positive-highlight: rgba(165, 214, 167, .1);--mdc-theme-surface-positive-highlight-hover: rgba(165, 214, 167, .2);--mdc-theme-surface-neutral: #bdbdbd;--mdc-theme-surface-neutral-highlight: rgba(189, 189, 189, .04);--mdc-theme-surface-neutral-highlight-hover: rgba(189, 189, 189, .08);--mdc-theme-surface-emphasis: #afb6b9;--mdc-theme-surface-emphasis-highlight: rgba(175, 182, 185, .1);--mdc-theme-surface-emphasis-highlight-hover: rgba(175, 182, 185, .2);--mdc-theme-on-primary: white;--mdc-theme-on-secondary: white;--mdc-theme-on-surface: rgba(0, 0, 0, .87);--mdc-theme-border: rgba(0, 0, 0, .12);--mdc-theme-surface-accent: #85dddc;--mdc-theme-surface-accent-highlight: rgba(133, 221, 220, .1);--mdc-theme-surface-accent-highlight-hover: rgba(133, 221, 220, .2);--mdc-typography-font-family: Arial, sans-serif;--mdc-typography-headline1-font-family: Poppins, sans-serif;--mdc-typography-headline1-font-size: 96px;--mdc-typography-headline1-font-weight: 500;--mdc-typography-headline1-line-height: 112px;--mdc-typography-headline2-font-family: Poppins, sans-serif;--mdc-typography-headline2-font-size: 60px;--mdc-typography-headline2-font-weight: 600;--mdc-typography-headline2-line-height: 84px;--mdc-typography-headline3-font-family: Poppins, sans-serif;--mdc-typography-headline3-font-size: 48px;--mdc-typography-headline3-font-weight: 600;--mdc-typography-headline3-line-height: 64px;--mdc-typography-headline4-font-family: Poppins, sans-serif;--mdc-typography-headline4-font-size: 34px;--mdc-typography-headline4-font-weight: 700;--mdc-typography-headline4-line-height: 48px;--mdc-typography-headline5-font-family: Poppins, sans-serif;--mdc-typography-headline5-font-size: 24px;--mdc-typography-headline5-font-weight: 700;--mdc-typography-headline5-line-height: 36px;--mdc-typography-headline6-font-family: Poppins, sans-serif;--mdc-typography-headline6-font-size: 20px;--mdc-typography-headline6-font-weight: 700;--mdc-typography-headline6-line-height: 28px;--mdc-typography-subtitle1-font-family: Poppins, sans-serif;--mdc-typography-subtitle1-font-size: 14px;--mdc-typography-subtitle1-font-weight: 600;--mdc-typography-subtitle1-line-height: 20px;--mdc-typography-subtitle2-font-family: Poppins, sans-serif;--mdc-typography-subtitle2-font-size: 16px;--mdc-typography-subtitle2-font-weight: 600;--mdc-typography-subtitle2-line-height: 24px;--mdc-typography-body1-font-family: var(--mdc-typography-font-family);--mdc-typography-body1-font-size: 16px;--mdc-typography-body1-font-weight: 400;--mdc-typography-body1-line-height: 24px;--mdc-typography-body2-font-family: var(--mdc-typography-font-family);--mdc-typography-body2-font-size: 14px;--mdc-typography-body2-font-weight: 400;--mdc-typography-body2-line-height: 20px;--mdc-typography-button-font-family: Poppins, sans-serif;--mdc-typography-button-font-size: 14px;--mdc-typography-button-font-weight: 600;--mdc-typography-button-line-height: 16px;--mdc-typography-caption-font-family: var(--mdc-typography-font-family);--mdc-typography-caption-font-size: 12px;--mdc-typography-caption-font-weight: 400;--mdc-typography-caption-line-height: 16px;--mdc-theme-text-primary-on-background: rgba(0, 0, 0, .87);--mdc-theme-text-secondary-on-background: rgba(0, 0, 0, .54);--mdc-theme-text-hint-on-background: rgba(0, 0, 0, .38);--mdc-theme-text-disabled-on-background: rgba(0, 0, 0, .38);--mdc-theme-text-icon-on-background: rgba(0, 0, 0, .54);--mdc-theme-text-primary-on-light: rgba(0, 0, 0, .87);--mdc-theme-text-secondary-on-light: rgba(0, 0, 0, .54);--mdc-theme-text-hint-on-light: rgba(0, 0, 0, .38);--mdc-theme-text-disabled-on-light: rgba(0, 0, 0, .38);--mdc-theme-text-icon-on-light: rgba(0, 0, 0, .54);--mdc-theme-text-primary-on-dark: white;--mdc-theme-text-secondary-on-dark: rgba(255, 255, 255, .7);--mdc-theme-text-hint-on-dark: rgba(255, 255, 255, .5);--mdc-theme-text-disabled-on-dark: rgba(255, 255, 255, .5);--mdc-theme-text-icon-on-dark: white;--covalent-theme-text-logo-on-background: #354145;--mdc-shape-small: 8px;--mdc-shape-medium: 8px;--cov-theme-code-snippet-color: #383a42;--cov-theme-code-snippet-comment: #a0a1a7;--cov-theme-code-snippet-keyword: #a626a4;--cov-theme-code-snippet-selector: #e45649;--cov-theme-code-snippet-literal: #0184bb;--cov-theme-code-snippet-string: #50a14f;--cov-theme-code-snippet-variable: #986801;--cov-theme-code-snippet-title: #4078f2;--cov-theme-code-snippet-class: #c18401;border-width:0;border-style:solid;color:var(--mdc-theme-text-primary-on-background)}.light .mdc-data-table__sort-icon-button{color:#00000061}.light .mdc-data-table__sort-icon-button .mdc-icon-button__ripple:before,.light .mdc-data-table__sort-icon-button .mdc-icon-button__ripple:after{background-color:#00000061;background-color:var(--mdc-ripple-color, rgba(0, 0, 0, .38))}.light .mdc-data-table__sort-icon-button:hover .mdc-icon-button__ripple:before,.light .mdc-data-table__sort-icon-button.mdc-ripple-surface--hover .mdc-icon-button__ripple:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.light .mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple:before,.light .mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.light .mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple:after{transition:opacity .15s linear}.light .mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.light .mdc-data-table__sort-icon-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.light .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{color:#0000008a}.light .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button .mdc-icon-button__ripple:before,.light .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button .mdc-icon-button__ripple:after{background-color:#0000008a;background-color:var(--mdc-ripple-color, rgba(0, 0, 0, .54))}.light .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button:hover .mdc-icon-button__ripple:before,.light .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button.mdc-ripple-surface--hover .mdc-icon-button__ripple:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.light .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple:before,.light .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.light .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple:after{transition:opacity .15s linear}.light .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.light .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.light .mdc-data-table__row--selected{background-color:#bdbdbd0a}.light .mdc-data-table__row:not(.mdc-data-table__row--selected):hover{background-color:#bdbdbd14}.light .mdc-data-table__header-cell,.light .mdc-data-table__pagination-total,.light .mdc-data-table__pagination-rows-per-page-label,.light .mdc-data-table__cell{color:#000000de}.light .mdc-data-table__pagination-rows-per-page-select:not(.mdc-select--disabled) .mdc-notched-outline__leading,.light .mdc-data-table__pagination-rows-per-page-select:not(.mdc-select--disabled) .mdc-notched-outline__notch,.light .mdc-data-table__pagination-rows-per-page-select:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:#0000001f}.light .mdc-data-table__cell,.light .mdc-data-table__header-cell{border-bottom-color:#0000001f}.light .mdc-data-table__pagination{border-top-color:#0000001f}.light .mdc-data-table{width:100%;border-width:0;white-space:normal}.light .mdc-data-table__header-cell{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)}.light .mdc-data-table__sort-icon-button{font-size:1rem}.light a[href]{color:var(--mdc-theme-secondary);text-decoration:underline}.light a[href]:hover{text-decoration:none}.dark{--mdc-theme-primary: #59cecd;--mdc-theme-secondary: #59cecd;--mdc-theme-error: #f46f5a;--mdc-theme-negative: #f46f5a;--mdc-theme-positive: #42bd41;--mdc-theme-caution: #ffb74d;--mdc-theme-emphasis: #b0bec5;--mdc-theme-accent: #59cecd;--mdc-theme-background: #161c1f;--mdc-ripple-color: white;--mdc-theme-surface: #28353b;--mdc-theme-surface-canvas: #101314;--mdc-theme-surface-primary: #045c5c;--mdc-theme-surface-primary-highlight: rgba(4, 92, 92, .4);--mdc-theme-surface-primary-highlight-hover: rgba(4, 92, 92, .6);--mdc-theme-surface-secondary: #045c5c;--mdc-theme-surface-secondary-highlight: rgba(4, 92, 92, .4);--mdc-theme-surface-secondary-highlight-hover: rgba(4, 92, 92, .6);--mdc-theme-surface-caution: #704c16;--mdc-theme-surface-caution-highlight: rgba(112, 76, 22, .4);--mdc-theme-surface-caution-highlight-hover: rgba(112, 76, 22, .6);--mdc-theme-surface-negative: #883e32;--mdc-theme-surface-negative-highlight: rgba(136, 62, 50, .4);--mdc-theme-surface-negative-highlight-hover: rgba(136, 62, 50, .6);--mdc-theme-surface-positive: #336033;--mdc-theme-surface-positive-highlight: rgba(51, 96, 51, .4);--mdc-theme-surface-positive-highlight-hover: rgba(51, 96, 51, .6);--mdc-theme-surface-neutral: #43515a;--mdc-theme-surface-neutral-highlight: rgba(67, 81, 90, .4);--mdc-theme-surface-neutral-highlight-hover: rgba(67, 81, 90, .6);--mdc-theme-surface-emphasis: #43515a;--mdc-theme-surface-emphasis-highlight: rgba(67, 81, 90, .4);--mdc-theme-surface-emphasis-highlight-hover: rgba(67, 81, 90, .6);--mdc-theme-on-primary: rgba(0, 0, 0, .87);--mdc-theme-on-secondary: rgba(0, 0, 0, .87);--mdc-theme-on-surface: white;--mdc-theme-border: rgba(255, 255, 255, .2);--mdc-theme-surface-accent: #045c5c;--mdc-theme-surface-accent-highlight: rgba(4, 92, 92, .4);--mdc-theme-surface-accent-highlight-hover: rgba(4, 92, 92, .6);--mdc-typography-font-family: Arial, sans-serif;--mdc-typography-headline1-font-family: Poppins, sans-serif;--mdc-typography-headline1-font-size: 96px;--mdc-typography-headline1-font-weight: 500;--mdc-typography-headline1-line-height: 112px;--mdc-typography-headline2-font-family: Poppins, sans-serif;--mdc-typography-headline2-font-size: 60px;--mdc-typography-headline2-font-weight: 600;--mdc-typography-headline2-line-height: 84px;--mdc-typography-headline3-font-family: Poppins, sans-serif;--mdc-typography-headline3-font-size: 48px;--mdc-typography-headline3-font-weight: 600;--mdc-typography-headline3-line-height: 64px;--mdc-typography-headline4-font-family: Poppins, sans-serif;--mdc-typography-headline4-font-size: 34px;--mdc-typography-headline4-font-weight: 700;--mdc-typography-headline4-line-height: 48px;--mdc-typography-headline5-font-family: Poppins, sans-serif;--mdc-typography-headline5-font-size: 24px;--mdc-typography-headline5-font-weight: 700;--mdc-typography-headline5-line-height: 36px;--mdc-typography-headline6-font-family: Poppins, sans-serif;--mdc-typography-headline6-font-size: 20px;--mdc-typography-headline6-font-weight: 700;--mdc-typography-headline6-line-height: 28px;--mdc-typography-subtitle1-font-family: Poppins, sans-serif;--mdc-typography-subtitle1-font-size: 14px;--mdc-typography-subtitle1-font-weight: 600;--mdc-typography-subtitle1-line-height: 20px;--mdc-typography-subtitle2-font-family: Poppins, sans-serif;--mdc-typography-subtitle2-font-size: 16px;--mdc-typography-subtitle2-font-weight: 600;--mdc-typography-subtitle2-line-height: 24px;--mdc-typography-body1-font-family: var(--mdc-typography-font-family);--mdc-typography-body1-font-size: 16px;--mdc-typography-body1-font-weight: 400;--mdc-typography-body1-line-height: 24px;--mdc-typography-body2-font-family: var(--mdc-typography-font-family);--mdc-typography-body2-font-size: 14px;--mdc-typography-body2-font-weight: 400;--mdc-typography-body2-line-height: 20px;--mdc-typography-button-font-family: Poppins, sans-serif;--mdc-typography-button-font-size: 14px;--mdc-typography-button-font-weight: 600;--mdc-typography-button-line-height: 16px;--mdc-typography-caption-font-family: var(--mdc-typography-font-family);--mdc-typography-caption-font-size: 12px;--mdc-typography-caption-font-weight: 400;--mdc-typography-caption-line-height: 16px;--mdc-theme-text-primary-on-background: white;--mdc-theme-text-secondary-on-background: rgba(255, 255, 255, .7);--mdc-theme-text-hint-on-background: rgba(255, 255, 255, .5);--mdc-theme-text-disabled-on-background: rgba(255, 255, 255, .5);--mdc-theme-text-icon-on-background: white;--mdc-theme-text-primary-on-light: rgba(0, 0, 0, .87);--mdc-theme-text-secondary-on-light: rgba(0, 0, 0, .54);--mdc-theme-text-hint-on-light: rgba(0, 0, 0, .38);--mdc-theme-text-disabled-on-light: rgba(0, 0, 0, .38);--mdc-theme-text-icon-on-light: rgba(0, 0, 0, .54);--mdc-theme-text-primary-on-dark: white;--mdc-theme-text-secondary-on-dark: rgba(255, 255, 255, .7);--mdc-theme-text-hint-on-dark: rgba(255, 255, 255, .5);--mdc-theme-text-disabled-on-dark: rgba(255, 255, 255, .5);--mdc-theme-text-icon-on-dark: white;--covalent-theme-text-logo-on-background: white;--mdc-shape-small: 8px;--mdc-shape-medium: 8px;--cov-theme-code-snippet-color: #abb2bf;--cov-theme-code-snippet-comment: #5c6370;--cov-theme-code-snippet-keyword: #c678dd;--cov-theme-code-snippet-selector: #e06c75;--cov-theme-code-snippet-literal: #56b6c2;--cov-theme-code-snippet-string: #98c379;--cov-theme-code-snippet-variable: #d19a66;--cov-theme-code-snippet-title: #61aeee;--cov-theme-code-snippet-class: #e6c07b;border-width:0;border-style:solid;color:var(--mdc-theme-text-primary-on-background)}.dark .mdc-data-table__sort-icon-button{color:#ffffff80}.dark .mdc-data-table__sort-icon-button .mdc-icon-button__ripple:before,.dark .mdc-data-table__sort-icon-button .mdc-icon-button__ripple:after{background-color:#ffffff80;background-color:var(--mdc-ripple-color, rgba(255, 255, 255, .5))}.dark .mdc-data-table__sort-icon-button:hover .mdc-icon-button__ripple:before,.dark .mdc-data-table__sort-icon-button.mdc-ripple-surface--hover .mdc-icon-button__ripple:before{opacity:.08;opacity:var(--mdc-ripple-hover-opacity, .08)}.dark .mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple:before,.dark .mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple:before{transition-duration:75ms;opacity:.24;opacity:var(--mdc-ripple-focus-opacity, .24)}.dark .mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple:after{transition:opacity .15s linear}.dark .mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple:after{transition-duration:75ms;opacity:.24;opacity:var(--mdc-ripple-press-opacity, .24)}.dark .mdc-data-table__sort-icon-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .24)}.dark .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{color:#fff}.dark .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button .mdc-icon-button__ripple:before,.dark .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button .mdc-icon-button__ripple:after{background-color:#fff;background-color:var(--mdc-ripple-color, white)}.dark .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button:hover .mdc-icon-button__ripple:before,.dark .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button.mdc-ripple-surface--hover .mdc-icon-button__ripple:before{opacity:.08;opacity:var(--mdc-ripple-hover-opacity, .08)}.dark .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple:before,.dark .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple:before{transition-duration:75ms;opacity:.24;opacity:var(--mdc-ripple-focus-opacity, .24)}.dark .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple:after{transition:opacity .15s linear}.dark .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple:after{transition-duration:75ms;opacity:.24;opacity:var(--mdc-ripple-press-opacity, .24)}.dark .mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .24)}.dark .mdc-data-table__row--selected{background-color:#43515a66}.dark .mdc-data-table__row:not(.mdc-data-table__row--selected):hover{background-color:#43515a99}.dark .mdc-data-table__header-cell,.dark .mdc-data-table__pagination-total,.dark .mdc-data-table__pagination-rows-per-page-label,.dark .mdc-data-table__cell{color:#fff}.dark .mdc-data-table__pagination-rows-per-page-select:not(.mdc-select--disabled) .mdc-notched-outline__leading,.dark .mdc-data-table__pagination-rows-per-page-select:not(.mdc-select--disabled) .mdc-notched-outline__notch,.dark .mdc-data-table__pagination-rows-per-page-select:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:#fff3}.dark .mdc-data-table__cell,.dark .mdc-data-table__header-cell{border-bottom-color:#fff3}.dark .mdc-data-table__pagination{border-top-color:#fff3}.dark .mdc-data-table{width:100%;border-width:0;white-space:normal}.dark .mdc-data-table__header-cell{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)}.dark .mdc-data-table__sort-icon-button{font-size:1rem}.dark a[href]{color:var(--mdc-theme-secondary);text-decoration:underline}.dark a[href]:hover{text-decoration:none}
@@ -1,10 +1,11 @@
1
1
  import { SwitchBase } from '@material/mwc-switch/mwc-switch-base';
2
2
  declare global {
3
3
  interface HTMLElementTagNameMap {
4
- 'cv-switch': CovalentSwitchBase;
4
+ 'cv-switch': CovalentSwitch;
5
5
  }
6
6
  }
7
- export declare class CovalentSwitchBase extends SwitchBase {
7
+ export declare class CovalentSwitch extends SwitchBase {
8
8
  static styles: import("lit").CSSResult[];
9
9
  }
10
+ export default CovalentSwitch;
10
11
  //# sourceMappingURL=switch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/switch/switch.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAIlE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,WAAW,EAAE,cAAc,CAAC;KAC7B;CACF;AAED,qBACa,cAAe,SAAQ,UAAU;IAC5C,OAAgB,MAAM,4BAA2C;CAClE;AAED,eAAe,cAAc,CAAC"}
package/switch.js ADDED
@@ -0,0 +1,174 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./query-assigned-elements.mjs"),i=require("./tslib.es6.mjs"),P=require("./ripple-handlers.mjs"),O=require("./aria-property.mjs"),$=require("./form-element.mjs"),y=require("./property.mjs"),R=require("./state.mjs"),L=require("./event-options.mjs"),S=require("./query.mjs"),q=require("./class-map.mjs"),k=require("./if-defined.mjs");require("./base-element.mjs");require("./utils.mjs");require("./style-map.mjs");/**
2
+ * @license
3
+ * Copyright 2016 Google Inc.
4
+ *
5
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ * of this software and associated documentation files (the "Software"), to deal
7
+ * in the Software without restriction, including without limitation the rights
8
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ * copies of the Software, and to permit persons to whom the Software is
10
+ * furnished to do so, subject to the following conditions:
11
+ *
12
+ * The above copyright notice and this permission notice shall be included in
13
+ * all copies or substantial portions of the Software.
14
+ *
15
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ * THE SOFTWARE.
22
+ */var F=function(){function t(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();/**
23
+ * @license
24
+ * Copyright 2021 Google Inc.
25
+ *
26
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
27
+ * of this software and associated documentation files (the "Software"), to deal
28
+ * in the Software without restriction, including without limitation the rights
29
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
30
+ * copies of the Software, and to permit persons to whom the Software is
31
+ * furnished to do so, subject to the following conditions:
32
+ *
33
+ * The above copyright notice and this permission notice shall be included in
34
+ * all copies or substantial portions of the Software.
35
+ *
36
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
37
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
38
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
39
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
40
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
42
+ * THE SOFTWARE.
43
+ */function M(t,e,c){var r=T(t,e),s=r.getObservers(e);return s.push(c),function(){s.splice(s.indexOf(c),1)}}var x=new WeakMap;function T(t,e){var c=new Map;x.has(t)||x.set(t,{isEnabled:!0,getObservers:function(d){var m=c.get(d)||[];return c.has(d)||c.set(d,m),m},installedProperties:new Set});var r=x.get(t);if(r.installedProperties.has(e))return r;var s=B(t,e)||{configurable:!0,enumerable:!0,value:t[e],writable:!0},a=i.__assign({},s),o=s.get,p=s.set;if("value"in s){delete a.value,delete a.writable;var w=s.value;o=function(){return w},s.writable&&(p=function(d){w=d})}return o&&(a.get=function(){return o.call(this)}),p&&(a.set=function(d){var m,g,b=o?o.call(this):d;if(p.call(this,d),r.isEnabled&&(!o||d!==b))try{for(var h=i.__values(r.getObservers(e)),u=h.next();!u.done;u=h.next()){var _=u.value;_(d,b)}}catch(f){m={error:f}}finally{try{u&&!u.done&&(g=h.return)&&g.call(h)}finally{if(m)throw m.error}}}),r.installedProperties.add(e),Object.defineProperty(t,e,a),r}function B(t,e){for(var c=t,r;c&&(r=Object.getOwnPropertyDescriptor(c,e),!r);)c=Object.getPrototypeOf(c);return r}function H(t,e){var c=x.get(t);c&&(c.isEnabled=e)}/**
44
+ * @license
45
+ * Copyright 2021 Google Inc.
46
+ *
47
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
48
+ * of this software and associated documentation files (the "Software"), to deal
49
+ * in the Software without restriction, including without limitation the rights
50
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
51
+ * copies of the Software, and to permit persons to whom the Software is
52
+ * furnished to do so, subject to the following conditions:
53
+ *
54
+ * The above copyright notice and this permission notice shall be included in
55
+ * all copies or substantial portions of the Software.
56
+ *
57
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
58
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
59
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
60
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
61
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
62
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
63
+ * THE SOFTWARE.
64
+ */var I=function(t){i.__extends(e,t);function e(c){var r=t.call(this,c)||this;return r.unobserves=new Set,r}return e.prototype.destroy=function(){t.prototype.destroy.call(this),this.unobserve()},e.prototype.observe=function(c,r){var s,a,o=this,p=[];try{for(var w=i.__values(Object.keys(r)),d=w.next();!d.done;d=w.next()){var m=d.value,g=r[m].bind(this);p.push(this.observeProperty(c,m,g))}}catch(h){s={error:h}}finally{try{d&&!d.done&&(a=w.return)&&a.call(w)}finally{if(s)throw s.error}}var b=function(){var h,u;try{for(var _=i.__values(p),f=_.next();!f.done;f=_.next()){var D=f.value;D()}}catch(z){h={error:z}}finally{try{f&&!f.done&&(u=_.return)&&u.call(_)}finally{if(h)throw h.error}}o.unobserves.delete(b)};return this.unobserves.add(b),b},e.prototype.observeProperty=function(c,r,s){return M(c,r,s)},e.prototype.setObserversEnabled=function(c,r){H(c,r)},e.prototype.unobserve=function(){var c,r;try{for(var s=i.__values(i.__spreadArray([],i.__read(this.unobserves))),a=s.next();!a.done;a=s.next()){var o=a.value;o()}}catch(p){c={error:p}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(c)throw c.error}}},e}(F);/**
65
+ * @license
66
+ * Copyright 2021 Google Inc.
67
+ *
68
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
69
+ * of this software and associated documentation files (the "Software"), to deal
70
+ * in the Software without restriction, including without limitation the rights
71
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
72
+ * copies of the Software, and to permit persons to whom the Software is
73
+ * furnished to do so, subject to the following conditions:
74
+ *
75
+ * The above copyright notice and this permission notice shall be included in
76
+ * all copies or substantial portions of the Software.
77
+ *
78
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
79
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
80
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
81
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
82
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
83
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
84
+ * THE SOFTWARE.
85
+ */var v;(function(t){t.PROCESSING="mdc-switch--processing",t.SELECTED="mdc-switch--selected",t.UNSELECTED="mdc-switch--unselected"})(v||(v={}));var C;(function(t){t.RIPPLE=".mdc-switch__ripple"})(C||(C={}));/**
86
+ * @license
87
+ * Copyright 2021 Google Inc.
88
+ *
89
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
90
+ * of this software and associated documentation files (the "Software"), to deal
91
+ * in the Software without restriction, including without limitation the rights
92
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
93
+ * copies of the Software, and to permit persons to whom the Software is
94
+ * furnished to do so, subject to the following conditions:
95
+ *
96
+ * The above copyright notice and this permission notice shall be included in
97
+ * all copies or substantial portions of the Software.
98
+ *
99
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
100
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
101
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
102
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
103
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
104
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
105
+ * THE SOFTWARE.
106
+ */var E=function(t){i.__extends(e,t);function e(c){var r=t.call(this,c)||this;return r.handleClick=r.handleClick.bind(r),r}return e.prototype.init=function(){this.observe(this.adapter.state,{disabled:this.stopProcessingIfDisabled,processing:this.stopProcessingIfDisabled})},e.prototype.handleClick=function(){this.adapter.state.disabled||(this.adapter.state.selected=!this.adapter.state.selected)},e.prototype.stopProcessingIfDisabled=function(){this.adapter.state.disabled&&(this.adapter.state.processing=!1)},e}(I);(function(t){i.__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.init=function(){t.prototype.init.call(this),this.observe(this.adapter.state,{disabled:this.onDisabledChange,processing:this.onProcessingChange,selected:this.onSelectedChange})},e.prototype.initFromDOM=function(){this.setObserversEnabled(this.adapter.state,!1),this.adapter.state.selected=this.adapter.hasClass(v.SELECTED),this.onSelectedChange(),this.adapter.state.disabled=this.adapter.isDisabled(),this.adapter.state.processing=this.adapter.hasClass(v.PROCESSING),this.setObserversEnabled(this.adapter.state,!0),this.stopProcessingIfDisabled()},e.prototype.onDisabledChange=function(){this.adapter.setDisabled(this.adapter.state.disabled)},e.prototype.onProcessingChange=function(){this.toggleClass(this.adapter.state.processing,v.PROCESSING)},e.prototype.onSelectedChange=function(){this.adapter.setAriaChecked(String(this.adapter.state.selected)),this.toggleClass(this.adapter.state.selected,v.SELECTED),this.toggleClass(!this.adapter.state.selected,v.UNSELECTED)},e.prototype.toggleClass=function(c,r){c?this.adapter.addClass(r):this.adapter.removeClass(r)},e})(E);/**
107
+ * @license
108
+ * Copyright 2021 Google LLC
109
+ * SPDX-License-Identifier: Apache-2.0
110
+ */class n extends $.FormElement{constructor(){super(...arguments),this.processing=!1,this.selected=!1,this.ariaLabel="",this.ariaLabelledBy="",this.shouldRenderRipple=!1,this.rippleHandlers=new P.RippleHandlers(()=>(this.shouldRenderRipple=!0,this.ripple)),this.name="",this.value="on",this.mdcFoundationClass=E}setFormData(e){this.name&&this.selected&&e.append(this.name,this.value)}click(){var e,c;this.disabled||((e=this.mdcRoot)===null||e===void 0||e.focus(),(c=this.mdcRoot)===null||c===void 0||c.click())}render(){return l.y`
111
+ <button
112
+ type="button"
113
+ class="mdc-switch ${q.o(this.getRenderClasses())}"
114
+ role="switch"
115
+ aria-checked="${this.selected}"
116
+ aria-label="${k.l(this.ariaLabel||void 0)}"
117
+ aria-labelledby="${k.l(this.ariaLabelledBy||void 0)}"
118
+ .disabled=${this.disabled}
119
+ @click=${this.handleClick}
120
+ @focus="${this.handleFocus}"
121
+ @blur="${this.handleBlur}"
122
+ @pointerdown="${this.handlePointerDown}"
123
+ @pointerup="${this.handlePointerUp}"
124
+ @pointerenter="${this.handlePointerEnter}"
125
+ @pointerleave="${this.handlePointerLeave}"
126
+ >
127
+ <div class="mdc-switch__track"></div>
128
+ <div class="mdc-switch__handle-track">
129
+ ${this.renderHandle()}
130
+ </div>
131
+ </button>
132
+
133
+ <input
134
+ type="checkbox"
135
+ aria-hidden="true"
136
+ name="${this.name}"
137
+ .checked=${this.selected}
138
+ .value=${this.value}
139
+ >
140
+ `}getRenderClasses(){return{"mdc-switch--processing":this.processing,"mdc-switch--selected":this.selected,"mdc-switch--unselected":!this.selected}}renderHandle(){return l.y`
141
+ <div class="mdc-switch__handle">
142
+ ${this.renderShadow()}
143
+ ${this.renderRipple()}
144
+ <div class="mdc-switch__icons">
145
+ ${this.renderOnIcon()}
146
+ ${this.renderOffIcon()}
147
+ </div>
148
+ </div>
149
+ `}renderShadow(){return l.y`
150
+ <div class="mdc-switch__shadow">
151
+ <div class="mdc-elevation-overlay"></div>
152
+ </div>
153
+ `}renderRipple(){return this.shouldRenderRipple?l.y`
154
+ <div class="mdc-switch__ripple">
155
+ <mwc-ripple
156
+ internalUseStateLayerCustomProperties
157
+ .disabled="${this.disabled}"
158
+ unbounded>
159
+ </mwc-ripple>
160
+ </div>
161
+ `:l.y``}renderOnIcon(){return l.y`
162
+ <svg class="mdc-switch__icon mdc-switch__icon--on" viewBox="0 0 24 24">
163
+ <path d="M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z" />
164
+ </svg>
165
+ `}renderOffIcon(){return l.y`
166
+ <svg class="mdc-switch__icon mdc-switch__icon--off" viewBox="0 0 24 24">
167
+ <path d="M20 13H4v-2h16v2z" />
168
+ </svg>
169
+ `}handleClick(){var e;(e=this.mdcFoundation)===null||e===void 0||e.handleClick()}handleFocus(){this.rippleHandlers.startFocus()}handleBlur(){this.rippleHandlers.endFocus()}handlePointerDown(e){e.target.setPointerCapture(e.pointerId),this.rippleHandlers.startPress(e)}handlePointerUp(){this.rippleHandlers.endPress()}handlePointerEnter(){this.rippleHandlers.startHover()}handlePointerLeave(){this.rippleHandlers.endHover()}createAdapter(){return{state:this}}}i.__decorate([y.e({type:Boolean})],n.prototype,"processing",void 0);i.__decorate([y.e({type:Boolean})],n.prototype,"selected",void 0);i.__decorate([O.ariaProperty,y.e({type:String,attribute:"aria-label"})],n.prototype,"ariaLabel",void 0);i.__decorate([O.ariaProperty,y.e({type:String,attribute:"aria-labelledby"})],n.prototype,"ariaLabelledBy",void 0);i.__decorate([P.e("mwc-ripple")],n.prototype,"ripple",void 0);i.__decorate([R.t()],n.prototype,"shouldRenderRipple",void 0);i.__decorate([y.e({type:String,reflect:!0})],n.prototype,"name",void 0);i.__decorate([y.e({type:String})],n.prototype,"value",void 0);i.__decorate([S.i("input")],n.prototype,"formElement",void 0);i.__decorate([S.i(".mdc-switch")],n.prototype,"mdcRoot",void 0);i.__decorate([L.e({passive:!0})],n.prototype,"handlePointerDown",null);/**
170
+ * @license
171
+ * Copyright 2021 Google LLC
172
+ * SPDX-LIcense-Identifier: Apache-2.0
173
+ */const j=l.i`.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid transparent;border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid transparent;border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}:host{display:inline-flex;outline:none}input{display:none}.mdc-switch{width:36px;width:var(--mdc-switch-track-width, 36px)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:#6200ee;background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:#310077;background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:#310077;background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:#310077;background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:#424242;background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:#616161;background:var(--mdc-switch-unselected-handle-color, #616161)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:#424242;background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mdc-switch .mdc-switch__handle::before{background:#fff;background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mdc-switch:enabled .mdc-switch__shadow{--mdc-elevation-box-shadow-for-gss:0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-switch-handle-elevation, var(--mdc-elevation-box-shadow-for-gss))}.mdc-switch:disabled .mdc-switch__shadow{--mdc-elevation-box-shadow-for-gss:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-switch-disabled-handle-elevation, var(--mdc-elevation-box-shadow-for-gss))}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:20px;height:var(--mdc-switch-handle-height, 20px)}.mdc-switch:disabled .mdc-switch__handle::after{opacity:0.38;opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mdc-switch .mdc-switch__handle{border-radius:10px;border-radius:var(--mdc-switch-handle-shape, 10px)}.mdc-switch .mdc-switch__handle{width:20px;width:var(--mdc-switch-handle-width, 20px)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - 20px);width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:0.38;opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:0.38;opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:18px;width:var(--mdc-switch-selected-icon-size, 18px);height:18px;height:var(--mdc-switch-selected-icon-size, 18px)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:18px;width:var(--mdc-switch-unselected-icon-size, 18px);height:18px;height:var(--mdc-switch-unselected-icon-size, 18px)}.mdc-switch .mdc-switch__ripple{height:48px;height:var(--mdc-switch-state-layer-size, 48px);width:48px;width:var(--mdc-switch-state-layer-size, 48px)}.mdc-switch .mdc-switch__track{height:14px;height:var(--mdc-switch-track-height, 14px)}.mdc-switch:disabled .mdc-switch__track{opacity:0.12;opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mdc-switch:enabled .mdc-switch__track::after{background:#d7bbff;background:var(--mdc-switch-selected-track-color, #d7bbff)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:#d7bbff;background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:#d7bbff;background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mdc-switch:enabled:active .mdc-switch__track::after{background:#d7bbff;background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mdc-switch:disabled .mdc-switch__track::after{background:#424242;background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mdc-switch:enabled .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mdc-switch:enabled:active .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mdc-switch:disabled .mdc-switch__track::before{background:#424242;background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mdc-switch .mdc-switch__track{border-radius:7px;border-radius:var(--mdc-switch-track-shape, 7px)}.mdc-switch.mdc-switch--selected{--mdc-ripple-focus-state-layer-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee));--mdc-ripple-focus-state-layer-opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12);--mdc-ripple-hover-state-layer-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee));--mdc-ripple-hover-state-layer-opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04);--mdc-ripple-pressed-state-layer-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee));--mdc-ripple-pressed-state-layer-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active){--mdc-ripple-hover-state-layer-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mdc-switch.mdc-switch--selected:enabled:active{--mdc-ripple-hover-state-layer-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mdc-switch.mdc-switch--unselected{--mdc-ripple-focus-state-layer-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242);--mdc-ripple-focus-state-layer-opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12);--mdc-ripple-hover-state-layer-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242);--mdc-ripple-hover-state-layer-opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04);--mdc-ripple-pressed-state-layer-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242);--mdc-ripple-pressed-state-layer-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active){--mdc-ripple-hover-state-layer-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mdc-switch.mdc-switch--unselected:enabled:active{--mdc-ripple-hover-state-layer-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-switch:disabled .mdc-switch__handle::after{opacity:1;opacity:var(--mdc-switch-disabled-handle-opacity, 1)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:ButtonText;fill:var(--mdc-switch-selected-icon-color, ButtonText)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:GrayText;fill:var(--mdc-switch-disabled-selected-icon-color, GrayText)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:ButtonText;fill:var(--mdc-switch-unselected-icon-color, ButtonText)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:GrayText;fill:var(--mdc-switch-disabled-unselected-icon-color, GrayText)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:1;opacity:var(--mdc-switch-disabled-selected-icon-opacity, 1)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:1;opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 1)}.mdc-switch:disabled .mdc-switch__track{opacity:1;opacity:var(--mdc-switch-disabled-track-opacity, 1)}}`,X=`:host{--mdc-theme-surface: var(--mdc-theme-background);--mdc-switch-selected-handle-color: var(--mdc-theme-primary);--mdc-switch-selected-hover-handle-color: var(--mdc-theme-primary);--mdc-switch-selected-focus-handle-color: var(--mdc-theme-primary);--mdc-switch-selected-pressed-handle-color: var(--mdc-theme-primary);--mdc-switch-selected-track-color: var(--mdc-theme-surface-secondary);--mdc-switch-selected-focus-track-color: var( --mdc-theme-surface-secondary-highlight );--mdc-switch-selected-hover-track-color: var( --mdc-theme-surface-secondary-highlight-hover );--mdc-switch-selected-pressed-track-color: var( --mdc-theme-surface-secondary-highlight-hover )}
174
+ `;var G=Object.defineProperty,A=Object.getOwnPropertyDescriptor,U=(t,e,c,r)=>{for(var s=r>1?void 0:r?A(e,c):e,a=t.length-1,o;a>=0;a--)(o=t[a])&&(s=(r?o(e,c,s):o(s))||s);return r&&s&&G(e,c,s),s};exports.CovalentSwitch=class extends n{};exports.CovalentSwitch.styles=[j,l.i`${l.r(X)}`];exports.CovalentSwitch=U([l.e("cv-switch")],exports.CovalentSwitch);const N=exports.CovalentSwitch;exports.default=N;
package/switch.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { y as f, i as D, r as F, e as B } from "./query-assigned-elements.mjs";
2
- import { a as T, c as x, _ as P, d as H, e as I, b as n } from "./tslib.es6.mjs";
3
- import { R as M, e as j } from "./ripple-handlers.mjs";
1
+ import { y as f, i as D, r as F, e as T } from "./query-assigned-elements.mjs";
2
+ import { b as B, c as x, a as P, d as H, e as I, _ as n } from "./tslib.es6.mjs";
3
+ import { e as M, R as j } from "./ripple-handlers.mjs";
4
4
  import { a as E } from "./aria-property.mjs";
5
5
  import { F as X } from "./form-element.mjs";
6
6
  import { e as y } from "./property.mjs";
@@ -116,7 +116,7 @@ function Y(t, e) {
116
116
  enumerable: !0,
117
117
  value: t[e],
118
118
  writable: !0
119
- }, i = T({}, s), d = s.get, m = s.set;
119
+ }, i = B({}, s), d = s.get, m = s.set;
120
120
  if ("value" in s) {
121
121
  delete i.value, delete i.writable;
122
122
  var w = s.value;
@@ -352,7 +352,7 @@ var z = (
352
352
  */
353
353
  class o extends X {
354
354
  constructor() {
355
- super(...arguments), this.processing = !1, this.selected = !1, this.ariaLabel = "", this.ariaLabelledBy = "", this.shouldRenderRipple = !1, this.rippleHandlers = new M(() => (this.shouldRenderRipple = !0, this.ripple)), this.name = "", this.value = "on", this.mdcFoundationClass = z;
355
+ super(...arguments), this.processing = !1, this.selected = !1, this.ariaLabel = "", this.ariaLabelledBy = "", this.shouldRenderRipple = !1, this.rippleHandlers = new j(() => (this.shouldRenderRipple = !0, this.ripple)), this.name = "", this.value = "on", this.mdcFoundationClass = z;
356
356
  }
357
357
  setFormData(e) {
358
358
  this.name && this.selected && e.append(this.name, this.value);
@@ -493,7 +493,7 @@ n([
493
493
  y({ type: String, attribute: "aria-labelledby" })
494
494
  ], o.prototype, "ariaLabelledBy", void 0);
495
495
  n([
496
- j("mwc-ripple")
496
+ M("mwc-ripple")
497
497
  ], o.prototype, "ripple", void 0);
498
498
  n([
499
499
  G()
@@ -529,8 +529,10 @@ let C = class extends o {
529
529
  };
530
530
  C.styles = [Q, D`${F(Z)}`];
531
531
  C = te([
532
- B("cv-switch")
532
+ T("cv-switch")
533
533
  ], C);
534
+ const fe = C;
534
535
  export {
535
- C as CovalentSwitchBase
536
+ C as CovalentSwitch,
537
+ fe as default
536
538
  };
@@ -1,10 +1,11 @@
1
1
  import { TabBarBase } from '@material/mwc-tab-bar/mwc-tab-bar-base';
2
2
  declare global {
3
3
  interface HTMLElementTagNameMap {
4
- 'cv-tab-bar': CovalentTabBarBase;
4
+ 'cv-tab-bar': CovalentTabBar;
5
5
  }
6
6
  }
7
- export declare class CovalentTabBarBase extends TabBarBase {
7
+ export declare class CovalentTabBar extends TabBarBase {
8
8
  static styles: import("lit").CSSResult[];
9
9
  }
10
+ export default CovalentTabBar;
10
11
  //# sourceMappingURL=tab-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab-bar.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/tab/tab-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAIpE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,cAAc,CAAC;KAC9B;CACF;AAED,qBACa,cAAe,SAAQ,UAAU;IAC5C,OAAgB,MAAM,4BAAY;CACnC;AAED,eAAe,cAAc,CAAC"}
@@ -1,10 +1,11 @@
1
1
  import { TabBase } from '@material/mwc-tab/mwc-tab-base';
2
2
  declare global {
3
3
  interface HTMLElementTagNameMap {
4
- 'cv-tab': CovalentTabBase;
4
+ 'cv-tab': CovalentTab;
5
5
  }
6
6
  }
7
- export declare class CovalentTabBase extends TabBase {
7
+ export declare class CovalentTab extends TabBase {
8
8
  static styles: import("lit").CSSResult[];
9
9
  }
10
+ export default CovalentTab;
10
11
  //# sourceMappingURL=tab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/tab/tab.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAIzD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,QAAQ,EAAE,WAAW,CAAC;KACvB;CACF;AAED,qBACa,WAAY,SAAQ,OAAO;IACtC,OAAgB,MAAM,4BAA2C;CAClE;AAED,eAAe,WAAW,CAAC"}