@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
package/index.mjs CHANGED
@@ -1,126 +1,125 @@
1
- import { CovalentActionRibbon as j } from "./action-ribbon.mjs";
2
- import { CovalentAlert as z } from "./alert.mjs";
3
- import { CovalentAppShell as J } from "./app-shell.mjs";
4
- import { CovalentButton as O } from "./button.mjs";
5
- import { CovalentCheckbox as U } from "./checkbox.mjs";
6
- import { CovalentCard as W } from "./card.mjs";
7
- import { CovalentCircularProgress as Y } from "./circular-progress.mjs";
8
- import { CovalentCodeSnippet as _ } from "./code-snippet.mjs";
9
- import { C as oo } from "./dialog-85c21333.mjs";
10
- import { CovalentDrawer as ro } from "./drawer.mjs";
11
- import { CovalentEmptyState as po } from "./empty-state.mjs";
12
- import { CovalentIcon as ao } from "./icon.mjs";
13
- import { CovalentIconButton as no } from "./icon-button.mjs";
14
- import { CovalentIconCheckToggle as Co } from "./icon-check-toggle.mjs";
15
- import { CovalentIconRadioToggle as vo } from "./icon-radio-toggle.mjs";
16
- import { CovalentLinearProgress as so } from "./linear-progress.mjs";
17
- import { CovalentCheckListItem as To } from "./check-list-item.mjs";
18
- import { CovalentList as Io } from "./list.mjs";
19
- import { CovalentExpansionList as go } from "./list-expansion.mjs";
20
- import { C as bo } from "./list-item-1c65e4db.mjs";
21
- import { CovalentNavRailListItem as Ao } from "./nav-list-item.mjs";
22
- import { CovalentRadioListItem as ko } from "./radio-list-item.mjs";
23
- import { CovalentMenu as yo } from "./menu.mjs";
24
- import { CovalentRadio as Do } from "./radio.mjs";
25
- import { CovalentSelect as Fo } from "./select.mjs";
26
- import { CovalentSideSheet as Po } from "./side-sheet.mjs";
27
- import { CovalentSlider as No } from "./slider.mjs";
28
- import { CovalentSliderRange as qo } from "./slider-range.mjs";
29
- import { CovalentSnackbar as Go } from "./snackbar.mjs";
30
- import { CovalentStatusHeader as Ko } from "./status-header.mjs";
31
- import { CovalentStatusHeaderItem as Qo } from "./status-header-item.mjs";
32
- import { CovalentSwitch as Vo } from "./switch.mjs";
33
- import { CovalentTab as Xo } from "./tab.mjs";
34
- import { CovalentTabBar as Zo } from "./tab-bar.mjs";
35
- import { CovalentTextArea as $o } from "./textarea.mjs";
36
- import { CovalentTextField as tt } from "./textfield.mjs";
37
- import { CovalentTextLockup as et } from "./text-lockup.mjs";
38
- import { CovalentToolbar as mt } from "./toolbar.mjs";
39
- import { CovalentTooltip as it } from "./tooltip.mjs";
40
- import { CovalentTopAppBar as lt } from "./top-app-bar.mjs";
41
- import { CovalentTopAppBarFixed as xt } from "./top-app-bar-fixed.mjs";
42
- import { CovalentTreeList as ft } from "./tree-list.mjs";
43
- import { CovalentTreeListItem as ct } from "./tree-list-item.mjs";
44
- import { CovalentTypography as dt } from "./typography.mjs";
45
- import "./query-assigned-elements-514e5265.mjs";
46
- import "./utils-dc65fdc9.mjs";
1
+ import { CovalentActionRibbon as N } from "./action-ribbon.mjs";
2
+ import { CovalentAlert as q } from "./alert.mjs";
3
+ import { CovalentAppShell as G } from "./app-shell.mjs";
4
+ import { CovalentButton as K } from "./button.mjs";
5
+ import { CovalentCheckbox as Q } from "./checkbox.mjs";
6
+ import { CovalentCard as V } from "./card.mjs";
7
+ import { CovalentCircularProgress as X } from "./circular-progress.mjs";
8
+ import { CovalentCodeSnippet as Z } from "./code-snippet.mjs";
9
+ import { C as $ } from "./dialog-9ac44447.mjs";
10
+ import { CovalentDrawer as to } from "./drawer.mjs";
11
+ import { CovalentEmptyState as eo } from "./empty-state.mjs";
12
+ import { CovalentIcon as mo } from "./icon.mjs";
13
+ import { CovalentIconButton as io } from "./icon-button.mjs";
14
+ import { CovalentIconCheckToggle as lo } from "./icon-check-toggle.mjs";
15
+ import { CovalentIconRadioToggle as xo } from "./icon-radio-toggle.mjs";
16
+ import { CovalentLinearProgress as fo } from "./linear-progress.mjs";
17
+ import { CovalentCheckListItem as co } from "./check-list-item.mjs";
18
+ import { C as So } from "./list-066f5de4.mjs";
19
+ import { CovalentExpansionList as Lo } from "./list-expansion.mjs";
20
+ import { C as ho } from "./list-item-ba77097d.mjs";
21
+ import { CovalentNavRailListItem as uo } from "./nav-list-item.mjs";
22
+ import { CovalentRadioListItem as Ro } from "./radio-list-item.mjs";
23
+ import { CovalentMenu as Bo } from "./menu.mjs";
24
+ import { CovalentRadio as wo } from "./radio.mjs";
25
+ import { CovalentSelect as Eo } from "./select.mjs";
26
+ import { CovalentSideSheet as Ho } from "./side-sheet.mjs";
27
+ import { CovalentSlider as Mo } from "./slider.mjs";
28
+ import { CovalentSliderRange as jo } from "./slider-range.mjs";
29
+ import { CovalentSnackbar as zo } from "./snackbar.mjs";
30
+ import { CovalentStatusHeader as Jo } from "./status-header.mjs";
31
+ import { CovalentStatusHeaderItem as Oo } from "./status-header-item.mjs";
32
+ import { CovalentSwitch as Uo } from "./switch.mjs";
33
+ import { CovalentTab as Wo } from "./tab.mjs";
34
+ import { CovalentTabBar as Yo } from "./tab-bar.mjs";
35
+ import { CovalentTextArea as _o } from "./textarea.mjs";
36
+ import { CovalentTextField as ot } from "./textfield.mjs";
37
+ import { CovalentTextLockup as rt } from "./text-lockup.mjs";
38
+ import { CovalentToolbar as pt } from "./toolbar.mjs";
39
+ import { CovalentTooltip as at } from "./tooltip.mjs";
40
+ import { CovalentTopAppBar as nt } from "./top-app-bar.mjs";
41
+ import { CovalentTopAppBarFixed as Ct } from "./top-app-bar-fixed.mjs";
42
+ import { CovalentTreeList as vt } from "./tree-list.mjs";
43
+ import { CovalentTreeListItem as st } from "./tree-list-item.mjs";
44
+ import { CovalentTypography as Tt } from "./typography.mjs";
45
+ import "./query-assigned-elements-4a39219d.mjs";
46
+ import "./utils-2932417c.mjs";
47
47
  import "./observer-be7b92e2.mjs";
48
- import "./foundation-c580100a.mjs";
49
- import "./tslib.es6-b5e819a6.mjs";
50
- import "./foundation-2334d146.mjs";
51
- import "./class-map-08c84aeb.mjs";
52
- import "./property-ca27685b.mjs";
53
- import "./query-1e7846ea.mjs";
54
- import "./mwc-drawer-base-b2b772c3.mjs";
48
+ import "./foundation-3f556da7.mjs";
49
+ import "./tslib.es6-f1eaf65c.mjs";
50
+ import "./class-map-4b94b017.mjs";
51
+ import "./property-9b6ea53b.mjs";
52
+ import "./query-d843aa92.mjs";
53
+ import "./mwc-drawer-base-fe660bdf.mjs";
55
54
  import "./inert.esm-359d4581.mjs";
56
- import "./base-element-c3dc926e.mjs";
57
- import "./mwc-icon-c7013880.mjs";
58
- import "./ripple-handlers-227497d3.mjs";
59
- import "./state-6f7e570d.mjs";
60
- import "./style-map-2cb0fb63.mjs";
55
+ import "./base-element-67ae173f.mjs";
56
+ import "./mwc-icon-ba18383d.mjs";
57
+ import "./ripple-handlers-321219b8.mjs";
58
+ import "./state-b5e865db.mjs";
59
+ import "./style-map-bc3ed3e0.mjs";
61
60
  import "./aria-property-fa2717fe.mjs";
62
- import "./event-options-3937d997.mjs";
63
- import "./if-defined-639ed018.mjs";
64
- import "./mwc-checkbox-base-10e977f2.mjs";
65
- import "./form-element-6dbd7afa.mjs";
66
- import "./mwc-checkbox.css-b7abc7fd.mjs";
67
- import "./query-assigned-nodes-bea12e0c.mjs";
68
- import "./mwc-radio-base-c29e6f42.mjs";
69
- import "./mwc-radio.css-4694aa9c.mjs";
70
- import "./mwc-list-item-base-acef0223.mjs";
71
- import "./mwc-list-item.css-b5481d96.mjs";
72
- import "./mwc-list-base-c0f8af1c.mjs";
73
- import "./mwc-menu-base-8970b43d.mjs";
74
- import "./mwc-line-ripple-directive-c3e1f04a.mjs";
75
- import "./mwc-slider.css-336f809b.mjs";
76
- import "./directive-helpers-725a181d.mjs";
77
- import "./mwc-tab-base-7fb3d339.mjs";
78
- import "./textfield-276b0ded.mjs";
79
- import "./mwc-top-app-bar-base-79c87e69.mjs";
80
- import "./top-app-bar-a236c3bc.mjs";
61
+ import "./event-options-78d6cf94.mjs";
62
+ import "./if-defined-c367f208.mjs";
63
+ import "./mwc-checkbox-base-3da36456.mjs";
64
+ import "./form-element-bd973124.mjs";
65
+ import "./mwc-checkbox.css-8f4f1a9b.mjs";
66
+ import "./query-assigned-nodes-df691e78.mjs";
67
+ import "./mwc-radio-base-9446d39b.mjs";
68
+ import "./mwc-radio.css-7454bb11.mjs";
69
+ import "./mwc-list-item-base-8654347d.mjs";
70
+ import "./mwc-list-item.css-b0009fc7.mjs";
71
+ import "./mwc-list-base-32d4ac31.mjs";
72
+ import "./mwc-menu-base-572a76b9.mjs";
73
+ import "./mwc-line-ripple-directive-ffce2cff.mjs";
74
+ import "./mwc-slider.css-10adbaf8.mjs";
75
+ import "./directive-helpers-e3ea6592.mjs";
76
+ import "./mwc-tab-base-4ba47acc.mjs";
77
+ import "./textfield-2cee5a1a.mjs";
78
+ import "./mwc-top-app-bar-base-adc4168a.mjs";
79
+ import "./top-app-bar-f83386e0.mjs";
81
80
  export {
82
- j as CovalentActionRibbon,
83
- z as CovalentAlert,
84
- J as CovalentAppShell,
85
- O as CovalentButton,
86
- W as CovalentCard,
87
- To as CovalentCheckListItem,
88
- U as CovalentCheckbox,
89
- Y as CovalentCircularProgress,
90
- _ as CovalentCodeSnippet,
91
- oo as CovalentDialog,
92
- ro as CovalentDrawer,
93
- po as CovalentEmptyState,
94
- go as CovalentExpansionList,
95
- ao as CovalentIcon,
96
- no as CovalentIconButton,
97
- Co as CovalentIconCheckToggle,
98
- vo as CovalentIconRadioToggle,
99
- so as CovalentLinearProgress,
100
- Io as CovalentList,
101
- bo as CovalentListItem,
102
- yo as CovalentMenu,
103
- Ao as CovalentNavRailListItem,
104
- Do as CovalentRadio,
105
- ko as CovalentRadioListItem,
106
- Fo as CovalentSelect,
107
- Po as CovalentSideSheet,
108
- No as CovalentSlider,
109
- qo as CovalentSliderRange,
110
- Go as CovalentSnackbar,
111
- Ko as CovalentStatusHeader,
112
- Qo as CovalentStatusHeaderItem,
113
- Vo as CovalentSwitch,
114
- Xo as CovalentTab,
115
- Zo as CovalentTabBar,
116
- $o as CovalentTextArea,
117
- tt as CovalentTextField,
118
- et as CovalentTextLockup,
119
- mt as CovalentToolbar,
120
- it as CovalentTooltip,
121
- lt as CovalentTopAppBar,
122
- xt as CovalentTopAppBarFixed,
123
- ft as CovalentTreeList,
124
- ct as CovalentTreeListItem,
125
- dt as CovalentTypography
81
+ N as CovalentActionRibbon,
82
+ q as CovalentAlert,
83
+ G as CovalentAppShell,
84
+ K as CovalentButton,
85
+ V as CovalentCard,
86
+ co as CovalentCheckListItem,
87
+ Q as CovalentCheckbox,
88
+ X as CovalentCircularProgress,
89
+ Z as CovalentCodeSnippet,
90
+ $ as CovalentDialog,
91
+ to as CovalentDrawer,
92
+ eo as CovalentEmptyState,
93
+ Lo as CovalentExpansionList,
94
+ mo as CovalentIcon,
95
+ io as CovalentIconButton,
96
+ lo as CovalentIconCheckToggle,
97
+ xo as CovalentIconRadioToggle,
98
+ fo as CovalentLinearProgress,
99
+ So as CovalentList,
100
+ ho as CovalentListItem,
101
+ Bo as CovalentMenu,
102
+ uo as CovalentNavRailListItem,
103
+ wo as CovalentRadio,
104
+ Ro as CovalentRadioListItem,
105
+ Eo as CovalentSelect,
106
+ Ho as CovalentSideSheet,
107
+ Mo as CovalentSlider,
108
+ jo as CovalentSliderRange,
109
+ zo as CovalentSnackbar,
110
+ Jo as CovalentStatusHeader,
111
+ Oo as CovalentStatusHeaderItem,
112
+ Uo as CovalentSwitch,
113
+ Wo as CovalentTab,
114
+ Yo as CovalentTabBar,
115
+ _o as CovalentTextArea,
116
+ ot as CovalentTextField,
117
+ rt as CovalentTextLockup,
118
+ pt as CovalentToolbar,
119
+ at as CovalentTooltip,
120
+ nt as CovalentTopAppBar,
121
+ Ct as CovalentTopAppBarFixed,
122
+ vt as CovalentTreeList,
123
+ st as CovalentTreeListItem,
124
+ Tt as CovalentTypography
126
125
  };
@@ -1,12 +1,12 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./query-assigned-elements-07e38f46.js"),a=require("./tslib.es6-6b53b818.js"),f=require("./aria-property-849c8816.js"),l=require("./property-074570d1.js"),t=require("./state-949232e6.js"),y=require("./query-2ba749b7.js"),u=require("./class-map-50b8edb4.js"),p=require("./if-defined-cb12d481.js"),g=require("./style-map-3056a771.js");/**
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./query-assigned-elements-f623705d.js"),a=require("./tslib.es6-e6a11c8a.js"),f=require("./aria-property-849c8816.js"),l=require("./property-57f6f6fe.js"),t=require("./state-0974a8e5.js"),y=require("./query-680f1868.js"),u=require("./class-map-b5efe8da.js"),p=require("./if-defined-f1c45245.js"),g=require("./style-map-88d2563f.js");/**
2
2
  * @license
3
3
  * Copyright 2018 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
5
- */class e extends o.s{constructor(){super(...arguments),this.indeterminate=!1,this.progress=0,this.buffer=1,this.reverse=!1,this.closed=!1,this.stylePrimaryHalf="",this.stylePrimaryFull="",this.styleSecondaryQuarter="",this.styleSecondaryHalf="",this.styleSecondaryFull="",this.animationReady=!0,this.closedAnimationOff=!1,this.resizeObserver=null}connectedCallback(){super.connectedCallback(),this.rootEl&&this.attachResizeObserver()}render(){const r={"mdc-linear-progress--closed":this.closed,"mdc-linear-progress--closed-animation-off":this.closedAnimationOff,"mdc-linear-progress--indeterminate":this.indeterminate,"mdc-linear-progress--animation-ready":this.animationReady},i={"--mdc-linear-progress-primary-half":this.stylePrimaryHalf,"--mdc-linear-progress-primary-half-neg":this.stylePrimaryHalf!==""?`-${this.stylePrimaryHalf}`:"","--mdc-linear-progress-primary-full":this.stylePrimaryFull,"--mdc-linear-progress-primary-full-neg":this.stylePrimaryFull!==""?`-${this.stylePrimaryFull}`:"","--mdc-linear-progress-secondary-quarter":this.styleSecondaryQuarter,"--mdc-linear-progress-secondary-quarter-neg":this.styleSecondaryQuarter!==""?`-${this.styleSecondaryQuarter}`:"","--mdc-linear-progress-secondary-half":this.styleSecondaryHalf,"--mdc-linear-progress-secondary-half-neg":this.styleSecondaryHalf!==""?`-${this.styleSecondaryHalf}`:"","--mdc-linear-progress-secondary-full":this.styleSecondaryFull,"--mdc-linear-progress-secondary-full-neg":this.styleSecondaryFull!==""?`-${this.styleSecondaryFull}`:""},n={"flex-basis":this.indeterminate?"100%":`${this.buffer*100}%`},s={transform:this.indeterminate?"scaleX(1)":`scaleX(${this.progress})`};return o.y`
5
+ */class e extends o.s{constructor(){super(...arguments),this.indeterminate=!1,this.progress=0,this.buffer=1,this.reverse=!1,this.closed=!1,this.stylePrimaryHalf="",this.stylePrimaryFull="",this.styleSecondaryQuarter="",this.styleSecondaryHalf="",this.styleSecondaryFull="",this.animationReady=!0,this.closedAnimationOff=!1,this.resizeObserver=null}connectedCallback(){super.connectedCallback(),this.rootEl&&this.attachResizeObserver()}render(){const r={"mdc-linear-progress--closed":this.closed,"mdc-linear-progress--closed-animation-off":this.closedAnimationOff,"mdc-linear-progress--indeterminate":this.indeterminate,"mdc-linear-progress--animation-ready":this.animationReady},i={"--mdc-linear-progress-primary-half":this.stylePrimaryHalf,"--mdc-linear-progress-primary-half-neg":this.stylePrimaryHalf!==""?`-${this.stylePrimaryHalf}`:"","--mdc-linear-progress-primary-full":this.stylePrimaryFull,"--mdc-linear-progress-primary-full-neg":this.stylePrimaryFull!==""?`-${this.stylePrimaryFull}`:"","--mdc-linear-progress-secondary-quarter":this.styleSecondaryQuarter,"--mdc-linear-progress-secondary-quarter-neg":this.styleSecondaryQuarter!==""?`-${this.styleSecondaryQuarter}`:"","--mdc-linear-progress-secondary-half":this.styleSecondaryHalf,"--mdc-linear-progress-secondary-half-neg":this.styleSecondaryHalf!==""?`-${this.styleSecondaryHalf}`:"","--mdc-linear-progress-secondary-full":this.styleSecondaryFull,"--mdc-linear-progress-secondary-full-neg":this.styleSecondaryFull!==""?`-${this.styleSecondaryFull}`:""},n={"flex-basis":this.indeterminate?"100%":`${this.buffer*100}%`},s={transform:this.indeterminate?"scaleX(1)":`scaleX(${this.progress})`};return o.x`
6
6
  <div
7
7
  role="progressbar"
8
8
  class="mdc-linear-progress ${u.o(r)}"
9
- style="${g.i(i)}"
9
+ style="${g.o(i)}"
10
10
  dir="${p.l(this.reverse?"rtl":void 0)}"
11
11
  aria-label="${p.l(this.ariaLabel)}"
12
12
  aria-valuemin="0"
@@ -16,19 +16,19 @@
16
16
  <div class="mdc-linear-progress__buffer">
17
17
  <div
18
18
  class="mdc-linear-progress__buffer-bar"
19
- style=${g.i(n)}>
19
+ style=${g.o(n)}>
20
20
  </div>
21
21
  <div class="mdc-linear-progress__buffer-dots"></div>
22
22
  </div>
23
23
  <div
24
24
  class="mdc-linear-progress__bar mdc-linear-progress__primary-bar"
25
- style=${g.i(s)}>
25
+ style=${g.o(s)}>
26
26
  <span class="mdc-linear-progress__bar-inner"></span>
27
27
  </div>
28
28
  <div class="mdc-linear-progress__bar mdc-linear-progress__secondary-bar">
29
29
  <span class="mdc-linear-progress__bar-inner"></span>
30
30
  </div>
31
- </div>`}update(r){r.has("closed")&&(!this.closed||r.get("closed")===void 0)&&this.syncClosedState(),super.update(r)}async firstUpdated(r){super.firstUpdated(r),this.attachResizeObserver()}syncClosedState(){this.closedAnimationOff=this.closed}updated(r){!r.has("indeterminate")&&r.has("reverse")&&this.indeterminate&&this.restartAnimation(),r.has("indeterminate")&&r.get("indeterminate")!==void 0&&this.indeterminate&&window.ResizeObserver&&this.calculateAndSetAnimationDimensions(this.rootEl.offsetWidth),super.updated(r)}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),super.disconnectedCallback()}attachResizeObserver(){if(window.ResizeObserver){this.resizeObserver=new window.ResizeObserver(r=>{if(this.indeterminate){for(const i of r)if(i.contentRect){const n=i.contentRect.width;this.calculateAndSetAnimationDimensions(n)}}}),this.resizeObserver.observe(this.rootEl);return}this.resizeObserver=null}calculateAndSetAnimationDimensions(r){const i=r*.8367142,n=r*2.00611057,s=r*.37651913,c=r*.84386165,d=r*1.60277782;this.stylePrimaryHalf=`${i}px`,this.stylePrimaryFull=`${n}px`,this.styleSecondaryQuarter=`${s}px`,this.styleSecondaryHalf=`${c}px`,this.styleSecondaryFull=`${d}px`,this.restartAnimation()}async restartAnimation(){this.animationReady=!1,await this.updateComplete,await new Promise(requestAnimationFrame),this.animationReady=!0,await this.updateComplete}open(){this.closed=!1}close(){this.closed=!0}}a.__decorate([y.i(".mdc-linear-progress")],e.prototype,"rootEl",void 0);a.__decorate([l.e({type:Boolean,reflect:!0})],e.prototype,"indeterminate",void 0);a.__decorate([l.e({type:Number})],e.prototype,"progress",void 0);a.__decorate([l.e({type:Number})],e.prototype,"buffer",void 0);a.__decorate([l.e({type:Boolean,reflect:!0})],e.prototype,"reverse",void 0);a.__decorate([l.e({type:Boolean,reflect:!0})],e.prototype,"closed",void 0);a.__decorate([f.ariaProperty,l.e({attribute:"aria-label"})],e.prototype,"ariaLabel",void 0);a.__decorate([t.t()],e.prototype,"stylePrimaryHalf",void 0);a.__decorate([t.t()],e.prototype,"stylePrimaryFull",void 0);a.__decorate([t.t()],e.prototype,"styleSecondaryQuarter",void 0);a.__decorate([t.t()],e.prototype,"styleSecondaryHalf",void 0);a.__decorate([t.t()],e.prototype,"styleSecondaryFull",void 0);a.__decorate([t.t()],e.prototype,"animationReady",void 0);a.__decorate([t.t()],e.prototype,"closedAnimationOff",void 0);/**
31
+ </div>`}update(r){r.has("closed")&&(!this.closed||r.get("closed")===void 0)&&this.syncClosedState(),super.update(r)}async firstUpdated(r){super.firstUpdated(r),this.attachResizeObserver()}syncClosedState(){this.closedAnimationOff=this.closed}updated(r){!r.has("indeterminate")&&r.has("reverse")&&this.indeterminate&&this.restartAnimation(),r.has("indeterminate")&&r.get("indeterminate")!==void 0&&this.indeterminate&&window.ResizeObserver&&this.calculateAndSetAnimationDimensions(this.rootEl.offsetWidth),super.updated(r)}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),super.disconnectedCallback()}attachResizeObserver(){if(window.ResizeObserver){this.resizeObserver=new window.ResizeObserver(r=>{if(this.indeterminate){for(const i of r)if(i.contentRect){const n=i.contentRect.width;this.calculateAndSetAnimationDimensions(n)}}}),this.resizeObserver.observe(this.rootEl);return}this.resizeObserver=null}calculateAndSetAnimationDimensions(r){const i=r*.8367142,n=r*2.00611057,s=r*.37651913,c=r*.84386165,d=r*1.60277782;this.stylePrimaryHalf=`${i}px`,this.stylePrimaryFull=`${n}px`,this.styleSecondaryQuarter=`${s}px`,this.styleSecondaryHalf=`${c}px`,this.styleSecondaryFull=`${d}px`,this.restartAnimation()}async restartAnimation(){this.animationReady=!1,await this.updateComplete,await new Promise(requestAnimationFrame),this.animationReady=!0,await this.updateComplete}open(){this.closed=!1}close(){this.closed=!0}}a.__decorate([y.i(".mdc-linear-progress")],e.prototype,"rootEl",void 0);a.__decorate([l.n({type:Boolean,reflect:!0})],e.prototype,"indeterminate",void 0);a.__decorate([l.n({type:Number})],e.prototype,"progress",void 0);a.__decorate([l.n({type:Number})],e.prototype,"buffer",void 0);a.__decorate([l.n({type:Boolean,reflect:!0})],e.prototype,"reverse",void 0);a.__decorate([l.n({type:Boolean,reflect:!0})],e.prototype,"closed",void 0);a.__decorate([f.ariaProperty,l.n({attribute:"aria-label"})],e.prototype,"ariaLabel",void 0);a.__decorate([t.t()],e.prototype,"stylePrimaryHalf",void 0);a.__decorate([t.t()],e.prototype,"stylePrimaryFull",void 0);a.__decorate([t.t()],e.prototype,"styleSecondaryQuarter",void 0);a.__decorate([t.t()],e.prototype,"styleSecondaryHalf",void 0);a.__decorate([t.t()],e.prototype,"styleSecondaryFull",void 0);a.__decorate([t.t()],e.prototype,"animationReady",void 0);a.__decorate([t.t()],e.prototype,"closedAnimationOff",void 0);/**
32
32
  * @license
33
33
  * Copyright 2021 Google LLC
34
34
  * SPDX-LIcense-Identifier: Apache-2.0
@@ -1,12 +1,12 @@
1
- import { s as y, y as u, i as g, r as b, e as h } from "./query-assigned-elements-514e5265.mjs";
2
- import { _ as a } from "./tslib.es6-b5e819a6.mjs";
3
- import { a as _ } from "./aria-property-fa2717fe.mjs";
4
- import { e as o } from "./property-ca27685b.mjs";
5
- import { t } from "./state-6f7e570d.mjs";
6
- import { i as v } from "./query-1e7846ea.mjs";
7
- import { o as x } from "./class-map-08c84aeb.mjs";
8
- import { l as p } from "./if-defined-639ed018.mjs";
9
- import { i as f } from "./style-map-2cb0fb63.mjs";
1
+ import { s as y, x as b, i as g, r as u, e as h } from "./query-assigned-elements-4a39219d.mjs";
2
+ import { b as a } from "./tslib.es6-f1eaf65c.mjs";
3
+ import { a as v } from "./aria-property-fa2717fe.mjs";
4
+ import { n as o } from "./property-9b6ea53b.mjs";
5
+ import { t } from "./state-b5e865db.mjs";
6
+ import { i as _ } from "./query-d843aa92.mjs";
7
+ import { o as x } from "./class-map-4b94b017.mjs";
8
+ import { l as p } from "./if-defined-c367f208.mjs";
9
+ import { o as f } from "./style-map-bc3ed3e0.mjs";
10
10
  /**
11
11
  * @license
12
12
  * Copyright 2018 Google LLC
@@ -45,7 +45,7 @@ class e extends y {
45
45
  }, s = {
46
46
  transform: this.indeterminate ? "scaleX(1)" : `scaleX(${this.progress})`
47
47
  };
48
- return u`
48
+ return b`
49
49
  <div
50
50
  role="progressbar"
51
51
  class="mdc-linear-progress ${x(r)}"
@@ -118,7 +118,7 @@ class e extends y {
118
118
  }
119
119
  }
120
120
  a([
121
- v(".mdc-linear-progress")
121
+ _(".mdc-linear-progress")
122
122
  ], e.prototype, "rootEl", void 0);
123
123
  a([
124
124
  o({ type: Boolean, reflect: !0 })
@@ -136,7 +136,7 @@ a([
136
136
  o({ type: Boolean, reflect: !0 })
137
137
  ], e.prototype, "closed", void 0);
138
138
  a([
139
- _,
139
+ v,
140
140
  o({ attribute: "aria-label" })
141
141
  ], e.prototype, "ariaLabel", void 0);
142
142
  a([
@@ -174,7 +174,7 @@ var z = Object.defineProperty, k = Object.getOwnPropertyDescriptor, S = (c, r, i
174
174
  };
175
175
  let d = class extends e {
176
176
  };
177
- d.styles = [w, g`${b(X)}`];
177
+ d.styles = [w, g`${u(X)}`];
178
178
  d = S([
179
179
  h("cv-linear-progress")
180
180
  ], d);
@@ -1,16 +1,19 @@
1
+ import { CovalentList } from './list';
1
2
  import CovalentNavRailListItem from './nav-list-item';
2
3
  declare global {
3
4
  interface HTMLElementTagNameMap {
4
5
  'cv-expansion-list': CovalentExpansionList;
5
6
  }
6
7
  }
7
- export declare class CovalentExpansionList extends CovalentNavRailListItem {
8
+ export declare class CovalentExpansionList extends CovalentList {
8
9
  static styles: import("lit").CSSResult[];
9
10
  static shadowRootOptions: ShadowRootInit;
10
11
  open: boolean;
12
+ navOpen: boolean;
11
13
  expansionHeader: CovalentNavRailListItem[];
12
14
  constructor();
13
15
  private _toggleOpen;
16
+ attributeChangedCallback(name: string, _old: string, value: string): void;
14
17
  render(): import("lit-html").TemplateResult<1>;
15
18
  }
16
19
  export default CovalentExpansionList;
@@ -1 +1 @@
1
- {"version":3,"file":"list-expansion.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list-expansion.ts"],"names":[],"mappings":"AAOA,OAAO,uBAAuB,MAAM,iBAAiB,CAAC;AAEtD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,qBAAqB,CAAC;KAC5C;CACF;AAED,qBACa,qBAAsB,SAAQ,uBAAuB;IAChE,OAAgB,MAAM,4BAKpB;IACF,OAAgB,iBAAiB,EAAE,cAAc,CAG/C;IAGF,IAAI,UAAS;IAGb,eAAe,EAAG,uBAAuB,EAAE,CAAC;;IAM5C,OAAO,CAAC,WAAW;IASV,MAAM;CAiBhB;AAED,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"list-expansion.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list-expansion.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,OAAO,uBAAuB,MAAM,iBAAiB,CAAC;AAEtD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,qBAAqB,CAAC;KAC5C;CACF;AAED,qBACa,qBAAsB,SAAQ,YAAY;IACrD,OAAgB,MAAM,4BAOpB;IACF,OAAgB,iBAAiB,EAAE,cAAc,CAG/C;IAGF,IAAI,UAAS;IAGb,OAAO,UAAS;IAGhB,eAAe,EAAG,uBAAuB,EAAE,CAAC;;IAM5C,OAAO,CAAC,WAAW;IASV,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAelE,MAAM;CAMhB;AAED,eAAe,qBAAqB,CAAC"}
@@ -6,6 +6,8 @@ declare global {
6
6
  }
7
7
  export declare class CovalentListItem extends ListItemBase {
8
8
  static styles: import("lit").CSSResult[];
9
+ hasChildren: boolean;
10
+ render(): import("lit-html").TemplateResult<1>;
9
11
  }
10
12
  export default CovalentListItem;
11
13
  //# sourceMappingURL=list-item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AASrE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,gBAAgB,CAAC;KAClC;CACF;AAED,qBACa,gBAAiB,SAAQ,YAAY;IAChD,OAAgB,MAAM,4BAUpB;CACH;AAED,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AASrE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,gBAAgB,CAAC;KAClC;CACF;AAED,qBACa,gBAAiB,SAAQ,YAAY;IAChD,OAAgB,MAAM,4BAUpB;IAE0C,WAAW,UAAS;IAEvD,MAAM;CAehB;AAED,eAAe,gBAAgB,CAAC"}
package/list/list.d.ts CHANGED
@@ -1,11 +1,16 @@
1
1
  import { ListBase } from '@material/mwc-list/mwc-list-base';
2
+ import CovalentNavRailListItem from './nav-list-item';
2
3
  declare global {
3
4
  interface HTMLElementTagNameMap {
4
5
  'cv-list': CovalentList;
5
6
  }
6
7
  }
7
8
  export declare class CovalentList extends ListBase {
9
+ slotElements: CovalentNavRailListItem[];
10
+ navOpen: boolean;
8
11
  static styles: import("lit").CSSResult[];
12
+ getUpdateComplete(): Promise<boolean>;
13
+ attributeChangedCallback(name: string, _old: string, value: string): void;
9
14
  }
10
15
  export default CovalentList;
11
16
  //# sourceMappingURL=list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAI5D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,YAAY,CAAC;KACzB;CACF;AAED,qBACa,YAAa,SAAQ,QAAQ;IACxC,OAAgB,MAAM,4BAGpB;CACH;AAED,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAO5D,OAAO,uBAAuB,MAAM,iBAAiB,CAAC;AAEtD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,YAAY,CAAC;KACzB;CACF;AAED,qBACa,YAAa,SAAQ,QAAQ;IAExC,YAAY,EAAG,uBAAuB,EAAE,CAAC;IAGzC,OAAO,UAAS;IAEhB,OAAgB,MAAM,4BAAY;IAEnB,iBAAiB;IAQvB,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;CAa5E;AAED,eAAe,YAAY,CAAC"}
@@ -6,6 +6,7 @@ declare global {
6
6
  }
7
7
  export declare class CovalentNavRailListItem extends CovalentListItem {
8
8
  static styles: import("lit").CSSResult[];
9
+ navOpen: boolean;
9
10
  constructor();
10
11
  }
11
12
  export default CovalentNavRailListItem;
@@ -1 +1 @@
1
- {"version":3,"file":"nav-list-item.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/nav-list-item.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAM/C,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,uBAAuB,CAAC;KAC7C;CACF;AAED,qBACa,uBAAwB,SAAQ,gBAAgB;IAC3D,OAAgB,MAAM,4BAapB;;CAKH;AAED,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"nav-list-item.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/nav-list-item.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAM/C,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,uBAAuB,CAAC;KAC7C;CACF;AAED,qBACa,uBAAwB,SAAQ,gBAAgB;IAC3D,OAAgB,MAAM,4BAapB;IAGF,OAAO,UAAS;;CAKjB;AAED,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,5 @@
1
+ "use strict";const c=require("./mwc-list-base-cb3500b4.js"),n=require("./query-assigned-elements-f623705d.js"),p=require("./property-57f6f6fe.js");/**
2
+ * @license
3
+ * Copyright 2021 Google LLC
4
+ * SPDX-LIcense-Identifier: Apache-2.0
5
+ */const l=n.i`@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{display:block}.mdc-deprecated-list{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);line-height:1.5rem;margin:0;padding:8px 0;list-style-type:none;color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));padding:var(--mdc-list-vertical-padding, 8px) 0}.mdc-deprecated-list:focus{outline:none}.mdc-deprecated-list-item{height:48px}.mdc-deprecated-list--dense{padding-top:4px;padding-bottom:4px;font-size:.812rem}.mdc-deprecated-list ::slotted([divider]){height:0;margin:0;border:none;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgba(0, 0, 0, 0.12)}.mdc-deprecated-list ::slotted([divider][padded]){margin:0 var(--mdc-list-side-padding, 16px)}.mdc-deprecated-list ::slotted([divider][inset]){margin-left:var(--mdc-list-inset-margin, 72px);margin-right:0;width:calc( 100% - var(--mdc-list-inset-margin, 72px) )}[dir=rtl] .mdc-deprecated-list ::slotted([divider][inset]),.mdc-deprecated-list ::slotted([divider][inset][dir=rtl]){margin-left:0;margin-right:var(--mdc-list-inset-margin, 72px)}.mdc-deprecated-list ::slotted([divider][inset][padded]){width:calc( 100% - var(--mdc-list-inset-margin, 72px) - var(--mdc-list-side-padding, 16px) )}.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:40px}.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 20px}.mdc-deprecated-list--two-line.mdc-deprecated-list--dense ::slotted([mwc-list-item]),.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:60px}.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 36px}:host([noninteractive]){pointer-events:none;cursor:default}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text){display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}`;var m=Object.defineProperty,g=Object.getOwnPropertyDescriptor,o=(a,e,r,i)=>{for(var t=i>1?void 0:i?g(e,r):e,s=a.length-1,d;s>=0;s--)(d=a[s])&&(t=(i?d(e,r,t):d(t))||t);return i&&t&&m(e,r,t),t};exports.CovalentList=class extends c.ListBase{constructor(){super(...arguments),this.navOpen=!1}async getUpdateComplete(){return this.slotElements.forEach(e=>{e.setAttribute("navopen",this.navOpen.toString())}),await super.getUpdateComplete()}attributeChangedCallback(e,r,i){super.attributeChangedCallback(e,r,i),e==="navopen"&&this.slotElements.forEach(t=>{i==="true"?t.setAttribute("navopen",i):t.removeAttribute("navopen")})}};exports.CovalentList.styles=[l];o([n.l({flatten:!0})],exports.CovalentList.prototype,"slotElements",2);o([p.n({type:Boolean,reflect:!0})],exports.CovalentList.prototype,"navOpen",2);exports.CovalentList=o([n.e("cv-list")],exports.CovalentList);const h=exports.CovalentList;exports.CovalentList$1=h;exports.styles=l;
@@ -0,0 +1,45 @@
1
+ import { L as l } from "./mwc-list-base-32d4ac31.mjs";
2
+ import { i as c, l as p, e as m } from "./query-assigned-elements-4a39219d.mjs";
3
+ import { n as g } from "./property-9b6ea53b.mjs";
4
+ /**
5
+ * @license
6
+ * Copyright 2021 Google LLC
7
+ * SPDX-LIcense-Identifier: Apache-2.0
8
+ */
9
+ const f = c`@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{display:block}.mdc-deprecated-list{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);line-height:1.5rem;margin:0;padding:8px 0;list-style-type:none;color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));padding:var(--mdc-list-vertical-padding, 8px) 0}.mdc-deprecated-list:focus{outline:none}.mdc-deprecated-list-item{height:48px}.mdc-deprecated-list--dense{padding-top:4px;padding-bottom:4px;font-size:.812rem}.mdc-deprecated-list ::slotted([divider]){height:0;margin:0;border:none;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgba(0, 0, 0, 0.12)}.mdc-deprecated-list ::slotted([divider][padded]){margin:0 var(--mdc-list-side-padding, 16px)}.mdc-deprecated-list ::slotted([divider][inset]){margin-left:var(--mdc-list-inset-margin, 72px);margin-right:0;width:calc( 100% - var(--mdc-list-inset-margin, 72px) )}[dir=rtl] .mdc-deprecated-list ::slotted([divider][inset]),.mdc-deprecated-list ::slotted([divider][inset][dir=rtl]){margin-left:0;margin-right:var(--mdc-list-inset-margin, 72px)}.mdc-deprecated-list ::slotted([divider][inset][padded]){width:calc( 100% - var(--mdc-list-inset-margin, 72px) - var(--mdc-list-side-padding, 16px) )}.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:40px}.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 20px}.mdc-deprecated-list--two-line.mdc-deprecated-list--dense ::slotted([mwc-list-item]),.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:60px}.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 36px}:host([noninteractive]){pointer-events:none;cursor:default}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text){display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}`;
10
+ var h = Object.defineProperty, v = Object.getOwnPropertyDescriptor, o = (t, a, e, i) => {
11
+ for (var r = i > 1 ? void 0 : i ? v(a, e) : a, s = t.length - 1, n; s >= 0; s--)
12
+ (n = t[s]) && (r = (i ? n(a, e, r) : n(r)) || r);
13
+ return i && r && h(a, e, r), r;
14
+ };
15
+ let d = class extends l {
16
+ constructor() {
17
+ super(...arguments), this.navOpen = !1;
18
+ }
19
+ async getUpdateComplete() {
20
+ return this.slotElements.forEach((t) => {
21
+ t.setAttribute("navopen", this.navOpen.toString());
22
+ }), await super.getUpdateComplete();
23
+ }
24
+ attributeChangedCallback(t, a, e) {
25
+ super.attributeChangedCallback(t, a, e), t === "navopen" && this.slotElements.forEach((i) => {
26
+ e === "true" ? i.setAttribute("navopen", e) : i.removeAttribute("navopen");
27
+ });
28
+ }
29
+ };
30
+ d.styles = [f];
31
+ o([
32
+ p({ flatten: !0 })
33
+ ], d.prototype, "slotElements", 2);
34
+ o([
35
+ g({ type: Boolean, reflect: !0 })
36
+ ], d.prototype, "navOpen", 2);
37
+ d = o([
38
+ m("cv-list")
39
+ ], d);
40
+ const u = d;
41
+ export {
42
+ d as C,
43
+ u as a,
44
+ f as s
45
+ };
package/list-expansion.js CHANGED
@@ -1,11 +1,9 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./query-assigned-elements-07e38f46.js"),l=require("./property-074570d1.js"),c=require("./nav-list-item.js");require("./list-item-ee331821.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("./state-949232e6.js");require("./query-2ba749b7.js");require("./class-map-50b8edb4.js");require("./style-map-3056a771.js");require("./observer-a096ab43.js");require("./mwc-list-item.css-401e2407.js");const d=`:host{flex-direction:column;overflow:visible;height:inherit!important;background:none;padding:0;--mdc-ripple-color: transparent;--mdc-list-side-padding: 0;--cv-list-item-graphic-margin-left: 12px}:host([activated]){--mdc-ripple-color: transparent}.expansion-header{--mdc-ripple-color: var(--mdc-theme-primary);border-radius:var(--cv-list-item-border-radius);position:relative;height:48px;width:100%;overflow:hidden;display:flex;flex-shrink:0;align-items:center}.expansion-header-inner{padding:0 16px}.expansion-icon{margin-right:var(--cv-list-item-expansion-icon-margin, -12px);font-size:var(--cv-list-item-expansion-icon-size, --mdc-icon-size);color:var(--cv-list-item-text-icon-on-background, var(--mdc-theme-text-icon-on-background))}.expansion-panel{display:block;width:100%;height:var(--cv-list-menu-height, 0);--mdc-list-side-padding: 72px;transition:transform .15s ease-out;overflow:hidden}:host([open]) .expansion-panel{transition:min-height .25s ease-in;height:var(--cv-list-menu-height, inherit)}:host([graphic=avatar]) ::slotted(cv-icon[slot=graphic]){margin-left:0}
2
- `;var h=Object.defineProperty,v=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,x=Reflect.get,p=(r,e,n,o)=>{for(var t=o>1?void 0:o?v(e,n):e,s=r.length-1,a;s>=0;s--)(a=r[s])&&(t=(o?a(e,n,t):a(t))||t);return o&&t&&h(e,n,t),t},g=(r,e,n)=>x(u(r),n,e);exports.CovalentExpansionList=class extends c.default{constructor(){super(),this.open=!1}_toggleOpen(){this.open=!this.open,this.expansionHeader.forEach(e=>{e.activated=this.open,e.selected=this.open})}render(){const e=this.renderText(),n=this.graphic?this.renderGraphic():i.b,o=this.hasMeta?this.renderMeta():i.b,t=this.open?"arrow_drop_down":"arrow_right",s=i.y`<cv-icon class="expansion-icon">${t}</cv-icon>`,a=i.y`<slot name="child"></slot>`;return i.y`
3
- <div @click=${this._toggleOpen} class="expansion-header">
4
- ${this.renderRipple()} ${s} ${n} ${e} ${o} ${a}
5
- </div>
6
- <div class="expansion-panel">
7
- <slot name="expansion-panel"></slot>
8
- </div>
9
- `}};exports.CovalentExpansionList.styles=[i.i`
10
- ${i.r(d)},
11
- `,...g(exports.CovalentExpansionList,exports.CovalentExpansionList,"styles")];exports.CovalentExpansionList.shadowRootOptions={mode:"open",delegatesFocus:!0};p([l.e({type:Boolean,reflect:!0})],exports.CovalentExpansionList.prototype,"open",2);p([i.l({slot:"expansionHeader"})],exports.CovalentExpansionList.prototype,"expansionHeader",2);exports.CovalentExpansionList=p([i.e("cv-expansion-list")],exports.CovalentExpansionList);const m=exports.CovalentExpansionList;exports.default=m;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./query-assigned-elements-f623705d.js"),l=require("./property-57f6f6fe.js"),u=require("./list-05db7fed.js");require("./mwc-list-base-cb3500b4.js");require("./tslib.es6-e6a11c8a.js");require("./mwc-list-item-base-4a4d1e1b.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");require("./query-assigned-nodes-99eae71d.js");require("./if-defined-f1c45245.js");const v=`.mdc-deprecated-list{--mdc-list-side-padding: 72px;transition:transform .15s ease-out;overflow:hidden;height:var(--cv-list-menu-height, 0)}.mdc-deprecated-list slot::slotted(*){height:32px}:host([open]) ul{transition:min-height .25s ease-in;height:var(--cv-list-menu-height, inherit)}
2
+ `;var c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,r=(o,t,i,n)=>{for(var e=n>1?void 0:n?d(t,i):t,a=o.length-1,p;a>=0;a--)(p=o[a])&&(e=(n?p(t,i,e):p(e))||e);return n&&e&&c(t,i,e),e};exports.CovalentExpansionList=class extends u.CovalentList{constructor(){super(),this.open=!1,this.navOpen=!1}_toggleOpen(){this.open=!this.open,this.expansionHeader.forEach(t=>{t.activated=this.open,t.selected=this.open})}attributeChangedCallback(t,i,n){super.attributeChangedCallback(t,i,n),t==="navopen"&&this.expansionHeader.forEach(e=>{n==="true"?(e.navOpen=!!n,e.setAttribute("navopen",n)):e.removeAttribute("navopen")})}render(){return s.x`
3
+ <slot name="expansionHeader" @click=${this._toggleOpen}></slot>
4
+ ${this.navOpen?super.render():s.A}
5
+ `}};exports.CovalentExpansionList.styles=[s.i`
6
+ ${s.r(u.styles)}
7
+ `,s.i`
8
+ ${s.r(v)}
9
+ `];exports.CovalentExpansionList.shadowRootOptions={mode:"open",delegatesFocus:!0};r([l.n({type:Boolean,reflect:!0})],exports.CovalentExpansionList.prototype,"open",2);r([l.n({type:Boolean,reflect:!0})],exports.CovalentExpansionList.prototype,"navOpen",2);r([s.l({slot:"expansionHeader"})],exports.CovalentExpansionList.prototype,"expansionHeader",2);exports.CovalentExpansionList=r([s.e("cv-expansion-list")],exports.CovalentExpansionList);const h=exports.CovalentExpansionList;exports.default=h;