@pitchfork-ui/elements 0.0.0-stage → 0.1.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 (1628) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +73 -2
  3. package/dist/cjs/aria-5oCPUGFo.js +25 -0
  4. package/dist/cjs/aria-5oCPUGFo.js.map +1 -0
  5. package/dist/cjs/cartesian-C7GC9oo_.js +198 -0
  6. package/dist/cjs/cartesian-C7GC9oo_.js.map +1 -0
  7. package/dist/cjs/command-Du9CowoS.js +42 -0
  8. package/dist/cjs/command-Du9CowoS.js.map +1 -0
  9. package/dist/cjs/date-CzVt5Lej.js +170 -0
  10. package/dist/cjs/date-CzVt5Lej.js.map +1 -0
  11. package/dist/cjs/form-validity-BCrcqnZ7.js +37 -0
  12. package/dist/cjs/form-validity-BCrcqnZ7.js.map +1 -0
  13. package/dist/cjs/icons-Db3Bk5fj.js +81 -0
  14. package/dist/cjs/icons-Db3Bk5fj.js.map +1 -0
  15. package/dist/cjs/index-CIskGKk1.js +2307 -0
  16. package/dist/cjs/index-CIskGKk1.js.map +1 -0
  17. package/dist/cjs/index.cjs.js +5 -0
  18. package/dist/cjs/index.cjs.js.map +1 -0
  19. package/dist/cjs/keys-S3YTuCcn.js +20 -0
  20. package/dist/cjs/keys-S3YTuCcn.js.map +1 -0
  21. package/dist/cjs/loader.cjs.js +15 -0
  22. package/dist/cjs/loader.cjs.js.map +1 -0
  23. package/dist/cjs/motion-Bjlaq-ac.js +45 -0
  24. package/dist/cjs/motion-Bjlaq-ac.js.map +1 -0
  25. package/dist/cjs/nav-C4LaACXb.js +27 -0
  26. package/dist/cjs/nav-C4LaACXb.js.map +1 -0
  27. package/dist/cjs/navigation-CZce-g58.js +35 -0
  28. package/dist/cjs/navigation-CZce-g58.js.map +1 -0
  29. package/dist/cjs/number-field-DIVYv25j.js +76 -0
  30. package/dist/cjs/number-field-DIVYv25j.js.map +1 -0
  31. package/dist/cjs/pf-accordion-item.cjs.entry.js +62 -0
  32. package/dist/cjs/pf-accordion-item.cjs.entry.js.map +1 -0
  33. package/dist/cjs/pf-accordion.cjs.entry.js +146 -0
  34. package/dist/cjs/pf-accordion.cjs.entry.js.map +1 -0
  35. package/dist/cjs/pf-alert.cjs.entry.js +67 -0
  36. package/dist/cjs/pf-alert.cjs.entry.js.map +1 -0
  37. package/dist/cjs/pf-avatar-group.cjs.entry.js +120 -0
  38. package/dist/cjs/pf-avatar-group.cjs.entry.js.map +1 -0
  39. package/dist/cjs/pf-avatar.cjs.entry.js +30 -0
  40. package/dist/cjs/pf-avatar.cjs.entry.js.map +1 -0
  41. package/dist/cjs/pf-badge-group.cjs.entry.js +36 -0
  42. package/dist/cjs/pf-badge-group.cjs.entry.js.map +1 -0
  43. package/dist/cjs/pf-badge.cjs.entry.js +22 -0
  44. package/dist/cjs/pf-badge.cjs.entry.js.map +1 -0
  45. package/dist/cjs/pf-bar-chart.cjs.entry.js +112 -0
  46. package/dist/cjs/pf-bar-chart.cjs.entry.js.map +1 -0
  47. package/dist/cjs/pf-breadcrumb.cjs.entry.js +43 -0
  48. package/dist/cjs/pf-breadcrumb.cjs.entry.js.map +1 -0
  49. package/dist/cjs/pf-breadcrumbs.cjs.entry.js +96 -0
  50. package/dist/cjs/pf-breadcrumbs.cjs.entry.js.map +1 -0
  51. package/dist/cjs/pf-button-group-item.cjs.entry.js +51 -0
  52. package/dist/cjs/pf-button-group-item.cjs.entry.js.map +1 -0
  53. package/dist/cjs/pf-button-group.cjs.entry.js +102 -0
  54. package/dist/cjs/pf-button-group.cjs.entry.js.map +1 -0
  55. package/dist/cjs/pf-button.cjs.entry.js +43 -0
  56. package/dist/cjs/pf-button.cjs.entry.js.map +1 -0
  57. package/dist/cjs/pf-calendar.cjs.entry.js +222 -0
  58. package/dist/cjs/pf-calendar.cjs.entry.js.map +1 -0
  59. package/dist/cjs/pf-card-content.cjs.entry.js +20 -0
  60. package/dist/cjs/pf-card-content.cjs.entry.js.map +1 -0
  61. package/dist/cjs/pf-card-footer.cjs.entry.js +20 -0
  62. package/dist/cjs/pf-card-footer.cjs.entry.js.map +1 -0
  63. package/dist/cjs/pf-card-header.cjs.entry.js +20 -0
  64. package/dist/cjs/pf-card-header.cjs.entry.js.map +1 -0
  65. package/dist/cjs/pf-card.cjs.entry.js +20 -0
  66. package/dist/cjs/pf-card.cjs.entry.js.map +1 -0
  67. package/dist/cjs/pf-carousel-slide.cjs.entry.js +33 -0
  68. package/dist/cjs/pf-carousel-slide.cjs.entry.js.map +1 -0
  69. package/dist/cjs/pf-carousel.cjs.entry.js +170 -0
  70. package/dist/cjs/pf-carousel.cjs.entry.js.map +1 -0
  71. package/dist/cjs/pf-chart-series.cjs.entry.js +33 -0
  72. package/dist/cjs/pf-chart-series.cjs.entry.js.map +1 -0
  73. package/dist/cjs/pf-checkbox.cjs.entry.js +110 -0
  74. package/dist/cjs/pf-checkbox.cjs.entry.js.map +1 -0
  75. package/dist/cjs/pf-code-snippet.cjs.entry.js +157 -0
  76. package/dist/cjs/pf-code-snippet.cjs.entry.js.map +1 -0
  77. package/dist/cjs/pf-collapsible.cjs.entry.js +76 -0
  78. package/dist/cjs/pf-collapsible.cjs.entry.js.map +1 -0
  79. package/dist/cjs/pf-combobox.cjs.entry.js +339 -0
  80. package/dist/cjs/pf-combobox.cjs.entry.js.map +1 -0
  81. package/dist/cjs/pf-command-group.cjs.entry.js +22 -0
  82. package/dist/cjs/pf-command-group.cjs.entry.js.map +1 -0
  83. package/dist/cjs/pf-command-item.cjs.entry.js +50 -0
  84. package/dist/cjs/pf-command-item.cjs.entry.js.map +1 -0
  85. package/dist/cjs/pf-command-palette.cjs.entry.js +273 -0
  86. package/dist/cjs/pf-command-palette.cjs.entry.js.map +1 -0
  87. package/dist/cjs/pf-content-divider.cjs.entry.js +55 -0
  88. package/dist/cjs/pf-content-divider.cjs.entry.js.map +1 -0
  89. package/dist/cjs/pf-context-menu.cjs.entry.js +159 -0
  90. package/dist/cjs/pf-context-menu.cjs.entry.js.map +1 -0
  91. package/dist/cjs/pf-credit-card.cjs.entry.js +40 -0
  92. package/dist/cjs/pf-credit-card.cjs.entry.js.map +1 -0
  93. package/dist/cjs/pf-date-picker.cjs.entry.js +241 -0
  94. package/dist/cjs/pf-date-picker.cjs.entry.js.map +1 -0
  95. package/dist/cjs/pf-date-range-picker.cjs.entry.js +476 -0
  96. package/dist/cjs/pf-date-range-picker.cjs.entry.js.map +1 -0
  97. package/dist/cjs/pf-dropdown.cjs.entry.js +183 -0
  98. package/dist/cjs/pf-dropdown.cjs.entry.js.map +1 -0
  99. package/dist/cjs/pf-empty-state.cjs.entry.js +55 -0
  100. package/dist/cjs/pf-empty-state.cjs.entry.js.map +1 -0
  101. package/dist/cjs/pf-file-uploader.cjs.entry.js +312 -0
  102. package/dist/cjs/pf-file-uploader.cjs.entry.js.map +1 -0
  103. package/dist/cjs/pf-gauge-chart.cjs.entry.js +41 -0
  104. package/dist/cjs/pf-gauge-chart.cjs.entry.js.map +1 -0
  105. package/dist/cjs/pf-header-navigation.cjs.entry.js +77 -0
  106. package/dist/cjs/pf-header-navigation.cjs.entry.js.map +1 -0
  107. package/dist/cjs/pf-heatmap.cjs.entry.js +252 -0
  108. package/dist/cjs/pf-heatmap.cjs.entry.js.map +1 -0
  109. package/dist/cjs/pf-icon.cjs.entry.js +327 -0
  110. package/dist/cjs/pf-icon.cjs.entry.js.map +1 -0
  111. package/dist/cjs/pf-inline-cta.cjs.entry.js +86 -0
  112. package/dist/cjs/pf-inline-cta.cjs.entry.js.map +1 -0
  113. package/dist/cjs/pf-input.cjs.entry.js +122 -0
  114. package/dist/cjs/pf-input.cjs.entry.js.map +1 -0
  115. package/dist/cjs/pf-kbd.cjs.entry.js +27 -0
  116. package/dist/cjs/pf-kbd.cjs.entry.js.map +1 -0
  117. package/dist/cjs/pf-line-chart.cjs.entry.js +117 -0
  118. package/dist/cjs/pf-line-chart.cjs.entry.js.map +1 -0
  119. package/dist/cjs/pf-loading-dots.cjs.entry.js +24 -0
  120. package/dist/cjs/pf-loading-dots.cjs.entry.js.map +1 -0
  121. package/dist/cjs/pf-loading-skeleton.cjs.entry.js +43 -0
  122. package/dist/cjs/pf-loading-skeleton.cjs.entry.js.map +1 -0
  123. package/dist/cjs/pf-loading-spinner.cjs.entry.js +30 -0
  124. package/dist/cjs/pf-loading-spinner.cjs.entry.js.map +1 -0
  125. package/dist/cjs/pf-menu-item.cjs.entry.js +57 -0
  126. package/dist/cjs/pf-menu-item.cjs.entry.js.map +1 -0
  127. package/dist/cjs/pf-menu-separator.cjs.entry.js +20 -0
  128. package/dist/cjs/pf-menu-separator.cjs.entry.js.map +1 -0
  129. package/dist/cjs/pf-metric-card.cjs.entry.js +54 -0
  130. package/dist/cjs/pf-metric-card.cjs.entry.js.map +1 -0
  131. package/dist/cjs/pf-metric-grid.cjs.entry.js +20 -0
  132. package/dist/cjs/pf-metric-grid.cjs.entry.js.map +1 -0
  133. package/dist/cjs/pf-modal-body.cjs.entry.js +20 -0
  134. package/dist/cjs/pf-modal-body.cjs.entry.js.map +1 -0
  135. package/dist/cjs/pf-modal-footer.cjs.entry.js +20 -0
  136. package/dist/cjs/pf-modal-footer.cjs.entry.js.map +1 -0
  137. package/dist/cjs/pf-modal-header.cjs.entry.js +20 -0
  138. package/dist/cjs/pf-modal-header.cjs.entry.js.map +1 -0
  139. package/dist/cjs/pf-modal.cjs.entry.js +141 -0
  140. package/dist/cjs/pf-modal.cjs.entry.js.map +1 -0
  141. package/dist/cjs/pf-multi-select.cjs.entry.js +316 -0
  142. package/dist/cjs/pf-multi-select.cjs.entry.js.map +1 -0
  143. package/dist/cjs/pf-nav-item.cjs.entry.js +58 -0
  144. package/dist/cjs/pf-nav-item.cjs.entry.js.map +1 -0
  145. package/dist/cjs/pf-nav-section.cjs.entry.js +54 -0
  146. package/dist/cjs/pf-nav-section.cjs.entry.js.map +1 -0
  147. package/dist/cjs/pf-notification.cjs.entry.js +68 -0
  148. package/dist/cjs/pf-notification.cjs.entry.js.map +1 -0
  149. package/dist/cjs/pf-number-input.cjs.entry.js +192 -0
  150. package/dist/cjs/pf-number-input.cjs.entry.js.map +1 -0
  151. package/dist/cjs/pf-option.cjs.entry.js +50 -0
  152. package/dist/cjs/pf-option.cjs.entry.js.map +1 -0
  153. package/dist/cjs/pf-page-header.cjs.entry.js +35 -0
  154. package/dist/cjs/pf-page-header.cjs.entry.js.map +1 -0
  155. package/dist/cjs/pf-pagination.cjs.entry.js +113 -0
  156. package/dist/cjs/pf-pagination.cjs.entry.js.map +1 -0
  157. package/dist/cjs/pf-pie-chart.cjs.entry.js +94 -0
  158. package/dist/cjs/pf-pie-chart.cjs.entry.js.map +1 -0
  159. package/dist/cjs/pf-pie-slice.cjs.entry.js +36 -0
  160. package/dist/cjs/pf-pie-slice.cjs.entry.js.map +1 -0
  161. package/dist/cjs/pf-popover.cjs.entry.js +157 -0
  162. package/dist/cjs/pf-popover.cjs.entry.js.map +1 -0
  163. package/dist/cjs/pf-progress-bar.cjs.entry.js +32 -0
  164. package/dist/cjs/pf-progress-bar.cjs.entry.js.map +1 -0
  165. package/dist/cjs/pf-progress-circle.cjs.entry.js +40 -0
  166. package/dist/cjs/pf-progress-circle.cjs.entry.js.map +1 -0
  167. package/dist/cjs/pf-progress-step.cjs.entry.js +42 -0
  168. package/dist/cjs/pf-progress-step.cjs.entry.js.map +1 -0
  169. package/dist/cjs/pf-progress-steps.cjs.entry.js +99 -0
  170. package/dist/cjs/pf-progress-steps.cjs.entry.js.map +1 -0
  171. package/dist/cjs/pf-radar-axis.cjs.entry.js +33 -0
  172. package/dist/cjs/pf-radar-axis.cjs.entry.js.map +1 -0
  173. package/dist/cjs/pf-radar-chart.cjs.entry.js +185 -0
  174. package/dist/cjs/pf-radar-chart.cjs.entry.js.map +1 -0
  175. package/dist/cjs/pf-radio-button.cjs.entry.js +73 -0
  176. package/dist/cjs/pf-radio-button.cjs.entry.js.map +1 -0
  177. package/dist/cjs/pf-radio-group.cjs.entry.js +174 -0
  178. package/dist/cjs/pf-radio-group.cjs.entry.js.map +1 -0
  179. package/dist/cjs/pf-rating-badge.cjs.entry.js +35 -0
  180. package/dist/cjs/pf-rating-badge.cjs.entry.js.map +1 -0
  181. package/dist/cjs/pf-rating-stars.cjs.entry.js +46 -0
  182. package/dist/cjs/pf-rating-stars.cjs.entry.js.map +1 -0
  183. package/dist/cjs/pf-resizable.cjs.entry.js +205 -0
  184. package/dist/cjs/pf-resizable.cjs.entry.js.map +1 -0
  185. package/dist/cjs/pf-rich-text-editor.cjs.entry.js +261 -0
  186. package/dist/cjs/pf-rich-text-editor.cjs.entry.js.map +1 -0
  187. package/dist/cjs/pf-scroll-area.cjs.entry.js +43 -0
  188. package/dist/cjs/pf-scroll-area.cjs.entry.js.map +1 -0
  189. package/dist/cjs/pf-section-footer.cjs.entry.js +41 -0
  190. package/dist/cjs/pf-section-footer.cjs.entry.js.map +1 -0
  191. package/dist/cjs/pf-section-header.cjs.entry.js +37 -0
  192. package/dist/cjs/pf-section-header.cjs.entry.js.map +1 -0
  193. package/dist/cjs/pf-select.cjs.entry.js +412 -0
  194. package/dist/cjs/pf-select.cjs.entry.js.map +1 -0
  195. package/dist/cjs/pf-sidebar-navigation.cjs.entry.js +103 -0
  196. package/dist/cjs/pf-sidebar-navigation.cjs.entry.js.map +1 -0
  197. package/dist/cjs/pf-slideout-menu.cjs.entry.js +155 -0
  198. package/dist/cjs/pf-slideout-menu.cjs.entry.js.map +1 -0
  199. package/dist/cjs/pf-slider.cjs.entry.js +125 -0
  200. package/dist/cjs/pf-slider.cjs.entry.js.map +1 -0
  201. package/dist/cjs/pf-sparkline.cjs.entry.js +123 -0
  202. package/dist/cjs/pf-sparkline.cjs.entry.js.map +1 -0
  203. package/dist/cjs/pf-switch.cjs.entry.js +110 -0
  204. package/dist/cjs/pf-switch.cjs.entry.js.map +1 -0
  205. package/dist/cjs/pf-tab-panel.cjs.entry.js +41 -0
  206. package/dist/cjs/pf-tab-panel.cjs.entry.js.map +1 -0
  207. package/dist/cjs/pf-tab.cjs.entry.js +96 -0
  208. package/dist/cjs/pf-tab.cjs.entry.js.map +1 -0
  209. package/dist/cjs/pf-table-cell.cjs.entry.js +50 -0
  210. package/dist/cjs/pf-table-cell.cjs.entry.js.map +1 -0
  211. package/dist/cjs/pf-table-row.cjs.entry.js +51 -0
  212. package/dist/cjs/pf-table-row.cjs.entry.js.map +1 -0
  213. package/dist/cjs/pf-table.cjs.entry.js +145 -0
  214. package/dist/cjs/pf-table.cjs.entry.js.map +1 -0
  215. package/dist/cjs/pf-tabs.cjs.entry.js +342 -0
  216. package/dist/cjs/pf-tabs.cjs.entry.js.map +1 -0
  217. package/dist/cjs/pf-tag-input.cjs.entry.js +199 -0
  218. package/dist/cjs/pf-tag-input.cjs.entry.js.map +1 -0
  219. package/dist/cjs/pf-tag.cjs.entry.js +32 -0
  220. package/dist/cjs/pf-tag.cjs.entry.js.map +1 -0
  221. package/dist/cjs/pf-textarea.cjs.entry.js +140 -0
  222. package/dist/cjs/pf-textarea.cjs.entry.js.map +1 -0
  223. package/dist/cjs/pf-time-picker.cjs.entry.js +328 -0
  224. package/dist/cjs/pf-time-picker.cjs.entry.js.map +1 -0
  225. package/dist/cjs/pf-timeline-item.cjs.entry.js +46 -0
  226. package/dist/cjs/pf-timeline-item.cjs.entry.js.map +1 -0
  227. package/dist/cjs/pf-timeline.cjs.entry.js +55 -0
  228. package/dist/cjs/pf-timeline.cjs.entry.js.map +1 -0
  229. package/dist/cjs/pf-toaster.cjs.entry.js +90 -0
  230. package/dist/cjs/pf-toaster.cjs.entry.js.map +1 -0
  231. package/dist/cjs/pf-toolbar-separator.cjs.entry.js +22 -0
  232. package/dist/cjs/pf-toolbar-separator.cjs.entry.js.map +1 -0
  233. package/dist/cjs/pf-toolbar.cjs.entry.js +75 -0
  234. package/dist/cjs/pf-toolbar.cjs.entry.js.map +1 -0
  235. package/dist/cjs/pf-tooltip.cjs.entry.js +179 -0
  236. package/dist/cjs/pf-tooltip.cjs.entry.js.map +1 -0
  237. package/dist/cjs/pf-tree-item.cjs.entry.js +81 -0
  238. package/dist/cjs/pf-tree-item.cjs.entry.js.map +1 -0
  239. package/dist/cjs/pf-tree-view.cjs.entry.js +342 -0
  240. package/dist/cjs/pf-tree-view.cjs.entry.js.map +1 -0
  241. package/dist/cjs/pf-utility-button.cjs.entry.js +56 -0
  242. package/dist/cjs/pf-utility-button.cjs.entry.js.map +1 -0
  243. package/dist/cjs/pf-video-player.cjs.entry.js +62 -0
  244. package/dist/cjs/pf-video-player.cjs.entry.js.map +1 -0
  245. package/dist/cjs/pf-visually-hidden.cjs.entry.js +25 -0
  246. package/dist/cjs/pf-visually-hidden.cjs.entry.js.map +1 -0
  247. package/dist/cjs/pie-Bf7gKQU2.js +117 -0
  248. package/dist/cjs/pie-Bf7gKQU2.js.map +1 -0
  249. package/dist/cjs/pitchfork.cjs.js +27 -0
  250. package/dist/cjs/pitchfork.cjs.js.map +1 -0
  251. package/dist/cjs/place-popover-CMqeolzZ.js +200 -0
  252. package/dist/cjs/place-popover-CMqeolzZ.js.map +1 -0
  253. package/dist/cjs/progress-DVUoQ3h5.js +87 -0
  254. package/dist/cjs/progress-DVUoQ3h5.js.map +1 -0
  255. package/dist/cjs/rating-B-EBGYMD.js +56 -0
  256. package/dist/cjs/rating-B-EBGYMD.js.map +1 -0
  257. package/dist/cjs/roving-BNDruU3m.js +71 -0
  258. package/dist/cjs/roving-BNDruU3m.js.map +1 -0
  259. package/dist/cjs/scroll-lock-DllDwdH9.js +46 -0
  260. package/dist/cjs/scroll-lock-DllDwdH9.js.map +1 -0
  261. package/dist/cjs/text-DQvgAqew.js +59 -0
  262. package/dist/cjs/text-DQvgAqew.js.map +1 -0
  263. package/dist/cjs/value-list-zSKmhcgH.js +109 -0
  264. package/dist/cjs/value-list-zSKmhcgH.js.map +1 -0
  265. package/dist/collection/collection-manifest.json +120 -0
  266. package/dist/collection/components/pf-accordion/pf-accordion.css +10 -0
  267. package/dist/collection/components/pf-accordion/pf-accordion.js +289 -0
  268. package/dist/collection/components/pf-accordion/pf-accordion.js.map +1 -0
  269. package/dist/collection/components/pf-accordion-item/pf-accordion-item.css +94 -0
  270. package/dist/collection/components/pf-accordion-item/pf-accordion-item.js +194 -0
  271. package/dist/collection/components/pf-accordion-item/pf-accordion-item.js.map +1 -0
  272. package/dist/collection/components/pf-alert/pf-alert.css +140 -0
  273. package/dist/collection/components/pf-alert/pf-alert.js +238 -0
  274. package/dist/collection/components/pf-alert/pf-alert.js.map +1 -0
  275. package/dist/collection/components/pf-avatar/pf-avatar.css +101 -0
  276. package/dist/collection/components/pf-avatar/pf-avatar.js +152 -0
  277. package/dist/collection/components/pf-avatar/pf-avatar.js.map +1 -0
  278. package/dist/collection/components/pf-avatar-group/pf-avatar-group.css +55 -0
  279. package/dist/collection/components/pf-avatar-group/pf-avatar-group.js +222 -0
  280. package/dist/collection/components/pf-avatar-group/pf-avatar-group.js.map +1 -0
  281. package/dist/collection/components/pf-badge/pf-badge.css +43 -0
  282. package/dist/collection/components/pf-badge/pf-badge.js +59 -0
  283. package/dist/collection/components/pf-badge/pf-badge.js.map +1 -0
  284. package/dist/collection/components/pf-badge-group/pf-badge-group.css +119 -0
  285. package/dist/collection/components/pf-badge-group/pf-badge-group.js +164 -0
  286. package/dist/collection/components/pf-badge-group/pf-badge-group.js.map +1 -0
  287. package/dist/collection/components/pf-bar-chart/pf-bar-chart.css +96 -0
  288. package/dist/collection/components/pf-bar-chart/pf-bar-chart.js +263 -0
  289. package/dist/collection/components/pf-bar-chart/pf-bar-chart.js.map +1 -0
  290. package/dist/collection/components/pf-breadcrumb/pf-breadcrumb.css +40 -0
  291. package/dist/collection/components/pf-breadcrumb/pf-breadcrumb.js +160 -0
  292. package/dist/collection/components/pf-breadcrumb/pf-breadcrumb.js.map +1 -0
  293. package/dist/collection/components/pf-breadcrumbs/pf-breadcrumbs.css +27 -0
  294. package/dist/collection/components/pf-breadcrumbs/pf-breadcrumbs.js +162 -0
  295. package/dist/collection/components/pf-breadcrumbs/pf-breadcrumbs.js.map +1 -0
  296. package/dist/collection/components/pf-button/pf-button.css +134 -0
  297. package/dist/collection/components/pf-button/pf-button.js +216 -0
  298. package/dist/collection/components/pf-button/pf-button.js.map +1 -0
  299. package/dist/collection/components/pf-button-group/pf-button-group.css +14 -0
  300. package/dist/collection/components/pf-button-group/pf-button-group.js +229 -0
  301. package/dist/collection/components/pf-button-group/pf-button-group.js.map +1 -0
  302. package/dist/collection/components/pf-button-group-item/pf-button-group-item.css +103 -0
  303. package/dist/collection/components/pf-button-group-item/pf-button-group-item.js +206 -0
  304. package/dist/collection/components/pf-button-group-item/pf-button-group-item.js.map +1 -0
  305. package/dist/collection/components/pf-calendar/pf-calendar.css +151 -0
  306. package/dist/collection/components/pf-calendar/pf-calendar.js +479 -0
  307. package/dist/collection/components/pf-calendar/pf-calendar.js.map +1 -0
  308. package/dist/collection/components/pf-card/pf-card.css +17 -0
  309. package/dist/collection/components/pf-card/pf-card.js +32 -0
  310. package/dist/collection/components/pf-card/pf-card.js.map +1 -0
  311. package/dist/collection/components/pf-card-content/pf-card-content.css +8 -0
  312. package/dist/collection/components/pf-card-content/pf-card-content.js +24 -0
  313. package/dist/collection/components/pf-card-content/pf-card-content.js.map +1 -0
  314. package/dist/collection/components/pf-card-footer/pf-card-footer.css +10 -0
  315. package/dist/collection/components/pf-card-footer/pf-card-footer.js +26 -0
  316. package/dist/collection/components/pf-card-footer/pf-card-footer.js.map +1 -0
  317. package/dist/collection/components/pf-card-header/pf-card-header.css +14 -0
  318. package/dist/collection/components/pf-card-header/pf-card-header.js +24 -0
  319. package/dist/collection/components/pf-card-header/pf-card-header.js.map +1 -0
  320. package/dist/collection/components/pf-carousel/pf-carousel.css +145 -0
  321. package/dist/collection/components/pf-carousel/pf-carousel.js +397 -0
  322. package/dist/collection/components/pf-carousel/pf-carousel.js.map +1 -0
  323. package/dist/collection/components/pf-carousel-slide/pf-carousel-slide.css +12 -0
  324. package/dist/collection/components/pf-carousel-slide/pf-carousel-slide.js +106 -0
  325. package/dist/collection/components/pf-carousel-slide/pf-carousel-slide.js.map +1 -0
  326. package/dist/collection/components/pf-chart-series/pf-chart-series.css +18 -0
  327. package/dist/collection/components/pf-chart-series/pf-chart-series.js +132 -0
  328. package/dist/collection/components/pf-chart-series/pf-chart-series.js.map +1 -0
  329. package/dist/collection/components/pf-checkbox/pf-checkbox.css +77 -0
  330. package/dist/collection/components/pf-checkbox/pf-checkbox.js +324 -0
  331. package/dist/collection/components/pf-checkbox/pf-checkbox.js.map +1 -0
  332. package/dist/collection/components/pf-code-snippet/pf-code-snippet.css +164 -0
  333. package/dist/collection/components/pf-code-snippet/pf-code-snippet.js +371 -0
  334. package/dist/collection/components/pf-code-snippet/pf-code-snippet.js.map +1 -0
  335. package/dist/collection/components/pf-collapsible/pf-collapsible.css +85 -0
  336. package/dist/collection/components/pf-collapsible/pf-collapsible.js +224 -0
  337. package/dist/collection/components/pf-collapsible/pf-collapsible.js.map +1 -0
  338. package/dist/collection/components/pf-combobox/pf-combobox.css +158 -0
  339. package/dist/collection/components/pf-combobox/pf-combobox.js +753 -0
  340. package/dist/collection/components/pf-combobox/pf-combobox.js.map +1 -0
  341. package/dist/collection/components/pf-command-group/pf-command-group.css +18 -0
  342. package/dist/collection/components/pf-command-group/pf-command-group.js +57 -0
  343. package/dist/collection/components/pf-command-group/pf-command-group.js.map +1 -0
  344. package/dist/collection/components/pf-command-item/pf-command-item.css +76 -0
  345. package/dist/collection/components/pf-command-item/pf-command-item.js +142 -0
  346. package/dist/collection/components/pf-command-item/pf-command-item.js.map +1 -0
  347. package/dist/collection/components/pf-command-palette/pf-command-palette.css +113 -0
  348. package/dist/collection/components/pf-command-palette/pf-command-palette.js +503 -0
  349. package/dist/collection/components/pf-command-palette/pf-command-palette.js.map +1 -0
  350. package/dist/collection/components/pf-content-divider/pf-content-divider.css +61 -0
  351. package/dist/collection/components/pf-content-divider/pf-content-divider.js +121 -0
  352. package/dist/collection/components/pf-content-divider/pf-content-divider.js.map +1 -0
  353. package/dist/collection/components/pf-context-menu/pf-context-menu.css +58 -0
  354. package/dist/collection/components/pf-context-menu/pf-context-menu.js +331 -0
  355. package/dist/collection/components/pf-context-menu/pf-context-menu.js.map +1 -0
  356. package/dist/collection/components/pf-credit-card/pf-credit-card.css +118 -0
  357. package/dist/collection/components/pf-credit-card/pf-credit-card.js +180 -0
  358. package/dist/collection/components/pf-credit-card/pf-credit-card.js.map +1 -0
  359. package/dist/collection/components/pf-date-picker/pf-date-picker.css +141 -0
  360. package/dist/collection/components/pf-date-picker/pf-date-picker.js +696 -0
  361. package/dist/collection/components/pf-date-picker/pf-date-picker.js.map +1 -0
  362. package/dist/collection/components/pf-date-range-picker/pf-date-range-picker.css +267 -0
  363. package/dist/collection/components/pf-date-range-picker/pf-date-range-picker.js +833 -0
  364. package/dist/collection/components/pf-date-range-picker/pf-date-range-picker.js.map +1 -0
  365. package/dist/collection/components/pf-dropdown/pf-dropdown.css +57 -0
  366. package/dist/collection/components/pf-dropdown/pf-dropdown.js +369 -0
  367. package/dist/collection/components/pf-dropdown/pf-dropdown.js.map +1 -0
  368. package/dist/collection/components/pf-empty-state/pf-empty-state.css +94 -0
  369. package/dist/collection/components/pf-empty-state/pf-empty-state.js +126 -0
  370. package/dist/collection/components/pf-empty-state/pf-empty-state.js.map +1 -0
  371. package/dist/collection/components/pf-file-uploader/pf-file-uploader.css +186 -0
  372. package/dist/collection/components/pf-file-uploader/pf-file-uploader.js +557 -0
  373. package/dist/collection/components/pf-file-uploader/pf-file-uploader.js.map +1 -0
  374. package/dist/collection/components/pf-gauge-chart/pf-gauge-chart.css +83 -0
  375. package/dist/collection/components/pf-gauge-chart/pf-gauge-chart.js +186 -0
  376. package/dist/collection/components/pf-gauge-chart/pf-gauge-chart.js.map +1 -0
  377. package/dist/collection/components/pf-header-navigation/pf-header-navigation.css +83 -0
  378. package/dist/collection/components/pf-header-navigation/pf-header-navigation.js +150 -0
  379. package/dist/collection/components/pf-header-navigation/pf-header-navigation.js.map +1 -0
  380. package/dist/collection/components/pf-heatmap/pf-heatmap.css +108 -0
  381. package/dist/collection/components/pf-heatmap/pf-heatmap.js +321 -0
  382. package/dist/collection/components/pf-heatmap/pf-heatmap.js.map +1 -0
  383. package/dist/collection/components/pf-icon/bundled-icons.js +40 -0
  384. package/dist/collection/components/pf-icon/bundled-icons.js.map +1 -0
  385. package/dist/collection/components/pf-icon/custom-icons.js +37 -0
  386. package/dist/collection/components/pf-icon/custom-icons.js.map +1 -0
  387. package/dist/collection/components/pf-icon/icon-names.js +9 -0
  388. package/dist/collection/components/pf-icon/icon-names.js.map +1 -0
  389. package/dist/collection/components/pf-icon/pf-icon.css +17 -0
  390. package/dist/collection/components/pf-icon/pf-icon.js +105 -0
  391. package/dist/collection/components/pf-icon/pf-icon.js.map +1 -0
  392. package/dist/collection/components/pf-inline-cta/pf-inline-cta.css +167 -0
  393. package/dist/collection/components/pf-inline-cta/pf-inline-cta.js +263 -0
  394. package/dist/collection/components/pf-inline-cta/pf-inline-cta.js.map +1 -0
  395. package/dist/collection/components/pf-input/pf-input.css +82 -0
  396. package/dist/collection/components/pf-input/pf-input.js +421 -0
  397. package/dist/collection/components/pf-input/pf-input.js.map +1 -0
  398. package/dist/collection/components/pf-kbd/pf-kbd.css +33 -0
  399. package/dist/collection/components/pf-kbd/pf-kbd.js +102 -0
  400. package/dist/collection/components/pf-kbd/pf-kbd.js.map +1 -0
  401. package/dist/collection/components/pf-line-chart/pf-line-chart.css +98 -0
  402. package/dist/collection/components/pf-line-chart/pf-line-chart.js +294 -0
  403. package/dist/collection/components/pf-line-chart/pf-line-chart.js.map +1 -0
  404. package/dist/collection/components/pf-loading-dots/pf-loading-dots.css +75 -0
  405. package/dist/collection/components/pf-loading-dots/pf-loading-dots.js +79 -0
  406. package/dist/collection/components/pf-loading-dots/pf-loading-dots.js.map +1 -0
  407. package/dist/collection/components/pf-loading-skeleton/pf-loading-skeleton.css +54 -0
  408. package/dist/collection/components/pf-loading-skeleton/pf-loading-skeleton.js +131 -0
  409. package/dist/collection/components/pf-loading-skeleton/pf-loading-skeleton.js.map +1 -0
  410. package/dist/collection/components/pf-loading-spinner/pf-loading-spinner.css +51 -0
  411. package/dist/collection/components/pf-loading-spinner/pf-loading-spinner.js +78 -0
  412. package/dist/collection/components/pf-loading-spinner/pf-loading-spinner.js.map +1 -0
  413. package/dist/collection/components/pf-menu-item/pf-menu-item.css +70 -0
  414. package/dist/collection/components/pf-menu-item/pf-menu-item.js +167 -0
  415. package/dist/collection/components/pf-menu-item/pf-menu-item.js.map +1 -0
  416. package/dist/collection/components/pf-menu-separator/pf-menu-separator.css +11 -0
  417. package/dist/collection/components/pf-menu-separator/pf-menu-separator.js +25 -0
  418. package/dist/collection/components/pf-menu-separator/pf-menu-separator.js.map +1 -0
  419. package/dist/collection/components/pf-metric-card/pf-metric-card.css +125 -0
  420. package/dist/collection/components/pf-metric-card/pf-metric-card.js +128 -0
  421. package/dist/collection/components/pf-metric-card/pf-metric-card.js.map +1 -0
  422. package/dist/collection/components/pf-metric-grid/pf-metric-grid.css +14 -0
  423. package/dist/collection/components/pf-metric-grid/pf-metric-grid.js +29 -0
  424. package/dist/collection/components/pf-metric-grid/pf-metric-grid.js.map +1 -0
  425. package/dist/collection/components/pf-modal/pf-modal.css +94 -0
  426. package/dist/collection/components/pf-modal/pf-modal.js +325 -0
  427. package/dist/collection/components/pf-modal/pf-modal.js.map +1 -0
  428. package/dist/collection/components/pf-modal-body/pf-modal-body.css +9 -0
  429. package/dist/collection/components/pf-modal-body/pf-modal-body.js +28 -0
  430. package/dist/collection/components/pf-modal-body/pf-modal-body.js.map +1 -0
  431. package/dist/collection/components/pf-modal-footer/pf-modal-footer.css +11 -0
  432. package/dist/collection/components/pf-modal-footer/pf-modal-footer.js +28 -0
  433. package/dist/collection/components/pf-modal-footer/pf-modal-footer.js.map +1 -0
  434. package/dist/collection/components/pf-modal-header/pf-modal-header.css +10 -0
  435. package/dist/collection/components/pf-modal-header/pf-modal-header.js +28 -0
  436. package/dist/collection/components/pf-modal-header/pf-modal-header.js.map +1 -0
  437. package/dist/collection/components/pf-multi-select/pf-multi-select.css +139 -0
  438. package/dist/collection/components/pf-multi-select/pf-multi-select.js +691 -0
  439. package/dist/collection/components/pf-multi-select/pf-multi-select.js.map +1 -0
  440. package/dist/collection/components/pf-nav-item/pf-nav-item.css +125 -0
  441. package/dist/collection/components/pf-nav-item/pf-nav-item.js +220 -0
  442. package/dist/collection/components/pf-nav-item/pf-nav-item.js.map +1 -0
  443. package/dist/collection/components/pf-nav-section/pf-nav-section.css +39 -0
  444. package/dist/collection/components/pf-nav-section/pf-nav-section.js +94 -0
  445. package/dist/collection/components/pf-nav-section/pf-nav-section.js.map +1 -0
  446. package/dist/collection/components/pf-notification/pf-notification.css +200 -0
  447. package/dist/collection/components/pf-notification/pf-notification.js +234 -0
  448. package/dist/collection/components/pf-notification/pf-notification.js.map +1 -0
  449. package/dist/collection/components/pf-number-input/pf-number-input.css +137 -0
  450. package/dist/collection/components/pf-number-input/pf-number-input.js +560 -0
  451. package/dist/collection/components/pf-number-input/pf-number-input.js.map +1 -0
  452. package/dist/collection/components/pf-option/pf-option.css +46 -0
  453. package/dist/collection/components/pf-option/pf-option.js +162 -0
  454. package/dist/collection/components/pf-option/pf-option.js.map +1 -0
  455. package/dist/collection/components/pf-page-header/pf-page-header.css +101 -0
  456. package/dist/collection/components/pf-page-header/pf-page-header.js +64 -0
  457. package/dist/collection/components/pf-page-header/pf-page-header.js.map +1 -0
  458. package/dist/collection/components/pf-pagination/pf-pagination.css +109 -0
  459. package/dist/collection/components/pf-pagination/pf-pagination.js +232 -0
  460. package/dist/collection/components/pf-pagination/pf-pagination.js.map +1 -0
  461. package/dist/collection/components/pf-pie-chart/pf-pie-chart.css +115 -0
  462. package/dist/collection/components/pf-pie-chart/pf-pie-chart.js +226 -0
  463. package/dist/collection/components/pf-pie-chart/pf-pie-chart.js.map +1 -0
  464. package/dist/collection/components/pf-pie-slice/pf-pie-slice.css +37 -0
  465. package/dist/collection/components/pf-pie-slice/pf-pie-slice.js +155 -0
  466. package/dist/collection/components/pf-pie-slice/pf-pie-slice.js.map +1 -0
  467. package/dist/collection/components/pf-popover/pf-popover.css +49 -0
  468. package/dist/collection/components/pf-popover/pf-popover.js +325 -0
  469. package/dist/collection/components/pf-popover/pf-popover.js.map +1 -0
  470. package/dist/collection/components/pf-progress-bar/pf-progress-bar.css +49 -0
  471. package/dist/collection/components/pf-progress-bar/pf-progress-bar.js +121 -0
  472. package/dist/collection/components/pf-progress-bar/pf-progress-bar.js.map +1 -0
  473. package/dist/collection/components/pf-progress-circle/pf-progress-circle.css +62 -0
  474. package/dist/collection/components/pf-progress-circle/pf-progress-circle.js +170 -0
  475. package/dist/collection/components/pf-progress-circle/pf-progress-circle.js.map +1 -0
  476. package/dist/collection/components/pf-progress-step/pf-progress-step.css +167 -0
  477. package/dist/collection/components/pf-progress-step/pf-progress-step.js +176 -0
  478. package/dist/collection/components/pf-progress-step/pf-progress-step.js.map +1 -0
  479. package/dist/collection/components/pf-progress-steps/pf-progress-steps.css +35 -0
  480. package/dist/collection/components/pf-progress-steps/pf-progress-steps.js +139 -0
  481. package/dist/collection/components/pf-progress-steps/pf-progress-steps.js.map +1 -0
  482. package/dist/collection/components/pf-radar-axis/pf-radar-axis.css +26 -0
  483. package/dist/collection/components/pf-radar-axis/pf-radar-axis.js +108 -0
  484. package/dist/collection/components/pf-radar-axis/pf-radar-axis.js.map +1 -0
  485. package/dist/collection/components/pf-radar-chart/pf-radar-chart.css +123 -0
  486. package/dist/collection/components/pf-radar-chart/pf-radar-chart.js +280 -0
  487. package/dist/collection/components/pf-radar-chart/pf-radar-chart.js.map +1 -0
  488. package/dist/collection/components/pf-radio-button/pf-radio-button.css +60 -0
  489. package/dist/collection/components/pf-radio-button/pf-radio-button.js +175 -0
  490. package/dist/collection/components/pf-radio-button/pf-radio-button.js.map +1 -0
  491. package/dist/collection/components/pf-radio-group/pf-radio-group.css +36 -0
  492. package/dist/collection/components/pf-radio-group/pf-radio-group.js +420 -0
  493. package/dist/collection/components/pf-radio-group/pf-radio-group.js.map +1 -0
  494. package/dist/collection/components/pf-rating-badge/pf-rating-badge.css +48 -0
  495. package/dist/collection/components/pf-rating-badge/pf-rating-badge.js +131 -0
  496. package/dist/collection/components/pf-rating-badge/pf-rating-badge.js.map +1 -0
  497. package/dist/collection/components/pf-rating-stars/pf-rating-stars.css +54 -0
  498. package/dist/collection/components/pf-rating-stars/pf-rating-stars.js +159 -0
  499. package/dist/collection/components/pf-rating-stars/pf-rating-stars.js.map +1 -0
  500. package/dist/collection/components/pf-resizable/pf-resizable.css +83 -0
  501. package/dist/collection/components/pf-resizable/pf-resizable.js +309 -0
  502. package/dist/collection/components/pf-resizable/pf-resizable.js.map +1 -0
  503. package/dist/collection/components/pf-rich-text-editor/pf-rich-text-editor.css +136 -0
  504. package/dist/collection/components/pf-rich-text-editor/pf-rich-text-editor.js +519 -0
  505. package/dist/collection/components/pf-rich-text-editor/pf-rich-text-editor.js.map +1 -0
  506. package/dist/collection/components/pf-scroll-area/pf-scroll-area.css +62 -0
  507. package/dist/collection/components/pf-scroll-area/pf-scroll-area.js +98 -0
  508. package/dist/collection/components/pf-scroll-area/pf-scroll-area.js.map +1 -0
  509. package/dist/collection/components/pf-section-footer/pf-section-footer.css +73 -0
  510. package/dist/collection/components/pf-section-footer/pf-section-footer.js +113 -0
  511. package/dist/collection/components/pf-section-footer/pf-section-footer.js.map +1 -0
  512. package/dist/collection/components/pf-section-header/pf-section-header.css +93 -0
  513. package/dist/collection/components/pf-section-header/pf-section-header.js +113 -0
  514. package/dist/collection/components/pf-section-header/pf-section-header.js.map +1 -0
  515. package/dist/collection/components/pf-select/pf-select.css +127 -0
  516. package/dist/collection/components/pf-select/pf-select.js +712 -0
  517. package/dist/collection/components/pf-select/pf-select.js.map +1 -0
  518. package/dist/collection/components/pf-sidebar-navigation/pf-sidebar-navigation.css +69 -0
  519. package/dist/collection/components/pf-sidebar-navigation/pf-sidebar-navigation.js +191 -0
  520. package/dist/collection/components/pf-sidebar-navigation/pf-sidebar-navigation.js.map +1 -0
  521. package/dist/collection/components/pf-slideout-menu/pf-slideout-menu.css +179 -0
  522. package/dist/collection/components/pf-slideout-menu/pf-slideout-menu.js +414 -0
  523. package/dist/collection/components/pf-slideout-menu/pf-slideout-menu.js.map +1 -0
  524. package/dist/collection/components/pf-slider/pf-slider.css +119 -0
  525. package/dist/collection/components/pf-slider/pf-slider.js +419 -0
  526. package/dist/collection/components/pf-slider/pf-slider.js.map +1 -0
  527. package/dist/collection/components/pf-sparkline/pf-sparkline.css +76 -0
  528. package/dist/collection/components/pf-sparkline/pf-sparkline.js +271 -0
  529. package/dist/collection/components/pf-sparkline/pf-sparkline.js.map +1 -0
  530. package/dist/collection/components/pf-switch/pf-switch.css +79 -0
  531. package/dist/collection/components/pf-switch/pf-switch.js +329 -0
  532. package/dist/collection/components/pf-switch/pf-switch.js.map +1 -0
  533. package/dist/collection/components/pf-tab/pf-tab.css +88 -0
  534. package/dist/collection/components/pf-tab/pf-tab.js +374 -0
  535. package/dist/collection/components/pf-tab/pf-tab.js.map +1 -0
  536. package/dist/collection/components/pf-tab-panel/pf-tab-panel.css +15 -0
  537. package/dist/collection/components/pf-tab-panel/pf-tab-panel.js +95 -0
  538. package/dist/collection/components/pf-tab-panel/pf-tab-panel.js.map +1 -0
  539. package/dist/collection/components/pf-table/pf-table.css +86 -0
  540. package/dist/collection/components/pf-table/pf-table.js +353 -0
  541. package/dist/collection/components/pf-table/pf-table.js.map +1 -0
  542. package/dist/collection/components/pf-table-cell/pf-table-cell.css +77 -0
  543. package/dist/collection/components/pf-table-cell/pf-table-cell.js +226 -0
  544. package/dist/collection/components/pf-table-cell/pf-table-cell.js.map +1 -0
  545. package/dist/collection/components/pf-table-row/pf-table-row.css +21 -0
  546. package/dist/collection/components/pf-table-row/pf-table-row.js +131 -0
  547. package/dist/collection/components/pf-table-row/pf-table-row.js.map +1 -0
  548. package/dist/collection/components/pf-tabs/pf-tabs.css +108 -0
  549. package/dist/collection/components/pf-tabs/pf-tabs.js +499 -0
  550. package/dist/collection/components/pf-tabs/pf-tabs.js.map +1 -0
  551. package/dist/collection/components/pf-tag/pf-tag.css +71 -0
  552. package/dist/collection/components/pf-tag/pf-tag.js +128 -0
  553. package/dist/collection/components/pf-tag/pf-tag.js.map +1 -0
  554. package/dist/collection/components/pf-tag-input/pf-tag-input.css +80 -0
  555. package/dist/collection/components/pf-tag-input/pf-tag-input.js +533 -0
  556. package/dist/collection/components/pf-tag-input/pf-tag-input.js.map +1 -0
  557. package/dist/collection/components/pf-textarea/pf-textarea.css +70 -0
  558. package/dist/collection/components/pf-textarea/pf-textarea.js +432 -0
  559. package/dist/collection/components/pf-textarea/pf-textarea.js.map +1 -0
  560. package/dist/collection/components/pf-time-picker/pf-time-picker.css +151 -0
  561. package/dist/collection/components/pf-time-picker/pf-time-picker.js +613 -0
  562. package/dist/collection/components/pf-time-picker/pf-time-picker.js.map +1 -0
  563. package/dist/collection/components/pf-timeline/pf-timeline.css +13 -0
  564. package/dist/collection/components/pf-timeline/pf-timeline.js +109 -0
  565. package/dist/collection/components/pf-timeline/pf-timeline.js.map +1 -0
  566. package/dist/collection/components/pf-timeline-item/pf-timeline-item.css +118 -0
  567. package/dist/collection/components/pf-timeline-item/pf-timeline-item.js +115 -0
  568. package/dist/collection/components/pf-timeline-item/pf-timeline-item.js.map +1 -0
  569. package/dist/collection/components/pf-toaster/pf-toaster.css +56 -0
  570. package/dist/collection/components/pf-toaster/pf-toaster.js +255 -0
  571. package/dist/collection/components/pf-toaster/pf-toaster.js.map +1 -0
  572. package/dist/collection/components/pf-toolbar/pf-toolbar.css +23 -0
  573. package/dist/collection/components/pf-toolbar/pf-toolbar.js +131 -0
  574. package/dist/collection/components/pf-toolbar/pf-toolbar.js.map +1 -0
  575. package/dist/collection/components/pf-toolbar-separator/pf-toolbar-separator.css +19 -0
  576. package/dist/collection/components/pf-toolbar-separator/pf-toolbar-separator.js +59 -0
  577. package/dist/collection/components/pf-toolbar-separator/pf-toolbar-separator.js.map +1 -0
  578. package/dist/collection/components/pf-tooltip/pf-tooltip.css +51 -0
  579. package/dist/collection/components/pf-tooltip/pf-tooltip.js +323 -0
  580. package/dist/collection/components/pf-tooltip/pf-tooltip.js.map +1 -0
  581. package/dist/collection/components/pf-tree-item/pf-tree-item.css +115 -0
  582. package/dist/collection/components/pf-tree-item/pf-tree-item.js +315 -0
  583. package/dist/collection/components/pf-tree-item/pf-tree-item.js.map +1 -0
  584. package/dist/collection/components/pf-tree-view/pf-tree-view.css +26 -0
  585. package/dist/collection/components/pf-tree-view/pf-tree-view.js +426 -0
  586. package/dist/collection/components/pf-tree-view/pf-tree-view.js.map +1 -0
  587. package/dist/collection/components/pf-utility-button/pf-utility-button.css +100 -0
  588. package/dist/collection/components/pf-utility-button/pf-utility-button.js +199 -0
  589. package/dist/collection/components/pf-utility-button/pf-utility-button.js.map +1 -0
  590. package/dist/collection/components/pf-video-player/pf-video-player.css +77 -0
  591. package/dist/collection/components/pf-video-player/pf-video-player.js +415 -0
  592. package/dist/collection/components/pf-video-player/pf-video-player.js.map +1 -0
  593. package/dist/collection/components/pf-visually-hidden/pf-visually-hidden.css +42 -0
  594. package/dist/collection/components/pf-visually-hidden/pf-visually-hidden.js +60 -0
  595. package/dist/collection/components/pf-visually-hidden/pf-visually-hidden.js.map +1 -0
  596. package/dist/collection/form-validity.js +31 -0
  597. package/dist/collection/form-validity.js.map +1 -0
  598. package/dist/collection/index.js +2 -0
  599. package/dist/collection/index.js.map +1 -0
  600. package/dist/collection/place-popover.js +22 -0
  601. package/dist/collection/place-popover.js.map +1 -0
  602. package/dist/components/index.d.ts +35 -0
  603. package/dist/components/index.js +2 -0
  604. package/dist/components/index.js.map +1 -0
  605. package/dist/components/p-BA6CMosJ.js +2 -0
  606. package/dist/components/p-BA6CMosJ.js.map +1 -0
  607. package/dist/components/p-Bb-s2aqK.js +2 -0
  608. package/dist/components/p-Bb-s2aqK.js.map +1 -0
  609. package/dist/components/p-BmcsJLdy.js +2 -0
  610. package/dist/components/p-BmcsJLdy.js.map +1 -0
  611. package/dist/components/p-C-VLyxRR.js +2 -0
  612. package/dist/components/p-C-VLyxRR.js.map +1 -0
  613. package/dist/components/p-C4aE66tt.js +2 -0
  614. package/dist/components/p-C4aE66tt.js.map +1 -0
  615. package/dist/components/p-C9jNMqLs.js +2 -0
  616. package/dist/components/p-C9jNMqLs.js.map +1 -0
  617. package/dist/components/p-CAz7-p8y.js +2 -0
  618. package/dist/components/p-CAz7-p8y.js.map +1 -0
  619. package/dist/components/p-CC7AyfOt.js +2 -0
  620. package/dist/components/p-CC7AyfOt.js.map +1 -0
  621. package/dist/components/p-COAc4ZDB.js +2 -0
  622. package/dist/components/p-COAc4ZDB.js.map +1 -0
  623. package/dist/components/p-CSsYpnzu.js +2 -0
  624. package/dist/components/p-CSsYpnzu.js.map +1 -0
  625. package/dist/components/p-CkFjPRTe.js +7 -0
  626. package/dist/components/p-CkFjPRTe.js.map +1 -0
  627. package/dist/components/p-ClI1g7kx.js +2 -0
  628. package/dist/components/p-ClI1g7kx.js.map +1 -0
  629. package/dist/components/p-CmX-kVk-.js +2 -0
  630. package/dist/components/p-CmX-kVk-.js.map +1 -0
  631. package/dist/components/p-Cr6IXrUk.js +2 -0
  632. package/dist/components/p-Cr6IXrUk.js.map +1 -0
  633. package/dist/components/p-Cta76kgc.js +2 -0
  634. package/dist/components/p-Cta76kgc.js.map +1 -0
  635. package/dist/components/p-DSXauhXX.js +2 -0
  636. package/dist/components/p-DSXauhXX.js.map +1 -0
  637. package/dist/components/p-DToIJg5W.js +2 -0
  638. package/dist/components/p-DToIJg5W.js.map +1 -0
  639. package/dist/components/p-DVK0sUX2.js +2 -0
  640. package/dist/components/p-DVK0sUX2.js.map +1 -0
  641. package/dist/components/p-DfpCerXM.js +2 -0
  642. package/dist/components/p-DfpCerXM.js.map +1 -0
  643. package/dist/components/p-DhgtpS36.js +2 -0
  644. package/dist/components/p-DhgtpS36.js.map +1 -0
  645. package/dist/components/p-DkBJMi_M.js +2 -0
  646. package/dist/components/p-DkBJMi_M.js.map +1 -0
  647. package/dist/components/p-Dkd7BUB5.js +2 -0
  648. package/dist/components/p-Dkd7BUB5.js.map +1 -0
  649. package/dist/components/p-E7EWeR1F.js +2 -0
  650. package/dist/components/p-E7EWeR1F.js.map +1 -0
  651. package/dist/components/p-Fiuz9ck7.js +2 -0
  652. package/dist/components/p-Fiuz9ck7.js.map +1 -0
  653. package/dist/components/p-g4FlTDZx.js +2 -0
  654. package/dist/components/p-g4FlTDZx.js.map +1 -0
  655. package/dist/components/pf-accordion-item.d.ts +11 -0
  656. package/dist/components/pf-accordion-item.js +2 -0
  657. package/dist/components/pf-accordion-item.js.map +1 -0
  658. package/dist/components/pf-accordion.d.ts +11 -0
  659. package/dist/components/pf-accordion.js +2 -0
  660. package/dist/components/pf-accordion.js.map +1 -0
  661. package/dist/components/pf-alert.d.ts +11 -0
  662. package/dist/components/pf-alert.js +2 -0
  663. package/dist/components/pf-alert.js.map +1 -0
  664. package/dist/components/pf-avatar-group.d.ts +11 -0
  665. package/dist/components/pf-avatar-group.js +2 -0
  666. package/dist/components/pf-avatar-group.js.map +1 -0
  667. package/dist/components/pf-avatar.d.ts +11 -0
  668. package/dist/components/pf-avatar.js +2 -0
  669. package/dist/components/pf-avatar.js.map +1 -0
  670. package/dist/components/pf-badge-group.d.ts +11 -0
  671. package/dist/components/pf-badge-group.js +2 -0
  672. package/dist/components/pf-badge-group.js.map +1 -0
  673. package/dist/components/pf-badge.d.ts +11 -0
  674. package/dist/components/pf-badge.js +2 -0
  675. package/dist/components/pf-badge.js.map +1 -0
  676. package/dist/components/pf-bar-chart.d.ts +11 -0
  677. package/dist/components/pf-bar-chart.js +2 -0
  678. package/dist/components/pf-bar-chart.js.map +1 -0
  679. package/dist/components/pf-breadcrumb.d.ts +11 -0
  680. package/dist/components/pf-breadcrumb.js +2 -0
  681. package/dist/components/pf-breadcrumb.js.map +1 -0
  682. package/dist/components/pf-breadcrumbs.d.ts +11 -0
  683. package/dist/components/pf-breadcrumbs.js +2 -0
  684. package/dist/components/pf-breadcrumbs.js.map +1 -0
  685. package/dist/components/pf-button-group-item.d.ts +11 -0
  686. package/dist/components/pf-button-group-item.js +2 -0
  687. package/dist/components/pf-button-group-item.js.map +1 -0
  688. package/dist/components/pf-button-group.d.ts +11 -0
  689. package/dist/components/pf-button-group.js +2 -0
  690. package/dist/components/pf-button-group.js.map +1 -0
  691. package/dist/components/pf-button.d.ts +11 -0
  692. package/dist/components/pf-button.js +2 -0
  693. package/dist/components/pf-button.js.map +1 -0
  694. package/dist/components/pf-calendar.d.ts +11 -0
  695. package/dist/components/pf-calendar.js +2 -0
  696. package/dist/components/pf-calendar.js.map +1 -0
  697. package/dist/components/pf-card-content.d.ts +11 -0
  698. package/dist/components/pf-card-content.js +2 -0
  699. package/dist/components/pf-card-content.js.map +1 -0
  700. package/dist/components/pf-card-footer.d.ts +11 -0
  701. package/dist/components/pf-card-footer.js +2 -0
  702. package/dist/components/pf-card-footer.js.map +1 -0
  703. package/dist/components/pf-card-header.d.ts +11 -0
  704. package/dist/components/pf-card-header.js +2 -0
  705. package/dist/components/pf-card-header.js.map +1 -0
  706. package/dist/components/pf-card.d.ts +11 -0
  707. package/dist/components/pf-card.js +2 -0
  708. package/dist/components/pf-card.js.map +1 -0
  709. package/dist/components/pf-carousel-slide.d.ts +11 -0
  710. package/dist/components/pf-carousel-slide.js +2 -0
  711. package/dist/components/pf-carousel-slide.js.map +1 -0
  712. package/dist/components/pf-carousel.d.ts +11 -0
  713. package/dist/components/pf-carousel.js +2 -0
  714. package/dist/components/pf-carousel.js.map +1 -0
  715. package/dist/components/pf-chart-series.d.ts +11 -0
  716. package/dist/components/pf-chart-series.js +2 -0
  717. package/dist/components/pf-chart-series.js.map +1 -0
  718. package/dist/components/pf-checkbox.d.ts +11 -0
  719. package/dist/components/pf-checkbox.js +2 -0
  720. package/dist/components/pf-checkbox.js.map +1 -0
  721. package/dist/components/pf-code-snippet.d.ts +11 -0
  722. package/dist/components/pf-code-snippet.js +2 -0
  723. package/dist/components/pf-code-snippet.js.map +1 -0
  724. package/dist/components/pf-collapsible.d.ts +11 -0
  725. package/dist/components/pf-collapsible.js +2 -0
  726. package/dist/components/pf-collapsible.js.map +1 -0
  727. package/dist/components/pf-combobox.d.ts +11 -0
  728. package/dist/components/pf-combobox.js +2 -0
  729. package/dist/components/pf-combobox.js.map +1 -0
  730. package/dist/components/pf-command-group.d.ts +11 -0
  731. package/dist/components/pf-command-group.js +2 -0
  732. package/dist/components/pf-command-group.js.map +1 -0
  733. package/dist/components/pf-command-item.d.ts +11 -0
  734. package/dist/components/pf-command-item.js +2 -0
  735. package/dist/components/pf-command-item.js.map +1 -0
  736. package/dist/components/pf-command-palette.d.ts +11 -0
  737. package/dist/components/pf-command-palette.js +2 -0
  738. package/dist/components/pf-command-palette.js.map +1 -0
  739. package/dist/components/pf-content-divider.d.ts +11 -0
  740. package/dist/components/pf-content-divider.js +2 -0
  741. package/dist/components/pf-content-divider.js.map +1 -0
  742. package/dist/components/pf-context-menu.d.ts +11 -0
  743. package/dist/components/pf-context-menu.js +2 -0
  744. package/dist/components/pf-context-menu.js.map +1 -0
  745. package/dist/components/pf-credit-card.d.ts +11 -0
  746. package/dist/components/pf-credit-card.js +2 -0
  747. package/dist/components/pf-credit-card.js.map +1 -0
  748. package/dist/components/pf-date-picker.d.ts +11 -0
  749. package/dist/components/pf-date-picker.js +2 -0
  750. package/dist/components/pf-date-picker.js.map +1 -0
  751. package/dist/components/pf-date-range-picker.d.ts +11 -0
  752. package/dist/components/pf-date-range-picker.js +2 -0
  753. package/dist/components/pf-date-range-picker.js.map +1 -0
  754. package/dist/components/pf-dropdown.d.ts +11 -0
  755. package/dist/components/pf-dropdown.js +2 -0
  756. package/dist/components/pf-dropdown.js.map +1 -0
  757. package/dist/components/pf-empty-state.d.ts +11 -0
  758. package/dist/components/pf-empty-state.js +2 -0
  759. package/dist/components/pf-empty-state.js.map +1 -0
  760. package/dist/components/pf-file-uploader.d.ts +11 -0
  761. package/dist/components/pf-file-uploader.js +2 -0
  762. package/dist/components/pf-file-uploader.js.map +1 -0
  763. package/dist/components/pf-gauge-chart.d.ts +11 -0
  764. package/dist/components/pf-gauge-chart.js +2 -0
  765. package/dist/components/pf-gauge-chart.js.map +1 -0
  766. package/dist/components/pf-header-navigation.d.ts +11 -0
  767. package/dist/components/pf-header-navigation.js +2 -0
  768. package/dist/components/pf-header-navigation.js.map +1 -0
  769. package/dist/components/pf-heatmap.d.ts +11 -0
  770. package/dist/components/pf-heatmap.js +2 -0
  771. package/dist/components/pf-heatmap.js.map +1 -0
  772. package/dist/components/pf-icon.d.ts +11 -0
  773. package/dist/components/pf-icon.js +2 -0
  774. package/dist/components/pf-icon.js.map +1 -0
  775. package/dist/components/pf-inline-cta.d.ts +11 -0
  776. package/dist/components/pf-inline-cta.js +2 -0
  777. package/dist/components/pf-inline-cta.js.map +1 -0
  778. package/dist/components/pf-input.d.ts +11 -0
  779. package/dist/components/pf-input.js +2 -0
  780. package/dist/components/pf-input.js.map +1 -0
  781. package/dist/components/pf-kbd.d.ts +11 -0
  782. package/dist/components/pf-kbd.js +2 -0
  783. package/dist/components/pf-kbd.js.map +1 -0
  784. package/dist/components/pf-line-chart.d.ts +11 -0
  785. package/dist/components/pf-line-chart.js +2 -0
  786. package/dist/components/pf-line-chart.js.map +1 -0
  787. package/dist/components/pf-loading-dots.d.ts +11 -0
  788. package/dist/components/pf-loading-dots.js +2 -0
  789. package/dist/components/pf-loading-dots.js.map +1 -0
  790. package/dist/components/pf-loading-skeleton.d.ts +11 -0
  791. package/dist/components/pf-loading-skeleton.js +2 -0
  792. package/dist/components/pf-loading-skeleton.js.map +1 -0
  793. package/dist/components/pf-loading-spinner.d.ts +11 -0
  794. package/dist/components/pf-loading-spinner.js +2 -0
  795. package/dist/components/pf-loading-spinner.js.map +1 -0
  796. package/dist/components/pf-menu-item.d.ts +11 -0
  797. package/dist/components/pf-menu-item.js +2 -0
  798. package/dist/components/pf-menu-item.js.map +1 -0
  799. package/dist/components/pf-menu-separator.d.ts +11 -0
  800. package/dist/components/pf-menu-separator.js +2 -0
  801. package/dist/components/pf-menu-separator.js.map +1 -0
  802. package/dist/components/pf-metric-card.d.ts +11 -0
  803. package/dist/components/pf-metric-card.js +2 -0
  804. package/dist/components/pf-metric-card.js.map +1 -0
  805. package/dist/components/pf-metric-grid.d.ts +11 -0
  806. package/dist/components/pf-metric-grid.js +2 -0
  807. package/dist/components/pf-metric-grid.js.map +1 -0
  808. package/dist/components/pf-modal-body.d.ts +11 -0
  809. package/dist/components/pf-modal-body.js +2 -0
  810. package/dist/components/pf-modal-body.js.map +1 -0
  811. package/dist/components/pf-modal-footer.d.ts +11 -0
  812. package/dist/components/pf-modal-footer.js +2 -0
  813. package/dist/components/pf-modal-footer.js.map +1 -0
  814. package/dist/components/pf-modal-header.d.ts +11 -0
  815. package/dist/components/pf-modal-header.js +2 -0
  816. package/dist/components/pf-modal-header.js.map +1 -0
  817. package/dist/components/pf-modal.d.ts +11 -0
  818. package/dist/components/pf-modal.js +2 -0
  819. package/dist/components/pf-modal.js.map +1 -0
  820. package/dist/components/pf-multi-select.d.ts +11 -0
  821. package/dist/components/pf-multi-select.js +2 -0
  822. package/dist/components/pf-multi-select.js.map +1 -0
  823. package/dist/components/pf-nav-item.d.ts +11 -0
  824. package/dist/components/pf-nav-item.js +2 -0
  825. package/dist/components/pf-nav-item.js.map +1 -0
  826. package/dist/components/pf-nav-section.d.ts +11 -0
  827. package/dist/components/pf-nav-section.js +2 -0
  828. package/dist/components/pf-nav-section.js.map +1 -0
  829. package/dist/components/pf-notification.d.ts +11 -0
  830. package/dist/components/pf-notification.js +2 -0
  831. package/dist/components/pf-notification.js.map +1 -0
  832. package/dist/components/pf-number-input.d.ts +11 -0
  833. package/dist/components/pf-number-input.js +2 -0
  834. package/dist/components/pf-number-input.js.map +1 -0
  835. package/dist/components/pf-option.d.ts +11 -0
  836. package/dist/components/pf-option.js +2 -0
  837. package/dist/components/pf-option.js.map +1 -0
  838. package/dist/components/pf-page-header.d.ts +11 -0
  839. package/dist/components/pf-page-header.js +2 -0
  840. package/dist/components/pf-page-header.js.map +1 -0
  841. package/dist/components/pf-pagination.d.ts +11 -0
  842. package/dist/components/pf-pagination.js +2 -0
  843. package/dist/components/pf-pagination.js.map +1 -0
  844. package/dist/components/pf-pie-chart.d.ts +11 -0
  845. package/dist/components/pf-pie-chart.js +2 -0
  846. package/dist/components/pf-pie-chart.js.map +1 -0
  847. package/dist/components/pf-pie-slice.d.ts +11 -0
  848. package/dist/components/pf-pie-slice.js +2 -0
  849. package/dist/components/pf-pie-slice.js.map +1 -0
  850. package/dist/components/pf-popover.d.ts +11 -0
  851. package/dist/components/pf-popover.js +2 -0
  852. package/dist/components/pf-popover.js.map +1 -0
  853. package/dist/components/pf-progress-bar.d.ts +11 -0
  854. package/dist/components/pf-progress-bar.js +2 -0
  855. package/dist/components/pf-progress-bar.js.map +1 -0
  856. package/dist/components/pf-progress-circle.d.ts +11 -0
  857. package/dist/components/pf-progress-circle.js +2 -0
  858. package/dist/components/pf-progress-circle.js.map +1 -0
  859. package/dist/components/pf-progress-step.d.ts +11 -0
  860. package/dist/components/pf-progress-step.js +2 -0
  861. package/dist/components/pf-progress-step.js.map +1 -0
  862. package/dist/components/pf-progress-steps.d.ts +11 -0
  863. package/dist/components/pf-progress-steps.js +2 -0
  864. package/dist/components/pf-progress-steps.js.map +1 -0
  865. package/dist/components/pf-radar-axis.d.ts +11 -0
  866. package/dist/components/pf-radar-axis.js +2 -0
  867. package/dist/components/pf-radar-axis.js.map +1 -0
  868. package/dist/components/pf-radar-chart.d.ts +11 -0
  869. package/dist/components/pf-radar-chart.js +2 -0
  870. package/dist/components/pf-radar-chart.js.map +1 -0
  871. package/dist/components/pf-radio-button.d.ts +11 -0
  872. package/dist/components/pf-radio-button.js +2 -0
  873. package/dist/components/pf-radio-button.js.map +1 -0
  874. package/dist/components/pf-radio-group.d.ts +11 -0
  875. package/dist/components/pf-radio-group.js +2 -0
  876. package/dist/components/pf-radio-group.js.map +1 -0
  877. package/dist/components/pf-rating-badge.d.ts +11 -0
  878. package/dist/components/pf-rating-badge.js +2 -0
  879. package/dist/components/pf-rating-badge.js.map +1 -0
  880. package/dist/components/pf-rating-stars.d.ts +11 -0
  881. package/dist/components/pf-rating-stars.js +2 -0
  882. package/dist/components/pf-rating-stars.js.map +1 -0
  883. package/dist/components/pf-resizable.d.ts +11 -0
  884. package/dist/components/pf-resizable.js +2 -0
  885. package/dist/components/pf-resizable.js.map +1 -0
  886. package/dist/components/pf-rich-text-editor.d.ts +11 -0
  887. package/dist/components/pf-rich-text-editor.js +2 -0
  888. package/dist/components/pf-rich-text-editor.js.map +1 -0
  889. package/dist/components/pf-scroll-area.d.ts +11 -0
  890. package/dist/components/pf-scroll-area.js +2 -0
  891. package/dist/components/pf-scroll-area.js.map +1 -0
  892. package/dist/components/pf-section-footer.d.ts +11 -0
  893. package/dist/components/pf-section-footer.js +2 -0
  894. package/dist/components/pf-section-footer.js.map +1 -0
  895. package/dist/components/pf-section-header.d.ts +11 -0
  896. package/dist/components/pf-section-header.js +2 -0
  897. package/dist/components/pf-section-header.js.map +1 -0
  898. package/dist/components/pf-select.d.ts +11 -0
  899. package/dist/components/pf-select.js +2 -0
  900. package/dist/components/pf-select.js.map +1 -0
  901. package/dist/components/pf-sidebar-navigation.d.ts +11 -0
  902. package/dist/components/pf-sidebar-navigation.js +2 -0
  903. package/dist/components/pf-sidebar-navigation.js.map +1 -0
  904. package/dist/components/pf-slideout-menu.d.ts +11 -0
  905. package/dist/components/pf-slideout-menu.js +2 -0
  906. package/dist/components/pf-slideout-menu.js.map +1 -0
  907. package/dist/components/pf-slider.d.ts +11 -0
  908. package/dist/components/pf-slider.js +2 -0
  909. package/dist/components/pf-slider.js.map +1 -0
  910. package/dist/components/pf-sparkline.d.ts +11 -0
  911. package/dist/components/pf-sparkline.js +2 -0
  912. package/dist/components/pf-sparkline.js.map +1 -0
  913. package/dist/components/pf-switch.d.ts +11 -0
  914. package/dist/components/pf-switch.js +2 -0
  915. package/dist/components/pf-switch.js.map +1 -0
  916. package/dist/components/pf-tab-panel.d.ts +11 -0
  917. package/dist/components/pf-tab-panel.js +2 -0
  918. package/dist/components/pf-tab-panel.js.map +1 -0
  919. package/dist/components/pf-tab.d.ts +11 -0
  920. package/dist/components/pf-tab.js +2 -0
  921. package/dist/components/pf-tab.js.map +1 -0
  922. package/dist/components/pf-table-cell.d.ts +11 -0
  923. package/dist/components/pf-table-cell.js +2 -0
  924. package/dist/components/pf-table-cell.js.map +1 -0
  925. package/dist/components/pf-table-row.d.ts +11 -0
  926. package/dist/components/pf-table-row.js +2 -0
  927. package/dist/components/pf-table-row.js.map +1 -0
  928. package/dist/components/pf-table.d.ts +11 -0
  929. package/dist/components/pf-table.js +2 -0
  930. package/dist/components/pf-table.js.map +1 -0
  931. package/dist/components/pf-tabs.d.ts +11 -0
  932. package/dist/components/pf-tabs.js +2 -0
  933. package/dist/components/pf-tabs.js.map +1 -0
  934. package/dist/components/pf-tag-input.d.ts +11 -0
  935. package/dist/components/pf-tag-input.js +2 -0
  936. package/dist/components/pf-tag-input.js.map +1 -0
  937. package/dist/components/pf-tag.d.ts +11 -0
  938. package/dist/components/pf-tag.js +2 -0
  939. package/dist/components/pf-tag.js.map +1 -0
  940. package/dist/components/pf-textarea.d.ts +11 -0
  941. package/dist/components/pf-textarea.js +2 -0
  942. package/dist/components/pf-textarea.js.map +1 -0
  943. package/dist/components/pf-time-picker.d.ts +11 -0
  944. package/dist/components/pf-time-picker.js +2 -0
  945. package/dist/components/pf-time-picker.js.map +1 -0
  946. package/dist/components/pf-timeline-item.d.ts +11 -0
  947. package/dist/components/pf-timeline-item.js +2 -0
  948. package/dist/components/pf-timeline-item.js.map +1 -0
  949. package/dist/components/pf-timeline.d.ts +11 -0
  950. package/dist/components/pf-timeline.js +2 -0
  951. package/dist/components/pf-timeline.js.map +1 -0
  952. package/dist/components/pf-toaster.d.ts +11 -0
  953. package/dist/components/pf-toaster.js +2 -0
  954. package/dist/components/pf-toaster.js.map +1 -0
  955. package/dist/components/pf-toolbar-separator.d.ts +11 -0
  956. package/dist/components/pf-toolbar-separator.js +2 -0
  957. package/dist/components/pf-toolbar-separator.js.map +1 -0
  958. package/dist/components/pf-toolbar.d.ts +11 -0
  959. package/dist/components/pf-toolbar.js +2 -0
  960. package/dist/components/pf-toolbar.js.map +1 -0
  961. package/dist/components/pf-tooltip.d.ts +11 -0
  962. package/dist/components/pf-tooltip.js +2 -0
  963. package/dist/components/pf-tooltip.js.map +1 -0
  964. package/dist/components/pf-tree-item.d.ts +11 -0
  965. package/dist/components/pf-tree-item.js +2 -0
  966. package/dist/components/pf-tree-item.js.map +1 -0
  967. package/dist/components/pf-tree-view.d.ts +11 -0
  968. package/dist/components/pf-tree-view.js +2 -0
  969. package/dist/components/pf-tree-view.js.map +1 -0
  970. package/dist/components/pf-utility-button.d.ts +11 -0
  971. package/dist/components/pf-utility-button.js +2 -0
  972. package/dist/components/pf-utility-button.js.map +1 -0
  973. package/dist/components/pf-video-player.d.ts +11 -0
  974. package/dist/components/pf-video-player.js +2 -0
  975. package/dist/components/pf-video-player.js.map +1 -0
  976. package/dist/components/pf-visually-hidden.d.ts +11 -0
  977. package/dist/components/pf-visually-hidden.js +2 -0
  978. package/dist/components/pf-visually-hidden.js.map +1 -0
  979. package/dist/docs.d.ts +480 -0
  980. package/dist/docs.json +26352 -0
  981. package/dist/elements.json +9959 -0
  982. package/dist/esm/aria-DfpCerXM.js +22 -0
  983. package/dist/esm/aria-DfpCerXM.js.map +1 -0
  984. package/dist/esm/cartesian-rMXGMSEx.js +184 -0
  985. package/dist/esm/cartesian-rMXGMSEx.js.map +1 -0
  986. package/dist/esm/command-Dkd7BUB5.js +39 -0
  987. package/dist/esm/command-Dkd7BUB5.js.map +1 -0
  988. package/dist/esm/date-C9jNMqLs.js +154 -0
  989. package/dist/esm/date-C9jNMqLs.js.map +1 -0
  990. package/dist/esm/form-validity-Cr6IXrUk.js +35 -0
  991. package/dist/esm/form-validity-Cr6IXrUk.js.map +1 -0
  992. package/dist/esm/icons-CCln56Fj.js +75 -0
  993. package/dist/esm/icons-CCln56Fj.js.map +1 -0
  994. package/dist/esm/index-Bm6UxEit.js +2279 -0
  995. package/dist/esm/index-Bm6UxEit.js.map +1 -0
  996. package/dist/esm/index.js +4 -0
  997. package/dist/esm/index.js.map +1 -0
  998. package/dist/esm/keys-g4FlTDZx.js +17 -0
  999. package/dist/esm/keys-g4FlTDZx.js.map +1 -0
  1000. package/dist/esm/loader.js +13 -0
  1001. package/dist/esm/loader.js.map +1 -0
  1002. package/dist/esm/motion-Cta76kgc.js +43 -0
  1003. package/dist/esm/motion-Cta76kgc.js.map +1 -0
  1004. package/dist/esm/nav-DToIJg5W.js +25 -0
  1005. package/dist/esm/nav-DToIJg5W.js.map +1 -0
  1006. package/dist/esm/navigation-CAz7-p8y.js +32 -0
  1007. package/dist/esm/navigation-CAz7-p8y.js.map +1 -0
  1008. package/dist/esm/number-field-DSXauhXX.js +70 -0
  1009. package/dist/esm/number-field-DSXauhXX.js.map +1 -0
  1010. package/dist/esm/pf-accordion-item.entry.js +60 -0
  1011. package/dist/esm/pf-accordion-item.entry.js.map +1 -0
  1012. package/dist/esm/pf-accordion.entry.js +144 -0
  1013. package/dist/esm/pf-accordion.entry.js.map +1 -0
  1014. package/dist/esm/pf-alert.entry.js +65 -0
  1015. package/dist/esm/pf-alert.entry.js.map +1 -0
  1016. package/dist/esm/pf-avatar-group.entry.js +118 -0
  1017. package/dist/esm/pf-avatar-group.entry.js.map +1 -0
  1018. package/dist/esm/pf-avatar.entry.js +28 -0
  1019. package/dist/esm/pf-avatar.entry.js.map +1 -0
  1020. package/dist/esm/pf-badge-group.entry.js +34 -0
  1021. package/dist/esm/pf-badge-group.entry.js.map +1 -0
  1022. package/dist/esm/pf-badge.entry.js +20 -0
  1023. package/dist/esm/pf-badge.entry.js.map +1 -0
  1024. package/dist/esm/pf-bar-chart.entry.js +110 -0
  1025. package/dist/esm/pf-bar-chart.entry.js.map +1 -0
  1026. package/dist/esm/pf-breadcrumb.entry.js +41 -0
  1027. package/dist/esm/pf-breadcrumb.entry.js.map +1 -0
  1028. package/dist/esm/pf-breadcrumbs.entry.js +94 -0
  1029. package/dist/esm/pf-breadcrumbs.entry.js.map +1 -0
  1030. package/dist/esm/pf-button-group-item.entry.js +49 -0
  1031. package/dist/esm/pf-button-group-item.entry.js.map +1 -0
  1032. package/dist/esm/pf-button-group.entry.js +100 -0
  1033. package/dist/esm/pf-button-group.entry.js.map +1 -0
  1034. package/dist/esm/pf-button.entry.js +41 -0
  1035. package/dist/esm/pf-button.entry.js.map +1 -0
  1036. package/dist/esm/pf-calendar.entry.js +220 -0
  1037. package/dist/esm/pf-calendar.entry.js.map +1 -0
  1038. package/dist/esm/pf-card-content.entry.js +18 -0
  1039. package/dist/esm/pf-card-content.entry.js.map +1 -0
  1040. package/dist/esm/pf-card-footer.entry.js +18 -0
  1041. package/dist/esm/pf-card-footer.entry.js.map +1 -0
  1042. package/dist/esm/pf-card-header.entry.js +18 -0
  1043. package/dist/esm/pf-card-header.entry.js.map +1 -0
  1044. package/dist/esm/pf-card.entry.js +18 -0
  1045. package/dist/esm/pf-card.entry.js.map +1 -0
  1046. package/dist/esm/pf-carousel-slide.entry.js +31 -0
  1047. package/dist/esm/pf-carousel-slide.entry.js.map +1 -0
  1048. package/dist/esm/pf-carousel.entry.js +168 -0
  1049. package/dist/esm/pf-carousel.entry.js.map +1 -0
  1050. package/dist/esm/pf-chart-series.entry.js +31 -0
  1051. package/dist/esm/pf-chart-series.entry.js.map +1 -0
  1052. package/dist/esm/pf-checkbox.entry.js +108 -0
  1053. package/dist/esm/pf-checkbox.entry.js.map +1 -0
  1054. package/dist/esm/pf-code-snippet.entry.js +155 -0
  1055. package/dist/esm/pf-code-snippet.entry.js.map +1 -0
  1056. package/dist/esm/pf-collapsible.entry.js +74 -0
  1057. package/dist/esm/pf-collapsible.entry.js.map +1 -0
  1058. package/dist/esm/pf-combobox.entry.js +337 -0
  1059. package/dist/esm/pf-combobox.entry.js.map +1 -0
  1060. package/dist/esm/pf-command-group.entry.js +20 -0
  1061. package/dist/esm/pf-command-group.entry.js.map +1 -0
  1062. package/dist/esm/pf-command-item.entry.js +48 -0
  1063. package/dist/esm/pf-command-item.entry.js.map +1 -0
  1064. package/dist/esm/pf-command-palette.entry.js +271 -0
  1065. package/dist/esm/pf-command-palette.entry.js.map +1 -0
  1066. package/dist/esm/pf-content-divider.entry.js +53 -0
  1067. package/dist/esm/pf-content-divider.entry.js.map +1 -0
  1068. package/dist/esm/pf-context-menu.entry.js +157 -0
  1069. package/dist/esm/pf-context-menu.entry.js.map +1 -0
  1070. package/dist/esm/pf-credit-card.entry.js +38 -0
  1071. package/dist/esm/pf-credit-card.entry.js.map +1 -0
  1072. package/dist/esm/pf-date-picker.entry.js +239 -0
  1073. package/dist/esm/pf-date-picker.entry.js.map +1 -0
  1074. package/dist/esm/pf-date-range-picker.entry.js +474 -0
  1075. package/dist/esm/pf-date-range-picker.entry.js.map +1 -0
  1076. package/dist/esm/pf-dropdown.entry.js +181 -0
  1077. package/dist/esm/pf-dropdown.entry.js.map +1 -0
  1078. package/dist/esm/pf-empty-state.entry.js +53 -0
  1079. package/dist/esm/pf-empty-state.entry.js.map +1 -0
  1080. package/dist/esm/pf-file-uploader.entry.js +310 -0
  1081. package/dist/esm/pf-file-uploader.entry.js.map +1 -0
  1082. package/dist/esm/pf-gauge-chart.entry.js +39 -0
  1083. package/dist/esm/pf-gauge-chart.entry.js.map +1 -0
  1084. package/dist/esm/pf-header-navigation.entry.js +75 -0
  1085. package/dist/esm/pf-header-navigation.entry.js.map +1 -0
  1086. package/dist/esm/pf-heatmap.entry.js +250 -0
  1087. package/dist/esm/pf-heatmap.entry.js.map +1 -0
  1088. package/dist/esm/pf-icon.entry.js +325 -0
  1089. package/dist/esm/pf-icon.entry.js.map +1 -0
  1090. package/dist/esm/pf-inline-cta.entry.js +84 -0
  1091. package/dist/esm/pf-inline-cta.entry.js.map +1 -0
  1092. package/dist/esm/pf-input.entry.js +120 -0
  1093. package/dist/esm/pf-input.entry.js.map +1 -0
  1094. package/dist/esm/pf-kbd.entry.js +25 -0
  1095. package/dist/esm/pf-kbd.entry.js.map +1 -0
  1096. package/dist/esm/pf-line-chart.entry.js +115 -0
  1097. package/dist/esm/pf-line-chart.entry.js.map +1 -0
  1098. package/dist/esm/pf-loading-dots.entry.js +22 -0
  1099. package/dist/esm/pf-loading-dots.entry.js.map +1 -0
  1100. package/dist/esm/pf-loading-skeleton.entry.js +41 -0
  1101. package/dist/esm/pf-loading-skeleton.entry.js.map +1 -0
  1102. package/dist/esm/pf-loading-spinner.entry.js +28 -0
  1103. package/dist/esm/pf-loading-spinner.entry.js.map +1 -0
  1104. package/dist/esm/pf-menu-item.entry.js +55 -0
  1105. package/dist/esm/pf-menu-item.entry.js.map +1 -0
  1106. package/dist/esm/pf-menu-separator.entry.js +18 -0
  1107. package/dist/esm/pf-menu-separator.entry.js.map +1 -0
  1108. package/dist/esm/pf-metric-card.entry.js +52 -0
  1109. package/dist/esm/pf-metric-card.entry.js.map +1 -0
  1110. package/dist/esm/pf-metric-grid.entry.js +18 -0
  1111. package/dist/esm/pf-metric-grid.entry.js.map +1 -0
  1112. package/dist/esm/pf-modal-body.entry.js +18 -0
  1113. package/dist/esm/pf-modal-body.entry.js.map +1 -0
  1114. package/dist/esm/pf-modal-footer.entry.js +18 -0
  1115. package/dist/esm/pf-modal-footer.entry.js.map +1 -0
  1116. package/dist/esm/pf-modal-header.entry.js +18 -0
  1117. package/dist/esm/pf-modal-header.entry.js.map +1 -0
  1118. package/dist/esm/pf-modal.entry.js +139 -0
  1119. package/dist/esm/pf-modal.entry.js.map +1 -0
  1120. package/dist/esm/pf-multi-select.entry.js +314 -0
  1121. package/dist/esm/pf-multi-select.entry.js.map +1 -0
  1122. package/dist/esm/pf-nav-item.entry.js +56 -0
  1123. package/dist/esm/pf-nav-item.entry.js.map +1 -0
  1124. package/dist/esm/pf-nav-section.entry.js +52 -0
  1125. package/dist/esm/pf-nav-section.entry.js.map +1 -0
  1126. package/dist/esm/pf-notification.entry.js +66 -0
  1127. package/dist/esm/pf-notification.entry.js.map +1 -0
  1128. package/dist/esm/pf-number-input.entry.js +190 -0
  1129. package/dist/esm/pf-number-input.entry.js.map +1 -0
  1130. package/dist/esm/pf-option.entry.js +48 -0
  1131. package/dist/esm/pf-option.entry.js.map +1 -0
  1132. package/dist/esm/pf-page-header.entry.js +33 -0
  1133. package/dist/esm/pf-page-header.entry.js.map +1 -0
  1134. package/dist/esm/pf-pagination.entry.js +111 -0
  1135. package/dist/esm/pf-pagination.entry.js.map +1 -0
  1136. package/dist/esm/pf-pie-chart.entry.js +92 -0
  1137. package/dist/esm/pf-pie-chart.entry.js.map +1 -0
  1138. package/dist/esm/pf-pie-slice.entry.js +34 -0
  1139. package/dist/esm/pf-pie-slice.entry.js.map +1 -0
  1140. package/dist/esm/pf-popover.entry.js +155 -0
  1141. package/dist/esm/pf-popover.entry.js.map +1 -0
  1142. package/dist/esm/pf-progress-bar.entry.js +30 -0
  1143. package/dist/esm/pf-progress-bar.entry.js.map +1 -0
  1144. package/dist/esm/pf-progress-circle.entry.js +38 -0
  1145. package/dist/esm/pf-progress-circle.entry.js.map +1 -0
  1146. package/dist/esm/pf-progress-step.entry.js +40 -0
  1147. package/dist/esm/pf-progress-step.entry.js.map +1 -0
  1148. package/dist/esm/pf-progress-steps.entry.js +97 -0
  1149. package/dist/esm/pf-progress-steps.entry.js.map +1 -0
  1150. package/dist/esm/pf-radar-axis.entry.js +31 -0
  1151. package/dist/esm/pf-radar-axis.entry.js.map +1 -0
  1152. package/dist/esm/pf-radar-chart.entry.js +183 -0
  1153. package/dist/esm/pf-radar-chart.entry.js.map +1 -0
  1154. package/dist/esm/pf-radio-button.entry.js +71 -0
  1155. package/dist/esm/pf-radio-button.entry.js.map +1 -0
  1156. package/dist/esm/pf-radio-group.entry.js +172 -0
  1157. package/dist/esm/pf-radio-group.entry.js.map +1 -0
  1158. package/dist/esm/pf-rating-badge.entry.js +33 -0
  1159. package/dist/esm/pf-rating-badge.entry.js.map +1 -0
  1160. package/dist/esm/pf-rating-stars.entry.js +44 -0
  1161. package/dist/esm/pf-rating-stars.entry.js.map +1 -0
  1162. package/dist/esm/pf-resizable.entry.js +203 -0
  1163. package/dist/esm/pf-resizable.entry.js.map +1 -0
  1164. package/dist/esm/pf-rich-text-editor.entry.js +259 -0
  1165. package/dist/esm/pf-rich-text-editor.entry.js.map +1 -0
  1166. package/dist/esm/pf-scroll-area.entry.js +41 -0
  1167. package/dist/esm/pf-scroll-area.entry.js.map +1 -0
  1168. package/dist/esm/pf-section-footer.entry.js +39 -0
  1169. package/dist/esm/pf-section-footer.entry.js.map +1 -0
  1170. package/dist/esm/pf-section-header.entry.js +35 -0
  1171. package/dist/esm/pf-section-header.entry.js.map +1 -0
  1172. package/dist/esm/pf-select.entry.js +410 -0
  1173. package/dist/esm/pf-select.entry.js.map +1 -0
  1174. package/dist/esm/pf-sidebar-navigation.entry.js +101 -0
  1175. package/dist/esm/pf-sidebar-navigation.entry.js.map +1 -0
  1176. package/dist/esm/pf-slideout-menu.entry.js +153 -0
  1177. package/dist/esm/pf-slideout-menu.entry.js.map +1 -0
  1178. package/dist/esm/pf-slider.entry.js +123 -0
  1179. package/dist/esm/pf-slider.entry.js.map +1 -0
  1180. package/dist/esm/pf-sparkline.entry.js +121 -0
  1181. package/dist/esm/pf-sparkline.entry.js.map +1 -0
  1182. package/dist/esm/pf-switch.entry.js +108 -0
  1183. package/dist/esm/pf-switch.entry.js.map +1 -0
  1184. package/dist/esm/pf-tab-panel.entry.js +39 -0
  1185. package/dist/esm/pf-tab-panel.entry.js.map +1 -0
  1186. package/dist/esm/pf-tab.entry.js +94 -0
  1187. package/dist/esm/pf-tab.entry.js.map +1 -0
  1188. package/dist/esm/pf-table-cell.entry.js +48 -0
  1189. package/dist/esm/pf-table-cell.entry.js.map +1 -0
  1190. package/dist/esm/pf-table-row.entry.js +49 -0
  1191. package/dist/esm/pf-table-row.entry.js.map +1 -0
  1192. package/dist/esm/pf-table.entry.js +143 -0
  1193. package/dist/esm/pf-table.entry.js.map +1 -0
  1194. package/dist/esm/pf-tabs.entry.js +340 -0
  1195. package/dist/esm/pf-tabs.entry.js.map +1 -0
  1196. package/dist/esm/pf-tag-input.entry.js +197 -0
  1197. package/dist/esm/pf-tag-input.entry.js.map +1 -0
  1198. package/dist/esm/pf-tag.entry.js +30 -0
  1199. package/dist/esm/pf-tag.entry.js.map +1 -0
  1200. package/dist/esm/pf-textarea.entry.js +138 -0
  1201. package/dist/esm/pf-textarea.entry.js.map +1 -0
  1202. package/dist/esm/pf-time-picker.entry.js +326 -0
  1203. package/dist/esm/pf-time-picker.entry.js.map +1 -0
  1204. package/dist/esm/pf-timeline-item.entry.js +44 -0
  1205. package/dist/esm/pf-timeline-item.entry.js.map +1 -0
  1206. package/dist/esm/pf-timeline.entry.js +53 -0
  1207. package/dist/esm/pf-timeline.entry.js.map +1 -0
  1208. package/dist/esm/pf-toaster.entry.js +88 -0
  1209. package/dist/esm/pf-toaster.entry.js.map +1 -0
  1210. package/dist/esm/pf-toolbar-separator.entry.js +20 -0
  1211. package/dist/esm/pf-toolbar-separator.entry.js.map +1 -0
  1212. package/dist/esm/pf-toolbar.entry.js +73 -0
  1213. package/dist/esm/pf-toolbar.entry.js.map +1 -0
  1214. package/dist/esm/pf-tooltip.entry.js +177 -0
  1215. package/dist/esm/pf-tooltip.entry.js.map +1 -0
  1216. package/dist/esm/pf-tree-item.entry.js +79 -0
  1217. package/dist/esm/pf-tree-item.entry.js.map +1 -0
  1218. package/dist/esm/pf-tree-view.entry.js +340 -0
  1219. package/dist/esm/pf-tree-view.entry.js.map +1 -0
  1220. package/dist/esm/pf-utility-button.entry.js +54 -0
  1221. package/dist/esm/pf-utility-button.entry.js.map +1 -0
  1222. package/dist/esm/pf-video-player.entry.js +60 -0
  1223. package/dist/esm/pf-video-player.entry.js.map +1 -0
  1224. package/dist/esm/pf-visually-hidden.entry.js +23 -0
  1225. package/dist/esm/pf-visually-hidden.entry.js.map +1 -0
  1226. package/dist/esm/pie-COAc4ZDB.js +111 -0
  1227. package/dist/esm/pie-COAc4ZDB.js.map +1 -0
  1228. package/dist/esm/pitchfork.js +23 -0
  1229. package/dist/esm/pitchfork.js.map +1 -0
  1230. package/dist/esm/place-popover-CC7AyfOt.js +195 -0
  1231. package/dist/esm/place-popover-CC7AyfOt.js.map +1 -0
  1232. package/dist/esm/progress-BA6CMosJ.js +80 -0
  1233. package/dist/esm/progress-BA6CMosJ.js.map +1 -0
  1234. package/dist/esm/rating-DVK0sUX2.js +52 -0
  1235. package/dist/esm/rating-DVK0sUX2.js.map +1 -0
  1236. package/dist/esm/roving-BzRAGyFO.js +67 -0
  1237. package/dist/esm/roving-BzRAGyFO.js.map +1 -0
  1238. package/dist/esm/scroll-lock-C-VLyxRR.js +44 -0
  1239. package/dist/esm/scroll-lock-C-VLyxRR.js.map +1 -0
  1240. package/dist/esm/text-B8ulhYUJ.js +54 -0
  1241. package/dist/esm/text-B8ulhYUJ.js.map +1 -0
  1242. package/dist/esm/value-list-BmcsJLdy.js +100 -0
  1243. package/dist/esm/value-list-BmcsJLdy.js.map +1 -0
  1244. package/dist/index.cjs.js +1 -0
  1245. package/dist/index.js +1 -0
  1246. package/dist/pitchfork/index.esm.js +2 -0
  1247. package/dist/pitchfork/index.esm.js.map +1 -0
  1248. package/dist/pitchfork/p-03db6bae.entry.js +2 -0
  1249. package/dist/pitchfork/p-03db6bae.entry.js.map +1 -0
  1250. package/dist/pitchfork/p-04869bdc.entry.js +2 -0
  1251. package/dist/pitchfork/p-04869bdc.entry.js.map +1 -0
  1252. package/dist/pitchfork/p-068baf6d.entry.js +2 -0
  1253. package/dist/pitchfork/p-068baf6d.entry.js.map +1 -0
  1254. package/dist/pitchfork/p-0bbec059.entry.js +2 -0
  1255. package/dist/pitchfork/p-0bbec059.entry.js.map +1 -0
  1256. package/dist/pitchfork/p-1133b2fa.entry.js +2 -0
  1257. package/dist/pitchfork/p-1133b2fa.entry.js.map +1 -0
  1258. package/dist/pitchfork/p-1bb6b456.entry.js +2 -0
  1259. package/dist/pitchfork/p-1bb6b456.entry.js.map +1 -0
  1260. package/dist/pitchfork/p-1bc87b8c.entry.js +2 -0
  1261. package/dist/pitchfork/p-1bc87b8c.entry.js.map +1 -0
  1262. package/dist/pitchfork/p-1dbea97f.entry.js +2 -0
  1263. package/dist/pitchfork/p-1dbea97f.entry.js.map +1 -0
  1264. package/dist/pitchfork/p-1e171d52.entry.js +2 -0
  1265. package/dist/pitchfork/p-1e171d52.entry.js.map +1 -0
  1266. package/dist/pitchfork/p-1e7e8d25.entry.js +2 -0
  1267. package/dist/pitchfork/p-1e7e8d25.entry.js.map +1 -0
  1268. package/dist/pitchfork/p-1fa3b37b.entry.js +2 -0
  1269. package/dist/pitchfork/p-1fa3b37b.entry.js.map +1 -0
  1270. package/dist/pitchfork/p-22c7e5b4.entry.js +2 -0
  1271. package/dist/pitchfork/p-22c7e5b4.entry.js.map +1 -0
  1272. package/dist/pitchfork/p-23b1be9b.entry.js +2 -0
  1273. package/dist/pitchfork/p-23b1be9b.entry.js.map +1 -0
  1274. package/dist/pitchfork/p-248bd301.entry.js +2 -0
  1275. package/dist/pitchfork/p-248bd301.entry.js.map +1 -0
  1276. package/dist/pitchfork/p-2577564c.entry.js +7 -0
  1277. package/dist/pitchfork/p-2577564c.entry.js.map +1 -0
  1278. package/dist/pitchfork/p-25d0a34b.entry.js +2 -0
  1279. package/dist/pitchfork/p-25d0a34b.entry.js.map +1 -0
  1280. package/dist/pitchfork/p-26e119df.entry.js +2 -0
  1281. package/dist/pitchfork/p-26e119df.entry.js.map +1 -0
  1282. package/dist/pitchfork/p-2798795f.entry.js +2 -0
  1283. package/dist/pitchfork/p-2798795f.entry.js.map +1 -0
  1284. package/dist/pitchfork/p-3133eb1a.entry.js +2 -0
  1285. package/dist/pitchfork/p-3133eb1a.entry.js.map +1 -0
  1286. package/dist/pitchfork/p-31e0fbc7.entry.js +2 -0
  1287. package/dist/pitchfork/p-31e0fbc7.entry.js.map +1 -0
  1288. package/dist/pitchfork/p-33857f80.entry.js +2 -0
  1289. package/dist/pitchfork/p-33857f80.entry.js.map +1 -0
  1290. package/dist/pitchfork/p-34f2df95.entry.js +2 -0
  1291. package/dist/pitchfork/p-34f2df95.entry.js.map +1 -0
  1292. package/dist/pitchfork/p-37ee290d.entry.js +2 -0
  1293. package/dist/pitchfork/p-37ee290d.entry.js.map +1 -0
  1294. package/dist/pitchfork/p-3843faa6.entry.js +2 -0
  1295. package/dist/pitchfork/p-3843faa6.entry.js.map +1 -0
  1296. package/dist/pitchfork/p-3cd7d421.entry.js +2 -0
  1297. package/dist/pitchfork/p-3cd7d421.entry.js.map +1 -0
  1298. package/dist/pitchfork/p-3fd3444b.entry.js +2 -0
  1299. package/dist/pitchfork/p-3fd3444b.entry.js.map +1 -0
  1300. package/dist/pitchfork/p-41d997d9.entry.js +2 -0
  1301. package/dist/pitchfork/p-41d997d9.entry.js.map +1 -0
  1302. package/dist/pitchfork/p-4217a92a.entry.js +2 -0
  1303. package/dist/pitchfork/p-4217a92a.entry.js.map +1 -0
  1304. package/dist/pitchfork/p-43c103bb.entry.js +2 -0
  1305. package/dist/pitchfork/p-43c103bb.entry.js.map +1 -0
  1306. package/dist/pitchfork/p-47cabc33.entry.js +2 -0
  1307. package/dist/pitchfork/p-47cabc33.entry.js.map +1 -0
  1308. package/dist/pitchfork/p-48b2d3f7.entry.js +2 -0
  1309. package/dist/pitchfork/p-48b2d3f7.entry.js.map +1 -0
  1310. package/dist/pitchfork/p-4959a556.entry.js +2 -0
  1311. package/dist/pitchfork/p-4959a556.entry.js.map +1 -0
  1312. package/dist/pitchfork/p-4b05851a.entry.js +2 -0
  1313. package/dist/pitchfork/p-4b05851a.entry.js.map +1 -0
  1314. package/dist/pitchfork/p-4b16ef92.entry.js +2 -0
  1315. package/dist/pitchfork/p-4b16ef92.entry.js.map +1 -0
  1316. package/dist/pitchfork/p-4b7c186f.entry.js +2 -0
  1317. package/dist/pitchfork/p-4b7c186f.entry.js.map +1 -0
  1318. package/dist/pitchfork/p-4df4eed8.entry.js +2 -0
  1319. package/dist/pitchfork/p-4df4eed8.entry.js.map +1 -0
  1320. package/dist/pitchfork/p-4e785310.entry.js +2 -0
  1321. package/dist/pitchfork/p-4e785310.entry.js.map +1 -0
  1322. package/dist/pitchfork/p-4e7c51e4.entry.js +2 -0
  1323. package/dist/pitchfork/p-4e7c51e4.entry.js.map +1 -0
  1324. package/dist/pitchfork/p-5064d2dd.entry.js +2 -0
  1325. package/dist/pitchfork/p-5064d2dd.entry.js.map +1 -0
  1326. package/dist/pitchfork/p-50ad12be.entry.js +2 -0
  1327. package/dist/pitchfork/p-50ad12be.entry.js.map +1 -0
  1328. package/dist/pitchfork/p-51528462.entry.js +2 -0
  1329. package/dist/pitchfork/p-51528462.entry.js.map +1 -0
  1330. package/dist/pitchfork/p-52eef7eb.entry.js +2 -0
  1331. package/dist/pitchfork/p-52eef7eb.entry.js.map +1 -0
  1332. package/dist/pitchfork/p-578db1a6.entry.js +2 -0
  1333. package/dist/pitchfork/p-578db1a6.entry.js.map +1 -0
  1334. package/dist/pitchfork/p-6066ce98.entry.js +2 -0
  1335. package/dist/pitchfork/p-6066ce98.entry.js.map +1 -0
  1336. package/dist/pitchfork/p-643f7e00.entry.js +2 -0
  1337. package/dist/pitchfork/p-643f7e00.entry.js.map +1 -0
  1338. package/dist/pitchfork/p-685f817b.entry.js +2 -0
  1339. package/dist/pitchfork/p-685f817b.entry.js.map +1 -0
  1340. package/dist/pitchfork/p-69d27f61.entry.js +2 -0
  1341. package/dist/pitchfork/p-69d27f61.entry.js.map +1 -0
  1342. package/dist/pitchfork/p-6cfacd82.entry.js +2 -0
  1343. package/dist/pitchfork/p-6cfacd82.entry.js.map +1 -0
  1344. package/dist/pitchfork/p-6d3c4094.entry.js +2 -0
  1345. package/dist/pitchfork/p-6d3c4094.entry.js.map +1 -0
  1346. package/dist/pitchfork/p-717b552a.entry.js +2 -0
  1347. package/dist/pitchfork/p-717b552a.entry.js.map +1 -0
  1348. package/dist/pitchfork/p-742f2cc4.entry.js +2 -0
  1349. package/dist/pitchfork/p-742f2cc4.entry.js.map +1 -0
  1350. package/dist/pitchfork/p-76f0f473.entry.js +2 -0
  1351. package/dist/pitchfork/p-76f0f473.entry.js.map +1 -0
  1352. package/dist/pitchfork/p-77168a0d.entry.js +2 -0
  1353. package/dist/pitchfork/p-77168a0d.entry.js.map +1 -0
  1354. package/dist/pitchfork/p-7e5ba1f9.entry.js +2 -0
  1355. package/dist/pitchfork/p-7e5ba1f9.entry.js.map +1 -0
  1356. package/dist/pitchfork/p-845c5252.entry.js +2 -0
  1357. package/dist/pitchfork/p-845c5252.entry.js.map +1 -0
  1358. package/dist/pitchfork/p-8718bb3a.entry.js +2 -0
  1359. package/dist/pitchfork/p-8718bb3a.entry.js.map +1 -0
  1360. package/dist/pitchfork/p-8a1e2ba8.entry.js +2 -0
  1361. package/dist/pitchfork/p-8a1e2ba8.entry.js.map +1 -0
  1362. package/dist/pitchfork/p-8e1a4b26.entry.js +2 -0
  1363. package/dist/pitchfork/p-8e1a4b26.entry.js.map +1 -0
  1364. package/dist/pitchfork/p-8e304481.entry.js +2 -0
  1365. package/dist/pitchfork/p-8e304481.entry.js.map +1 -0
  1366. package/dist/pitchfork/p-97dd4193.entry.js +2 -0
  1367. package/dist/pitchfork/p-97dd4193.entry.js.map +1 -0
  1368. package/dist/pitchfork/p-9d93b1ea.entry.js +2 -0
  1369. package/dist/pitchfork/p-9d93b1ea.entry.js.map +1 -0
  1370. package/dist/pitchfork/p-9dc1dd8a.entry.js +2 -0
  1371. package/dist/pitchfork/p-9dc1dd8a.entry.js.map +1 -0
  1372. package/dist/pitchfork/p-B8ulhYUJ.js +2 -0
  1373. package/dist/pitchfork/p-B8ulhYUJ.js.map +1 -0
  1374. package/dist/pitchfork/p-BA6CMosJ.js +2 -0
  1375. package/dist/pitchfork/p-BA6CMosJ.js.map +1 -0
  1376. package/dist/pitchfork/p-Bm6UxEit.js +3 -0
  1377. package/dist/pitchfork/p-Bm6UxEit.js.map +1 -0
  1378. package/dist/pitchfork/p-BmcsJLdy.js +2 -0
  1379. package/dist/pitchfork/p-BmcsJLdy.js.map +1 -0
  1380. package/dist/pitchfork/p-C-VLyxRR.js +2 -0
  1381. package/dist/pitchfork/p-C-VLyxRR.js.map +1 -0
  1382. package/dist/pitchfork/p-C9jNMqLs.js +2 -0
  1383. package/dist/pitchfork/p-C9jNMqLs.js.map +1 -0
  1384. package/dist/pitchfork/p-CAz7-p8y.js +2 -0
  1385. package/dist/pitchfork/p-CAz7-p8y.js.map +1 -0
  1386. package/dist/pitchfork/p-CC7AyfOt.js +2 -0
  1387. package/dist/pitchfork/p-CC7AyfOt.js.map +1 -0
  1388. package/dist/pitchfork/p-CCln56Fj.js +2 -0
  1389. package/dist/pitchfork/p-CCln56Fj.js.map +1 -0
  1390. package/dist/pitchfork/p-COAc4ZDB.js +2 -0
  1391. package/dist/pitchfork/p-COAc4ZDB.js.map +1 -0
  1392. package/dist/pitchfork/p-CmX-kVk-.js +2 -0
  1393. package/dist/pitchfork/p-CmX-kVk-.js.map +1 -0
  1394. package/dist/pitchfork/p-Cr6IXrUk.js +2 -0
  1395. package/dist/pitchfork/p-Cr6IXrUk.js.map +1 -0
  1396. package/dist/pitchfork/p-Cta76kgc.js +2 -0
  1397. package/dist/pitchfork/p-Cta76kgc.js.map +1 -0
  1398. package/dist/pitchfork/p-DSXauhXX.js +2 -0
  1399. package/dist/pitchfork/p-DSXauhXX.js.map +1 -0
  1400. package/dist/pitchfork/p-DToIJg5W.js +2 -0
  1401. package/dist/pitchfork/p-DToIJg5W.js.map +1 -0
  1402. package/dist/pitchfork/p-DVK0sUX2.js +2 -0
  1403. package/dist/pitchfork/p-DVK0sUX2.js.map +1 -0
  1404. package/dist/pitchfork/p-DfpCerXM.js +2 -0
  1405. package/dist/pitchfork/p-DfpCerXM.js.map +1 -0
  1406. package/dist/pitchfork/p-Dkd7BUB5.js +2 -0
  1407. package/dist/pitchfork/p-Dkd7BUB5.js.map +1 -0
  1408. package/dist/pitchfork/p-Fiuz9ck7.js +2 -0
  1409. package/dist/pitchfork/p-Fiuz9ck7.js.map +1 -0
  1410. package/dist/pitchfork/p-a1a7838d.entry.js +2 -0
  1411. package/dist/pitchfork/p-a1a7838d.entry.js.map +1 -0
  1412. package/dist/pitchfork/p-a24bf2bd.entry.js +2 -0
  1413. package/dist/pitchfork/p-a24bf2bd.entry.js.map +1 -0
  1414. package/dist/pitchfork/p-a4cc62e1.entry.js +2 -0
  1415. package/dist/pitchfork/p-a4cc62e1.entry.js.map +1 -0
  1416. package/dist/pitchfork/p-a4fad812.entry.js +2 -0
  1417. package/dist/pitchfork/p-a4fad812.entry.js.map +1 -0
  1418. package/dist/pitchfork/p-a5b5c09a.entry.js +2 -0
  1419. package/dist/pitchfork/p-a5b5c09a.entry.js.map +1 -0
  1420. package/dist/pitchfork/p-a7ce64b1.entry.js +2 -0
  1421. package/dist/pitchfork/p-a7ce64b1.entry.js.map +1 -0
  1422. package/dist/pitchfork/p-a864dae5.entry.js +2 -0
  1423. package/dist/pitchfork/p-a864dae5.entry.js.map +1 -0
  1424. package/dist/pitchfork/p-a9b77dbb.entry.js +2 -0
  1425. package/dist/pitchfork/p-a9b77dbb.entry.js.map +1 -0
  1426. package/dist/pitchfork/p-aa2acec3.entry.js +2 -0
  1427. package/dist/pitchfork/p-aa2acec3.entry.js.map +1 -0
  1428. package/dist/pitchfork/p-aa615fe9.entry.js +2 -0
  1429. package/dist/pitchfork/p-aa615fe9.entry.js.map +1 -0
  1430. package/dist/pitchfork/p-aa869013.entry.js +2 -0
  1431. package/dist/pitchfork/p-aa869013.entry.js.map +1 -0
  1432. package/dist/pitchfork/p-aac27e62.entry.js +2 -0
  1433. package/dist/pitchfork/p-aac27e62.entry.js.map +1 -0
  1434. package/dist/pitchfork/p-ac3fcb57.entry.js +2 -0
  1435. package/dist/pitchfork/p-ac3fcb57.entry.js.map +1 -0
  1436. package/dist/pitchfork/p-ad93b614.entry.js +2 -0
  1437. package/dist/pitchfork/p-ad93b614.entry.js.map +1 -0
  1438. package/dist/pitchfork/p-ae5fd08e.entry.js +2 -0
  1439. package/dist/pitchfork/p-ae5fd08e.entry.js.map +1 -0
  1440. package/dist/pitchfork/p-b26df5a0.entry.js +2 -0
  1441. package/dist/pitchfork/p-b26df5a0.entry.js.map +1 -0
  1442. package/dist/pitchfork/p-b2df1ecb.entry.js +2 -0
  1443. package/dist/pitchfork/p-b2df1ecb.entry.js.map +1 -0
  1444. package/dist/pitchfork/p-b442330b.entry.js +2 -0
  1445. package/dist/pitchfork/p-b442330b.entry.js.map +1 -0
  1446. package/dist/pitchfork/p-b4480baf.entry.js +2 -0
  1447. package/dist/pitchfork/p-b4480baf.entry.js.map +1 -0
  1448. package/dist/pitchfork/p-b4774cba.entry.js +2 -0
  1449. package/dist/pitchfork/p-b4774cba.entry.js.map +1 -0
  1450. package/dist/pitchfork/p-b6b18062.entry.js +2 -0
  1451. package/dist/pitchfork/p-b6b18062.entry.js.map +1 -0
  1452. package/dist/pitchfork/p-be2c6150.entry.js +2 -0
  1453. package/dist/pitchfork/p-be2c6150.entry.js.map +1 -0
  1454. package/dist/pitchfork/p-bf044fb5.entry.js +2 -0
  1455. package/dist/pitchfork/p-bf044fb5.entry.js.map +1 -0
  1456. package/dist/pitchfork/p-c07c5847.entry.js +2 -0
  1457. package/dist/pitchfork/p-c07c5847.entry.js.map +1 -0
  1458. package/dist/pitchfork/p-c6bdd9cd.entry.js +2 -0
  1459. package/dist/pitchfork/p-c6bdd9cd.entry.js.map +1 -0
  1460. package/dist/pitchfork/p-c82804d4.entry.js +2 -0
  1461. package/dist/pitchfork/p-c82804d4.entry.js.map +1 -0
  1462. package/dist/pitchfork/p-d0d2070b.entry.js +2 -0
  1463. package/dist/pitchfork/p-d0d2070b.entry.js.map +1 -0
  1464. package/dist/pitchfork/p-d248b027.entry.js +2 -0
  1465. package/dist/pitchfork/p-d248b027.entry.js.map +1 -0
  1466. package/dist/pitchfork/p-d4bbcba0.entry.js +2 -0
  1467. package/dist/pitchfork/p-d4bbcba0.entry.js.map +1 -0
  1468. package/dist/pitchfork/p-d6425298.entry.js +2 -0
  1469. package/dist/pitchfork/p-d6425298.entry.js.map +1 -0
  1470. package/dist/pitchfork/p-d7eb6335.entry.js +2 -0
  1471. package/dist/pitchfork/p-d7eb6335.entry.js.map +1 -0
  1472. package/dist/pitchfork/p-dcaaedeb.entry.js +2 -0
  1473. package/dist/pitchfork/p-dcaaedeb.entry.js.map +1 -0
  1474. package/dist/pitchfork/p-dd0e0d79.entry.js +2 -0
  1475. package/dist/pitchfork/p-dd0e0d79.entry.js.map +1 -0
  1476. package/dist/pitchfork/p-e882124b.entry.js +2 -0
  1477. package/dist/pitchfork/p-e882124b.entry.js.map +1 -0
  1478. package/dist/pitchfork/p-e944f504.entry.js +2 -0
  1479. package/dist/pitchfork/p-e944f504.entry.js.map +1 -0
  1480. package/dist/pitchfork/p-e9d767df.entry.js +2 -0
  1481. package/dist/pitchfork/p-e9d767df.entry.js.map +1 -0
  1482. package/dist/pitchfork/p-ea63c122.entry.js +2 -0
  1483. package/dist/pitchfork/p-ea63c122.entry.js.map +1 -0
  1484. package/dist/pitchfork/p-edb28479.entry.js +2 -0
  1485. package/dist/pitchfork/p-edb28479.entry.js.map +1 -0
  1486. package/dist/pitchfork/p-f0889512.entry.js +2 -0
  1487. package/dist/pitchfork/p-f0889512.entry.js.map +1 -0
  1488. package/dist/pitchfork/p-f3d80b42.entry.js +2 -0
  1489. package/dist/pitchfork/p-f3d80b42.entry.js.map +1 -0
  1490. package/dist/pitchfork/p-f5242cee.entry.js +2 -0
  1491. package/dist/pitchfork/p-f5242cee.entry.js.map +1 -0
  1492. package/dist/pitchfork/p-f689e353.entry.js +2 -0
  1493. package/dist/pitchfork/p-f689e353.entry.js.map +1 -0
  1494. package/dist/pitchfork/p-f855c9d4.entry.js +2 -0
  1495. package/dist/pitchfork/p-f855c9d4.entry.js.map +1 -0
  1496. package/dist/pitchfork/p-fa1302c7.entry.js +2 -0
  1497. package/dist/pitchfork/p-fa1302c7.entry.js.map +1 -0
  1498. package/dist/pitchfork/p-fd5a5ea1.entry.js +2 -0
  1499. package/dist/pitchfork/p-fd5a5ea1.entry.js.map +1 -0
  1500. package/dist/pitchfork/p-fe6f403c.entry.js +2 -0
  1501. package/dist/pitchfork/p-fe6f403c.entry.js.map +1 -0
  1502. package/dist/pitchfork/p-g4FlTDZx.js +2 -0
  1503. package/dist/pitchfork/p-g4FlTDZx.js.map +1 -0
  1504. package/dist/pitchfork/pitchfork.css +40 -0
  1505. package/dist/pitchfork/pitchfork.esm.js +2 -0
  1506. package/dist/pitchfork/pitchfork.esm.js.map +1 -0
  1507. package/dist/types/components/pf-accordion/pf-accordion.d.ts +80 -0
  1508. package/dist/types/components/pf-accordion-item/pf-accordion-item.d.ts +57 -0
  1509. package/dist/types/components/pf-alert/pf-alert.d.ts +57 -0
  1510. package/dist/types/components/pf-avatar/pf-avatar.d.ts +25 -0
  1511. package/dist/types/components/pf-avatar-group/pf-avatar-group.d.ts +46 -0
  1512. package/dist/types/components/pf-badge/pf-badge.d.ts +14 -0
  1513. package/dist/types/components/pf-badge-group/pf-badge-group.d.ts +23 -0
  1514. package/dist/types/components/pf-bar-chart/pf-bar-chart.d.ts +39 -0
  1515. package/dist/types/components/pf-breadcrumb/pf-breadcrumb.d.ts +40 -0
  1516. package/dist/types/components/pf-breadcrumbs/pf-breadcrumbs.d.ts +52 -0
  1517. package/dist/types/components/pf-button/pf-button.d.ts +38 -0
  1518. package/dist/types/components/pf-button-group/pf-button-group.d.ts +53 -0
  1519. package/dist/types/components/pf-button-group-item/pf-button-group-item.d.ts +47 -0
  1520. package/dist/types/components/pf-calendar/pf-calendar.d.ts +101 -0
  1521. package/dist/types/components/pf-card/pf-card.d.ts +16 -0
  1522. package/dist/types/components/pf-card-content/pf-card-content.d.ts +8 -0
  1523. package/dist/types/components/pf-card-footer/pf-card-footer.d.ts +10 -0
  1524. package/dist/types/components/pf-card-header/pf-card-header.d.ts +8 -0
  1525. package/dist/types/components/pf-carousel/pf-carousel.d.ts +73 -0
  1526. package/dist/types/components/pf-carousel-slide/pf-carousel-slide.d.ts +19 -0
  1527. package/dist/types/components/pf-chart-series/pf-chart-series.d.ts +33 -0
  1528. package/dist/types/components/pf-checkbox/pf-checkbox.d.ts +56 -0
  1529. package/dist/types/components/pf-code-snippet/pf-code-snippet.d.ts +74 -0
  1530. package/dist/types/components/pf-collapsible/pf-collapsible.d.ts +56 -0
  1531. package/dist/types/components/pf-combobox/pf-combobox.d.ts +123 -0
  1532. package/dist/types/components/pf-command-group/pf-command-group.d.ts +18 -0
  1533. package/dist/types/components/pf-command-item/pf-command-item.d.ts +41 -0
  1534. package/dist/types/components/pf-command-palette/pf-command-palette.d.ts +102 -0
  1535. package/dist/types/components/pf-content-divider/pf-content-divider.d.ts +39 -0
  1536. package/dist/types/components/pf-context-menu/pf-context-menu.d.ts +54 -0
  1537. package/dist/types/components/pf-credit-card/pf-credit-card.d.ts +31 -0
  1538. package/dist/types/components/pf-date-picker/pf-date-picker.d.ts +121 -0
  1539. package/dist/types/components/pf-date-range-picker/pf-date-range-picker.d.ts +122 -0
  1540. package/dist/types/components/pf-dropdown/pf-dropdown.d.ts +66 -0
  1541. package/dist/types/components/pf-empty-state/pf-empty-state.d.ts +43 -0
  1542. package/dist/types/components/pf-file-uploader/pf-file-uploader.d.ts +96 -0
  1543. package/dist/types/components/pf-gauge-chart/pf-gauge-chart.d.ts +36 -0
  1544. package/dist/types/components/pf-header-navigation/pf-header-navigation.d.ts +55 -0
  1545. package/dist/types/components/pf-heatmap/pf-heatmap.d.ts +55 -0
  1546. package/dist/types/components/pf-icon/bundled-icons.d.ts +3 -0
  1547. package/dist/types/components/pf-icon/custom-icons.d.ts +3 -0
  1548. package/dist/types/components/pf-icon/icon-names.d.ts +6 -0
  1549. package/dist/types/components/pf-icon/pf-icon.d.ts +22 -0
  1550. package/dist/types/components/pf-inline-cta/pf-inline-cta.d.ts +69 -0
  1551. package/dist/types/components/pf-input/pf-input.d.ts +79 -0
  1552. package/dist/types/components/pf-kbd/pf-kbd.d.ts +18 -0
  1553. package/dist/types/components/pf-line-chart/pf-line-chart.d.ts +68 -0
  1554. package/dist/types/components/pf-loading-dots/pf-loading-dots.d.ts +14 -0
  1555. package/dist/types/components/pf-loading-skeleton/pf-loading-skeleton.d.ts +24 -0
  1556. package/dist/types/components/pf-loading-spinner/pf-loading-spinner.d.ts +12 -0
  1557. package/dist/types/components/pf-menu-item/pf-menu-item.d.ts +43 -0
  1558. package/dist/types/components/pf-menu-separator/pf-menu-separator.d.ts +9 -0
  1559. package/dist/types/components/pf-metric-card/pf-metric-card.d.ts +42 -0
  1560. package/dist/types/components/pf-metric-grid/pf-metric-grid.d.ts +13 -0
  1561. package/dist/types/components/pf-modal/pf-modal.d.ts +84 -0
  1562. package/dist/types/components/pf-modal-body/pf-modal-body.d.ts +12 -0
  1563. package/dist/types/components/pf-modal-footer/pf-modal-footer.d.ts +12 -0
  1564. package/dist/types/components/pf-modal-header/pf-modal-header.d.ts +12 -0
  1565. package/dist/types/components/pf-multi-select/pf-multi-select.d.ts +108 -0
  1566. package/dist/types/components/pf-nav-item/pf-nav-item.d.ts +58 -0
  1567. package/dist/types/components/pf-nav-section/pf-nav-section.d.ts +44 -0
  1568. package/dist/types/components/pf-notification/pf-notification.d.ts +53 -0
  1569. package/dist/types/components/pf-number-input/pf-number-input.d.ts +87 -0
  1570. package/dist/types/components/pf-option/pf-option.d.ts +40 -0
  1571. package/dist/types/components/pf-page-header/pf-page-header.d.ts +33 -0
  1572. package/dist/types/components/pf-pagination/pf-pagination.d.ts +41 -0
  1573. package/dist/types/components/pf-pie-chart/pf-pie-chart.d.ts +52 -0
  1574. package/dist/types/components/pf-pie-slice/pf-pie-slice.d.ts +36 -0
  1575. package/dist/types/components/pf-popover/pf-popover.d.ts +82 -0
  1576. package/dist/types/components/pf-progress-bar/pf-progress-bar.d.ts +18 -0
  1577. package/dist/types/components/pf-progress-circle/pf-progress-circle.d.ts +23 -0
  1578. package/dist/types/components/pf-progress-step/pf-progress-step.d.ts +38 -0
  1579. package/dist/types/components/pf-progress-steps/pf-progress-steps.d.ts +42 -0
  1580. package/dist/types/components/pf-radar-axis/pf-radar-axis.d.ts +28 -0
  1581. package/dist/types/components/pf-radar-chart/pf-radar-chart.d.ts +62 -0
  1582. package/dist/types/components/pf-radio-button/pf-radio-button.d.ts +55 -0
  1583. package/dist/types/components/pf-radio-group/pf-radio-group.d.ts +80 -0
  1584. package/dist/types/components/pf-rating-badge/pf-rating-badge.d.ts +23 -0
  1585. package/dist/types/components/pf-rating-stars/pf-rating-stars.d.ts +31 -0
  1586. package/dist/types/components/pf-resizable/pf-resizable.d.ts +68 -0
  1587. package/dist/types/components/pf-rich-text-editor/pf-rich-text-editor.d.ts +99 -0
  1588. package/dist/types/components/pf-scroll-area/pf-scroll-area.d.ts +28 -0
  1589. package/dist/types/components/pf-section-footer/pf-section-footer.d.ts +30 -0
  1590. package/dist/types/components/pf-section-header/pf-section-header.d.ts +35 -0
  1591. package/dist/types/components/pf-select/pf-select.d.ts +110 -0
  1592. package/dist/types/components/pf-sidebar-navigation/pf-sidebar-navigation.d.ts +74 -0
  1593. package/dist/types/components/pf-slideout-menu/pf-slideout-menu.d.ts +103 -0
  1594. package/dist/types/components/pf-slider/pf-slider.d.ts +65 -0
  1595. package/dist/types/components/pf-sparkline/pf-sparkline.d.ts +54 -0
  1596. package/dist/types/components/pf-switch/pf-switch.d.ts +61 -0
  1597. package/dist/types/components/pf-tab/pf-tab.d.ts +83 -0
  1598. package/dist/types/components/pf-tab-panel/pf-tab-panel.d.ts +24 -0
  1599. package/dist/types/components/pf-table/pf-table.d.ts +76 -0
  1600. package/dist/types/components/pf-table-cell/pf-table-cell.d.ts +43 -0
  1601. package/dist/types/components/pf-table-row/pf-table-row.d.ts +31 -0
  1602. package/dist/types/components/pf-tabs/pf-tabs.d.ts +149 -0
  1603. package/dist/types/components/pf-tag/pf-tag.d.ts +26 -0
  1604. package/dist/types/components/pf-tag-input/pf-tag-input.d.ts +92 -0
  1605. package/dist/types/components/pf-textarea/pf-textarea.d.ts +89 -0
  1606. package/dist/types/components/pf-time-picker/pf-time-picker.d.ts +105 -0
  1607. package/dist/types/components/pf-timeline/pf-timeline.d.ts +27 -0
  1608. package/dist/types/components/pf-timeline-item/pf-timeline-item.d.ts +40 -0
  1609. package/dist/types/components/pf-toaster/pf-toaster.d.ts +66 -0
  1610. package/dist/types/components/pf-toolbar/pf-toolbar.d.ts +37 -0
  1611. package/dist/types/components/pf-toolbar-separator/pf-toolbar-separator.d.ts +14 -0
  1612. package/dist/types/components/pf-tooltip/pf-tooltip.d.ts +74 -0
  1613. package/dist/types/components/pf-tree-item/pf-tree-item.d.ts +75 -0
  1614. package/dist/types/components/pf-tree-view/pf-tree-view.d.ts +94 -0
  1615. package/dist/types/components/pf-utility-button/pf-utility-button.d.ts +41 -0
  1616. package/dist/types/components/pf-video-player/pf-video-player.d.ts +72 -0
  1617. package/dist/types/components/pf-visually-hidden/pf-visually-hidden.d.ts +20 -0
  1618. package/dist/types/components.d.ts +11948 -0
  1619. package/dist/types/form-validity.d.ts +24 -0
  1620. package/dist/types/index.d.ts +1 -0
  1621. package/dist/types/place-popover.d.ts +16 -0
  1622. package/dist/types/stencil-public-runtime.d.ts +1879 -0
  1623. package/loader/cdn.js +1 -0
  1624. package/loader/index.cjs.js +1 -0
  1625. package/loader/index.d.ts +24 -0
  1626. package/loader/index.es2017.js +1 -0
  1627. package/loader/index.js +2 -0
  1628. package/package.json +95 -4
@@ -0,0 +1,2 @@
1
+ function n(n){return(n??"").split(",").map((n=>n.trim())).filter((n=>n!==""))}function r(n){return n.join(",")}function t(n,r){return n.includes(r)?n.filter((n=>n!==r)):[...n,r]}function u(n,r,{multiple:u=false}={}){if(u)return t(n,r);return n.includes(r)?[]:[r]}function e(n){return n.filter((n=>n.includes(",")))}function a(n,r,t={}){const u=r.trim();const e=r=>({tags:[...n],added:false,refusal:r});if(!u)return e("empty");if(t.max!==void 0&&n.length>=t.max)return e("max");if(t.validate&&!t.validate(u))return e("invalid");if(n.some((n=>n.toLowerCase()===u.toLowerCase()))&&!t.allowDuplicates)return e("duplicate");return{tags:[...n,u],added:true,refusal:null}}function f(n,r){return n.filter(((n,t)=>t!==r))}var i=/[,\n\t]/;function s(n){if(!i.test(n))return[];return n.split(/[,\n\t]+/).map((n=>n.trim())).filter((n=>n!==""))}export{t as a,e as b,a as c,r as f,n as p,f as r,s,u as t};
2
+ //# sourceMappingURL=p-BmcsJLdy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-BmcsJLdy.js","sources":["../core/dist/value-list.js"],"sourcesContent":["//#region src/value-list.ts\n/**\n* A multi-value control's value, as one string.\n*\n* Comma-separated, because that is what an HTML attribute can carry and what\n* `accept` and `sizes` already do — so `<pf-multi-select value=\"a,b\">` works\n* in plain HTML, round-trips, and reflects. The consequence is that a value\n* containing a comma cannot be represented; option values are slugs in\n* practice, and `assertSeparableValues` below is how a mistake is reported\n* rather than silently mangled.\n*\n* Shared because `pf-multi-select` and `pf-tag-input` both need it, and\n* because the toggle rule — removing a value preserves the order of the rest —\n* is the kind of thing two copies would quietly disagree about.\n*/\nvar VALUE_LIST_SEPARATOR = \",\";\n/** Splits a stored value, dropping empties so `'a,,b'` is two values. */\nfunction parseValueList(value) {\n\treturn (value ?? \"\").split(\",\").map((part) => part.trim()).filter((part) => part !== \"\");\n}\n/** Joins values back, with no spaces, so the result parses to the same list. */\nfunction formatValueList(values) {\n\treturn values.join(\",\");\n}\n/**\n* Adds or removes one value.\n*\n* A value is appended at the end rather than in the options' own order, so the\n* list reads as what the user picked in the order they picked it; removing one\n* leaves the rest where they were.\n*/\nfunction toggleValueInList(values, value) {\n\treturn values.includes(value) ? values.filter((candidate) => candidate !== value) : [...values, value];\n}\n/**\n* The expanded set after toggling `value` in a disclosure group.\n*\n* `multiple` is the whole difference between an accordion that keeps one\n* section open and one that keeps several, and it is shared because the two\n* layers have to agree on both halves of it: in single mode closing the open\n* section leaves *nothing* open rather than falling back to the first, and\n* opening one closes whatever else was open — including, in a group handed\n* several expanded values to begin with, all of them at once.\n*/\nfunction toggleDisclosureValue(expanded, value, { multiple = false } = {}) {\n\tif (multiple) return toggleValueInList(expanded, value);\n\treturn expanded.includes(value) ? [] : [value];\n}\n/**\n* The values that cannot survive a round trip through the separator.\n*\n* Returned rather than thrown, so a caller can warn once with every offender\n* named instead of failing on the first.\n*/\nfunction assertSeparableValues(values) {\n\treturn values.filter((value) => value.includes(\",\"));\n}\n/**\n* Adds a tag, trimmed, if the list will take it.\n*\n* The refusal is reported rather than swallowed, because the four cases want\n* different handling and a boolean cannot tell them apart: a duplicate should\n* clear the draft, since the tag the user asked for is already there, while\n* hitting the maximum should leave it alone so nothing is lost.\n*\n* Deduplication is case-insensitive — `React` and `react` are one tag — which\n* is a decision rather than an accident, and the reason this is shared.\n*/\nfunction addTag(tags, raw, options = {}) {\n\tconst tag = raw.trim();\n\tconst refuse = (refusal) => ({\n\t\ttags: [...tags],\n\t\tadded: false,\n\t\trefusal\n\t});\n\tif (!tag) return refuse(\"empty\");\n\tif (options.max !== void 0 && tags.length >= options.max) return refuse(\"max\");\n\tif (options.validate && !options.validate(tag)) return refuse(\"invalid\");\n\tif (tags.some((existing) => existing.toLowerCase() === tag.toLowerCase()) && !options.allowDuplicates) return refuse(\"duplicate\");\n\treturn {\n\t\ttags: [...tags, tag],\n\t\tadded: true,\n\t\trefusal: null\n\t};\n}\n/** Removes the tag at `index`, leaving the rest in order. */\nfunction removeTagAt(tags, index) {\n\treturn tags.filter((_, position) => position !== index);\n}\n/** Commas, newlines and tabs, which is what a pasted list is separated by. */\nvar TAG_PASTE_PATTERN = /[,\\n\\t]/;\n/** Splits pasted text into candidate tags; empty when there is nothing to split on. */\nfunction splitPastedTags(text) {\n\tif (!TAG_PASTE_PATTERN.test(text)) return [];\n\treturn text.split(/[,\\n\\t]+/).map((part) => part.trim()).filter((part) => part !== \"\");\n}\n//#endregion\nexport { TAG_PASTE_PATTERN, VALUE_LIST_SEPARATOR, addTag, assertSeparableValues, formatValueList, parseValueList, removeTagAt, splitPastedTags, toggleDisclosureValue, toggleValueInList };\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA,SAAS,cAAc,CAAC,KAAK,EAAE;AAC/B,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,IAAI,KAAK,EAAE,CAAC;AACzF;AACA;AACA,SAAS,eAAe,CAAC,MAAM,EAAE;AACjC,CAAC,OAAO,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,iBAAiB,CAAC,MAAM,EAAE,KAAK,EAAE;AAC1C,CAAC,OAAO,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,KAAK,SAAS,KAAK,KAAK,CAAC,GAAG,CAAC,GAAG,MAAM,EAAE,KAAK,CAAC;AACvG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,qBAAqB,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,QAAQ,GAAG,KAAK,EAAE,GAAG,EAAE,EAAE;AAC3E,CAAC,IAAI,QAAQ,EAAE,OAAO,iB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;AACtB,EAAE,KAAK,EAAE,IAAI;AACb,EAAE,OAAO,EAAE;AACX,EAAE;AACF;AACA;AACA,SAAS,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE;AAClC,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,QAAQ,KAAK,QAAQ,KAAK,KAAK,CAAC;AACxD;AACA;AACA,IAAI,iBAAiB,GAAG,SAAS;AACjC;AACA,SAAS,eAAe,CAAC,IAAI,EAAE;AAC/B,CAAC,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE;AAC7C,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,IAAI,KAAK,EAAE,CAAC;AACvF;;;;"}
@@ -0,0 +1,2 @@
1
+ var n=0;var r=null;function e(){const e=document.documentElement;if(n===0){r=e.style.overflow;e.style.overflow="hidden"}n+=1;let t=false;return()=>{if(t)return;t=true;n-=1;if(n>0)return;e.style.overflow=r??"";r=null}}export{e as l};
2
+ //# sourceMappingURL=p-C-VLyxRR.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-C-VLyxRR.js","sources":["../core/dist/scroll-lock.js"],"sourcesContent":["//#region src/scroll-lock.ts\n/**\n* Lock page scroll, returning the function that releases it.\n*\n* A modal overlay has to do this itself: `<dialog>.showModal()` gives the\n* focus trap, Escape and the backdrop, but it does *not* stop the page behind\n* from scrolling — measured with a real wheel event over an open modal.\n*\n* Reference-counted, because overlays nest. Two elements each storing \"the\n* previous overflow\" independently is a bug with a clear shape: the second to\n* open records `hidden` as the value to restore, so when it closes the page\n* stays locked for as long as the first one lives, and if the first closes\n* first the page unlocks while a modal is still up. Only the outermost lock\n* records the real value and only the last release restores it.\n*\n* Releasing twice is a no-op rather than an unbalanced decrement, so a caller\n* that releases in both a close handler and a disconnect callback — which is\n* what an element removed while open does — cannot drop the count below the\n* number of holders.\n*/\nvar holders = 0;\nvar restoreTo = null;\nfunction lockPageScroll() {\n\tconst target = document.documentElement;\n\tif (holders === 0) {\n\t\trestoreTo = target.style.overflow;\n\t\ttarget.style.overflow = \"hidden\";\n\t}\n\tholders += 1;\n\tlet released = false;\n\treturn () => {\n\t\tif (released) return;\n\t\treleased = true;\n\t\tholders -= 1;\n\t\tif (holders > 0) return;\n\t\ttarget.style.overflow = restoreTo ?? \"\";\n\t\trestoreTo = null;\n\t};\n}\n//#endregion\nexport { lockPageScroll };\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,OAAO,GAAG,CAAC;AACf,IAAI,SAAS,GAAG,IAAI;AACpB,SAAS,cAAc,GAAG;AAC1B,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC,eAAe;AACxC,CAAC,IAAI,OAAO,KAAK,CAAC,EAAE;AACpB,EAAE,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC,QAAQ;AACnC,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ,GAAG,QAAQ;AAClC;AACA,CAAC,OAAO,IAAI,CAAC;AACb,CAAC,IAAI,QAAQ,GAAG,KAAK;AACrB,CAAC,OAAO,MAAM;AACd,EAAE,IAAI,QAAQ,EAAE;AAChB,EAAE,QAAQ,GAAG,IAAI;AACjB,EAAE,OAAO,IAAI,CAAC;AACd,EAAE,IAAI,OAAO,GAAG,CAAC,EAAE;AACnB,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ,GAAG,SAAS,IAAI,EAAE;AACzC,EAAE,SAAS,GAAG,IAAI;AAClB,EAAE;AACF;;;;"}
@@ -0,0 +1,2 @@
1
+ var e=["Su","Mo","Tu","We","Th","Fr","Sa"];var r=42;var t=e=>{const r=new Date(e);r.setHours(12,0,0,0);return r};var n=(e,r)=>e.getFullYear()===r.getFullYear()&&e.getMonth()===r.getMonth()&&e.getDate()===r.getDate();var a=(e,r)=>e.getFullYear()===r.getFullYear()&&e.getMonth()===r.getMonth();var s=e=>new Date(e.getFullYear(),e.getMonth(),1,12);var u=(e,r)=>new Date(e.getFullYear(),e.getMonth()+r,1,12);var c=(e,r)=>new Date(e.getFullYear(),e.getMonth(),e.getDate()+r,12);var o=e=>{const r=s(e);const t=c(r,-r.getDay());return Array.from({length:42},((r,n)=>{const a=c(t,n);return{date:a,inCurrentMonth:a.getMonth()===e.getMonth()}}))};var w=(e,r,t)=>{const n=Math.min(r,t);const a=Math.max(r,t);const s=e.getFullYear();if(s<n)return new Date(n,0,1,12);if(s>a)return new Date(a,11,1,12);return e};var i=e=>{switch(e){case"ArrowRight":return"day-next";case"ArrowLeft":return"day-previous";case"ArrowDown":return"week-next";case"ArrowUp":return"week-previous";case"Home":return"week-start";case"End":return"week-end";case"PageDown":return"month-next";case"PageUp":return"month-previous";default:return null}};var v=(e,r)=>{switch(r){case"day-next":return c(e,1);case"day-previous":return c(e,-1);case"week-next":return c(e,7);case"week-previous":return c(e,-7);case"week-start":return c(e,-e.getDay());case"week-end":return c(e,6-e.getDay());case"month-next":return d(e,e.getFullYear(),e.getMonth()+1);case"month-previous":return d(e,e.getFullYear(),e.getMonth()-1);case"year-next":return d(e,e.getFullYear()+1,e.getMonth());case"year-previous":return d(e,e.getFullYear()-1,e.getMonth())}};var d=(e,r,t)=>{const n=new Date(r,t+1,0,12).getDate();return new Date(r,t,Math.min(e.getDate(),n),12)};var h=(e,r,n)=>{const a=t(e).getTime();if(r&&a<t(r).getTime())return true;if(n&&a>t(n).getTime())return true;return false};var l=e=>{if(!e)return null;const r=/^(\d{4})-(\d{2})-(\d{2})$/.exec(e.trim());if(!r)return null;const[,t,n,a]=r;const s=new Date(Number(t),Number(n)-1,Number(a),12);if(s.getFullYear()!==Number(t)||s.getMonth()!==Number(n)-1)return null;if(s.getDate()!==Number(a))return null;return s};var f=e=>`${String(e.getFullYear()).padStart(4,"0")}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`;export{r as C,e as W,u as a,o as b,w as c,n as d,a as e,f,c as g,h as i,v as m,l as p,i as r,s,t};
2
+ //# sourceMappingURL=p-C9jNMqLs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-C9jNMqLs.js","sources":["../core/dist/date.js"],"sourcesContent":["//#region src/date.ts\n/**\n* Calendar maths, shared by `Calendar`, `DateRangePicker` and\n* `<pf-calendar>`.\n*\n* **Every date here is pinned to midday.** A date at midnight is one DST shift\n* away from being the previous day, so arithmetic on it silently loses or\n* repeats a day twice a year. Midday is far enough from both boundaries that\n* a ±1h shift cannot cross one.\n*/\n/** Sunday-first, matching the grid's first column. */\nvar WEEKDAY_LABELS = [\n\t\"Su\",\n\t\"Mo\",\n\t\"Tu\",\n\t\"We\",\n\t\"Th\",\n\t\"Fr\",\n\t\"Sa\"\n];\n/** Six rows of seven, so the grid never changes height between months. */\nvar CALENDAR_CELL_COUNT = 42;\nvar toMidday = (date) => {\n\tconst next = new Date(date);\n\tnext.setHours(12, 0, 0, 0);\n\treturn next;\n};\nvar isSameDay = (a, b) => a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth() && a.getDate() === b.getDate();\nvar isSameMonth = (a, b) => a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth();\nvar startOfMonth = (date) => new Date(date.getFullYear(), date.getMonth(), 1, 12);\nvar addMonths = (date, amount) => new Date(date.getFullYear(), date.getMonth() + amount, 1, 12);\n/**\n* Adds days, through the `Date` constructor rather than by adding\n* milliseconds: the constructor normalises an out-of-range day into the next\n* month, and a millisecond offset would be wrong by an hour across a DST\n* boundary even from midday.\n*/\nvar addDays = (date, amount) => new Date(date.getFullYear(), date.getMonth(), date.getDate() + amount, 12);\n/** The 42 cells of a month grid, starting on the Sunday on or before the 1st. */\nvar buildCalendarDays = (monthDate) => {\n\tconst monthStart = startOfMonth(monthDate);\n\tconst gridStart = addDays(monthStart, -monthStart.getDay());\n\treturn Array.from({ length: 42 }, (_, index) => {\n\t\tconst date = addDays(gridStart, index);\n\t\treturn {\n\t\t\tdate,\n\t\t\tinCurrentMonth: date.getMonth() === monthDate.getMonth()\n\t\t};\n\t});\n};\n/**\n* Pulls a month back inside the selectable years, landing on January of the\n* first year or December of the last rather than merely clamping the year —\n* so stepping past the end stops at the last reachable month, not at the same\n* month of it.\n*/\nvar clampMonthToYearRange = (date, startYear, endYear) => {\n\tconst start = Math.min(startYear, endYear);\n\tconst end = Math.max(startYear, endYear);\n\tconst year = date.getFullYear();\n\tif (year < start) return new Date(start, 0, 1, 12);\n\tif (year > end) return new Date(end, 11, 1, 12);\n\treturn date;\n};\n/**\n* Where a keypress moves the focused day.\n*\n* The grid pattern: left and right step a day, up and down step a week, Home\n* and End go to the ends of the focused week, and PageUp/PageDown step a\n* month. Crossing a month boundary is ordinary arithmetic here — the caller\n* decides whether that also scrolls the grid to a new month.\n*\n* Stepping a month from the 31st lands on the last day of a shorter month\n* rather than overflowing into the one after: `new Date(2024, 1, 31)` is the\n* 2nd of March, which is not what \"a month after the 31st of January\" means\n* in a date picker.\n*/\n/**\n* The move a keypress means in a date grid, or null for a key it does not\n* handle — so Tab, Escape and the activation keys fall through to the caller.\n*\n* Lived as a `MOVES` record inside `pf-calendar` until the React `Calendar`\n* needed the same eight keys. Two copies of a key map agree until one of them\n* gains a key, and the two layers disagreeing about what PageUp does is\n* exactly the drift `moveCalendarDate` is here to prevent.\n*\n* `PageUp`/`PageDown` are not in `Keys`, which carries only the keys every\n* widget uses; they are spelt out, as `resolveSplitterKey` spells out Home and\n* End.\n*/\nvar resolveCalendarKey = (key) => {\n\tswitch (key) {\n\t\tcase \"ArrowRight\": return \"day-next\";\n\t\tcase \"ArrowLeft\": return \"day-previous\";\n\t\tcase \"ArrowDown\": return \"week-next\";\n\t\tcase \"ArrowUp\": return \"week-previous\";\n\t\tcase \"Home\": return \"week-start\";\n\t\tcase \"End\": return \"week-end\";\n\t\tcase \"PageDown\": return \"month-next\";\n\t\tcase \"PageUp\": return \"month-previous\";\n\t\tdefault: return null;\n\t}\n};\nvar moveCalendarDate = (date, move) => {\n\tswitch (move) {\n\t\tcase \"day-next\": return addDays(date, 1);\n\t\tcase \"day-previous\": return addDays(date, -1);\n\t\tcase \"week-next\": return addDays(date, 7);\n\t\tcase \"week-previous\": return addDays(date, -7);\n\t\tcase \"week-start\": return addDays(date, -date.getDay());\n\t\tcase \"week-end\": return addDays(date, 6 - date.getDay());\n\t\tcase \"month-next\": return clampDayIntoMonth(date, date.getFullYear(), date.getMonth() + 1);\n\t\tcase \"month-previous\": return clampDayIntoMonth(date, date.getFullYear(), date.getMonth() - 1);\n\t\tcase \"year-next\": return clampDayIntoMonth(date, date.getFullYear() + 1, date.getMonth());\n\t\tcase \"year-previous\": return clampDayIntoMonth(date, date.getFullYear() - 1, date.getMonth());\n\t}\n};\n/** Keeps the day-of-month, or the last day of the target month if it is shorter. */\nvar clampDayIntoMonth = (date, year, month) => {\n\tconst lastDay = new Date(year, month + 1, 0, 12).getDate();\n\treturn new Date(year, month, Math.min(date.getDate(), lastDay), 12);\n};\n/** True when `date` falls outside an inclusive min/max, either of which may be absent. */\nvar isOutsideDateRange = (date, min, max) => {\n\tconst day = toMidday(date).getTime();\n\tif (min && day < toMidday(min).getTime()) return true;\n\tif (max && day > toMidday(max).getTime()) return true;\n\treturn false;\n};\n/**\n* Parses `YYYY-MM-DD` to a midday local date, or null.\n*\n* Deliberately not `new Date(string)`, which reads a bare `YYYY-MM-DD` as\n* **UTC** and so lands on the previous day for anyone west of Greenwich.\n*/\nvar parseISODate = (value) => {\n\tif (!value) return null;\n\tconst match = /^(\\d{4})-(\\d{2})-(\\d{2})$/.exec(value.trim());\n\tif (!match) return null;\n\tconst [, year, month, day] = match;\n\tconst date = new Date(Number(year), Number(month) - 1, Number(day), 12);\n\tif (date.getFullYear() !== Number(year) || date.getMonth() !== Number(month) - 1) return null;\n\tif (date.getDate() !== Number(day)) return null;\n\treturn date;\n};\n/** Formats as `YYYY-MM-DD` in local time, the inverse of `parseISODate`. */\nvar formatISODate = (date) => {\n\treturn `${String(date.getFullYear()).padStart(4, \"0\")}-${String(date.getMonth() + 1).padStart(2, \"0\")}-${String(date.getDate()).padStart(2, \"0\")}`;\n};\n//#endregion\nexport { CALENDAR_CELL_COUNT, WEEKDAY_LABELS, addDays, addMonths, buildCalendarDays, clampMonthToYearRange, formatISODate, isOutsideDateRange, isSameDay, isSameMonth, moveCalendarDate, parseISODate, resolveCalendarKey, startOfMonth, toMidday };\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACG,IAAC,cAAc,GAAG;AACrB,CAAC,IAAI;AACL,CAAC,IAAI;AACL,CAAC,IAAI;AACL,CAAC,IAAI;AACL,CAAC,IAAI;AACL,CAAC,IAAI;AACL,CAAC;AACD;AACA;AACG,IAAC,mBAAmB,GAAG;AACvB,IAAC,QAAQ,GAAG,CAAC,IAAI,KAAK;AACzB,CAAC,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC;AAC5B,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;AAC3B,CAAC,OAAO,IAAI;AACZ;AACG,IAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,OAAO;AACxH,IAAC,WAAW,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC,QAAQ,EAAE,KAAK,CAAC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I,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;AACnJ;;;;"}
@@ -0,0 +1,2 @@
1
+ function n(n,t=()=>false){return n.map(((n,t)=>({item:n,index:t}))).filter((({item:n,index:r})=>!t(n,r))).map((({index:n})=>n))}function t(n,t,r){if(n.length===0)return-1;const e=n.indexOf(t);return n[((e===-1?r===1?-1:0:e)+r+n.length)%n.length]??-1}function r(n,r,e){if(n==="first")return r[0]??-1;if(n==="last")return r[r.length-1]??-1;return t(r,e,n==="next"?1:-1)}export{n as g,r};
2
+ //# sourceMappingURL=p-CAz7-p8y.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-CAz7-p8y.js","sources":["../core/dist/navigation.js"],"sourcesContent":["//#region src/navigation.ts\n/** The indexes of `items` that are selectable, in source order. */\nfunction getEnabledIndexes(items, isDisabled = () => false) {\n\treturn items.map((item, index) => ({\n\t\titem,\n\t\tindex\n\t})).filter(({ item, index }) => !isDisabled(item, index)).map(({ index }) => index);\n}\n/**\n* Steps one place through `enabledIndexes`, wrapping at both ends. Returns -1\n* when nothing is selectable.\n*\n* A `startIndex` that is not itself enabled (a disabled item, or -1 before\n* anything is active) enters the list from the end the caller is moving away\n* from, so the first Down lands on the first item and the first Up on the last.\n*/\nfunction getNextEnabledIndex(enabledIndexes, startIndex, direction) {\n\tif (enabledIndexes.length === 0) return -1;\n\tconst currentEnabledPosition = enabledIndexes.indexOf(startIndex);\n\treturn enabledIndexes[((currentEnabledPosition === -1 ? direction === 1 ? -1 : 0 : currentEnabledPosition) + direction + enabledIndexes.length) % enabledIndexes.length] ?? -1;\n}\n/** Resolves a navigation action to the index it should land on, or -1. */\nfunction resolveListMove(action, enabledIndexes, currentIndex) {\n\tif (action === \"first\") return enabledIndexes[0] ?? -1;\n\tif (action === \"last\") return enabledIndexes[enabledIndexes.length - 1] ?? -1;\n\treturn getNextEnabledIndex(enabledIndexes, currentIndex, action === \"next\" ? 1 : -1);\n}\n//#endregion\nexport { getEnabledIndexes, getNextEnabledIndex, resolveListMove };\n"],"names":[],"mappings":"AAAA;AACA;AACA,SAAS,iBAAiB,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM,KAAK,EAAE;AAC5D,CAAC,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,MAAM;AACpC,EAAE,IAAI;AACN,EAAE;AACF,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,mBAAmB,CAAC,cAAc,EAAE,UAAU,EAAE,SAAS,EAAE;AACpE,CAAC,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE,OAAO,EAAE;AAC3C,CAAC,MAAM,sBAAsB,GAAG,cAAc,CAAC,OAAO,CAAC,UAAU,CAAC;AAClE,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,sBAAsB,KAAK,EAAE,GAAG,SAAS,KAAK,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,sBAAsB,IAAI,SAAS,GAAG,cAAc,CAAC,MAAM,IAAI,cAAc,CAAC,MAAM,CAAC,IAAI,EAAE;AAC/K;AACA;AACA,SAAS,eAAe,CAAC,MAAM,EAAE,cAAc,EAAE,YAAY,EAAE;AAC/D,CAAC,IAAI,MAAM,KAAK,OAAO,EAAE,OAAO,cAAc,CAAC,CAAC,CAAC,IAAI,EAAE;AACvD,CAAC,IAAI,MAAM,KAAK,MAAM,EAAE,OAAO,cAAc,CAAC,cAAc,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE;AAC9E,CAAC,OAAO,mBAAmB,CAAC,cAAc,EAAE,YAAY,EAAE,MAAM,KAAK,MAAM,GAAG,CAAC,GAAG,EAAE,CAAC;AACrF;;;;"}
@@ -0,0 +1,2 @@
1
+ var t=()=>{};function o(t,o,n,{align:e="start",offset:i=8,viewportPadding:r=8,minWidth:s,matchAnchorWidth:c=true,flip:h=false}={}){const f=Math.max(c?t.width:0,s??0,o?.width??0);const d=n.width-r-f;const a=e==="end"?t.right-f:t.left;const w=d>=r?Math.min(Math.max(a,r),d):r;const u=o?.height??0;const l=t.bottom+i;const p=t.top-u-i;const g=h&&u>0&&n.height-t.bottom<u+i+r?p:l;const M=n.height-r-u;return{left:w,top:u>0&&M>=r?Math.min(Math.max(g,r),M):g,width:c?f:void 0,minWidth:c?void 0:f}}function n({getAnchor:n,getFloating:e,onChange:i,...r}){if(typeof window==="undefined")return t;const s=()=>{const t=n();if(!t)return;i(o(t.getBoundingClientRect(),e?.()?.getBoundingClientRect(),{width:window.innerWidth,height:window.innerHeight},r))};s();window.addEventListener("resize",s);window.addEventListener("scroll",s,true);return()=>{window.removeEventListener("resize",s);window.removeEventListener("scroll",s,true)}}function e(t,o,n,{side:e="top",offset:i=10,viewportPadding:r=8}={}){const s=t.left+t.width/2;const c=t.top+t.height/2;const h=n=>{if(n==="bottom")return{left:s-o.width/2,top:t.bottom+i};if(n==="left")return{left:t.left-o.width-i,top:c-o.height/2};if(n==="right")return{left:t.right+i,top:c-o.height/2};return{left:s-o.width/2,top:t.top-o.height-i}};const f=({left:t,top:e})=>Math.max(r-t,0)+Math.max(r-e,0)+Math.max(t+o.width-n.width+r,0)+Math.max(e+o.height-n.height+r,0);const d={top:["top","bottom","right","left"],bottom:["bottom","top","right","left"],left:["left","right","top","bottom"],right:["right","left","top","bottom"]}[e].map((t=>({side:t,coordinates:h(t)}))).reduce(((t,o)=>f(o.coordinates)<f(t.coordinates)?o:t));const a=(t,o,n)=>Math.min(Math.max(t,o),Math.max(o,n));return{side:d.side,left:a(d.coordinates.left,r,n.width-o.width-r),top:a(d.coordinates.top,r,n.height-o.height-r)}}function i({getAnchor:o,getFloating:n,onChange:i,...r}){if(typeof window==="undefined")return t;const s=()=>{const t=o();const s=n();if(!t||!s)return;i(e(t.getBoundingClientRect(),s.getBoundingClientRect(),{width:window.innerWidth,height:window.innerHeight},r))};s();window.addEventListener("resize",s);window.addEventListener("scroll",s,true);return()=>{window.removeEventListener("resize",s);window.removeEventListener("scroll",s,true)}}function r(t,o,n,e=8){const i=(t,o,n)=>Math.min(Math.max(t,o),Math.max(o,n));return{x:i(t.x,e,n.width-o.width-e),y:i(t.y,e,n.height-o.height-e)}}function s(t,o,n){t.style.inset="auto";t.style.margin="0";t.style.left=`${o}px`;t.style.top=`${n}px`}export{i as a,r as c,n as o,s as p};
2
+ //# sourceMappingURL=p-CC7AyfOt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-CC7AyfOt.js","sources":["../core/dist/internal.js","../core/dist/anchoring.js","src/place-popover.ts"],"sourcesContent":["//#region src/internal.ts\n/** Returned by every `observe*`/`trap*` entry point so callers can always call the result. */\nvar noop = () => {};\n//#endregion\nexport { noop };\n","import { noop } from \"./internal.js\";\n//#region src/anchoring.ts\n/**\n* Pure geometry: given the two rects and the viewport, where does the floating\n* element go? Separated from the DOM so it can be tested directly and reused by\n* any rendering layer.\n*/\nfunction computeAnchoredPosition(anchorRect, floatingRect, viewport, { align = \"start\", offset = 8, viewportPadding = 8, minWidth, matchAnchorWidth = true, flip = false } = {}) {\n\tconst width = Math.max(matchAnchorWidth ? anchorRect.width : 0, minWidth ?? 0, floatingRect?.width ?? 0);\n\tconst maxLeft = viewport.width - viewportPadding - width;\n\tconst alignedLeft = align === \"end\" ? anchorRect.right - width : anchorRect.left;\n\tconst left = maxLeft >= viewportPadding ? Math.min(Math.max(alignedLeft, viewportPadding), maxLeft) : viewportPadding;\n\tconst floatingHeight = floatingRect?.height ?? 0;\n\tconst belowTop = anchorRect.bottom + offset;\n\tconst aboveTop = anchorRect.top - floatingHeight - offset;\n\tconst rawTop = flip && floatingHeight > 0 && viewport.height - anchorRect.bottom < floatingHeight + offset + viewportPadding ? aboveTop : belowTop;\n\tconst maxTop = viewport.height - viewportPadding - floatingHeight;\n\treturn {\n\t\tleft,\n\t\ttop: floatingHeight > 0 && maxTop >= viewportPadding ? Math.min(Math.max(rawTop, viewportPadding), maxTop) : rawTop,\n\t\twidth: matchAnchorWidth ? width : void 0,\n\t\tminWidth: matchAnchorWidth ? void 0 : width\n\t};\n}\n/**\n* Positions a floating element against an anchor, and keeps it there across\n* scroll and resize. Returns a cleanup function.\n*\n* Scroll is observed in the capture phase so that scrolling any ancestor —\n* not just the document — repositions the element.\n*/\nfunction observeAnchoredPosition({ getAnchor, getFloating, onChange, ...options }) {\n\tif (typeof window === \"undefined\") return noop;\n\tconst updatePosition = () => {\n\t\tconst anchor = getAnchor();\n\t\tif (!anchor) return;\n\t\tonChange(computeAnchoredPosition(anchor.getBoundingClientRect(), getFloating?.()?.getBoundingClientRect(), {\n\t\t\twidth: window.innerWidth,\n\t\t\theight: window.innerHeight\n\t\t}, options));\n\t};\n\tupdatePosition();\n\twindow.addEventListener(\"resize\", updatePosition);\n\twindow.addEventListener(\"scroll\", updatePosition, true);\n\treturn () => {\n\t\twindow.removeEventListener(\"resize\", updatePosition);\n\t\twindow.removeEventListener(\"scroll\", updatePosition, true);\n\t};\n}\n/**\n* Four-sided anchoring with best-fit fallback: the floating element is centred\n* on one side of the anchor, and if it would overflow the viewport there, the\n* remaining sides are tried and the least-overflowing one wins.\n*\n* Distinct from `computeAnchoredPosition`, which is the dropdown model —\n* below-or-flip-above, edge-aligned, width matched to the anchor. A tooltip or\n* a popover is centred on a side it can be on any of, which is a different\n* calculation rather than an option on the same one.\n*\n* Pure geometry, so both rendering layers produce the same placement for the\n* same rects — and so it can be tested without a DOM.\n*/\nfunction computeSidePosition(anchorRect, floatingRect, viewport, { side = \"top\", offset = 10, viewportPadding = 8 } = {}) {\n\tconst centerX = anchorRect.left + anchorRect.width / 2;\n\tconst centerY = anchorRect.top + anchorRect.height / 2;\n\tconst coordinatesFor = (candidate) => {\n\t\tif (candidate === \"bottom\") return {\n\t\t\tleft: centerX - floatingRect.width / 2,\n\t\t\ttop: anchorRect.bottom + offset\n\t\t};\n\t\tif (candidate === \"left\") return {\n\t\t\tleft: anchorRect.left - floatingRect.width - offset,\n\t\t\ttop: centerY - floatingRect.height / 2\n\t\t};\n\t\tif (candidate === \"right\") return {\n\t\t\tleft: anchorRect.right + offset,\n\t\t\ttop: centerY - floatingRect.height / 2\n\t\t};\n\t\treturn {\n\t\t\tleft: centerX - floatingRect.width / 2,\n\t\t\ttop: anchorRect.top - floatingRect.height - offset\n\t\t};\n\t};\n\t/** How far outside the padded viewport this placement would reach, in px. */\n\tconst overflowOf = ({ left, top }) => Math.max(viewportPadding - left, 0) + Math.max(viewportPadding - top, 0) + Math.max(left + floatingRect.width - viewport.width + viewportPadding, 0) + Math.max(top + floatingRect.height - viewport.height + viewportPadding, 0);\n\tconst best = {\n\t\ttop: [\n\t\t\t\"top\",\n\t\t\t\"bottom\",\n\t\t\t\"right\",\n\t\t\t\"left\"\n\t\t],\n\t\tbottom: [\n\t\t\t\"bottom\",\n\t\t\t\"top\",\n\t\t\t\"right\",\n\t\t\t\"left\"\n\t\t],\n\t\tleft: [\n\t\t\t\"left\",\n\t\t\t\"right\",\n\t\t\t\"top\",\n\t\t\t\"bottom\"\n\t\t],\n\t\tright: [\n\t\t\t\"right\",\n\t\t\t\"left\",\n\t\t\t\"top\",\n\t\t\t\"bottom\"\n\t\t]\n\t}[side].map((candidate) => ({\n\t\tside: candidate,\n\t\tcoordinates: coordinatesFor(candidate)\n\t})).reduce((winner, candidate) => overflowOf(candidate.coordinates) < overflowOf(winner.coordinates) ? candidate : winner);\n\tconst clamp = (value, min, max) => Math.min(Math.max(value, min), Math.max(min, max));\n\treturn {\n\t\tside: best.side,\n\t\tleft: clamp(best.coordinates.left, viewportPadding, viewport.width - floatingRect.width - viewportPadding),\n\t\ttop: clamp(best.coordinates.top, viewportPadding, viewport.height - floatingRect.height - viewportPadding)\n\t};\n}\n/**\n* Keeps a four-sided floating element against its anchor across scroll and\n* resize. Returns a cleanup function.\n*\n* The sibling of `observeAnchoredPosition` for the side model. Scroll is\n* observed in the capture phase so scrolling any ancestor repositions the\n* element, not only the document — a tooltip inside a scrolling panel would\n* otherwise stay where the panel used to be.\n*/\nfunction observeSidePosition({ getAnchor, getFloating, onChange, ...options }) {\n\tif (typeof window === \"undefined\") return noop;\n\tconst updatePosition = () => {\n\t\tconst anchor = getAnchor();\n\t\tconst floating = getFloating();\n\t\tif (!anchor || !floating) return;\n\t\tonChange(computeSidePosition(anchor.getBoundingClientRect(), floating.getBoundingClientRect(), {\n\t\t\twidth: window.innerWidth,\n\t\t\theight: window.innerHeight\n\t\t}, options));\n\t};\n\tupdatePosition();\n\twindow.addEventListener(\"resize\", updatePosition);\n\twindow.addEventListener(\"scroll\", updatePosition, true);\n\treturn () => {\n\t\twindow.removeEventListener(\"resize\", updatePosition);\n\t\twindow.removeEventListener(\"scroll\", updatePosition, true);\n\t};\n}\n/**\n* Keep a floating element of `size` inside the padded viewport when it is\n* placed at `point` — a context menu opened under the pointer, which has no\n* anchor element to flip around.\n*\n* Pinned to the padding rather than inverted: a right-click near the bottom\n* edge should put the menu just above that edge, not jump it above the cursor,\n* because the pointer is already where the user is looking.\n*/\nfunction clampToViewport(point, size, viewport, padding = 8) {\n\tconst clamp = (value, min, max) => Math.min(Math.max(value, min), Math.max(min, max));\n\treturn {\n\t\tx: clamp(point.x, padding, viewport.width - size.width - padding),\n\t\ty: clamp(point.y, padding, viewport.height - size.height - padding)\n\t};\n}\n//#endregion\nexport { clampToViewport, computeAnchoredPosition, computeSidePosition, observeAnchoredPosition, observeSidePosition };\n","/**\n * Position a popover panel at a point in client coordinates.\n *\n * `inset: auto` and `margin: 0` are not tidying — they are what makes `left`\n * and `top` mean what they say. The UA stylesheet gives `[popover]`\n * `inset: 0` and `margin: auto`, which *centres* it, so setting `left` alone\n * adjusts an inset that `margin: auto` then re-centres within. Measured: with\n * the UA defaults, `left: 120px` on a 180px-wide popover in a 600px viewport\n * lands at 263.\n *\n * Set inline rather than in each component's stylesheet so a panel is\n * positioned correctly even where that stylesheet has not been applied —\n * which includes the browser test project, and a consumer who forgot\n * `styles.css`.\n */\nexport function placePopover(panel: HTMLElement, left: number, top: number): void {\n panel.style.inset = 'auto';\n panel.style.margin = '0';\n panel.style.left = `${left}px`;\n panel.style.top = `${top}px`;\n}\n"],"names":[],"mappings":"AAAA;AACA;AACA,IAAI,IAAI,GAAG,MAAM,EAAE;;ACDnB;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,uBAAuB,CAAC,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE,KAAK,GAAG,OAAO,EAAE,MAAM,GAAG,CAAC,EAAE,eAAe,GAAG,CAAC,EAAE,QAAQ,EAAE,gBAAgB,GAAG,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,GAAG,EAAE,EAAE;AACjL,CAAC,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAgB,GAAG,UAAU,CAAC,KAAK,GAAG,CAAC,EAAE,QAAQ,IAAI,CAAC,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC,CAAC;AACzG,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,KAAK,GAAG,eAAe,GAAG,KAAK;AACzD,CAAC,MAAM,WAAW,GAAG,KAAK,KAAK,KAAK,GAAG,UAAU,CAAC,KAAK,GAAG,KAAK,GAAG,UAAU,CAAC,IAAI;AACjF,CAAC,MAAM,IAAI,GAAG,OAAO,IAAI,eAAe,GAAG,IAAI,CAAC,GAA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CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,GAAG,OAAO;AACpE,EAAE;AACF;;ACpKA;;;;;;;;;;;;;;AAcG;SACa,YAAY,CAAC,KAAkB,EAAE,IAAY,EAAE,GAAW,EAAA;AACxE,IAAA,KAAK,CAAC,KAAK,CAAC,KAAK,GAAG,MAAM;AAC1B,IAAA,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,GAAG;IACxB,KAAK,CAAC,KAAK,CAAC,IAAI,GAAG,CAAA,EAAG,IAAI,IAAI;IAC9B,KAAK,CAAC,KAAK,CAAC,GAAG,GAAG,CAAA,EAAG,GAAG,IAAI;AAC9B;;;;"}
@@ -0,0 +1,2 @@
1
+ var r=new Map;var c=new Map;var n=r=>{const n=r.icon?.[2];if(!Array.isArray(n))return;for(const e of n)if(typeof e==="string")c.set(e,r)};var e=r=>{for(const[n,e]of c)if(e===r)c.delete(n)};var t={circleCheck:"circle-check",circleQuestion:"circle-question",circleInfo:"circle-info"};var a=r=>r.replace(/[A-Z]/g,(r=>`-${r.toLowerCase()}`));var i=r=>t[r]??a(r);function o(c){for(const[t,a]of Object.entries(c)){const c=r.get(t);if(c&&c!==a)e(c);r.set(t,a);n(a)}}function s(n){const e=i(n);return r.get(e)??c.get(e)}function f(r){const[c,n,,,e]=r.icon;return{viewBox:`0 0 ${c} ${n}`,paths:Array.isArray(e)?e:[e]}}function u(r){switch(r){case"success":return"circle-check";case"warning":return"triangle-exclamation";case"danger":return"circle-xmark";default:return"circle-info"}}export{s as a,f as g,i as n,o as r,u as s};
2
+ //# sourceMappingURL=p-CCln56Fj.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-CCln56Fj.js","sources":["../core/dist/icons.js"],"sourcesContent":["//#region src/icons.ts\n/** Every registered glyph, bundled or added by a consumer at runtime. */\nvar registered = /* @__PURE__ */ new Map();\n/**\n* Font Awesome records an icon's former names in `icon[2]`, so `bar-chart`\n* keeps resolving after the icon was renamed to `chart-bar`. Aliases lose to\n* registered names, so registering under an alias is never shadowed.\n*/\nvar aliases = /* @__PURE__ */ new Map();\nvar registerAliases = (glyph) => {\n\tconst names = glyph.icon?.[2];\n\tif (!Array.isArray(names)) return;\n\tfor (const alias of names) if (typeof alias === \"string\") aliases.set(alias, glyph);\n};\n/**\n* Drop the aliases a glyph brought with it. Without this, replacing a\n* registered icon leaves its old aliases pointing at the old glyph.\n*/\nvar unregisterAliases = (glyph) => {\n\tfor (const [alias, target] of aliases) if (target === glyph) aliases.delete(alias);\n};\n/** Spellings that do not survive kebab-casing. */\nvar legacySpellings = {\n\tcircleCheck: \"circle-check\",\n\tcircleQuestion: \"circle-question\",\n\tcircleInfo: \"circle-info\"\n};\nvar toKebabCase = (value) => value.replace(/[A-Z]/g, (c) => `-${c.toLowerCase()}`);\n/** `chartBar` and `chart-bar` are the same icon; so are `circleInfo` and `circle-info`. */\nvar normalizeIconName = (name) => legacySpellings[name] ?? toKebabCase(name);\n/**\n* Add glyphs, or replace existing ones. Replacing takes the old icon's aliases\n* with it.\n*/\nfunction registerIconGlyphs(glyphs) {\n\tfor (const [name, glyph] of Object.entries(glyphs)) {\n\t\tconst previous = registered.get(name);\n\t\tif (previous && previous !== glyph) unregisterAliases(previous);\n\t\tregistered.set(name, glyph);\n\t\tregisterAliases(glyph);\n\t}\n}\n/** The glyph for a name or one of its aliases, or undefined. */\nfunction resolveIconGlyph(name) {\n\tconst normalized = normalizeIconName(name);\n\treturn registered.get(normalized) ?? aliases.get(normalized);\n}\n/** Registered names, sorted. Aliases are not included. */\nvar getRegisteredIconNames = () => [...registered.keys()].sort();\nfunction getIconPaths(glyph) {\n\tconst [width, height, , , pathData] = glyph.icon;\n\treturn {\n\t\tviewBox: `0 0 ${width} ${height}`,\n\t\tpaths: Array.isArray(pathData) ? pathData : [pathData]\n\t};\n}\n/**\n* The icon that stands for each severity.\n*\n* Both `Alert` and `Notification` carried identical copies of this map, and\n* `<pf-notification>` would have made a third. The name is returned rather\n* than a glyph, so core still imports nothing and each layer resolves it\n* through its own `Icon` / `<pf-icon>`.\n*/\nfunction severityIconName(variant) {\n\tswitch (variant) {\n\t\tcase \"success\": return \"circle-check\";\n\t\tcase \"warning\": return \"triangle-exclamation\";\n\t\tcase \"danger\": return \"circle-xmark\";\n\t\tdefault: return \"circle-info\";\n\t}\n}\n//#endregion\nexport { getIconPaths, getRegisteredIconNames, normalizeIconName, registerIconGlyphs, resolveIconGlyph, severityIconName };\n"],"names":[],"mappings":"AAAA;AACA;AACA,IAAI,UAAU,mBAAmB,IAAI,GAAG,EAAE;AAC1C;AACA;AACA;AACA;AACA;AACA,IAAI,OAAO,mBAAmB,IAAI,GAAG,EAAE;AACvC,IAAI,eAAe,GAAG,CAAC,KAAK,KAAK;AACjC,CAAC,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC;AAC9B,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AAC5B,CAAC,KAAK,MAAM,KAAK,IAAI,KAAK,EAAE,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC;AACpF,CAAC;AACD;AACA;AACA;AACA;AACA,IAAI,iBAAiB,GAAG,CAAC,KAAK,KAAK;AACnC,CAAC,KAAK,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,OAAO,EAAE,IAAI,MAAM,KAAK,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC;AACnF,CAAC;AACD;AACA,IAAI,eAAe,GAAG;AACtB,CAAC,WAAW,EAAE,cAAc;AAC5B,CAAC,cAAc,EAAE,iBAAiB;AAClC,CAAC,UAAU,EAAE;AACb,CAAC;AACD,IAAI,WAAW,GAAG,CAAC,KAAK,KAAK,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;AAClF;AAC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sB;AAC/C,EAAE,KAAK,QAAQ,EAAE,OAAO,cAAc;AACtC,EAAE,SAAS,OAAO,aAAa;AAC/B;AACA;;;;"}
@@ -0,0 +1,2 @@
1
+ var r=["var(--pf-chart-color-1)","var(--pf-chart-color-2)","var(--pf-chart-color-3)","var(--pf-chart-color-4)","var(--pf-chart-color-5)","var(--pf-chart-color-6)"];function t(t){const a=t.map(((t,a)=>({index:a,value:Number.isFinite(t.value)?Math.max(t.value,0):0,color:t.color??r[a%r.length]}))).filter((r=>r.value>0));const n=a.reduce(((r,t)=>r+t.value),0);if(!(n>0))return[];return a.map((r=>({...r,percentage:r.value/n*100})))}function a(r){const t=r.map((r=>Math.floor(r)));const a=t.reduce(((r,t)=>r+t),0);let n=Math.round(r.reduce(((r,t)=>r+t),0))-a;const o=r.map(((r,t)=>({index:t,remainder:r-Math.floor(r)}))).sort(((r,t)=>t.remainder-r.remainder||r.index-t.index));const c=[...t];for(const{index:r}of o){if(n<=0)break;c[r]+=1;n-=1}return c}function n(r){let t=0;return`conic-gradient(${r.map((r=>{const a=t;t+=r.percentage;return`${r.color} ${a}% ${t}%`})).join(", ")})`}function o(r){if(!Number.isFinite(r))return 0;return Math.min(Math.max(r,0),.88)}export{r as C,n as a,o as c,t as p,a as r};
2
+ //# sourceMappingURL=p-COAc4ZDB.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-COAc4ZDB.js","sources":["../core/dist/pie.js"],"sourcesContent":["//#region src/pie.ts\n/**\n* The arithmetic behind a pie or donut: which slices there are, how big each\n* one is, and the gradient that draws them.\n*\n* Shared because the numbers in the legend and the angles in the chart have to\n* agree, and because two layers rounding percentages differently would show\n* the same data as two different breakdowns.\n*/\n/**\n* The series palette, as the names of the theme's own aliases.\n*\n* Names rather than values, so a slice picks up the theme's dark-mode shift,\n* and in core rather than in each layer so the first slice is the same colour\n* in a pie, a bar and a line for the same series.\n*/\nvar CHART_SERIES_COLORS = [\n\t\"var(--pf-chart-color-1)\",\n\t\"var(--pf-chart-color-2)\",\n\t\"var(--pf-chart-color-3)\",\n\t\"var(--pf-chart-color-4)\",\n\t\"var(--pf-chart-color-5)\",\n\t\"var(--pf-chart-color-6)\"\n];\n/**\n* The slices worth drawing, in order.\n*\n* Non-positive values are dropped — a zero slice is a legend entry, not a\n* wedge — and a value that is not a number goes with them, since `NaN > 0` is\n* false.\n*\n* The part that matters is the **order**: filter first, then total. The React\n* `PieChart` totalled the unfiltered list, so one `NaN` made the total `NaN`,\n* slipped past a `total <= 0` guard that `NaN` does not satisfy, and left\n* every *surviving* slice with a percentage of `NaN` — an invalid\n* `conic-gradient` and a chart that drew blank. Measured by putting the two\n* steps back in the wrong order, which fails two tests here and one in the\n* React layer; the `Number.isFinite` guard on its own changes nothing, which\n* is how the order was identified as the fix.\n*\n* Empty when nothing is left, which is the caller's signal to show its empty\n* state rather than a chart of nothing.\n*/\nfunction preparePieSegments(data) {\n\tconst usable = data.map((item, index) => ({\n\t\tindex,\n\t\tvalue: Number.isFinite(item.value) ? Math.max(item.value, 0) : 0,\n\t\tcolor: item.color ?? CHART_SERIES_COLORS[index % CHART_SERIES_COLORS.length]\n\t})).filter((item) => item.value > 0);\n\tconst total = usable.reduce((sum, item) => sum + item.value, 0);\n\tif (!(total > 0)) return [];\n\treturn usable.map((item) => ({\n\t\t...item,\n\t\tpercentage: item.value / total * 100\n\t}));\n}\n/**\n* Whole percentages that sum to exactly 100.\n*\n* Largest remainder: floor everything, then give the leftover points to the\n* slices that lost the most by being floored. Rounding each slice on its own —\n* which is what both layers did in their legends — shows three equal thirds as\n* \"33%, 33%, 33%\" and three slices of 16.7 as \"17%, 17%, 17%\", so a reader is\n* invited to notice that the breakdown does not add up.\n*/\nfunction roundPercentages(percentages) {\n\tconst floors = percentages.map((value) => Math.floor(value));\n\tconst used = floors.reduce((sum, value) => sum + value, 0);\n\tlet leftover = Math.round(percentages.reduce((sum, value) => sum + value, 0)) - used;\n\tconst order = percentages.map((value, index) => ({\n\t\tindex,\n\t\tremainder: value - Math.floor(value)\n\t})).sort((a, b) => b.remainder - a.remainder || a.index - b.index);\n\tconst result = [...floors];\n\tfor (const { index } of order) {\n\t\tif (leftover <= 0) break;\n\t\tresult[index] += 1;\n\t\tleftover -= 1;\n\t}\n\treturn result;\n}\n/**\n* A `conic-gradient` with one hard stop per slice.\n*\n* Hard stops — each slice's end is the next one's start — because a gradient\n* with soft stops would blend the slices into each other, which is a different\n* chart.\n*/\nfunction pieConicGradient(segments) {\n\tlet cursor = 0;\n\treturn `conic-gradient(${segments.map((segment) => {\n\t\tconst start = cursor;\n\t\tcursor += segment.percentage;\n\t\treturn `${segment.color} ${start}% ${cursor}%`;\n\t}).join(\", \")})`;\n}\n/**\n* The hole in the middle, as a fraction of the diameter.\n*\n* Capped below 1 because a cutout of 1 is a chart with no chart in it, and\n* 0.88 is where the ring stops being readable.\n*/\nfunction clampPieCutout(value) {\n\tif (!Number.isFinite(value)) return 0;\n\treturn Math.min(Math.max(value, 0), .88);\n}\n//#endregion\nexport { CHART_SERIES_COLORS, clampPieCutout, pieConicGradient, preparePieSegments, roundPercentages };\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACG,IAAC,mBAAmB,GAAG;AAC1B,CAAC,yBAAyB;AAC1B,CAAC,yBAAyB;AAC1B,CAAC,yBAAyB;AAC1B,CAAC,yBAAyB;AAC1B,CAAC,yBAAyB;AAC1B,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,kBAAkB,CAAC,IAAI,EAAE;AAClC,CAAC,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,MAAM;AAC3C,EAAE,KAAK;AACP,EAAE,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,GAA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@
1
+ import{C as t}from"./p-COAc4ZDB.js";var n={width:560,height:240};var r={top:24,right:32,bottom:40,left:56};var e={width:n.width-r.left-r.right,height:n.height-r.top-r.bottom};function o(n,r){return r??t[n%t.length]}function s(t,n=5){const r=[0,1,2,3,4,5];if(!Number.isFinite(t)||t<=0)return r;const e=t/Math.max(1,n);const o=10**Math.floor(Math.log10(e));const s=([1,2,2.5,5,10].find((t=>t*o>=e))??10)*o;if(!(s>0))return r;const u=Math.max(1,Math.ceil(t/s-1e-9));return Array.from({length:u+1},((t,n)=>Number((n*s).toPrecision(12))))}function u(t){if(!Number.isFinite(t))return"0";const n=Math.abs(t);if(n>=1e6)return`${(t/1e6).toFixed(1)}M`;if(n>=1e3)return`${(t/1e3).toFixed(t%1e3===0?0:1)}k`;if(n>0&&n<1)return String(Number(t.toPrecision(2)));return String(Math.round(t))}function a(t,n){const o=n>0?n:1;const s=Number.isFinite(t)?t:0;return r.top+e.height-s/o*e.height}function c(t,n){if(n<=1)return r.left+e.width/2;return r.left+t/(n-1)*e.width}function i(t){if(t.length===0)return"";return`M ${t.map((t=>`${t.x},${t.y}`)).join(" L ")}`}function h(t){if(t.length===0)return"";if(t.length===1)return`M ${t[0].x},${t[0].y}`;if(t.length===2)return i(t);const n=t=>Number(t.toFixed(2));let r=`M ${t[0].x},${t[0].y}`;for(let e=0;e<t.length-1;e+=1){const o=t[Math.max(0,e-1)];const s=t[e];const u=t[e+1];const a=t[Math.min(t.length-1,e+2)];const c=n(s.x+(u.x-o.x)/6);const i=n(s.y+(u.y-o.y)/6);const h=n(u.x-(a.x-s.x)/6);const f=n(u.y-(a.y-s.y)/6);r+=` C ${c},${i} ${h},${f} ${u.x},${u.y}`}return r}function f(t,n){if(!t||n.length===0)return"";const o=r.top+e.height;return`${t} L ${n[n.length-1].x},${o} L ${n[0].x},${o} Z`}function M(t,n,o){const s=Math.max(1,Math.floor(t)||1);const u=Math.max(1,Math.floor(n)||1);const a=e.width/s;const c=a*.72;const i=Math.max(2,a*.06);const h=o?c:Math.max(1,(c-i*(u-1))/u);const f=Array.from({length:s},((t,n)=>r.left+(n+.5)*a));return{groupWidth:a,barWidth:h,gap:i,groupLefts:f.map((t=>t-c/2)),groupCenters:f}}function $(t,n=12){return Math.max(1,Math.ceil(t/Math.max(1,n)))}export{n as C,r as a,M as b,o as c,e as d,$ as e,u as f,c as g,i as h,f as i,s as n,a as p,h as s};
2
+ //# sourceMappingURL=p-CmX-kVk-.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-CmX-kVk-.js","sources":["../core/dist/cartesian.js"],"sourcesContent":["import { CHART_SERIES_COLORS } from \"./pie.js\";\n//#region src/cartesian.ts\n/**\n* The scales and paths behind a line, area or bar chart: where the axis ticks\n* fall, where a value lands in the plot, and the paths drawn through those\n* points.\n*\n* Shared because the axis labels and the geometry have to come from the same\n* tick scale — a chart whose gridlines say 40 and whose line peaks at\n* three-quarters height is worse than one with no gridlines — and because\n* both layers draw the same two chart types.\n*/\n/** The viewBox both chart types draw into, and the room left for the axes. */\nvar CHART_VIEW = {\n\twidth: 560,\n\theight: 240\n};\nvar CHART_PADDING = {\n\ttop: 24,\n\tright: 32,\n\tbottom: 40,\n\tleft: 56\n};\nvar CHART_PLOT = {\n\twidth: CHART_VIEW.width - CHART_PADDING.left - CHART_PADDING.right,\n\theight: CHART_VIEW.height - CHART_PADDING.top - CHART_PADDING.bottom\n};\n/** The colour for a series: the one it asked for, or the palette's. */\nfunction chartSeriesColor(index, override) {\n\treturn override ?? CHART_SERIES_COLORS[index % CHART_SERIES_COLORS.length];\n}\n/**\n* Axis ticks a person would have chosen: `0` upwards in steps of 1, 2, 2.5 or\n* 5 times a power of ten, ending at or just above the largest value.\n*\n* Three things the React version got wrong, all of them in the arithmetic\n* rather than in the idea:\n*\n* - A `maxValue` that is not a number fell through the `<= 0` guard, made\n* `step` `NaN`, and so produced an **empty** array — after which\n* `ticks[ticks.length - 1]` was `undefined`, the whole chart's `maxTick`\n* was `undefined`, and every coordinate came out `NaN`.\n* - The ticks were accumulated with `v += step`, which drifts: a step of\n* `0.1` gave `0.30000000000000004` as an axis label. They are multiplied\n* out from the index instead.\n* - An `Infinity` maximum looped on a step of `Infinity`.\n*/\nfunction niceAxisTicks(maxValue, count = 5) {\n\tconst fallback = [\n\t\t0,\n\t\t1,\n\t\t2,\n\t\t3,\n\t\t4,\n\t\t5\n\t];\n\tif (!Number.isFinite(maxValue) || maxValue <= 0) return fallback;\n\tconst rough = maxValue / Math.max(1, count);\n\tconst magnitude = 10 ** Math.floor(Math.log10(rough));\n\tconst step = ([\n\t\t1,\n\t\t2,\n\t\t2.5,\n\t\t5,\n\t\t10\n\t].find((factor) => factor * magnitude >= rough) ?? 10) * magnitude;\n\tif (!(step > 0)) return fallback;\n\tconst steps = Math.max(1, Math.ceil(maxValue / step - 1e-9));\n\treturn Array.from({ length: steps + 1 }, (_, index) => Number((index * step).toPrecision(12)));\n}\n/**\n* A tick as a person reads it: `1.5k`, `2M`, `940`, `0.25`.\n*\n* In core because the axis and the hover title have to agree, and because two\n* layers abbreviating differently would show the same number two ways in one\n* chart.\n*\n* The fractional branch is the fix: the React version ended in\n* `String(Math.round(value))`, so **every** tick on an axis that tops out\n* below 1 printed as `0` — a chart of conversion rates had six gridlines all\n* labelled zero. Below 1 the value is shown to two significant figures with\n* trailing zeros trimmed, which is what `Number(toPrecision(2))` gives.\n*/\nfunction formatAxisTick(value) {\n\tif (!Number.isFinite(value)) return \"0\";\n\tconst magnitude = Math.abs(value);\n\tif (magnitude >= 1e6) return `${(value / 1e6).toFixed(1)}M`;\n\tif (magnitude >= 1e3) return `${(value / 1e3).toFixed(value % 1e3 === 0 ? 0 : 1)}k`;\n\tif (magnitude > 0 && magnitude < 1) return String(Number(value.toPrecision(2)));\n\treturn String(Math.round(value));\n}\n/** Where a value sits vertically: the plot's floor at 0, its ceiling at `maxTick`. */\nfunction plotY(value, maxTick) {\n\tconst top = maxTick > 0 ? maxTick : 1;\n\tconst safe = Number.isFinite(value) ? value : 0;\n\treturn CHART_PADDING.top + CHART_PLOT.height - safe / top * CHART_PLOT.height;\n}\n/**\n* Where the nth of `count` points sits horizontally.\n*\n* A single point goes in the middle: `index / (count - 1)` divides by zero\n* there, which is the same trap `sparklinePoints` exists to avoid.\n*/\nfunction plotX(index, count) {\n\tif (count <= 1) return CHART_PADDING.left + CHART_PLOT.width / 2;\n\treturn CHART_PADDING.left + index / (count - 1) * CHART_PLOT.width;\n}\n/** A straight line through the points. */\nfunction straightSeriesPath(points) {\n\tif (points.length === 0) return \"\";\n\treturn `M ${points.map((point) => `${point.x},${point.y}`).join(\" L \")}`;\n}\n/**\n* A smooth line through the points, as cubic beziers.\n*\n* Catmull-Rom with the usual sixth-of-the-span control points, which passes\n* *through* every point rather than near it — a chart whose line misses its\n* own dots is a chart nobody trusts.\n*/\nfunction smoothSeriesPath(points) {\n\tif (points.length === 0) return \"\";\n\tif (points.length === 1) return `M ${points[0].x},${points[0].y}`;\n\tif (points.length === 2) return straightSeriesPath(points);\n\tconst round = (value) => Number(value.toFixed(2));\n\tlet path = `M ${points[0].x},${points[0].y}`;\n\tfor (let index = 0; index < points.length - 1; index += 1) {\n\t\tconst before = points[Math.max(0, index - 1)];\n\t\tconst from = points[index];\n\t\tconst to = points[index + 1];\n\t\tconst after = points[Math.min(points.length - 1, index + 2)];\n\t\tconst c1x = round(from.x + (to.x - before.x) / 6);\n\t\tconst c1y = round(from.y + (to.y - before.y) / 6);\n\t\tconst c2x = round(to.x - (after.x - from.x) / 6);\n\t\tconst c2y = round(to.y - (after.y - from.y) / 6);\n\t\tpath += ` C ${c1x},${c1y} ${c2x},${c2y} ${to.x},${to.y}`;\n\t}\n\treturn path;\n}\n/** The same line closed down to the plot's floor, for the filled variant. */\nfunction areaSeriesPath(line, points) {\n\tif (!line || points.length === 0) return \"\";\n\tconst floor = CHART_PADDING.top + CHART_PLOT.height;\n\treturn `${line} L ${points[points.length - 1].x},${floor} L ${points[0].x},${floor} Z`;\n}\n/**\n* How wide the bars are and where each group starts.\n*\n* `barWidth` is floored at 1: with enough series,\n* `(total - gap * (m - 1)) / m` goes **negative**, and a negative `width` on\n* a `<rect>` is an error the browser drops the element for — so a chart of\n* twelve series silently lost its bars.\n*/\nfunction barGeometry(groups, seriesCount, stacked) {\n\tconst count = Math.max(1, Math.floor(groups) || 1);\n\tconst series = Math.max(1, Math.floor(seriesCount) || 1);\n\tconst groupWidth = CHART_PLOT.width / count;\n\tconst totalWidth = groupWidth * .72;\n\tconst gap = Math.max(2, groupWidth * .06);\n\tconst barWidth = stacked ? totalWidth : Math.max(1, (totalWidth - gap * (series - 1)) / series);\n\tconst groupCenters = Array.from({ length: count }, (_, index) => CHART_PADDING.left + (index + .5) * groupWidth);\n\treturn {\n\t\tgroupWidth,\n\t\tbarWidth,\n\t\tgap,\n\t\tgroupLefts: groupCenters.map((center) => center - totalWidth / 2),\n\t\tgroupCenters\n\t};\n}\n/**\n* How often to print an x-axis label.\n*\n* Every label on a long series overlaps itself into a grey smear, so a chart\n* of forty points prints every fourth. Twelve is as many as fit across the\n* plot at the tick font size.\n*/\nfunction axisLabelStep(count, maximumLabels = 12) {\n\treturn Math.max(1, Math.ceil(count / Math.max(1, maximumLabels)));\n}\n//#endregion\nexport { CHART_PADDING, CHART_PLOT, CHART_VIEW, areaSeriesPath, axisLabelStep, barGeometry, chartSeriesColor, formatAxisTick, niceAxisTicks, plotX, plotY, smoothSeriesPath, straightSeriesPath };\n"],"names":[],"mappings":";;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACG,IAAC,UAAU,GAAG;AACjB,CAAC,KAAK,EAAE,GAAG;AACX,CAAC,MAAM,EAAE;AACT;AACG,IAAC,aAAa,GAAG;AACpB,CAAC,GAAG,EAAE,EAAE;AACR,CAAC,KAAK,EAAE,EAAE;AACV,CAAC,MAAM,EAAE,EAAE;AACX,CAAC,IAAI,EAAE;AACP;AACG,IAAC,UAAU,GAAG;AACjB,CAAC,KAAK,EA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AAM,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,UAAU,GAAG,GAAG,IAAI,MAAM,GAAG,CAAC,CAAC,IAAI,MAAM,CAAC;AAChG,CAAC,MAAM,YAAY,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,aAAa,CAAC,IAAI,GAAG,CAAC,KAAK,GAAG,EAAE,IAAI,UAAU,CAAC;AACjH,CAAC,OAAO;AACR,EAAE,UAAU;AACZ,EAAE,QAAQ;AACV,EAAE,GAAG;AACL,EAAE,UAAU,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC,MAAM,KAAK,MAAM,GAAG,UAAU,GAAG,CAAC,CAAC;AACnE,EAAE;AACF,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,aAAa,CAAC,KAAK,EAAE,aAAa,GAAG,EAAE,EAAE;AAClD,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC;AAClE;;;;"}
@@ -0,0 +1,2 @@
1
+ function s(s,e,r){if(r)return{flags:{customError:true},message:r};if(e&&!s){return{flags:{valueMissing:true},message:"This field is required."}}return{flags:{},message:""}}function e(e,r,a,i){const{flags:t,message:u}=s(r,a,i);e.setValidity(t,u)}export{e as a};
2
+ //# sourceMappingURL=p-Cr6IXrUk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-Cr6IXrUk.js","sources":["src/form-validity.ts"],"sourcesContent":["/**\n * The validity rules every form-associated element here shares.\n *\n * Not in `@pitchfork-ui/core`: this is about `ElementInternals`, which only\n * the elements layer has. The React components are native inputs and get all\n * of it from the browser.\n *\n * Shared between the elements because the alternative is each one inventing\n * its own precedence between `error` and `required`, and a design system whose\n * controls disagree about which message wins is worse than one with no\n * messages.\n */\n\nexport interface ValidityState_ {\n flags: ValidityStateFlags;\n message: string;\n}\n\n/**\n * `error` wins over `required`. A consumer who has set an error message has\n * already decided what to say; \"This field is required.\" would overwrite a\n * server's own answer with a guess.\n */\nexport function resolveControlValidity(\n hasValue: boolean,\n required: boolean,\n error: string | undefined,\n): ValidityState_ {\n if (error) return { flags: { customError: true }, message: error };\n if (required && !hasValue) {\n return { flags: { valueMissing: true }, message: 'This field is required.' };\n }\n return { flags: {}, message: '' };\n}\n\n/** Applies `resolveControlValidity` to an element's internals. */\nexport function applyControlValidity(\n internals: ElementInternals,\n hasValue: boolean,\n required: boolean,\n error: string | undefined,\n): void {\n const { flags, message } = resolveControlValidity(hasValue, required, error);\n internals.setValidity(flags, message);\n}\n"],"names":[],"mappings":"AAAA;;;;;;;;;;;AAWG;AAOH;;;;AAIG;SACa,sBAAsB,CACpC,QAAiB,EACjB,QAAiB,EACjB,KAAyB,EAAA;AAEzB,IAAA,IAAI,KAAK;AAAE,QAAA,OAAO,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;AAClE,IAAA,IAAI,QAAQ,IAAI,CAAC,QAAQ,EAAE;AACzB,QAAA,OAAO,EAAE,KAAK,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,yBAAyB,EAAE;;IAE9E,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;AACnC;AAEA;AACM,SAAU,oBAAoB,CAClC,SAA2B,EAC3B,QAAiB,EACjB,QAAiB,EACjB,KAAyB,EAAA;AAEzB,IAAA,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,sBAAsB,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,CAAC;AAC5E,IAAA,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC;AACvC;;;;"}
@@ -0,0 +1,2 @@
1
+ async function i(i){if(!i||typeof i.getAnimations!=="function")return;await new Promise((i=>{if(typeof requestAnimationFrame==="function")requestAnimationFrame((()=>i(void 0)));else i(void 0)}));const e=i.getAnimations().filter((i=>i.playState!=="finished"));if(e.length===0)return;await Promise.all(e.map((i=>i.finished.catch((()=>void 0)))))}export{i as a};
2
+ //# sourceMappingURL=p-Cta76kgc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-Cta76kgc.js","sources":["../core/dist/motion.js"],"sourcesContent":["//#region src/motion.ts\n/**\n* Whether the user has asked for reduced motion. Guarded for non-browser\n* environments and for `matchMedia`-less test doubles, both of which report\n* \"no preference\" rather than throwing.\n*/\nvar prefersReducedMotion = () => typeof window !== \"undefined\" && typeof window.matchMedia === \"function\" && window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;\n/**\n* Resolves once every animation on `element` has finished, or straight away\n* when there is not one.\n*\n* `getAnimations()` is the only reliable way to ask, and this is the only\n* honest way to wait. The alternatives all fail in ordinary situations:\n*\n* - An `animationend` listener **waits forever** when no animation ever\n* started, and there are three everyday ways for that to happen —\n* `prefers-reduced-motion` setting `animation: none`, a consumer who has\n* not loaded the stylesheet, and a test project that applies none.\n* - `getComputedStyle().animationName` reports whatever `animation` declared\n* whether or not the `@keyframes` resolve, so it cannot tell a working\n* animation from a missing one.\n* - A fixed timeout is a guess that goes stale the moment the CSS duration\n* changes, and fires early or late everywhere else. The React\n* `useExitAnimation` waited a hard-coded 220ms for exactly this.\n*\n* A frame passes first, so a class or attribute applied in the same tick has\n* taken effect and the animation exists to be found. A cancelled animation\n* rejects, which is still \"done\".\n*/\nasync function animationsFinished(element) {\n\tif (!element || typeof element.getAnimations !== \"function\") return;\n\tawait new Promise((resolve) => {\n\t\tif (typeof requestAnimationFrame === \"function\") requestAnimationFrame(() => resolve(void 0));\n\t\telse resolve(void 0);\n\t});\n\tconst running = element.getAnimations().filter((animation) => animation.playState !== \"finished\");\n\tif (running.length === 0) return;\n\tawait Promise.all(running.map((animation) => animation.finished.catch(() => void 0)));\n}\n//#endregion\nexport { animationsFinished, prefersReducedMotion };\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,kBAAkB,CAAC,OAAO,EAAE;AAC3C,CAAC,IAAI,CAAC,OAAO,IAAI,OAAO,OAAO,CAAC,aAAa,KAAK,UAAU,EAAE;AAC9D,CAAC,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,KAAK;AAChC,EAAE,IAAI,OAAO,qBAAqB,KAAK,UAAU,EAAE,qBAAqB,CAAC,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;AAC/F,OAAO,OAAO,CAAC,MAAM,CAAC;AACtB,EAAE,CAAC;AACH,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,MAAM,CAAC,CAAC,SAAS,KAAK,SAAS,CAAC,SAAS,KAAK,UAAU,CAAC;AAClG,CAAC,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;AAC3B,CAAC,MAAM,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,SAAS,KAAK,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,MAAM,CAAC,CAAC,CAAC;AACtF;;;;"}
@@ -0,0 +1,2 @@
1
+ function n(n){const t=String(n);const r=t.indexOf(".");return r===-1?0:t.length-r-1}function t(n,t,r){return Math.min(Math.max(n,t),r)}function r(t,r){const u=10**n(r);return Math.round(t*u)/u}function u(n,u,{min:e=-Infinity,max:i=Infinity,step:f=1}={}){return r(t((n??(Number.isFinite(e)?e:Number.isFinite(i)?i:0))+u*f,e,i),f)}function e(n){if(n.trim()==="")return null;const t=Number(n);return Number.isNaN(t)?null:t}function i(n,{locale:t,format:r}={}){if(n===null||!Number.isFinite(n))return"";if(!r)return String(n);return new Intl.NumberFormat(t,r).format(n)}export{t as c,i as f,e as p,r,u as s};
2
+ //# sourceMappingURL=p-DSXauhXX.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-DSXauhXX.js","sources":["../core/dist/number-field.js"],"sourcesContent":["//#region src/number-field.ts\n/**\n* How many decimal places a step has, which is what its results are rounded\n* to.\n*\n* Read off the number's own text, so `0.1` gives 1 and `0.25` gives 2. A step\n* written in exponential notation — `1e-7`, which `String()` keeps that way —\n* has no decimal point to count and reports 0; that is a step no stepper can\n* usefully take anyway, and reporting 0 keeps the rounding harmless rather\n* than throwing.\n*/\nfunction decimalsOf(step) {\n\tconst text = String(step);\n\tconst dot = text.indexOf(\".\");\n\treturn dot === -1 ? 0 : text.length - dot - 1;\n}\n/** Keeps a value inside min..max. An unordered pair clamps to `min`. */\nfunction clampNumber(value, min, max) {\n\treturn Math.min(Math.max(value, min), max);\n}\n/**\n* Rounds to the step's own precision, which is what keeps repeated stepping\n* from drifting: ten steps of `0.1` reach exactly `1`, where the raw sum is\n* `0.9999999999999999`.\n*/\nfunction roundToStep(value, step) {\n\tconst factor = 10 ** decimalsOf(step);\n\treturn Math.round(value * factor) / factor;\n}\n/**\n* Where one step from `current` lands, clamped and rounded.\n*\n* An empty field has to start somewhere: the nearer bound if there is one —\n* stepping up from empty in a 10..20 field gives 11, not 1 — and zero when\n* the field is unbounded.\n*/\nfunction stepNumber(current, direction, { min = -Infinity, max = Infinity, step = 1 } = {}) {\n\treturn roundToStep(clampNumber((current ?? (Number.isFinite(min) ? min : Number.isFinite(max) ? max : 0)) + direction * step, min, max), step);\n}\n/**\n* Reads what someone typed, or `null` for an empty field.\n*\n* `null` rather than `0`, because a field someone has cleared is not a field\n* holding zero — a form reading one as the other is the bug this prevents.\n* Anything unparseable is also `null`, which a caller treats as \"leave the\n* value alone\".\n*/\nfunction parseNumberValue(raw) {\n\tif (raw.trim() === \"\") return null;\n\tconst parsed = Number(raw);\n\treturn Number.isNaN(parsed) ? null : parsed;\n}\n/**\n* The value as it is shown while the field is *not* being edited — thousands\n* separators, a currency symbol, whatever the consumer asked for.\n*\n* Without `format` the plain number is used rather than the locale's default,\n* because a field that reads `1,234` and then has to be parsed back is a\n* round-trip a consumer did not ask for.\n*/\nfunction formatNumberValue(value, { locale, format } = {}) {\n\tif (value === null || !Number.isFinite(value)) return \"\";\n\tif (!format) return String(value);\n\treturn new Intl.NumberFormat(locale, format).format(value);\n}\n//#endregion\nexport { clampNumber, decimalsOf, formatNumberValue, parseNumberValue, roundToStep, stepNumber };\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,UAAU,CAAC,IAAI,EAAE;AAC1B,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;AAC1B,CAAC,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;AAC9B,CAAC,OAAO,GAAG,KAAK,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC,MAAM,GAAG,GAAG,GAAG,CAAC;AAC9C;AACA;AACA,SAAS,WAAW,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE;AACtC,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE,GAAG,CAAC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,WAAW,CAAC,KAAK,EAAE,IAAI,EAAE;AAClC,CAAC,MAAM,MAAM,GAAG,EAAE,IAAI,UAAU,CAAC,IAAI,CAAC;AACtC,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,MAAM,CAAC,GAAG,MAAM;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,UAAU,CAAC,OAAO,EAAE,SAAS,EAAE,EAAE,GAAG,GAAG,CAAC,QAAQ,EAAE,GAAG,GAAG,QAAQ,EAAE,IAAI,GAAG,CAAC,EAAE,GAAG,EAAE,EAAE;AAC5F,CAAC,OAAO,WAAW,CAAC,WAAW,CAAC,CAAC,OAAO,KAAK,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,IAAI,SAAS,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,IAAI,CAAC;AAC/I;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,gBAAgB,CAAC,GAAG,EAAE;AAC/B,CAAC,IAAI,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,IAAI;AACnC,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC;AAC3B,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,MAAM;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,iBAAiB,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE;AAC3D,CAAC,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE;AACzD,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,MAAM,CAAC,KAAK,CAAC;AAClC,CAAC,OAAO,IAAI,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;AAC3D;;;;"}
@@ -0,0 +1,2 @@
1
+ function r(r){return r.findIndex((r=>r.current))}export{r};
2
+ //# sourceMappingURL=p-DToIJg5W.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-DToIJg5W.js","sources":["../core/dist/nav.js"],"sourcesContent":["//#region src/nav.ts\n/**\n* The index of the current item: the first one marked `current`, or `-1` when\n* none is.\n*\n* One index rather than a per-item answer, which is what stops a navigation\n* claiming two current pages — the same defect `resolveCurrentCrumb` exists\n* to prevent, found the same way. The React `HeaderNavigation` and\n* `SidebarNavigation` read `item.active` per item, so two active items put\n* `aria-current=\"page\"` on both and a screen reader announced the reader as\n* being on two pages at once.\n*\n* The fallback differs from a breadcrumb trail's deliberately: the last crumb\n* in a trail *is* the page you are on, so it is current by default, while\n* every item in a navigation points somewhere you are not. Nothing is current\n* until an item says so.\n*/\nfunction resolveCurrentNavItem(items) {\n\treturn items.findIndex((item) => item.current);\n}\n//#endregion\nexport { resolveCurrentNavItem };\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,qBAAqB,CAAC,KAAK,EAAE;AACtC,CAAC,OAAO,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,CAAC;AAC/C;;;;"}
@@ -0,0 +1,2 @@
1
+ function r(r,t){if(Number.isNaN(r))return 0;return Math.min(Math.max(r,0),Math.max(t,0))}function t(r,t){if(r>=t+1)return 100;if(r>t)return Math.round((r-t)*100);return 0}function n(t){return r(t,Number.POSITIVE_INFINITY).toFixed(1)}export{r as c,n as f,t as s};
2
+ //# sourceMappingURL=p-DVK0sUX2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-DVK0sUX2.js","sources":["../core/dist/rating.js"],"sourcesContent":["//#region src/rating.ts\n/**\n* The arithmetic behind a star rating.\n*\n* Shared because both of this library's rating components clamp and both fill\n* stars, and because a half star is a judgement: 3.5 out of 5 has to fill the\n* fourth star by the same amount in a React `RatingStars` and in a\n* `<pf-rating-stars>`, or the same rating looks like two different ones.\n*/\n/**\n* Keeps a rating inside 0..max, so a star cannot be more or less than full.\n*\n* `NaN` is no rating rather than a clamped one: `Math.min(Math.max(NaN, 0), 5)`\n* is `NaN`, which the React component then rendered as the text \"NaN\" and as a\n* `NaN%` CSS width. An infinite rating is simply the maximum.\n*/\nfunction clampRating(value, max) {\n\tif (Number.isNaN(value)) return 0;\n\treturn Math.min(Math.max(value, 0), Math.max(max, 0));\n}\n/**\n* How much of the star at `index` (counting from 0) is filled, as a whole\n* percentage.\n*\n* Rounded, because the value is written into a CSS width and a long fraction\n* there buys nothing. A value at or past the star is full, a value short of\n* it is empty, and anything between fills by its fractional part — so 3.5\n* fills the fourth star halfway rather than rounding it to a whole star,\n* which is the whole point of showing a fraction.\n*/\nfunction starFillPercent(value, index) {\n\tif (value >= index + 1) return 100;\n\tif (value > index) return Math.round((value - index) * 100);\n\treturn 0;\n}\n/**\n* A rating as it is written down: one decimal place, always — `4.0` rather\n* than `4`, so a row of ratings lines up and none of them looks like a\n* different kind of number.\n*\n* Deliberately not locale-aware. The badge puts this either side of a `/`\n* where a decimal comma would read as a second separator, and the two layers\n* have to produce the same string for the same rating.\n*/\nfunction formatRating(value) {\n\treturn clampRating(value, Number.POSITIVE_INFINITY).toFixed(1);\n}\n//#endregion\nexport { clampRating, formatRating, starFillPercent };\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,WAAW,CAAC,KAAK,EAAE,GAAG,EAAE;AACjC,CAAC,IAAI,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;AAClC,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,eAAe,CAAC,KAAK,EAAE,KAAK,EAAE;AACvC,CAAC,IAAI,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,OAAO,GAAG;AACnC,CAAC,IAAI,KAAK,GAAG,KAAK,EAAE,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,GAAG,KAAK,IAAI,GAAG,CAAC;AAC5D,CAAC,OAAO,CAAC;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,YAAY,CAAC,KAAK,EAAE;AAC7B,CAAC,OAAO,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,iBAAiB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/D;;;;"}
@@ -0,0 +1,2 @@
1
+ var a=(...a)=>a.filter(Boolean).join(" ")||void 0;function n(a){return a==="warning"||a==="danger"?"alert":"status"}export{a as c,n as l};
2
+ //# sourceMappingURL=p-DfpCerXM.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-DfpCerXM.js","sources":["../core/dist/aria.js"],"sourcesContent":["//#region src/aria.ts\nvar composeDescribedBy = (...ids) => ids.filter(Boolean).join(\" \") || void 0;\n/**\n* The ARIA role a live region should carry for a given severity.\n*\n* `alert` is an assertive live region: it interrupts whatever a screen reader\n* is saying. That is right for a warning or a failure and wrong for a success\n* toast, which should wait its turn — so only `warning` and `danger` get it.\n*\n* Here rather than in either layer because the two had already diverged:\n* `Alert` carried this map and `Notification` carried no map at all, so the\n* same `danger` content announced assertively from one component and politely\n* from the other. One definition is what stops that happening again.\n*/\nfunction liveRegionRole(variant) {\n\treturn variant === \"warning\" || variant === \"danger\" ? \"alert\" : \"status\";\n}\n//#endregion\nexport { composeDescribedBy, liveRegionRole };\n"],"names":[],"mappings":"AAAA;AACG,IAAC,kBAAkB,GAAG,CAAC,GAAG,GAAG,KAAK,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,cAAc,CAAC,OAAO,EAAE;AACjC,CAAC,OAAO,OAAO,KAAK,SAAS,IAAI,OAAO,KAAK,QAAQ,GAAG,OAAO,GAAG,QAAQ;AAC1E;;;;"}
@@ -0,0 +1,2 @@
1
+ function n(n){return n.trim().toLowerCase()}function r(r,t){const e=n(t);if(!e)return true;return[r.label,r.description,r.group].some((n=>n?n.toLowerCase().includes(e):false))}function t(n,r){if(!r)return false;return n.trim()===r.trim()}export{r as m,t as q};
2
+ //# sourceMappingURL=p-Dkd7BUB5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-Dkd7BUB5.js","sources":["../core/dist/command.js"],"sourcesContent":["//#region src/command.ts\n/** Trimmed and lower-cased, so an empty or whitespace query matches everything. */\nfunction normalizeCommandQuery(query) {\n\treturn query.trim().toLowerCase();\n}\n/**\n* Substring, case-insensitive, across all three fields. Not fuzzy: the React\n* component is a plain `includes`, and a fuzzy matcher here would make the\n* elements layer rank results the React one does not.\n*/\nfunction matchesCommandQuery(fields, query) {\n\tconst needle = normalizeCommandQuery(query);\n\tif (!needle) return true;\n\treturn [\n\t\tfields.label,\n\t\tfields.description,\n\t\tfields.group\n\t].some((field) => field ? field.toLowerCase().includes(needle) : false);\n}\n/**\n* Whether a combobox query should filter the list at all.\n*\n* It should not when the query is simply the chosen option's label echoed\n* back, which is what the field holds the moment after a selection. Filtering\n* then would leave exactly one option on screen, so reopening the list to\n* change your mind would show only the answer you already had.\n*\n* Shared because it is a rule rather than a rendering detail, and a layer that\n* forgot it would feel broken in a way its own tests would not notice.\n*/\nfunction queryIsEchoedSelection(query, selectedLabel) {\n\tif (!selectedLabel) return false;\n\treturn query.trim() === selectedLabel.trim();\n}\n//#endregion\nexport { matchesCommandQuery, normalizeCommandQuery, queryIsEchoedSelection };\n"],"names":[],"mappings":"AAAA;AACA;AACA,SAAS,qBAAqB,CAAC,KAAK,EAAE;AACtC,CAAC,OAAO,KAAK,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE;AAClC;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,mBAAmB,CAAC,MAAM,EAAE,KAAK,EAAE;AAC5C,CAAC,MAAM,MAAM,GAAG,qBAAqB,CAAC,KAAK,CAAC;AAC5C,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,IAAI;AACzB,CAAC,OAAO;AACR,EAAE,MAAM,CAAC,KAAK;AACd,EAAE,MAAM,CAAC,WAAW;AACpB,EAAE,MAAM,CAAC;AACT,EAAE,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,KAAK,GAAG,KAAK,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,sBAAsB,CAAC,KAAK,EAAE,aAAa,EAAE;AACtD,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,KAAK;AACjC,CAAC,OAAO,KAAK,CAAC,IAAI,EAAE,KAAK,aAAa,CAAC,IAAI,EAAE;AAC7C;;;;"}
@@ -0,0 +1,2 @@
1
+ import{K as t}from"./p-g4FlTDZx.js";var r='button:not(:disabled), a[href], input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [data-toolbar-item]:not([aria-disabled="true"])';function n(t){return Array.from(t.querySelectorAll(r))}function e(t,r){if(t.length===0)return;const n=(r&&t.includes(r)?r:void 0)??t.find((t=>t.getAttribute("tabindex")==="0"));for(const[r,e]of t.entries())e.tabIndex=(n?e===n:r===0)?0:-1}function a(r,n){const e=n==="vertical"?t.ArrowDown:t.ArrowRight;const a=n==="vertical"?t.ArrowUp:t.ArrowLeft;if(r===e)return"next";if(r===a)return"previous";if(r===t.Home)return"first";if(r===t.End)return"last";return null}export{n as g,a as r,e as s};
2
+ //# sourceMappingURL=p-Fiuz9ck7.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-Fiuz9ck7.js","sources":["../core/dist/roving.js"],"sourcesContent":["import { Keys } from \"./keys.js\";\n//#region src/roving.ts\n/**\n* Roving tabindex: a group of controls that is one tab stop from the outside,\n* navigated internally with the arrow keys. Toolbars, radio groups and\n* segmented controls all work this way.\n*\n* Framework-free because the whole of it is DOM reads and index arithmetic.\n* Both layers must also agree on *which* descendants count as items — two\n* selectors that drift would give a toolbar whose keyboard order differs\n* between React and `<pf-toolbar>` for the same markup.\n*/\n/**\n* Interactive descendants, matched regardless of their current (roving)\n* tabindex. `[data-toolbar-item]` lets a consumer opt a custom element in,\n* since a custom element is not a native control.\n*/\nvar ROVING_ITEM_SELECTOR = \"button:not(:disabled), a[href], input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [data-toolbar-item]:not([aria-disabled=\\\"true\\\"])\";\n/**\n* The items inside `container`, in source order.\n*\n* `querySelectorAll` reaches light-DOM descendants, which is where a custom\n* element's items are: they are slotted children, not shadow content.\n*/\nfunction getRovingItems(container) {\n\treturn Array.from(container.querySelectorAll(ROVING_ITEM_SELECTOR));\n}\n/**\n* Leave exactly one item tabbable.\n*\n* `preferred` wins when it is one of the items; otherwise an existing tab stop\n* is kept, so re-running this never moves the user's place. Only as a last\n* resort does the first item become the tab stop.\n*\n* The existing stop is found by reading the `tabindex` *attribute*, not the\n* `tabIndex` property: a native button reports `tabIndex === 0` with no\n* attribute at all, so the property would make every untouched button look\n* like an established tab stop.\n*/\nfunction syncRovingTabIndex(items, preferred) {\n\tif (items.length === 0) return;\n\tconst current = (preferred && items.includes(preferred) ? preferred : void 0) ?? items.find((item) => item.getAttribute(\"tabindex\") === \"0\");\n\tfor (const [index, item] of items.entries()) item.tabIndex = (current ? item === current : index === 0) ? 0 : -1;\n}\n/**\n* The navigation a key means on a given axis, or null if the key is not ours\n* to handle — so a caller can leave every other key to the browser.\n*\n* A vertical group moves on Up/Down and a horizontal one on Left/Right;\n* neither claims the other axis, which leaves those arrows free to scroll or\n* to move a caret.\n*/\nfunction resolveRovingKey(key, orientation) {\n\tconst next = orientation === \"vertical\" ? Keys.ArrowDown : Keys.ArrowRight;\n\tconst previous = orientation === \"vertical\" ? Keys.ArrowUp : Keys.ArrowLeft;\n\tif (key === next) return \"next\";\n\tif (key === previous) return \"previous\";\n\tif (key === Keys.Home) return \"first\";\n\tif (key === Keys.End) return \"last\";\n\treturn null;\n}\n//#endregion\nexport { ROVING_ITEM_SELECTOR, getRovingItems, resolveRovingKey, syncRovingTabIndex };\n"],"names":[],"mappings":";;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,oBAAoB,GAAG,yJAAyJ;AACpL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,cAAc,CAAC,SAAS,EAAE;AACnC,CAAC,OAAO,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,kBAAkB,CAAC,KAAK,EAAE,SAAS,EAAE;AAC9C,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE;AACzB,CAAC,MAAM,OAAO,GAAG,CAAC,SAAS,IAAI,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,SAAS,GAAG,MAAM,KAAK,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,KAAK,GAAG,CAAC;AAC7I,CAAC,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,KAAK,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC,QAAQ,GAAG,CAAC,OAAO,GAAG,IAAI,KAAK,OAAO,GAAG,KAAK,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE;AACjH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,gBAAgB,CAAC,GAAG,EAAE,WAAW,EAAE;AAC5C,CAAC,MAAM,IAAI,GAAG,WAAW,KAAK,UAAU,GAAG,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,UAAU;AAC3E,CAAC,MAAM,QAAQ,GAAG,WAAW,KAAK,UAAU,GAAG,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,SAAS;AAC5E,CAAC,IAAI,GAAG,KAAK,IAAI,EAAE,OAAO,MAAM;AAChC,CAAC,IAAI,GAAG,KAAK,QAAQ,EAAE,OAAO,UAAU;AACxC,CAAC,IAAI,GAAG,KAAK,IAAI,CAAC,IAAI,EAAE,OAAO,OAAO;AACtC,CAAC,IAAI,GAAG,KAAK,IAAI,CAAC,GAAG,EAAE,OAAO,MAAM;AACpC,CAAC,OAAO,IAAI;AACZ;;;;"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as s,a,h as e,H as i}from"./p-Bm6UxEit.js";const o=()=>`:host{display:contents}.stack{display:grid;gap:var(--space-3);left:var(--space-2);position:fixed;right:var(--space-2);width:auto;z-index:1000}:host([placement='top-right']) .stack,:host([placement='top-left']) .stack{top:var(--space-2)}:host([placement='bottom-right']) .stack,:host([placement='bottom-left']) .stack{bottom:var(--space-2)}@media (min-width: 768px){.stack{left:auto;right:auto;width:min(420px, calc(100vw - (var(--space-4) * 2)))}:host([placement='top-right']) .stack,:host([placement='top-left']) .stack{top:var(--space-4)}:host([placement='bottom-right']) .stack,:host([placement='bottom-left']) .stack{bottom:var(--space-4)}:host([placement='top-right']) .stack,:host([placement='bottom-right']) .stack{justify-items:end;right:var(--space-4)}:host([placement='top-left']) .stack,:host([placement='bottom-left']) .stack{left:var(--space-4)}}`;const c=class{constructor(a){t(this,a);this.pfToastDismiss=s(this,"pfToastDismiss")}get el(){return a(this)}placement="top-right";duration=4e3;pfToastDismiss;entries=[];timers=new Map;sequence=0;disconnectedCallback(){for(const t of this.timers.values())clearTimeout(t);this.timers.clear()}async toast(t={}){const s=`pf-toast-${this.sequence+=1}`;this.entries=[{...t,id:s},...this.entries];const a=t.duration??this.duration;if(a>0){this.timers.set(s,setTimeout((()=>{this.timers.delete(s);void this.dismiss(s)}),a))}return s}async dismiss(t){this.clearTimer(t);const s=this.el.shadowRoot?.querySelector(`pf-notification[data-id="${t}"]`);if(s)await s.dismiss();this.remove(t)}async dismissAll(){await Promise.all(this.entries.map((t=>this.dismiss(t.id))))}clearTimer(t){const s=this.timers.get(t);if(s)clearTimeout(s);this.timers.delete(t)}remove(t){if(!this.entries.some((s=>s.id===t)))return;this.entries=this.entries.filter((s=>s.id!==t));this.pfToastDismiss.emit({id:t})}render(){return e(i,{key:"0ed859d92e6ceb13483bb2a469e9e9ef5ae595a2"},e("div",{key:"526f85d58a2af54c1b5ca7fe172f0c8e6070d205",class:"stack",part:"stack"},this.entries.map((t=>e("pf-notification",{key:t.id,"data-id":t.id,variant:t.variant??"info",heading:t.heading,description:t.description,dismissable:t.dismissable??true,onPfDismiss:()=>this.remove(t.id)}))),e("slot",{key:"169fad33c3f11cbc8d78ba7552677ff7296eb232"})))}};c.style=o();export{c as pf_toaster};
2
+ //# sourceMappingURL=p-a1a7838d.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfToasterCss","PfToaster","placement","duration","pfToastDismiss","entries","timers","Map","sequence","disconnectedCallback","timer","this","values","clearTimeout","clear","toast","options","id","set","setTimeout","delete","dismiss","clearTimer","element","el","shadowRoot","querySelector","remove","dismissAll","Promise","all","map","entry","get","some","filter","emit","render","h","Host","key","class","part","variant","heading","description","dismissable","onPfDismiss"],"sources":["src/components/pf-toaster/pf-toaster.css?tag=pf-toaster&encapsulation=shadow","src/components/pf-toaster/pf-toaster.tsx"],"sourcesContent":[":host {\n display: contents;\n}\n\n/*\n * Full-width on a phone, where a 420px card in a corner would be cropped;\n * a corner-anchored column from --md up. Mirrors .pf-notification-stack.\n */\n.stack {\n display: grid;\n gap: var(--space-3);\n left: var(--space-2);\n position: fixed;\n right: var(--space-2);\n width: auto;\n z-index: 1000;\n}\n\n:host([placement='top-right']) .stack,\n:host([placement='top-left']) .stack {\n top: var(--space-2);\n}\n\n:host([placement='bottom-right']) .stack,\n:host([placement='bottom-left']) .stack {\n bottom: var(--space-2);\n}\n\n@media (--md) {\n .stack {\n left: auto;\n right: auto;\n width: min(420px, calc(100vw - (var(--space-4) * 2)));\n }\n\n :host([placement='top-right']) .stack,\n :host([placement='top-left']) .stack {\n top: var(--space-4);\n }\n\n :host([placement='bottom-right']) .stack,\n :host([placement='bottom-left']) .stack {\n bottom: var(--space-4);\n }\n\n :host([placement='top-right']) .stack,\n :host([placement='bottom-right']) .stack {\n justify-items: end;\n right: var(--space-4);\n }\n\n :host([placement='top-left']) .stack,\n :host([placement='bottom-left']) .stack {\n left: var(--space-4);\n }\n}\n","import type { LiveRegionVariant } from '@pitchfork-ui/core';\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n} from '@stencil/core';\n\nexport type PfToasterPlacement = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';\n\nexport interface PfToastOptions {\n variant?: LiveRegionVariant;\n heading?: string;\n description?: string;\n /** Milliseconds before it dismisses itself. `0` keeps it until dismissed. */\n duration?: number;\n /** Render the dismiss button. Defaults to true. */\n dismissable?: boolean;\n}\n\ninterface Entry extends PfToastOptions {\n id: string;\n}\n\n/**\n * The region toasts appear in, and the queue behind them.\n *\n * This is the one place the elements layer takes options rather than child\n * elements, against the rule in `WEB-COMPONENTS-PLAN.md` §2.1 — because a\n * toast is not data the consumer is rendering, it is an event that happened.\n * React expresses that with a context provider and a module-level `toast()`;\n * the equivalent for a custom element is a method on the region, since a\n * consumer calling `toast()` three times from an event handler cannot\n * reasonably be asked to maintain a list of children for it.\n *\n * Declarative use still works: anything slotted in is laid out in the stack\n * alongside the queue, which is how a notification that is part of the page\n * rather than a response to an action is placed here.\n *\n * The region itself is not a live region. Each `pf-notification` is one\n * already, so marking the container as well would announce every toast twice.\n *\n * @slot - notifications placed in the stack declaratively.\n * @part stack - the positioned container.\n */\n@Component({\n tag: 'pf-toaster',\n styleUrl: 'pf-toaster.css',\n shadow: true,\n})\nexport class PfToaster {\n @Element() el!: HTMLElement;\n\n /** Which corner the stack sits in. Reflected; the stylesheet positions on it. */\n @Prop({ reflect: true }) placement: PfToasterPlacement = 'top-right';\n\n /** Auto-dismiss delay for toasts that do not set their own. `0` disables it. */\n @Prop() duration = 4000;\n\n /** Fires when a toast has left, with the id `toast()` returned. */\n @Event() pfToastDismiss!: EventEmitter<{ id: string }>;\n\n @State() entries: Entry[] = [];\n\n private timers = new Map<string, ReturnType<typeof setTimeout>>();\n private sequence = 0;\n\n disconnectedCallback() {\n for (const timer of this.timers.values()) clearTimeout(timer);\n this.timers.clear();\n }\n\n /**\n * Shows a toast and returns its id.\n *\n * Newest first, matching the React provider, so a stack in a top corner\n * grows downwards away from the corner.\n */\n @Method()\n async toast(options: PfToastOptions = {}): Promise<string> {\n const id = `pf-toast-${(this.sequence += 1)}`;\n this.entries = [{ ...options, id }, ...this.entries];\n\n const duration = options.duration ?? this.duration;\n if (duration > 0) {\n this.timers.set(\n id,\n setTimeout(() => {\n this.timers.delete(id);\n void this.dismiss(id);\n }, duration),\n );\n }\n\n return id;\n }\n\n /** Dismisses one toast by the id `toast()` returned. */\n @Method()\n async dismiss(id: string): Promise<void> {\n this.clearTimer(id);\n /*\n * Typed structurally rather than as `HTMLPfNotificationElement`: that\n * interface is generated by the build, so naming it here makes the first\n * build of a new element fail on the type it is about to produce.\n */\n const element = this.el.shadowRoot?.querySelector(`pf-notification[data-id=\"${id}\"]`) as\n (HTMLElement & { dismiss(): Promise<void> }) | null;\n\n // Play the exit animation if it is still mounted; remove it either way.\n if (element) await element.dismiss();\n this.remove(id);\n }\n\n /** Dismisses everything currently showing. */\n @Method()\n async dismissAll(): Promise<void> {\n await Promise.all(this.entries.map((entry) => this.dismiss(entry.id)));\n }\n\n private clearTimer(id: string) {\n const timer = this.timers.get(id);\n if (timer) clearTimeout(timer);\n this.timers.delete(id);\n }\n\n private remove(id: string) {\n if (!this.entries.some((entry) => entry.id === id)) return;\n this.entries = this.entries.filter((entry) => entry.id !== id);\n this.pfToastDismiss.emit({ id });\n }\n\n render() {\n return (\n <Host>\n <div class=\"stack\" part=\"stack\">\n {this.entries.map((entry) => (\n <pf-notification\n key={entry.id}\n data-id={entry.id}\n variant={entry.variant ?? 'info'}\n heading={entry.heading}\n description={entry.description}\n dismissable={entry.dismissable ?? true}\n /*\n * The notification owns its own exit, and tells us when it is\n * over. Removing it on the click instead would cut the animation\n * off at the first frame.\n */\n onPfDismiss={() => this.remove(entry.id)}\n ></pf-notification>\n ))}\n <slot />\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"2DAAA,MAAMA,EAAe,IAAM,81B,MCwDdC,EAAS,M,8FAIKC,UAAgC,YAGjDC,SAAW,IAGVC,eAEAC,QAAmB,GAEpBC,OAAS,IAAIC,IACbC,SAAW,EAEnB,oBAAAC,GACE,IAAK,MAAMC,KAASC,KAAKL,OAAOM,SAAUC,aAAaH,GACvDC,KAAKL,OAAOQ,O,CAUd,WAAMC,CAAMC,EAA0B,IACpC,MAAMC,EAAK,YAAaN,KAAKH,UAAY,IACzCG,KAAKN,QAAU,CAAC,IAAKW,EAASC,SAASN,KAAKN,SAE5C,MAAMF,EAAWa,EAAQb,UAAYQ,KAAKR,SAC1C,GAAIA,EAAW,EAAG,CAChBQ,KAAKL,OAAOY,IACVD,EACAE,YAAW,KACTR,KAAKL,OAAOc,OAAOH,QACdN,KAAKU,QAAQJ,EAAG,GACpBd,G,CAIP,OAAOc,C,CAKT,aAAMI,CAAQJ,GACZN,KAAKW,WAAWL,GAMhB,MAAMM,EAAUZ,KAAKa,GAAGC,YAAYC,cAAc,4BAA4BT,OAI9E,GAAIM,QAAeA,EAAQF,UAC3BV,KAAKgB,OAAOV,E,CAKd,gBAAMW,SACEC,QAAQC,IAAInB,KAAKN,QAAQ0B,KAAKC,GAAUrB,KAAKU,QAAQW,EAAMf,M,CAG3D,UAAAK,CAAWL,GACjB,MAAMP,EAAQC,KAAKL,OAAO2B,IAAIhB,GAC9B,GAAIP,EAAOG,aAAaH,GACxBC,KAAKL,OAAOc,OAAOH,E,CAGb,MAAAU,CAAOV,GACb,IAAKN,KAAKN,QAAQ6B,MAAMF,GAAUA,EAAMf,KAAOA,IAAK,OACpDN,KAAKN,QAAUM,KAAKN,QAAQ8B,QAAQH,GAAUA,EAAMf,KAAOA,IAC3DN,KAAKP,eAAegC,KAAK,CAAEnB,M,CAG7B,MAAAoB,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,OAAAE,IAAA,2CAAKC,MAAM,QAAQC,KAAK,SACrB/B,KAAKN,QAAQ0B,KAAKC,GACjBM,EAAA,mBACEE,IAAKR,EAAMf,GAAE,UACJe,EAAMf,GACf0B,QAASX,EAAMW,SAAW,OAC1BC,QAASZ,EAAMY,QACfC,YAAab,EAAMa,YACnBC,YAAad,EAAMc,aAAe,KAMlCC,YAAa,IAAMpC,KAAKgB,OAAOK,EAAMf,QAGzCqB,EAAA,QAAAE,IAAA,8C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as e,a as i,h as s,H as r}from"./p-Bm6UxEit.js";import{o as a,p as o}from"./p-CC7AyfOt.js";import{c as n}from"./p-DfpCerXM.js";import{i as l,K as c}from"./p-g4FlTDZx.js";import{g as h,r as p}from"./p-CAz7-p8y.js";import{b as d,p as f,a as u,f as b}from"./p-BmcsJLdy.js";import{a as m}from"./p-Cr6IXrUk.js";const v=()=>`:host{display:block;--pf-option-text:var(--pf-multiselect-text);--pf-option-text-disabled:var(--pf-multiselect-text-muted);--pf-option-active-bg:var(--pf-multiselect-active-bg);--pf-option-active-text:var(--pf-multiselect-active-text)}:host([hidden]){display:none}.field{display:grid;gap:var(--space-1)}.label{color:var(--pf-multiselect-text);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium)}.required{color:var(--pf-multiselect-invalid-border);margin-inline-start:var(--space-1)}.trigger{align-items:center;background:var(--pf-multiselect-bg);border:1px solid var(--pf-multiselect-border);border-radius:var(--radius-md);color:var(--pf-multiselect-text);cursor:pointer;display:flex;font-family:inherit;font-size:var(--font-size-sm);gap:var(--space-2);justify-content:space-between;padding:var(--space-2) var(--space-3);text-align:start;width:100%}.trigger:focus-visible{border-color:var(--pf-multiselect-focus-border);box-shadow:var(--pf-focus-ring);outline:none}.trigger:disabled{cursor:not-allowed;opacity:0.6}.trigger--invalid{border-color:var(--pf-multiselect-invalid-border)}.chips{display:flex;flex-wrap:wrap;gap:var(--space-1);min-width:0}.chip{background:var(--pf-multiselect-bg-subtle);border-radius:var(--radius-sm);font-size:var(--font-size-xs);padding:2px var(--space-2)}.placeholder{color:var(--pf-multiselect-text-muted)}.chevron{align-items:center;display:inline-flex;flex-shrink:0;transition:transform var(--pf-transition-fast)}:host([open]) .chevron{transform:rotate(180deg)}@media (prefers-reduced-motion: reduce){.chevron{transition:none}}.description{color:var(--pf-multiselect-text-muted);font-size:var(--font-size-xs);margin:0}.error{color:var(--pf-multiselect-invalid-border);font-size:var(--font-size-xs);margin:0}.listbox{inset:auto;margin:0;background:var(--pf-multiselect-bg);border:1px solid var(--pf-multiselect-border);border-radius:var(--radius-md);box-shadow:var(--pf-elevation-popover-shadow);padding:var(--space-1)}.listbox:popover-open{animation:pf-multi-select-in var(--pf-transition-enter)}@keyframes pf-multi-select-in{from{opacity:0;transform:translateY(-4px)}}@media (prefers-reduced-motion: reduce){.listbox:popover-open{animation:none}}`;const g={[c.ArrowDown]:"next",[c.ArrowUp]:"previous",[c.Home]:"first",[c.End]:"last"};const y=class{constructor(i){t(this,i);this.pfChange=e(this,"pfChange");this.pfOpenChange=e(this,"pfOpenChange");if(i.$hostElement$["s-ei"]){this.internals=i.$hostElement$["s-ei"]}else{this.internals=i.$hostElement$.attachInternals();i.$hostElement$["s-ei"]=this.internals}}get el(){return i(this)}internals;name;value="";open=false;label;description;error;placeholder="Select options";required=false;disabled=false;maxVisibleOptions;pfChange;pfOpenChange;chips=[];initialValue="";stopObserving;activeOption=null;warnedAboutSeparator=false;componentWillLoad(){this.initialValue=this.value??"";this.syncFormState();this.syncOptions()}componentDidRender(){this.syncActiveDescendant()}disconnectedCallback(){this.stopObserving?.()}syncFormState(){const t=this.values();if(t.length===0||!this.name){this.internals.setFormValue(null)}else{const e=new FormData;for(const i of t)e.append(this.name,i);this.internals.setFormValue(e)}m(this.internals,t.length>0,this.required,this.error)}syncOptions(){const t=this.values();const e=[];for(const e of this.options()){const i=t.includes(this.optionValue(e));e.selected=i}for(const i of t){const t=this.options().find((t=>this.optionValue(t)===i));if(t)e.push(t.textContent?.trim()??i)}this.chips=e;this.warnAboutSeparators()}warnAboutSeparators(){if(this.warnedAboutSeparator)return;const t=d(this.options().map((t=>this.optionValue(t))));if(t.length===0)return;this.warnedAboutSeparator=true;console.warn(`[pf-multi-select] option values cannot contain a comma, because \`value\` is a `+`comma-separated list: ${t.join(" ")}`)}syncOpen(t,e){if(t)this.showListbox();else this.hideListbox();if(t!==e)this.pfOpenChange.emit({open:t})}async show(){if(!this.disabled)this.open=true}async hide(){this.open=false}async checkValidity(){return this.internals.checkValidity()}async reportValidity(){return this.internals.reportValidity()}async getValidationMessage(){return this.internals.validationMessage}formResetCallback(){this.value=this.initialValue}async refresh(){this.syncOptions()}onSlotChange=()=>{this.syncOptions()};values(){return f(this.value)}options(){return Array.from(this.el.querySelectorAll("pf-option"))}enabled(){return this.options().filter((t=>!t.hasAttribute("disabled")))}optionValue(t){return t.value??t.getAttribute("value")??""}get listbox(){return this.el.shadowRoot?.querySelector('[part="listbox"]')??null}get trigger(){return this.el.shadowRoot?.querySelector('[part="trigger"]')??null}showListbox(){const t=this.listbox;if(this.disabled||!t||t.matches(":popover-open"))return;t.showPopover();this.stopObserving?.();this.stopObserving=a({getAnchor:()=>this.trigger,getFloating:()=>t,matchAnchorWidth:true,flip:true,onChange:({left:e,top:i,width:s,minWidth:r})=>{o(t,e,i);if(s!==undefined)t.style.width=`${s}px`;if(r!==undefined)t.style.minWidth=`${r}px`}});const e=this.values();const i=this.options().find((t=>e.includes(this.optionValue(t))&&!t.hasAttribute("disabled")))??this.enabled()[0];this.setActive(i??null)}hideListbox(){this.stopObserving?.();this.stopObserving=undefined;const t=this.listbox;if(t?.matches(":popover-open"))t.hidePopover()}onToggle=t=>{const e=t.newState==="open";if(this.open!==e)this.open=e;if(!e)this.trigger?.focus()};setActive(t){for(const e of this.options()){if(e!==t)e.active=false}if(t)t.active=true;this.activeOption=t;this.syncActiveDescendant();if(t&&typeof t.scrollIntoView==="function"){t.scrollIntoView({block:"nearest"})}}syncActiveDescendant(){const t=this.trigger;if(!t||!("ariaActiveDescendantElement"in t))return;t.ariaActiveDescendantElement=this.open?this.activeOption:null}toggle(t){if(t.hasAttribute("disabled")||this.disabled)return;const e=u(this.values(),this.optionValue(t));this.value=b(e);this.pfChange.emit({value:this.value,values:e})}handleOptionSelect(t){t.stopPropagation();const e=this.options().find((e=>this.optionValue(e)===t.detail.value));if(e)this.toggle(e)}move(t){const e=this.options();const i=h(e,(t=>t.hasAttribute("disabled")));const s=this.activeOption?e.indexOf(this.activeOption):-1;const r=p(t,i,s);if(r!==-1)this.setActive(e[r]??null)}handleKeyDown(t){if(this.disabled||t.defaultPrevented)return;const e=g[t.key];if(e){t.preventDefault();if(!this.open)this.open=true;else this.move(e);return}if(l(t.key)){t.preventDefault();if(!this.open)this.open=true;else if(this.activeOption)this.toggle(this.activeOption)}}render(){const t=n(this.description&&"description",this.error&&"error");return s(r,{key:"68ee3f2e23741c14f955523bf3cbcb10e4fc3e71"},s("div",{key:"ffbfe398e848a5134740908327bca92afe74f39c",class:"field",part:"field"},this.label&&s("label",{key:"7fe73bdad7836709b5e30536412283edf72abd37",class:"label",part:"label",htmlFor:"trigger"},this.label,this.required&&s("span",{key:"1cecfe1256d01e6770417b030a8aba22ca65f802",class:"required","aria-hidden":"true"},"*")),s("button",{key:"03c611dff79a67cda5478d586eaa301fd4178843",id:"trigger",part:"trigger",class:{trigger:true,"trigger--invalid":Boolean(this.error)},type:"button",role:"combobox",disabled:this.disabled,"aria-haspopup":"listbox","aria-expanded":this.open?"true":"false","aria-controls":"listbox","aria-invalid":this.error?"true":null,"aria-required":this.required?"true":null,"aria-describedby":t,onClick:()=>{if(!this.disabled)this.open=!this.open}},this.chips.length>0?s("span",{class:"chips"},this.chips.map((t=>s("span",{key:t,class:"chip",part:"chip"},t)))):s("span",{class:"placeholder"},this.placeholder),s("span",{key:"a31710bfb23f890b33a010962b93792424b71e36",class:"chevron","aria-hidden":"true"},s("pf-icon",{key:"517857c8ab460c5a60a50d42c3ff68d986e0c744",name:"chevron-down"}))),this.description&&s("p",{key:"549f06c9be1d291d4654ac63c6f03f749453113d",class:"description",part:"description",id:"description"},this.description),this.error&&s("p",{key:"0da14622c434e02f6098a61382b22ee2b74a3f84",class:"error",part:"error",id:"error"},this.error)),s("div",{key:"f62c24c5870b4a05bcba73969af4721ed52bf4e3",id:"listbox",part:"listbox",class:"listbox",popover:"auto",role:"listbox","aria-multiselectable":"true","aria-label":this.label??this.placeholder,style:this.maxVisibleOptions?{maxHeight:`calc(${this.maxVisibleOptions} * 36px)`,overflowY:"auto"}:undefined,onToggle:this.onToggle},s("slot",{key:"6d8c84b2173904d99f7b3583cbb2203636cd6214",onSlotchange:this.onSlotChange})))}static get formAssociated(){return true}static get watchers(){return{name:[{syncFormState:0}],value:[{syncFormState:0},{syncOptions:0}],error:[{syncFormState:0}],required:[{syncFormState:0}],open:[{syncOpen:0}]}}};y.style=v();export{y as pf_multi_select};
2
+ //# sourceMappingURL=p-a24bf2bd.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfMultiSelectCss","MOVES","Keys","ArrowDown","ArrowUp","Home","End","PfMultiSelect","internals","name","value","open","label","description","error","placeholder","required","disabled","maxVisibleOptions","pfChange","pfOpenChange","chips","initialValue","stopObserving","activeOption","warnedAboutSeparator","componentWillLoad","this","syncFormState","syncOptions","componentDidRender","syncActiveDescendant","disconnectedCallback","values","length","setFormValue","data","FormData","append","applyControlValidity","chosen","labels","option","options","selected","includes","optionValue","find","candidate","push","textContent","trim","warnAboutSeparators","offenders","assertSeparableValues","map","o","console","warn","join","syncOpen","next","previous","showListbox","hideListbox","emit","show","hide","checkValidity","reportValidity","getValidationMessage","validationMessage","formResetCallback","refresh","onSlotChange","parseValueList","Array","from","el","querySelectorAll","enabled","filter","hasAttribute","getAttribute","listbox","shadowRoot","querySelector","trigger","panel","matches","showPopover","observeAnchoredPosition","getAnchor","getFloating","matchAnchorWidth","flip","onChange","left","top","width","minWidth","placePopover","undefined","style","first","setActive","hidePopover","onToggle","event","nowOpen","newState","focus","other","active","scrollIntoView","block","ariaActiveDescendantElement","toggle","toggleValueInList","formatValueList","handleOptionSelect","stopPropagation","detail","move","action","enabledIndexes","getEnabledIndexes","current","indexOf","resolveListMove","handleKeyDown","defaultPrevented","key","preventDefault","isActivationKey","render","describedBy","composeDescribedBy","h","Host","class","part","htmlFor","id","Boolean","type","role","onClick","chip","popover","maxHeight","overflowY","onSlotchange"],"sources":["src/components/pf-multi-select/pf-multi-select.css?tag=pf-multi-select&encapsulation=shadow","src/components/pf-multi-select/pf-multi-select.tsx"],"sourcesContent":["/*\n * The generic set pf-option reads, mapped to this control's own family — see\n * pf-option.css.\n */\n:host {\n display: block;\n --pf-option-text: var(--pf-multiselect-text);\n --pf-option-text-disabled: var(--pf-multiselect-text-muted);\n --pf-option-active-bg: var(--pf-multiselect-active-bg);\n --pf-option-active-text: var(--pf-multiselect-active-text);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n.field {\n display: grid;\n gap: var(--space-1);\n}\n\n.label {\n color: var(--pf-multiselect-text);\n font-size: var(--font-size-sm);\n font-weight: var(--font-weight-medium);\n}\n\n.required {\n color: var(--pf-multiselect-invalid-border);\n margin-inline-start: var(--space-1);\n}\n\n.trigger {\n align-items: center;\n background: var(--pf-multiselect-bg);\n border: 1px solid var(--pf-multiselect-border);\n border-radius: var(--radius-md);\n color: var(--pf-multiselect-text);\n cursor: pointer;\n display: flex;\n font-family: inherit;\n font-size: var(--font-size-sm);\n gap: var(--space-2);\n justify-content: space-between;\n padding: var(--space-2) var(--space-3);\n text-align: start;\n width: 100%;\n}\n\n.trigger:focus-visible {\n border-color: var(--pf-multiselect-focus-border);\n box-shadow: var(--pf-focus-ring);\n outline: none;\n}\n\n.trigger:disabled {\n cursor: not-allowed;\n opacity: 0.6;\n}\n\n.trigger--invalid {\n border-color: var(--pf-multiselect-invalid-border);\n}\n\n.chips {\n display: flex;\n flex-wrap: wrap;\n gap: var(--space-1);\n min-width: 0;\n}\n\n.chip {\n background: var(--pf-multiselect-bg-subtle);\n border-radius: var(--radius-sm);\n font-size: var(--font-size-xs);\n padding: 2px var(--space-2);\n}\n\n.placeholder {\n color: var(--pf-multiselect-text-muted);\n}\n\n.chevron {\n align-items: center;\n display: inline-flex;\n flex-shrink: 0;\n transition: transform var(--pf-transition-fast);\n}\n\n:host([open]) .chevron {\n transform: rotate(180deg);\n}\n\n@media (prefers-reduced-motion: reduce) {\n .chevron {\n transition: none;\n }\n}\n\n.description {\n color: var(--pf-multiselect-text-muted);\n font-size: var(--font-size-xs);\n margin: 0;\n}\n\n.error {\n color: var(--pf-multiselect-invalid-border);\n font-size: var(--font-size-xs);\n margin: 0;\n}\n\n/* See src/place-popover.ts: the UA stylesheet centres a popover otherwise. */\n.listbox {\n inset: auto;\n margin: 0;\n background: var(--pf-multiselect-bg);\n border: 1px solid var(--pf-multiselect-border);\n border-radius: var(--radius-md);\n box-shadow: var(--pf-elevation-popover-shadow);\n padding: var(--space-1);\n}\n\n.listbox:popover-open {\n animation: pf-multi-select-in var(--pf-transition-enter);\n}\n\n/* Its own copy: @keyframes do not cross a shadow boundary. */\n@keyframes pf-multi-select-in {\n from {\n opacity: 0;\n transform: translateY(-4px);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .listbox:popover-open {\n animation: none;\n }\n}\n","import {\n composeDescribedBy,\n formatValueList,\n getEnabledIndexes,\n isActivationKey,\n Keys,\n observeAnchoredPosition,\n parseValueList,\n resolveListMove,\n toggleValueInList,\n assertSeparableValues,\n type ListNavigationAction,\n} from '@pitchfork-ui/core';\n\nimport { applyControlValidity } from '../../form-validity';\nimport { placePopover } from '../../place-popover';\nimport {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\n\nconst MOVES: Record<string, ListNavigationAction> = {\n [Keys.ArrowDown]: 'next',\n [Keys.ArrowUp]: 'previous',\n [Keys.Home]: 'first',\n [Keys.End]: 'last',\n};\n\n/**\n * A form-associated multi-choice select over `pf-option` children.\n *\n * **It submits one entry per chosen value from a single control.**\n * `setFormValue` takes a `FormData`, and a key repeated in it is submitted\n * once per value — measured, and the same shape the React component gets from\n * rendering one hidden `<input>` per selection. So a server reads\n * `data.getAll(name)` exactly as it would from a native multiple select.\n *\n * `value` is one comma-separated string, because that is what an attribute can\n * carry; `pfChange` also reports the parsed `values` array, which is what a\n * framework consumer usually wants. A value containing a comma cannot survive\n * that, so one is reported on the console rather than silently mangled.\n *\n * Shares `pf-option` with `pf-select` and `pf-combobox` through the generic\n * `--pf-option-*` set.\n *\n * @slot - the `pf-option` children.\n * @part field - the wrapper around label, control and messages.\n * @part label - the label element.\n * @part trigger - the combobox button.\n * @part chip - each chosen value's chip in the trigger.\n * @part listbox - the floating listbox the options are slotted into.\n * @part description - the hint text below the control.\n * @part error - the error message below the control.\n */\n@Component({\n tag: 'pf-multi-select',\n styleUrl: 'pf-multi-select.css',\n formAssociated: true,\n shadow: true,\n})\nexport class PfMultiSelect {\n @Element() el!: HTMLElement;\n @AttachInternals() internals!: ElementInternals;\n\n /** Submitted under this name, once per chosen value. Reflected. */\n @Prop({ reflect: true }) name?: string;\n\n /** The chosen values, comma-separated. Reflected, so HTML can set it. */\n @Prop({ mutable: true, reflect: true }) value = '';\n\n /** Whether the listbox is showing. Reflected for the stylesheet. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n @Prop() label?: string;\n\n @Prop() description?: string;\n\n @Prop() error?: string;\n\n @Prop() placeholder = 'Select options';\n\n @Prop({ reflect: true }) required = false;\n\n @Prop({ reflect: true }) disabled = false;\n\n /** Options to show before the listbox scrolls. */\n @Prop() maxVisibleOptions?: number;\n\n /** Fires when the chosen set changes, with both representations. */\n @Event() pfChange!: EventEmitter<{ value: string; values: string[] }>;\n\n /** Fires whenever the listbox opens or closes, whoever caused it. */\n @Event() pfOpenChange!: EventEmitter<{ open: boolean }>;\n\n /** The labels of the chosen options, for the trigger's chips. */\n @State() chips: string[] = [];\n\n private initialValue = '';\n private stopObserving?: () => void;\n private activeOption: HTMLElement | null = null;\n private warnedAboutSeparator = false;\n\n componentWillLoad() {\n this.initialValue = this.value ?? '';\n this.syncFormState();\n this.syncOptions();\n }\n\n componentDidRender() {\n this.syncActiveDescendant();\n }\n\n disconnectedCallback() {\n this.stopObserving?.();\n }\n\n /*\n * `name` is watched here and not on the controls that pass a plain string to\n * `setFormValue`: those take their submission name from the reflected\n * attribute, so the platform picks a change up by itself. This one builds\n * the name *into* a FormData, so without the watch a name assigned after\n * load would never reach the submission.\n */\n @Watch('name')\n @Watch('value')\n @Watch('error')\n @Watch('required')\n syncFormState() {\n const values = this.values();\n\n if (values.length === 0 || !this.name) {\n this.internals.setFormValue(null);\n } else {\n // One entry per value under the one name, which `data.getAll(name)`\n // reads back as an array.\n const data = new FormData();\n for (const value of values) data.append(this.name, value);\n this.internals.setFormValue(data);\n }\n\n applyControlValidity(this.internals, values.length > 0, this.required, this.error);\n }\n\n /** The value changed, so the children's `selected` and the chips follow. */\n @Watch('value')\n syncOptions() {\n const chosen = this.values();\n const labels: string[] = [];\n\n for (const option of this.options()) {\n const selected = chosen.includes(this.optionValue(option));\n (option as HTMLElement & { selected: boolean }).selected = selected;\n }\n\n // Chips in the order they were chosen, not the options' order.\n for (const value of chosen) {\n const option = this.options().find((candidate) => this.optionValue(candidate) === value);\n if (option) labels.push(option.textContent?.trim() ?? value);\n }\n\n this.chips = labels;\n this.warnAboutSeparators();\n }\n\n /**\n * One warning naming every offending value.\n *\n * A value holding a comma cannot round-trip through `value`, and failing\n * silently would show the right chips over a wrong submission.\n */\n private warnAboutSeparators() {\n if (this.warnedAboutSeparator) return;\n const offenders = assertSeparableValues(this.options().map((o) => this.optionValue(o)));\n if (offenders.length === 0) return;\n\n this.warnedAboutSeparator = true;\n console.warn(\n `[pf-multi-select] option values cannot contain a comma, because \\`value\\` is a ` +\n `comma-separated list: ${offenders.join(' ')}`,\n );\n }\n\n @Watch('open')\n syncOpen(next: boolean, previous: boolean) {\n if (next) this.showListbox();\n else this.hideListbox();\n if (next !== previous) this.pfOpenChange.emit({ open: next });\n }\n\n @Method()\n async show(): Promise<void> {\n if (!this.disabled) this.open = true;\n }\n\n @Method()\n async hide(): Promise<void> {\n this.open = false;\n }\n\n @Method()\n async checkValidity(): Promise<boolean> {\n return this.internals.checkValidity();\n }\n\n @Method()\n async reportValidity(): Promise<boolean> {\n return this.internals.reportValidity();\n }\n\n @Method()\n async getValidationMessage(): Promise<string> {\n return this.internals.validationMessage;\n }\n\n formResetCallback() {\n this.value = this.initialValue;\n }\n\n /** Re-reads the options, for a label edited in place. */\n @Method()\n async refresh(): Promise<void> {\n this.syncOptions();\n }\n\n private onSlotChange = () => {\n this.syncOptions();\n };\n\n private values(): string[] {\n return parseValueList(this.value);\n }\n\n private options(): HTMLElement[] {\n return Array.from(this.el.querySelectorAll<HTMLElement>('pf-option'));\n }\n\n private enabled(): HTMLElement[] {\n return this.options().filter((option) => !option.hasAttribute('disabled'));\n }\n\n /** The property, never the attribute: a binding may only have set the former. */\n private optionValue(option: HTMLElement): string {\n return (option as HTMLElement & { value?: string }).value ?? option.getAttribute('value') ?? '';\n }\n\n private get listbox() {\n return this.el.shadowRoot?.querySelector<HTMLElement>('[part=\"listbox\"]') ?? null;\n }\n\n private get trigger() {\n return this.el.shadowRoot?.querySelector<HTMLButtonElement>('[part=\"trigger\"]') ?? null;\n }\n\n private showListbox() {\n const panel = this.listbox;\n if (this.disabled || !panel || panel.matches(':popover-open')) return;\n\n panel.showPopover();\n this.stopObserving?.();\n this.stopObserving = observeAnchoredPosition({\n getAnchor: () => this.trigger,\n getFloating: () => panel,\n matchAnchorWidth: true,\n flip: true,\n onChange: ({ left, top, width, minWidth }) => {\n placePopover(panel, left, top);\n if (width !== undefined) panel.style.width = `${width}px`;\n if (minWidth !== undefined) panel.style.minWidth = `${minWidth}px`;\n },\n });\n\n // Opens on the first chosen option, or the first selectable one.\n const chosen = this.values();\n const first =\n this.options().find(\n (option) => chosen.includes(this.optionValue(option)) && !option.hasAttribute('disabled'),\n ) ?? this.enabled()[0];\n this.setActive(first ?? null);\n }\n\n private hideListbox() {\n this.stopObserving?.();\n this.stopObserving = undefined;\n const panel = this.listbox;\n if (panel?.matches(':popover-open')) panel.hidePopover();\n }\n\n private onToggle = (event: ToggleEvent) => {\n const nowOpen = event.newState === 'open';\n if (this.open !== nowOpen) this.open = nowOpen;\n if (!nowOpen) this.trigger?.focus();\n };\n\n private setActive(option: HTMLElement | null) {\n for (const other of this.options()) {\n if (other !== option) (other as HTMLElement & { active: boolean }).active = false;\n }\n if (option) (option as HTMLElement & { active: boolean }).active = true;\n\n this.activeOption = option;\n this.syncActiveDescendant();\n if (option && typeof option.scrollIntoView === 'function') {\n option.scrollIntoView({ block: 'nearest' });\n }\n }\n\n /** An element, not an IDREF: a cross-root IDREF resolves to nothing. */\n private syncActiveDescendant() {\n const trigger = this.trigger;\n if (!trigger || !('ariaActiveDescendantElement' in trigger)) return;\n (\n trigger as unknown as { ariaActiveDescendantElement: Element | null }\n ).ariaActiveDescendantElement = this.open ? this.activeOption : null;\n }\n\n /**\n * Toggles one value and keeps the listbox open — the difference from\n * `pf-select`, and the whole point of a multi-choice control: closing after\n * each pick would make choosing three things three round trips.\n */\n private toggle(option: HTMLElement) {\n if (option.hasAttribute('disabled') || this.disabled) return;\n\n const next = toggleValueInList(this.values(), this.optionValue(option));\n this.value = formatValueList(next);\n this.pfChange.emit({ value: this.value, values: next });\n }\n\n @Listen('pfOptionSelect')\n handleOptionSelect(event: CustomEvent<{ value: string }>) {\n event.stopPropagation();\n const option = this.options().find(\n (candidate) => this.optionValue(candidate) === event.detail.value,\n );\n if (option) this.toggle(option);\n }\n\n private move(action: ListNavigationAction) {\n const options = this.options();\n const enabledIndexes = getEnabledIndexes(options, (option) => option.hasAttribute('disabled'));\n const current = this.activeOption ? options.indexOf(this.activeOption) : -1;\n const next = resolveListMove(action, enabledIndexes, current);\n if (next !== -1) this.setActive(options[next] ?? null);\n }\n\n @Listen('keydown')\n handleKeyDown(event: KeyboardEvent) {\n if (this.disabled || event.defaultPrevented) return;\n\n const move = MOVES[event.key];\n if (move) {\n event.preventDefault();\n if (!this.open) this.open = true;\n else this.move(move);\n return;\n }\n\n if (isActivationKey(event.key)) {\n event.preventDefault();\n if (!this.open) this.open = true;\n else if (this.activeOption) this.toggle(this.activeOption);\n }\n }\n\n render() {\n const describedBy = composeDescribedBy(\n this.description && 'description',\n this.error && 'error',\n );\n\n return (\n <Host>\n <div class=\"field\" part=\"field\">\n {this.label && (\n <label class=\"label\" part=\"label\" htmlFor=\"trigger\">\n {this.label}\n {this.required && (\n <span class=\"required\" aria-hidden=\"true\">\n *\n </span>\n )}\n </label>\n )}\n\n <button\n id=\"trigger\"\n part=\"trigger\"\n class={{ trigger: true, 'trigger--invalid': Boolean(this.error) }}\n type=\"button\"\n role=\"combobox\"\n disabled={this.disabled}\n aria-haspopup=\"listbox\"\n aria-expanded={this.open ? 'true' : 'false'}\n /* Same shadow root as the listbox, so this IDREF resolves. */\n aria-controls=\"listbox\"\n aria-invalid={this.error ? 'true' : null}\n aria-required={this.required ? 'true' : null}\n aria-describedby={describedBy}\n onClick={() => {\n if (!this.disabled) this.open = !this.open;\n }}\n >\n {this.chips.length > 0 ? (\n <span class=\"chips\">\n {this.chips.map((chip) => (\n <span key={chip} class=\"chip\" part=\"chip\">\n {chip}\n </span>\n ))}\n </span>\n ) : (\n <span class=\"placeholder\">{this.placeholder}</span>\n )}\n <span class=\"chevron\" aria-hidden=\"true\">\n <pf-icon name=\"chevron-down\"></pf-icon>\n </span>\n </button>\n\n {this.description && (\n <p class=\"description\" part=\"description\" id=\"description\">\n {this.description}\n </p>\n )}\n {this.error && (\n <p class=\"error\" part=\"error\" id=\"error\">\n {this.error}\n </p>\n )}\n </div>\n\n <div\n id=\"listbox\"\n part=\"listbox\"\n class=\"listbox\"\n popover=\"auto\"\n role=\"listbox\"\n /* The one ARIA difference from pf-select, and the important one. */\n aria-multiselectable=\"true\"\n aria-label={this.label ?? this.placeholder}\n style={\n this.maxVisibleOptions\n ? { maxHeight: `calc(${this.maxVisibleOptions} * 36px)`, overflowY: 'auto' }\n : undefined\n }\n onToggle={this.onToggle}\n >\n <slot onSlotchange={this.onSlotChange} />\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"kUAAA,MAAMA,EAAmB,IAAM,wpEC+B/B,MAAMC,EAA8C,CAClD,CAACC,EAAKC,WAAY,OAClB,CAACD,EAAKE,SAAU,WAChB,CAACF,EAAKG,MAAO,QACb,CAACH,EAAKI,KAAM,Q,MAmCDC,EAAa,M,4RAELC,UAGMC,KAGeC,MAAQ,GAGRC,KAAO,MAEvCC,MAEAC,YAEAC,MAEAC,YAAc,iBAEGC,SAAW,MAEXC,SAAW,MAG5BC,kBAGCC,SAGAC,aAGAC,MAAkB,GAEnBC,aAAe,GACfC,cACAC,aAAmC,KACnCC,qBAAuB,MAE/B,iBAAAC,GACEC,KAAKL,aAAeK,KAAKjB,OAAS,GAClCiB,KAAKC,gBACLD,KAAKE,a,CAGP,kBAAAC,GACEH,KAAKI,sB,CAGP,oBAAAC,GACEL,KAAKJ,iB,CAcP,aAAAK,GACE,MAAMK,EAASN,KAAKM,SAEpB,GAAIA,EAAOC,SAAW,IAAMP,KAAKlB,KAAM,CACrCkB,KAAKnB,UAAU2B,aAAa,K,KACvB,CAGL,MAAMC,EAAO,IAAIC,SACjB,IAAK,MAAM3B,KAASuB,EAAQG,EAAKE,OAAOX,KAAKl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AAM,OAAOC,KAAK,QAChCO,MAKPV,EAAA,QAAME,MAAM,eAAejH,KAAKZ,aAElC2H,EAAA,QAAAN,IAAA,2CAAMQ,MAAM,UAAS,cAAa,QAChCF,EAAA,WAAAN,IAAA,2CAAS3H,KAAK,mBAIjBkB,KAAKd,aACJ6H,EAAA,KAAAN,IAAA,2CAAGQ,MAAM,cAAcC,KAAK,cAAcE,GAAG,eAC1CpH,KAAKd,aAGTc,KAAKb,OACJ4H,EAAA,KAAAN,IAAA,2CAAGQ,MAAM,QAAQC,KAAK,QAAQE,GAAG,SAC9BpH,KAAKb,QAKZ4H,EAAA,OAAAN,IAAA,2CACEW,GAAG,UACHF,KAAK,UACLD,MAAM,UACNS,QAAQ,OACRH,KAAK,UAAS,uBAEO,OAAM,aACfvH,KAAKf,OAASe,KAAKZ,YAC/BwF,MACE5E,KAAKT,kBACD,CAAEoI,UAAW,QAAQ3H,KAAKT,4BAA6BqI,UAAW,QAClEjD,UAENK,SAAUhF,KAAKgF,UAEf+B,EAAA,QAAAN,IAAA,2CAAMoB,aAAc7H,KAAK+C,gB","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as a,h as r,H as e}from"./p-Bm6UxEit.js";const n=()=>`:host{align-items:center;border-radius:var(--radius-full);display:inline-flex;font-size:var(--font-size-xs);font-weight:var(--font-weight-medium);line-height:1;min-height:22px;padding:0 var(--space-2)}:host([hidden]){display:none}:host([variant='neutral']){background:var(--pf-badge-neutral-background);color:var(--pf-badge-neutral-foreground)}:host([variant='brand']){background:var(--pf-badge-brand-background);color:var(--pf-badge-brand-foreground)}:host([variant='success']){background:var(--pf-badge-success-background);color:var(--pf-badge-success-foreground)}:host([variant='warning']){background:var(--pf-badge-warning-background);color:var(--pf-badge-warning-foreground)}:host([variant='danger']){background:var(--pf-badge-danger-background);color:var(--pf-badge-danger-foreground)}`;const o=class{constructor(r){a(this,r)}variant="neutral";render(){return r(e,{key:"b89402baeefee0c660694be6d26124c7b5a7c44f"},r("slot",{key:"5df44b2057e50dfe77519f03ac67b2a1a287ec2d"}))}};o.style=n();export{o as pf_badge};
2
+ //# sourceMappingURL=p-a4cc62e1.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfBadgeCss","PfBadge","variant","render","h","Host","key"],"sources":["src/components/pf-badge/pf-badge.css?tag=pf-badge&encapsulation=shadow","src/components/pf-badge/pf-badge.tsx"],"sourcesContent":["/*\n * The host is the badge. There is no inner wrapper to expose as a part,\n * because a consumer styling the badge styles `pf-badge` itself.\n */\n:host {\n align-items: center;\n border-radius: var(--radius-full);\n display: inline-flex;\n font-size: var(--font-size-xs);\n font-weight: var(--font-weight-medium);\n line-height: 1;\n min-height: 22px;\n padding: 0 var(--space-2);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host([variant='neutral']) {\n background: var(--pf-badge-neutral-background);\n color: var(--pf-badge-neutral-foreground);\n}\n\n:host([variant='brand']) {\n background: var(--pf-badge-brand-background);\n color: var(--pf-badge-brand-foreground);\n}\n\n:host([variant='success']) {\n background: var(--pf-badge-success-background);\n color: var(--pf-badge-success-foreground);\n}\n\n:host([variant='warning']) {\n background: var(--pf-badge-warning-background);\n color: var(--pf-badge-warning-foreground);\n}\n\n:host([variant='danger']) {\n background: var(--pf-badge-danger-background);\n color: var(--pf-badge-danger-foreground);\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\nexport type PfBadgeVariant = 'neutral' | 'brand' | 'success' | 'warning' | 'danger';\n\n/**\n * A short status or count, rendered inline with the text around it.\n *\n * The leaf the `::part()` and reflected-attribute conventions were established\n * on, back when the stakes were low.\n *\n * @slot - the badge's content.\n */\n@Component({\n tag: 'pf-badge',\n styleUrl: 'pf-badge.css',\n shadow: true,\n})\nexport class PfBadge {\n /** Colour treatment. Reflected so the stylesheet can select on it. */\n @Prop({ reflect: true }) variant: PfBadgeVariant = 'neutral';\n\n render() {\n return (\n <Host>\n <slot />\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAa,IAAM,0xB,MCiBZC,EAAO,M,yBAEOC,QAA0B,UAEnD,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,a,h as r,H as t}from"./p-Bm6UxEit.js";import{c as i}from"./p-DfpCerXM.js";const s=()=>`:host{display:block}:host([hidden]){display:none}.field{display:grid;gap:var(--space-2)}.label{color:var(--pf-field-label);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium)}.description{color:var(--pf-field-description);font-size:var(--font-size-sm);margin:0}.error{color:var(--pf-field-error);font-size:var(--font-size-sm);margin:0}.frame{background:var(--pf-videoplayer-bg);border:1px solid var(--pf-videoplayer-border);border-radius:var(--radius-md);overflow:hidden;width:100%}:host([aspect-ratio='16/9']) .frame{aspect-ratio:16 / 9}:host([aspect-ratio='4/3']) .frame{aspect-ratio:4 / 3}:host([aspect-ratio='1/1']) .frame{aspect-ratio:1 / 1}.frame--invalid{border-color:var(--pf-videoplayer-invalid-border)}.video{display:block;height:100%;object-fit:cover;width:100%}.empty{align-items:center;color:var(--pf-videoplayer-text-muted);display:flex;font-size:var(--font-size-sm);height:100%;justify-content:center;padding:var(--space-4);text-align:center}`;const o=class{constructor(a){e(this,a)}get el(){return a(this)}src;sources=[];tracks=[];label;description;error;aspectRatio="16/9";controls=true;poster;preload="metadata";muted=false;loop=false;autoplay=false;video;async play(){await(this.video?.play())}async pause(){this.video?.pause()}async getVideoElement(){return this.video}get sourceList(){return Array.isArray(this.sources)?this.sources:[]}get trackList(){return Array.isArray(this.tracks)?this.tracks:[]}render(){const e=Boolean(this.src)||this.sourceList.length>0;const a=i(this.description&&"description",this.error&&"error");return r(t,{key:"8fc0e7d1dcee86193d386997324741443d2c9f44"},r("div",{key:"f78531482d720dfcf3678e1d28f41c4a9bf2ba9d",class:"field",part:"field"},this.label&&r("span",{key:"f06a90f7baae88b20a015c7395a712a741cd4dba",class:"label",part:"label",id:"label"},this.label),r("div",{key:"3164297a1ccc26a858342675d9b28572e25c371b",class:{frame:true,"frame--invalid":Boolean(this.error)},part:"frame"},e?r("video",{class:"video",part:"video",ref:e=>this.video=e,controls:this.controls,poster:this.poster,preload:this.preload,muted:this.muted,loop:this.loop,autoplay:this.autoplay,src:this.src,"aria-labelledby":this.label?"label":null,"aria-invalid":this.error?"true":null,"aria-describedby":a},this.sourceList.map((e=>r("source",{src:e.src,type:e.type}))),this.trackList.map((e=>r("track",{src:e.src,kind:e.kind,srclang:e.srclang,label:e.label,default:e.default})))):r("div",{class:"empty",part:"empty",role:"note"},r("slot",{name:"empty"},"Add a video src to display playback."))),this.description&&r("p",{key:"d2bdbc4ebe3a326cf5dacedf67c85a35c2030851",class:"description",part:"description",id:"description"},this.description),this.error&&r("p",{key:"16994f8311cc0f1d3202e1ee32dee34e1ab1daf5",class:"error",part:"error",id:"error"},this.error)))}};o.style=s();export{o as pf_video_player};
2
+ //# sourceMappingURL=p-a4fad812.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfVideoPlayerCss","PfVideoPlayer","src","sources","tracks","label","description","error","aspectRatio","controls","poster","preload","muted","loop","autoplay","video","play","this","pause","getVideoElement","sourceList","Array","isArray","trackList","render","hasVideo","Boolean","length","describedBy","composeDescribedBy","h","Host","key","class","part","id","frame","ref","node","map","source","type","track","kind","srclang","default","role","name"],"sources":["src/components/pf-video-player/pf-video-player.css?tag=pf-video-player&encapsulation=shadow","src/components/pf-video-player/pf-video-player.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n.field {\n display: grid;\n gap: var(--space-2);\n}\n\n.label {\n color: var(--pf-field-label);\n font-size: var(--font-size-sm);\n font-weight: var(--font-weight-medium);\n}\n\n.description {\n color: var(--pf-field-description);\n font-size: var(--font-size-sm);\n margin: 0;\n}\n\n.error {\n color: var(--pf-field-error);\n font-size: var(--font-size-sm);\n margin: 0;\n}\n\n.frame {\n background: var(--pf-videoplayer-bg);\n border: 1px solid var(--pf-videoplayer-border);\n border-radius: var(--radius-md);\n overflow: hidden;\n width: 100%;\n}\n\n/*\n * The ratio comes from the reflected attribute rather than a class: the\n * generated bindings set props as properties, so an unreflected prop would\n * leave no attribute for this to select on.\n */\n:host([aspect-ratio='16/9']) .frame {\n aspect-ratio: 16 / 9;\n}\n\n:host([aspect-ratio='4/3']) .frame {\n aspect-ratio: 4 / 3;\n}\n\n:host([aspect-ratio='1/1']) .frame {\n aspect-ratio: 1 / 1;\n}\n\n.frame--invalid {\n border-color: var(--pf-videoplayer-invalid-border);\n}\n\n.video {\n display: block;\n height: 100%;\n object-fit: cover;\n width: 100%;\n}\n\n.empty {\n align-items: center;\n color: var(--pf-videoplayer-text-muted);\n display: flex;\n font-size: var(--font-size-sm);\n height: 100%;\n justify-content: center;\n padding: var(--space-4);\n text-align: center;\n}\n","import { composeDescribedBy } from '@pitchfork-ui/core';\nimport { Component, Element, h, Host, Method, Prop } from '@stencil/core';\n\n/** One alternative encoding of the same video. */\nexport interface PfVideoSource {\n src: string;\n type?: string;\n}\n\n/** One caption, subtitle or chapter track. */\nexport interface PfVideoTrack {\n src: string;\n kind: 'captions' | 'chapters' | 'descriptions' | 'metadata' | 'subtitles';\n srclang: string;\n label: string;\n default?: boolean;\n}\n\n/**\n * A `<video>` in a framed, fixed-ratio box, with a label, a description and\n * an error message.\n *\n * `sources` and `tracks` are **properties**, not slotted children, and this\n * is one of the few places where that is forced rather than chosen: a\n * `<source>` has to be a child of the `<video>` itself, and slotted content\n * stays in the light DOM — a slotted `<source>` would be a child of this\n * element, which the video would never look at. They are rendered into the\n * shadow `<video>` instead.\n *\n * The label names the video with an IDREF rather than a `<label for>`:\n * `for` must point at a *labelable* element and a `<video>` is not one, so\n * the React `VideoPlayer`'s `htmlFor` was silently doing nothing and the\n * video had no accessible name at all. Both layers use `aria-labelledby`\n * now, and here it is a same-root reference, which is the kind that\n * resolves.\n *\n * @slot empty - what to show when there is no video to play.\n * @part field - the wrapper around label, frame and messages.\n * @part label - the label.\n * @part frame - the fixed-ratio box.\n * @part video - the video element.\n * @part empty - the empty state's box.\n * @part description - the hint text.\n * @part error - the error message.\n */\n@Component({\n tag: 'pf-video-player',\n styleUrl: 'pf-video-player.css',\n shadow: true,\n})\nexport class PfVideoPlayer {\n @Element() el!: HTMLElement;\n\n /** A single source. Use `sources` for several encodings. */\n @Prop() src?: string;\n\n /** Several encodings of the same video, best first. */\n @Prop() sources: PfVideoSource[] = [];\n\n /** Captions and subtitles. A video without them is not finished. */\n @Prop() tracks: PfVideoTrack[] = [];\n\n /** Drawn above the frame, and what names the video. */\n @Prop() label?: string;\n\n @Prop() description?: string;\n\n /** Error message. Its presence is what marks the frame invalid. */\n @Prop() error?: string;\n\n /** Reflected, because the stylesheet selects on it for the box's ratio. */\n @Prop({ reflect: true }) aspectRatio: '16/9' | '4/3' | '1/1' = '16/9';\n\n @Prop() controls = true;\n\n @Prop() poster?: string;\n\n @Prop() preload: 'none' | 'metadata' | 'auto' = 'metadata';\n\n @Prop({ reflect: true }) muted = false;\n\n @Prop({ reflect: true }) loop = false;\n\n @Prop({ reflect: true }) autoplay = false;\n\n private video?: HTMLVideoElement;\n\n /** Starts playback, which a consumer cannot do through the shadow root. */\n @Method()\n async play(): Promise<void> {\n await this.video?.play();\n }\n\n /** Pauses it. */\n @Method()\n async pause() {\n this.video?.pause();\n }\n\n /** The video element itself, for anything these methods do not cover. */\n @Method()\n async getVideoElement(): Promise<HTMLVideoElement | undefined> {\n return this.video;\n }\n\n private get sourceList(): PfVideoSource[] {\n return Array.isArray(this.sources) ? this.sources : [];\n }\n\n private get trackList(): PfVideoTrack[] {\n return Array.isArray(this.tracks) ? this.tracks : [];\n }\n\n render() {\n const hasVideo = Boolean(this.src) || this.sourceList.length > 0;\n const describedBy = composeDescribedBy(\n this.description && 'description',\n this.error && 'error',\n );\n\n return (\n <Host>\n <div class=\"field\" part=\"field\">\n {this.label && (\n <span class=\"label\" part=\"label\" id=\"label\">\n {this.label}\n </span>\n )}\n\n <div class={{ frame: true, 'frame--invalid': Boolean(this.error) }} part=\"frame\">\n {hasVideo ? (\n <video\n class=\"video\"\n part=\"video\"\n ref={(node) => (this.video = node)}\n controls={this.controls}\n poster={this.poster}\n preload={this.preload}\n muted={this.muted}\n loop={this.loop}\n autoplay={this.autoplay}\n src={this.src}\n aria-labelledby={this.label ? 'label' : null}\n aria-invalid={this.error ? 'true' : null}\n aria-describedby={describedBy}\n >\n {this.sourceList.map((source) => (\n <source src={source.src} type={source.type} />\n ))}\n {this.trackList.map((track) => (\n <track\n src={track.src}\n kind={track.kind}\n srclang={track.srclang}\n label={track.label}\n default={track.default}\n />\n ))}\n </video>\n ) : (\n <div class=\"empty\" part=\"empty\" role=\"note\">\n <slot name=\"empty\">Add a video src to display playback.</slot>\n </div>\n )}\n </div>\n\n {this.description && (\n <p class=\"description\" part=\"description\" id=\"description\">\n {this.description}\n </p>\n )}\n\n {this.error && (\n <p class=\"error\" part=\"error\" id=\"error\">\n {this.error}\n </p>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"wFAAA,MAAMA,EAAmB,IAAM,g9B,MCkDlBC,EAAa,M,iDAIhBC,IAGAC,QAA2B,GAG3BC,OAAyB,GAGzBC,MAEAC,YAGAC,MAGiBC,YAAsC,OAEvDC,SAAW,KAEXC,OAEAC,QAAwC,WAEvBC,MAAQ,MAERC,KAAO,MAEPC,SAAW,MAE5BC,MAIR,UAAMC,SACEC,KAAKF,OAAOC,O,CAKpB,WAAME,GACJD,KAAKF,OAAOG,O,CAKd,qBAAMC,GACJ,OAAOF,KAAKF,K,CAGd,cAAYK,GACV,OAAOC,MAAMC,QAAQL,KAAKd,SAAWc,KAAKd,QAAU,E,CAGtD,aAAYoB,GACV,OAAOF,MAAMC,QAAQL,KAAKb,QAAUa,KAAKb,OAAS,E,CAGpD,MAAAoB,GACE,MAAMC,EAAWC,QAAQT,KAAKf,MAAQe,KAAKG,WAAWO,OAAS,EAC/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2 @@
1
+ import{r as a,h as e,H as t}from"./p-Bm6UxEit.js";const i=()=>`@keyframes pf-pulse-dots{0%,80%,100%{opacity:0.35;transform:scale(0.9)}40%{opacity:1;transform:scale(1)}}:host{align-items:center;display:inline-flex;gap:var(--space-2)}:host([hidden]){display:none}.dot{animation:pf-pulse-dots 1s ease-in-out infinite;background:var(--pf-loading-accent);border-radius:50%;display:inline-block}.dot:nth-child(2){animation-delay:0.16s}.dot:nth-child(3){animation-delay:0.32s}:host([size='sm']) .dot{height:6px;width:6px}:host([size='md']) .dot{height:8px;width:8px}:host([size='lg']) .dot{height:10px;width:10px}.sr-only{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}@media (prefers-reduced-motion: reduce){.dot{animation-duration:0.01ms;animation-iteration-count:1}}`;const s=class{constructor(e){a(this,e)}size="md";label="Loading";render(){return e(t,{key:"fc64cab922fb015ac60edca82b120cfecf7e59ff",role:"status","aria-label":this.label},e("span",{key:"d1b62c8ba624c0f721df65f194acefd8f883f025",class:"dot",part:"dot","aria-hidden":"true"}),e("span",{key:"d3b03fc4fb16bccb8dfdc64283072d41f382945b",class:"dot",part:"dot","aria-hidden":"true"}),e("span",{key:"755ab236742ab9974834cea364c60d4fc671f40b",class:"dot",part:"dot","aria-hidden":"true"}),e("span",{key:"eecce31b0360283eecb8cc06e258835ee4f19e4a",class:"sr-only",part:"label"},this.label))}};s.style=i();export{s as pf_loading_dots};
2
+ //# sourceMappingURL=p-a5b5c09a.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfLoadingDotsCss","PfLoadingDots","size","label","render","h","Host","key","role","this","class","part"],"sources":["src/components/pf-loading-dots/pf-loading-dots.css?tag=pf-loading-dots&encapsulation=shadow","src/components/pf-loading-dots/pf-loading-dots.tsx"],"sourcesContent":["/* Its own copy: @keyframes do not cross a shadow boundary. */\n@keyframes pf-pulse-dots {\n 0%,\n 80%,\n 100% {\n opacity: 0.35;\n transform: scale(0.9);\n }\n\n 40% {\n opacity: 1;\n transform: scale(1);\n }\n}\n\n:host {\n align-items: center;\n display: inline-flex;\n gap: var(--space-2);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n.dot {\n animation: pf-pulse-dots 1s ease-in-out infinite;\n background: var(--pf-loading-accent);\n border-radius: 50%;\n display: inline-block;\n}\n\n/* The dots are the first three children; the hidden label follows them. */\n.dot:nth-child(2) {\n animation-delay: 0.16s;\n}\n\n.dot:nth-child(3) {\n animation-delay: 0.32s;\n}\n\n:host([size='sm']) .dot {\n height: 6px;\n width: 6px;\n}\n\n:host([size='md']) .dot {\n height: 8px;\n width: 8px;\n}\n\n:host([size='lg']) .dot {\n height: 10px;\n width: 10px;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .dot {\n animation-duration: 0.01ms;\n animation-iteration-count: 1;\n }\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\nexport type PfLoadingDotsSize = 'sm' | 'md' | 'lg';\n\n/**\n * Three pulsing dots, for an indeterminate wait in a tight space.\n *\n * @part dot - each of the three dots.\n * @part label - the visually hidden text the live region announces.\n */\n@Component({\n tag: 'pf-loading-dots',\n styleUrl: 'pf-loading-dots.css',\n shadow: true,\n})\nexport class PfLoadingDots {\n /** Dot size. Reflected so the stylesheet can select on it. */\n @Prop({ reflect: true }) size: PfLoadingDotsSize = 'md';\n\n /** Accessible name, announced by the live region. */\n @Prop() label = 'Loading';\n\n render() {\n return (\n <Host role=\"status\" aria-label={this.label}>\n <span class=\"dot\" part=\"dot\" aria-hidden=\"true\" />\n <span class=\"dot\" part=\"dot\" aria-hidden=\"true\" />\n <span class=\"dot\" part=\"dot\" aria-hidden=\"true\" />\n <span class=\"sr-only\" part=\"label\">\n {this.label}\n </span>\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAmB,IAAM,gyB,MCelBC,EAAa,M,yBAECC,KAA0B,KAG3CC,MAAQ,UAEhB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,KAAK,SAAQ,aAAaC,KAAKN,OACnCE,EAAA,QAAAE,IAAA,2CAAMG,MAAM,MAAMC,KAAK,MAAK,cAAa,SACzCN,EAAA,QAAAE,IAAA,2CAAMG,MAAM,MAAMC,KAAK,MAAK,cAAa,SACzCN,EAAA,QAAAE,IAAA,2CAAMG,MAAM,MAAMC,KAAK,MAAK,cAAa,SACzCN,EAAA,QAAAE,IAAA,2CAAMG,MAAM,UAAUC,KAAK,SACxBF,KAAKN,O","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,h as s,H as r}from"./p-Bm6UxEit.js";import{c as a,g as t,p as i}from"./p-BA6CMosJ.js";const o=()=>`@keyframes pf-progress-circle-in{from{stroke-dashoffset:var(--pf-progress-circ)}}:host{align-items:center;display:inline-flex;height:var(--pf-progress-circle-size, 64px);justify-content:center;position:relative;width:var(--pf-progress-circle-size, 64px)}:host([hidden]){display:none}.svg{display:block;height:100%;transform:rotate(-90deg);width:100%}.circle-track,.circle-fill{fill:none}.circle-track{stroke:var(--pf-progress-track-bg)}.circle-fill{animation:pf-progress-circle-in var(--duration-slow) var(--easing-decelerate);stroke:var(--pf-progress-accent);stroke-dashoffset:var(--pf-progress-dashoffset);stroke-linecap:round;transition:stroke-dashoffset var(--pf-transition-slow)}.value{color:var(--pf-progress-text);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);left:50%;position:absolute;top:50%;transform:translate(-50%, -50%)}@media (prefers-reduced-motion: reduce){.circle-fill{animation:none;transition:none}}`;const c=class{constructor(s){e(this,s)}value=0;max=100;size=64;strokeWidth=6;showValue=true;label;render(){const e=a(this.value,this.max);const{radius:o,circumference:c,dashOffset:l,center:f}=t(this.size,this.strokeWidth,e);return s(r,{key:"b99d70605eb7b981da829d5cda0a194e6c266fc5",role:"progressbar","aria-label":this.label,"aria-valuemin":"0","aria-valuemax":`${this.max}`,"aria-valuenow":`${i(e,this.max)}`,style:{"--pf-progress-circle-size":`${this.size}px`}},s("svg",{key:"1bee11db8cfeebb35fe84bca03621a9e64a84c60",class:"svg",part:"svg",viewBox:`0 0 ${this.size} ${this.size}`,"aria-hidden":"true",focusable:"false"},s("circle",{key:"8dc237646a40afa9d8f8ddff456367afa3b35718",class:"circle-track",part:"track",cx:`${f}`,cy:`${f}`,r:`${o}`,"stroke-width":`${this.strokeWidth}`}),s("circle",{key:"34f8f094047de322717ff56dc956de39749de1eb",class:"circle-fill",part:"fill",cx:`${f}`,cy:`${f}`,r:`${o}`,"stroke-width":`${this.strokeWidth}`,"stroke-dasharray":`${c}`,style:{"--pf-progress-dashoffset":`${l}`,"--pf-progress-circ":`${c}`}})),this.showValue&&s("span",{key:"18a89c9d9f967609f23db7e2a520df4f8400b1ad",class:"value",part:"value"},Math.round(e),"%"))}};c.style=o();export{c as pf_progress_circle};
2
+ //# sourceMappingURL=p-a7ce64b1.entry.js.map