@redvars/peacock 3.3.3 → 3.5.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 (280) hide show
  1. package/dist/IndividualComponent-DUINtMGK.js +67 -0
  2. package/dist/IndividualComponent-DUINtMGK.js.map +1 -0
  3. package/dist/assets/images/empty-state/no-document.svg +11 -12
  4. package/dist/assets/images/empty-state/page.svg +15 -9
  5. package/dist/assets/styles.css +1 -1
  6. package/dist/assets/styles.css.map +1 -1
  7. package/dist/banner.js +202 -0
  8. package/dist/banner.js.map +1 -0
  9. package/dist/bottom-sheet.js +238 -0
  10. package/dist/bottom-sheet.js.map +1 -0
  11. package/dist/{button-ClzS8JLq.js → button-DMN1dPAg.js} +358 -218
  12. package/dist/button-DMN1dPAg.js.map +1 -0
  13. package/dist/button-group-CX9CUUXk.js +435 -0
  14. package/dist/button-group-CX9CUUXk.js.map +1 -0
  15. package/dist/button-group.js +11 -6
  16. package/dist/button-group.js.map +1 -1
  17. package/dist/button.js +10 -5
  18. package/dist/button.js.map +1 -1
  19. package/dist/card-content.js +29 -0
  20. package/dist/card-content.js.map +1 -0
  21. package/dist/card.js +428 -44
  22. package/dist/card.js.map +1 -1
  23. package/dist/{chart-bar-DbnXQgvS.js → chart-bar-cn6rrna-.js} +2 -2
  24. package/dist/{chart-bar-DbnXQgvS.js.map → chart-bar-cn6rrna-.js.map} +1 -1
  25. package/dist/chart-bar.js +5 -4
  26. package/dist/chart-bar.js.map +1 -1
  27. package/dist/chart-doughnut.js +2 -1
  28. package/dist/chart-doughnut.js.map +1 -1
  29. package/dist/chart-pie.js +2 -1
  30. package/dist/chart-pie.js.map +1 -1
  31. package/dist/chart-stacked-bar.js +5 -4
  32. package/dist/chart-stacked-bar.js.map +1 -1
  33. package/dist/{class-map-59YGWLnx.js → class-map-YU7g0o3B.js} +4 -10
  34. package/dist/class-map-YU7g0o3B.js.map +1 -0
  35. package/dist/clock.js +2 -1
  36. package/dist/clock.js.map +1 -1
  37. package/dist/code-editor.js +8 -6
  38. package/dist/code-editor.js.map +1 -1
  39. package/dist/code-highlighter.js +6 -4
  40. package/dist/code-highlighter.js.map +1 -1
  41. package/dist/custom-elements-jsdocs.json +6270 -5026
  42. package/dist/custom-elements.json +5763 -2049
  43. package/dist/directive-ZPhl09Yt.js +9 -0
  44. package/dist/directive-ZPhl09Yt.js.map +1 -0
  45. package/dist/dispatch-event-utils-CuEqjlPT.js +127 -0
  46. package/dist/dispatch-event-utils-CuEqjlPT.js.map +1 -0
  47. package/dist/fab-C5Nzxk0E.js +497 -0
  48. package/dist/fab-C5Nzxk0E.js.map +1 -0
  49. package/dist/fab.js +11 -0
  50. package/dist/fab.js.map +1 -0
  51. package/dist/index.js +24 -12
  52. package/dist/index.js.map +1 -1
  53. package/dist/{observe-theme-change-pALI5fmV.js → is-dark-mode-DicqGkCJ.js} +8 -3
  54. package/dist/is-dark-mode-DicqGkCJ.js.map +1 -0
  55. package/dist/notification.js +417 -0
  56. package/dist/notification.js.map +1 -0
  57. package/dist/number-counter.js +4 -3
  58. package/dist/number-counter.js.map +1 -1
  59. package/dist/observe-slot-change-BGJfgg2E.js +31 -0
  60. package/dist/observe-slot-change-BGJfgg2E.js.map +1 -0
  61. package/dist/peacock-loader.js +59 -10
  62. package/dist/peacock-loader.js.map +1 -1
  63. package/dist/property-1psGvXOq.js +10 -0
  64. package/dist/property-1psGvXOq.js.map +1 -0
  65. package/dist/search.js +452 -0
  66. package/dist/search.js.map +1 -0
  67. package/dist/{radio-b70_Ie9n.js → select-4pl4XBj7.js} +2439 -521
  68. package/dist/select-4pl4XBj7.js.map +1 -0
  69. package/dist/side-sheet.js +186 -0
  70. package/dist/side-sheet.js.map +1 -0
  71. package/dist/spread-B5cgadZl.js +32 -0
  72. package/dist/spread-B5cgadZl.js.map +1 -0
  73. package/dist/src/__base_element/BaseHyperlink.d.ts +20 -0
  74. package/dist/src/__utils/cache-fetch.d.ts +1 -0
  75. package/dist/src/__utils/is-dark-mode.d.ts +1 -0
  76. package/dist/src/__utils/is-in-viewport.d.ts +1 -0
  77. package/dist/src/__utils/observe-slot-change.d.ts +1 -0
  78. package/dist/src/__utils/sanitize-svg.d.ts +1 -0
  79. package/dist/src/__utils/throttle.d.ts +4 -0
  80. package/dist/src/accordion/accordion-item.d.ts +33 -9
  81. package/dist/src/accordion/accordion.d.ts +21 -5
  82. package/dist/src/banner/banner.d.ts +47 -0
  83. package/dist/src/banner/index.d.ts +1 -0
  84. package/dist/src/bottom-sheet/bottom-sheet.d.ts +42 -0
  85. package/dist/src/bottom-sheet/index.d.ts +1 -0
  86. package/dist/src/button/BaseButton.d.ts +7 -13
  87. package/dist/src/button/button/button.d.ts +4 -0
  88. package/dist/src/button/button-group/button-group.d.ts +32 -3
  89. package/dist/src/button/icon-button/icon-button.d.ts +4 -0
  90. package/dist/src/card/card-content.d.ts +15 -0
  91. package/dist/src/card/card.d.ts +37 -3
  92. package/dist/src/card/index.d.ts +1 -0
  93. package/dist/src/container/container.d.ts +1 -1
  94. package/dist/src/empty-state/empty-state.d.ts +1 -1
  95. package/dist/src/fab/fab.d.ts +111 -0
  96. package/dist/src/fab/index.d.ts +1 -0
  97. package/dist/src/focus-ring/focus-ring.d.ts +4 -1
  98. package/dist/src/index.d.ts +11 -1
  99. package/dist/src/link/link.d.ts +3 -10
  100. package/dist/src/menu/menu/menu.d.ts +4 -2
  101. package/dist/src/menu/menu-item/menu-item.d.ts +0 -1
  102. package/dist/src/menu/sub-menu/sub-menu.d.ts +1 -0
  103. package/dist/src/notification/index.d.ts +1 -0
  104. package/dist/src/notification/notification.d.ts +69 -0
  105. package/dist/src/pagination/pagination.d.ts +8 -1
  106. package/dist/src/ripple/ripple.d.ts +19 -3
  107. package/dist/src/search/index.d.ts +1 -0
  108. package/dist/src/search/search.d.ts +76 -0
  109. package/dist/src/segmented-button/index.d.ts +2 -0
  110. package/dist/src/segmented-button/segmented-button-group.d.ts +46 -0
  111. package/dist/src/segmented-button/segmented-button.d.ts +65 -0
  112. package/dist/src/select/index.d.ts +3 -0
  113. package/dist/src/select/option.d.ts +55 -0
  114. package/dist/src/select/select.d.ts +114 -0
  115. package/dist/src/side-sheet/index.d.ts +1 -0
  116. package/dist/src/side-sheet/side-sheet.d.ts +41 -0
  117. package/dist/src/slider/slider.d.ts +4 -0
  118. package/dist/src/snackbar/snackbar.d.ts +14 -1
  119. package/dist/src/tabs/tab-group.d.ts +0 -1
  120. package/dist/src/tabs/tab.d.ts +8 -2
  121. package/dist/src/tabs/tabs.d.ts +13 -1
  122. package/dist/src/toolbar/index.d.ts +1 -0
  123. package/dist/src/toolbar/toolbar.d.ts +86 -0
  124. package/dist/state-DwbEjqVk.js +10 -0
  125. package/dist/state-DwbEjqVk.js.map +1 -0
  126. package/dist/{style-map-DcB52w-l.js → style-map-DVmWOuYy.js} +3 -3
  127. package/dist/{style-map-DcB52w-l.js.map → style-map-DVmWOuYy.js.map} +1 -1
  128. package/dist/test/search.test.d.ts +1 -0
  129. package/dist/test/toolbar.test.d.ts +1 -0
  130. package/dist/throttle-C7ZAPqtu.js +24 -0
  131. package/dist/throttle-C7ZAPqtu.js.map +1 -0
  132. package/dist/toolbar.js +306 -0
  133. package/dist/toolbar.js.map +1 -0
  134. package/dist/tsconfig.tsbuildinfo +1 -1
  135. package/dist/{unsafe-html-C2r3PyzF.js → unsafe-html-BsGUjx94.js} +3 -3
  136. package/dist/{unsafe-html-C2r3PyzF.js.map → unsafe-html-BsGUjx94.js.map} +1 -1
  137. package/package.json +1 -1
  138. package/readme.md +2 -2
  139. package/scss/styles.scss +4 -0
  140. package/src/__base_element/BaseHyperlink.ts +42 -0
  141. package/src/__base_element/README.md +19 -0
  142. package/src/__utils/cache-fetch.ts +65 -0
  143. package/src/{utils → __utils}/dispatch-event-utils.ts +1 -0
  144. package/src/__utils/is-dark-mode.ts +3 -0
  145. package/src/__utils/is-in-viewport.ts +6 -0
  146. package/src/__utils/observe-slot-change.ts +38 -0
  147. package/src/__utils/sanitize-svg.ts +27 -0
  148. package/src/__utils/throttle.ts +27 -0
  149. package/src/accordion/accordion-item.scss +136 -65
  150. package/src/accordion/accordion-item.ts +117 -44
  151. package/src/accordion/accordion.scss +24 -5
  152. package/src/accordion/accordion.ts +29 -23
  153. package/src/accordion/demo/index.html +74 -35
  154. package/src/banner/banner.scss +87 -0
  155. package/src/banner/banner.ts +107 -0
  156. package/src/banner/index.ts +1 -0
  157. package/src/bottom-sheet/bottom-sheet.scss +88 -0
  158. package/src/bottom-sheet/bottom-sheet.ts +135 -0
  159. package/src/bottom-sheet/index.ts +1 -0
  160. package/src/button/BaseButton.ts +26 -30
  161. package/src/button/button/button-colors.scss +90 -19
  162. package/src/button/button/button-sizes.scss +39 -19
  163. package/src/button/button/button.scss +117 -116
  164. package/src/button/button/button.ts +29 -6
  165. package/src/button/button-group/button-group.scss +25 -22
  166. package/src/button/button-group/button-group.ts +122 -5
  167. package/src/button/icon-button/icon-button-sizes.scss +35 -15
  168. package/src/button/icon-button/icon-button.ts +25 -12
  169. package/src/card/card-colors.scss +10 -0
  170. package/src/card/card-content.ts +26 -0
  171. package/src/card/card.scss +221 -41
  172. package/src/card/card.ts +251 -8
  173. package/src/card/index.ts +1 -0
  174. package/src/chart-bar/chart-bar.ts +1 -1
  175. package/src/chart-bar/chart-stacked-bar.ts +3 -1
  176. package/src/chart-doughnut/chart-doughnut.ts +1 -1
  177. package/src/chart-pie/chart-pie.ts +1 -1
  178. package/src/checkbox/checkbox.ts +1 -1
  179. package/src/clock/clock.ts +1 -1
  180. package/src/code-editor/code-editor.ts +5 -5
  181. package/src/code-highlighter/code-highlighter.ts +2 -2
  182. package/src/container/container.ts +1 -1
  183. package/src/date-picker/date-picker.ts +5 -2
  184. package/src/divider/divider.ts +3 -1
  185. package/src/empty-state/empty-state.scss +9 -3
  186. package/src/empty-state/empty-state.ts +2 -2
  187. package/src/fab/fab-colors.scss +49 -0
  188. package/src/fab/fab-sizes.scss +47 -0
  189. package/src/fab/fab.scss +137 -0
  190. package/src/fab/fab.ts +285 -0
  191. package/src/fab/index.ts +1 -0
  192. package/src/field/field.ts +3 -1
  193. package/src/focus-ring/focus-ring.ts +37 -19
  194. package/src/icon/datasource.ts +1 -1
  195. package/src/icon/icon.ts +3 -1
  196. package/src/image/image.ts +3 -2
  197. package/src/index.ts +12 -1
  198. package/src/input/input.ts +5 -2
  199. package/src/link/link.ts +2 -15
  200. package/src/menu/menu/menu.scss +31 -3
  201. package/src/menu/menu/menu.ts +30 -6
  202. package/src/menu/menu-item/menu-item.scss +1 -0
  203. package/src/menu/menu-item/menu-item.ts +1 -9
  204. package/src/menu/sub-menu/sub-menu.ts +1 -0
  205. package/src/notification/index.ts +1 -0
  206. package/src/notification/notification.scss +201 -0
  207. package/src/notification/notification.ts +206 -0
  208. package/src/number-counter/number-counter.ts +3 -1
  209. package/src/number-field/number-field.ts +4 -2
  210. package/src/pagination/pagination.scss +33 -24
  211. package/src/pagination/pagination.ts +113 -60
  212. package/src/peacock-loader.ts +48 -0
  213. package/src/radio/radio.ts +3 -1
  214. package/src/ripple/ripple.ts +19 -3
  215. package/src/search/index.ts +1 -0
  216. package/src/search/search-colors.scss +14 -0
  217. package/src/search/search.scss +204 -0
  218. package/src/search/search.ts +240 -0
  219. package/src/segmented-button/index.ts +2 -0
  220. package/src/segmented-button/segmented-button-group.scss +21 -0
  221. package/src/segmented-button/segmented-button-group.ts +110 -0
  222. package/src/segmented-button/segmented-button.scss +115 -0
  223. package/src/segmented-button/segmented-button.ts +175 -0
  224. package/src/select/index.ts +3 -0
  225. package/src/select/option.ts +109 -0
  226. package/src/select/select.scss +125 -0
  227. package/src/select/select.ts +520 -0
  228. package/src/side-sheet/index.ts +1 -0
  229. package/src/side-sheet/side-sheet.scss +79 -0
  230. package/src/side-sheet/side-sheet.ts +100 -0
  231. package/src/slider/slider.scss +19 -1
  232. package/src/slider/slider.ts +30 -19
  233. package/src/snackbar/snackbar.scss +62 -31
  234. package/src/snackbar/snackbar.ts +92 -12
  235. package/src/switch/switch.ts +3 -1
  236. package/src/table/table.ts +3 -1
  237. package/src/tabs/demo/index.html +90 -0
  238. package/src/tabs/tab-group.ts +0 -3
  239. package/src/tabs/tab.scss +237 -25
  240. package/src/tabs/tab.ts +91 -14
  241. package/src/tabs/tabs.scss +37 -3
  242. package/src/tabs/tabs.ts +118 -2
  243. package/src/textarea/textarea.ts +4 -2
  244. package/src/time-picker/time-picker.ts +4 -2
  245. package/src/toolbar/index.ts +1 -0
  246. package/src/toolbar/toolbar-colors.scss +16 -0
  247. package/src/toolbar/toolbar.scss +165 -0
  248. package/src/toolbar/toolbar.ts +137 -0
  249. package/dist/IndividualComponent-Dt5xirYG.js +0 -73
  250. package/dist/IndividualComponent-Dt5xirYG.js.map +0 -1
  251. package/dist/button-ClzS8JLq.js.map +0 -1
  252. package/dist/button-group-BMS5WvaF.js +0 -292
  253. package/dist/button-group-BMS5WvaF.js.map +0 -1
  254. package/dist/chart-donut.js +0 -309
  255. package/dist/chart-donut.js.map +0 -1
  256. package/dist/class-map-59YGWLnx.js.map +0 -1
  257. package/dist/directive-Cuw6h7YA.js +0 -9
  258. package/dist/directive-Cuw6h7YA.js.map +0 -1
  259. package/dist/dispatch-event-utils-B4odODQf.js +0 -277
  260. package/dist/dispatch-event-utils-B4odODQf.js.map +0 -1
  261. package/dist/observe-theme-change-pALI5fmV.js.map +0 -1
  262. package/dist/radio-b70_Ie9n.js.map +0 -1
  263. package/dist/src/chart-donut/chart-donut.d.ts +0 -53
  264. package/dist/src/chart-donut/index.d.ts +0 -1
  265. package/dist/src/styleMixins.css.d.ts +0 -9
  266. package/dist/src/utils.d.ts +0 -9
  267. package/src/chart-donut/chart-donut.scss +0 -37
  268. package/src/chart-donut/chart-donut.ts +0 -287
  269. package/src/chart-donut/demo/index.html +0 -51
  270. package/src/chart-donut/index.ts +0 -1
  271. package/src/styleMixins.css.ts +0 -55
  272. package/src/utils.ts +0 -193
  273. /package/dist/src/{spread.d.ts → __directive/spread.d.ts} +0 -0
  274. /package/dist/src/{utils → __utils}/copy-to-clipboard.d.ts +0 -0
  275. /package/dist/src/{utils → __utils}/dispatch-event-utils.d.ts +0 -0
  276. /package/dist/src/{utils → __utils}/observe-theme-change.d.ts +0 -0
  277. /package/dist/test/{card.test.d.ts → banner.test.d.ts} +0 -0
  278. /package/src/{spread.ts → __directive/spread.ts} +0 -0
  279. /package/src/{utils → __utils}/copy-to-clipboard.ts +0 -0
  280. /package/src/{utils → __utils}/observe-theme-change.ts +0 -0
@@ -0,0 +1,186 @@
1
+ import { a as i, _ as __decorate, I as IndividualComponent, i as i$1, A, b } from './IndividualComponent-DUINtMGK.js';
2
+ import { n } from './property-1psGvXOq.js';
3
+ import { e } from './class-map-YU7g0o3B.js';
4
+ import './directive-ZPhl09Yt.js';
5
+
6
+ var css_248z = i`* {
7
+ box-sizing: border-box;
8
+ }
9
+
10
+ .screen-reader-only {
11
+ display: none !important;
12
+ }
13
+
14
+ :host {
15
+ display: contents;
16
+ --side-sheet-container-color: var(--color-surface-container-low, #f7f2fa);
17
+ --side-sheet-scrim-color: rgba(0, 0, 0, 0.32);
18
+ --side-sheet-shape: var(--shape-corner-extra-large, 28px);
19
+ --side-sheet-width: 360px;
20
+ --side-sheet-transition-duration: var(--duration-medium2, 300ms);
21
+ --side-sheet-transition-easing: var(--easing-standard, cubic-bezier(0.2, 0, 0, 1));
22
+ }
23
+
24
+ .scrim {
25
+ inset: 0;
26
+ position: fixed;
27
+ background-color: var(--side-sheet-scrim-color);
28
+ opacity: 0;
29
+ pointer-events: none;
30
+ transition: opacity var(--side-sheet-transition-duration) var(--side-sheet-transition-easing);
31
+ z-index: 1000;
32
+ }
33
+
34
+ .scrim.visible {
35
+ opacity: 1;
36
+ pointer-events: auto;
37
+ }
38
+
39
+ .sheet {
40
+ background-color: var(--side-sheet-container-color);
41
+ bottom: 0;
42
+ display: flex;
43
+ flex-direction: column;
44
+ max-width: 100%;
45
+ overflow: hidden;
46
+ position: fixed;
47
+ top: 0;
48
+ transition: transform var(--side-sheet-transition-duration) var(--side-sheet-transition-easing);
49
+ width: var(--side-sheet-width);
50
+ will-change: transform;
51
+ z-index: 1001;
52
+ }
53
+
54
+ .sheet.variant-standard {
55
+ position: relative;
56
+ z-index: 1;
57
+ }
58
+
59
+ /* Position: right */
60
+ .sheet.position-right {
61
+ border-radius: var(--side-sheet-shape) 0 0 var(--side-sheet-shape);
62
+ right: 0;
63
+ transform: translateX(100%);
64
+ }
65
+
66
+ .sheet.position-right.open {
67
+ transform: translateX(0);
68
+ }
69
+
70
+ /* Position: left */
71
+ .sheet.position-left {
72
+ border-radius: 0 var(--side-sheet-shape) var(--side-sheet-shape) 0;
73
+ left: 0;
74
+ transform: translateX(-100%);
75
+ }
76
+
77
+ .sheet.position-left.open {
78
+ transform: translateX(0);
79
+ }
80
+
81
+ .content {
82
+ flex: 1 1 auto;
83
+ overflow-y: auto;
84
+ padding: var(--spacing-300, 1.5rem);
85
+ }`;
86
+
87
+ /**
88
+ * @label Side Sheet
89
+ * @tag wc-side-sheet
90
+ * @rawTag side-sheet
91
+ * @summary Side sheets slide in from the edge of the screen to reveal supplemental content. Supports standard and modal variants per Material Design 3.
92
+ *
93
+ * @cssprop --side-sheet-container-color - Background color of the sheet container.
94
+ * @cssprop --side-sheet-scrim-color - Color of the modal scrim overlay.
95
+ * @cssprop --side-sheet-shape - Corner radius of the leading edge.
96
+ * @cssprop --side-sheet-width - Width of the side sheet.
97
+ *
98
+ * @example
99
+ * ```html
100
+ * Side Sheet
101
+
102
+ * ```
103
+ * @tags navigation, overlay
104
+ */
105
+ let SideSheet = class SideSheet extends i$1 {
106
+ constructor() {
107
+ super(...arguments);
108
+ /** Whether the sheet is visible. */
109
+ this.open = false;
110
+ /**
111
+ * Sheet variant.
112
+ * - `"standard"`: Coexists with page content; no scrim.
113
+ * - `"modal"`: Overlays page content with a scrim backdrop.
114
+ */
115
+ this.variant = 'modal';
116
+ /**
117
+ * Side from which the sheet slides in.
118
+ * - `"left"`: Sheet opens from the left edge.
119
+ * - `"right"`: Sheet opens from the right edge.
120
+ */
121
+ this.position = 'right';
122
+ }
123
+ show() {
124
+ this.open = true;
125
+ }
126
+ hide() {
127
+ this._close('programmatic');
128
+ }
129
+ _close(reason) {
130
+ if (!this.open)
131
+ return;
132
+ this.open = false;
133
+ this.dispatchEvent(new CustomEvent('side-sheet-close', {
134
+ detail: { reason },
135
+ bubbles: true,
136
+ composed: true,
137
+ }));
138
+ }
139
+ _handleScrimClick() {
140
+ if (this.variant === 'modal') {
141
+ this._close('scrim');
142
+ }
143
+ }
144
+ render() {
145
+ return b `
146
+ ${this.variant === 'modal'
147
+ ? b `<div
148
+ class=${e({ scrim: true, visible: this.open })}
149
+ @click=${this._handleScrimClick}
150
+ ></div>`
151
+ : A}
152
+
153
+ <div
154
+ class=${e({
155
+ sheet: true,
156
+ open: this.open,
157
+ [`variant-${this.variant}`]: true,
158
+ [`position-${this.position}`]: true,
159
+ })}
160
+ role="dialog"
161
+ aria-modal=${this.variant === 'modal' ? 'true' : 'false'}
162
+ aria-hidden=${!this.open ? 'true' : 'false'}
163
+ >
164
+ <div class="content">
165
+ <slot></slot>
166
+ </div>
167
+ </div>
168
+ `;
169
+ }
170
+ };
171
+ SideSheet.styles = [css_248z];
172
+ __decorate([
173
+ n({ type: Boolean, reflect: true })
174
+ ], SideSheet.prototype, "open", void 0);
175
+ __decorate([
176
+ n({ type: String, reflect: true })
177
+ ], SideSheet.prototype, "variant", void 0);
178
+ __decorate([
179
+ n({ type: String, reflect: true })
180
+ ], SideSheet.prototype, "position", void 0);
181
+ SideSheet = __decorate([
182
+ IndividualComponent
183
+ ], SideSheet);
184
+
185
+ export { SideSheet };
186
+ //# sourceMappingURL=side-sheet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"side-sheet.js","sources":["../../src/side-sheet/side-sheet.ts"],"sourcesContent":["import { LitElement, html, nothing } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport IndividualComponent from '../IndividualComponent.js';\nimport styles from './side-sheet.scss';\n\n/**\n * @label Side Sheet\n * @tag wc-side-sheet\n * @rawTag side-sheet\n * @summary Side sheets slide in from the edge of the screen to reveal supplemental content. Supports standard and modal variants per Material Design 3.\n *\n * @cssprop --side-sheet-container-color - Background color of the sheet container.\n * @cssprop --side-sheet-scrim-color - Color of the modal scrim overlay.\n * @cssprop --side-sheet-shape - Corner radius of the leading edge.\n * @cssprop --side-sheet-width - Width of the side sheet.\n *\n * @example\n * ```html\n * Side Sheet\n\n * ```\n * @tags navigation, overlay\n */\n@IndividualComponent\nexport class SideSheet extends LitElement {\n static styles = [styles];\n\n /** Whether the sheet is visible. */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /**\n * Sheet variant.\n * - `\"standard\"`: Coexists with page content; no scrim.\n * - `\"modal\"`: Overlays page content with a scrim backdrop.\n */\n @property({ type: String, reflect: true }) variant: 'standard' | 'modal' =\n 'modal';\n\n /**\n * Side from which the sheet slides in.\n * - `\"left\"`: Sheet opens from the left edge.\n * - `\"right\"`: Sheet opens from the right edge.\n */\n @property({ type: String, reflect: true }) position: 'left' | 'right' =\n 'right';\n\n show() {\n this.open = true;\n }\n\n hide() {\n this._close('programmatic');\n }\n\n private _close(reason: string) {\n if (!this.open) return;\n this.open = false;\n this.dispatchEvent(\n new CustomEvent('side-sheet-close', {\n detail: { reason },\n bubbles: true,\n composed: true,\n }),\n );\n }\n\n private _handleScrimClick() {\n if (this.variant === 'modal') {\n this._close('scrim');\n }\n }\n\n render() {\n return html`\n ${this.variant === 'modal'\n ? html`<div\n class=${classMap({ scrim: true, visible: this.open })}\n @click=${this._handleScrimClick}\n ></div>`\n : nothing}\n\n <div\n class=${classMap({\n sheet: true,\n open: this.open,\n [`variant-${this.variant}`]: true,\n [`position-${this.position}`]: true,\n })}\n role=\"dialog\"\n aria-modal=${this.variant === 'modal' ? 'true' : 'false'}\n aria-hidden=${!this.open ? 'true' : 'false'}\n >\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `;\n }\n}\n"],"names":["LitElement","html","classMap","nothing","styles","property"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA;;;;;;;;;;;;;;;;;AAiBG;AAEI,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQA,GAAU,CAAA;AAAlC,IAAA,WAAA,GAAA;;;QAIuC,IAAA,CAAA,IAAI,GAAG,KAAK;AAExD;;;;AAIG;QACwC,IAAA,CAAA,OAAO,GAChD,OAAO;AAET;;;;AAIG;QACwC,IAAA,CAAA,QAAQ,GACjD,OAAO;IAsDX;IApDE,IAAI,GAAA;AACF,QAAA,IAAI,CAAC,IAAI,GAAG,IAAI;IAClB;IAEA,IAAI,GAAA;AACF,QAAA,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC;IAC7B;AAEQ,IAAA,MAAM,CAAC,MAAc,EAAA;QAC3B,IAAI,CAAC,IAAI,CAAC,IAAI;YAAE;AAChB,QAAA,IAAI,CAAC,IAAI,GAAG,KAAK;AACjB,QAAA,IAAI,CAAC,aAAa,CAChB,IAAI,WAAW,CAAC,kBAAkB,EAAE;YAClC,MAAM,EAAE,EAAE,MAAM,EAAE;AAClB,YAAA,OAAO,EAAE,IAAI;AACb,YAAA,QAAQ,EAAE,IAAI;AACf,SAAA,CAAC,CACH;IACH;IAEQ,iBAAiB,GAAA;AACvB,QAAA,IAAI,IAAI,CAAC,OAAO,KAAK,OAAO,EAAE;AAC5B,YAAA,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;QACtB;IACF;IAEA,MAAM,GAAA;AACJ,QAAA,OAAOC,CAAI,CAAA;QACP,IAAI,CAAC,OAAO,KAAK;cACfA,CAAI,CAAA,CAAA;AACM,kBAAA,EAAAC,CAAQ,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;AAC5C,mBAAA,EAAA,IAAI,CAAC,iBAAiB;AACzB,iBAAA;AACV,cAAEC,CAAO;;;AAGD,cAAA,EAAAD,CAAQ,CAAC;AACf,YAAA,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,IAAI,CAAC,IAAI;AACf,YAAA,CAAC,WAAW,IAAI,CAAC,OAAO,CAAA,CAAE,GAAG,IAAI;AACjC,YAAA,CAAC,YAAY,IAAI,CAAC,QAAQ,CAAA,CAAE,GAAG,IAAI;SACpC,CAAC;;qBAEW,IAAI,CAAC,OAAO,KAAK,OAAO,GAAG,MAAM,GAAG,OAAO;sBAC1C,CAAC,IAAI,CAAC,IAAI,GAAG,MAAM,GAAG,OAAO;;;;;;KAM9C;IACH;;AAxEO,SAAA,CAAA,MAAM,GAAG,CAACE,QAAM,CAAC;AAGoB,UAAA,CAAA;IAA3CC,CAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE;AAAe,CAAA,EAAA,SAAA,CAAA,SAAA,EAAA,MAAA,EAAA,MAAA,CAAA;AAOd,UAAA,CAAA;IAA1CA,CAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE;AAC/B,CAAA,EAAA,SAAA,CAAA,SAAA,EAAA,SAAA,EAAA,MAAA,CAAA;AAOiC,UAAA,CAAA;IAA1CA,CAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE;AAC/B,CAAA,EAAA,SAAA,CAAA,SAAA,EAAA,UAAA,EAAA,MAAA,CAAA;AApBC,SAAS,GAAA,UAAA,CAAA;IADrB;AACY,CAAA,EAAA,SAAS,CA0ErB;;;;"}
@@ -0,0 +1,32 @@
1
+ import { e, i, t } from './directive-ZPhl09Yt.js';
2
+
3
+ class SpreadDirective extends i {
4
+ constructor(partInfo) {
5
+ super(partInfo);
6
+ if (partInfo.type !== t.ELEMENT) {
7
+ throw new Error('spread() can only be used on elements');
8
+ }
9
+ }
10
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
11
+ render(_props) {
12
+ return '';
13
+ }
14
+ update(part, [props]) {
15
+ if (!props)
16
+ return;
17
+ // eslint-disable-next-line guard-for-in,no-restricted-syntax
18
+ for (const key in props) {
19
+ const value = props[key];
20
+ if (value === undefined || value === null) {
21
+ part.element.removeAttribute(key);
22
+ }
23
+ else {
24
+ part.element.setAttribute(key, value);
25
+ }
26
+ }
27
+ }
28
+ }
29
+ const spread = e(SpreadDirective);
30
+
31
+ export { spread as s };
32
+ //# sourceMappingURL=spread-B5cgadZl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spread-B5cgadZl.js","sources":["../../src/__directive/spread.ts"],"sourcesContent":["import {\n directive,\n Directive,\n ElementPart,\n PartInfo,\n PartType,\n} from 'lit/directive.js';\n\nclass SpreadDirective extends Directive {\n constructor(partInfo: PartInfo) {\n super(partInfo);\n if (partInfo.type !== PartType.ELEMENT) {\n throw new Error('spread() can only be used on elements');\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n render(_props: { [key: string]: any } | undefined) {\n return '';\n }\n\n update(part: ElementPart, [props]: [{ [key: string]: any } | undefined]) {\n if (!props) return;\n // eslint-disable-next-line guard-for-in,no-restricted-syntax\n for (const key in props) {\n const value = props[key];\n if (value === undefined || value === null) {\n part.element.removeAttribute(key);\n } else {\n part.element.setAttribute(key, value);\n }\n }\n }\n}\n\nexport const spread = directive(SpreadDirective);\n"],"names":["Directive","PartType","directive"],"mappings":";;AAQA,MAAM,eAAgB,SAAQA,CAAS,CAAA;AACrC,IAAA,WAAA,CAAY,QAAkB,EAAA;QAC5B,KAAK,CAAC,QAAQ,CAAC;QACf,IAAI,QAAQ,CAAC,IAAI,KAAKC,CAAQ,CAAC,OAAO,EAAE;AACtC,YAAA,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC;QAC1D;IACF;;AAGA,IAAA,MAAM,CAAC,MAA0C,EAAA;AAC/C,QAAA,OAAO,EAAE;IACX;AAEA,IAAA,MAAM,CAAC,IAAiB,EAAE,CAAC,KAAK,CAAuC,EAAA;AACrE,QAAA,IAAI,CAAC,KAAK;YAAE;;AAEZ,QAAA,KAAK,MAAM,GAAG,IAAI,KAAK,EAAE;AACvB,YAAA,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC;YACxB,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,EAAE;AACzC,gBAAA,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,GAAG,CAAC;YACnC;iBAAO;gBACL,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC;YACvC;QACF;IACF;AACD;MAEY,MAAM,GAAGC,CAAS,CAAC,eAAe;;;;"}
@@ -0,0 +1,20 @@
1
+ import { LitElement } from 'lit';
2
+ type Constructor<T = {}> = new (...args: any[]) => T;
3
+ /**
4
+ * 1. Define an interface for the members the mixin adds.
5
+ * This makes the type annotation much cleaner.
6
+ */
7
+ export interface BaseHyperlinkInterface {
8
+ href?: string;
9
+ target: '_self' | '_parent' | '_blank' | '_top' | string;
10
+ __isLink(): boolean;
11
+ }
12
+ /**
13
+ * 2. Define the Mixin type separately for readability.
14
+ */
15
+ type BaseHyperlinkMixinType = <T extends Constructor<LitElement>>(superclass: T) => T & Constructor<BaseHyperlinkInterface>;
16
+ /**
17
+ * 3. Apply the type annotation to the variable.
18
+ */
19
+ declare const BaseHyperlink: BaseHyperlinkMixinType;
20
+ export default BaseHyperlink;
@@ -0,0 +1 @@
1
+ export declare function createCacheFetch(name: string): Promise<(url: string) => Promise<string>>;
@@ -0,0 +1 @@
1
+ export declare function isDarkMode(): boolean;
@@ -0,0 +1 @@
1
+ export declare function isInViewport(element: HTMLElement): boolean;
@@ -0,0 +1 @@
1
+ export declare function observerSlotChangesWithCallback(slot: HTMLSlotElement | null, callback: (hasContent: boolean) => void): void;
@@ -0,0 +1 @@
1
+ export declare function sanitizeSvg(rawSvg: string): string;
@@ -0,0 +1,4 @@
1
+ export declare function throttle(func: Function, delay: number, options?: {
2
+ leading: boolean;
3
+ trailing: boolean;
4
+ }): (...args: any[]) => void;
@@ -3,13 +3,27 @@ import { LitElement } from 'lit';
3
3
  * @label Accordion Item
4
4
  * @tag wc-accordion-item
5
5
  * @rawTag accordion-item
6
- * @summary An accordion item is single item in an accordion list. It contains a header and a content section that can be expanded or collapsed by the user.
6
+ * @summary An expansion panel with a header that reveals or hides associated content. Follows Material Design 3 expansion panel guidelines.
7
7
  * @parentRawTag accordion
8
8
  *
9
+ * @slot - The body content revealed when the panel is expanded.
10
+ * @slot heading - The panel title. Renders as `body-large` text.
11
+ * @slot description - Optional subtitle rendered below the title. Renders as `body-small` text.
12
+ * @slot header-actions - Actions (e.g. icon buttons) placed at the trailing end of the header, before the toggle icon.
13
+ *
14
+ * @part header - The header `<button>` element.
15
+ * @part title - The title text container.
16
+ * @part description - The description text container.
17
+ * @part content - The expandable content region wrapper.
18
+ *
19
+ * @fires {CustomEvent<{ open: boolean }>} accordion-item:toggle - Fired when the panel is expanded or collapsed.
20
+ *
9
21
  * @example
10
22
  * ```html
11
23
  * <wc-accordion-item>
12
- * Testing
24
+ * <span slot="heading">Personal information</span>
25
+ * <span slot="description">Fill in your details</span>
26
+ * <p>Content goes here.</p>
13
27
  * </wc-accordion-item>
14
28
  * ```
15
29
  * @tags display
@@ -18,20 +32,30 @@ export declare class AccordionItem extends LitElement {
18
32
  #private;
19
33
  static styles: import("lit").CSSResultGroup[];
20
34
  /**
21
- * The menu item value.
22
- */
23
- heading: string;
24
- /**
25
- * If true, the user cannot interact with the button. Defaults to `false`.
35
+ * Whether the user cannot interact with the panel.
26
36
  */
27
37
  disabled: boolean;
28
38
  /**
29
- * Menu item selection state.
39
+ * Whether the panel is expanded.
30
40
  */
31
41
  open: boolean;
42
+ /**
43
+ * Whether to hide the expand/collapse toggle indicator icon.
44
+ */
45
+ hideToggle: boolean;
46
+ /**
47
+ * Position of the toggle icon relative to the panel title.
48
+ * `'after'` places it at the trailing end (default, matches M3).
49
+ * `'before'` places it at the leading start.
50
+ */
51
+ togglePosition: 'before' | 'after';
52
+ private _hasDescriptionSlot;
53
+ private _hasHeadingSlot;
32
54
  private readonly buttonElement;
33
55
  focus(): void;
34
56
  blur(): void;
35
- private __handleToggle;
57
+ private _handleToggle;
58
+ private static _onSlotChange;
59
+ private _renderToggleIcon;
36
60
  render(): import("lit-html").TemplateResult<1>;
37
61
  }
@@ -4,21 +4,37 @@ import { AccordionItem } from './accordion-item.js';
4
4
  * @label Accordion
5
5
  * @tag wc-accordion
6
6
  * @rawTag accordion
7
- * @summary An accordion is a vertically stacked list of headers that reveal or hide associated sections of content.
7
+ * @summary A vertically stacked set of expansion panels. Follows Material Design 3 expansion panel guidelines.
8
8
  *
9
9
  * @example
10
10
  * ```html
11
11
  * <wc-accordion>
12
- * <wc-accordion-item heading="Accordion">
13
- * Content
14
- * </wc-accordion-item>
12
+ * <wc-accordion-item>
13
+ * <span slot="heading">Panel 1</span>
14
+ * <span slot="description">Summary text</span>
15
+ * Content
16
+ * </wc-accordion-item>
17
+ * <wc-accordion-item>
18
+ * <span slot="heading">Panel 2</span>
19
+ * Content
20
+ * </wc-accordion-item>
15
21
  * </wc-accordion>
16
22
  * ```
17
23
  * @tags display
18
24
  */
19
25
  export declare class Accordion extends LitElement {
20
26
  static styles: import("lit").CSSResultGroup[];
21
- allowMultiple: boolean;
27
+ /**
28
+ * Whether multiple panels can be expanded simultaneously.
29
+ * When `false` (default), expanding one panel collapses all others.
30
+ */
31
+ multi: boolean;
32
+ /**
33
+ * Display mode for the accordion.
34
+ * `'default'` renders panels with a subtle background on expand and dividers between items.
35
+ * `'flat'` renders panels without borders or background changes — suitable for use inside cards.
36
+ */
37
+ displayMode: 'default' | 'flat';
22
38
  items: Array<AccordionItem>;
23
39
  connectedCallback(): void;
24
40
  disconnectedCallback(): void;
@@ -0,0 +1,47 @@
1
+ import { LitElement } from 'lit';
2
+ type BannerVariant = 'note' | 'info' | 'success' | 'warning' | 'error';
3
+ /**
4
+ * @label Banner
5
+ * @tag wc-banner
6
+ * @rawTag banner
7
+ * @summary Banners show short, prominent contextual messages with optional icon and description.
8
+ *
9
+ * @cssprop --banner-container-color - Background color of the banner container.
10
+ * @cssprop --banner-label-text-color - Label text color.
11
+ * @cssprop --banner-description-text-color - Description text color.
12
+ * @cssprop --banner-icon-color - Icon color.
13
+ * @cssprop --banner-border-radius - Border radius of the banner surface.
14
+ *
15
+ * @example
16
+ * ```html
17
+ * <wc-banner variant="note" description="Use semantic roles that preserve a 3:1 contrast ratio."></wc-banner>
18
+ * ```
19
+ * @tags display, feedback
20
+ */
21
+ export declare class Banner extends LitElement {
22
+ static styles: import("lit").CSSResultGroup[];
23
+ /**
24
+ * Visual intent of the banner.
25
+ */
26
+ variant: BannerVariant;
27
+ /**
28
+ * Optional explicit label text. Falls back to a variant-based label.
29
+ */
30
+ label?: string;
31
+ /**
32
+ * Optional explicit icon name. Falls back to a variant-based icon.
33
+ */
34
+ icon?: string;
35
+ /**
36
+ * Optional description text when a default slot is not provided.
37
+ */
38
+ description: string;
39
+ /**
40
+ * When true, label and description are rendered on a single line.
41
+ */
42
+ inline: boolean;
43
+ private get resolvedLabel();
44
+ private get resolvedIcon();
45
+ render(): import("lit-html").TemplateResult<1>;
46
+ }
47
+ export {};
@@ -0,0 +1 @@
1
+ export { Banner } from './banner.js';
@@ -0,0 +1,42 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * @label Bottom Sheet
4
+ * @tag wc-bottom-sheet
5
+ * @rawTag bottom-sheet
6
+ * @summary Bottom sheets slide up from the bottom of the screen to reveal additional content. Supports standard and modal variants per Material Design 3.
7
+ *
8
+ * @cssprop --bottom-sheet-container-color - Background color of the sheet container.
9
+ * @cssprop --bottom-sheet-scrim-color - Color of the modal scrim overlay.
10
+ * @cssprop --bottom-sheet-shape - Corner radius of the top edge.
11
+ * @cssprop --bottom-sheet-max-height - Maximum height of the sheet.
12
+ *
13
+ * @example
14
+ * ```html
15
+ * Bottom Sheet
16
+ * ```
17
+ * @tags navigation, overlay
18
+ */
19
+ export declare class BottomSheet extends LitElement {
20
+ static styles: import("lit").CSSResultGroup[];
21
+ /** Whether the sheet is visible. */
22
+ open: boolean;
23
+ /**
24
+ * Sheet variant.
25
+ * - `"standard"`: Coexists with page content; no scrim.
26
+ * - `"modal"`: Overlays page content with a scrim backdrop.
27
+ */
28
+ variant: 'standard' | 'modal';
29
+ /** Whether to show the drag handle. */
30
+ showHandle: boolean;
31
+ private _dragging;
32
+ private _dragStartY;
33
+ private _dragOffsetY;
34
+ show(): void;
35
+ hide(): void;
36
+ private _close;
37
+ private _handleScrimClick;
38
+ private _handleDragStart;
39
+ private _handleDragMove;
40
+ private _handleDragEnd;
41
+ render(): import("lit-html").TemplateResult<1>;
42
+ }
@@ -0,0 +1 @@
1
+ export { BottomSheet } from './bottom-sheet.js';
@@ -1,6 +1,7 @@
1
1
  import { LitElement, nothing } from 'lit';
2
- export declare class BaseButton extends LitElement {
3
- #private;
2
+ declare const BaseButton_base: typeof LitElement & (new (...args: any[]) => import("@/__base_element/BaseHyperlink.js").BaseHyperlinkInterface);
3
+ export declare class BaseButton extends BaseButton_base {
4
+ protected static readonly DISABLED_REASON_ID = "disabled-reason";
4
5
  htmlType: 'button' | 'submit' | 'reset';
5
6
  /**
6
7
  * Type is preset of color and variant. Type will be only applied.
@@ -21,7 +22,7 @@ export declare class BaseButton extends LitElement {
21
22
  /**
22
23
  * Defines the primary color of the button. This can be set to predefined color names to apply specific color themes.
23
24
  */
24
- color: 'primary' | 'success' | 'danger' | 'warning' | 'light' | 'dark';
25
+ color: 'primary' | 'success' | 'danger' | 'warning' | 'surface' | 'on-surface';
25
26
  /**
26
27
  * Button size.
27
28
  * Possible values are `"sm"`, `"md"`, `"lg"`. Defaults to `"md"`.
@@ -40,17 +41,10 @@ export declare class BaseButton extends LitElement {
40
41
  * If button is disabled, the reason why it is disabled.
41
42
  */
42
43
  disabledReason: string;
43
- /**
44
- * Hyperlink to navigate to on click.
45
- */
46
- href?: string;
47
44
  configAria?: {
48
45
  [key: string]: any;
49
46
  };
50
- /**
51
- * Sets or retrieves the window or frame at which to target content.
52
- */
53
- target: string;
47
+ toggle: boolean;
54
48
  selected: boolean;
55
49
  /**
56
50
  * Sets the delay for throttle in milliseconds. Defaults to 200 milliseconds.
@@ -67,11 +61,11 @@ export declare class BaseButton extends LitElement {
67
61
  connectedCallback(): void;
68
62
  disconnectedCallback(): void;
69
63
  __handlePress: (event: KeyboardEvent | MouseEvent) => void;
70
- __isLink(): boolean;
71
64
  __dispatchClickWithThrottle: (event: MouseEvent | KeyboardEvent) => void;
72
65
  __dispatchClick: (event: MouseEvent | KeyboardEvent) => void;
73
66
  __convertTypeToVariantAndColor(): void;
74
- __getDisabledReasonID(): string | typeof nothing;
67
+ protected get __disabledReasonID(): string | undefined;
75
68
  __renderDisabledReason(): typeof nothing | import("lit-html").TemplateResult<1>;
76
69
  __renderTooltip(): typeof nothing | import("lit-html").TemplateResult<1>;
77
70
  }
71
+ export {};
@@ -50,6 +50,10 @@ export declare class Button extends BaseButton {
50
50
  */
51
51
  iconAlign: 'start' | 'end';
52
52
  private slotHasContent;
53
+ focus(): void;
54
+ blur(): void;
55
+ connectedCallback(): void;
56
+ disconnectedCallback(): void;
53
57
  firstUpdated(): void;
54
58
  render(): import("lit-html").TemplateResult<1>;
55
59
  renderButtonContent(): import("lit-html").TemplateResult<1>;
@@ -10,9 +10,9 @@ import { IconButton } from '../icon-button/icon-button.js';
10
10
 
11
11
  * @example
12
12
  * ```html
13
- * <wc-button-group>
14
- * <wc-icon-button name="home"></wc-icon-button>
15
- * <wc-icon-button name="alarm"></wc-icon-button>
13
+ * <wc-button-group variant="connected">
14
+ * <wc-icon-button name="home" toggle selected></wc-icon-button>
15
+ * <wc-icon-button name="alarm" toggle></wc-icon-button>
16
16
  * </wc-button-group>
17
17
  * ```
18
18
  *
@@ -27,5 +27,34 @@ export declare class ButtonGroup extends LitElement {
27
27
  * Possible values are `"sm"`, `"md"`, `"lg"`. Defaults to `"md"`.
28
28
  */
29
29
  size: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
30
+ /**
31
+ * Layout variant of the button group.
32
+ * `"standard"` shows buttons with a small gap between them.
33
+ * `"connected"` places buttons with a 2px gap; in horizontal orientation outer buttons have fully
34
+ * rounded outer corners and middle buttons keep standard rounded corners. In vertical orientation
35
+ * all buttons keep their default corner shape.
36
+ * Defaults to `"standard"`.
37
+ */
38
+ variant: 'standard' | 'connected';
39
+ /**
40
+ * Orientation of the button group.
41
+ * `"horizontal"` lays buttons out in a row.
42
+ * `"vertical"` stacks buttons in a column.
43
+ * Defaults to `"horizontal"`.
44
+ */
45
+ orientation: 'horizontal' | 'vertical';
46
+ /**
47
+ * Color applied to all buttons in the group.
48
+ * Possible values are `"primary"`, `"success"`, `"danger"`, `"warning"`, `"surface"`, `"on-surface"`.
49
+ */
50
+ color?: 'primary' | 'success' | 'danger' | 'warning' | 'surface' | 'on-surface';
51
+ /**
52
+ * Visual style applied to all buttons in the group.
53
+ * Possible values are `"filled"`, `"tonal"`, `"outlined"`.
54
+ */
55
+ buttonVariant?: 'filled' | 'tonal' | 'outlined';
56
+ updated(): void;
57
+ private _getSlottedElements;
58
+ private _syncChildren;
30
59
  render(): import("lit-html").TemplateResult<1>;
31
60
  }
@@ -49,6 +49,10 @@ export declare class IconButton extends BaseButton {
49
49
  name?: string;
50
50
  src?: string;
51
51
  provider: IconProvider;
52
+ focus(): void;
53
+ blur(): void;
54
+ connectedCallback(): void;
55
+ disconnectedCallback(): void;
52
56
  firstUpdated(): void;
53
57
  render(): import("lit-html").TemplateResult<1>;
54
58
  renderButtonContent(): import("lit-html").TemplateResult<1>;
@@ -0,0 +1,15 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * @label Card Content
4
+ * @tag wc-card-content
5
+ * @rawTag card-content
6
+ * @parentRawTag
7
+ *
8
+ * @cssprop --card-content-padding - Inner padding for the card container. Defaults to 1rem.
9
+ *
10
+ * ```
11
+ */
12
+ export declare class CardContent extends LitElement {
13
+ static styles: import("lit").CSSResult;
14
+ render(): import("lit-html").TemplateResult<1>;
15
+ }