@covalent/components 6.2.2 → 6.3.0-beta.1

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 (176) hide show
  1. package/action-ribbon.js +1 -1
  2. package/action-ribbon.mjs +9 -9
  3. package/alert.js +1 -1
  4. package/alert.mjs +9 -9
  5. package/app-shell/app-shell.d.ts +14 -0
  6. package/app-shell/app-shell.d.ts.map +1 -1
  7. package/app-shell.js +20 -12
  8. package/app-shell.mjs +89 -56
  9. package/aria-property-fa2717fe.mjs +41 -0
  10. package/base-element-c3dc926e.mjs +28 -0
  11. package/{base-element.mjs → base-element-d5abe37a.js} +1 -1
  12. package/button.js +1 -1
  13. package/button.mjs +14 -14
  14. package/card.js +1 -1
  15. package/card.mjs +3 -3
  16. package/check-list-item.js +1 -1
  17. package/check-list-item.mjs +18 -18
  18. package/checkbox.js +1 -1
  19. package/checkbox.mjs +16 -16
  20. package/circular-progress.js +1 -1
  21. package/circular-progress.mjs +7 -7
  22. package/class-map-08c84aeb.mjs +62 -0
  23. package/{class-map.mjs → class-map-50b8edb4.js} +3 -3
  24. package/code-snippet.js +1 -1
  25. package/code-snippet.mjs +4 -4
  26. package/{dialog2.mjs → dialog-85c21333.mjs} +9 -9
  27. package/dialog-8ee07177.js +162 -0
  28. package/dialog.js +1 -1
  29. package/dialog.mjs +14 -162
  30. package/directive-helpers-725a181d.mjs +11 -0
  31. package/directive-helpers-fce8cf91.js +5 -0
  32. package/drawer.js +1 -1
  33. package/drawer.mjs +10 -10
  34. package/empty-state.js +1 -1
  35. package/empty-state.mjs +4 -4
  36. package/event-options-3937d997.mjs +14 -0
  37. package/event-options-7bc382d8.js +5 -0
  38. package/form-element-6dbd7afa.mjs +50 -0
  39. package/{form-element.mjs → form-element-d4e7bcdb.js} +1 -1
  40. package/foundation-2334d146.mjs +60 -0
  41. package/{foundation.mjs → foundation-3f55a9dc.js} +3 -3
  42. package/foundation-c580100a.mjs +152 -0
  43. package/icon-button.js +1 -1
  44. package/icon-button.mjs +13 -13
  45. package/icon-check-toggle.js +1 -1
  46. package/icon-check-toggle.mjs +16 -16
  47. package/icon-radio-toggle.js +1 -1
  48. package/icon-radio-toggle.mjs +17 -17
  49. package/icon.js +1 -1
  50. package/icon.mjs +3 -3
  51. package/if-defined-639ed018.mjs +10 -0
  52. package/if-defined-cb12d481.js +5 -0
  53. package/index.js +1 -1
  54. package/index.mjs +39 -39
  55. package/inert.esm-359d4581.mjs +640 -0
  56. package/linear-progress.js +1 -1
  57. package/linear-progress.mjs +9 -9
  58. package/{list2.mjs → list-d616957b.mjs} +3 -3
  59. package/list-defdaa3b.js +5 -0
  60. package/list-expansion.js +8 -8
  61. package/list-expansion.mjs +37 -37
  62. package/list-item-e78d76c5.js +9 -0
  63. package/{list-item2.mjs → list-item-f7cb5460.mjs} +16 -16
  64. package/list-item.js +1 -1
  65. package/list-item.mjs +18 -9
  66. package/list.js +1 -1
  67. package/list.mjs +20 -5
  68. package/menu.js +1 -1
  69. package/menu.mjs +16 -16
  70. package/mwc-checkbox-base-10e977f2.mjs +198 -0
  71. package/{mwc-checkbox-base.mjs → mwc-checkbox-base-435c1f1d.js} +1 -1
  72. package/{mwc-checkbox.css.mjs → mwc-checkbox.css-956e3d6c.js} +1 -1
  73. package/mwc-checkbox.css-b7abc7fd.mjs +10 -0
  74. package/mwc-drawer-base-b2b772c3.mjs +335 -0
  75. package/{mwc-drawer-base.mjs → mwc-drawer-base-f44fcf34.js} +1 -1
  76. package/{mwc-icon.mjs → mwc-icon-b96fb867.js} +3 -3
  77. package/mwc-icon-c7013880.mjs +26 -0
  78. package/{mwc-line-ripple-directive.mjs → mwc-line-ripple-directive-a97ce725.js} +1 -1
  79. package/mwc-line-ripple-directive-c3e1f04a.mjs +653 -0
  80. package/{mwc-list-base.mjs → mwc-list-base-7d5f7278.js} +1 -1
  81. package/mwc-list-base-c0f8af1c.mjs +840 -0
  82. package/{mwc-list-item-base.mjs → mwc-list-item-base-803b9771.js} +1 -1
  83. package/mwc-list-item-base-acef0223.mjs +202 -0
  84. package/{mwc-list-item.css.mjs → mwc-list-item.css-401e2407.js} +1 -1
  85. package/mwc-list-item.css-b5481d96.mjs +17 -0
  86. package/mwc-menu-base-8970b43d.mjs +1145 -0
  87. package/{mwc-menu-base.mjs → mwc-menu-base-ac49fe54.js} +1 -1
  88. package/{mwc-radio-base.mjs → mwc-radio-base-442d495a.js} +1 -1
  89. package/mwc-radio-base-c29e6f42.mjs +528 -0
  90. package/{mwc-radio.css.mjs → mwc-radio.css-388ad26d.js} +1 -1
  91. package/mwc-radio.css-4694aa9c.mjs +10 -0
  92. package/mwc-slider.css-336f809b.mjs +956 -0
  93. package/{mwc-slider.css.mjs → mwc-slider.css-48f02f1e.js} +16 -16
  94. package/{mwc-tab-base.mjs → mwc-tab-base-1a19b299.js} +1 -1
  95. package/mwc-tab-base-7fb3d339.mjs +694 -0
  96. package/{mwc-top-app-bar-base.mjs → mwc-top-app-bar-base-14e0a018.js} +1 -1
  97. package/mwc-top-app-bar-base-79c87e69.mjs +380 -0
  98. package/nav-list-item.js +10 -10
  99. package/nav-list-item.mjs +31 -31
  100. package/{observer.mjs → observer-a096ab43.js} +1 -1
  101. package/observer-be7b92e2.mjs +32 -0
  102. package/package.json +1 -1
  103. package/{property.mjs → property-074570d1.js} +1 -1
  104. package/property-ca27685b.mjs +20 -0
  105. package/query-1e7846ea.mjs +25 -0
  106. package/query-2ba749b7.js +5 -0
  107. package/query-assigned-elements-514e5265.mjs +615 -0
  108. package/{query-assigned-nodes.mjs → query-assigned-nodes-9ec0fa5f.js} +1 -1
  109. package/query-assigned-nodes-bea12e0c.mjs +17 -0
  110. package/radio-list-item.js +1 -1
  111. package/radio-list-item.mjs +18 -18
  112. package/radio.js +1 -1
  113. package/radio.mjs +17 -17
  114. package/{ripple-handlers.mjs → ripple-handlers-2176f137.js} +7 -7
  115. package/ripple-handlers-227497d3.mjs +761 -0
  116. package/select.js +1 -1
  117. package/select.mjs +20 -20
  118. package/side-sheet.js +1 -1
  119. package/side-sheet.mjs +10 -10
  120. package/slider-range.js +1 -1
  121. package/slider-range.mjs +14 -14
  122. package/slider.js +1 -1
  123. package/slider.mjs +14 -14
  124. package/snackbar.js +1 -1
  125. package/snackbar.mjs +9 -9
  126. package/state-6f7e570d.mjs +12 -0
  127. package/{state.mjs → state-949232e6.js} +1 -1
  128. package/status-header-item.js +1 -1
  129. package/status-header-item.mjs +2 -2
  130. package/status-header.js +1 -1
  131. package/status-header.mjs +3 -3
  132. package/style-map-2cb0fb63.mjs +40 -0
  133. package/{style-map.mjs → style-map-3056a771.js} +1 -1
  134. package/style.css +1 -1
  135. package/switch.js +1 -1
  136. package/switch.mjs +14 -14
  137. package/tab-bar.js +1 -1
  138. package/tab-bar.mjs +13 -13
  139. package/tab.js +1 -1
  140. package/tab.mjs +13 -13
  141. package/text-lockup.js +1 -1
  142. package/text-lockup.mjs +3 -3
  143. package/textarea.js +1 -1
  144. package/textarea.mjs +15 -15
  145. package/{textfield2.mjs → textfield-276b0ded.mjs} +13 -13
  146. package/textfield-507c6a06.js +133 -0
  147. package/textfield.js +1 -1
  148. package/textfield.mjs +41 -132
  149. package/toolbar.js +1 -1
  150. package/toolbar.mjs +8 -8
  151. package/tooltip.js +1 -1
  152. package/tooltip.mjs +6 -6
  153. package/top-app-bar-34e85527.js +6 -0
  154. package/{top-app-bar2.mjs → top-app-bar-a236c3bc.mjs} +1 -1
  155. package/top-app-bar-fixed.js +1 -1
  156. package/top-app-bar-fixed.mjs +9 -9
  157. package/top-app-bar.js +1 -1
  158. package/top-app-bar.mjs +30 -6
  159. package/tree-list-item.js +1 -1
  160. package/tree-list-item.mjs +3 -3
  161. package/tree-list.js +1 -1
  162. package/tree-list.mjs +1 -1
  163. package/{tslib.es6.mjs → tslib.es6-6b53b818.js} +1 -1
  164. package/tslib.es6-b5e819a6.mjs +82 -0
  165. package/typography.js +1 -1
  166. package/typography.mjs +2 -2
  167. package/{utils.mjs → utils-a8190a39.js} +1 -1
  168. package/utils-dc65fdc9.mjs +52 -0
  169. package/directive-helpers.mjs +0 -5
  170. package/event-options.mjs +0 -5
  171. package/if-defined.mjs +0 -5
  172. package/query.mjs +0 -5
  173. /package/{aria-property.mjs → aria-property-849c8816.js} +0 -0
  174. /package/{foundation2.mjs → foundation-e830bd94.js} +0 -0
  175. /package/{inert.esm.mjs → inert.esm-2cee6f2e.js} +0 -0
  176. /package/{query-assigned-elements.mjs → query-assigned-elements-07e38f46.js} +0 -0
package/empty-state.mjs CHANGED
@@ -1,8 +1,8 @@
1
- import { i as s, r as g, s as f, y as o, e as l } from "./query-assigned-elements.mjs";
2
- import { e as h } from "./property.mjs";
1
+ import { i as s, r as g, s as f, y as o, e as l } from "./query-assigned-elements-514e5265.mjs";
2
+ import { e as h } from "./property-ca27685b.mjs";
3
3
  import "./icon.mjs";
4
- import "./mwc-icon.mjs";
5
- import "./tslib.es6.mjs";
4
+ import "./mwc-icon-c7013880.mjs";
5
+ import "./tslib.es6-b5e819a6.mjs";
6
6
  const c = `.mdc-typography{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-font-family, Roboto, sans-serif)}.mdc-typography--headline1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:6rem;font-size:var(--mdc-typography-headline1-font-size, 6rem);line-height:6rem;line-height:var(--mdc-typography-headline1-line-height, 6rem);font-weight:300;font-weight:var(--mdc-typography-headline1-font-weight, 300);letter-spacing:-.015625em;letter-spacing:var(--mdc-typography-headline1-letter-spacing, -.015625em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline1-text-transform, inherit)}.mdc-typography--headline2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:3.75rem;font-size:var(--mdc-typography-headline2-font-size, 3.75rem);line-height:3.75rem;line-height:var(--mdc-typography-headline2-line-height, 3.75rem);font-weight:300;font-weight:var(--mdc-typography-headline2-font-weight, 300);letter-spacing:-.0083333333em;letter-spacing:var(--mdc-typography-headline2-letter-spacing, -.0083333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline2-text-transform, inherit)}.mdc-typography--headline3{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline3-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:3rem;font-size:var(--mdc-typography-headline3-font-size, 3rem);line-height:3.125rem;line-height:var(--mdc-typography-headline3-line-height, 3.125rem);font-weight:400;font-weight:var(--mdc-typography-headline3-font-weight, 400);letter-spacing:normal;letter-spacing:var(--mdc-typography-headline3-letter-spacing, normal);text-decoration:inherit;text-decoration:var(--mdc-typography-headline3-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline3-text-transform, inherit)}.mdc-typography--headline4{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline4-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:2.125rem;font-size:var(--mdc-typography-headline4-font-size, 2.125rem);line-height:2.5rem;line-height:var(--mdc-typography-headline4-line-height, 2.5rem);font-weight:400;font-weight:var(--mdc-typography-headline4-font-weight, 400);letter-spacing:.0073529412em;letter-spacing:var(--mdc-typography-headline4-letter-spacing, .0073529412em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline4-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline4-text-transform, inherit)}.mdc-typography--headline5{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline5-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.5rem;font-size:var(--mdc-typography-headline5-font-size, 1.5rem);line-height:2rem;line-height:var(--mdc-typography-headline5-line-height, 2rem);font-weight:400;font-weight:var(--mdc-typography-headline5-font-weight, 400);letter-spacing:normal;letter-spacing:var(--mdc-typography-headline5-letter-spacing, normal);text-decoration:inherit;text-decoration:var(--mdc-typography-headline5-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline5-text-transform, inherit)}.mdc-typography--headline6{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, .0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit)}.mdc-typography--subtitle1{-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:.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, .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)}.mdc-typography--subtitle2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-subtitle2-font-size, .875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, .0071428571em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit)}.mdc-typography--body1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, .03125em);text-decoration:inherit;text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit)}.mdc-typography--body2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mdc-typography--caption{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-caption-font-size, .75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}.mdc-typography--button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-button-font-size, .875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);text-decoration:none;text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-button-text-transform, uppercase)}.mdc-typography--overline{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-overline-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-overline-font-size, .75rem);line-height:2rem;line-height:var(--mdc-typography-overline-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-overline-font-weight, 500);letter-spacing:.1666666667em;letter-spacing:var(--mdc-typography-overline-letter-spacing, .1666666667em);text-decoration:none;text-decoration:var(--mdc-typography-overline-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-overline-text-transform, uppercase)}.content{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.icon-background{display:flex;justify-content:center;align-items:center;width:96px;height:96px;border-radius:50%;background-color:var(--mdc-theme-background);margin-left:auto;margin-right:auto}.covalent-icon{font-size:40px;color:var(--mdc-theme-text-secondary-on-background)}.mdc-typography--headline6{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);color:var(--mdc-theme-text-secondary-on-background);margin:16px 0 8px}.mdc-typography--caption{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);color:var(--mdc-theme-text-secondary-on-background);margin:0}.buttonContainer{display:flex;gap:0 20px;margin-top:16px}h6{margin:16px}
7
7
  `;
8
8
  var d = Object.defineProperty, v = Object.getOwnPropertyDescriptor, i = (a, r, m, n) => {
@@ -0,0 +1,14 @@
1
+ import { o as e } from "./query-assigned-elements-514e5265.mjs";
2
+ /**
3
+ * @license
4
+ * Copyright 2017 Google LLC
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ */
7
+ function n(o) {
8
+ return e({ finisher: (r, t) => {
9
+ Object.assign(r.prototype[t], o);
10
+ } });
11
+ }
12
+ export {
13
+ n as e
14
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";const n=require("./query-assigned-elements-07e38f46.js");/**
2
+ * @license
3
+ * Copyright 2017 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */function r(e){return n.o({finisher:(s,t)=>{Object.assign(s.prototype[t],e)}})}exports.e=r;
@@ -0,0 +1,50 @@
1
+ import { _ as r } from "./tslib.es6-b5e819a6.mjs";
2
+ import { e as a } from "./property-ca27685b.mjs";
3
+ import "./query-assigned-elements-514e5265.mjs";
4
+ import { B as d } from "./base-element-c3dc926e.mjs";
5
+ /**
6
+ * @license
7
+ * Copyright 2018 Google LLC
8
+ * SPDX-License-Identifier: Apache-2.0
9
+ */
10
+ var o, e;
11
+ const l = (e = (o = window.ShadyDOM) === null || o === void 0 ? void 0 : o.inUse) !== null && e !== void 0 ? e : !1;
12
+ class n extends d {
13
+ constructor() {
14
+ super(...arguments), this.disabled = !1, this.containingForm = null, this.formDataListener = (t) => {
15
+ this.disabled || this.setFormData(t.formData);
16
+ };
17
+ }
18
+ findFormElement() {
19
+ if (!this.shadowRoot || l)
20
+ return null;
21
+ const s = this.getRootNode().querySelectorAll("form");
22
+ for (const i of Array.from(s))
23
+ if (i.contains(this))
24
+ return i;
25
+ return null;
26
+ }
27
+ connectedCallback() {
28
+ var t;
29
+ super.connectedCallback(), this.containingForm = this.findFormElement(), (t = this.containingForm) === null || t === void 0 || t.addEventListener("formdata", this.formDataListener);
30
+ }
31
+ disconnectedCallback() {
32
+ var t;
33
+ super.disconnectedCallback(), (t = this.containingForm) === null || t === void 0 || t.removeEventListener("formdata", this.formDataListener), this.containingForm = null;
34
+ }
35
+ click() {
36
+ this.formElement && !this.disabled && (this.formElement.focus(), this.formElement.click());
37
+ }
38
+ firstUpdated() {
39
+ super.firstUpdated(), this.shadowRoot && this.mdcRoot.addEventListener("change", (t) => {
40
+ this.dispatchEvent(new Event("change", t));
41
+ });
42
+ }
43
+ }
44
+ n.shadowRootOptions = { mode: "open", delegatesFocus: !0 };
45
+ r([
46
+ a({ type: Boolean })
47
+ ], n.prototype, "disabled", void 0);
48
+ export {
49
+ n as F
50
+ };
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("./tslib.es6.mjs"),a=require("./property.mjs");require("./query-assigned-elements.mjs");const l=require("./base-element.mjs");/**
1
+ "use strict";const r=require("./tslib.es6-6b53b818.js"),a=require("./property-074570d1.js");require("./query-assigned-elements-07e38f46.js");const l=require("./base-element-d5abe37a.js");/**
2
2
  * @license
3
3
  * Copyright 2018 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
@@ -0,0 +1,60 @@
1
+ /**
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
+ */
23
+ var n = (
24
+ /** @class */
25
+ function() {
26
+ function e(t) {
27
+ t === void 0 && (t = {}), this.adapter = t;
28
+ }
29
+ return Object.defineProperty(e, "cssClasses", {
30
+ get: function() {
31
+ return {};
32
+ },
33
+ enumerable: !1,
34
+ configurable: !0
35
+ }), Object.defineProperty(e, "strings", {
36
+ get: function() {
37
+ return {};
38
+ },
39
+ enumerable: !1,
40
+ configurable: !0
41
+ }), Object.defineProperty(e, "numbers", {
42
+ get: function() {
43
+ return {};
44
+ },
45
+ enumerable: !1,
46
+ configurable: !0
47
+ }), Object.defineProperty(e, "defaultAdapter", {
48
+ get: function() {
49
+ return {};
50
+ },
51
+ enumerable: !1,
52
+ configurable: !0
53
+ }), e.prototype.init = function() {
54
+ }, e.prototype.destroy = function() {
55
+ }, e;
56
+ }()
57
+ );
58
+ export {
59
+ n as M
60
+ };
@@ -1,4 +1,4 @@
1
- "use strict";const a=require("./tslib.es6.mjs"),p=require("./foundation2.mjs");/**
1
+ "use strict";const a=require("./tslib.es6-6b53b818.js"),f=require("./foundation-e830bd94.js");/**
2
2
  * @license
3
3
  * Copyright 2020 Google Inc.
4
4
  *
@@ -19,7 +19,7 @@
19
19
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  * THE SOFTWARE.
22
- */var s={CLOSING:"mdc-banner--closing",OPEN:"mdc-banner--open",OPENING:"mdc-banner--opening"},d={BANNER_ANIMATION_CLOSE_TIME_MS:250,BANNER_ANIMATION_OPEN_TIME_MS:300},f={CLOSED:"MDCBanner:closed",CLOSING:"MDCBanner:closing",OPENED:"MDCBanner:opened",OPENING:"MDCBanner:opening",ACTION_CLICKED:"MDCBanner:actionClicked"},m={CONTENT:".mdc-banner__content",PRIMARY_ACTION:".mdc-banner__primary-action",SECONDARY_ACTION:".mdc-banner__secondary-action",TEXT:".mdc-banner__text"};exports.CloseReason=void 0;(function(n){n[n.PRIMARY=0]="PRIMARY",n[n.SECONDARY=1]="SECONDARY",n[n.UNSPECIFIED=2]="UNSPECIFIED"})(exports.CloseReason||(exports.CloseReason={}));var c;(function(n){n[n.PRIMARY=0]="PRIMARY",n[n.SECONDARY=1]="SECONDARY",n[n.UNKNOWN=2]="UNKNOWN"})(c||(c={}));/**
22
+ */var s={CLOSING:"mdc-banner--closing",OPEN:"mdc-banner--open",OPENING:"mdc-banner--opening"},d={BANNER_ANIMATION_CLOSE_TIME_MS:250,BANNER_ANIMATION_OPEN_TIME_MS:300},p={CLOSED:"MDCBanner:closed",CLOSING:"MDCBanner:closing",OPENED:"MDCBanner:opened",OPENING:"MDCBanner:opening",ACTION_CLICKED:"MDCBanner:actionClicked"},m={CONTENT:".mdc-banner__content",PRIMARY_ACTION:".mdc-banner__primary-action",SECONDARY_ACTION:".mdc-banner__secondary-action",TEXT:".mdc-banner__text"};exports.CloseReason=void 0;(function(e){e[e.PRIMARY=0]="PRIMARY",e[e.SECONDARY=1]="SECONDARY",e[e.UNSPECIFIED=2]="UNSPECIFIED"})(exports.CloseReason||(exports.CloseReason={}));var c;(function(e){e[e.PRIMARY=0]="PRIMARY",e[e.SECONDARY=1]="SECONDARY",e[e.UNKNOWN=2]="UNKNOWN"})(c||(c={}));/**
23
23
  * @license
24
24
  * Copyright 2020 Google Inc.
25
25
  *
@@ -40,4 +40,4 @@
40
40
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41
41
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
42
42
  * THE SOFTWARE.
43
- */var r=s.OPENING,u=s.OPEN,o=s.CLOSING,h=function(n){a.__extends(t,n);function t(e){var i=n.call(this,a.__assign(a.__assign({},t.defaultAdapter),e))||this;return i.isOpened=!1,i.animationFrame=0,i.animationTimer=0,i}return Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},getContentHeight:function(){return 0},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},notifyActionClicked:function(){},releaseFocus:function(){},removeClass:function(){},setStyleProperty:function(){},trapFocus:function(){}}},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=0},t.prototype.open=function(){var e=this;this.isOpened=!0,this.adapter.notifyOpening(),this.adapter.removeClass(o),this.adapter.addClass(r);var i=this.adapter.getContentHeight();this.animationFrame=requestAnimationFrame(function(){e.adapter.addClass(u),e.adapter.setStyleProperty("height",i+"px"),e.animationTimer=setTimeout(function(){e.handleAnimationTimerEnd(),e.adapter.trapFocus(),e.adapter.notifyOpened()},d.BANNER_ANIMATION_OPEN_TIME_MS)})},t.prototype.close=function(e){var i=this;this.isOpened&&(cancelAnimationFrame(this.animationFrame),this.animationFrame=0,this.isOpened=!1,this.adapter.notifyClosing(e),this.adapter.addClass(o),this.adapter.setStyleProperty("height","0"),this.adapter.removeClass(u),this.adapter.removeClass(r),clearTimeout(this.animationTimer),this.animationTimer=setTimeout(function(){i.adapter.releaseFocus(),i.handleAnimationTimerEnd(),i.adapter.notifyClosed(e)},d.BANNER_ANIMATION_CLOSE_TIME_MS))},t.prototype.isOpen=function(){return this.isOpened},t.prototype.handlePrimaryActionClick=function(e){e===void 0&&(e=!1),e?this.adapter.notifyActionClicked(0):this.close(exports.CloseReason.PRIMARY)},t.prototype.handleSecondaryActionClick=function(e){e===void 0&&(e=!1),e?this.adapter.notifyActionClicked(1):this.close(exports.CloseReason.SECONDARY)},t.prototype.layout=function(){var e=this.adapter.getContentHeight();this.adapter.setStyleProperty("height",e+"px")},t.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0,this.adapter.removeClass(r),this.adapter.removeClass(o)},t}(p.MDCFoundation);exports.MDCBannerFoundation=h;exports.events=f;exports.selectors=m;
43
+ */var r=s.OPENING,u=s.OPEN,o=s.CLOSING,h=function(e){a.__extends(t,e);function t(n){var i=e.call(this,a.__assign(a.__assign({},t.defaultAdapter),n))||this;return i.isOpened=!1,i.animationFrame=0,i.animationTimer=0,i}return Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},getContentHeight:function(){return 0},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},notifyActionClicked:function(){},releaseFocus:function(){},removeClass:function(){},setStyleProperty:function(){},trapFocus:function(){}}},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=0},t.prototype.open=function(){var n=this;this.isOpened=!0,this.adapter.notifyOpening(),this.adapter.removeClass(o),this.adapter.addClass(r);var i=this.adapter.getContentHeight();this.animationFrame=requestAnimationFrame(function(){n.adapter.addClass(u),n.adapter.setStyleProperty("height",i+"px"),n.animationTimer=setTimeout(function(){n.handleAnimationTimerEnd(),n.adapter.trapFocus(),n.adapter.notifyOpened()},d.BANNER_ANIMATION_OPEN_TIME_MS)})},t.prototype.close=function(n){var i=this;this.isOpened&&(cancelAnimationFrame(this.animationFrame),this.animationFrame=0,this.isOpened=!1,this.adapter.notifyClosing(n),this.adapter.addClass(o),this.adapter.setStyleProperty("height","0"),this.adapter.removeClass(u),this.adapter.removeClass(r),clearTimeout(this.animationTimer),this.animationTimer=setTimeout(function(){i.adapter.releaseFocus(),i.handleAnimationTimerEnd(),i.adapter.notifyClosed(n)},d.BANNER_ANIMATION_CLOSE_TIME_MS))},t.prototype.isOpen=function(){return this.isOpened},t.prototype.handlePrimaryActionClick=function(n){n===void 0&&(n=!1),n?this.adapter.notifyActionClicked(0):this.close(exports.CloseReason.PRIMARY)},t.prototype.handleSecondaryActionClick=function(n){n===void 0&&(n=!1),n?this.adapter.notifyActionClicked(1):this.close(exports.CloseReason.SECONDARY)},t.prototype.layout=function(){var n=this.adapter.getContentHeight();this.adapter.setStyleProperty("height",n+"px")},t.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0,this.adapter.removeClass(r),this.adapter.removeClass(o)},t}(f.MDCFoundation);exports.MDCBannerFoundation=h;exports.events=p;exports.selectors=m;
@@ -0,0 +1,152 @@
1
+ import { a as f, b as d } from "./tslib.es6-b5e819a6.mjs";
2
+ import { M as m } from "./foundation-2334d146.mjs";
3
+ /**
4
+ * @license
5
+ * Copyright 2020 Google Inc.
6
+ *
7
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ * of this software and associated documentation files (the "Software"), to deal
9
+ * in the Software without restriction, including without limitation the rights
10
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ * copies of the Software, and to permit persons to whom the Software is
12
+ * furnished to do so, subject to the following conditions:
13
+ *
14
+ * The above copyright notice and this permission notice shall be included in
15
+ * all copies or substantial portions of the Software.
16
+ *
17
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
+ * THE SOFTWARE.
24
+ */
25
+ var s = {
26
+ CLOSING: "mdc-banner--closing",
27
+ OPEN: "mdc-banner--open",
28
+ OPENING: "mdc-banner--opening"
29
+ }, c = {
30
+ BANNER_ANIMATION_CLOSE_TIME_MS: 250,
31
+ BANNER_ANIMATION_OPEN_TIME_MS: 300
32
+ }, C = {
33
+ CLOSED: "MDCBanner:closed",
34
+ CLOSING: "MDCBanner:closing",
35
+ OPENED: "MDCBanner:opened",
36
+ OPENING: "MDCBanner:opening",
37
+ ACTION_CLICKED: "MDCBanner:actionClicked"
38
+ }, l = {
39
+ CONTENT: ".mdc-banner__content",
40
+ PRIMARY_ACTION: ".mdc-banner__primary-action",
41
+ SECONDARY_ACTION: ".mdc-banner__secondary-action",
42
+ TEXT: ".mdc-banner__text"
43
+ }, a;
44
+ (function(e) {
45
+ e[e.PRIMARY = 0] = "PRIMARY", e[e.SECONDARY = 1] = "SECONDARY", e[e.UNSPECIFIED = 2] = "UNSPECIFIED";
46
+ })(a || (a = {}));
47
+ var u;
48
+ (function(e) {
49
+ e[e.PRIMARY = 0] = "PRIMARY", e[e.SECONDARY = 1] = "SECONDARY", e[e.UNKNOWN = 2] = "UNKNOWN";
50
+ })(u || (u = {}));
51
+ /**
52
+ * @license
53
+ * Copyright 2020 Google Inc.
54
+ *
55
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
56
+ * of this software and associated documentation files (the "Software"), to deal
57
+ * in the Software without restriction, including without limitation the rights
58
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
59
+ * copies of the Software, and to permit persons to whom the Software is
60
+ * furnished to do so, subject to the following conditions:
61
+ *
62
+ * The above copyright notice and this permission notice shall be included in
63
+ * all copies or substantial portions of the Software.
64
+ *
65
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
66
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
67
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
68
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
69
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
70
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
71
+ * THE SOFTWARE.
72
+ */
73
+ var r = s.OPENING, p = s.OPEN, o = s.CLOSING, O = (
74
+ /** @class */
75
+ function(e) {
76
+ f(t, e);
77
+ function t(n) {
78
+ var i = e.call(this, d(d({}, t.defaultAdapter), n)) || this;
79
+ return i.isOpened = !1, i.animationFrame = 0, i.animationTimer = 0, i;
80
+ }
81
+ return Object.defineProperty(t, "defaultAdapter", {
82
+ get: function() {
83
+ return {
84
+ addClass: function() {
85
+ },
86
+ getContentHeight: function() {
87
+ return 0;
88
+ },
89
+ notifyClosed: function() {
90
+ },
91
+ notifyClosing: function() {
92
+ },
93
+ notifyOpened: function() {
94
+ },
95
+ notifyOpening: function() {
96
+ },
97
+ notifyActionClicked: function() {
98
+ },
99
+ releaseFocus: function() {
100
+ },
101
+ removeClass: function() {
102
+ },
103
+ setStyleProperty: function() {
104
+ },
105
+ trapFocus: function() {
106
+ }
107
+ };
108
+ },
109
+ enumerable: !1,
110
+ configurable: !0
111
+ }), t.prototype.destroy = function() {
112
+ cancelAnimationFrame(this.animationFrame), this.animationFrame = 0, clearTimeout(this.animationTimer), this.animationTimer = 0;
113
+ }, t.prototype.open = function() {
114
+ var n = this;
115
+ this.isOpened = !0, this.adapter.notifyOpening(), this.adapter.removeClass(o), this.adapter.addClass(r);
116
+ var i = this.adapter.getContentHeight();
117
+ this.animationFrame = requestAnimationFrame(function() {
118
+ n.adapter.addClass(p), n.adapter.setStyleProperty("height", i + "px"), n.animationTimer = setTimeout(function() {
119
+ n.handleAnimationTimerEnd(), n.adapter.trapFocus(), n.adapter.notifyOpened();
120
+ }, c.BANNER_ANIMATION_OPEN_TIME_MS);
121
+ });
122
+ }, t.prototype.close = function(n) {
123
+ var i = this;
124
+ this.isOpened && (cancelAnimationFrame(this.animationFrame), this.animationFrame = 0, this.isOpened = !1, this.adapter.notifyClosing(n), this.adapter.addClass(o), this.adapter.setStyleProperty("height", "0"), this.adapter.removeClass(p), this.adapter.removeClass(r), clearTimeout(this.animationTimer), this.animationTimer = setTimeout(function() {
125
+ i.adapter.releaseFocus(), i.handleAnimationTimerEnd(), i.adapter.notifyClosed(n);
126
+ }, c.BANNER_ANIMATION_CLOSE_TIME_MS));
127
+ }, t.prototype.isOpen = function() {
128
+ return this.isOpened;
129
+ }, t.prototype.handlePrimaryActionClick = function(n) {
130
+ n === void 0 && (n = !1), n ? this.adapter.notifyActionClicked(
131
+ 0
132
+ /* PRIMARY */
133
+ ) : this.close(a.PRIMARY);
134
+ }, t.prototype.handleSecondaryActionClick = function(n) {
135
+ n === void 0 && (n = !1), n ? this.adapter.notifyActionClicked(
136
+ 1
137
+ /* SECONDARY */
138
+ ) : this.close(a.SECONDARY);
139
+ }, t.prototype.layout = function() {
140
+ var n = this.adapter.getContentHeight();
141
+ this.adapter.setStyleProperty("height", n + "px");
142
+ }, t.prototype.handleAnimationTimerEnd = function() {
143
+ this.animationTimer = 0, this.adapter.removeClass(r), this.adapter.removeClass(o);
144
+ }, t;
145
+ }(m)
146
+ );
147
+ export {
148
+ a as C,
149
+ O as M,
150
+ C as e,
151
+ l as s
152
+ };
package/icon-button.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./query-assigned-elements.mjs"),e=require("./tslib.es6.mjs"),p=require("./ripple-handlers.mjs"),u=require("./aria-property.mjs"),s=require("./property.mjs"),m=require("./state.mjs"),b=require("./event-options.mjs"),h=require("./query.mjs"),f=require("./if-defined.mjs");require("./base-element.mjs");require("./utils.mjs");require("./class-map.mjs");require("./style-map.mjs");/**
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./query-assigned-elements-07e38f46.js"),e=require("./tslib.es6-6b53b818.js"),p=require("./ripple-handlers-2176f137.js"),u=require("./aria-property-849c8816.js"),s=require("./property-074570d1.js"),m=require("./state-949232e6.js"),b=require("./event-options-7bc382d8.js"),h=require("./query-2ba749b7.js"),f=require("./if-defined-cb12d481.js");require("./base-element-d5abe37a.js");require("./utils-a8190a39.js");require("./class-map-50b8edb4.js");require("./style-map-3056a771.js");/**
2
2
  * @license
3
3
  * Copyright 2018 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
package/icon-button.mjs CHANGED
@@ -1,16 +1,16 @@
1
- import { s as h, y as p, i as u, r as f, e as g } from "./query-assigned-elements.mjs";
2
- import { _ as n } from "./tslib.es6.mjs";
3
- import { e as _, R as x } from "./ripple-handlers.mjs";
4
- import { a as m } from "./aria-property.mjs";
5
- import { e as d } from "./property.mjs";
6
- import { t as v } from "./state.mjs";
7
- import { e as b } from "./event-options.mjs";
8
- import { i as y } from "./query.mjs";
9
- import { l as w } from "./if-defined.mjs";
10
- import "./base-element.mjs";
11
- import "./utils.mjs";
12
- import "./class-map.mjs";
13
- import "./style-map.mjs";
1
+ import { s as h, y as p, i as u, r as f, e as g } from "./query-assigned-elements-514e5265.mjs";
2
+ import { _ as n } from "./tslib.es6-b5e819a6.mjs";
3
+ import { e as _, R as x } from "./ripple-handlers-227497d3.mjs";
4
+ import { a as m } from "./aria-property-fa2717fe.mjs";
5
+ import { e as d } from "./property-ca27685b.mjs";
6
+ import { t as v } from "./state-6f7e570d.mjs";
7
+ import { e as b } from "./event-options-3937d997.mjs";
8
+ import { i as y } from "./query-1e7846ea.mjs";
9
+ import { l as w } from "./if-defined-639ed018.mjs";
10
+ import "./base-element-c3dc926e.mjs";
11
+ import "./utils-dc65fdc9.mjs";
12
+ import "./class-map-08c84aeb.mjs";
13
+ import "./style-map-2cb0fb63.mjs";
14
14
  /**
15
15
  * @license
16
16
  * Copyright 2018 Google LLC
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./query-assigned-elements.mjs"),l=require("./property.mjs"),p=require("./class-map.mjs"),s=require("./style-map.mjs"),h=require("./mwc-checkbox-base.mjs"),g=require("./mwc-checkbox.css.mjs");require("./tslib.es6.mjs");require("./ripple-handlers.mjs");require("./base-element.mjs");require("./utils.mjs");require("./state.mjs");require("./query.mjs");require("./aria-property.mjs");require("./form-element.mjs");require("./event-options.mjs");require("./if-defined.mjs");const m=`:host .mdc-toggle__background{position:absolute;top:4px;right:4px;width:15px;height:15px;border:none;color:var(--mdc-theme-text-icon-on-dark)}:host .mdc-toggle__checkmark-path{transition:stroke-dashoffset .18s cubic-bezier(.4,0,.6,1) 0ms;stroke:currentcolor;stroke-width:3.12px;stroke-dashoffset:29.7833;stroke-dasharray:29.7833}:host .showCheck{stroke-dashoffset:0;opacity:1}:host([width=fill]){width:100%}.container{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;row-gap:8px;width:var(--width);height:var(--height);border:solid 2px var(--mdc-theme-border);border-radius:8px;color:var(--mdc-theme-text-primary-on-background);--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.container:before,.container:after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.container:before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.container:after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.container.mdc-ripple-upgraded:before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.container.mdc-ripple-upgraded:after{top:0;left:0;transform:scale(0);transform-origin:center center}.container.mdc-ripple-upgraded--unbounded:after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.container.mdc-ripple-upgraded--foreground-activation:after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.container.mdc-ripple-upgraded--foreground-deactivation:after{animation:mdc-ripple-fg-opacity-out .15s;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.container:before,.container:after{top:0%;left:0%;width:100%;height:100%}.container.mdc-ripple-upgraded:before,.container.mdc-ripple-upgraded:after{top:var(--mdc-ripple-top, 0%);left:var(--mdc-ripple-left, 0%);width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.container.mdc-ripple-upgraded:after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.container:before,.container:after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.container:hover:before,.container.mdc-ripple-surface--hover:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.container.mdc-ripple-upgraded--background-focused:before,.container:not(.mdc-ripple-upgraded):focus:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.container:not(.mdc-ripple-upgraded):after{transition:opacity .15s linear}.container:not(.mdc-ripple-upgraded):active:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.container.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.container:after,.container:before{border-radius:8px}.container:hover{cursor:pointer}.cornerFill{background:linear-gradient(225deg,var(--mdc-theme-secondary) 28px,transparent 0)}.checked{border:solid 2px var(--mdc-theme-primary);background-color:var(--mdc-theme-surface-primary-highlight)}.checked:hover{background-color:var(--mdc-theme-surface-primary-highlight-hover)}[name=icon]::slotted(*){font-size:40px;color:var(--mdc-theme-text-icon-on-background)}[name=text]::slotted(*){color:var(--mdc-theme-text-primary-on-background);font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height);letter-spacing:.4px}[name=text]::slotted(*:last-child){color:var(--mdc-theme-text-secondary-on-background);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)}
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"),p=require("./class-map-50b8edb4.js"),s=require("./style-map-3056a771.js"),h=require("./mwc-checkbox-base-435c1f1d.js"),g=require("./mwc-checkbox.css-956e3d6c.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("./aria-property-849c8816.js");require("./form-element-d4e7bcdb.js");require("./event-options-7bc382d8.js");require("./if-defined-cb12d481.js");const m=`:host .mdc-toggle__background{position:absolute;top:4px;right:4px;width:15px;height:15px;border:none;color:var(--mdc-theme-text-icon-on-dark)}:host .mdc-toggle__checkmark-path{transition:stroke-dashoffset .18s cubic-bezier(.4,0,.6,1) 0ms;stroke:currentcolor;stroke-width:3.12px;stroke-dashoffset:29.7833;stroke-dasharray:29.7833}:host .showCheck{stroke-dashoffset:0;opacity:1}:host([width=fill]){width:100%}.container{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;row-gap:8px;width:var(--width);height:var(--height);border:solid 2px var(--mdc-theme-border);border-radius:8px;color:var(--mdc-theme-text-primary-on-background);--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.container:before,.container:after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.container:before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.container:after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.container.mdc-ripple-upgraded:before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.container.mdc-ripple-upgraded:after{top:0;left:0;transform:scale(0);transform-origin:center center}.container.mdc-ripple-upgraded--unbounded:after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.container.mdc-ripple-upgraded--foreground-activation:after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.container.mdc-ripple-upgraded--foreground-deactivation:after{animation:mdc-ripple-fg-opacity-out .15s;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.container:before,.container:after{top:0%;left:0%;width:100%;height:100%}.container.mdc-ripple-upgraded:before,.container.mdc-ripple-upgraded:after{top:var(--mdc-ripple-top, 0%);left:var(--mdc-ripple-left, 0%);width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.container.mdc-ripple-upgraded:after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.container:before,.container:after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.container:hover:before,.container.mdc-ripple-surface--hover:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.container.mdc-ripple-upgraded--background-focused:before,.container:not(.mdc-ripple-upgraded):focus:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.container:not(.mdc-ripple-upgraded):after{transition:opacity .15s linear}.container:not(.mdc-ripple-upgraded):active:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.container.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.container:after,.container:before{border-radius:8px}.container:hover{cursor:pointer}.cornerFill{background:linear-gradient(225deg,var(--mdc-theme-secondary) 28px,transparent 0)}.checked{border:solid 2px var(--mdc-theme-primary);background-color:var(--mdc-theme-surface-primary-highlight)}.checked:hover{background-color:var(--mdc-theme-surface-primary-highlight-hover)}[name=icon]::slotted(*){font-size:40px;color:var(--mdc-theme-text-icon-on-background)}[name=text]::slotted(*){color:var(--mdc-theme-text-primary-on-background);font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height);letter-spacing:.4px}[name=text]::slotted(*:last-child){color:var(--mdc-theme-text-secondary-on-background);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)}
2
2
  `;var f=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=(a,r,t,o)=>{for(var e=o>1?void 0:o?u(r,t):r,n=a.length-1,d;n>=0;n--)(d=a[n])&&(e=(o?d(r,t,e):d(e))||e);return o&&e&&f(r,t,e),e};exports.CovalentIconCheckToggle=class extends h.CheckboxBase{constructor(){super(...arguments),this.width="200",this.height="160",this.iconOnly=!1}render(){const r={checked:this.checked,cornerFill:this.checked},t={showCheck:this.checked},o={"--width":this.width=="fill"?"100%":`${this.width}px`,"--height":`${this.height}px`};return i.y`
3
3
  <div class="${p.o(r)} container" style="${s.i(o)}" @click="${this._handleClick}">
4
4
  <input type="checkbox" class="mdc-checkbox__native-control"></input>
@@ -1,19 +1,19 @@
1
- import { i as m, r as h, y as l, e as f } from "./query-assigned-elements.mjs";
2
- import { e as s } from "./property.mjs";
3
- import { o as d } from "./class-map.mjs";
4
- import { i as g } from "./style-map.mjs";
5
- import { C as y } from "./mwc-checkbox-base.mjs";
6
- import { s as v } from "./mwc-checkbox.css.mjs";
7
- import "./tslib.es6.mjs";
8
- import "./ripple-handlers.mjs";
9
- import "./base-element.mjs";
10
- import "./utils.mjs";
11
- import "./state.mjs";
12
- import "./query.mjs";
13
- import "./aria-property.mjs";
14
- import "./form-element.mjs";
15
- import "./event-options.mjs";
16
- import "./if-defined.mjs";
1
+ import { i as m, r as h, y as l, e as f } from "./query-assigned-elements-514e5265.mjs";
2
+ import { e as s } from "./property-ca27685b.mjs";
3
+ import { o as d } from "./class-map-08c84aeb.mjs";
4
+ import { i as g } from "./style-map-2cb0fb63.mjs";
5
+ import { C as y } from "./mwc-checkbox-base-10e977f2.mjs";
6
+ import { s as v } from "./mwc-checkbox.css-b7abc7fd.mjs";
7
+ import "./tslib.es6-b5e819a6.mjs";
8
+ import "./ripple-handlers-227497d3.mjs";
9
+ import "./base-element-c3dc926e.mjs";
10
+ import "./utils-dc65fdc9.mjs";
11
+ import "./state-6f7e570d.mjs";
12
+ import "./query-1e7846ea.mjs";
13
+ import "./aria-property-fa2717fe.mjs";
14
+ import "./form-element-6dbd7afa.mjs";
15
+ import "./event-options-3937d997.mjs";
16
+ import "./if-defined-639ed018.mjs";
17
17
  const u = `:host .mdc-toggle__background{position:absolute;top:4px;right:4px;width:15px;height:15px;border:none;color:var(--mdc-theme-text-icon-on-dark)}:host .mdc-toggle__checkmark-path{transition:stroke-dashoffset .18s cubic-bezier(.4,0,.6,1) 0ms;stroke:currentcolor;stroke-width:3.12px;stroke-dashoffset:29.7833;stroke-dasharray:29.7833}:host .showCheck{stroke-dashoffset:0;opacity:1}:host([width=fill]){width:100%}.container{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;row-gap:8px;width:var(--width);height:var(--height);border:solid 2px var(--mdc-theme-border);border-radius:8px;color:var(--mdc-theme-text-primary-on-background);--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.container:before,.container:after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.container:before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.container:after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.container.mdc-ripple-upgraded:before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.container.mdc-ripple-upgraded:after{top:0;left:0;transform:scale(0);transform-origin:center center}.container.mdc-ripple-upgraded--unbounded:after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.container.mdc-ripple-upgraded--foreground-activation:after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.container.mdc-ripple-upgraded--foreground-deactivation:after{animation:mdc-ripple-fg-opacity-out .15s;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.container:before,.container:after{top:0%;left:0%;width:100%;height:100%}.container.mdc-ripple-upgraded:before,.container.mdc-ripple-upgraded:after{top:var(--mdc-ripple-top, 0%);left:var(--mdc-ripple-left, 0%);width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.container.mdc-ripple-upgraded:after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.container:before,.container:after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.container:hover:before,.container.mdc-ripple-surface--hover:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.container.mdc-ripple-upgraded--background-focused:before,.container:not(.mdc-ripple-upgraded):focus:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.container:not(.mdc-ripple-upgraded):after{transition:opacity .15s linear}.container:not(.mdc-ripple-upgraded):active:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.container.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.container:after,.container:before{border-radius:8px}.container:hover{cursor:pointer}.cornerFill{background:linear-gradient(225deg,var(--mdc-theme-secondary) 28px,transparent 0)}.checked{border:solid 2px var(--mdc-theme-primary);background-color:var(--mdc-theme-surface-primary-highlight)}.checked:hover{background-color:var(--mdc-theme-surface-primary-highlight-hover)}[name=icon]::slotted(*){font-size:40px;color:var(--mdc-theme-text-icon-on-background)}[name=text]::slotted(*){color:var(--mdc-theme-text-primary-on-background);font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height);letter-spacing:.4px}[name=text]::slotted(*:last-child){color:var(--mdc-theme-text-secondary-on-background);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)}
18
18
  `;
19
19
  var b = Object.defineProperty, k = Object.getOwnPropertyDescriptor, c = (i, e, o, a) => {
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./query-assigned-elements.mjs"),l=require("./mwc-radio-base.mjs"),s=require("./mwc-radio.css.mjs"),h=require("./property.mjs");require("./tslib.es6.mjs");require("./ripple-handlers.mjs");require("./base-element.mjs");require("./utils.mjs");require("./state.mjs");require("./query.mjs");require("./class-map.mjs");require("./style-map.mjs");require("./aria-property.mjs");require("./form-element.mjs");require("./observer.mjs");require("./event-options.mjs");require("./if-defined.mjs");const p=`:host .mdc-radio__background{position:absolute;top:8px;right:8px}:host([width=fill]){width:100%}.mdc-radio{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;row-gap:8px;width:var(--cv-icon-radio-width, 200px);height:var(--cv-icon-radio-height, 160px);border:solid 2px var(--mdc-theme-border);border-radius:8px;color:var(--mdc-theme-text-primary-on-background)}.mdc-radio--touch .mdc-radio__native-control{width:100%;height:100%}:host([checked]) .mdc-radio{border:solid 2px var(--mdc-theme-primary);background-color:var(--mdc-theme-surface-primary-highlight)}:host([checked]) .mdc-radio:hover{background-color:var(--mdc-theme-surface-primary-highlight-hover)}[name=icon]::slotted(*){font-size:40px;color:var(--mdc-theme-text-icon-on-background)}[name=text]::slotted(*){color:var(--mdc-theme-text-primary-on-background);font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height);letter-spacing:.4px}[name=text]::slotted(*:last-child){color:var(--mdc-theme-text-secondary-on-background);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)}
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./query-assigned-elements-07e38f46.js"),l=require("./mwc-radio-base-442d495a.js"),s=require("./mwc-radio.css-388ad26d.js"),h=require("./property-074570d1.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("./aria-property-849c8816.js");require("./form-element-d4e7bcdb.js");require("./observer-a096ab43.js");require("./event-options-7bc382d8.js");require("./if-defined-cb12d481.js");const p=`:host .mdc-radio__background{position:absolute;top:8px;right:8px}:host([width=fill]){width:100%}.mdc-radio{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;row-gap:8px;width:var(--cv-icon-radio-width, 200px);height:var(--cv-icon-radio-height, 160px);border:solid 2px var(--mdc-theme-border);border-radius:8px;color:var(--mdc-theme-text-primary-on-background)}.mdc-radio--touch .mdc-radio__native-control{width:100%;height:100%}:host([checked]) .mdc-radio{border:solid 2px var(--mdc-theme-primary);background-color:var(--mdc-theme-surface-primary-highlight)}:host([checked]) .mdc-radio:hover{background-color:var(--mdc-theme-surface-primary-highlight-hover)}[name=icon]::slotted(*){font-size:40px;color:var(--mdc-theme-text-icon-on-background)}[name=text]::slotted(*){color:var(--mdc-theme-text-primary-on-background);font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height);letter-spacing:.4px}[name=text]::slotted(*:last-child){color:var(--mdc-theme-text-secondary-on-background);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)}
2
2
  `;var g=Object.defineProperty,m=Object.getOwnPropertyDescriptor,d=(a,t,i,r)=>{for(var e=r>1?void 0:r?m(t,i):t,n=a.length-1,c;n>=0;n--)(c=a[n])&&(e=(r?c(t,i,e):c(e))||e);return r&&e&&g(t,i,e),e};exports.CovalentIconRadioToggle=class extends l.RadioBase{constructor(){super(...arguments),this.iconOnly=!1}renderRipple(){const t=o.y`<slot name="icon"></slot>`,i=this.iconOnly?"":o.y`<div><slot name="text"></slot></div>`,r=this.shouldRenderRipple?o.y`<mwc-ripple
3
3
  accent
4
4
  .internalUseStateLayerCustomProperties="${this.useStateLayerCustomProperties}"
@@ -1,20 +1,20 @@
1
- import { i as m, r as s, y as n, e as l } from "./query-assigned-elements.mjs";
2
- import { R as h } from "./mwc-radio-base.mjs";
3
- import { s as y } from "./mwc-radio.css.mjs";
4
- import { e as g } from "./property.mjs";
5
- import "./tslib.es6.mjs";
6
- import "./ripple-handlers.mjs";
7
- import "./base-element.mjs";
8
- import "./utils.mjs";
9
- import "./state.mjs";
10
- import "./query.mjs";
11
- import "./class-map.mjs";
12
- import "./style-map.mjs";
13
- import "./aria-property.mjs";
14
- import "./form-element.mjs";
15
- import "./observer.mjs";
16
- import "./event-options.mjs";
17
- import "./if-defined.mjs";
1
+ import { i as m, r as s, y as n, e as l } from "./query-assigned-elements-514e5265.mjs";
2
+ import { R as h } from "./mwc-radio-base-c29e6f42.mjs";
3
+ import { s as y } from "./mwc-radio.css-4694aa9c.mjs";
4
+ import { e as g } from "./property-ca27685b.mjs";
5
+ import "./tslib.es6-b5e819a6.mjs";
6
+ import "./ripple-handlers-227497d3.mjs";
7
+ import "./base-element-c3dc926e.mjs";
8
+ import "./utils-dc65fdc9.mjs";
9
+ import "./state-6f7e570d.mjs";
10
+ import "./query-1e7846ea.mjs";
11
+ import "./class-map-08c84aeb.mjs";
12
+ import "./style-map-2cb0fb63.mjs";
13
+ import "./aria-property-fa2717fe.mjs";
14
+ import "./form-element-6dbd7afa.mjs";
15
+ import "./observer-be7b92e2.mjs";
16
+ import "./event-options-3937d997.mjs";
17
+ import "./if-defined-639ed018.mjs";
18
18
  const f = `:host .mdc-radio__background{position:absolute;top:8px;right:8px}:host([width=fill]){width:100%}.mdc-radio{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;row-gap:8px;width:var(--cv-icon-radio-width, 200px);height:var(--cv-icon-radio-height, 160px);border:solid 2px var(--mdc-theme-border);border-radius:8px;color:var(--mdc-theme-text-primary-on-background)}.mdc-radio--touch .mdc-radio__native-control{width:100%;height:100%}:host([checked]) .mdc-radio{border:solid 2px var(--mdc-theme-primary);background-color:var(--mdc-theme-surface-primary-highlight)}:host([checked]) .mdc-radio:hover{background-color:var(--mdc-theme-surface-primary-highlight-hover)}[name=icon]::slotted(*){font-size:40px;color:var(--mdc-theme-text-icon-on-background)}[name=text]::slotted(*){color:var(--mdc-theme-text-primary-on-background);font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height);letter-spacing:.4px}[name=text]::slotted(*:last-child){color:var(--mdc-theme-text-secondary-on-background);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)}
19
19
  `;
20
20
  var v = Object.defineProperty, u = Object.getOwnPropertyDescriptor, p = (i, o, e, a) => {
package/icon.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./mwc-icon.mjs"),l=require("./query-assigned-elements.mjs");require("./tslib.es6.mjs");/**
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./mwc-icon-b96fb867.js"),l=require("./query-assigned-elements-07e38f46.js");require("./tslib.es6-6b53b818.js");/**
2
2
  * @license
3
3
  * Copyright 2021 Google LLC
4
4
  * SPDX-LIcense-Identifier: Apache-2.0
package/icon.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { I as l } from "./mwc-icon.mjs";
2
- import { i as c, e as f } from "./query-assigned-elements.mjs";
3
- import "./tslib.es6.mjs";
1
+ import { I as l } from "./mwc-icon-c7013880.mjs";
2
+ import { i as c, e as f } from "./query-assigned-elements-514e5265.mjs";
3
+ import "./tslib.es6-b5e819a6.mjs";
4
4
  /**
5
5
  * @license
6
6
  * Copyright 2021 Google LLC
@@ -0,0 +1,10 @@
1
+ import { b as r } from "./query-assigned-elements-514e5265.mjs";
2
+ /**
3
+ * @license
4
+ * Copyright 2018 Google LLC
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ */
7
+ const l = (o) => o ?? r;
8
+ export {
9
+ l
10
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";const s=require("./query-assigned-elements-07e38f46.js");/**
2
+ * @license
3
+ * Copyright 2018 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */const n=e=>e??s.b;exports.l=n;
package/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./action-ribbon.js"),t=require("./alert.js"),r=require("./app-shell.js"),n=require("./button.js"),o=require("./checkbox.js"),a=require("./card.js"),i=require("./circular-progress.js"),u=require("./code-snippet.js"),l=require("./dialog.mjs"),c=require("./drawer.js"),b=require("./empty-state.js"),C=require("./icon.js"),s=require("./icon-button.js"),p=require("./icon-check-toggle.js"),v=require("./icon-radio-toggle.js"),d=require("./linear-progress.js"),q=require("./check-list-item.js"),g=require("./list.mjs"),m=require("./list-expansion.js"),y=require("./list-item.mjs"),P=require("./nav-list-item.js"),f=require("./radio-list-item.js"),j=require("./menu.js"),O=require("./radio.js"),T=require("./select.js"),S=require("./side-sheet.js"),I=require("./slider.js"),L=require("./slider-range.js"),h=require("./snackbar.js"),x=require("./status-header.js"),k=require("./status-header-item.js"),R=require("./switch.js"),A=require("./tab.js"),B=require("./tab-bar.js"),w=require("./textarea.js"),H=require("./textfield.js"),E=require("./text-lockup.js"),F=require("./toolbar.js"),D=require("./tooltip.js"),M=require("./top-app-bar.js"),N=require("./top-app-bar-fixed.js"),_=require("./tree-list.js"),z=require("./tree-list-item.js"),G=require("./typography.js");require("./query-assigned-elements.mjs");require("./utils.mjs");require("./observer.mjs");require("./foundation.mjs");require("./tslib.es6.mjs");require("./foundation2.mjs");require("./class-map.mjs");require("./property.mjs");require("./query.mjs");require("./mwc-drawer-base.mjs");require("./inert.esm.mjs");require("./base-element.mjs");require("./mwc-icon.mjs");require("./ripple-handlers.mjs");require("./state.mjs");require("./style-map.mjs");require("./aria-property.mjs");require("./event-options.mjs");require("./if-defined.mjs");require("./mwc-checkbox-base.mjs");require("./form-element.mjs");require("./mwc-checkbox.css.mjs");require("./query-assigned-nodes.mjs");require("./mwc-radio-base.mjs");require("./mwc-radio.css.mjs");require("./mwc-list-item-base.mjs");require("./mwc-list-item.css.mjs");require("./mwc-list-base.mjs");require("./mwc-menu-base.mjs");require("./mwc-line-ripple-directive.mjs");require("./mwc-slider.css.mjs");require("./directive-helpers.mjs");require("./mwc-tab-base.mjs");require("./textfield.mjs");require("./mwc-top-app-bar-base.mjs");require("./top-app-bar.mjs");Object.defineProperty(exports,"CovalentActionRibbon",{enumerable:!0,get:()=>e.CovalentActionRibbon});Object.defineProperty(exports,"CovalentAlert",{enumerable:!0,get:()=>t.CovalentAlert});Object.defineProperty(exports,"CovalentAppShell",{enumerable:!0,get:()=>r.CovalentAppShell});Object.defineProperty(exports,"CovalentButton",{enumerable:!0,get:()=>n.CovalentButton});Object.defineProperty(exports,"CovalentCheckbox",{enumerable:!0,get:()=>o.CovalentCheckbox});Object.defineProperty(exports,"CovalentCard",{enumerable:!0,get:()=>a.CovalentCard});Object.defineProperty(exports,"CovalentCircularProgress",{enumerable:!0,get:()=>i.CovalentCircularProgress});Object.defineProperty(exports,"CovalentCodeSnippet",{enumerable:!0,get:()=>u.CovalentCodeSnippet});Object.defineProperty(exports,"CovalentDialog",{enumerable:!0,get:()=>l.CovalentDialog});Object.defineProperty(exports,"CovalentDrawer",{enumerable:!0,get:()=>c.CovalentDrawer});Object.defineProperty(exports,"CovalentEmptyState",{enumerable:!0,get:()=>b.CovalentEmptyState});Object.defineProperty(exports,"CovalentIcon",{enumerable:!0,get:()=>C.CovalentIcon});Object.defineProperty(exports,"CovalentIconButton",{enumerable:!0,get:()=>s.CovalentIconButton});Object.defineProperty(exports,"CovalentIconCheckToggle",{enumerable:!0,get:()=>p.CovalentIconCheckToggle});Object.defineProperty(exports,"CovalentIconRadioToggle",{enumerable:!0,get:()=>v.CovalentIconRadioToggle});Object.defineProperty(exports,"CovalentLinearProgress",{enumerable:!0,get:()=>d.CovalentLinearProgress});Object.defineProperty(exports,"CovalentCheckListItem",{enumerable:!0,get:()=>q.CovalentCheckListItem});Object.defineProperty(exports,"CovalentList",{enumerable:!0,get:()=>g.CovalentList});Object.defineProperty(exports,"CovalentExpansionList",{enumerable:!0,get:()=>m.CovalentExpansionList});Object.defineProperty(exports,"CovalentListItem",{enumerable:!0,get:()=>y.CovalentListItem});Object.defineProperty(exports,"CovalentNavRailListItem",{enumerable:!0,get:()=>P.CovalentNavRailListItem});Object.defineProperty(exports,"CovalentRadioListItem",{enumerable:!0,get:()=>f.CovalentRadioListItem});Object.defineProperty(exports,"CovalentMenu",{enumerable:!0,get:()=>j.CovalentMenu});Object.defineProperty(exports,"CovalentRadio",{enumerable:!0,get:()=>O.CovalentRadio});Object.defineProperty(exports,"CovalentSelect",{enumerable:!0,get:()=>T.CovalentSelect});Object.defineProperty(exports,"CovalentSideSheet",{enumerable:!0,get:()=>S.CovalentSideSheet});Object.defineProperty(exports,"CovalentSlider",{enumerable:!0,get:()=>I.CovalentSlider});Object.defineProperty(exports,"CovalentSliderRange",{enumerable:!0,get:()=>L.CovalentSliderRange});Object.defineProperty(exports,"CovalentSnackbar",{enumerable:!0,get:()=>h.CovalentSnackbar});Object.defineProperty(exports,"CovalentStatusHeader",{enumerable:!0,get:()=>x.CovalentStatusHeader});Object.defineProperty(exports,"CovalentStatusHeaderItem",{enumerable:!0,get:()=>k.CovalentStatusHeaderItem});Object.defineProperty(exports,"CovalentSwitch",{enumerable:!0,get:()=>R.CovalentSwitch});Object.defineProperty(exports,"CovalentTab",{enumerable:!0,get:()=>A.CovalentTab});Object.defineProperty(exports,"CovalentTabBar",{enumerable:!0,get:()=>B.CovalentTabBar});Object.defineProperty(exports,"CovalentTextArea",{enumerable:!0,get:()=>w.CovalentTextArea});Object.defineProperty(exports,"CovalentTextField",{enumerable:!0,get:()=>H.CovalentTextField});Object.defineProperty(exports,"CovalentTextLockup",{enumerable:!0,get:()=>E.CovalentTextLockup});Object.defineProperty(exports,"CovalentToolbar",{enumerable:!0,get:()=>F.CovalentToolbar});Object.defineProperty(exports,"CovalentTooltip",{enumerable:!0,get:()=>D.CovalentTooltip});Object.defineProperty(exports,"CovalentTopAppBar",{enumerable:!0,get:()=>M.CovalentTopAppBar});Object.defineProperty(exports,"CovalentTopAppBarFixed",{enumerable:!0,get:()=>N.CovalentTopAppBarFixed});Object.defineProperty(exports,"CovalentTreeList",{enumerable:!0,get:()=>_.CovalentTreeList});Object.defineProperty(exports,"CovalentTreeListItem",{enumerable:!0,get:()=>z.CovalentTreeListItem});Object.defineProperty(exports,"CovalentTypography",{enumerable:!0,get:()=>G.CovalentTypography});
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./action-ribbon.js"),t=require("./alert.js"),r=require("./app-shell.js"),n=require("./button.js"),o=require("./checkbox.js"),a=require("./card.js"),i=require("./circular-progress.js"),u=require("./code-snippet.js"),l=require("./dialog-8ee07177.js"),c=require("./drawer.js"),b=require("./empty-state.js"),C=require("./icon.js"),s=require("./icon-button.js"),p=require("./icon-check-toggle.js"),v=require("./icon-radio-toggle.js"),d=require("./linear-progress.js"),q=require("./check-list-item.js"),g=require("./list-defdaa3b.js"),m=require("./list-expansion.js"),y=require("./list-item-e78d76c5.js"),P=require("./nav-list-item.js"),f=require("./radio-list-item.js"),j=require("./menu.js"),O=require("./radio.js"),T=require("./select.js"),S=require("./side-sheet.js"),I=require("./slider.js"),L=require("./slider-range.js"),h=require("./snackbar.js"),x=require("./status-header.js"),k=require("./status-header-item.js"),R=require("./switch.js"),A=require("./tab.js"),B=require("./tab-bar.js"),w=require("./textarea.js"),H=require("./textfield.js"),E=require("./text-lockup.js"),F=require("./toolbar.js"),D=require("./tooltip.js"),M=require("./top-app-bar.js"),N=require("./top-app-bar-fixed.js"),_=require("./tree-list.js"),z=require("./tree-list-item.js"),G=require("./typography.js");require("./query-assigned-elements-07e38f46.js");require("./utils-a8190a39.js");require("./observer-a096ab43.js");require("./foundation-3f55a9dc.js");require("./tslib.es6-6b53b818.js");require("./foundation-e830bd94.js");require("./class-map-50b8edb4.js");require("./property-074570d1.js");require("./query-2ba749b7.js");require("./mwc-drawer-base-f44fcf34.js");require("./inert.esm-2cee6f2e.js");require("./base-element-d5abe37a.js");require("./mwc-icon-b96fb867.js");require("./ripple-handlers-2176f137.js");require("./state-949232e6.js");require("./style-map-3056a771.js");require("./aria-property-849c8816.js");require("./event-options-7bc382d8.js");require("./if-defined-cb12d481.js");require("./mwc-checkbox-base-435c1f1d.js");require("./form-element-d4e7bcdb.js");require("./mwc-checkbox.css-956e3d6c.js");require("./query-assigned-nodes-9ec0fa5f.js");require("./mwc-radio-base-442d495a.js");require("./mwc-radio.css-388ad26d.js");require("./mwc-list-item-base-803b9771.js");require("./mwc-list-item.css-401e2407.js");require("./mwc-list-base-7d5f7278.js");require("./mwc-menu-base-ac49fe54.js");require("./mwc-line-ripple-directive-a97ce725.js");require("./mwc-slider.css-48f02f1e.js");require("./directive-helpers-fce8cf91.js");require("./mwc-tab-base-1a19b299.js");require("./textfield-507c6a06.js");require("./mwc-top-app-bar-base-14e0a018.js");require("./top-app-bar-34e85527.js");Object.defineProperty(exports,"CovalentActionRibbon",{enumerable:!0,get:()=>e.CovalentActionRibbon});Object.defineProperty(exports,"CovalentAlert",{enumerable:!0,get:()=>t.CovalentAlert});Object.defineProperty(exports,"CovalentAppShell",{enumerable:!0,get:()=>r.CovalentAppShell});Object.defineProperty(exports,"CovalentButton",{enumerable:!0,get:()=>n.CovalentButton});Object.defineProperty(exports,"CovalentCheckbox",{enumerable:!0,get:()=>o.CovalentCheckbox});Object.defineProperty(exports,"CovalentCard",{enumerable:!0,get:()=>a.CovalentCard});Object.defineProperty(exports,"CovalentCircularProgress",{enumerable:!0,get:()=>i.CovalentCircularProgress});Object.defineProperty(exports,"CovalentCodeSnippet",{enumerable:!0,get:()=>u.CovalentCodeSnippet});Object.defineProperty(exports,"CovalentDialog",{enumerable:!0,get:()=>l.CovalentDialog});Object.defineProperty(exports,"CovalentDrawer",{enumerable:!0,get:()=>c.CovalentDrawer});Object.defineProperty(exports,"CovalentEmptyState",{enumerable:!0,get:()=>b.CovalentEmptyState});Object.defineProperty(exports,"CovalentIcon",{enumerable:!0,get:()=>C.CovalentIcon});Object.defineProperty(exports,"CovalentIconButton",{enumerable:!0,get:()=>s.CovalentIconButton});Object.defineProperty(exports,"CovalentIconCheckToggle",{enumerable:!0,get:()=>p.CovalentIconCheckToggle});Object.defineProperty(exports,"CovalentIconRadioToggle",{enumerable:!0,get:()=>v.CovalentIconRadioToggle});Object.defineProperty(exports,"CovalentLinearProgress",{enumerable:!0,get:()=>d.CovalentLinearProgress});Object.defineProperty(exports,"CovalentCheckListItem",{enumerable:!0,get:()=>q.CovalentCheckListItem});Object.defineProperty(exports,"CovalentList",{enumerable:!0,get:()=>g.CovalentList});Object.defineProperty(exports,"CovalentExpansionList",{enumerable:!0,get:()=>m.CovalentExpansionList});Object.defineProperty(exports,"CovalentListItem",{enumerable:!0,get:()=>y.CovalentListItem});Object.defineProperty(exports,"CovalentNavRailListItem",{enumerable:!0,get:()=>P.CovalentNavRailListItem});Object.defineProperty(exports,"CovalentRadioListItem",{enumerable:!0,get:()=>f.CovalentRadioListItem});Object.defineProperty(exports,"CovalentMenu",{enumerable:!0,get:()=>j.CovalentMenu});Object.defineProperty(exports,"CovalentRadio",{enumerable:!0,get:()=>O.CovalentRadio});Object.defineProperty(exports,"CovalentSelect",{enumerable:!0,get:()=>T.CovalentSelect});Object.defineProperty(exports,"CovalentSideSheet",{enumerable:!0,get:()=>S.CovalentSideSheet});Object.defineProperty(exports,"CovalentSlider",{enumerable:!0,get:()=>I.CovalentSlider});Object.defineProperty(exports,"CovalentSliderRange",{enumerable:!0,get:()=>L.CovalentSliderRange});Object.defineProperty(exports,"CovalentSnackbar",{enumerable:!0,get:()=>h.CovalentSnackbar});Object.defineProperty(exports,"CovalentStatusHeader",{enumerable:!0,get:()=>x.CovalentStatusHeader});Object.defineProperty(exports,"CovalentStatusHeaderItem",{enumerable:!0,get:()=>k.CovalentStatusHeaderItem});Object.defineProperty(exports,"CovalentSwitch",{enumerable:!0,get:()=>R.CovalentSwitch});Object.defineProperty(exports,"CovalentTab",{enumerable:!0,get:()=>A.CovalentTab});Object.defineProperty(exports,"CovalentTabBar",{enumerable:!0,get:()=>B.CovalentTabBar});Object.defineProperty(exports,"CovalentTextArea",{enumerable:!0,get:()=>w.CovalentTextArea});Object.defineProperty(exports,"CovalentTextField",{enumerable:!0,get:()=>H.CovalentTextField});Object.defineProperty(exports,"CovalentTextLockup",{enumerable:!0,get:()=>E.CovalentTextLockup});Object.defineProperty(exports,"CovalentToolbar",{enumerable:!0,get:()=>F.CovalentToolbar});Object.defineProperty(exports,"CovalentTooltip",{enumerable:!0,get:()=>D.CovalentTooltip});Object.defineProperty(exports,"CovalentTopAppBar",{enumerable:!0,get:()=>M.CovalentTopAppBar});Object.defineProperty(exports,"CovalentTopAppBarFixed",{enumerable:!0,get:()=>N.CovalentTopAppBarFixed});Object.defineProperty(exports,"CovalentTreeList",{enumerable:!0,get:()=>_.CovalentTreeList});Object.defineProperty(exports,"CovalentTreeListItem",{enumerable:!0,get:()=>z.CovalentTreeListItem});Object.defineProperty(exports,"CovalentTypography",{enumerable:!0,get:()=>G.CovalentTypography});