@awc-ui/core 1.1.0 → 1.3.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 (793) hide show
  1. package/bin/templates/astro/package.json +2 -2
  2. package/bin/templates/html/index.html +3 -3
  3. package/bin/templates/html/package.json +2 -2
  4. package/bin/templates/next/package.json +3 -3
  5. package/bin/templates/nuxt/package.json +2 -2
  6. package/bin/templates/sveltekit/package.json +2 -2
  7. package/custom-elements.json +644 -1
  8. package/dist/cjs/data-elements-Cs49KP5R.js +151 -0
  9. package/dist/cjs/data-elements-Cs49KP5R.js.map +1 -0
  10. package/dist/cjs/{index-DLOFxFlM.js → index-DHpWaYWF.js} +23 -3
  11. package/dist/cjs/{index-DLOFxFlM.js.map → index-DHpWaYWF.js.map} +1 -1
  12. package/dist/cjs/{initial-motion-DVmpmKD8.js → initial-motion-COVdXmbQ.js} +3 -3
  13. package/dist/cjs/{initial-motion-DVmpmKD8.js.map → initial-motion-COVdXmbQ.js.map} +1 -1
  14. package/dist/cjs/{lazy-loading-indicator-Bgw5HXaX.js → lazy-loading-indicator-DqjeYBZo.js} +4 -4
  15. package/dist/cjs/{lazy-loading-indicator-Bgw5HXaX.js.map → lazy-loading-indicator-DqjeYBZo.js.map} +1 -1
  16. package/dist/cjs/loader.cjs.js +2 -2
  17. package/dist/cjs/md-accordion-item.cjs.entry.js +5 -5
  18. package/dist/cjs/md-accordion.cjs.entry.js +2 -2
  19. package/dist/cjs/md-app-bar.cjs.entry.js +3 -3
  20. package/dist/cjs/md-area-chart.cjs.entry.js +27 -15
  21. package/dist/cjs/md-area-chart.cjs.entry.js.map +1 -1
  22. package/dist/cjs/md-autocomplete.cjs.entry.js +3 -3
  23. package/dist/cjs/md-avatar_2.cjs.entry.js +3 -3
  24. package/dist/cjs/md-badge.cjs.entry.js +4 -4
  25. package/dist/cjs/md-bar-chart.cjs.entry.js +27 -15
  26. package/dist/cjs/md-bar-chart.cjs.entry.js.map +1 -1
  27. package/dist/cjs/md-bottom-sheet.cjs.entry.js +6 -6
  28. package/dist/cjs/md-breadcrumb-item.cjs.entry.js +2 -2
  29. package/dist/cjs/md-breadcrumbs.cjs.entry.js +2 -2
  30. package/dist/cjs/md-button-group.cjs.entry.js +2 -2
  31. package/dist/cjs/md-button_6.cjs.entry.js +12 -12
  32. package/dist/cjs/md-chart-series.cjs.entry.js +122 -0
  33. package/dist/cjs/md-chart-series.cjs.entry.js.map +1 -0
  34. package/dist/cjs/md-checkbox.cjs.entry.js +5 -5
  35. package/dist/cjs/md-chip.cjs.entry.js +4 -4
  36. package/dist/cjs/md-color-picker.cjs.entry.js +3 -3
  37. package/dist/cjs/md-date-picker.cjs.entry.js +3 -3
  38. package/dist/cjs/md-dialog.cjs.entry.js +5 -5
  39. package/dist/cjs/md-divider.cjs.entry.js +4 -4
  40. package/dist/cjs/md-fab-menu-item.cjs.entry.js +4 -4
  41. package/dist/cjs/md-fab-menu.cjs.entry.js +5 -5
  42. package/dist/cjs/md-fab.cjs.entry.js +4 -4
  43. package/dist/cjs/md-line-chart.cjs.entry.js +31 -19
  44. package/dist/cjs/md-line-chart.cjs.entry.js.map +1 -1
  45. package/dist/cjs/md-list-item.cjs.entry.js +2 -2
  46. package/dist/cjs/md-list.cjs.entry.js +2 -2
  47. package/dist/cjs/{md-loading-indicator-BB9ghhFd.js → md-loading-indicator-Px_NR8tC.js} +4 -4
  48. package/dist/cjs/{md-loading-indicator-BB9ghhFd.js.map → md-loading-indicator-Px_NR8tC.js.map} +1 -1
  49. package/dist/cjs/md-loading-indicator.cjs.entry.js +3 -3
  50. package/dist/cjs/md-menu-item-group.cjs.entry.js +3 -3
  51. package/dist/cjs/md-menu_2.cjs.entry.js +8 -8
  52. package/dist/cjs/md-meter.cjs.entry.js +4 -4
  53. package/dist/cjs/md-multi-select.cjs.entry.js +5 -5
  54. package/dist/cjs/md-navigation-bar.cjs.entry.js +2 -2
  55. package/dist/cjs/md-navigation-rail-tab.cjs.entry.js +3 -3
  56. package/dist/cjs/md-navigation-rail.cjs.entry.js +4 -4
  57. package/dist/cjs/md-navigation-tab.cjs.entry.js +2 -2
  58. package/dist/cjs/md-number-field.cjs.entry.js +2 -2
  59. package/dist/cjs/md-organization-chart.cjs.entry.js +2 -2
  60. package/dist/cjs/md-otp-field.cjs.entry.js +2 -2
  61. package/dist/cjs/md-pie-chart.cjs.entry.js +25 -15
  62. package/dist/cjs/md-pie-chart.cjs.entry.js.map +1 -1
  63. package/dist/cjs/md-pie-slice.cjs.entry.js +59 -0
  64. package/dist/cjs/md-pie-slice.cjs.entry.js.map +1 -0
  65. package/dist/cjs/md-progress-indicator.cjs.entry.js +3 -3
  66. package/dist/cjs/md-rating.cjs.entry.js +4 -4
  67. package/dist/cjs/md-search.cjs.entry.js +4 -4
  68. package/dist/cjs/md-segmented-button-set.cjs.entry.js +4 -4
  69. package/dist/cjs/md-segmented-button.cjs.entry.js +5 -5
  70. package/dist/cjs/md-select-option.cjs.entry.js +3 -3
  71. package/dist/cjs/md-select.cjs.entry.js +5 -5
  72. package/dist/cjs/md-side-sheet.cjs.entry.js +6 -6
  73. package/dist/cjs/md-skeleton.cjs.entry.js +3 -3
  74. package/dist/cjs/md-slider.cjs.entry.js +2 -2
  75. package/dist/cjs/md-sparkline-point.cjs.entry.js +43 -0
  76. package/dist/cjs/md-sparkline-point.cjs.entry.js.map +1 -0
  77. package/dist/cjs/md-sparkline.cjs.entry.js +22 -12
  78. package/dist/cjs/md-sparkline.cjs.entry.js.map +1 -1
  79. package/dist/cjs/md-split-button.cjs.entry.js +5 -5
  80. package/dist/cjs/md-status-dot.cjs.entry.js +3 -3
  81. package/dist/cjs/md-step.cjs.entry.js +8 -8
  82. package/dist/cjs/md-stepper.cjs.entry.js +5 -5
  83. package/dist/cjs/md-sub-menu-item.cjs.entry.js +4 -4
  84. package/dist/cjs/md-switch.cjs.entry.js +4 -4
  85. package/dist/cjs/md-tab-panel.cjs.entry.js +3 -3
  86. package/dist/cjs/md-tab-panels.cjs.entry.js +3 -3
  87. package/dist/cjs/md-tab.cjs.entry.js +6 -6
  88. package/dist/cjs/md-table-body.cjs.entry.js +3 -3
  89. package/dist/cjs/md-table-cell.cjs.entry.js +4 -4
  90. package/dist/cjs/md-table-container.cjs.entry.js +4 -4
  91. package/dist/cjs/md-table-expand-toggle.cjs.entry.js +4 -4
  92. package/dist/cjs/md-table-foot.cjs.entry.js +3 -3
  93. package/dist/cjs/md-table-head.cjs.entry.js +3 -3
  94. package/dist/cjs/md-table-pagination.cjs.entry.js +4 -4
  95. package/dist/cjs/md-table-row.cjs.entry.js +6 -6
  96. package/dist/cjs/md-table-sort-label.cjs.entry.js +4 -4
  97. package/dist/cjs/md-table-toolbar.cjs.entry.js +5 -5
  98. package/dist/cjs/md-table.cjs.entry.js +5 -5
  99. package/dist/cjs/md-tabs.cjs.entry.js +4 -4
  100. package/dist/cjs/md-text-field.cjs.entry.js +9 -9
  101. package/dist/cjs/md-time-picker.cjs.entry.js +4 -4
  102. package/dist/cjs/md-toolbar.cjs.entry.js +5 -5
  103. package/dist/cjs/md-transfer-list.cjs.entry.js +3 -3
  104. package/dist/cjs/md3.cjs.js +2 -2
  105. package/dist/cjs/{overlay-lifecycle-CUc_dfNl.js → overlay-lifecycle-Bhu5zauR.js} +3 -3
  106. package/dist/cjs/{overlay-lifecycle-CUc_dfNl.js.map → overlay-lifecycle-Bhu5zauR.js.map} +1 -1
  107. package/dist/cjs/series-elements-B4T7vF5A.js +90 -0
  108. package/dist/cjs/series-elements-B4T7vF5A.js.map +1 -0
  109. package/dist/collection/collection-manifest.json +4 -1
  110. package/dist/collection/components/md-accordion-item/md-accordion-item.js +3 -3
  111. package/dist/collection/components/md-app-bar/md-app-bar.js +1 -1
  112. package/dist/collection/components/md-area-chart/md-area-chart.js +35 -22
  113. package/dist/collection/components/md-area-chart/md-area-chart.js.map +1 -1
  114. package/dist/collection/components/md-badge/md-badge.js +2 -2
  115. package/dist/collection/components/md-bar-chart/md-bar-chart.js +31 -18
  116. package/dist/collection/components/md-bar-chart/md-bar-chart.js.map +1 -1
  117. package/dist/collection/components/md-bottom-sheet/md-bottom-sheet.js +4 -4
  118. package/dist/collection/components/md-chart-series/md-chart-series.css +4 -0
  119. package/dist/collection/components/md-chart-series/md-chart-series.js +654 -0
  120. package/dist/collection/components/md-chart-series/md-chart-series.js.map +1 -0
  121. package/dist/collection/components/md-checkbox/md-checkbox.js +3 -3
  122. package/dist/collection/components/md-chip/md-chip.js +2 -2
  123. package/dist/collection/components/md-dialog/md-dialog.js +2 -2
  124. package/dist/collection/components/md-divider/md-divider.js +2 -2
  125. package/dist/collection/components/md-fab/md-fab.js +2 -2
  126. package/dist/collection/components/md-fab-menu/md-fab-menu.js +2 -2
  127. package/dist/collection/components/md-fab-menu-item/md-fab-menu-item.js +2 -2
  128. package/dist/collection/components/md-icon-button/md-icon-button.js +4 -4
  129. package/dist/collection/components/md-line-chart/md-line-chart.js +31 -18
  130. package/dist/collection/components/md-line-chart/md-line-chart.js.map +1 -1
  131. package/dist/collection/components/md-menu/md-menu.js +3 -3
  132. package/dist/collection/components/md-menu-item/md-menu-item.js +2 -2
  133. package/dist/collection/components/md-menu-item-group/md-menu-item-group.js +1 -1
  134. package/dist/collection/components/md-meter/md-meter.js +2 -2
  135. package/dist/collection/components/md-multi-select/md-multi-select.js +2 -2
  136. package/dist/collection/components/md-navigation-rail/md-navigation-rail.js +2 -2
  137. package/dist/collection/components/md-navigation-rail-tab/md-navigation-rail-tab.js +1 -1
  138. package/dist/collection/components/md-pie-chart/md-pie-chart.js +25 -14
  139. package/dist/collection/components/md-pie-chart/md-pie-chart.js.map +1 -1
  140. package/dist/collection/components/md-pie-slice/md-pie-slice.css +1 -0
  141. package/dist/collection/components/md-pie-slice/md-pie-slice.js +227 -0
  142. package/dist/collection/components/md-pie-slice/md-pie-slice.js.map +1 -0
  143. package/dist/collection/components/md-progress-indicator/md-progress-indicator.js +1 -1
  144. package/dist/collection/components/md-radio/md-radio.js +2 -2
  145. package/dist/collection/components/md-rating/md-rating.js +2 -2
  146. package/dist/collection/components/md-ripple/md-ripple.js +1 -1
  147. package/dist/collection/components/md-segmented-button/md-segmented-button.js +3 -3
  148. package/dist/collection/components/md-segmented-button-set/md-segmented-button-set.js +2 -2
  149. package/dist/collection/components/md-select/md-select.js +2 -2
  150. package/dist/collection/components/md-select-option/md-select-option.js +1 -1
  151. package/dist/collection/components/md-side-sheet/md-side-sheet.js +3 -3
  152. package/dist/collection/components/md-skeleton/md-skeleton.js +1 -1
  153. package/dist/collection/components/md-snackbar/md-snackbar.js +2 -2
  154. package/dist/collection/components/md-sparkline/md-sparkline.js +22 -11
  155. package/dist/collection/components/md-sparkline/md-sparkline.js.map +1 -1
  156. package/dist/collection/components/md-sparkline-point/md-sparkline-point.css +1 -0
  157. package/dist/collection/components/md-sparkline-point/md-sparkline-point.js +96 -0
  158. package/dist/collection/components/md-sparkline-point/md-sparkline-point.js.map +1 -0
  159. package/dist/collection/components/md-split-button/md-split-button.js +3 -3
  160. package/dist/collection/components/md-status-dot/md-status-dot.js +1 -1
  161. package/dist/collection/components/md-step/md-step.js +6 -6
  162. package/dist/collection/components/md-stepper/md-stepper.js +3 -3
  163. package/dist/collection/components/md-sub-menu-item/md-sub-menu-item.js +2 -2
  164. package/dist/collection/components/md-switch/md-switch.js +2 -2
  165. package/dist/collection/components/md-tab/md-tab.js +4 -4
  166. package/dist/collection/components/md-tab-panel/md-tab-panel.js +1 -1
  167. package/dist/collection/components/md-tab-panels/md-tab-panels.js +1 -1
  168. package/dist/collection/components/md-table/md-table.js +3 -3
  169. package/dist/collection/components/md-table-body/md-table-body.js +1 -1
  170. package/dist/collection/components/md-table-cell/md-table-cell.js +2 -2
  171. package/dist/collection/components/md-table-container/md-table-container.js +2 -2
  172. package/dist/collection/components/md-table-expand-toggle/md-table-expand-toggle.js +2 -2
  173. package/dist/collection/components/md-table-foot/md-table-foot.js +1 -1
  174. package/dist/collection/components/md-table-head/md-table-head.js +1 -1
  175. package/dist/collection/components/md-table-pagination/md-table-pagination.js +2 -2
  176. package/dist/collection/components/md-table-row/md-table-row.js +4 -4
  177. package/dist/collection/components/md-table-sort-label/md-table-sort-label.js +2 -2
  178. package/dist/collection/components/md-table-toolbar/md-table-toolbar.js +3 -3
  179. package/dist/collection/components/md-tabs/md-tabs.js +2 -2
  180. package/dist/collection/components/md-text-field/md-text-field.js +7 -7
  181. package/dist/collection/components/md-time-picker/md-time-picker.js +1 -1
  182. package/dist/collection/components/md-toolbar/md-toolbar.js +3 -3
  183. package/dist/collection/components/md-tooltip/md-tooltip.js +1 -1
  184. package/dist/collection/components/md-transfer-list/md-transfer-list.js +1 -1
  185. package/dist/collection/index.js.map +1 -1
  186. package/dist/collection/utils/charts/data-elements.js +138 -0
  187. package/dist/collection/utils/charts/data-elements.js.map +1 -0
  188. package/dist/collection/utils/charts/series-elements.js +82 -0
  189. package/dist/collection/utils/charts/series-elements.js.map +1 -0
  190. package/dist/components/index.js +1 -1
  191. package/dist/components/md-accordion-item.js +1 -1
  192. package/dist/components/md-accordion.js +1 -1
  193. package/dist/components/md-app-bar.js +1 -1
  194. package/dist/components/md-area-chart.js +1 -1
  195. package/dist/components/md-area-chart.js.map +1 -1
  196. package/dist/components/md-autocomplete.js +1 -1
  197. package/dist/components/md-avatar.js +1 -1
  198. package/dist/components/md-badge.js +1 -1
  199. package/dist/components/md-bar-chart.js +1 -1
  200. package/dist/components/md-bar-chart.js.map +1 -1
  201. package/dist/components/md-bottom-sheet.js +1 -1
  202. package/dist/components/md-breadcrumb-item.js +1 -1
  203. package/dist/components/md-breadcrumbs.js +1 -1
  204. package/dist/components/md-button-group.js +1 -1
  205. package/dist/components/md-button.js +1 -1
  206. package/dist/components/md-card.js +1 -1
  207. package/dist/components/md-chart-series.d.ts +11 -0
  208. package/dist/components/md-chart-series.js +2 -0
  209. package/dist/components/md-chart-series.js.map +1 -0
  210. package/dist/components/md-checkbox.js +1 -1
  211. package/dist/components/md-chip.js +1 -1
  212. package/dist/components/md-color-picker.js +1 -1
  213. package/dist/components/md-date-picker.js +1 -1
  214. package/dist/components/md-dialog.js +1 -1
  215. package/dist/components/md-divider.js +1 -1
  216. package/dist/components/md-fab-menu-item.js +1 -1
  217. package/dist/components/md-fab-menu.js +1 -1
  218. package/dist/components/md-fab.js +1 -1
  219. package/dist/components/md-icon-button.js +1 -1
  220. package/dist/components/md-line-chart.js +1 -1
  221. package/dist/components/md-line-chart.js.map +1 -1
  222. package/dist/components/md-list-item.js +1 -1
  223. package/dist/components/md-list.js +1 -1
  224. package/dist/components/md-loading-indicator.js +1 -1
  225. package/dist/components/md-menu-item-group.js +1 -1
  226. package/dist/components/md-menu-item.js +1 -1
  227. package/dist/components/md-menu.js +1 -1
  228. package/dist/components/md-meter.js +1 -1
  229. package/dist/components/md-multi-select.js +1 -1
  230. package/dist/components/md-navigation-bar.js +1 -1
  231. package/dist/components/md-navigation-rail-tab.js +1 -1
  232. package/dist/components/md-navigation-rail.js +1 -1
  233. package/dist/components/md-navigation-tab.js +1 -1
  234. package/dist/components/md-number-field.js +1 -1
  235. package/dist/components/md-organization-chart.js +1 -1
  236. package/dist/components/md-otp-field.js +1 -1
  237. package/dist/components/md-pie-chart.js +1 -1
  238. package/dist/components/md-pie-chart.js.map +1 -1
  239. package/dist/components/md-pie-slice.d.ts +11 -0
  240. package/dist/components/md-pie-slice.js +2 -0
  241. package/dist/components/md-pie-slice.js.map +1 -0
  242. package/dist/components/md-progress-indicator.js +1 -1
  243. package/dist/components/md-radio.js +1 -1
  244. package/dist/components/md-rating.js +1 -1
  245. package/dist/components/md-ripple.js +1 -1
  246. package/dist/components/md-search.js +1 -1
  247. package/dist/components/md-segmented-button-set.js +1 -1
  248. package/dist/components/md-segmented-button.js +1 -1
  249. package/dist/components/md-select-option.js +1 -1
  250. package/dist/components/md-select-option.js.map +1 -1
  251. package/dist/components/md-select.js +1 -1
  252. package/dist/components/md-side-sheet.js +1 -1
  253. package/dist/components/md-skeleton.js +1 -1
  254. package/dist/components/md-slider.js +1 -1
  255. package/dist/components/md-snackbar.js +1 -1
  256. package/dist/components/md-sparkline-point.d.ts +11 -0
  257. package/dist/components/md-sparkline-point.js +2 -0
  258. package/dist/components/md-sparkline-point.js.map +1 -0
  259. package/dist/components/md-sparkline.js +1 -1
  260. package/dist/components/md-sparkline.js.map +1 -1
  261. package/dist/components/md-split-button.js +1 -1
  262. package/dist/components/md-status-dot.js +1 -1
  263. package/dist/components/md-step.js +1 -1
  264. package/dist/components/md-stepper.js +1 -1
  265. package/dist/components/md-sub-menu-item.js +1 -1
  266. package/dist/components/md-switch.js +1 -1
  267. package/dist/components/md-tab-panel.js +1 -1
  268. package/dist/components/md-tab-panels.js +1 -1
  269. package/dist/components/md-tab.js +1 -1
  270. package/dist/components/md-tab.js.map +1 -1
  271. package/dist/components/md-table-body.js +1 -1
  272. package/dist/components/md-table-cell.js +1 -1
  273. package/dist/components/md-table-container.js +1 -1
  274. package/dist/components/md-table-expand-toggle.js +1 -1
  275. package/dist/components/md-table-foot.js +1 -1
  276. package/dist/components/md-table-head.js +1 -1
  277. package/dist/components/md-table-pagination.js +1 -1
  278. package/dist/components/md-table-pagination.js.map +1 -1
  279. package/dist/components/md-table-row.js +1 -1
  280. package/dist/components/md-table-sort-label.js +1 -1
  281. package/dist/components/md-table-toolbar.js +1 -1
  282. package/dist/components/md-table.js +1 -1
  283. package/dist/components/md-tabs.js +1 -1
  284. package/dist/components/md-text-field.js +1 -1
  285. package/dist/components/md-time-picker.js +1 -1
  286. package/dist/components/md-toolbar.js +1 -1
  287. package/dist/components/md-tooltip.js +1 -1
  288. package/dist/components/md-transfer-list.js +1 -1
  289. package/dist/{md3/p-BytnCy9Z.js → components/p-0hoYij4e.js} +2 -2
  290. package/dist/{components-csr/p-mPtoRtT7.js → components/p-8ZntJ7QX.js} +2 -2
  291. package/dist/components/p-BcgBd7Uo.js +2 -0
  292. package/dist/components/p-BcgBd7Uo.js.map +1 -0
  293. package/dist/components/{p-DIGH4LlS.js → p-Be_QxD6y.js} +2 -2
  294. package/dist/components/{p-BcOsCkxa.js → p-C9Z-3TKn.js} +2 -2
  295. package/dist/components/p-CGLhTKkQ.js +2 -0
  296. package/dist/components/p-CGLhTKkQ.js.map +1 -0
  297. package/dist/components/{p-CGKlSro0.js → p-CWveMYei.js} +2 -2
  298. package/dist/{components-csr/p-B3y4Sfu7.js → components/p-CXuNI4mJ.js} +2 -2
  299. package/dist/components/{p-BCAoGEfF.js → p-CjebvGxr.js} +2 -2
  300. package/dist/components/{p-BWCwdLDy.js → p-Cui8F6rf.js} +2 -2
  301. package/dist/components/{p-B9jJRlnU.js → p-D9C2BtN-.js} +2 -2
  302. package/dist/components/{p-AD7q8XNf.js → p-DI0ebvMQ.js} +2 -2
  303. package/dist/components/{p-BJAKwQqQ.js → p-DM30Y_8c.js} +2 -2
  304. package/dist/components/{p-CXOHmY2w.js → p-DTAVEp79.js} +2 -2
  305. package/dist/{components-csr/p-DQL7SnR8.js → components/p-DoQ8iQ1K.js} +2 -2
  306. package/dist/components/{p-CjV5tPMM.js → p-OutEvCQi.js} +2 -2
  307. package/dist/components/{p-D_fs8IXJ.js → p-bn_S0ywb.js} +2 -2
  308. package/dist/components/{p-CspVD-eh.js → p-t9lomFml.js} +2 -2
  309. package/dist/components/p-t9lomFml.js.map +1 -0
  310. package/dist/components/{p-63ROhs5i.js → p-xuLJPnDM.js} +2 -2
  311. package/dist/components/{p-KXxaSDnZ.js → p-y5Rx7xpR.js} +2 -2
  312. package/dist/components-csr/index.js +1 -1
  313. package/dist/components-csr/md-accordion-item.js +1 -1
  314. package/dist/components-csr/md-accordion.js +1 -1
  315. package/dist/components-csr/md-app-bar.js +1 -1
  316. package/dist/components-csr/md-area-chart.js +1 -1
  317. package/dist/components-csr/md-area-chart.js.map +1 -1
  318. package/dist/components-csr/md-autocomplete.js +1 -1
  319. package/dist/components-csr/md-avatar.js +1 -1
  320. package/dist/components-csr/md-badge.js +1 -1
  321. package/dist/components-csr/md-bar-chart.js +1 -1
  322. package/dist/components-csr/md-bar-chart.js.map +1 -1
  323. package/dist/components-csr/md-bottom-sheet.js +1 -1
  324. package/dist/components-csr/md-breadcrumb-item.js +1 -1
  325. package/dist/components-csr/md-breadcrumbs.js +1 -1
  326. package/dist/components-csr/md-button-group.js +1 -1
  327. package/dist/components-csr/md-button.js +1 -1
  328. package/dist/components-csr/md-card.js +1 -1
  329. package/dist/components-csr/md-chart-series.js +2 -0
  330. package/dist/components-csr/md-chart-series.js.map +1 -0
  331. package/dist/components-csr/md-checkbox.js +1 -1
  332. package/dist/components-csr/md-chip.js +1 -1
  333. package/dist/components-csr/md-color-picker.js +1 -1
  334. package/dist/components-csr/md-date-picker.js +1 -1
  335. package/dist/components-csr/md-dialog.js +1 -1
  336. package/dist/components-csr/md-divider.js +1 -1
  337. package/dist/components-csr/md-fab-menu-item.js +1 -1
  338. package/dist/components-csr/md-fab-menu.js +1 -1
  339. package/dist/components-csr/md-fab.js +1 -1
  340. package/dist/components-csr/md-icon-button.js +1 -1
  341. package/dist/components-csr/md-line-chart.js +1 -1
  342. package/dist/components-csr/md-line-chart.js.map +1 -1
  343. package/dist/components-csr/md-list-item.js +1 -1
  344. package/dist/components-csr/md-list.js +1 -1
  345. package/dist/components-csr/md-loading-indicator.js +1 -1
  346. package/dist/components-csr/md-menu-item-group.js +1 -1
  347. package/dist/components-csr/md-menu-item.js +1 -1
  348. package/dist/components-csr/md-menu.js +1 -1
  349. package/dist/components-csr/md-meter.js +1 -1
  350. package/dist/components-csr/md-multi-select.js +1 -1
  351. package/dist/components-csr/md-navigation-bar.js +1 -1
  352. package/dist/components-csr/md-navigation-rail-tab.js +1 -1
  353. package/dist/components-csr/md-navigation-rail.js +1 -1
  354. package/dist/components-csr/md-navigation-tab.js +1 -1
  355. package/dist/components-csr/md-number-field.js +1 -1
  356. package/dist/components-csr/md-organization-chart.js +1 -1
  357. package/dist/components-csr/md-otp-field.js +1 -1
  358. package/dist/components-csr/md-pie-chart.js +1 -1
  359. package/dist/components-csr/md-pie-chart.js.map +1 -1
  360. package/dist/components-csr/md-pie-slice.js +2 -0
  361. package/dist/components-csr/md-pie-slice.js.map +1 -0
  362. package/dist/components-csr/md-progress-indicator.js +1 -1
  363. package/dist/components-csr/md-radio.js +1 -1
  364. package/dist/components-csr/md-rating.js +1 -1
  365. package/dist/components-csr/md-ripple.js +1 -1
  366. package/dist/components-csr/md-search.js +1 -1
  367. package/dist/components-csr/md-segmented-button-set.js +1 -1
  368. package/dist/components-csr/md-segmented-button.js +1 -1
  369. package/dist/components-csr/md-select-option.js +1 -1
  370. package/dist/components-csr/md-select-option.js.map +1 -1
  371. package/dist/components-csr/md-select.js +1 -1
  372. package/dist/components-csr/md-side-sheet.js +1 -1
  373. package/dist/components-csr/md-skeleton.js +1 -1
  374. package/dist/components-csr/md-slider.js +1 -1
  375. package/dist/components-csr/md-snackbar.js +1 -1
  376. package/dist/components-csr/md-sparkline-point.js +2 -0
  377. package/dist/components-csr/md-sparkline-point.js.map +1 -0
  378. package/dist/components-csr/md-sparkline.js +1 -1
  379. package/dist/components-csr/md-sparkline.js.map +1 -1
  380. package/dist/components-csr/md-split-button.js +1 -1
  381. package/dist/components-csr/md-status-dot.js +1 -1
  382. package/dist/components-csr/md-step.js +1 -1
  383. package/dist/components-csr/md-stepper.js +1 -1
  384. package/dist/components-csr/md-sub-menu-item.js +1 -1
  385. package/dist/components-csr/md-switch.js +1 -1
  386. package/dist/components-csr/md-tab-panel.js +1 -1
  387. package/dist/components-csr/md-tab-panels.js +1 -1
  388. package/dist/components-csr/md-tab.js +1 -1
  389. package/dist/components-csr/md-tab.js.map +1 -1
  390. package/dist/components-csr/md-table-body.js +1 -1
  391. package/dist/components-csr/md-table-cell.js +1 -1
  392. package/dist/components-csr/md-table-container.js +1 -1
  393. package/dist/components-csr/md-table-expand-toggle.js +1 -1
  394. package/dist/components-csr/md-table-foot.js +1 -1
  395. package/dist/components-csr/md-table-head.js +1 -1
  396. package/dist/components-csr/md-table-pagination.js +1 -1
  397. package/dist/components-csr/md-table-pagination.js.map +1 -1
  398. package/dist/components-csr/md-table-row.js +1 -1
  399. package/dist/components-csr/md-table-sort-label.js +1 -1
  400. package/dist/components-csr/md-table-toolbar.js +1 -1
  401. package/dist/components-csr/md-table.js +1 -1
  402. package/dist/components-csr/md-tabs.js +1 -1
  403. package/dist/components-csr/md-text-field.js +1 -1
  404. package/dist/components-csr/md-time-picker.js +1 -1
  405. package/dist/components-csr/md-toolbar.js +1 -1
  406. package/dist/components-csr/md-tooltip.js +1 -1
  407. package/dist/components-csr/md-transfer-list.js +1 -1
  408. package/dist/components-csr/{p-C7SO-MXq.js → p--clgeNUW.js} +2 -2
  409. package/dist/components-csr/{p-BT43J7lo.js → p-17dQVZNR.js} +2 -2
  410. package/dist/{components/p-DoJOR0pW.js → components-csr/p-B28l7X5i.js} +2 -2
  411. package/dist/components-csr/{p-CZp-Xecz.js → p-B2vk3_BC.js} +2 -2
  412. package/dist/components-csr/p-BcgBd7Uo.js +2 -0
  413. package/dist/components-csr/p-BcgBd7Uo.js.map +1 -0
  414. package/dist/components-csr/{p-D5zCIaks.js → p-BwQyYHuZ.js} +2 -2
  415. package/dist/components-csr/{p-Cr1trPWZ.js → p-C9XZMCL-.js} +2 -2
  416. package/dist/components-csr/p-CGLhTKkQ.js +2 -0
  417. package/dist/components-csr/p-CGLhTKkQ.js.map +1 -0
  418. package/dist/components-csr/{p-CWxDc07j.js → p-D-dmT5kY.js} +2 -2
  419. package/dist/components-csr/{p-CQoO26r0.js → p-D6ADzLya.js} +2 -2
  420. package/dist/{components/p-WQOlnYmQ.js → components-csr/p-D7AEBQIw.js} +2 -2
  421. package/dist/components-csr/{p-B_K-3G0S.js → p-D9cIx3li.js} +2 -2
  422. package/dist/components-csr/{p-Ca8f4AyH.js → p-DERBQrj5.js} +2 -2
  423. package/dist/components-csr/{p-CUMT_XYv.js → p-DFJO04Vn.js} +2 -2
  424. package/dist/components-csr/{p-Px_e-xy9.js → p-DH9RCl21.js} +2 -2
  425. package/dist/components-csr/{p-CB_bjwk9.js → p-DHw4bV7s.js} +2 -2
  426. package/dist/components-csr/{p-BuMwJsnQ.js → p-DeGXyF1I.js} +2 -2
  427. package/dist/components-csr/{p-B37-0L5e.js → p-dBZ_5SDM.js} +2 -2
  428. package/dist/components-csr/p-dBZ_5SDM.js.map +1 -0
  429. package/dist/{components/p-C6Dk5I_4.js → components-csr/p-jG7JIK7t.js} +2 -2
  430. package/dist/components-csr/{p-CvTDNP2i.js → p-oV2Z2HiI.js} +2 -2
  431. package/dist/esm/data-elements-D_7JTg9V.js +142 -0
  432. package/dist/esm/data-elements-D_7JTg9V.js.map +1 -0
  433. package/dist/esm/{index-DkJ2hl1A.js → index-DuCsV-Tv.js} +23 -3
  434. package/dist/esm/{index-DkJ2hl1A.js.map → index-DuCsV-Tv.js.map} +1 -1
  435. package/dist/esm/{initial-motion-DdqthWsh.js → initial-motion-D_VxK6y5.js} +3 -3
  436. package/dist/esm/{initial-motion-DdqthWsh.js.map → initial-motion-D_VxK6y5.js.map} +1 -1
  437. package/dist/esm/{lazy-loading-indicator-CrT32bSG.js → lazy-loading-indicator-D01l1mnu.js} +4 -4
  438. package/dist/esm/{lazy-loading-indicator-CrT32bSG.js.map → lazy-loading-indicator-D01l1mnu.js.map} +1 -1
  439. package/dist/esm/loader.js +3 -3
  440. package/dist/esm/md-accordion-item.entry.js +5 -5
  441. package/dist/esm/md-accordion.entry.js +2 -2
  442. package/dist/esm/md-app-bar.entry.js +3 -3
  443. package/dist/esm/md-area-chart.entry.js +27 -15
  444. package/dist/esm/md-area-chart.entry.js.map +1 -1
  445. package/dist/esm/md-autocomplete.entry.js +3 -3
  446. package/dist/esm/md-avatar_2.entry.js +3 -3
  447. package/dist/esm/md-badge.entry.js +4 -4
  448. package/dist/esm/md-bar-chart.entry.js +27 -15
  449. package/dist/esm/md-bar-chart.entry.js.map +1 -1
  450. package/dist/esm/md-bottom-sheet.entry.js +6 -6
  451. package/dist/esm/md-breadcrumb-item.entry.js +2 -2
  452. package/dist/esm/md-breadcrumbs.entry.js +2 -2
  453. package/dist/esm/md-button-group.entry.js +2 -2
  454. package/dist/esm/md-button_6.entry.js +12 -12
  455. package/dist/esm/md-chart-series.entry.js +120 -0
  456. package/dist/esm/md-chart-series.entry.js.map +1 -0
  457. package/dist/esm/md-checkbox.entry.js +5 -5
  458. package/dist/esm/md-chip.entry.js +4 -4
  459. package/dist/esm/md-color-picker.entry.js +3 -3
  460. package/dist/esm/md-date-picker.entry.js +3 -3
  461. package/dist/esm/md-dialog.entry.js +5 -5
  462. package/dist/esm/md-divider.entry.js +4 -4
  463. package/dist/esm/md-fab-menu-item.entry.js +4 -4
  464. package/dist/esm/md-fab-menu.entry.js +5 -5
  465. package/dist/esm/md-fab.entry.js +4 -4
  466. package/dist/esm/md-line-chart.entry.js +31 -19
  467. package/dist/esm/md-line-chart.entry.js.map +1 -1
  468. package/dist/esm/md-list-item.entry.js +2 -2
  469. package/dist/esm/md-list.entry.js +2 -2
  470. package/dist/esm/{md-loading-indicator-y7Swvv8I.js → md-loading-indicator-DvHmp-e1.js} +4 -4
  471. package/dist/esm/{md-loading-indicator-y7Swvv8I.js.map → md-loading-indicator-DvHmp-e1.js.map} +1 -1
  472. package/dist/esm/md-loading-indicator.entry.js +3 -3
  473. package/dist/esm/md-menu-item-group.entry.js +3 -3
  474. package/dist/esm/md-menu_2.entry.js +8 -8
  475. package/dist/esm/md-meter.entry.js +4 -4
  476. package/dist/esm/md-multi-select.entry.js +5 -5
  477. package/dist/esm/md-navigation-bar.entry.js +2 -2
  478. package/dist/esm/md-navigation-rail-tab.entry.js +3 -3
  479. package/dist/esm/md-navigation-rail.entry.js +4 -4
  480. package/dist/esm/md-navigation-tab.entry.js +2 -2
  481. package/dist/esm/md-number-field.entry.js +2 -2
  482. package/dist/esm/md-organization-chart.entry.js +2 -2
  483. package/dist/esm/md-otp-field.entry.js +2 -2
  484. package/dist/esm/md-pie-chart.entry.js +25 -15
  485. package/dist/esm/md-pie-chart.entry.js.map +1 -1
  486. package/dist/esm/md-pie-slice.entry.js +57 -0
  487. package/dist/esm/md-pie-slice.entry.js.map +1 -0
  488. package/dist/esm/md-progress-indicator.entry.js +3 -3
  489. package/dist/esm/md-rating.entry.js +4 -4
  490. package/dist/esm/md-search.entry.js +4 -4
  491. package/dist/esm/md-segmented-button-set.entry.js +4 -4
  492. package/dist/esm/md-segmented-button.entry.js +5 -5
  493. package/dist/esm/md-select-option.entry.js +3 -3
  494. package/dist/esm/md-select.entry.js +5 -5
  495. package/dist/esm/md-side-sheet.entry.js +6 -6
  496. package/dist/esm/md-skeleton.entry.js +3 -3
  497. package/dist/esm/md-slider.entry.js +2 -2
  498. package/dist/esm/md-sparkline-point.entry.js +41 -0
  499. package/dist/esm/md-sparkline-point.entry.js.map +1 -0
  500. package/dist/esm/md-sparkline.entry.js +22 -12
  501. package/dist/esm/md-sparkline.entry.js.map +1 -1
  502. package/dist/esm/md-split-button.entry.js +5 -5
  503. package/dist/esm/md-status-dot.entry.js +3 -3
  504. package/dist/esm/md-step.entry.js +8 -8
  505. package/dist/esm/md-stepper.entry.js +5 -5
  506. package/dist/esm/md-sub-menu-item.entry.js +4 -4
  507. package/dist/esm/md-switch.entry.js +4 -4
  508. package/dist/esm/md-tab-panel.entry.js +3 -3
  509. package/dist/esm/md-tab-panels.entry.js +3 -3
  510. package/dist/esm/md-tab.entry.js +6 -6
  511. package/dist/esm/md-table-body.entry.js +3 -3
  512. package/dist/esm/md-table-cell.entry.js +4 -4
  513. package/dist/esm/md-table-container.entry.js +4 -4
  514. package/dist/esm/md-table-expand-toggle.entry.js +4 -4
  515. package/dist/esm/md-table-foot.entry.js +3 -3
  516. package/dist/esm/md-table-head.entry.js +3 -3
  517. package/dist/esm/md-table-pagination.entry.js +4 -4
  518. package/dist/esm/md-table-row.entry.js +6 -6
  519. package/dist/esm/md-table-sort-label.entry.js +4 -4
  520. package/dist/esm/md-table-toolbar.entry.js +5 -5
  521. package/dist/esm/md-table.entry.js +5 -5
  522. package/dist/esm/md-tabs.entry.js +4 -4
  523. package/dist/esm/md-text-field.entry.js +9 -9
  524. package/dist/esm/md-time-picker.entry.js +4 -4
  525. package/dist/esm/md-toolbar.entry.js +5 -5
  526. package/dist/esm/md-transfer-list.entry.js +3 -3
  527. package/dist/esm/md3.js +3 -3
  528. package/dist/esm/{overlay-lifecycle-B4XGZ4dz.js → overlay-lifecycle-CcRpkenI.js} +3 -3
  529. package/dist/esm/{overlay-lifecycle-B4XGZ4dz.js.map → overlay-lifecycle-CcRpkenI.js.map} +1 -1
  530. package/dist/esm/series-elements-BcgBd7Uo.js +86 -0
  531. package/dist/esm/series-elements-BcgBd7Uo.js.map +1 -0
  532. package/dist/md3/md3.css +1 -1
  533. package/dist/md3/md3.esm.js +1 -1
  534. package/dist/md3/p-02e4b894.entry.js +2 -0
  535. package/dist/md3/{p-6d4889c1.entry.js.map → p-02e4b894.entry.js.map} +1 -1
  536. package/dist/md3/{p-9fe46046.entry.js → p-05960ec0.entry.js} +2 -2
  537. package/dist/md3/{p-77635ead.entry.js → p-08ef6b8f.entry.js} +2 -2
  538. package/dist/md3/{p-a0f17bfb.entry.js → p-1020166c.entry.js} +2 -2
  539. package/dist/md3/{p-db74251c.entry.js → p-11531ae7.entry.js} +2 -2
  540. package/dist/md3/p-1426ea48.entry.js +2 -0
  541. package/dist/md3/p-1426ea48.entry.js.map +1 -0
  542. package/dist/md3/{p-908456a6.entry.js → p-18a1fe71.entry.js} +2 -2
  543. package/dist/md3/p-19222f36.entry.js +2 -0
  544. package/dist/md3/{p-16306734.entry.js.map → p-19222f36.entry.js.map} +1 -1
  545. package/dist/md3/{p-fd02aa37.entry.js → p-197f8e6c.entry.js} +2 -2
  546. package/dist/md3/{p-9d1c66a8.entry.js → p-1c930a91.entry.js} +2 -2
  547. package/dist/md3/p-22fd4581.entry.js +2 -0
  548. package/dist/md3/p-22fd4581.entry.js.map +1 -0
  549. package/dist/md3/{p-96cbfdca.entry.js → p-28eb088f.entry.js} +2 -2
  550. package/dist/md3/{p-ffbde7ad.entry.js → p-292823f3.entry.js} +2 -2
  551. package/dist/md3/p-2ab73869.entry.js +2 -0
  552. package/dist/md3/p-2ab73869.entry.js.map +1 -0
  553. package/dist/md3/{p-bc863e1b.entry.js → p-2b4ca89b.entry.js} +2 -2
  554. package/dist/md3/{p-af437c3c.entry.js → p-2caf7fb6.entry.js} +2 -2
  555. package/dist/md3/p-333e5f08.entry.js +2 -0
  556. package/dist/md3/p-333e5f08.entry.js.map +1 -0
  557. package/dist/md3/{p-b5a8f03c.entry.js → p-35216f14.entry.js} +2 -2
  558. package/dist/md3/{p-272ef8cb.entry.js → p-3e07b199.entry.js} +2 -2
  559. package/dist/md3/{p-c664501b.entry.js → p-3fc79692.entry.js} +2 -2
  560. package/dist/md3/{p-1b506237.entry.js → p-45931478.entry.js} +2 -2
  561. package/dist/md3/{p-03f06a3c.entry.js → p-4a60f85d.entry.js} +2 -2
  562. package/dist/md3/{p-3d90a202.entry.js → p-4c3e159a.entry.js} +2 -2
  563. package/dist/md3/{p-0c795946.entry.js → p-50dad3c7.entry.js} +2 -2
  564. package/dist/md3/{p-1ed83da9.entry.js → p-54c42926.entry.js} +2 -2
  565. package/dist/md3/{p-eef9c775.entry.js → p-56529078.entry.js} +2 -2
  566. package/dist/md3/{p-d2692d90.entry.js → p-57084546.entry.js} +2 -2
  567. package/dist/md3/{p-3b8b58ae.entry.js → p-58eaadac.entry.js} +2 -2
  568. package/dist/md3/{p-5ec552ec.entry.js → p-63669cbe.entry.js} +2 -2
  569. package/dist/md3/{p-c7746547.entry.js → p-63c26c74.entry.js} +2 -2
  570. package/dist/md3/p-656be0be.entry.js +2 -0
  571. package/dist/md3/p-656be0be.entry.js.map +1 -0
  572. package/dist/md3/{p-8a863529.entry.js → p-6b984e4d.entry.js} +2 -2
  573. package/dist/md3/p-7a651133.entry.js +2 -0
  574. package/dist/md3/{p-4f7838e1.entry.js.map → p-7a651133.entry.js.map} +1 -1
  575. package/dist/md3/{p-097ad5a5.entry.js → p-7cbef5e9.entry.js} +2 -2
  576. package/dist/md3/p-7ce532aa.entry.js +2 -0
  577. package/dist/md3/{p-b098f546.entry.js → p-81c1fc3e.entry.js} +2 -2
  578. package/dist/md3/{p-d70d0db3.entry.js → p-891e5635.entry.js} +2 -2
  579. package/dist/md3/{p-85e00706.entry.js → p-8a037b98.entry.js} +2 -2
  580. package/dist/md3/{p-f8b52c07.entry.js → p-93d4cca0.entry.js} +2 -2
  581. package/dist/md3/{p-858dda75.entry.js → p-9aabec5d.entry.js} +2 -2
  582. package/dist/md3/{p-8077ceaf.entry.js → p-9ab44705.entry.js} +2 -2
  583. package/dist/md3/{p-a9fbc697.entry.js → p-9ed391e9.entry.js} +2 -2
  584. package/dist/md3/{p-RiA8nMw1.js → p-BOlcFCii.js} +2 -2
  585. package/dist/md3/{p-RiA8nMw1.js.map → p-BOlcFCii.js.map} +1 -1
  586. package/dist/md3/p-BcgBd7Uo.js +2 -0
  587. package/dist/md3/p-BcgBd7Uo.js.map +1 -0
  588. package/dist/md3/{p-ZTAwTx66.js → p-BgRw_myY.js} +2 -2
  589. package/dist/md3/{p-ZTAwTx66.js.map → p-BgRw_myY.js.map} +1 -1
  590. package/dist/{components/p-gd9_5R5P.js → md3/p-CUho8MPx.js} +2 -2
  591. package/dist/md3/{p-BytnCy9Z.js.map → p-CUho8MPx.js.map} +1 -1
  592. package/dist/md3/{p-Bin9vIoJ.js → p-DH_rSF2a.js} +2 -2
  593. package/dist/md3/{p-Bin9vIoJ.js.map → p-DH_rSF2a.js.map} +1 -1
  594. package/dist/md3/p-D_7JTg9V.js +2 -0
  595. package/dist/md3/p-D_7JTg9V.js.map +1 -0
  596. package/dist/md3/{p-DkJ2hl1A.js → p-DuCsV-Tv.js} +2 -2
  597. package/dist/md3/{p-DkJ2hl1A.js.map → p-DuCsV-Tv.js.map} +1 -1
  598. package/dist/md3/p-a003e769.entry.js +2 -0
  599. package/dist/md3/{p-3f8959d1.entry.js.map → p-a003e769.entry.js.map} +1 -1
  600. package/dist/md3/{p-93afcce6.entry.js → p-a7b61854.entry.js} +2 -2
  601. package/dist/md3/{p-b50448b3.entry.js → p-ac834a37.entry.js} +2 -2
  602. package/dist/md3/{p-e3211f30.entry.js → p-b3b6a95b.entry.js} +2 -2
  603. package/dist/md3/{p-67d958e6.entry.js → p-b3fb40d3.entry.js} +2 -2
  604. package/dist/md3/{p-eb3958a7.entry.js → p-b68af555.entry.js} +2 -2
  605. package/dist/md3/{p-d5a459bf.entry.js → p-b7c0e652.entry.js} +2 -2
  606. package/dist/md3/p-b7c8253a.entry.js +2 -0
  607. package/dist/md3/{p-19aea41a.entry.js → p-b88b8b01.entry.js} +2 -2
  608. package/dist/md3/{p-4d5100e0.entry.js → p-ba7975b3.entry.js} +2 -2
  609. package/dist/md3/{p-4bee383f.entry.js → p-bcb6b76c.entry.js} +2 -2
  610. package/dist/md3/{p-be2082bc.entry.js → p-be7a6e2c.entry.js} +2 -2
  611. package/dist/md3/{p-5adc9387.entry.js → p-c069c032.entry.js} +2 -2
  612. package/dist/md3/{p-6f8d6ff0.entry.js → p-c0f9a8ce.entry.js} +2 -2
  613. package/dist/md3/{p-5355af66.entry.js → p-c46dcf66.entry.js} +2 -2
  614. package/dist/md3/{p-e2b5d561.entry.js → p-c60d37e8.entry.js} +2 -2
  615. package/dist/md3/{p-94da49fa.entry.js → p-c74eecab.entry.js} +2 -2
  616. package/dist/md3/{p-b1da3d4f.entry.js → p-caab4c1f.entry.js} +2 -2
  617. package/dist/md3/p-cfff8d6e.entry.js +2 -0
  618. package/dist/md3/{p-c41bd8c9.entry.js.map → p-cfff8d6e.entry.js.map} +1 -1
  619. package/dist/md3/{p-137d6f2a.entry.js → p-d369a8c5.entry.js} +2 -2
  620. package/dist/md3/{p-2e1e04c6.entry.js → p-d76f4326.entry.js} +2 -2
  621. package/dist/md3/{p-b9e28a86.entry.js → p-d7a4c007.entry.js} +2 -2
  622. package/dist/md3/{p-26122b64.entry.js → p-d8e45f74.entry.js} +2 -2
  623. package/dist/md3/{p-47aa8306.entry.js → p-d9b44b23.entry.js} +2 -2
  624. package/dist/md3/{p-b14baec4.entry.js → p-d9e58e9d.entry.js} +2 -2
  625. package/dist/md3/{p-19e517bc.entry.js → p-da4139f6.entry.js} +2 -2
  626. package/dist/md3/p-e2442bac.entry.js +2 -0
  627. package/dist/md3/p-e2442bac.entry.js.map +1 -0
  628. package/dist/md3/{p-cb498d56.entry.js → p-e3704fc4.entry.js} +2 -2
  629. package/dist/md3/p-e6091e31.entry.js +2 -0
  630. package/dist/md3/p-e6091e31.entry.js.map +1 -0
  631. package/dist/md3/{p-8003b9d7.entry.js → p-ede7415a.entry.js} +2 -2
  632. package/dist/md3/{p-b38d7576.entry.js → p-f61cc27a.entry.js} +2 -2
  633. package/dist/md3/{p-2a220f40.entry.js → p-f7abc084.entry.js} +2 -2
  634. package/dist/md3/p-fbe29776.entry.js +2 -0
  635. package/dist/md3/p-fbe29776.entry.js.map +1 -0
  636. package/dist/md3/{p-ea762ac2.entry.js → p-fcfd76d6.entry.js} +2 -2
  637. package/dist/md3/p-feb6458b.entry.js +2 -0
  638. package/dist/md3/{p-c1ace95d.entry.js.map → p-feb6458b.entry.js.map} +1 -1
  639. package/dist/sources/1072375249d01bb6640401cf49dc3d9e87d0ebac412fcfcd1afd3b5cb37df7b7/app-data +3 -0
  640. package/dist/sources/35dadf059de729b390f3df3b0fd05fd1578e1afbd6f0fa9d382cd0d8794c32aa/series-elements.ts +81 -0
  641. package/dist/sources/54db212ca26584b16f4acb70c806fc3f94f045143349e8ec72ca2008a5162a7a/md-sparkline-point.tsx +25 -0
  642. package/dist/sources/{31256da68371b553f1d4bcf905fb37affca24680ba4be391b39695839fd4d855 → 66e71d8e4dbd2ceea6f5d062c7103815560620a7b21193bfa57d29cddba5757e}/md-sparkline.tsx +23 -8
  643. package/dist/sources/{d3f592ff8c47ce0c056b6e6cbcaa9d43687c53ebe7c8d193110a731a3e3a4af2 → 85eac5ca1350ced6718812f829f335dc5aa0026c954125260013367c738a7c9e}/index.ts +1 -0
  644. package/dist/sources/{0257008c17c104ed27ee727cf7dbbad94cf14f4148dd8e281b510dd37a34c730 → 88da03acb5e30b2d52fe3d0021dfc64d19dffb81a9f5c630b8bb67de21c9465d}/md-line-chart.tsx +31 -15
  645. package/dist/sources/{e6f1f0a964cd8962a51c61e3cdf7851c46e88a48833ea5e3da575166bde936c3 → aee3bad879c53f8a56ed81e96b445b3979341c756330370f1e41c5faee0af1a6}/md-bar-chart.tsx +30 -14
  646. package/dist/sources/c47db83f1e7e32d375ee8a963e744523d1c0455f96183657bd7d85378b063d17/md-pie-slice.css_tag_md-pie-slice_encapsulation_shadow +1 -0
  647. package/dist/sources/c47db83f1e7e32d375ee8a963e744523d1c0455f96183657bd7d85378b063d17/md-sparkline-point.css_tag_md-sparkline-point_encapsulation_shadow +1 -0
  648. package/dist/sources/c721f0ed0c4097f171e84a2ae5b4c537ad352844cffded2d805afc600255d248/md-chart-series.tsx +84 -0
  649. package/dist/sources/{2f88f34ffdcaef324270476cf641a5f8fa62c288ad7d5d92acbae19cb08f7d5c → c8e8a52259b376459bd17703d1d97716abc1fa35931cc95aedc07f1a3196b0c9}/md-area-chart.tsx +33 -17
  650. package/dist/sources/cd1f7d7eb12ae719865e4d72507e1c83935839f312f92c6006c0afda6006fc43/md-pie-slice.tsx +35 -0
  651. package/dist/sources/cf81dec71be5e02fb010aeb51bd2dab53f9abb5d4f38bd4e3fcf4fca7713a0fc/data-elements.ts +125 -0
  652. package/dist/sources/d1d5e4161ad69f87c2c806ba8c8308c99911631504a5e3c1867b7de0b5e58853/md-chart-series.css_tag_md-chart-series_encapsulation_shadow +4 -0
  653. package/dist/sources/dc5930bf3b00c49a265ba4bb975468f4d4f69b6d9f0e2eb6f6912e856fe5f27f/app-data +3 -0
  654. package/dist/sources/{7a73bbcfec9d73868501427987950513fe4f7261f768148ed765bd98327cf27e → e82b4aa8f83e6d24aaa681939bc983114812458c3973d18c664c2d59697e81bd}/md-pie-chart.tsx +25 -11
  655. package/dist/sources/fcfb5850a256d7109a45b7925913ecd1427f826af8d94c955c17dc6a5f6a7b89/app-data +3 -0
  656. package/dist/types/components/md-area-chart/md-area-chart.d.ts +9 -5
  657. package/dist/types/components/md-bar-chart/md-bar-chart.d.ts +7 -3
  658. package/dist/types/components/md-chart-series/md-chart-series.d.ts +61 -0
  659. package/dist/types/components/md-line-chart/md-line-chart.d.ts +5 -1
  660. package/dist/types/components/md-pie-chart/md-pie-chart.d.ts +4 -0
  661. package/dist/types/components/md-pie-slice/md-pie-slice.d.ts +25 -0
  662. package/dist/types/components/md-sparkline/md-sparkline.d.ts +5 -1
  663. package/dist/types/components/md-sparkline-point/md-sparkline-point.d.ts +14 -0
  664. package/dist/types/components.d.ts +429 -18
  665. package/dist/types/index.d.ts +1 -1
  666. package/dist/types/utils/charts/data-elements.d.ts +32 -0
  667. package/dist/types/utils/charts/series-elements.d.ts +38 -0
  668. package/hydrate/index.js +734 -190
  669. package/hydrate/index.mjs +734 -190
  670. package/package.json +2 -2
  671. package/src/components/md-chart-series/readme.md +25 -0
  672. package/src/components/md-pie-slice/readme.md +21 -0
  673. package/src/components/md-sparkline-point/readme.md +19 -0
  674. package/dist/components/p-CspVD-eh.js.map +0 -1
  675. package/dist/components-csr/p-B37-0L5e.js.map +0 -1
  676. package/dist/md3/p-0baf9f88.entry.js +0 -2
  677. package/dist/md3/p-0baf9f88.entry.js.map +0 -1
  678. package/dist/md3/p-16306734.entry.js +0 -2
  679. package/dist/md3/p-2f99585e.entry.js +0 -2
  680. package/dist/md3/p-2f99585e.entry.js.map +0 -1
  681. package/dist/md3/p-3d251149.entry.js +0 -2
  682. package/dist/md3/p-3d251149.entry.js.map +0 -1
  683. package/dist/md3/p-3d703571.entry.js +0 -2
  684. package/dist/md3/p-3d703571.entry.js.map +0 -1
  685. package/dist/md3/p-3f8959d1.entry.js +0 -2
  686. package/dist/md3/p-4f7838e1.entry.js +0 -2
  687. package/dist/md3/p-6d4889c1.entry.js +0 -2
  688. package/dist/md3/p-9379dfca.entry.js +0 -2
  689. package/dist/md3/p-9379dfca.entry.js.map +0 -1
  690. package/dist/md3/p-9f0f41c8.entry.js +0 -2
  691. package/dist/md3/p-c1ace95d.entry.js +0 -2
  692. package/dist/md3/p-c41bd8c9.entry.js +0 -2
  693. package/dist/md3/p-de0967a6.entry.js +0 -2
  694. package/dist/sources/249f56e5f4c1e582903551d8d8a39d83e268058e66194832a21408420ea4a5fb/app-data +0 -3
  695. package/dist/sources/a9800d32bbcaf3d8baa4abf6f1c13d77f4f7e22dd03bfd1c90ad1cc9c5ac49a9/app-data +0 -3
  696. package/dist/sources/bb0c438a1a8f4b6d77c43db8d11b2366bfa6c0c48d4daa3ebbdbcd2bdefa4749/app-data +0 -3
  697. /package/dist/components/{p-gd9_5R5P.js.map → p-0hoYij4e.js.map} +0 -0
  698. /package/dist/components/{p-WQOlnYmQ.js.map → p-8ZntJ7QX.js.map} +0 -0
  699. /package/dist/components/{p-DIGH4LlS.js.map → p-Be_QxD6y.js.map} +0 -0
  700. /package/dist/components/{p-BcOsCkxa.js.map → p-C9Z-3TKn.js.map} +0 -0
  701. /package/dist/components/{p-CGKlSro0.js.map → p-CWveMYei.js.map} +0 -0
  702. /package/dist/components/{p-DoJOR0pW.js.map → p-CXuNI4mJ.js.map} +0 -0
  703. /package/dist/components/{p-BCAoGEfF.js.map → p-CjebvGxr.js.map} +0 -0
  704. /package/dist/components/{p-BWCwdLDy.js.map → p-Cui8F6rf.js.map} +0 -0
  705. /package/dist/components/{p-B9jJRlnU.js.map → p-D9C2BtN-.js.map} +0 -0
  706. /package/dist/components/{p-AD7q8XNf.js.map → p-DI0ebvMQ.js.map} +0 -0
  707. /package/dist/components/{p-BJAKwQqQ.js.map → p-DM30Y_8c.js.map} +0 -0
  708. /package/dist/components/{p-CXOHmY2w.js.map → p-DTAVEp79.js.map} +0 -0
  709. /package/dist/components/{p-C6Dk5I_4.js.map → p-DoQ8iQ1K.js.map} +0 -0
  710. /package/dist/components/{p-CjV5tPMM.js.map → p-OutEvCQi.js.map} +0 -0
  711. /package/dist/components/{p-D_fs8IXJ.js.map → p-bn_S0ywb.js.map} +0 -0
  712. /package/dist/components/{p-63ROhs5i.js.map → p-xuLJPnDM.js.map} +0 -0
  713. /package/dist/components/{p-KXxaSDnZ.js.map → p-y5Rx7xpR.js.map} +0 -0
  714. /package/dist/components-csr/{p-C7SO-MXq.js.map → p--clgeNUW.js.map} +0 -0
  715. /package/dist/components-csr/{p-BT43J7lo.js.map → p-17dQVZNR.js.map} +0 -0
  716. /package/dist/components-csr/{p-B3y4Sfu7.js.map → p-B28l7X5i.js.map} +0 -0
  717. /package/dist/components-csr/{p-CZp-Xecz.js.map → p-B2vk3_BC.js.map} +0 -0
  718. /package/dist/components-csr/{p-D5zCIaks.js.map → p-BwQyYHuZ.js.map} +0 -0
  719. /package/dist/components-csr/{p-Cr1trPWZ.js.map → p-C9XZMCL-.js.map} +0 -0
  720. /package/dist/components-csr/{p-CWxDc07j.js.map → p-D-dmT5kY.js.map} +0 -0
  721. /package/dist/components-csr/{p-CQoO26r0.js.map → p-D6ADzLya.js.map} +0 -0
  722. /package/dist/components-csr/{p-mPtoRtT7.js.map → p-D7AEBQIw.js.map} +0 -0
  723. /package/dist/components-csr/{p-B_K-3G0S.js.map → p-D9cIx3li.js.map} +0 -0
  724. /package/dist/components-csr/{p-Ca8f4AyH.js.map → p-DERBQrj5.js.map} +0 -0
  725. /package/dist/components-csr/{p-CUMT_XYv.js.map → p-DFJO04Vn.js.map} +0 -0
  726. /package/dist/components-csr/{p-Px_e-xy9.js.map → p-DH9RCl21.js.map} +0 -0
  727. /package/dist/components-csr/{p-CB_bjwk9.js.map → p-DHw4bV7s.js.map} +0 -0
  728. /package/dist/components-csr/{p-BuMwJsnQ.js.map → p-DeGXyF1I.js.map} +0 -0
  729. /package/dist/components-csr/{p-DQL7SnR8.js.map → p-jG7JIK7t.js.map} +0 -0
  730. /package/dist/components-csr/{p-CvTDNP2i.js.map → p-oV2Z2HiI.js.map} +0 -0
  731. /package/dist/md3/{p-9fe46046.entry.js.map → p-05960ec0.entry.js.map} +0 -0
  732. /package/dist/md3/{p-77635ead.entry.js.map → p-08ef6b8f.entry.js.map} +0 -0
  733. /package/dist/md3/{p-a0f17bfb.entry.js.map → p-1020166c.entry.js.map} +0 -0
  734. /package/dist/md3/{p-db74251c.entry.js.map → p-11531ae7.entry.js.map} +0 -0
  735. /package/dist/md3/{p-908456a6.entry.js.map → p-18a1fe71.entry.js.map} +0 -0
  736. /package/dist/md3/{p-fd02aa37.entry.js.map → p-197f8e6c.entry.js.map} +0 -0
  737. /package/dist/md3/{p-9d1c66a8.entry.js.map → p-1c930a91.entry.js.map} +0 -0
  738. /package/dist/md3/{p-96cbfdca.entry.js.map → p-28eb088f.entry.js.map} +0 -0
  739. /package/dist/md3/{p-ffbde7ad.entry.js.map → p-292823f3.entry.js.map} +0 -0
  740. /package/dist/md3/{p-bc863e1b.entry.js.map → p-2b4ca89b.entry.js.map} +0 -0
  741. /package/dist/md3/{p-af437c3c.entry.js.map → p-2caf7fb6.entry.js.map} +0 -0
  742. /package/dist/md3/{p-b5a8f03c.entry.js.map → p-35216f14.entry.js.map} +0 -0
  743. /package/dist/md3/{p-272ef8cb.entry.js.map → p-3e07b199.entry.js.map} +0 -0
  744. /package/dist/md3/{p-c664501b.entry.js.map → p-3fc79692.entry.js.map} +0 -0
  745. /package/dist/md3/{p-1b506237.entry.js.map → p-45931478.entry.js.map} +0 -0
  746. /package/dist/md3/{p-03f06a3c.entry.js.map → p-4a60f85d.entry.js.map} +0 -0
  747. /package/dist/md3/{p-3d90a202.entry.js.map → p-4c3e159a.entry.js.map} +0 -0
  748. /package/dist/md3/{p-0c795946.entry.js.map → p-50dad3c7.entry.js.map} +0 -0
  749. /package/dist/md3/{p-1ed83da9.entry.js.map → p-54c42926.entry.js.map} +0 -0
  750. /package/dist/md3/{p-eef9c775.entry.js.map → p-56529078.entry.js.map} +0 -0
  751. /package/dist/md3/{p-d2692d90.entry.js.map → p-57084546.entry.js.map} +0 -0
  752. /package/dist/md3/{p-3b8b58ae.entry.js.map → p-58eaadac.entry.js.map} +0 -0
  753. /package/dist/md3/{p-5ec552ec.entry.js.map → p-63669cbe.entry.js.map} +0 -0
  754. /package/dist/md3/{p-c7746547.entry.js.map → p-63c26c74.entry.js.map} +0 -0
  755. /package/dist/md3/{p-8a863529.entry.js.map → p-6b984e4d.entry.js.map} +0 -0
  756. /package/dist/md3/{p-097ad5a5.entry.js.map → p-7cbef5e9.entry.js.map} +0 -0
  757. /package/dist/md3/{p-9f0f41c8.entry.js.map → p-7ce532aa.entry.js.map} +0 -0
  758. /package/dist/md3/{p-b098f546.entry.js.map → p-81c1fc3e.entry.js.map} +0 -0
  759. /package/dist/md3/{p-d70d0db3.entry.js.map → p-891e5635.entry.js.map} +0 -0
  760. /package/dist/md3/{p-85e00706.entry.js.map → p-8a037b98.entry.js.map} +0 -0
  761. /package/dist/md3/{p-f8b52c07.entry.js.map → p-93d4cca0.entry.js.map} +0 -0
  762. /package/dist/md3/{p-858dda75.entry.js.map → p-9aabec5d.entry.js.map} +0 -0
  763. /package/dist/md3/{p-8077ceaf.entry.js.map → p-9ab44705.entry.js.map} +0 -0
  764. /package/dist/md3/{p-a9fbc697.entry.js.map → p-9ed391e9.entry.js.map} +0 -0
  765. /package/dist/md3/{p-93afcce6.entry.js.map → p-a7b61854.entry.js.map} +0 -0
  766. /package/dist/md3/{p-b50448b3.entry.js.map → p-ac834a37.entry.js.map} +0 -0
  767. /package/dist/md3/{p-e3211f30.entry.js.map → p-b3b6a95b.entry.js.map} +0 -0
  768. /package/dist/md3/{p-67d958e6.entry.js.map → p-b3fb40d3.entry.js.map} +0 -0
  769. /package/dist/md3/{p-eb3958a7.entry.js.map → p-b68af555.entry.js.map} +0 -0
  770. /package/dist/md3/{p-d5a459bf.entry.js.map → p-b7c0e652.entry.js.map} +0 -0
  771. /package/dist/md3/{p-de0967a6.entry.js.map → p-b7c8253a.entry.js.map} +0 -0
  772. /package/dist/md3/{p-19aea41a.entry.js.map → p-b88b8b01.entry.js.map} +0 -0
  773. /package/dist/md3/{p-4d5100e0.entry.js.map → p-ba7975b3.entry.js.map} +0 -0
  774. /package/dist/md3/{p-4bee383f.entry.js.map → p-bcb6b76c.entry.js.map} +0 -0
  775. /package/dist/md3/{p-be2082bc.entry.js.map → p-be7a6e2c.entry.js.map} +0 -0
  776. /package/dist/md3/{p-5adc9387.entry.js.map → p-c069c032.entry.js.map} +0 -0
  777. /package/dist/md3/{p-6f8d6ff0.entry.js.map → p-c0f9a8ce.entry.js.map} +0 -0
  778. /package/dist/md3/{p-5355af66.entry.js.map → p-c46dcf66.entry.js.map} +0 -0
  779. /package/dist/md3/{p-e2b5d561.entry.js.map → p-c60d37e8.entry.js.map} +0 -0
  780. /package/dist/md3/{p-94da49fa.entry.js.map → p-c74eecab.entry.js.map} +0 -0
  781. /package/dist/md3/{p-b1da3d4f.entry.js.map → p-caab4c1f.entry.js.map} +0 -0
  782. /package/dist/md3/{p-137d6f2a.entry.js.map → p-d369a8c5.entry.js.map} +0 -0
  783. /package/dist/md3/{p-2e1e04c6.entry.js.map → p-d76f4326.entry.js.map} +0 -0
  784. /package/dist/md3/{p-b9e28a86.entry.js.map → p-d7a4c007.entry.js.map} +0 -0
  785. /package/dist/md3/{p-26122b64.entry.js.map → p-d8e45f74.entry.js.map} +0 -0
  786. /package/dist/md3/{p-47aa8306.entry.js.map → p-d9b44b23.entry.js.map} +0 -0
  787. /package/dist/md3/{p-b14baec4.entry.js.map → p-d9e58e9d.entry.js.map} +0 -0
  788. /package/dist/md3/{p-19e517bc.entry.js.map → p-da4139f6.entry.js.map} +0 -0
  789. /package/dist/md3/{p-cb498d56.entry.js.map → p-e3704fc4.entry.js.map} +0 -0
  790. /package/dist/md3/{p-8003b9d7.entry.js.map → p-ede7415a.entry.js.map} +0 -0
  791. /package/dist/md3/{p-b38d7576.entry.js.map → p-f61cc27a.entry.js.map} +0 -0
  792. /package/dist/md3/{p-2a220f40.entry.js.map → p-f7abc084.entry.js.map} +0 -0
  793. /package/dist/md3/{p-ea762ac2.entry.js.map → p-fcfd76d6.entry.js.map} +0 -0
@@ -0,0 +1,125 @@
1
+ import type { MdPieDatum } from '../../components/md-pie-chart/md-pie-chart.types';
2
+ import type { MdChartAxisValue } from './types';
3
+
4
+ /** Internal notifications; public interaction events stay on the chart. */
5
+ export const PIE_SLICE_CHANGE = 'mdPieSliceChange';
6
+ export const SPARKLINE_POINT_CHANGE = 'mdSparklinePointChange';
7
+ export const PIE_SLICE_FIELDS = {
8
+ label: 'label', value: 'value', color: 'color', selected: 'selected', radius: 'radius',
9
+ sliceId: 'id', sliceHidden: 'hidden', childSlices: 'children',
10
+ } as const satisfies Record<string, keyof MdPieDatum>;
11
+
12
+ const directChildren = (host: Element, tag: string) => Array.from(host.children)
13
+ .filter(child => child.localName === tag && !child.getAttribute('slot'));
14
+
15
+ /** Pure HTML/SSR decoder; typed arrays retain their identity. */
16
+ export function readPieChildren(value: unknown): MdPieDatum[] | null | undefined {
17
+ if (typeof value === 'string') {
18
+ try { value = JSON.parse(value); } catch { return undefined; }
19
+ }
20
+ return value === null || Array.isArray(value) ? value : undefined;
21
+ }
22
+
23
+ /** No descriptors means the caller must keep its legacy array unchanged. */
24
+ export function readPieSlices(host: Element): MdPieDatum[] | undefined {
25
+ const children = directChildren(host, 'md-pie-slice');
26
+ if (!children.length) return undefined;
27
+ return children.map(child => {
28
+ const props = child as unknown as Record<string, unknown>;
29
+ const datum: Record<string, unknown> = { label: '', value: 0 };
30
+ for (const [prop, field] of Object.entries(PIE_SLICE_FIELDS)) {
31
+ const value = prop === 'childSlices' ? readPieChildren(props[prop]) : props[prop];
32
+ if (value !== undefined) datum[field] = value;
33
+ }
34
+ const nested = readPieSlices(child);
35
+ if (nested !== undefined) datum.children = nested;
36
+ return datum as unknown as MdPieDatum;
37
+ });
38
+ }
39
+
40
+ /** A missing, removed or explicit null attribute is a gap, never numeric zero. */
41
+ export function readSparklineValue(value: unknown): number | null {
42
+ if (typeof value === 'string') {
43
+ const text = value.trim();
44
+ if (!text || text === 'null') return null;
45
+ value = Number(text);
46
+ }
47
+ return typeof value === 'number' && Number.isFinite(value) ? value : null;
48
+ }
49
+
50
+ /** Preserve label types through SSR without treating ordinary HTML text as JSON. */
51
+ export function readSparklineLabel(value: unknown): unknown {
52
+ if (value == null) return undefined;
53
+ if (typeof value !== 'string') return value;
54
+ try {
55
+ const envelope: unknown = JSON.parse(value);
56
+ if (!envelope || typeof envelope !== 'object' || Array.isArray(envelope)) return value;
57
+ const record = envelope as Record<string, unknown>;
58
+ if (Object.keys(record).length !== 2 || !Object.prototype.hasOwnProperty.call(record, '$awcPointLabel') || !Object.prototype.hasOwnProperty.call(record, 'value')) return value;
59
+ if (record.$awcPointLabel === 'string' && typeof record.value === 'string') return record.value;
60
+ if (record.$awcPointLabel === 'number' && typeof record.value === 'number' && Number.isFinite(record.value)) return record.value;
61
+ if (record.$awcPointLabel === 'null' && record.value === null) return null;
62
+ if (record.$awcPointLabel === 'date' && typeof record.value === 'string') {
63
+ const date = new Date(record.value);
64
+ if (Number.isFinite(date.getTime()) && date.toISOString() === record.value) return date;
65
+ }
66
+ } catch { /* An ordinary HTML label is a literal string. */ }
67
+ return value;
68
+ }
69
+
70
+ export interface SparklinePoints {
71
+ data: (number | null)[];
72
+ labels: (MdChartAxisValue | undefined)[];
73
+ }
74
+ export function readSparklinePoints(host: Element): SparklinePoints | undefined {
75
+ const children = directChildren(host, 'md-sparkline-point');
76
+ if (!children.length) return undefined;
77
+ return {
78
+ data: children.map(child => readSparklineValue((child as unknown as { value?: unknown }).value)),
79
+ labels: children.map(child => (child as unknown as { label?: MdChartAxisValue }).label),
80
+ };
81
+ }
82
+
83
+ /** Child labels are partial overrides; entirely omitted labels preserve identity. */
84
+ export function resolveSparklineLabels(points: SparklinePoints | undefined, labels: MdChartAxisValue[] | undefined): MdChartAxisValue[] | undefined {
85
+ if (!points || !points.labels.some(label => label !== undefined)) return labels;
86
+ return points.labels.map((label, index) => label !== undefined ? label : labels?.[index] !== undefined ? labels[index] : index);
87
+ }
88
+
89
+ /** Observe only valid descriptor chains, including pie descendants at any depth. */
90
+ function observeData<T>(host: HTMLElement, tag: string, event: string, recursive: boolean, read: (host: HTMLElement) => T, changed: (value: T) => void): () => void {
91
+ let active = true;
92
+ let queued = false;
93
+ const belongs = (node: Element | null): boolean => {
94
+ if (node === host) return true;
95
+ while (node && node !== host) {
96
+ if (node.localName !== tag || node.getAttribute('slot')) return false;
97
+ node = node.parentElement;
98
+ if (!recursive) return node === host;
99
+ }
100
+ return node === host;
101
+ };
102
+ const refresh = () => {
103
+ if (!active || queued) return;
104
+ queued = true;
105
+ queueMicrotask(() => { queued = false; if (active) changed(read(host)); });
106
+ };
107
+ const onChange = (notification: Event) => {
108
+ const target = notification.target as Element | null;
109
+ if (target?.localName === tag && belongs(target)) refresh();
110
+ };
111
+ const observer = typeof MutationObserver === 'undefined' ? undefined : new MutationObserver(records => {
112
+ if (records.some(record => record.type === 'childList'
113
+ ? record.target === host || (recursive && record.target.nodeType === 1 && belongs(record.target as Element))
114
+ : record.target.nodeType === 1 && (record.target as Element).localName === tag && (record.target.parentElement === host || (recursive && belongs(record.target.parentElement))))) refresh();
115
+ });
116
+ observer?.observe(host, { childList: true, attributes: true, attributeFilter: ['slot'], subtree: true });
117
+ host.addEventListener(event, onChange);
118
+ changed(read(host));
119
+ return () => { active = false; observer?.disconnect(); host.removeEventListener(event, onChange); };
120
+ }
121
+
122
+ export const observePieSlices = (host: HTMLElement, changed: (slices: MdPieDatum[] | undefined) => void) =>
123
+ observeData(host, 'md-pie-slice', PIE_SLICE_CHANGE, true, readPieSlices, changed);
124
+ export const observeSparklinePoints = (host: HTMLElement, changed: (points: SparklinePoints | undefined) => void) =>
125
+ observeData(host, 'md-sparkline-point', SPARKLINE_POINT_CHANGE, false, readSparklinePoints, changed);
@@ -0,0 +1,4 @@
1
+ /* Descriptors never occupy layout or expose their contents as chart UI. */
2
+ :host {
3
+ display: none !important;
4
+ }
@@ -0,0 +1,3 @@
1
+ export const NAMESPACE = 'md3';
2
+ export const BUILD = /* md3 */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, deserializer: true, devTools: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: false, isDebug: false, isDev: false, isTesting: false, lazyLoad: false, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propChangeCallback: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, serializer: false, shadowDelegatesFocus: true, shadowDom: true, shadowSlotAssignmentManual: false, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true };
3
+ export const Env = /* md3 */ {};
@@ -30,6 +30,7 @@ import {
30
30
  type MdChartTooltipTrigger,
31
31
  watchMdChartTheme,
32
32
  } from '../../utils/charts';
33
+ import { observePieSlices } from '../../utils/charts/data-elements';
33
34
  import { mirrorLegend } from '../../utils/charts/engine/rtl';
34
35
  import type { MdPieDatum } from './md-pie-chart.types';
35
36
 
@@ -65,9 +66,14 @@ function findSiblings(items: MdPieDatum[], d: MdPieDatum): MdPieDatum[] | null {
65
66
  export class MdPieChart {
66
67
  @Element() el!: HTMLElement;
67
68
 
69
+ @State() private childSlices: MdPieDatum[] | undefined;
70
+ private disposeSliceWatch?: () => void;
71
+ private get effectiveData(): MdPieDatum[] { return this.childSlices ?? this.data; }
72
+
68
73
  @Prop() label: string = '';
69
74
  /** Title alignment over the chart: `start` (left), `center`, or `end` (right). */
70
75
  @Prop({ attribute: 'title-align' }) titleAlign: MdChartTitleAlign = 'start';
76
+ /** Fallback when no direct default-slot md-pie-slice children are present. */
71
77
  @Prop() data: MdPieDatum[] = [];
72
78
 
73
79
  /** Inner radius (`"0%"` = pie, `"60%"` = donut, or px number). */
@@ -250,6 +256,8 @@ export class MdPieChart {
250
256
  }
251
257
  disconnectedCallback() {
252
258
  disconnectInteractionMotion(this);
259
+ this.disposeSliceWatch?.();
260
+ this.disposeSliceWatch = undefined;
253
261
  this.ro?.disconnect();
254
262
  this.ro = null;
255
263
  this.engine?.dispose();
@@ -422,7 +430,7 @@ export class MdPieChart {
422
430
  if (d.children?.length) walk(d.children, level + 1, at, color);
423
431
  });
424
432
  };
425
- walk(this.data ?? [], 0, undefined);
433
+ walk(this.effectiveData ?? [], 0, undefined);
426
434
  return out;
427
435
  }
428
436
 
@@ -443,7 +451,7 @@ export class MdPieChart {
443
451
  if (d.children?.length) walk(d.children);
444
452
  }
445
453
  };
446
- walk(this.data ?? []);
454
+ walk(this.effectiveData ?? []);
447
455
  return out;
448
456
  }
449
457
 
@@ -452,7 +460,7 @@ export class MdPieChart {
452
460
  // `t.palette` is the role cycle: primary, tertiary, secondary, error, then
453
461
  // the containers. Take the three non-semantic accents off the front as the
454
462
  // ramp's anchors.
455
- const palette = harmonicPalette(t.palette.slice(0, 3), this.data.length, {
463
+ const palette = harmonicPalette(t.palette.slice(0, 3), this.effectiveData.length, {
456
464
  light: t.surface,
457
465
  dark: t.textColor,
458
466
  });
@@ -528,20 +536,20 @@ export class MdPieChart {
528
536
  * behaviour can't drift from theirs the way the hand-rolled one did. */
529
537
  private rebuildA11yTable() {
530
538
  if (!this.a11yTableHost) return;
531
- const total = this.data.reduce((acc, d) => acc + d.value, 0);
539
+ const total = this.effectiveData.reduce((acc, d) => acc + d.value, 0);
532
540
  const lb = this.tableLabels ?? {};
533
541
  this.a11yTableHost.innerHTML = buildDataTableHtml({
534
542
  title: this.label,
535
543
  xAxisLabel: lb.category ?? 'Category',
536
- xAxisData: this.data.map(d => d.label),
544
+ xAxisData: this.effectiveData.map(d => d.label),
537
545
  locale: this.locale,
538
546
  // A pie's rows are its slices, so each "series" here is one column of the
539
547
  // table: the value, and the share it represents.
540
548
  series: [
541
- { label: lb.value ?? 'Value', data: this.data.map(d => d.value) },
549
+ { label: lb.value ?? 'Value', data: this.effectiveData.map(d => d.value) },
542
550
  {
543
551
  label: lb.share ?? 'Share',
544
- data: this.data.map(d => (total > 0 ? (d.value / total) * 100 : 0)),
552
+ data: this.effectiveData.map(d => (total > 0 ? (d.value / total) * 100 : 0)),
545
553
  },
546
554
  ],
547
555
  valueFormatter: v => (v == null ? '—' : this.formatValue(v)),
@@ -633,8 +641,8 @@ export class MdPieChart {
633
641
  // Against its OWN level, not the whole tree: a version is a share of its
634
642
  // browser, and reading it as a share of every slice on the chart — parents
635
643
  // and children together — would be a percentage of nothing.
636
- const siblings = this.data?.some((x) => x.children?.length)
637
- ? (findSiblings(this.data ?? [], d) ?? flat)
644
+ const siblings = this.effectiveData?.some((x) => x.children?.length)
645
+ ? (findSiblings(this.effectiveData ?? [], d) ?? flat)
638
646
  : flat;
639
647
  const total = siblings.reduce((acc, x) => acc + x.value, 0);
640
648
  const pct = total > 0 ? (d.value / total) * 100 : 0;
@@ -647,13 +655,13 @@ export class MdPieChart {
647
655
  render() {
648
656
  // While loading, the loader owns the box — an empty-state message under it
649
657
  // would just be the wrong answer to "where is my data?".
650
- const empty = this.data.length === 0 && !this.loading;
658
+ const empty = this.effectiveData.length === 0 && !this.loading;
651
659
  const summary =
652
660
  this.summary ||
653
661
  buildChartSummary({
654
662
  title: this.label,
655
663
  chartType: 'pie',
656
- seriesCount: this.data.length,
664
+ seriesCount: this.effectiveData.length,
657
665
  locale: this.locale,
658
666
  });
659
667
  return (
@@ -669,6 +677,7 @@ export class MdPieChart {
669
677
  aria-busy={this.loading ? 'true' : null}
670
678
  style={this.heightProp ? { blockSize: this.heightProp } : undefined}
671
679
  >
680
+ <div hidden aria-hidden="true"><slot></slot></div>
672
681
  <header class="md-pie-chart__header" part="header"><slot name="header"></slot></header>
673
682
  <div
674
683
  class="md-pie-chart__canvas"
@@ -731,6 +740,11 @@ export class MdPieChart {
731
740
 
732
741
  connectedCallback() {
733
742
  reconnectInteractionMotion(this);
743
+ this.disposeSliceWatch?.();
744
+ this.disposeSliceWatch = observePieSlices(this.el, slices => {
745
+ this.childSlices = slices;
746
+ this.onAnyPropChange();
747
+ });
734
748
  }
735
749
 
736
750
  componentShouldUpdate() {
@@ -0,0 +1,3 @@
1
+ export const NAMESPACE = 'md3';
2
+ export const BUILD = /* md3 */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, deserializer: true, devTools: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: false, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propChangeCallback: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, serializer: false, shadowDelegatesFocus: true, shadowDom: true, shadowSlotAssignmentManual: false, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true };
3
+ export const Env = /* md3 */ {};
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime.js';
2
- import { LineChartEngine, type MdChartAnimation, type MdChartAxis, type MdChartAxisClickDetail, type MdChartClickDetail, type MdChartHoverDetail, type MdChartLegendPosition, type MdChartSeries, type MdChartStackMode, type MdChartTitleAlign, type MdChartTooltipRenderer, type MdChartTooltipTrigger } from '../../utils/charts/index.js';
2
+ import { LineChartEngine, type MdChartAnimation, type MdChartAxis, type MdChartAxisClickDetail, type MdChartClickDetail, type MdChartHoverDetail, type MdChartLegendPosition, type MdChartSeries as MdChartSeriesData, type MdChartStackMode, type MdChartTitleAlign, type MdChartTooltipRenderer, type MdChartTooltipTrigger } from '../../utils/charts/index.js';
3
3
  /**
4
4
  * md-area-chart — Material Design 3 area / streamgraph chart,
5
5
  * rendered by the in-house engine (Canvas2D + a DOM text
@@ -13,12 +13,16 @@ import { LineChartEngine, type MdChartAnimation, type MdChartAxis, type MdChartA
13
13
  */
14
14
  export declare class MdAreaChart {
15
15
  el: HTMLElement;
16
+ private childSeries;
17
+ private disposeSeriesWatch?;
18
+ private get effectiveSeries();
16
19
  label: string;
17
20
  /** Sub-title, drawn under the title in the muted text colour. */
18
21
  subtitle: string | undefined;
19
22
  /** Title alignment over the plot: `start` (left), `center`, or `end` (right). */
20
23
  titleAlign: MdChartTitleAlign;
21
- series: MdChartSeries[];
24
+ /** Data fallback when no direct, unslotted `md-chart-series` children are present. */
25
+ series: MdChartSeriesData[];
22
26
  xAxis: MdChartAxis | undefined;
23
27
  yAxis: MdChartAxis | undefined;
24
28
  curve: 'linear' | 'smooth' | 'monotone' | 'step' | 'step-before' | 'step-middle';
@@ -107,13 +111,13 @@ export declare class MdAreaChart {
107
111
  axisTicks: boolean;
108
112
  /** Print each point's value as a data label beside its marker. */
109
113
  showLabels: boolean;
110
- mdMarkerClick: EventEmitter<MdChartClickDetail<MdChartSeries>>;
114
+ mdMarkerClick: EventEmitter<MdChartClickDetail<MdChartSeriesData>>;
111
115
  /** Fires when a series' drawn line is clicked *between* its data points (a
112
116
  * click on a point emits `mdMarkerClick` instead). */
113
- mdLineClick: EventEmitter<MdChartClickDetail<MdChartSeries>>;
117
+ mdLineClick: EventEmitter<MdChartClickDetail<MdChartSeriesData>>;
114
118
  /** Fires when a series' filled area is clicked — the band between its line
115
119
  * and its base (its own band when stacked), excluding its line and points. */
116
- mdAreaClick: EventEmitter<MdChartClickDetail<MdChartSeries>>;
120
+ mdAreaClick: EventEmitter<MdChartClickDetail<MdChartSeriesData>>;
117
121
  /** Fires when the plot background is clicked (inside the plot, but not on a
118
122
  * mark, line or area): the nearest x plus every visible series' value there. */
119
123
  mdAxisClick: EventEmitter<MdChartAxisClickDetail>;
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime.js';
2
- import { BarChartEngine, type MdChartAnimation, type MdChartAxis, type MdChartBarLayout, type MdChartClickDetail, type MdChartHoverDetail, type MdChartLegendPosition, type MdChartSeries, type MdChartStackMode, type MdChartTitleAlign, type MdChartTooltipRenderer, type MdChartTooltipTrigger } from '../../utils/charts/index.js';
2
+ import { BarChartEngine, type MdChartAnimation, type MdChartAxis, type MdChartBarLayout, type MdChartClickDetail, type MdChartHoverDetail, type MdChartLegendPosition, type MdChartSeries as MdChartSeriesData, type MdChartStackMode, type MdChartTitleAlign, type MdChartTooltipRenderer, type MdChartTooltipTrigger } from '../../utils/charts/index.js';
3
3
  /**
4
4
  * md-bar-chart — Material Design 3 Expressive bar chart, rendered
5
5
  * by the in-house engine (Canvas2D + a DOM text overlay). No
@@ -14,6 +14,9 @@ import { BarChartEngine, type MdChartAnimation, type MdChartAxis, type MdChartBa
14
14
  */
15
15
  export declare class MdBarChart {
16
16
  el: HTMLElement;
17
+ private childSeries;
18
+ private disposeSeriesWatch?;
19
+ private get effectiveSeries();
17
20
  label: string;
18
21
  /**
19
22
  * A quieter line under the title — a source, a unit, the caveat a title
@@ -22,7 +25,8 @@ export declare class MdBarChart {
22
25
  subtitle: string | undefined;
23
26
  /** Title alignment over the plot: `start` (left), `center`, or `end` (right). */
24
27
  titleAlign: MdChartTitleAlign;
25
- series: MdChartSeries[];
28
+ /** Data fallback when no direct, unslotted `md-chart-series` children are present. */
29
+ series: MdChartSeriesData[];
26
30
  /** Category axis configuration. */
27
31
  xAxis: MdChartAxis | undefined;
28
32
  /** Value axis configuration. */
@@ -130,7 +134,7 @@ export declare class MdBarChart {
130
134
  * above a short bar.
131
135
  */
132
136
  clickable: boolean;
133
- mdBarClick: EventEmitter<MdChartClickDetail<MdChartSeries>>;
137
+ mdBarClick: EventEmitter<MdChartClickDetail<MdChartSeriesData>>;
134
138
  mdLegendClick: EventEmitter<{
135
139
  seriesIndex: number;
136
140
  seriesId?: string;
@@ -0,0 +1,61 @@
1
+ import type { MdChartColorRole, MdChartCurve, MdChartDatum, MdChartLineStyle, MdChartRangeDatum, MdChartSymbol } from '../../utils/charts/index.js';
2
+ /**
3
+ * Declarative series data for md-line-chart, md-area-chart and md-bar-chart.
4
+ * Direct, unslotted children replace the parent's series array in DOM order.
5
+ * This is a nonvisual descriptor; assign arrays and maps as JavaScript properties.
6
+ */
7
+ export declare class MdChartSeries {
8
+ el: HTMLElement;
9
+ /** Series name in legends/tooltips, separate from the parent chart's title. */
10
+ label?: string;
11
+ /** Y values (number/null); md-line-chart also accepts {x,y} points and [x,y] tuples. Reassign to update. */
12
+ data: MdChartDatum[];
13
+ /** Draw the series outline; unset inherits the parent chart default. */
14
+ stroke?: boolean;
15
+ /** Fill the series area; unset inherits the parent chart default. */
16
+ fill?: boolean;
17
+ /** Low/high range samples. Assign as a property and reassign to update. */
18
+ range?: MdChartRangeDatum[];
19
+ /** MD color role or CSS color for this series. */
20
+ color?: MdChartColorRole | string;
21
+ /** Stack group key, separate from the parent chart's stacking strategy. */
22
+ stack?: string;
23
+ /** Per-series curve interpolation. */
24
+ curve?: MdChartCurve;
25
+ /** Per-series stroke dash style. */
26
+ dash?: MdChartLineStyle;
27
+ /** Series visibility override. Standard DOM hidden does not hide a series. */
28
+ seriesHidden?: boolean;
29
+ /** Connect across null samples. */
30
+ connectNulls?: boolean;
31
+ /** Show data-point markers. */
32
+ showMarks?: boolean;
33
+ /** Marker symbol or custom path. */
34
+ symbol?: MdChartSymbol | (string & {});
35
+ /** Marker symbols indexed by data position. Assign as a property. */
36
+ pointSymbols?: Record<number, MdChartSymbol | string>;
37
+ /** Colors indexed by data position. Assign as a property. */
38
+ pointColors?: Record<number, MdChartColorRole | string>;
39
+ /** Bar width ratios indexed by data position. Assign as a property. */
40
+ pointWidths?: Record<number, number>;
41
+ /** Overlay bars instead of reserving a group position. */
42
+ overlay?: boolean;
43
+ /** Relative bar width for this series. */
44
+ widthRatio?: number;
45
+ /** Stable series identity in events and legend state. Standard DOM id is unrelated. */
46
+ seriesId?: string;
47
+ /** Index of the y-axis used by this series. */
48
+ yAxisIndex?: number;
49
+ /** Data index after which the line is dashed. */
50
+ dashAfter?: number;
51
+ /** Hollow point markers. */
52
+ hollow?: boolean;
53
+ /** Stroke width in CSS pixels. */
54
+ lineWidth?: number;
55
+ /** Marker radius in CSS pixels. */
56
+ markSize?: number;
57
+ deserializeStructuredProp(value?: unknown, prop?: string): unknown;
58
+ componentDidLoad(): void;
59
+ notifyChange(): void;
60
+ render(): null;
61
+ }
@@ -24,6 +24,9 @@ import { LineChartEngine, type MdChartAnimation, type MdChartAxis, type MdChartA
24
24
  */
25
25
  export declare class MdLineChart {
26
26
  el: HTMLElement;
27
+ private childSeries;
28
+ private disposeSeriesWatch?;
29
+ private get effectiveSeries();
27
30
  /** Optional chart title rendered above the plot. */
28
31
  label: string;
29
32
  /** Optional sub-title rendered under the title in the muted text colour. */
@@ -41,7 +44,8 @@ export declare class MdLineChart {
41
44
  * irregular data needs: uneven sampling, or several series measured on
42
45
  * completely different dates. Set `xAxis.scale = 'time'` (or `'value'`) so
43
46
  * the gaps render proportionally; series carrying their own x need no
44
- * `xAxis.data` at all.
47
+ * `xAxis.data` at all. Direct, unslotted `md-chart-series` children take
48
+ * precedence; this array remains the fallback when no such children exist.
45
49
  */
46
50
  series: MdChartXYSeries[];
47
51
  /** X-axis configuration. */
@@ -3,9 +3,13 @@ import { PieChartEngine, type MdChartAnimation, type MdChartClickDetail, type Md
3
3
  import type { MdPieDatum } from './md-pie-chart.types.js';
4
4
  export declare class MdPieChart {
5
5
  el: HTMLElement;
6
+ private childSlices;
7
+ private disposeSliceWatch?;
8
+ private get effectiveData();
6
9
  label: string;
7
10
  /** Title alignment over the chart: `start` (left), `center`, or `end` (right). */
8
11
  titleAlign: MdChartTitleAlign;
12
+ /** Fallback when no direct default-slot md-pie-slice children are present. */
9
13
  data: MdPieDatum[];
10
14
  /** Inner radius (`"0%"` = pie, `"60%"` = donut, or px number). */
11
15
  innerRadius: string | number;
@@ -0,0 +1,25 @@
1
+ import type { MdPieDatum } from '../md-pie-chart/md-pie-chart.types.js';
2
+ /** Nonvisual pie datum. Direct default-slot slices override the parent's data array. */
3
+ export declare class MdPieSlice {
4
+ el: HTMLElement;
5
+ /** Slice name in the legend, tooltip and accessible table. */
6
+ label: string;
7
+ /** Value proportional to the slice's angle. */
8
+ value: number;
9
+ /** Material color role or CSS color. */
10
+ color?: string;
11
+ /** Explode this slice outward. */
12
+ selected?: boolean;
13
+ /** Relative outer radius, interpreted by the pie chart. */
14
+ radius?: number;
15
+ /** Stable datum identity; the standard DOM id remains independent. */
16
+ sliceId?: string;
17
+ /** Datum visibility; the standard DOM hidden attribute remains independent. */
18
+ sliceHidden?: boolean;
19
+ /** Child-data fallback when there are no direct default-slot md-pie-slice children. Reassign to update. */
20
+ childSlices?: MdPieDatum[];
21
+ deserializeChildren(value?: unknown): MdPieDatum[] | null | undefined;
22
+ componentDidLoad(): void;
23
+ notifyChange(): void;
24
+ render(): any;
25
+ }
@@ -21,7 +21,11 @@ export interface MdSparklineReferenceArea {
21
21
  */
22
22
  export declare class MdSparkline {
23
23
  el: HTMLElement;
24
- /** Numeric data series. Pass `null` for gaps. */
24
+ private childPoints;
25
+ private disposePointWatch?;
26
+ private get effectiveData();
27
+ private get effectiveLabels();
28
+ /** Numeric fallback when no direct default-slot md-sparkline-point children exist. Pass `null` for gaps. */
25
29
  data: MdChartDataPoint[];
26
30
  /** Optional category labels for tooltips / a11y. */
27
31
  labels: (string | number | Date)[] | undefined;
@@ -0,0 +1,14 @@
1
+ import type { MdChartAxisValue } from '../../utils/charts/types.js';
2
+ /** Nonvisual indexed sparkline point. Missing values retain their position as gaps. */
3
+ export declare class MdSparklinePoint {
4
+ el: HTMLElement;
5
+ /** Numeric value, or null for a gap. Omission, removal and value="null" are gaps. */
6
+ value: number | null;
7
+ /** Optional tooltip/category label; missing labels inherit the parent's label at this index. */
8
+ label?: MdChartAxisValue;
9
+ deserializeValue(value?: unknown): number | null;
10
+ deserializeLabel(value?: unknown): unknown;
11
+ componentDidLoad(): void;
12
+ notifyChange(): void;
13
+ render(): null;
14
+ }